1 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
3 * startup.el (command-line): Save the cursor's theme-face
4 directly, instead of using face-override-spec.
6 * custom.el (load-theme): Minor optimization in assigning faces.
8 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
10 * help-fns.el (describe-variable): Complete all variables having
11 documentation, including keywords.
12 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
16 Convert to lexical-binding.
18 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19 (bs--get-marked-string, bs--get-modified-string)
20 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
21 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
22 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
24 * ehelp.el (electric-help-execute-extended)
25 (electric-help-ctrl-x-prefix):
26 * hexl.el (hexl-revert-buffer-function):
27 * linum.el (linum-after-change, linum-after-scroll):
28 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
30 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
32 2011-04-04 Daiki Ueno <ueno@unixuser.org>
39 * epg.el: Use lexical binding.
41 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
43 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
45 * textmodes/flyspell.el (flyspell-word): Recognize default
46 dictionary case for flyspell-mark-duplications-exceptions. Use
47 regexp matching for languages.
48 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
49 default dictionary (Bug#7926).
51 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
53 * emacs-lisp/package.el (package--with-work-buffer): Recognize
56 * net/network-stream.el: Move from gnus/proto-stream.el. Change
57 prefix to network-stream throughout.
58 (open-protocol-stream): Merge into open-network-stream, leaving
59 open-protocol-stream as an alias. Handle nil BUFFER args.
61 * subr.el (open-network-stream): Move to net/network-stream.el.
63 2011-04-02 Glenn Morris <rgm@gnu.org>
65 * find-dired.el (find-exec-terminator): New option.
66 (find-ls-option): Test for -ls support.
67 (find-ls-subdir-switches): Test for -b in find-ls-option.
68 (find-dired, find-grep-dired): Doc fixes.
69 (find-dired): Use find-exec-terminator.
71 * find-dired.el (find-ls-option, find-ls-subdir-switches)
72 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
73 (find-name-arg): Remove purecopy.
75 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
76 (grep-compute-defaults): Check for `-exec COMMAND +' support.
77 Set grep-find-use-xargs, grep-find-command, and grep-find-template
78 accordingly. Don't add the null-device if not needed.
80 * files.el (save-some-buffers): Doc fix.
82 2011-04-02 Eli Zaretskii <eliz@gnu.org>
84 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
86 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
88 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
89 Use `dolist' rather than `mapcar'.
91 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
95 * subr.el (apply-partially): Use new closures rather than CL.
96 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
97 (dolist, dotimes): Use slightly different expansion for lexical code.
98 (functionp): Move to C.
100 (with-wrapper-hook): Use it and apply-partially instead of CL.
101 (eval-after-load): Preserve lexical-binding.
102 (save-window-excursion, with-output-to-temp-buffer): Turn them
105 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
107 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
109 (help-add-fundoc-usage): Don't add `Not documented'.
110 (help-function-arglist): Handle closures, subroutines, and new
112 (help-make-usage): Remove leading underscores.
113 (describe-function-1): Handle closures.
114 (describe-variable): Use special-variable-p for completion.
116 * files.el (lexical-binding): Declare safe.
118 * emacs-lisp/pcase.el: Don't use destructuring-bind.
119 (pcase--memoize): Rename from pcase-memoize. Change weakness.
120 (pcase): Add `let' pattern.
121 Change memoization so it actually works.
122 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
123 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
126 * emacs-lisp/macroexp.el: Use lexical binding.
127 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
128 Don't convert ' to #' without checking that it's indeed quoting
131 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
132 Use eval-sexp-add-defvars.
133 (eval-sexp-add-defvars): New fun.
135 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
137 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
139 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
140 than the internal `byte-compile-lambda'.
141 (defmethod): Don't hide code under quotes.
142 (eieio-defmethod): New `code' argument.
144 * emacs-lisp/eieio-comp.el: Remove.
146 * emacs-lisp/edebug.el (edebug-eval-defun)
147 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
148 (edebug-toggle): Avoid `eval'.
150 * emacs-lisp/disass.el (disassemble-internal): Handle new
152 (disassemble-1): Handle new byte codes.
154 * emacs-lisp/cl.el (pushnew): Silence warning.
156 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
157 (cl-byte-compile-throw): Remove.
158 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
160 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
163 * emacs-lisp/cconv.el: New file.
165 * emacs-lisp/bytecomp.el: Use lexical binding instead of
166 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
167 (byte-compile-initial-macro-environment):
168 Handle declare-function here.
169 (byte-compile--lexical-environment): New var.
170 (byte-stack-ref, byte-stack-set, byte-discardN)
171 (byte-discardN-preserve-tos): New lap codes.
172 (byte-interactive-p): Don't use any more.
173 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
175 (byte-compile-lapcode): Use them and handle new lap codes.
176 (byte-compile-obsolete): Remove.
177 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
178 (byte-compile-arglist-warn): Check late def of inlinable funs.
179 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
180 since they should have been expanded by now.
181 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
182 (byte-compile-from-buffer): Remove unused second arg.
183 (byte-compile-preprocess): New function.
184 (byte-compile-toplevel-file-form): New function to distinguish
185 file-form calls from outside from file-form calls from hunk-handlers.
186 (byte-compile-file-form): Simplify.
187 (byte-compile-file-form-defsubst): Remove.
188 (byte-compile-file-form-defmumble): Simplify now that
189 byte-compile-lambda always returns a byte-code-function.
190 (byte-compile): Preprocess.
191 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
192 Remove, not used any more.
193 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
194 (byte-compile-make-args-desc): New funs.
195 (byte-compile-lambda): Handle lexical functions. Always return
196 a byte-code-function.
197 (byte-compile-reserved-constants): New var, to make up room for
198 closed-over variables.
199 (byte-compile-constants-vector): Obey it.
200 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
201 (byte-compile-macroexpand-declare-function): New function.
202 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
204 (byte-compile-form): Check obsolescence here.
205 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
206 (byte-compile-variable-ref): Remove.
207 (byte-compile-dynamic-variable-op): New fun.
208 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
209 (byte-compile-variable-set): New funs.
210 (byte-compile-discard): Add 2 args.
211 (byte-compile-stack-ref, byte-compile-stack-set)
212 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
213 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
214 macroexpand-all instead.
215 (byte-compile-quote-form): Remove.
216 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
217 (byte-compile-bind, byte-compile-unbind): New funs.
218 (byte-compile-let): Handle let* and lexical binding.
219 (byte-compile-let*): Remove.
220 (byte-compile-catch, byte-compile-unwind-protect)
221 (byte-compile-track-mouse, byte-compile-condition-case):
222 Handle a new :fun-body form, used for lexical scoping.
223 (byte-compile-save-window-excursion)
224 (byte-compile-with-output-to-temp-buffer): Remove.
225 (byte-compile-defun): Simplify.
226 (byte-compile-stack-adjustment): New fun.
227 (byte-compile-out): Use it.
228 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
230 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
233 * emacs-lisp/byte-opt.el: Use lexical binding.
234 (byte-inline-lapcode): Remove (to bytecomp).
235 (byte-compile-inline-expand): Pay attention to inlining to/from
236 lexically bound code.
237 (byte-compile-unfold-lambda): Don't handle byte-code-functions
239 (byte-optimize-form-code-walker): Don't handle save-window-excursion
240 any more and don't call compiler-macros.
241 (byte-compile-splice-in-already-compiled-code): Remove.
242 (byte-code): Don't inline any more.
243 (disassemble-offset): Receive `bytes' as argument rather than via
245 (byte-compile-tag-number): Declare before first use.
246 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
247 `return' even if make-spliceable.
248 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
249 obsolete interactive-p.
250 (byte-optimize-lapcode): Optimize new lap-codes.
251 Don't trip up on new form of `byte-constant' lap code.
253 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
255 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
257 * custom.el (custom-initialize-default, custom-declare-variable):
260 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
262 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
263 (COMPILE_FIRST): Add macroexp and cconv.
264 * makefile.w32-in: Mirror changes in Makefile.in.
271 * textmodes/bibtex-style.el:
280 * emacs-lisp/smie.el:
283 * abbrev.el: Use lexical binding.
285 2011-04-01 Eli Zaretskii <eliz@gnu.org>
287 * info.el (info-display-manual): New function.
289 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
291 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
293 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
295 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
296 an entry for that server in rcirc-authinfo. (Bug#8385)
298 2011-03-31 Glenn Morris <rgm@gnu.org>
300 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
302 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
304 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
306 * progmodes/python.el (python-default-interpreter)
307 (python-python-command-args, python-jython-command-args)
308 (python-which-shell, python-which-args, python-which-bufname)
309 (python-file-queue, python-comint-output-filter-function)
310 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
311 variables and functions.
313 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
315 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
316 (completion-in-region-mode): New minor mode.
317 (completion-in-region): Use it.
318 (completion-in-region--data, completion-in-region-mode-map): New vars.
319 (completion-in-region--postch): New function.
320 (completion--capf-misbehave-funs, completion--capf-safe-funs):
322 (completion--capf-wrapper): New function.
323 (completion-at-point): Use it to track well-behavedness of
325 (completion-help-at-point): New command.
327 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
329 * vc/add-log.el (add-change-log-entry): Don't use whitespace
330 syntax class to search for whitespace on a single line
331 (Message-ID: <4D938140.4030905@redhat.com>).
333 2011-03-30 Leo Liu <sdl.web@gmail.com>
335 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
337 (edit-abbrevs-map): Bind them here.
338 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
340 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
342 * allout.el (allout-hide-by-annotation, allout-flag-region):
343 Reduce possibility of overlay leakage by making them volatile.
345 * allout-widgets.el (allout-widgets-tally): Define as nil so the
346 hash is not shared between buffers. Mode initialization is
347 responsible for giving it a useful starting value.
348 (allout-item-span): Reduce possibility of overlay leakage by
349 making them volatile.
350 (allout-widgets-count-buttons-in-region): Add diagnostic function
351 for tracking down button overlay leaks.
353 2011-03-29 Leo Liu <sdl.web@gmail.com>
355 * ido.el (ido-read-internal): Use the default history var
356 minibuffer-history if no HISTORY is specified.
358 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
360 * net/imap.el (imap-shell-open, imap-process-connection-type):
361 Use imap-process-connection-type for 'shell' streams as well as
362 Kerberos, SSL, other subprocesses.
364 2011-03-28 Leo Liu <sdl.web@gmail.com>
366 * abbrev.el (abbrev-table-empty-p): New function.
367 (prepare-abbrev-list-buffer): Place empty abbrev tables after
368 nonempty ones. (Bug#5937)
370 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
372 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
374 2011-03-27 Leo Liu <sdl.web@gmail.com>
376 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
377 for foreground and background colors.
378 (ansi-color-make-color-map): Adapt.
380 2011-03-25 Leo Liu <sdl.web@gmail.com>
382 * midnight.el (midnight-time-float): Remove. Note it calculates
383 the microsecond component incorrectly and seconds-to-time does the
385 Remove redundant (require 'timer).
387 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
388 (ido-completions): Remove unused arguments. (Bug#8329)
390 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
392 * minibuffer.el (completion--flush-all-sorted-completions):
393 Remove itself from hook.
394 (completion-at-point): Let the functions perform the completion
395 immediately and return nil or t.
396 * comint.el (comint-dynamic-complete-functions): Now identical to
397 completion-at-point-functions.
398 (comint-dynamic-list-input-ring): Remove unused var `index'.
399 (comint--match-partial-filename, comint--unquote&expand-filename):
400 New funs, split from comint-match-partial-filename.
401 (comint-dynamic-complete): Use completion-at-point.
402 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
404 2011-03-24 Drew Adams <drew.adams@oracle.com>
406 * thingatpt.el: Support `defun'.
408 2011-03-23 Leo Liu <sdl.web@gmail.com>
410 * abbrevlist.el: Move to obsolete/abbrevlist.el.
412 * help-mode.el (help-mode-finish): Tweak regexp.
414 2011-03-23 Glenn Morris <rgm@gnu.org>
416 * eshell/esh-opt.el (eshell-eval-using-options):
417 Do not bind unused local variable `eshell-option-stub'.
419 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
421 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
423 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
424 keymap variable in `with-no-warnings' to avoid a warning when the
425 keymap has been already `defconst'ed.
427 2011-03-22 Leo Liu <sdl.web@gmail.com>
429 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
430 encode all chars in abbrevs; otherwise use emacs-mule or
431 utf-8-emacs. (Bug#8308)
433 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
435 * simple.el (backward-delete-char-untabify):
436 Avoid warning about using `delete-backward-char'.
438 * image.el (image-type-file-name-regexps): Make it variable.
439 `imagemagick-register-types' modifies it, and the user may want
440 to add new extensions for known image types.
441 (imagemagick-register-types): Throw error if not using ImageMagick.
443 2011-03-22 Leo Liu <sdl.web@gmail.com>
445 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
446 located before rcirc-prompt-end-marker.
447 (rcirc-complete): Error if point is not after rcirc prompt.
448 Handle the case when table is nil.
449 (rcirc-user-authenticated): Define to fix compiler warning.
451 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
453 * custom.el (custom--inhibit-theme-enable): Make it affect only
454 custom-theme-set-variables and custom-theme-set-faces.
455 (provide-theme): Ignore custom--inhibit-theme-enable.
456 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
457 (custom-enabling-themes): Delete variable.
458 (enable-theme): Accept only loaded themes as arguments.
459 Ignore the special custom-enabled-themes variable.
460 (custom-enabled-themes): Forbid themes from setting this.
461 Eliminate use of custom-enabling-themes.
462 (custom-push-theme): Quote "changed" custom var entry.
464 2011-03-21 Leo Liu <sdl.web@gmail.com>
466 * ido.el (ido-read-internal): Add ido-selected to history instead
469 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
471 * subr.el (deferred-action-list, deferred-action-function):
474 2011-03-21 Leo Liu <sdl.web@gmail.com>
476 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
477 change on 2011-02-13 (bug#8309).
479 * minibuffer.el (read-file-name-function): Change default value.
480 (read-file-name--defaults): Rename from read-file-name-defaults.
481 (read-file-name-default): Rename from read-file-name.
482 (read-file-name): Call read-file-name-function.
484 2011-03-21 Glenn Morris <rgm@gnu.org>
486 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
489 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
491 * cus-theme.el: Add missing provide statement.
492 (customize-create-theme): Extract theme value correctly.
493 (custom-theme-visit-theme): Autoload.
494 (customize-create-theme): Prompt before inserting default faces.
496 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
498 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
499 units and musical notes.
501 2011-03-20 Leo <sdl.web@gmail.com>
503 * ido.el (ido-read-internal): Use completing-read-default.
504 (ido-completing-read): Fix compatibility with completing-read.
506 2011-03-20 Christian Ohler <ohler@gnu.org>
508 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
509 (ert-delete-all-tests): Use `called-interactively-p' rather than
511 (ert--make-xrefs-region): Respect END.
513 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
515 * dired-aux.el (dired-create-directory): Signal an error if the
516 directory already exists (Bug#8246).
518 * facemenu.el (list-colors-display): Call list-faces-display
519 inside with-help-window.
520 (list-colors-print): Use display property to align the final
521 column, instead of checking window-width.
523 2011-03-19 Eli Zaretskii <eliz@gnu.org>
525 * emerge.el (emerge-metachars): Separate value for ms-dos and
527 (emerge-protect-metachars): Quote correctly for ms-dos and
530 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
532 * info.el (info-initialize): Replace all uses of `:' with
533 path-separator for compatibility with non-Unix systems.
534 Cache quoting of path-separator. (Bug#8258)
536 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
538 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
539 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
540 (mouse-avoidance-mode): Fix typos in docstrings.
542 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
544 * startup.el (package-subdirectory-regexp): Move from package.el.
545 Omit \\` and \\', and let callers add them.
547 * emacs-lisp/package.el (package-strip-version)
548 (package-load-all-descriptors): Add \\` and \\' to
549 package-subdirectory-regexp before using it.
550 (package-untar-buffer): New arg DIR; ensure that file untars only
551 into this expected directory. Remove superfluous delete-region.
552 (package-unpack): Caller changed.
553 (package-tar-file-info): Use package-subdirectory-regexp.
555 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
557 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
558 diff-mode-shared-map (bug#8284).
559 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
561 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
563 * calendar/time-date.el (format-seconds): Use assoc instead of
564 assoc-string, since assoc-string doesn't exist in XEmacs.
566 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
568 * custom.el (custom-known-themes): Reflow docstring.
569 (custom-theme-load-path): Fix typo in docstring.
570 (load-theme): Fix typo in error message.
571 (custom-available-themes, custom-variable-theme-value):
572 Use `let', not `let*'.
574 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
576 * calc/README: Mention inclusion of musical notes.
578 * calc/calc-units.el (calc-lu-quant): Rename from
579 `calc-logunits-quantity'.
580 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
581 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
582 (calc-db): Rename from `calc-dblevel'.
583 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
584 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
585 (calc-np): Rename from `calc-nplevel'.
586 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
587 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
588 (calc-lu-plus): Rename from `calc-logunits-add'.
589 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
590 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
591 (calc-lu-minus): Rename from `calc-logunits-sub'.
592 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
593 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
594 (calc-lu-times): Rename from `calc-logunits-mul'.
595 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
596 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
597 (calc-lu-divide): Rename from `calc-logunits-div'.
598 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
599 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
601 * calc/calc-ext.el (calc-init-extensions): Update the names of the
602 functions being autoloaded.
604 * calc/calc.el (calc-lu-power-reference): Rename from
605 `calc-logunits-power-reference'.
606 (calc-lu-field-reference): Rename from
607 `calc-logunits-field-reference'.
609 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
611 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
613 * minibuffer.el (completion-all-sorted-completions):
614 Use :completion-cycle-penalty text property if present.
616 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
618 * allout.el (allout-yank-processing): Adjust for new rebulleting
619 regime so bullet being yanked is used without prompting the user
622 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
624 * startup.el (command-line): Warn the user that _emacs is deprecated.
626 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
628 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
629 (delphi-verbose, delphi-comment-face, delphi-string-face)
630 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
631 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
632 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
633 (delphi-new-comment-line, delphi-font-lock-defaults)
634 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
635 Fix typos in docstrings.
637 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
639 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
640 Invert the roles of character and string values for INSTEAD, so a
641 string is used for the more common case of a defaulting prompt.
643 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
645 * progmodes/ruby-mode.el (ruby-backward-sexp):
646 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
647 * play/gamegrid.el (gamegrid-make-face):
648 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
649 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
650 * notifications.el (notifications-notify):
651 * net/xesam.el (xesam-search-engines):
652 * net/quickurl.el (quickurl-list-insert):
653 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
655 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
657 * startup.el (command-line): Update package subdirectory regexp.
659 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
661 * allout.el (allout-abbreviate-flattened-numbering)
662 (allout-mode-deactivate-hook): Fix up obsolescence "date".
664 * subr.el (read-char-choice): Only show the cursor after the prompt,
665 not after the answer.
667 2011-03-15 Kevin Ryde <user42@zip.com.au>
669 * help-fns.el (variable-at-point): Skip leading quotes, if any
672 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
674 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
677 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
679 * shell.el (shell): When called interactively, offer to change the
680 shell file name on remote hosts.
682 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
684 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
685 integration for LDAP parameters. The host, base, user or binddn,
686 and secret tokens can be specified in a netrc file, for instance.
687 This is optional because an `auth-source' parameter must be
688 specified in the search attributes.
690 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
692 * help.el (describe-mode): Link to the mode's definition (bug#8185).
694 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
696 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
697 into declaration. Remove redundant and harmful binding.
699 2011-03-12 Eli Zaretskii <eliz@gnu.org>
701 * files.el (file-ownership-preserved-p): Pass `integer' as an
702 explicit 2nd argument to `file-attributes'. If the file's owner
703 is the Administrators group on Windows, and the current user is
704 Administrator, consider that a match.
706 * server.el (server-ensure-safe-dir): Consider server directory
707 safe on MS-Windows if its owner is the Administrators group while
708 the current Emacs user is Administrator. Use `=' to compare
709 numerical UIDs, since they could be integers or floats.
711 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
713 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
715 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
717 Sync with Tramp 2.2.1.
719 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
721 * net/trampver.el: Update release number.
723 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
725 * progmodes/compile.el (compilation--previous-directory): Fix up
726 various nil/dead-marker mismatches (bug#8014).
727 (compilation-directory-properties, compilation-error-properties):
728 Don't call it at a position past the one we're about to change.
730 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
731 Disable obsolescence warnings in the file that declares it.
733 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
735 * allout-widgets.el (allout-widgets-tally): Initialize
736 allout-widgets-tally as a hash table rather than nil to prevent
737 mode-line redisplay warnings.
738 Also, clarify the module description and fix a comment typo.
740 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
742 * help-fns.el (describe-variable): Don't complete keywords.
743 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
745 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
747 * emacs-lisp/package.el (package-version-join): Impose a standard
748 string representation for pre/alpha/beta version lists.
749 (package-unpack-single): Standardize the directory name by passing
750 it through package-version-join.
751 (package-strip-rcs-id): Accept any version string that does not
752 signal an error in version-to-list.
754 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
756 * simple.el (delete-trailing-whitespace): Return nil for the
757 benefit of `write-file-functions'.
759 2011-03-10 Glenn Morris <rgm@gnu.org>
761 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
763 * vc/vc-git.el (vc-git-program): New option.
764 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
765 (vc-git--call): Use it.
767 * eshell/esh-util.el (eshell-condition-case): Doc fix.
769 * cus-edit.el (Custom-newline): If no button at point, look
770 for a subgroup button at start-of-line. (Bug#2298)
772 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
774 2011-03-10 Julien Danjou <julien@danjou.info>
776 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
777 `cursor-type' is nil.
779 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
781 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
783 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
785 * allout.el Summary: Change so yank of distinctive-bullet items
786 preserves the existing header prefix, rebulleting it if necessary,
787 rather than replacing it. This is necessary for proper operation
788 of cooperative addons like allout-widgets.
789 (allout-make-topic-prefix, allout-rebullet-heading): Change
790 SOLICIT arg to INSTEAD, and interpret additionally a string value
791 as alternate bullet to be used, instead of prompting the user for
794 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
796 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
797 Do not use `tramp-file-name-port', because this returns also
798 `tramp-default-port'.
800 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
802 * net/rcirc.el (rcirc-handler-001): Remove useless
803 with-rcirc-process-buffer.
804 (rcirc-check-auth-status): Swap arguments to string-match.
806 2011-03-09 Glenn Morris <rgm@gnu.org>
808 * shell.el (shell-mode):
809 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
811 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
812 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
814 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
816 * emacs-lisp/package.el (package-refresh-contents)
817 (package-menu-execute): Use condition-case-no-debug.
819 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
821 * simple.el (shell-command-to-string): Use `process-file'.
823 * emacs-lisp/package.el (package-tar-file-info): Handle also
826 * emacs-lisp/package-x.el (package-upload-buffer-internal):
827 Use `equal' for upload base check.
829 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
831 * textmodes/texinfo.el (texinfo-environments):
832 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
834 2011-03-08 Glenn Morris <rgm@gnu.org>
836 * cus-start.el (cursor-in-non-selected-windows):
837 Fix :set quoting oddness. (Bug#8192)
839 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
840 in some setf expressions. (Bug#2159)
842 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
844 * custom.el (custom-available-themes): Return themes in
847 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
849 * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
850 application of patch from Alan Mackenzie (Bug#7595).
852 2011-03-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
854 * net/rcirc.el (rcirc-connect): Fix PASS bug.
856 2011-03-07 Glenn Morris <rgm@gnu.org>
858 * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
859 Give an explicit error if failed to make writable. (Bug#6146)
861 2011-03-07 Ed Reingold <reingold@emr.cs.iit.edu>
863 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
864 Add optional `after-sunset' argument. (Bug#8190)
866 2011-03-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
868 * play/morse.el (nato-alphabet, nato-region, denato-region):
869 New variable and functions. (Bug#2288)
870 (morse-region, unmorse-region): Barf if read-only.
872 2011-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
874 * progmodes/gud.el (gdb-script-syntax-propertize-function):
875 Don't change the syntax of a \n that closes a comment (bug#8169).
877 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
879 * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
881 (package--update-file): Doc fix. Accept relative file names.
882 (package--archive-contents-from-file): Remove the argument, since
883 it's necessarily always "archive-contents".
884 (package-maint-add-news-item): Pass relative file name args to
885 package--update-file.
886 (package-upload-buffer-internal): Prompt for a destination if
887 package-archive-upload-base is invalid. Create the directory if
889 (package-upload-buffer, package-upload-file): Doc fix.
891 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
893 * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
894 and move isearch-yank-line to M-s C-e (Bug#8183).
896 2011-03-06 Alan Mackenzie <acm@muc.de>
898 * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
899 (c-guess-basic-syntax): Move CASE 19 to a different place,
900 correctly to process template-args-cont lines.
902 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
904 * calc/calc-ext.el (calc-init-extensions):
905 Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
906 and calc-nplevel, respectively. Add keybindings for calc-spn,
907 calc-midi and calc-freq. Add autoloads for calcFunc-spn,
908 calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
910 * calc/calc-units.el (calc-dblevel): Rename from
911 calc-logunits-dblevel.
912 (calc-nplevel): Rename from calc-logunits-nplevel.
913 (math-midi-round, math-freqp, math-midip, math-spnp)
914 (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
915 (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
916 (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
917 (math-notes): New variable.
919 * calc/calc.el (calc-note-threshold): New variable.
921 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
923 * emacs-lisp/package.el (package-archives): Accept either ordinary
924 directory names, in addition to HTTP URLs.
925 (package--with-work-buffer): New macro. Handle normal directories.
926 (package-handle-response): Don't display the failing buffer.
927 (package-download-single, package-download-tar)
928 (package--download-one-archive): Use package--with-work-buffer.
929 (package-archive-base): Rename from package-archive-url.
931 2011-03-06 Glenn Morris <rgm@gnu.org>
933 * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
934 (xmodmap-generic-mode): Respect generic-extras-enable-list.
936 2011-03-06 Daniel Clemente <dcl441-bugs@yahoo.com> (tiny change)
938 * generic-x.el (xmodmap-generic-mode): New. (Bug#2065)
940 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
942 * allout.el (allout-init, allout-prefixed-keybindings)
943 (allout-unprefixed-keybindings):
944 * progmodes/prolog.el (prolog-find-term):
945 Fix typos in docstrings.
947 2011-03-06 Nikolaj Schumacher <me@nschum.de> (tiny change)
949 * emacs-lisp/elp.el (elp-results): Fix off-by-one in header. (Bug#2746)
951 2011-03-06 Kevin Ryde <user42@zip.com.au>
953 * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc. (Bug#5326)
955 2011-03-06 Michael Shields <shields@msrl.com> (tiny change)
957 * window.el (one-window-p, walk-windows, display-buffer):
958 Doc fixes. (Bug#5567)
960 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
962 * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
963 of the variable if it exists.
965 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
972 * net/tramp-cache.el:
973 * obsolete/fast-lock.el:
974 * textmodes/reftex.el:
975 Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
977 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
979 * files.el (delete-directory, copy-directory, list-directory):
980 Use read-directory-name.
982 * find-file.el (ff-find-the-other-file):
983 * net/ange-ftp.el (ange-ftp-make-directory):
984 * printing.el (pr-interactive-dir):
985 * progmodes/ada-prj.el (ada-prj-load-directory):
986 * progmodes/ebnf2ps.el (ebnf-print-directory)
987 (ebnf-spool-directory, ebnf-eps-directory)
988 (ebnf-syntax-directory):
990 * speedbar.el (speedbar-create-directory):
991 * vc/emerge.el (emerge-merge-directories):
992 * vc/vc-dir.el (vc-dir):
993 * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
995 2011-03-05 Chong Yidong <cyd@stupidchicken.com>
997 * help-mode.el (help-buffer): If we are to return the current
998 buffer, signal an error if it's not in Help mode (Bug#8147).
1000 2011-03-05 Reuben Thomas <rrt@sc3d.org>
1002 * files.el (file-name-version-regexp): Handle backup files of the
1003 form `foo.js.~HEAD~1~' (Bug#8159).
1005 2011-03-05 Glenn Morris <rgm@gnu.org>
1007 * eshell/esh-var.el: Don't require esh-test when compiling.
1008 * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
1009 * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
1010 * eshell/esh-test.el: Move to ../../test/eshell.el.
1012 2011-03-05 David Engster <deng@randomsample.de>
1014 * files.el (save-some-buffers): Report the names of buffers saved
1015 automatically due to buffer-save-without-query (Bug#8134).
1017 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1019 * net/rcirc.el: Add QuakeNet authentication support.
1020 (rcirc-authinfo, rcirc-check-auth-status)
1021 (rcirc-authenticate): Support QuakeNet.
1023 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1025 * net/rcirc.el: Add functionality to authenticate before
1026 autojoining channels.
1027 (rcirc-authenticate-before-join): New option.
1028 (rcirc-authenticated-hook): New variable.
1029 (rcirc-connect): Make local variable rcirc-user-authenticated.
1030 (rcirc-handler-001): Respect rcirc-authenticate-before-join.
1031 (rcirc-check-auth-status, rcirc-join-channels-post-auth):
1033 (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
1034 Call rcirc-check-auth-status.
1036 2011-03-05 Alex Harsanyi <AlexHarsanyi@gmail.com>
1038 * net/soap-client.el (soap-namespace-put-link): Check if the target
1039 name is fully qualified -- use only the name part.
1040 (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
1041 types, treated the same as xsd:sequence. (Bug#8166)
1043 2011-03-05 Eli Zaretskii <eliz@gnu.org>
1045 * files.el (find-file-noselect): Don't ask about re-visiting
1046 non-literally if the file is already visited in image-mode.
1049 2011-03-05 Glenn Morris <rgm@gnu.org>
1051 * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
1052 (eshell-mode): Use eshell-kill-buffer-function.
1053 Run the -initialize functions independently of the -load-hooks.
1054 * eshell/esh-proc.el (eshell-kill-process-function): New function.
1055 (eshell-gather-process-output, eshell-sentinel)
1056 (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
1057 Use eshell-kill-process-function.
1058 * eshell/em-alias.el (eshell-alias-load-hook):
1059 * eshell/em-banner.el (eshell-banner-load-hook):
1060 * eshell/em-cmpl.el (eshell-cmpl-load-hook):
1061 * eshell/em-dirs.el (eshell-dirs-load-hook):
1062 * eshell/em-glob.el (eshell-glob-load-hook):
1063 * eshell/em-hist.el (eshell-hist-load-hook):
1064 * eshell/em-pred.el (eshell-pred-load-hook):
1065 * eshell/em-prompt.el (eshell-prompt-load-hook):
1066 * eshell/em-rebind.el (eshell-rebind-load-hook):
1067 * eshell/em-script.el (eshell-script-load-hook):
1068 * eshell/em-smart.el (eshell-smart-load-hook):
1069 * eshell/em-term.el (eshell-term-load-hook):
1070 * eshell/em-unix.el (eshell-unix-load-hook):
1071 * eshell/esh-arg.el (eshell-arg-load-hook):
1072 * eshell/esh-cmd.el (eshell-cmd-load-hook):
1073 * eshell/esh-ext.el (eshell-ext-load-hook):
1074 * eshell/esh-io.el (eshell-io-load-hook):
1075 * eshell/esh-mode.el (eshell-exit-hook):
1076 * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
1077 * eshell/esh-var.el (eshell-var-load-hook):
1078 Set default hook values to nil. (Bug#5375)
1080 * eshell/esh-module.el (eshell-module-unload-hook)
1081 (eshell-modules-list): Remove leading * from defcustom docs.
1083 * eshell/esh-util.el (eshell-for): Make it obsolete.
1084 * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
1085 * eshell/em-dirs.el (eshell-save-some-last-dir):
1086 * eshell/em-hist.el (eshell-save-some-history)
1087 (eshell-hist-parse-modifier):
1088 * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
1089 (eshell-ls-entries):
1090 * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
1091 * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
1093 * eshell/esh-ext.el (eshell-find-interpreter):
1094 * eshell/esh-mode.el (eshell-mode):
1095 * eshell/esh-module.el (eshell-unload-extension-modules):
1096 * eshell/esh-proc.el (eshell-process-interact):
1097 * eshell/esh-test.el (eshell-test):
1098 * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
1099 * eshell/esh-var.el (eshell/env, eshell-environment-variables)
1100 (eshell-variables-list):
1101 * eshell/eshell.el (eshell-unload-all-modules):
1102 Replace eshell-for with dolist.
1104 2011-03-04 Glenn Morris <rgm@gnu.org>
1106 * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0. (Bug#8170)
1108 2011-03-04 Tom Tromey <tromey@redhat.com>
1110 * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
1112 2011-03-04 Glenn Morris <rgm@gnu.org>
1114 * outline.el (outline-regexp): No longer allow nil.
1115 (outline-heading-end-regexp): Add safety predicate. (Bug#7619)
1117 * net/browse-url.el (browse-url):
1118 Handle deleted default-directory. (Bug#6077)
1120 * recentf.el (recentf-include-p): In case of a buggy predicate,
1121 err on the side of including, not excluding. (Bug#5843)
1123 2011-03-04 Jay Belanger <jay.p.belanger@gmail.com>
1125 * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
1128 2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
1130 * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
1131 if there is no node. (Bug#3261)
1133 2011-03-04 Leo <sdl.web@gmail.com>
1135 * vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
1137 * time.el (display-time-world-list): Fix typo. (Bug#7571)
1139 2011-03-04 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
1141 * cus-edit.el (custom-buffer-create-internal):
1142 Split search string before passing it to `customize-apropos' (bug#8136).
1144 2011-03-04 Drew Adams <drew.adams@oracle.com>
1146 * image-dired.el (image-dired-cmd-read-exif-data-options):
1147 Fix typo in docstring (bug#8156).
1149 2011-03-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1151 * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
1153 2011-03-03 Christian Ohler <ohler@gnu.org>
1155 * emacs-lisp/ert.el (ert--explain-equal): New function.
1156 (ert--explain-equal-rec): Rename from `ert--explain-not-equal'.
1157 All callers changed.
1158 (ert--explain-equal-including-properties): Rename from
1159 `ert--explain-not-equal-including-properties'. All callers
1162 2011-03-03 Christian Ohler <ohler@gnu.org>
1164 * emacs-lisp/ert.el (ert--stats-set-test-and-result)
1165 (ert-char-for-test-result, ert-string-for-test-result)
1166 (ert-run-tests-batch, ert--print-test-for-ewoc):
1167 Handle `ert-test-quit'.
1169 2011-03-03 David Abrahams <dave@boostpro.com> (tiny change)
1171 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1172 Move ediff-defvar-local calls after defcustoms. (Bug#1821)
1174 2011-03-03 Glenn Morris <rgm@gnu.org>
1176 * files.el (file-truename): Doc fix. (Bug#2341)
1178 2011-03-03 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1180 * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
1182 2011-03-03 Vagn Johansen <gonz808@hotmail.com> (tiny change)
1184 * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
1185 programs output backslashes. (Bug#7663)
1187 2011-03-03 Glenn Morris <rgm@gnu.org>
1189 * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
1190 (mail-mode): Remove mail-sent-via from the doc.
1191 (mail-sent-via): Make it obsolete. (Bug#1776)
1193 * progmodes/grep.el (grep-highlight-matches): Doc fix.
1194 (grep-process-setup): No highlighting without font-lock. (Bug#8084)
1196 * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
1197 with no parents. (Bug#8025)
1199 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
1201 * password-cache.el (password-in-cache-p): Add autoload.
1203 2011-03-02 Glenn Morris <rgm@gnu.org>
1205 * man.el (Man-support-local-filenames): Also handle Red Hat's man.
1206 * dired-x.el (Man-support-local-filenames): Autoload it.
1207 (dired-guess-shell-alist-default): Also handle Red Hat's man.
1209 * dired-x.el (dired-default-directory-alist, dired-default-directory):
1211 (dired-smart-shell-command): Just call dired-current-directory.
1213 * dired-x.el (dired-jump-other-window): Add autoload.
1214 (dired-default-directory-alist, dired-default-directory): Doc fixes.
1215 (dired-default-directory-alist): Mark as risky.
1217 * dired-x.el (dired-omit-here-always): Make it obsolete.
1219 2011-03-02 Chong Yidong <cyd@stupidchicken.com>
1221 * textmodes/artist.el (artist-curr-go): Default to pen-line.
1222 (artist-select-op-pen-line): New function.
1223 (artist-menu-map): New variable.
1224 (artist-mode-map): Add a menu to the menu-bar.
1226 2011-03-02 Jay Belanger <jay.p.belanger@gmail.com>
1228 * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
1231 * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
1233 (math-logunits-add, math-logunits-mul, math-logunits-divide):
1234 (math-logunits-quant, math-logunits-level):
1235 Use `math-conditional-apply' and `math-conditional-pow' to evaluate
1237 (math-logunits-level): Extract units from ratio.
1239 2011-03-01 Juanma Barranquero <lekktu@gmail.com>
1241 * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
1243 2011-03-01 Glenn Morris <rgm@gnu.org>
1245 * calendar/cal-hebrew.el (calendar-hebrew-birthday)
1246 (diary-hebrew-birthday): Rename and rework functions added
1249 2011-03-01 Ed Reingold <reingold@emr.cs.iit.edu>
1251 * calendar/cal-hebrew.el (hebrew-calendar-birthday)
1252 (diary-hebrew-birthday): New functions.
1254 2011-03-01 Glenn Morris <rgm@gnu.org>
1256 * dired.el (dired-safe-switches-p): Beef it up.
1257 (dired-actual-switches): Use it for the safe-local prop. (Bug#3230)
1259 2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
1261 * dired.el (dired-safe-switches-p): New function.
1263 2011-03-01 Glenn Morris <rgm@gnu.org>
1265 * files.el (dir-locals-collect-variables):
1266 Add the ability to exclude subdirectories. (Bug#8100)
1268 * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
1270 2011-02-28 Christoph Scholtes <cschol2112@googlemail.com>
1272 * ido.el (ido-everywhere): Doc fix.
1273 (ido-mode): Doc fix.
1275 2011-02-28 Glenn Morris <rgm@gnu.org>
1277 * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
1279 2011-02-28 Michael Albinus <michael.albinus@gmx.de>
1281 * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
1284 2011-02-28 Antoine Levitt <antoine.levitt@gmail.com>
1286 * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
1288 2011-02-28 Juanma Barranquero <lekktu@gmail.com>
1290 * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
1291 Fix typos in docstrings.
1293 2011-02-28 Stephen Berman <stephen.berman@gmx.net>
1295 * dired-aux.el (dired-update-file-line):
1296 Fix 2010-11-09 change. (Bug#8131)
1298 2011-02-28 Eli Zaretskii <eliz@gnu.org>
1300 * international/mule-cmds.el (set-default-coding-systems): Use the
1301 -unix variant of encoding in default-keyboard-coding-system.
1304 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
1306 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
1308 2011-02-27 Prestoo Ten <prestooten@gmail.com> (tiny change)
1310 * term/screen.el: New file (Bug#2650).
1312 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
1314 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
1315 (pcase-mutually-exclusive-predicates): New var.
1316 (pcase--split-consp, pcase--split-pred): Use it.
1317 (pcase--split-equal, pcase--split-member): When splitting against
1318 a pure predicate, run it to know the outcome.
1319 (pcase--u1): Mark vars that are actually used.
1320 (pcase--q1): Avoid introducing unused vars.
1322 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
1324 * calc/calc-ext.el (calc-init-extensions):
1325 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
1327 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
1330 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
1331 argument is a variable.
1333 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1335 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
1336 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
1337 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
1339 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
1341 * password-cache.el (password-in-cache-p): Convenience function to
1342 check if a key is in the cache, even if the value is nil.
1344 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
1346 * emacs-lisp/package-x.el (package--archive-contents-from-url)
1347 (package--archive-contents-from-file): New functions.
1348 (package-update-news-on-upload): New var.
1349 (package-upload-buffer-internal): Extract archive-contents from
1350 package-archive-upload-base if it is not found at archive-url.
1351 Obey package-update-news-on-upload.
1352 (package-upload-buffer, package-upload-file): Doc fix.
1354 2011-02-24 Glenn Morris <rgm@gnu.org>
1356 * files-x.el (modify-dir-local-variable): Handle dir-locals from
1357 the cache, and from non-file sources.
1359 * help-fns.el (describe-variable): Return consistent results when a
1360 dir-local from a file came from the cache or did not. (Bug#8095)
1361 If a dir-local has no associated file, say it came from a "directory".
1363 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
1364 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
1366 * files.el (dir-locals-find-file): Doc fix.
1367 Fix the check for cache elements that have no associated file,
1368 and the mtime check for those that do. (Bug#8095)
1370 * dired-x.el (dired-hack-local-variables):
1371 Handle interrupts during hacking local variables. (Bug#5216)
1373 * emacs-lisp/autoload.el (autoload-save-buffers)
1374 (autoload-find-destination, update-directory-autoloads):
1375 Avoid prompts when updating autoloads.
1377 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1379 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
1381 2011-02-23 Kenichi Handa <handa@m17n.org>
1383 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
1384 error when a multipart boundary in the nested multipart is found.
1386 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
1389 2011-02-23 Glenn Morris <rgm@gnu.org>
1391 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
1392 * dired-x.el (dired-omit-mode): Safe if boolean.
1393 (dired-enable-local-variables): Fix doc and custom type.
1394 (dired-enable-local-variables, dired-local-variables-file)
1395 (dired-hack-local-variables): Make obsolete.
1396 (dired-omit-here-always): Use dir-locals.el instead.
1398 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
1400 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
1402 * help-fns.el (describe-function-1): Don't signal an error just because
1403 the DOC file disappeared.
1405 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
1407 * eshell/esh-ext.el (eshell-external-command): Do not restrict
1408 remote check to "ftp". (Bug#8089)
1410 2011-02-21 Alan Mackenzie <acm@muc.de>
1413 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
1414 in macros finding their way into c-state-nonlit-pos-cache.
1415 Strengthen the comments.
1416 (c-state-dump): New commented out diagnostic routine.
1418 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
1420 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
1421 `field' property of `rfn-eshadow-overlay'.
1423 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
1425 * net/netrc.el (netrc-parse): Comment fix.
1427 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
1429 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
1430 Autoload. Add optional arg FRAME, and pass it to color-values.
1431 (color-complement): Caller changed. Doc fix.
1432 (color-gradient): Rewrite for better clarity and efficiency.
1434 * faces.el (color-values): Use cond for clarity. Doc fix.
1436 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
1438 (list-colors-sort-key, list-colors-print):
1439 Use color-normalized-values.
1441 2011-02-20 Drew Adams <drew.adams@oracle.com>
1443 * color.el: First part of merge from hexrgb.el.
1444 (color-rgb-to-hex): Rename from color-rgb->hex.
1445 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
1446 saturation to zero if the value is too small.
1447 (color-rgb-to-hsl): Rename from color-rgb->hsl.
1448 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
1449 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
1450 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
1451 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
1452 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
1453 (color-cie-de2000): Doc fix.
1455 2011-02-20 Alan Mackenzie <acm@muc.de>
1457 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
1458 locating the beginning of a macro. (Bug#7595)
1460 2011-02-20 Glenn Morris <rgm@gnu.org>
1462 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
1465 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1466 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
1468 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
1469 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
1471 * progmodes/hideshow.el (hs-find-block-beginning)
1472 (hs-hide-level-recursive): Ignore comments when parsing braces
1475 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1477 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
1478 (vc-bzr-pull): Use it.
1480 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1482 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
1483 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
1484 but returning an alist. Ignore comments in bzr conffile.
1485 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
1486 (vc-bzr-error-regex-alist): New var.
1487 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
1489 * vc/vc-dispatcher.el (vc-do-async-command):
1490 Bind inhibit-read-only to t.
1492 * progmodes/compile.el (compilation--flush-directory-cache):
1493 Handle the case where cdr of compilation--flush-directory-cache
1494 points to no buffer, which can occur if we previously switched to
1495 compilation-mode in a pregenerated buffer.
1497 2011-02-19 Kenichi Handa <handa@m17n.org>
1499 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
1500 get the header copy into the temporary buffer.
1501 (rmail-mime-insert-decoded-text): Ignore us-ascii.
1502 (rmail-show-mime): When rmail-mime-coding-system is nil, set
1503 buffer-file-coding-system to undecided.
1505 2011-02-19 Eli Zaretskii <eliz@gnu.org>
1507 * international/mule-cmds.el (read-char-by-name, ucs-insert):
1508 Document completion with asterisk and a substring.
1510 2011-02-19 Glenn Morris <rgm@gnu.org>
1512 * files.el (find-file-literally): Doc fix.
1514 * simple.el (rfc822-goto-eoh): Give it a doc-string.
1516 * log-edit.el (log-edit-insert-changelog):
1517 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
1519 2011-02-19 Glenn Morris <rgm@gnu.org>
1521 * dired-x.el: Don't require dired-aux.
1522 (dired-do-create-files, dired-mark-read-regexp)
1523 (dired-do-create-files-regexp): Autoload from dired-aux.
1525 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
1526 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
1528 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
1529 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
1531 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
1532 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
1533 (dired-clean-up-buffers-too): Declare.
1535 * dired-x.el (dired-initial-position): Merge into dired.el's version.
1536 * dired.el (dired-initial-position): Merge dired-x's version here.
1537 (dired-find-subdir): Declare.
1539 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
1540 * dired-aux.el (dired-add-entry): Give it a doc-string.
1541 Merge dired-x's dired-omit handling here.
1542 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
1544 * international/mule-diag.el (list-input-methods-1):
1545 Indent all lines of multi-line doc-strings. (Bug#8066)
1547 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
1549 Fix 2011-02-02 changes.
1551 * apropos.el (apropos-print): Call apropos-mode before setting up
1552 buffer variables. Use inhibit-read-only.
1554 * emacs-lisp/package.el (package--list-packages):
1555 Call package-menu-mode before setting up buffer variables.
1557 * play/solitaire.el (solitaire): Call solitaire-mode before
1558 setting up buffer variables. Use inhibit-read-only.
1560 2011-02-18 Lawrence Mitchell <wence@gmx.li>
1562 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
1563 Bind case-fold-search to nil when looking for end of here-doc.
1565 2011-02-18 Eli Zaretskii <eliz@gnu.org>
1567 * image-mode.el (image-toggle-display-image):
1568 Set find-file-literally non-nil in buffers visiting binary image
1571 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1573 * files.el (cd): Make completion obey cd-path (bug#7924).
1575 2011-02-18 Glenn Morris <rgm@gnu.org>
1577 * progmodes/prolog.el: Don't require compile when compiling.
1578 (compilation-shell-minor-mode, compilation-error-regexp-alist)
1579 (compilation-forget-errors, compilation-fake-loc)
1580 (compilation-parse-errors-function, compilation-error-list): Declare.
1581 (prolog-inferior-mode): Require 'compile.
1583 * emulation/cua-base.el (pc-selection-mode): Declare.
1585 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
1586 (customize-object): Add autoload cookie.
1587 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
1588 (eieio-browse, describe-class, eieio-describe-class)
1589 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
1590 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
1591 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
1592 * Makefile.in (autoloads): Make eieio.el writable.
1594 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
1595 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
1596 (dired-hack-local-variables): Use inhibit-read-only.
1597 (dired-guess-default): Simplify.
1598 (dired-make-relative-symlink): Use dotimes.
1599 (dired-simultaneous-find-file): Use dolist.
1600 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
1601 (dired-x-hands-off-my-keys): Doc fix.
1602 (dired-x-bind-find-file): Doc fix. Use remapping.
1603 (after-init-hook): No need to add dired-x-bind-find-file.
1604 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
1605 No need to call expand-file-name.
1606 (dired-filename-at-point): Remove unused locals `end', `filename'.
1608 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1610 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
1612 2011-02-18 Christian Ohler <ohler@gnu.org>
1614 * emacs-lisp/ert.el (ert--setup-results-buffer)
1615 (ert-results-pop-to-backtrace-for-test-at-point)
1616 (ert-results-pop-to-messages-for-test-at-point)
1617 (ert-results-pop-to-should-forms-for-test-at-point)
1618 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
1619 were incorrect and unnecessary. This should make `make check'
1622 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
1624 * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
1625 (allout-widgets-icons-dark-subdir): Track relocations of icons.
1626 * lisp/allout.el: Remove commentary about remove encryption
1627 passphrase mnemonic support and verification.
1628 (allout-encrypt-string): Recognize epg failure to decrypt gpg2
1629 armored text using gpg1, and indicate that the gpg version *might*
1630 be the problem in the error message.
1632 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1634 * net/rcirc.el (rcirc-float-time): New function.
1635 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
1636 (rcirc-ctcp-sender-PING): Use it.
1638 2011-02-17 Glenn Morris <rgm@gnu.org>
1640 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
1641 (speedbar-update-flag, speedbar-fetch-etags-command)
1642 (speedbar-fetch-etags-arguments):
1643 * term.el (term-buffer-maximum-size, term-input-chunk-size)
1644 (term-completion-autolist, term-completion-addsuffix)
1645 (term-completion-recexact, term-completion-fignore):
1646 * term/sup-mouse.el (sup-mouse-fast-select-window):
1647 * term/x-win.el (x-select-request-type):
1648 Convert some defvars with "*" to defcustoms.
1650 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
1652 * vc/vc.el (vc-default-previous-version):
1653 Remove alias that points nowhere. (Bug#4496)
1655 * dired-x.el (dired-clean-up-after-deletion):
1656 kill-buffer does not need save-excursion.
1657 (dired-do-run-mail): Doc fix.
1658 (dired-filename-at-point): Doc fix.
1659 Use looking-at, and skip-chars rather than re search.
1661 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
1663 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
1665 * allout-widgets.el: New allout extension that shows allout
1666 outline structure with graphical widgets. 'allout-widgets'
1667 customize group is an 'allout' subgroup, for easy discovery.
1669 * allout.el: Include PGP and GnuPG in Keywords, and other
1670 commentary refinements.
1671 (allout-abbreviate-flattened-numbering): Rename to
1672 allout-flattened-numbering-abbreviation, and
1673 define-obsolete-variable-alias the old name.
1674 (allout-flattened-numbering-abbreviation): Rename from
1675 allout-abbreviate-flattened-numbering.
1676 (allout-mode-p): Include among autoloads, for use by other modes
1678 (allout-listify-exposed):
1679 Use allout-flattened-numbering-abbreviation.
1680 (allout-encrypt-string): Use set-buffer-multibyte directly.
1681 (allout-set-buffer-multibyte): Remove.
1683 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1685 * simple.el (just-one-space): Remove useless `or' call.
1687 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1689 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
1690 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
1691 (soap-decoded-multi-refs, soap-current-wsdl)
1692 (soap-encoded-namespaces): Rename CL-style *...* variables.
1694 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
1696 * net/soap-client.el: Add "comm" and "hypermedia" to the
1697 keywords. Reflow too long lines.
1699 * net/soap-inspect.el: Ditto. Require 'cl.
1701 2011-02-16 Bastien Guerry <bzg@altern.org>
1703 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
1704 in a `doctor-type' argument.
1706 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1708 * net/soap-client.el:
1709 * net/soap-inspect.el: New files.
1711 2011-02-16 Leo <sdl.web@gmail.com>
1713 * dired-x.el (dired-mode-map, dired-extra-startup):
1714 Remove dired-copy-filename-as-kill since it's already in dired.el.
1716 2011-02-16 Glenn Morris <rgm@gnu.org>
1718 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
1719 Doc fixes. Add :set property, replacing top-level calls.
1720 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
1721 (dired-guess-shell-gnutar): Test tar version rather than system-type.
1722 (dired-extra-startup, dired-man, dired-info): Doc fixes.
1723 (dired-clean-up-after-deletion): Use when and dolist.
1724 (dired-jump): Use unless and when.
1725 (dired-virtual): Use line-end-position.
1726 (dired-default-directory-alist): Rename from default-directory-alist.
1727 (dired-default-directory): Update for above name change.
1728 (dired-vm): Drop VM < 5 and simplify.
1729 (dired-buffer-more-recently-used-p): Rewrite.
1730 (dired-filename-at-point): Use when and or.
1731 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
1734 2011-02-15 Glenn Morris <rgm@gnu.org>
1736 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
1738 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
1740 * vc/vc-git.el (vc-git-root-log-format): New option for
1741 customizing log format.
1742 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
1743 (vc-git-log-view-mode): Use it.
1744 (vc-git-expanded-log-entry): New function.
1745 (vc-git-log-view-mode): Use it. Truncate lines in root log.
1747 * vc/vc-hg.el (vc-hg-root-log-template): New option for
1748 customizing log format.
1749 (vc-hg-print-log): Use it.
1750 (vc-hg-expanded-log-entry): New function.
1751 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
1752 vc-hg-expanded-log-entry. Truncate lines in root log.
1754 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
1756 * vc/log-view.el (log-view-mode-menu):
1757 Add log-view-toggle-entry-display.
1759 2011-02-14 Glenn Morris <rgm@gnu.org>
1761 * dired-x.el: Don't require man when compiling.
1762 (dired-omit-extensions, dired-local-variables-file)
1763 (dired-x-hands-off-my-keys): Make them defcustoms.
1764 (Man-support-local-filenames, Man-getpage-in-background): Declare.
1765 (vm-visit-folder): Declare rather than defining.
1766 (dired-x-help-address, dired-x-variable-list): Remove.
1767 (dired-x-submit-report): Make it an obsolete alias.
1769 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
1771 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
1773 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1775 * net/imap.el: Bring it back.
1777 2011-02-13 Alan Mackenzie <acm@muc.de>
1779 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
1780 narrow-to-region call that cuts context off the end (Bug#7722).
1782 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1783 Refactor nested if-forms with a simple cond.
1784 (c-forward-<>-arglist): Revert 2011-01-31 change.
1786 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1788 * vc/log-view.el: New command log-view-toggle-entry-display for
1789 toggling log entries between concise and detailed forms.
1790 (log-view-toggle-entry-display): New command.
1791 (log-view-mode-map): Bind RET to it.
1792 (log-view-expanded-log-entry-function): New variable.
1793 (log-view-current-entry, log-view-inside-comment-p)
1794 (log-view-current-tag): New functions.
1795 (log-view-toggle-mark-entry): Use log-view-current-entry and
1796 log-view-end-of-defun instead of searching directly with
1797 log-view-message-re.
1798 (log-view-end-of-defun): Likewise. Add optional ARG for
1799 compatibility with end-of-defun.
1800 (log-view-end-of-defun): Ignore comments and VC buttons.
1802 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
1803 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
1805 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1807 * net/imap.el: Remove file. All the functionality is in nnimap.el.
1809 * net/imap-hash.el: Remove file.
1811 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
1813 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
1815 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
1818 * net/tramp-imap.el: Remove file.
1820 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1822 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
1823 widget library for buttons, just use button.el.
1825 * vc/log-view.el (log-view-mode-map): Don't inherit from
1828 2011-02-12 Glenn Morris <rgm@gnu.org>
1830 * emacs-lisp/cl-seq.el (union, nunion, intersection)
1831 (nintersection, set-difference, nset-difference)
1832 (set-exclusive-or, nset-exclusive-or): Doc fix.
1834 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1836 * faces.el (face-attr-match-p): Handle the obsolete :bold and
1837 :italic props, so that frame-set-background-mode works. (Bug#7966)
1839 * simple.el (next-error): Doc fix.
1841 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1843 * dired-aux.el (dired-create-files): Adapt destination name to
1844 match the new behavior of copy-directory.
1846 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
1848 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1849 from rmail-dont-reply-to-names. Callers changed.
1850 (mail-dont-reply-to): Rename from mail-dont-reply-to.
1851 (rmail-dont-reply-to): Make it an obsolete alias.
1853 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1854 nil, and make obsolete (Bug#7888).
1855 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1857 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1859 * mail/rmailsort.el (rmail-sort-by-correspondent)
1860 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
1862 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1864 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1866 * files.el (copy-directory): New argument COPY-CONTENTS for
1867 copying directory contents into another existing directory.
1869 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
1871 * minibuffer.el (completion-table-case-fold): New function for
1872 creating a case-insensitive completion table.
1874 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1876 * net/tramp.el (tramp-default-method): Also check if
1877 `auth-source-search' is bound.
1878 (tramp-read-passwd): Use `auth-source-search' instead of
1879 `auto-source-user-or-password'.
1881 * net/tramp-imap.el: Autoload `auto-source-search' instead of
1882 `auto-source-user-or-password.
1883 (tramp-imap-passphrase-callback-function): Use it.
1885 * net/imap-hash.el: Autoload `auto-source-search' instead of
1886 `auto-source-user-or-password.
1887 (imap-hash-open-connection): Use it.
1889 * mail/smtpmail.el: Autoload `auto-source-search' instead of
1890 `auto-source-user-or-password.
1891 (smtpmail-try-auth-methods): Use it.
1893 2011-02-12 Phil Hagelberg <phil@hagelb.org>
1895 * emacs-lisp/package.el: Allow packages to be reinstalled.
1896 (package--write-file-no-coding): Remove EXCL arg.
1897 (package-unpack-single): Don't use it.
1899 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
1901 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1902 in each sub directory.
1903 (vc-svn-registered): Use vc-svn-root.
1904 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
1905 (vc-svn-repository-hostname): Use "svn info".
1907 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1909 * simple.el (delete-trailing-whitespace): New optional buffer
1912 2011-02-11 Bastien Guerry <bzg@altern.org>
1914 * files.el (basic-save-buffer): save unmodified buffers when
1915 the file pointed by buffer-file-name doesn't exist.
1917 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1919 * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1921 2011-02-11 Glenn Morris <rgm@gnu.org>
1923 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1925 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
1927 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1929 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
1931 * server.el (server-process-filter): Use pcase.
1933 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1935 (smie-indent--parent): Extend to "parent of arg".
1936 (smie-indent-inside-string): New function.
1937 (smie-indent-functions): Use it.
1939 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1940 bzr locking race condition.
1942 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1943 still valid before using it.
1945 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1946 `message' -> `compilation-message' rename (bug#8004).
1948 Move keymap initialization into declaration.
1949 * textmodes/enriched.el (enriched-mode-map):
1950 * textmodes/bib-mode.el (bib-mode-map):
1951 * term/lk201.el (lk201-function-map):
1952 * tar-mode.el (tar-mode-map):
1953 * replace.el (occur-mode-map):
1954 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1955 * progmodes/idlw-help.el (idlwave-help-mode-map):
1956 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1957 * play/solitaire.el (solitaire-mode-map):
1958 * play/snake.el (snake-mode-map, snake-null-map):
1959 * play/pong.el (pong-mode-map):
1960 * play/handwrite.el (menu-bar-handwrite-map):
1961 * play/gametree.el (gametree-mode-map):
1962 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1963 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1964 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1965 (newsticker--url-keymap):
1966 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1967 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1968 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1969 (menu-bar-edit-menu, menu-bar-custom-menu)
1970 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1971 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1972 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1973 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1974 (menu-bar-tools-menu, menu-bar-describe-menu)
1975 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1976 (menu-bar-help-menu):
1977 * mail/rmailsum.el (rmail-summary-mode-map):
1978 * kmacro.el (kmacro-step-edit-map):
1979 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1980 (ibuffer-mode-operate-map):
1981 * hi-lock.el (hi-lock-menu, hi-lock-map):
1982 * emulation/vip.el (vip-mode-map):
1983 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1984 * bookmark.el (bookmark-bmenu-mode-map):
1985 * help-mode.el (help-mode-map): Move initialization into declaration.
1987 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1989 * net/rcirc.el: Add PRIVMSG and CTCP functions.
1990 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1991 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1992 (rcirc-cmd-me, rcirc-authenticate): Use them.
1994 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
1996 * allout.el: Synopsis: Change allout user configuration so
1997 auto-activation is controlled solely by customization
1998 `allout-auto-activation'.
2000 (allout-auto-activation-helper, allout-setup): New autoloads
2001 implement new custom set procedure for allout-auto-activation.
2002 Also, explicitly invoke (allout-setup) after allout-auto-activation
2003 is custom-defined, to affect the settings in emacs sessions besides
2004 the few where allout-auto-activation customization is done.
2005 (allout-auto-activation): Use allout-auto-activation-helper to
2006 :set. Revise the docstring.
2007 (allout-init): Reduce functionality to just customizing
2008 allout-auto-activation, and mark obsolete.
2009 (allout-mode): Respect string values for allout-auto-activation.
2010 Run allout-after-copy-or-kill-hook without any args.
2011 (allout-mode, allout-layout, allout-default-layout)
2012 (outlineify-sticky): Adjust docstring for new scheme.
2013 (allout-after-copy-or-kill-hook): No arguments - hook implementers
2014 should concentrate on the kill ring.
2016 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
2018 * password-cache.el (password-cache-remove): Accept secrets that are
2021 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2023 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
2024 of here-doc that immediately follows a comment.
2026 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2028 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
2030 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
2032 (rcirc-ctcp-sender-PING): New function.
2034 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
2036 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
2037 Remove the mark/nomark handling, and activate shift-select-mode instead.
2039 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
2041 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
2043 * calc/calc-units.el (math-logunits-quant): Add support for
2044 non-logarithmic units.
2046 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
2048 * allout.el (allout-after-copy-or-kill-hook): New hook for
2049 extension-specific processing of killed text.
2050 (allout-mode): Include new allout-after-copy-or-kill-hook among
2052 (allout-kill-line, allout-kill-topic): Ensure that processing
2053 after kill happens even if barf-if-buffer-read-only is raised.
2054 Include new allout-after-copy-or-kill-hook among that subsequent
2056 (allout-deannotate-hidden): Actually remove the annotation text
2059 * allout.el (allout-listify-exposed): Copy text sans text properties.
2061 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
2063 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
2065 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2067 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
2069 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
2071 * calc/calc.el (calc-logunits-field-reference): Rename from
2072 `calc-default-field-reference-level'.
2073 (calc-logunits-power-reference): Rename from
2074 `calc-default-power-reference-level'.
2076 * calc/calc-units.el (math-logunits-quant): Rename from
2077 `math-logunits-level'
2078 (math-logunits-plus): Rename from math-logcombine.
2079 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
2080 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
2081 (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
2083 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
2084 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
2085 (calc-logunits-quantity): Rename from `calc-level'.
2086 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
2087 (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
2088 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
2089 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
2090 (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
2093 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
2094 (calc-ul-prefix-help): Remove.
2095 (calc-l-prefix-help): New function.
2096 (calc-full-help): Add reference to `calc-l-prefix-help'.
2098 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
2100 * calc/README: Mention logarithmic units.
2102 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
2104 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
2105 non-ASCII characters (Bug#7925).
2107 2011-02-05 Glenn Morris <rgm@gnu.org>
2109 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
2111 * calendar/diary-lib.el (diary-font-lock-keywords):
2112 Tweak diary-time-regexp match. (Bug#7891)
2114 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
2115 (f90-mode): Use it for mode's `find-tag-default-function' property.
2117 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
2119 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
2121 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2123 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
2126 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
2128 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
2129 font-lock-syntax-table remappings.
2130 (sh-here-doc-markers, sh-here-doc-re): Remove.
2131 (sh-font-lock-close-heredoc): Remove.
2132 (sh-syntax-propertize-here-doc): New function.
2133 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
2134 instead of the sh-here-doc-re.
2135 (sh-font-lock-paren): Don't do anything in comments or strings.
2136 Handle line continuations. Accept a few more chars.
2137 Don't rely on the font-lock-syntax-table remappings.
2138 `esac' is not a valid pattern.
2139 (sh-syntax-propertize-function): Handle here-docs differently, so we
2140 don't bother syntax-propertizing the insides.
2142 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
2143 Handle new bashisms ";&" and ";;&" (bug#7947).
2145 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
2147 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
2148 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
2150 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
2152 * net/tramp.el (tramp-postfix-method-format)
2153 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
2154 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
2155 (tramp-postfix-user-regexp, tramp-prefix-port-format)
2156 (tramp-prefix-port-regexp, tramp-postfix-host-format)
2157 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
2160 2011-02-04 Sam Steingold <sds@gnu.org>
2162 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
2164 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
2166 * international/mule-util.el (with-coding-priority): Doc fix.
2168 2011-02-04 Eli Zaretskii <eliz@gnu.org>
2170 * arc-mode.el (archive-mode-map): Fix a typo in last change.
2172 2011-02-03 Sam Steingold <sds@gnu.org>
2174 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2175 Do not error out when `func' is nil.
2177 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
2179 * net/tramp-sh.el (tramp-remote-path): Add default settings for
2180 `tramp-default-remote-path' to the docstring.
2181 (tramp-get-remote-path): Suppress error message when `getconf
2184 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
2186 2011-02-03 Glenn Morris <rgm@gnu.org>
2188 * vc/vc-hg.el (vc-hg-command): Doc fix.
2190 * term/w32-win.el (libpng-version): Declare for compiler.
2192 * msb.el: No need to load dired while compiling.
2194 * emacs-lisp/elint.el (elint-standard-variables):
2195 Remove a couple of built-ins that now have doc-strings.
2197 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
2198 `require' is automatically `eval-and-compile'd.
2200 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
2201 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
2203 * strokes.el (strokes-fill-current-buffer-with-whitespace):
2204 Move definition before use.
2205 (strokes-report-bug): Make it obsolete.
2207 2011-02-02 Sam Steingold <sds@gnu.org>
2209 * apropos.el (apropos-print): Now that `apropos-mode' inherits
2210 from `special-mode', entering it makes the buffer read-only, so
2211 call it only when everything has been already inserted.
2212 * emacs-lisp/ert.el (ert--setup-results-buffer)
2213 (ert-results-pop-to-backtrace-for-test-at-point)
2214 (ert-results-pop-to-messages-for-test-at-point)
2215 (ert-results-pop-to-timings): Ditto.
2216 * emacs-lisp/package.el (package--list-packages): Ditto.
2217 * play/solitaire.el (solitaire): Ditto.
2219 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
2221 * progmodes/compile.el: Make all faces inherit.
2222 (compilation-warning): Inherit from font-lock-variable-name-face.
2223 (compilation-info): Inherit from font-lock-type-face.
2224 (compilation-line-number): Reassign to font-lock-keyword-face.
2225 (compilation-column-number): Reassign to font-lock-doc-face.
2226 (compilation-leave-directory-face): Reassign to
2227 font-lock-builtin-face.
2229 2011-02-02 Eli Zaretskii <eliz@gnu.org>
2231 * dired.el (dired-insert-directory): Don't invoke `ls' when
2232 ls-lisp.el is used to emulate it.
2234 2011-02-01 Julien Danjou <julien@danjou.info>
2236 * color.el (color-gradient): Add a color-gradient function.
2238 2011-02-01 Sam Steingold <sds@gnu.org>
2240 * simple.el (special-mode-map): Bind "h" to `describe-mode';
2241 bind "z" to `kill-this-buffer'.
2242 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
2243 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
2244 (apropos-mode): Inherit from `special-mode'.
2245 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
2246 * bookmark.el (bookmark-bmenu-mode): Define using
2247 `define-derived-mode' inheriting from `special-mode'.
2248 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
2249 * image-mode.el (image-mode-map): Ditto.
2250 * replace.el (occur-mode): Define using
2251 `define-derived-mode' inheriting from `special-mode'.
2252 * tar-mode.el (tar-mode): Inherit from `special-mode'.
2253 * calendar/diary-lib.el (diary-fancy-display-mode):
2254 Inherit from `special-mode-map'.
2255 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
2256 Inherit from `special-mode'.
2257 * emacs-lisp/package.el (package-menu-mode-map): Copy from
2259 (package-menu-mode): Define using `define-derived-mode'
2260 inheriting from `special-mode'.
2261 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
2262 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
2263 (xesam-mode-map): Define separately.
2264 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
2265 * progmodes/compile.el (compilation-minor-mode-map)
2266 (compilation-mode-map): Inherit from `special-mode-map'.
2267 * vc/diff-mode.el (diff-mode-shared-map):
2268 Inherit from `special-mode-map'.
2269 * vc/log-view.el (log-view-mode-map): Add a comment.
2271 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
2273 * custom.el (load-theme): Define return value. Drop use of
2274 unsafep; call custom-theme-load-confirm for non-known-safe themes.
2275 (custom-theme-load-confirm): Scroll in the correct window.
2276 (custom-enabled-themes): Add custom-safe-themes to :set-after.
2278 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
2279 checkbox if load-theme fails.
2281 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2283 * progmodes/compile.el (compilation-next-error): Check there's
2284 a message before using it (bug#7941).
2286 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
2288 * calc/calc-mtx.el (math-lud-pivot-check): New function.
2289 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
2290 of potential pivots.
2292 2011-01-31 Alan Mackenzie <acm@muc.de>
2294 * progmodes/cc-cmds.el (c-forward-over-illiterals):
2295 Continue parsing if we encounter a naked # (Bug#7595).
2296 (c-beginning-of-statement): Avoid loop in locating the beginning
2297 of a macro. (Not actually committed until 2011-02-20, see above).
2299 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2301 * files.el (copy-directory): Fix arguments to recursive call.
2303 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2305 * files.el (copy-directory): If destination is an existing
2306 directory, copy into a subdirectory there.
2308 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
2310 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
2313 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2315 * image-dired.el (image-dired-mouse-display-image): No-op if no
2316 file is found (Bug#7817).
2318 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
2320 2011-01-31 Kenichi Handa <handa@m17n.org>
2322 * international/quail.el (quail-keyboard-layout-alist):
2323 Remove superfluous SPC for "pc105-uk" (bug#7927).
2325 2011-01-31 Glenn Morris <rgm@gnu.org>
2327 * msb.el (msb-menu-bar-update-buffers): Update for changed
2328 argument handling of menu-bar-select-frame. (Bug#7902)
2330 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2332 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
2333 to the recursion depth (Bug#7722).
2335 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
2337 * term/ns-win.el (ns-find-file): Expand ns-input-file with
2338 command-line-default-directory (Bug#7872).
2340 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2342 * progmodes/compile.el (compilation--flush-directory-cache):
2343 New function, extracted from compilation--remove-properties.
2344 (compilation--remove-properties, compilation--parse-region): Use it.
2345 (compilation--previous-directory): Handle one more case.
2346 (compilation-enable-debug-messages): Remove.
2347 (compilation-parse-errors, compilation--flush-parse): Just remove the
2348 left over debug messages.
2350 2011-01-31 Sam Steingold <sds@gnu.org>
2352 * progmodes/compile.el (compilation-enable-debug-messages):
2353 Add a variable to make the parsing messages introduced in
2354 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
2355 (compilation-parse-errors, compilation--flush-parse): Use it.
2357 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2359 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
2360 (rcirc-nick-completion-format): New defcustom.
2361 (rcirc-complete): Use it.
2363 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2365 * net/rcirc.el: Clean log filenames (Bug#7933).
2366 (rcirc-log-write): Use convert-standard-filename.
2367 (rcirc-log-filename-function): Documentation updates.
2369 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
2371 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
2372 Check report-emacs-bug-can-use-osx-open and use that if t.
2373 (report-emacs-bug-can-use-osx-open): New function.
2374 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
2375 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
2377 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
2379 * vc/vc-dispatcher.el (vc-set-async-update): New function for
2380 updating Dired or VC-dir buffers after async command completes.
2382 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
2383 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
2385 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
2386 completions if it exists. Use vc-set-async-update.
2387 (vc-git-pull): Use vc-set-async-update.
2389 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
2390 read-shell-command. Use vc-set-async-update.
2391 (vc-hg-merge-branch): Use vc-set-async-update.
2393 2011-01-29 Daiki Ueno <ueno@unixuser.org>
2395 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
2396 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
2399 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
2401 * progmodes/compile.el: Avoid an N² behavior in grep.
2402 (compilation--previous-directory): New fun.
2403 (compilation--previous-directory-cache): New var.
2404 (compilation--remove-properties): Flush it.
2405 (compilation-directory-properties, compilation-error-properties):
2406 Use the new fun to speed up looking for the current directory.
2408 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
2410 * vc/vc-hg.el (vc-hg-history): New var.
2411 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
2412 (vc-hg-merge-branch): New function.
2414 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
2415 the other way around.
2417 * vc/vc-git.el (vc-git-branches, vc-git-pull)
2418 (vc-git-merge-branch): New functions.
2419 (vc-git-history): New var.
2421 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2423 * vc/vc-dispatcher.el (vc-do-async-command): New function.
2425 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
2426 vc-do-async-command.
2428 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
2431 2011-01-28 Leo <sdl.web@gmail.com>
2433 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
2434 highlighting to the "this function is advised" message.
2436 * help-mode.el (help-mode-finish): Apply highlighting here, to
2437 avoid clobbering by substitute-command-keys (Bug#6304).
2439 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2441 * woman.el (woman0-roff-buffer): Process roff escape sequences
2442 occurring prior to the first request (Bug#7843).
2444 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2446 * progmodes/compile.el: Don't use font-lock any more.
2447 (compilation-error-regexp-alist-alist): Change handling of makepp
2448 so it preserves the warning/error distinction on subsequent files.
2449 Simplify various rules.
2450 (compilation-directory-properties): Use font-lock-face.
2451 Add a compilation-message property.
2452 (compilation-internal-error-properties): Use font-lock-face.
2453 Don't set the compilation-debug property here.
2454 (compilation--put-prop, compilation--remove-properties)
2455 (compilation--parse-region, compilation--ensure-parse)
2456 (compilation--ensure-parse): New functions.
2457 (compilation-parse-errors): New function, largely inspired of
2458 compilation-mode-font-lock-keywords. Set compilation-debug here.
2459 (compilation--parsed): New var.
2460 (compilation--flush-parse): Use compilation--ensure-parse.
2461 (compilation-start): Don't call font-lock.
2462 (compilation-turn-on-font-lock): Remove.
2463 (compilation-setup): Don't set font-lock-extra-managed-props not change
2464 other font-lock settings, other than keywords.
2465 Don't activate font-lock-mode.
2466 Set change-major-mode-hook and before-change-functions.
2467 (compilation--unsetup): Remove properties and hooks.
2468 (compilation-next-single-property-change): New function.
2469 (compilation-next-error): Use it to parse when needed.
2470 (compile-goto-error): Parse buffer as needed.
2471 (compilation--compat-error-properties): Don't need a dummy `face'
2474 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2476 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
2477 (compilation-process-setup-function): Fix docstring's false promises.
2478 (compilation-error-regexp-alist-alist): Catch omake's continuous
2479 recompilation message and avoid reuse of old markers.
2480 (compilation-parse-errors-function): Declare obsolete.
2481 (compilation-buffer-modtime): Remove.
2482 (compilation--make-cdrloc, compilation--loc->col)
2483 (compilation--loc->line, compilation--loc->file-struct)
2484 (compilation--loc->marker, compilation--loc->visited)
2485 (compilation--make-file-struct, compilation--file-struct->file-spec)
2486 (compilation--file-struct->formats)
2487 (compilation--file-struct->loc-tree): New macros. Use them.
2488 (compilation--message): New defstruct. Use them.
2489 (compilation-next-error-function): Don't mess with timestamps to try
2490 and guess when to reparse.
2492 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2494 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
2495 (tex-old-error-file-name): New function,
2496 extracted from tex-compilation-parse-errors.
2497 (tex-compilation-parse-errors): Remove.
2498 (tex-error-regexp-alist): New var.
2499 (tex-shell): Use it to avoid compilation-parse-errors-function.
2501 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
2502 (grep-mode-font-lock-keywords): Remove regexp that seems like
2503 a left-over from before we used compile.el.
2504 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
2505 modifying the buffer within with-silent-modifications.
2507 * progmodes/compile.el: Cleanup text-properties namespace by using
2508 `compilation-message' instead of `message', `compilation-directory'
2509 instead of `directory', and `compilation-debug' instead of `debug'.
2510 (compilation-last-buffer, compilation-parsing-end)
2511 (compilation-error-list, compilation-old-error-list): Move to the
2512 compatibility part of the code.
2513 (compilation-error-properties): If `file' is a function, let it return
2515 (compilation-mode-font-lock-keywords): Be more conservative with the
2516 omake "^ *" pattern prefix, to try and minimize the risk of
2517 pathologically slow regexp matching.
2518 (compilation-start): Use inhibit-read-only.
2519 (compilation--unsetup): New function.
2520 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
2521 (compilation-filter): Minor tweaks.
2522 (compilation-next-error-function): Try and avoid abusing variables.
2523 (compilation--flush-file-structure): New fun.
2524 (compilation-fake-loc): Use it to improve behavior when file is reused.
2525 (debug-ignored-errors): Add "Moved past last ...".
2526 (compilation--compat-error-properties)
2527 (compilation--compat-parse-errors): Rename by doubling the "-".
2529 Port features from the previous prolog.el to the new one.
2530 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
2531 (prolog-program-name, prolog-program-switches, prolog-consult-string)
2532 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
2533 variable and use a function to compute the value dynamically.
2534 (prolog-prompt-regexp): Add regexp for GNU Prolog.
2535 (prolog-continued-prompt-regexp): Remove, unused.
2536 (prolog-find-value-by-system): Try and use the value of prolog-system
2537 in the *prolog* buffer if it helps.
2538 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
2539 (prolog-zip-on): ..and check prolog-system and version here instead.
2540 (prolog-inferior-self-insert-command): New command.
2541 (prolog-inferior-mode-map): Use it.
2542 (prolog-inferior-error-regexp-alist): New var.
2543 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
2544 (prolog-input-filter): Use derived-mode-p.
2545 (prolog-inferior-guess-flavor): New function.
2546 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
2547 make-comint to avoid running comint-mode twice.
2548 (prolog-inferior-buffer): New fun.
2549 (prolog-old-process-region, prolog-old-process-file):
2550 Don't call prolog-bsts here...
2551 (prolog-build-prolog-command): ...do it here instead.
2552 (prolog-old-process-region, prolog-old-process-file):
2553 Use compilation-fake-loc and compilation-forget-errors.
2554 (prolog-consult-compile-region): Use bolp.
2556 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2558 * image-mode.el (image-display-size): Doc fix (Bug#7820).
2560 2011-01-27 Sam Steingold <sds@gnu.org>
2562 * midnight.el (clean-buffer-list-kill-never-buffer-names):
2563 Remove "*server*" which is never created by emacs server.
2565 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2567 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
2568 there are some diff switches.
2570 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
2572 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2573 Copy change made to ruby-font-lock-syntactic-keywords.
2575 * htmlfontify.el: Make it obey the font-lock-face text property.
2576 Miscellaneous cleanup such as:
2577 - Don't hide expressions after a closing paren.
2578 - Move initial setq into let.
2579 - Hoist common parts out of ifs.
2580 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
2581 (hfy-face-at): Use get-text-property instead.
2582 (hfy-prop-invisible-p): Use invisible-p if available.
2583 (htmlfontify-manual): Use \\[...].
2584 (hfy-html-quote-regex): Use [...].
2585 (hfy-combined-face-spec): Simplify.
2586 (hfy-compile-face-map): Don't presume point-min==1.
2587 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
2588 match end of string.
2589 (hfy-text-p): η-reduce.
2590 (hfy-tags-for-file): Receive cache-hash directly.
2591 (hfy-mark-tag-names): Adjust call.
2593 2011-01-27 Glenn Morris <rgm@gnu.org>
2595 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
2596 (msb-after-load-hook): Remove eval-after-load wackiness.
2598 2011-01-25 Sam Steingold <sds@gnu.org>
2600 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
2601 literal "diff" (important for windows-nt).
2603 2011-01-25 Glenn Morris <rgm@gnu.org>
2605 * emacs-lisp/copyright.el (copyright-at-end-flag)
2606 (copyright-names-regexp): Add safety properties.
2607 (copyright-year-ranges): New option.
2608 (copyright-find-end): New function, split from copyright-update-year.
2609 (copyright-update-year): Use copyright-find-end.
2610 (copyright-fix-years): Optionally, convert years to ranges.
2611 Handle years continued over comment lines.
2612 Do not mess with the fill-prefix.
2613 Do not call copyright-update.
2614 (copyright-update-directory): Optionally, fix years rather than update.
2615 Skip directories. Find files with only safe local vars.
2617 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
2619 * files.el (file-name-non-special): Only change buffer-file-name after
2620 insert-file-contents if it's `visit'ing the file (bug#7854).
2622 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
2624 * dired.el (dired-revert): Doc fix (Bug#7758).
2626 * simple.el (line-move-visual): Doc fix (Bug#7594).
2628 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
2630 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
2631 here-doc which ends with an underscore.
2632 (ruby-mode-set-encoding): Skip shebang line always.
2633 (ruby-mode-map): Bind C-c C-c to comment-region.
2634 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
2635 (ruby-forward-sexp): Stop after literal hash key labels.
2636 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
2639 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
2641 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
2642 the correct buffer (Bug#7650).
2644 2011-01-25 Glenn Morris <rgm@gnu.org>
2646 * comint.el (comint-mode): Doc fix. (Bug#7897)
2648 * simple.el (do-auto-fill): Give it a doc string.
2650 * button.el (make-text-button): Doc fix. (See bug#7881)
2652 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
2654 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2655 Don't move backward, so as not to fall in an inf-loop (bug#7736).
2657 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
2658 Handle ?" and friends differently (e.g. don't use backrefs).
2660 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
2662 * calc/calc.el (calc-default-power-reference-level)
2663 (calc-default-field-reference-level): New variables.
2664 * calc/calc-units.el (math-standard-units): Add dB and Np.
2665 (math-logunits): New variable.
2666 (math-extract-logunits, math-logcombine, calcFunc-luplus)
2667 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
2668 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
2670 (math-find-base-units-rec): Add entry for ln(10).
2671 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
2672 (calc-ul-prefix-help): New function.
2673 * calc/calc-ext.el (calc-init-extensions): Autoload new units
2674 functions. Add keybindings for new units functions.
2676 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
2678 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
2679 rcirc buffers. (Bug#4940)
2681 2011-01-22 Glenn Morris <rgm@gnu.org>
2683 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
2684 split out from copyright-update-year.
2685 (copyright-update): Don't mess with the GPL version if we don't own the
2686 copyright. Update license regexp, and remove no longer needed
2688 (copyright-fix-years): Use copyright-find-copyright.
2690 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2692 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
2694 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2696 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
2697 (lm): Rename to landmark.
2698 (lm-test-run): Rename to landmark-test-run.
2700 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2702 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
2703 "Case sensitive" menu item.
2705 2011-01-22 Roland McGrath <roland@frob.com>
2707 * comint.el (comint-replace-by-expanded-history-before-point): Fix
2708 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
2710 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2712 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
2714 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2716 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2717 Assume foo(bar) is a manpage reference rather than some unquoted
2720 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2722 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
2723 Suggested by Flo <sensorflo@gmail.com>.
2725 2011-01-22 Glenn Morris <rgm@gnu.org>
2727 * progmodes/compile.el (compilation-error-regexp-alist):
2728 Fix custom type. (Bug#7812)
2730 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
2732 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
2733 allout-number-siblings, in keeping with what obtained due to
2734 (now-defunct) allout-keybindings-list. Ditch repeat binding to
2736 (allout-before-change-handler): Better expose spots affected by
2739 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2741 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
2743 2011-01-22 Phil Hagelberg <phil@evri.com>
2745 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
2746 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
2747 (pcmpl-ssh-config-hosts): New function.
2748 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
2749 pcmpl-ssh-known-hosts.
2751 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2753 * calc/calc-undo.el (calc-undo): Autoload it.
2754 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
2755 and autoload for `calc-undo'.
2756 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
2757 * calc/calc-prog.el:
2758 * calc/calc-graph.el:
2759 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2761 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
2763 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
2764 keybindings to `calc-undo'.
2766 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2768 Don't mess with *temp*.
2769 * obsolete/spell.el: Move from textmodes/spell.el.
2771 * term.el (term-read-input-ring):
2772 * startup.el (display-startup-echo-area-message):
2773 * progmodes/antlr-mode.el (antlr-directory-dependencies):
2774 * comint.el (comint-read-input-ring): Use with-temp-buffer.
2775 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
2778 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
2780 * allout.el (allout-institute-keymap): Use fset instead of
2781 reapplying defalias.
2783 (allout-hotspot-key-handler): Check for non-control-modified
2784 bindings for hotspot characters if there are no control-modified
2787 * allout.el: Summary - migrate to defining allout mode using
2788 define-minor-mode instead of defun. Significantly clean-up
2789 internal keymap provisions, refactoring and, in the process,
2790 removing a lot of accumulated cruft.
2792 allout-mode-map is now a keymap by virtue of being a defalias to
2793 allout-mode-map-value, which contains the actual keymap structure.
2795 (allout-mode): Use define-minor-mode rather than defun.
2796 Remove now-unnecessary minor-mode setup activities from the body.
2797 Specify :keymap as allout-mode-map so the minor-mode-map-alist
2798 entry will be '(allout-mode . allout-mode-map) - see
2799 allout-mode-map-value, below. Adjust docstring to track changes.
2800 (allout-minor-mode): Remove this defalias, now that we're using
2802 (allout-mode-map): Set value to be 'allout-mode-map. The actual
2803 keymap is allout-mode-map-value, via defalias.
2804 (allout-mode-map-value): The variable holding the actual mode
2805 keymap structure, by virtue of defalias from allout-mode-map.
2806 (allout-compose-and-institute-keymap): Rename from
2807 allout-bind-keys, and including the binding-composition
2808 functionality of the former produce-allout-mode-map and
2809 allout-setup-mode-map.
2810 (allout-institute-keymap): Take over the "setup" part of the former
2811 allout-setup-mode-map. Reassign allout-mode-map-value value and
2812 update the defalias.
2813 (allout-command-prefix, allout-prefixed-keybindings)
2814 (allout-unprefixed-keybindings):
2815 Use allout-compose-and-institute-keymap to process the bindings.
2816 (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
2817 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
2818 user can customize if they want to use that binding.
2819 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
2820 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
2821 elided that, previously, instead of the one for \C-h.)
2822 (allout-hotspot-key-handler): Remove attempt to resolve the key
2823 through the literal key-string lookup on allout-keybindings-list.
2824 That probably hasn't worked for a Long Time, and removal of
2825 allout-keybindings-list further simplifies the keybindings situation.
2826 (allout-pre-command-business): Use allout-mode-map-value instead
2828 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
2829 the bindings if they want to use a keybinding having a trailing
2830 \C-h. No deprecation needed since this feature was never in a release.
2831 (allout-keybindings-list): Remove. It's not been useful for a
2832 while. (See allout-hotspot-key-handler changes, above.)
2833 (produce-allout-mode-map): Remove. Consolidate into
2834 allout-compose-and-institute-keymap.
2835 (allout-mode-map-adjustments): Remove. No longer necessary with
2836 removal of allout-preempt-trailing-ctrl-h.
2837 (allout-setup-mode-map): Remove. Consolidate into
2838 allout-compose-and-institute-keymap and allout-institute-keymap.
2840 2011-01-20 Glenn Morris <rgm@gnu.org>
2842 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2844 * simple.el (read-expression-history): Remove, it's in minibuf.c.
2846 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
2848 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2850 * files.el (find-alternate-file, basic-save-buffer)
2851 (basic-save-buffer-2, revert-buffer, recover-file)
2852 (kill-buffer-ask, abort-if-file-too-large)
2853 (set-visited-file-name, write-file, backup-buffer)
2854 (basic-save-buffer, save-some-buffers):
2855 * dired-aux.el (dired-compress-file): Callers changed.
2857 2011-01-19 Glenn Morris <rgm@gnu.org>
2859 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2860 Also check the property status. (Bug#7861)
2862 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
2864 * net/tramp.el (tramp-debug-message): Extend function exclude
2865 list. Use `regexp-opt'.
2867 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2869 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2870 highlighting doesn't spill over subsequent lines.
2872 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2873 keymap expression. Improve docstring.
2875 * electric.el (electric-indent-post-self-insert-function):
2876 Don't auto-indent for indent-to-left-margin, it's too often
2879 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
2881 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2882 spaces if the frame was resized, so that the full visible buffer
2883 serves as canvas for strokes.
2885 2011-01-16 Glenn Morris <rgm@gnu.org>
2887 * info-xref.el (info-xref-docstrings): Replace cl function.
2888 Also skip directories.
2890 2011-01-16 Kevin Ryde <user42@zip.com.au>
2892 * info-xref.el: Version 3.
2893 (info-xref-check, info-xref-check-all): Move commentary details
2894 into docstrings for better visibility.
2895 Use compilation-mode for the results buffer.
2896 (info-xref-output, info-xref-output-error, info-xref-with-output)
2897 (info-xref-filename, info-xref-in-progress):
2898 New internals for this.
2899 (info-xref-check-list, info-xref-check-buffer)
2900 (info-xref-check-all-custom): Use those.
2901 (info-xref-output-buffer): Rename from info-xref-results-buffer.
2902 (info-xref-output-heading): Rename from info-xref-filename-heading.
2903 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2904 (info-xref-filename-heading): Move to output managing section.
2905 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2906 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2907 (info-xref-subfile-p): Move to generic section with those two.
2908 (info-xref-check-node): New function split from
2909 info-xref-check-buffer, shared by info-xref-docstrings.
2910 (info-xref-goto-node-p): Move to a checking section with that func.
2911 (info-xref-unavail): New counter.
2912 (info-xref-check-node): Use it.
2913 (info-xref-with-output): Show count of unavailables at end of output.
2914 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
2915 symlinks. Exclude .texi files. Exclude Emacs backup files.
2916 (info-xref-check-all-custom): Fix quietening viper-mode and
2917 gnus-registry-install -- use setq not let so as not to unbind
2920 2011-01-16 Juri Linkov <juri@jurta.org>
2922 * isearch.el (isearch-abort): Don't quit if search has
2923 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
2925 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
2927 * files.el (backup-buffer): Make last-resort backup file in
2928 .emacs.d (Bug#6953).
2930 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2931 make it with permission 700.
2933 2011-01-15 Kenichi Handa <handa@m17n.org>
2935 * mail/rmailmm.el (rmail-mime-insert-header):
2936 Set rmail-mime-coding-system to a cons whose car is the last coding
2937 system used to decode the header.
2938 (rmail-mime-find-header-encoding): New function.
2939 (rmail-mime-insert-decoded-text):
2940 Override rmail-mime-coding-system if it is a cons.
2941 (rmail-show-mime): If only a header part was decoded, find the
2942 coding system while ignoring mm-charset-override-alist.
2944 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
2946 * subr.el (event-start, event-end): Doc fix (Bug#7826).
2948 2011-01-15 Kenichi Handa <handa@m17n.org>
2950 * mail/rmailmm.el (rmail-mime-next-item)
2951 (rmail-mime-previous-item): Delete them.
2952 (rmail-mime-shown-mode): Recursively call for children.
2953 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2955 (rmail-mime-raw-mode): Recursively call for children.
2956 (rmail-mode-map): Change mapping of tab and backtab to
2957 forward-button and backward-button respectively.
2958 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2960 (rmail-mime-update-tagline): New function.
2961 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2962 body display is changed.
2963 (rmail-mime-toggle-button): Rename from rmail-mime-image.
2964 (rmail-mime-image): Delete this button type.
2965 (rmail-mime-toggle): New button type.
2966 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2967 body display is changed. Change the save button label to "Save".
2968 Don't process show/hide button here.
2969 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2970 the body display is changed. Unconditionally call
2971 rmail-mime-insert for children.
2972 (rmail-mime-handle): Update `display' vector of the just inserted
2974 (rmail-mime-process): If mail-header-parse-content-type returns
2975 nil, use "text/plain" as the fallback type.
2976 (rmail-mime-insert): For raw-mode, recursively call
2977 rmail-mim-insert for children.
2978 (rmail-mime): Handle the case that the current buffer is not rmail
2979 buffer (e.g. in summary buffer).
2981 2011-01-15 Kenichi Handa <handa@m17n.org>
2983 * mail/rmailmm.el (rmail-mime-next-item)
2984 (rmail-mime-previous-item): Skip the body of a non-multipart
2985 entity if a tagline is shown.
2987 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2989 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2990 (tmm-prompt): Simplify.
2991 (tmm-add-prompt): Remove unused var `win'.
2993 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2994 to minor mode which used nil accidentally to mean "turn off".
2996 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2998 * net/tramp-sh.el (tramp-find-inline-compress)
2999 (tramp-get-inline-coding): Quote command after pipe symbol for
3000 local calls under W32. (Bug#6784)
3002 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
3004 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
3005 only when running under W32.
3007 2011-01-15 Eli Zaretskii <eliz@gnu.org>
3009 * progmodes/grep.el (grep-compute-defaults): Quote the program
3010 file name after the pipe symbol in Grep templates. (Bug#6784)
3011 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
3013 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
3015 * buff-menu.el (Buffer-menu-buffer-list): New var.
3016 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
3017 restricted buffer list is not lost on revert (Bug#7749).
3019 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
3021 * net/ldap.el (ldap-search-internal): Discard stderr output.
3023 2011-01-15 Eli Zaretskii <eliz@gnu.org>
3025 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
3027 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
3029 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
3031 2011-01-15 Kenichi Handa <handa@m17n.org>
3033 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
3034 part as a plain text.
3035 (rmail-mime-process-multipart): Set the default content-type to
3036 nil for unknown multipart subtypes (bug#7651).
3038 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3040 * hexl.el (hexl-mode-old-*): Remove.
3041 (hexl-mode--old-var-vals): New var to replace them.
3042 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
3043 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
3044 Use them to set local vars (bug#7846).
3045 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
3046 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
3047 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
3049 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
3050 (smerge-resolve--normalize-re): New var.
3051 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
3052 (smerge-resolve): Use them.
3053 * newcomment.el (comment-only-p): New function.
3054 (comment-or-uncomment-region): Use it.
3056 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
3058 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
3059 table, get the value before switching to the output buffer. (Bug#7733)
3061 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3063 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
3065 2011-01-14 Kim F. Storm <storm@cua.dk>
3067 * emulation/cua-base.el (cua--init-keymaps):
3068 Remap exchange-point-and-mark in cua-global-keymap.
3070 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
3072 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
3075 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3077 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
3079 (easy-menu-create-menu, easy-menu-convert-item-1):
3080 Use :label rather than nil for labels. Use `case'.
3081 Add :enable as alias for :active.
3082 (easy-menu-binding): Obey :label.
3084 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3086 Use run-mode-hooks for major mode hooks (bug#513).
3087 * textmodes/reftex-toc.el (reftex-toc-mode-map):
3088 Rename from reftex-toc-map.
3089 (reftex-toc-mode): Use define-derived-mode.
3090 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
3091 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
3092 Rename from reftex-select-(label|bib)-map. Move init into declaration.
3093 (reftex-select-label-mode, reftex-select-bib-mode):
3094 Use define-derived-mode.
3095 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
3096 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
3097 Move init into delcaration.
3098 (reftex-index-mode, reftex-index-phrases-mode):
3099 Use define-derived-mode.
3100 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
3101 speedbar-syntax-table. Move init into declaration.
3102 (speedbar-mode-map): Rename from speedbar-key-map.
3103 Move init into declaration.
3104 (speedbar-file-key-map): Move init into declaration.
3105 (speedbar-mode): Use define-derived-mode.
3106 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
3107 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
3108 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
3109 (chart-face-list): Move initialization into declaration.
3110 (chart-mode): Use define-derived-mode.
3111 * calculator.el (calculator-mode-map): Move init into declaration.
3112 (calculator-mode): Use define-derived-mode.
3114 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
3115 work for nested comments.
3117 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
3118 (prolog-use-prolog-tokenizer-flag): Change default when
3119 syntax-propertize can be used.
3120 (prolog-syntax-propertize-function): New var.
3121 (prolog-mode-variables): Move make-local-variable into `set'.
3122 Don't make comment-column local since we don't set it.
3123 Set comment-add (as it was in previous prolog.el). Use dolist.
3124 Set syntax-propertize-function.
3125 (prolog-mode, prolog-inferior-mode):
3126 Call prolog(-inferior)-menu directly, not through the mode-hook.
3127 (prolog-buffer-module, prolog-indent-level)
3128 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
3129 (prolog-comment-limits, prolog-goto-comment-column):
3130 Use line-(end|beginning)-position.
3131 (prolog-build-prolog-command): Tighten up regexp.
3132 (prolog-consult-compile): Move make-local-variable into `set'.
3133 (prolog-consult-compile-filter, prolog-goto-next-paren)
3134 (prolog-help-on-predicate, prolog-clause-info)
3135 (prolog-mark-predicate): Don't let+setq.
3136 (prolog-indent-line): Use indent-line-to.
3137 Only call prolog-goto-comment-column if necessary.
3138 (prolog-indent-level): Use bobp.
3139 (prolog-first-pos-on-line): Remove, not used any more.
3140 (prolog-in-string-or-comment): Use syntax-ppss if available.
3141 (prolog-help-on-predicate): Use read-string.
3142 (prolog-goto-predicate-info): Simplify.
3143 (prolog-read-predicate): Use `default' rather than `initial'.
3144 (prolog-temporary-file): Use make-temp-file to close a security hole.
3145 (prolog-toggle-sicstus-sd): New command.
3146 (prolog-electric-underscore, prolog-variables-to-anonymous):
3147 Use dynamic-scoping as it was meant.
3148 (prolog-menu): Move menu definitions to top-level.
3149 Use a toggle-button for Sicstus's source debugger.
3150 Change "Code" to the more usual "Prolog", and hence change "Prolog"
3152 (prolog-inferior-menu): Reuse prolog-menu's help menu.
3153 Move other menu definition to top-level.
3155 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
3157 * doc-view.el (doc-view-open-text): Use meaningful text buffer
3158 name. Keep original document's directory as default-directory
3160 (doc-view-initiate-display): Fall back to normal mode when
3161 doc-view-mode cannot be enabled, also when extracting the document
3162 text into a separate buffer (bug#6446).
3164 * simple.el (shell-command): Don't error out if shell command
3165 buffer contains text with non-nil read-only property when erasing
3168 2011-01-13 Kim F. Storm <storm@cua.dk>
3170 * ido.el (ido-may-cache-directory): Move "too-big" check later.
3171 (ido-next-match, ido-prev-match): Fix stray reordering of matching
3172 items when cycling through the matches.
3174 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
3176 * dired-x.el (dired-omit-verbose): New defcustom that allows
3177 disabling the omit messages.
3178 (dired-omit-expunge): Use it.
3180 2011-01-13 Christian Ohler <ohler@gnu.org>
3182 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
3184 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
3186 * font-lock.el (font-lock-verbose): Default to nil.
3188 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
3190 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
3191 (compose-mail): New arg RETURN-ACTION.
3192 (compose-mail-other-window, compose-mail-other-frame): Likewise.
3194 * mail/sendmail.el (mail-return-action): New var.
3195 (mail-mode): Make it buffer-local.
3196 (mail-bury): Obey it. Move special Rmail window handling to
3198 (mail, mail-setup): New arg RETURN-ACTION.
3199 (sendmail-user-agent-compose): Move from simple.el.
3201 * mail/rmail.el (rmail-mail-return): New function.
3202 (rmail-start-mail): Pass it to compose-mail.
3204 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
3206 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
3207 menus. Add menu item for customize-themes.
3209 * cus-theme.el (customize-themes):
3210 * emacs-lisp/package.el (package--list-packages):
3211 Use switch-to-buffer.
3213 2011-01-11 Johan Bockgård <bojohan@gnu.org>
3215 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
3217 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
3219 * progmodes/prolog.el: Fix up coding convention and such.
3220 (prolog-indent-width): Use the same default as in
3221 previous prolog.el rather than tab-width which depends on which buffer
3222 is current when the file is loaded.
3223 (prolog-electric-newline-flag): Only enable if electric-indent-mode
3225 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
3226 (prolog-known-systems): Remove.
3227 (prolog-mode-syntax-table, prolog-inferior-mode-map):
3228 Move initialization into declaration.
3229 (prolog-mode-map): Move initialization into declaration.
3230 Remove system-specific mode-map vars, since they referred to the same
3232 (prolog-mode-variables): Obey the user's preference w.r.t
3233 adaptive-fill-mode. Prefer symbol-value to `eval'.
3234 (prolog-mode-keybindings-edit): Add compatibility bindings.
3235 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
3236 (mercury-mode-map): New var.
3237 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
3238 (prolog-ensure-process, prolog-process-insert-string)
3239 (prolog-consult-compile): Use with-current-buffer.
3240 (prolog-guess-fill-prefix): Simplify data flow.
3241 (prolog-replace-in-string): New function to use instead of
3243 (prolog-enable-sicstus-sd): Don't abuse `eval'.
3244 (prolog-uncomment-region): Use `uncomment-region' when available.
3245 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
3246 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
3247 of int-to-char and char-to-int.
3248 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
3250 2011-01-11 Stefan Bruda <stefan@bruda.ca>
3252 * progmodes/prolog.el: Replace by a whole new file.
3254 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
3256 * subr.el (eval-after-load): Fix timing for features (bug#7769).
3257 (declare-function, undefined, insert-for-yank)
3258 (replace-regexp-in-string): Follow checkdoc's recommendations.
3260 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3262 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
3263 refreshing the diary buffer.
3265 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
3267 * allout.el: Add 2011 to the file copyright.
3268 (allout-encrypt-string): Prevent encryption from adding an extra
3269 newline at the end of the topic body.
3270 (allout-version): Increment to 2.3.
3272 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
3274 * net/dbus.el (dbus-unregister-service): Complete doc.
3275 Fix call of dbus-error signal.
3276 (dbus-register-property): Use `dont-register' keyword.
3278 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
3280 * net/dbus.el (dbus-unregister-service): Translate returned
3281 integer into a symbol.
3282 (dbus-register-property): Use `dbus-register-service' to do the
3285 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
3287 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
3288 Suggested by Joakim Verona.
3290 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
3292 * wid-edit.el (visibility): Replace :on-image and :off-image
3293 widget properties with :on-glyph and :off-glyph, for consistency
3294 with the `visibility' widget.
3295 (widget-toggle-value-create, widget-visibility-value-create):
3296 Merge into a single function `widget-toggle-value-create'.
3298 * cus-edit.el (custom-variable-value-create, custom-visibility)
3299 (custom-face-edit-value-create, custom-face-value-create):
3300 Replace :on-image and :off-image widget properties with :on-glyph and
3301 :off-glyph, for consistency with the `visibility' widget.
3303 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
3305 * net/ldap.el (ldap-search-internal): Don't use eval.
3307 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
3309 * subr.el (read-char-choice): Use read-key.
3311 * custom.el (custom-safe-themes): Rename from
3312 custom-safe-theme-files. Add :risky tag.
3313 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
3314 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
3316 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
3318 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
3319 from Search and add a label to Undo.
3321 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
3322 inappropriate buttons and adding :vert-only tags.
3324 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
3325 removal of Help tool-bar button. Remove Undo button for space.
3327 * info.el (info-tool-bar-map): Add :vert-only tags.
3329 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
3331 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
3332 image backend support. Either of them is fine.
3334 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
3336 * subr.el (y-or-n-p): Doc fix.
3338 * custom.el (custom-safe-theme-files): New defcustom.
3339 (custom-theme-load-confirm): New function.
3340 (load-theme): Load theme using `load', confirming with
3341 custom-theme-load-confirm if necessary.
3343 * subr.el (read-char-choice): New function, factored out from
3344 dired-query and hack-local-variables-confirm.
3346 * dired-aux.el (dired-query):
3347 * files.el (hack-local-variables-confirm): Use it.
3349 * dired-aux.el (dired-compress-file):
3350 * files.el (abort-if-file-too-large, find-alternate-file)
3351 (set-visited-file-name, write-file, backup-buffer)
3352 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
3353 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
3354 Use new format string args for y-or-n-p and yes-or-no-p.
3356 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
3358 * progmodes/compile.el (compilation-error-regexp-alist-alist)
3359 [gcc-include]: Tighten file name match, add match for column
3361 [gnu]: Remove unused group.
3363 2011-01-08 Glenn Morris <rgm@gnu.org>
3365 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
3367 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
3369 2011-01-07 Sam Steingold <sds@gnu.org>
3371 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
3372 the `explicit-shell-file-name' because that is the
3373 non-interactive shell.
3375 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
3377 * subr.el (y-or-n-p): Accept format string args.
3379 2011-01-07 Glenn Morris <rgm@gnu.org>
3381 * Makefile.in (EMACSOPT): Add --no-site-lisp.
3383 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
3385 * allout.el (allout-back-to-current-heading): Ensure return to
3386 the visible containing topic, rather than a collapsed one.
3387 (allout-view-change-hook): Remove hook that was deprecated long ago.
3388 (allout-exposure-change-hook): Remove documentation remarks
3389 concerning removed allout-view-change-hook.
3390 (allout-flag-region): Remove invocation of and documentation
3391 remarks concerning allout-view-change-hook.
3393 2011-01-06 Glenn Morris <rgm@gnu.org>
3395 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
3396 (vc-bzr-annotate-extract-revision-at-line):
3397 Handle authors with embedded spaces. (Bug#7792)
3399 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
3401 * doc-view.el (doc-view-image-width): New variable.
3402 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
3403 backend for PNG images, and do dynamic rescaling instead of
3404 reconverting the whole doc.
3406 2011-01-05 Glenn Morris <rgm@gnu.org>
3408 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
3410 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
3412 * allout.el: Reconcile with changes in line movement behavior for
3413 long text lines that cross more than a single physical window
3414 line, ie when truncate-lines is nil.
3415 (allout-next-visible-heading): Provide for change in line-move
3416 behavior on long lines when truncate-lines is nil. In that case,
3417 line-move can wind up on the same textual line when it moves to
3418 the next window line, and moving to the bullet position after the
3419 move yields zero advancement. Add logic to detect and compensate
3420 for the lack of progress.
3421 (allout-current-topic-collapsed-p): move-end-of-line respect for
3422 field boundaries is different when operating with body lines
3423 shorter than window width versus ones greater than window width,
3424 which can yield false negatives in this function. Avoid
3425 difference by applying move-end-of-line while field-text-motion is
3428 2011-01-04 Glenn Morris <rgm@gnu.org>
3430 * textmodes/rst.el (rst-compile-toolsets):
3431 Add pdf and s5 to option alist.
3433 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
3435 * net/dbus.el (dbus-register-property): Add optional parameter
3436 dont-register-service. Updated docstring accordingly.
3438 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
3440 * textmodes/rst.el (rst-compile-pdf-preview)
3441 (rst-compile-slides-preview): Remove extra line.
3443 2011-01-04 Glenn Morris <rgm@gnu.org>
3445 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
3446 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
3447 default to `prog' without a .py extension.
3448 (rst-compile-pdf-preview, rst-compile-slides-preview):
3449 Use program names from rst-compile-toolsets, rather than hard-coding.
3450 (rst-portable-mark-active-p): Fix presumed typo.
3452 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3454 * term/w32-win.el (dynamic-library-alist): Set up correctly for
3455 libpng versions both before and after 1.4.0. (Bug#7716)
3457 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3459 * time.el (display-time-mode): Mention display-time-interval in
3460 the doc string. (Bug#7713)
3462 2011-01-02 Kenichi Handa <handa@m17n.org>
3464 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
3465 condition-case and return an error message string if something
3467 (rmail-show-mime): Adjust for the above change. Insert the
3468 header by rmail-mime-insert-header.
3470 2011-01-02 Kenichi Handa <handa@m17n.org>
3472 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
3473 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
3474 (rmail-mime-mbox-buffer)
3475 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
3476 (rmail-mime-entity): Argument changed. All codes handling an
3477 entity object are changed.
3478 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
3480 (rmail-mime-entity-children, rmail-mime-entity-handler)
3481 (rmail-mime-entity-tagline): New functions.
3482 (rmail-mime-message-p): New function.
3483 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
3484 (rmail-mime-entity-segment, rmail-mime-next-item)
3485 (rmail-mime-previous-item, rmail-mime-shown-mode)
3486 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
3487 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
3488 (rmail-mime-insert-tagline, rmail-mime-insert-header):
3490 (rmail-mime-text-handler): Call rmail-mime-insert-text.
3491 (rmail-mime-insert-decoded-text): New function.
3492 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
3493 (rmail-mime-insert-image): Argument changed. Caller changed.
3494 (rmail-mime-image): Call rmail-mime-toggle-hidden.
3495 (rmail-mime-set-bulk-data): New function.
3496 (rmail-mime-insert-bulk): Argument changed.
3497 (rmail-mime-multipart-handler): Return t.
3498 (rmail-mime-process-multipart): Argument changed.
3499 Handle "multipart/alternative" here.
3500 (rmail-mime-process): Argument changed.
3501 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
3502 (rmail-mime-insert): Argument changed. Handle raw display mode.
3503 (rmail-mime): Argument changed. Handle toggling of raw display
3505 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
3506 rmail-mime-view-buffer.
3507 (rmail-insert-mime-forwarded-message): Likewise.
3508 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
3510 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
3511 non-nil, handle the header in rmail-show-mime-function.
3513 2011-01-02 Leo <sdl.web@gmail.com>
3515 * help-fns.el (describe-variable): Fix previous change.
3517 2011-01-02 Juri Linkov <juri@jurta.org>
3519 * isearch.el (isearch-lazy-highlight-error): New variable.
3520 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
3521 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
3522 to the current value of `isearch-error' (Bug#7468).
3524 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3526 * help-fns.el (describe-variable): Don't emit trailing whitespace
3529 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3531 * textmodes/rst.el (rst-compile-pdf-preview)
3532 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
3534 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3536 * emulation/edt-mapper.el: Override mapping of function keys so
3537 that the later call to read-key-sequence works.
3539 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3541 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
3542 Unix EOLs. (Bug#7589)
3544 2011-01-02 Leo <sdl.web@gmail.com>
3546 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
3547 if point is not behind eshell-last-output-end (Bug#7585).
3549 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
3551 * files.el (file-local-variables-alist):
3552 Make permanent-local (bug#7767).
3554 2011-01-02 Glenn Morris <rgm@gnu.org>
3556 * version.el (emacs-copyright): Set short copyright year to 2011.
3558 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3560 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
3561 an existing temp buffer. (Bug#7746)
3563 2011-01-02 Glenn Morris <rgm@gnu.org>
3565 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
3566 multiple addresses. (Bug#7760)
3568 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
3570 * allout.el (allout-auto-fill): Do not infinitely recurse - use
3571 do-auto-fill if everything points back to allout-auto-fill.
3572 (allout-mode-deactivate-hook): Declare obsolete, in favor of
3573 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
3575 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
3577 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
3580 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3582 * doc-view.el (doc-view-set-doc-type): New function refactored
3584 (doc-view-fallback-mode): New function.
3585 (doc-view-mode): Use it.
3586 (doc-view-mode-maybe): New function that checks if doc-view-mode
3587 can be used and falls back to the next best mode otherwise.
3589 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
3590 DVI, OpenDocument, and MS Office files.
3592 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
3594 * emacs-lisp/rx.el (rx-syntax): Fix typo.
3596 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3598 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
3599 on a copy of auto-mode-alist, because that deletes with side
3602 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3604 * doc-view.el (doc-view-mode, doc-view-toggle-display):
3605 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
3606 fallback instead of hard coding fundamental mode.
3608 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3610 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
3611 Office) files also for searching.
3613 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3615 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
3616 Office) files. Not yet enabled via auto-mode-list.
3617 (doc-view-unoconv-program): New custom variable.
3618 (doc-view-mode-p): Handle new odf document type.
3619 (doc-view-odf->pdf): New conversion function.
3620 (doc-view-convert-current-doc): Call it for odf files.
3621 (doc-view-mode): Recognize newly supported file extensions.
3623 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
3625 * net/tramp.el (tramp-default-method-alist)
3626 (tramp-default-user-alist)
3627 (tramp-local-host-regexp, tramp-prefix-domain-format)
3628 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
3631 * net/tramp-gvfs.el:
3633 * net/tramp-imap.el:
3635 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
3636 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
3638 2010-12-29 Karl Fogel <kfogel@red-bean.com>
3640 * saveplace.el (save-place-alist-to-file): Save list sorted and
3641 pretty-printed, so that it is mergeable by line-based text merging,
3642 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
3644 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
3646 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
3647 (allout-mode): Argument "toggle" => "force".
3648 Refine the docstring.
3649 Remove special provisions for reactivation, besides the 'force'
3651 Consolidate layout provisions coce directly into the activation
3652 condition branch, now that we've removed those provisions.
3653 (allout-unload-function): Explicitly activate the mode before
3654 deactivating, if it's initially deactivated.
3655 (allout-set-buffer-multibyte): Properly prevent byte-compiler
3656 warnings for version of function used only where
3657 set-buffer-multibyte is unavailable.
3659 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
3661 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
3662 are handled by the menu-bar entries. As before, don't use
3663 :visibile to avoid changing the tool-bar.
3665 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3667 * net/secrets.el (secrets-delete-alias): New defun.
3669 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3671 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
3672 methods, otherwise ~/.ssh/config would be ignored.
3674 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
3676 * emacs-lisp/rx.el: Make it a superset of sregex.
3677 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
3678 of args, add `regex' alias.
3679 (rx-info): Add arg to distinguish head and standalone forms.
3680 (rx-check, rx-form): Pass the corresponding arg.
3682 (rx-repeat): Make it work for any number of args.
3683 (rx-syntax): Make it accept syntax chars as is.
3684 * obsolete/sregex.el: Move from emacs-lisp/.
3685 * emacs-lisp/re-builder.el: Remove sregex support.
3686 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
3688 2010-12-25 Eli Zaretskii <eliz@gnu.org>
3690 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
3691 PRIMARY first, then the clipboard. (Bug#7699)
3693 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3695 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
3698 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
3700 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
3701 .emacs.elc (Bug#7530).
3703 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
3704 image spec (Bug#7480).
3706 2010-12-21 Daiki Ueno <ueno@unixuser.org>
3708 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
3709 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
3712 2010-12-20 Leo <sdl.web@gmail.com>
3714 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
3715 always be performed (Bug#7680).
3717 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
3719 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
3720 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
3723 * color.el: Move from gnus/.
3725 * vc/diff.el (diff-better-file-name): Function deleted.
3726 abbreviating file names causes problems with shell-quote-argument.
3727 (diff-no-select): Just use expand-file-name.
3729 * tool-bar.el (tool-bar--image-expression): New function.
3730 (tool-bar-local-item, tool-bar--image-exp): Use it.
3731 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
3732 Use :enable instead of :visible to avoid changing the tool-bar
3733 configuration unnecessarily.
3735 * info.el (info-tool-bar-map): Add separators.
3737 2010-12-17 Ken Brown <kbrown@cornell.edu>
3739 * loadup.el: Use version numbers in Cygwin build.
3741 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
3743 * ido.el (ido-file-internal): Ask for confirmation before
3744 overwriting an existing file (Bug#1238).
3746 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
3748 * tool-bar.el (tool-bar-setup): Add separators.
3750 * menu-bar.el (featurep): Use menu-bar-separator.
3752 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
3754 Migrate allout encryption provisions from pgg to epg.
3756 * allout.el (allout-toggle-current-subtree-encryption)
3757 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
3758 defaulting policy and other changes. Change fetch-pass to keymode-cue,
3759 for simpler universal argument interpretation.
3760 (allout-toggle-subtree-encryption): Adjust docstring to describe
3761 changed encryption provisions. Change fetch-pass to keymode-cue, for
3762 simpler universal argument interpretation. Remove provisions for
3763 handling key type and identity - they'll all be within
3764 allout-encrypt-string or epg/epg or even contained all the way in gpg.
3765 (allout-encrypt-string): Include keymode-cue, for optionally prompting
3766 for keypair recipients (universal argument > 1) and, in addition,
3767 associating the specified recipients with the outline (universal
3768 argument > 4) using a file local variable setting for
3769 'epa-file-encrypt-to'.
3770 Require epa, for recipients handling.
3771 Change how regexp filtering elements are named.
3772 Describe the problem with caching of incorrect symmetric-decryption
3774 Use the epa-passphrase-callback-function, in case the user is using
3776 Support saving of the selected keypair recipients when invoked with a
3778 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
3780 Establish epg-context with armoring and default epg-protocol.
3781 Remove all passphrase cache, verification, and hinting code.
3782 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
3783 No longer used, delete.
3784 (allout-mode): Adjust docstring to describe changed encryption
3785 provisions. Describe the problem with caching of incorrect
3786 symmetric-decryption keys.
3787 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
3788 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
3789 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
3790 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
3793 2010-12-16 Daiki Ueno <ueno@unixuser.org>
3795 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
3796 key selection prompt; make 'silent as default (Bug#7487).
3798 2010-12-16 Leo <sdl.web@gmail.com>
3800 * eshell/eshell.el (eshell-directory-name):
3801 Use locate-user-emacs-file (Bug#7578).
3803 2010-12-15 Glenn Morris <rgm@gnu.org>
3805 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
3807 2010-12-15 Jari Aalto <jari.aalto@cante.net>
3808 Scott Evans <gse@antisleep.com>
3810 * rect.el (rectange--default-line-number-format)
3811 (rectangle-number-line-callback): New functions.
3812 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
3814 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
3816 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
3817 Delete unused variables.
3818 (move-to-column-force): Remove function obsolete since 21.2.
3820 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
3822 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
3823 (tramp-handle-insert-file-contents): Do not set permanent-local
3826 * net/tramp-cache.el (tramp-persistency-file-name):
3827 Use `locate-user-emacs-file' if fboundp.
3829 * net/tramp-sh.el (tramp-methods): Add "ksu".
3830 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
3833 2010-12-14 Glenn Morris <rgm@gnu.org>
3835 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3836 (find-tag-marker-ring): Declare.
3837 (js-find-symbol): Require etags.
3839 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3841 (mail-alias-file): Don't autoload. Doc fix.
3842 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3843 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
3844 Mark as obsolete, and risky.
3845 (mail-setup): Simplify.
3847 * mail/mailalias.el (build-mail-aliases): Make it interactive.
3848 * mail/sendmail.el (build-mail-aliases): Update autoload.
3850 * dired.el (dired-trivial-filenames, dired-chown-program)
3851 (dired-auto-revert-buffer): Remove autoload cookies.
3852 * mail/sendmail.el (mail-recover-1): Require 'dired.
3854 * dired.el (dired-subdir-switches, dired-chown-program)
3855 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3856 Make into defcustoms.
3857 (dired-chown-program): Simplify initialization.
3859 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3861 2010-12-13 Romain Francoise <romain@orebokech.com>
3863 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3865 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3867 * net/netrc.el (netrc-point-at-eol): Remove the unused
3868 netrc-point-at-old and netrc-bound-and-true-p bindings.
3869 (netrc-parse): Cache the netrc contents.
3871 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3873 * subr.el (posn-col-row): Evaluate header-line-format in the
3874 context of the POSITION window's buffer.
3876 2010-12-13 Glenn Morris <rgm@gnu.org>
3878 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3879 (with-silent-modifications): Doc fixes.
3881 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3883 * net/tramp.el (tramp-action-password, tramp-process-actions):
3884 Revert previous from. Use `save-restriction'.
3886 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
3888 * calendar/diary-lib.el (diary-list-sexp-entries):
3889 Handle case of no newline at end of file. (Bug#7536)
3891 2010-12-13 Glenn Morris <rgm@gnu.org>
3893 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3895 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3897 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3898 (tramp-process-actions): Do not widen.
3900 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3901 Protect buffer-modified value. (Bug#7557)
3903 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
3905 * log-edit.el (log-edit-changelog-entries):
3906 Regexp quote filename. (Bug#7505)
3908 2010-12-13 Tom Breton <tehom@panix.com>
3910 * cus-edit.el (custom-save-all):
3911 Bind print-length and print-level to nil. (Bug#7581)
3913 2010-12-13 Glenn Morris <rgm@gnu.org>
3915 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3916 Run hooks to update menu contents. (Bug#7586)
3918 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3919 file names, for the sake of MS Windows. (Bug#7588)
3921 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3923 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3924 empty lines without a leading space.
3926 2010-12-13 Leo <sdl.web@gmail.com>
3928 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3929 while mapping over marks (Bug#6810).
3931 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3933 * image-dired.el (image-dired-db-file)
3934 (image-dired-temp-image-file, image-dired-gallery-dir)
3935 (image-dired-temp-rotate-image-file): Set default values relative
3936 to image-dired-dir (Bug#7518).
3938 2010-12-13 Lawrence Mitchell <wence@gmx.li>
3940 * format.el (format-decode-run-method): Pass args FROM and TO, not
3941 point-min and point-max, to shell-command-on-region (Bug#7488).
3943 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
3945 * frame.el (blink-cursor-mode): Make default t for ns.
3947 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3949 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3951 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3953 * comint.el (comint-dynamic-list-input-ring)
3954 (comint-dynamic-complete-filename)
3955 (comint-replace-by-expanded-filename)
3956 (comint-dynamic-simple-complete)
3957 (comint-dynamic-list-filename-completions)
3958 (comint-dynamic-list-completions): Doc fix (Bug#7499).
3960 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3963 2010-12-13 Martin Rudalics <rudalics@gmx.at>
3965 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3968 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
3970 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3973 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3975 * files.el (file-relative-name): Handle UNC file names on
3976 DOS/Windows. (Bug#4674)
3978 2010-12-13 Daiki Ueno <ueno@unixuser.org>
3980 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3981 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3982 (epg-context-set-passphrase-callback): Mention that the callback
3983 is not called when used with GnuPG 2.x.
3985 2010-12-13 Glenn Morris <rgm@gnu.org>
3987 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3988 Ensure ps-footer-font-size-internal is initialized.
3989 Call ps-get-page-dimensions before trying to use ps-font-for-text.
3991 2010-12-13 Kenichi Handa <handa@m17n.org>
3993 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3994 within condition-case.
3995 (rmail-show-mime): Don't use condition-case.
3996 (rmail-search-mime-message): New function.
3997 (rmail-search-mime-message-function): Set to
3998 rmail-search-mime-message.
4000 2010-12-13 Leo <sdl.web@gmail.com>
4002 * ido.el (ido-common-initialization): New function. (bug#3274)
4004 (ido-completing-read): Call it.
4006 2010-12-12 Karl Fogel <kfogel@red-bean.com>
4008 * bookmark.el (bookmark-name-from-full-record): Rename back to
4009 this original name from `bookmark-name-from-record' reverting part
4010 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
4011 As Drew Adams pointed out, there was no reason to cause churn for
4012 third-party callers. (Bug#7609)
4014 2010-12-12 Alan Mackenzie <acm@muc.de>
4016 * progmodes/cc-engine.el (c-forward-type): Before scanning a
4017 template arglist, check that the current language supports this.
4019 2010-12-11 Glenn Morris <rgm@gnu.org>
4021 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
4022 state of the file matches. (Bug#7544)
4023 (vc-bzr-register, vc-bzr-checkin)
4024 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
4025 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
4027 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
4029 2010-12-11 Karel Klíč <kklic@redhat.com>
4031 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
4033 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4035 Derive from prog-mode, use derived-mode-p, and fix up various
4036 minor style issues in lisp/progmodes.
4038 * progmodes/vhdl-mode.el (vhdl-mode):
4039 * progmodes/verilog-mode.el (verilog-mode):
4040 * progmodes/vera-mode.el (vera-mode):
4041 * progmodes/sql.el (sql-mode):
4042 * progmodes/scheme.el (scheme-mode):
4043 * progmodes/perl-mode.el (perl-mode):
4044 * progmodes/octave-inf.el (inferior-octave-mode):
4045 * progmodes/autoconf.el (autoconf-mode):
4046 * progmodes/m4-mode.el (m4-mode):
4047 * progmodes/inf-lisp.el (inferior-lisp-mode):
4048 * progmodes/idlwave.el (idlwave-mode):
4049 * progmodes/icon.el (icon-mode):
4050 * progmodes/idlw-help.el (idlwave-help-mode):
4051 * progmodes/dcl-mode.el (dcl-mode):
4052 * progmodes/idlw-shell.el (idlwave-shell-mode):
4053 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
4054 (ebrowse-member-mode, ebrowse-electric-position-mode):
4055 Use define-derived-mode.
4057 * progmodes/xscheme.el (exit-scheme-interaction-mode)
4058 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
4059 (xscheme-debugger-mode-p, xscheme-send-string-1):
4060 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
4061 (tcl-load-file, tcl-restart-with-file):
4062 * progmodes/ps-mode.el (ps-run-running):
4063 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
4064 * progmodes/js.el (js--get-all-known-symbols):
4065 * progmodes/inf-lisp.el (inferior-lisp-proc):
4066 * progmodes/idlwave.el (idlwave-beginning-of-statement)
4067 (idlwave-template, idlwave-update-buffer-routine-info)
4068 (idlwave-update-current-buffer-info)
4069 (idlwave-get-routine-info-from-buffers, idlwave-choose)
4070 (idlwave-scan-class-info, idlwave-fix-keywords)
4071 (idlwave-list-buffer-load-path-shadows):
4072 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
4073 (idlwave-toolbar-remove):
4074 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
4075 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
4076 (idlwave-shell-menu-def):
4077 * progmodes/idlw-complete-structtag.el
4078 (idlwave-prepare-structure-tag-completion):
4079 * progmodes/gud.el (gud-set-buffer):
4080 * progmodes/f90.el (f90-backslash-not-special):
4081 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
4083 * progmodes/xscheme.el (xscheme-start)
4084 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
4085 * progmodes/which-func.el (which-function):
4086 * progmodes/vhdl-mode.el (vhdl-set-style):
4087 * progmodes/verilog-mode.el (verilog-set-compile-command)
4088 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
4089 (verilog-set-define, verilog-auto-reeval-locals):
4090 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
4091 * progmodes/simula.el (simula-mode):
4092 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
4093 * progmodes/python.el (python-check, python-mode):
4094 * progmodes/prolog.el (prolog-mode-variables):
4095 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
4096 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
4097 * progmodes/delphi.el (delphi-mode):
4098 * progmodes/cc-styles.el (c-setup-paragraph-variables):
4099 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
4100 (c-font-lock-init): Move make-local-variable to their setq.
4102 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
4103 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
4105 * progmodes/sh-script.el (sh-require-final-newline): Remove.
4106 (sh-set-shell): Don't set require-final-newline since it's already done
4108 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
4109 since we never set it.
4110 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
4111 Use read-string and standard prompt.
4112 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
4113 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
4114 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
4115 (meta-common-mode-map): Rename from meta-mode-map.
4116 Remove C-m binding, which is a user preference, not mode specific.
4117 (meta-common-mode): New major mode; replace meta-common-initialization.
4118 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
4119 around with font-lock.
4120 * progmodes/etags.el (select-tags-table-mode):
4121 Derive from special-mode.
4122 * progmodes/octave-mod.el (octave-mode):
4123 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
4124 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
4125 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
4126 Let define-derived-mode do its job.
4127 * progmodes/cpp.el (cpp-edit-mode-map):
4128 Move initialization into declaration.
4129 (cpp-edit-mode): Use define-derived-mode.
4130 (cpp-edit-load): Use derived-mode-p.
4131 * progmodes/mixal-mode.el (mixal-mode):
4132 * progmodes/f90.el (f90-mode):
4133 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
4134 require-final-newline since prog-mode does it already.
4135 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
4136 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
4137 * progmodes/antlr-mode.el: Require cc-mode upfront.
4138 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
4140 (antlr-directory-dependencies, antlr-show-makefile-rules):
4142 (antlr-language-option): Don't assume point-min==1.
4143 (antlr-mode): Use define-derived-mode.
4144 * progmodes/ada-mode.el: Use derived-mode-p.
4145 (ada-mode): Use define-derived-mode.
4146 Use hack-local-variables-hook.
4148 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4150 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
4151 (texinfo-mode): Don't disable adaptive-fill-mode.
4152 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
4153 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
4154 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
4155 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
4156 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
4157 (texinfo-insert-@quotation, texinfo-insert-@samp)
4158 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
4159 (texinfo-insert-@uref): Use define-skeleton.
4160 (texinfo-insert-@-with-arg): Delete.
4162 2010-12-10 Eli Zaretskii <eliz@gnu.org>
4164 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
4165 nil, do quote archive member names. (Bug#6144)
4167 2010-12-10 Glenn Morris <rgm@gnu.org>
4169 * files.el (diff-no-select): Declare.
4171 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
4172 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
4174 * comint.el (comint-input-ring-file-name): Doc fix.
4176 2010-12-09 Eli Zaretskii <eliz@gnu.org>
4178 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
4180 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
4181 Use them instead of `nil' and `>', respectively.
4182 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
4184 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
4185 and menu-bar-positive-p instead of `nil' and `>', respectively.
4188 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4190 * whitespace.el (whitespace-newline-mode): Code fix.
4192 2010-12-09 Glenn Morris <rgm@gnu.org>
4194 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
4195 Rename functions without commas, update callers.
4197 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
4199 * whitespace.el (whitespace-cleanup-region):
4200 Clean up spaces before tabs. (Bug#7582)
4202 2010-12-08 Karl Fogel <kfogel@red-bean.com>
4204 * bookmark.el: Adjust parameter names and doc strings to resolve
4205 confusion over whether "bookmark" meant a bookmark name or a
4206 bookmark record. Along the way, shorten one function's name for
4207 similar reasons. (Issue #7548)
4208 (bookmark-name-from-record): New name for
4209 `bookmark-name-from-full-record'. All callers changed.
4210 (bookmark-get-bookmark, bookmark-get-bookmark-record)
4211 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
4212 (bookmark-get-annotation, bookmark-set-annotation)
4213 (bookmark-get-filename, bookmark-set-filename)
4214 (bookmark-get-position, bookmark-set-position)
4215 (bookmark-get-front-context-string, bookmark-set-front-context-string)
4216 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
4217 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
4218 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
4219 Rename `bookmark' parameter to `bookmark-name-or-record', to
4220 clearly show its role, and shorten or adjust doc strings accordingly.
4221 (bookmark-set-name): Same, and pass the parameter directly to
4222 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
4223 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
4224 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
4225 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
4226 and in some cases shorten doc string accordingly.
4227 (bookmark-rename): Change `old' and `new' parameters to `old-name'
4228 and `new-name', and adjust an internal variable to avoid confusion.
4229 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
4230 parameter in doc string.
4232 2010-12-08 Glenn Morris <rgm@gnu.org>
4234 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
4235 from gdb's history file. (Bug#7575)
4237 * mail/emacsbug.el (report-emacs-bug):
4238 Try to handle some other mail clients.
4240 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4242 * files.el (dir-locals-collect-variables): Don't let errors stop us.
4243 Use string-prefix-p.
4244 (file-name-version-regexp): New var.
4245 (file-name-sans-versions):
4246 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
4247 (jka-compr-get-compression-info): Use dolist.
4248 (jka-compr-compression-info-list): Don't bother specifying
4249 version/backup regexps.
4251 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
4253 * simple.el (just-one-space): Make argument n default to 1 if
4256 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4258 * electric.el (electric-indent-post-self-insert-function):
4259 Delete trailing newlines even if we don't reindent.
4261 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4263 * minibuffer.el (completion-at-point): Remove the `arg'.
4264 * bindings.el (complete-symbol): Move back from minibuffer.el.
4266 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4268 * simple.el (just-one-space): Delete newlines for negative arg.
4270 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4272 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
4273 (ansi-color-filter-apply): Simplify.
4274 (ansi-color-apply): Use `font-lock-face' rather than `face'.
4276 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
4278 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
4280 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
4282 * dired.el (dired-use-ls-dired): Set default to a special
4283 "unspecified" value.
4284 (dired-insert-directory): When called the first time, check
4285 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
4287 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
4289 * replace.el: Add "collect" feature to occur.
4290 (occur-collect-regexp-history): New var.
4291 (occur-read-primary-args): Return a replace string for nlines,
4293 (occur): Extend the meaning of nlines.
4295 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4297 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
4298 (which-func-update-1): Distinguish symbols from strings.
4299 (which-function): Stay within 80 columns.
4301 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4303 * subr.el (with-demoted-errors): Distinguish symbols from strings.
4305 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
4307 (comment-style): Use comment-styles's docs to describe values.
4309 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
4311 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
4312 and ns-show-prefs (Bug#7535).
4314 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
4315 bindings (Bug#7535).
4317 2010-12-03 Glenn Morris <rgm@gnu.org>
4319 * nxml/nxml-mode.el: Require rng-nxml.
4320 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
4321 Remove declarations.
4323 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
4324 * nxml/rng-nxml.el, nxml/rng-valid.el:
4325 Remove leading `*' from defcustom docs.
4327 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
4328 (normal-top-level-add-to-load-path, tty-handle-args):
4329 Convert comments to basic doc-strings.
4331 * net/browse-url.el (browse-url-url-at-point)
4332 (browse-url-default-browser): Remove autoload cookies.
4334 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4335 Remove more undefined cl functions.
4337 * vc/diff.el (diff-sentinel): Make new arguments optional.
4338 * ibuf-ext.el (diff-sentinel): Update declaration.
4340 2010-12-03 Daiki Ueno <ueno@unixuser.org>
4342 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
4343 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
4344 (epg-context-set-passphrase-callback): Mention that the callback
4345 is not called when used with GnuPG 2.x.
4347 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
4349 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
4350 (tramp-file-name-port): Check also for `tramp-default-port'.
4351 (tramp-get-connection-name): New defun.
4352 (tramp-get-connection-process): Use it.
4353 (tramp-debug-message): Extend function exclude list.
4354 (tramp-drop-volume-letter): Fix doc string.
4356 * net/tramp-cmds.el: Remove solved todo item.
4359 * net/tramp-gvfs.el:
4361 * net/tramp-imap.el:
4362 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
4363 and `tramp-default-user-alist', respectively.
4365 * net/tramp-gw.el (tramp-gw-open-connection):
4366 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
4368 * net/tramp-imap.el (tramp-imap-make-iht): Use just
4369 `tramp-file-name-port'.
4371 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
4372 and "psftp". Exchange "%k" marker with options.
4373 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
4374 Compute size of link target.
4375 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
4376 `tramp-current-*' up due to gateway methods. Optimize computing of
4377 copy arguments. Use `tramp-get-connection-name' and
4378 `tramp-get-connection-buffer'. Improve debug messages.
4379 (tramp-compute-multi-hops): Remove port determination.
4380 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
4382 * net/trampver.el: Update release number.
4384 2010-12-02 Glenn Morris <rgm@gnu.org>
4386 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4387 Avoid infinite loop over windows. (Bug#7492)
4389 * progmodes/flymake.el (flymake-check-file-limit):
4390 Allow nil to mean "no limit".
4391 (flymake-check-patch-master-file-buffer): Update for above change.
4392 Allow a .tex file-name extension to be optional.
4393 (flymake-master-tex-init): Also match \include statements.
4395 2010-11-30 Sam Steingold <sds@gnu.org>
4397 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
4398 (nxml-parent-document-set): A function to set `nxml-parent-document'.
4399 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
4400 (nxml-mode-hook): Remove `defcustom' (auto-defined by
4401 define-derived-mode').
4402 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
4403 users who want to call `nxml-parent-document-set'.
4405 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4407 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
4408 stand-alone lines, since that is handled by log-edit-match-to-eoh
4411 2010-11-27 Eduard Wiebe <usenet@pusto.de>
4413 * dired.el (dired-get-filename): Replace backslashes with slashes
4414 in file names on MS-Windows, needed by `locate'. (Bug#7308)
4415 * locate.el (locate-default-make-command-line): Don't consider
4416 drive letter and root directory part of
4417 `directory-listing-before-filename-regexp'. (Bug#7308)
4418 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
4420 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4422 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
4423 of :smie-open/close-alist.
4424 (smie-next-sexp): Make it accept a "start token" as argument.
4425 (smie-indent-keyword): Be careful not to misidentify tokens that span
4426 more than one line, as empty lines. Add argument `token'.
4428 2010-11-27 Kenichi Handa <handa@m17n.org>
4430 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
4431 multipart subtypes, insert all as usual.
4433 * mail/rmail.el: Require rfc2047.
4435 2010-11-27 Kenichi Handa <handa@m17n.org>
4437 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
4438 (rmail-mime-entity-disposition)
4439 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
4440 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
4441 (rmail-mime-save): Handle the case that the button's `data' is a
4443 (rmail-mime-insert-text): New function.
4444 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
4445 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
4446 (rmail-mime-insert-bulk): New function mostly copied from the old
4447 rmail-mime-bulk-handler.
4448 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
4449 (rmail-mime-process-multipart): New function mostly copied from
4450 the old rmail-mime-multipart-handler.
4451 (rmail-mime-show): Just call rmail-mime-process.
4452 (rmail-mime-process): New function mostly copied from the old
4454 (rmail-mime-insert-multipart, rmail-mime-parse)
4455 (rmail-mime-insert, rmail-show-mime)
4456 (rmail-insert-mime-forwarded-message)
4457 (rmail-insert-mime-resent-message): New functions.
4458 (rmail-insert-mime-forwarded-message-function): Set to
4459 rmail-insert-mime-forwarded-message.
4460 (rmail-insert-mime-resent-message-function): Set to
4461 rmail-insert-mime-resent-message.
4463 * mail/rmailsum.el: Require rfc2047.
4464 (rmail-header-summary): Handle multiline Subject: field.
4465 (rmail-summary-line-decoder): Change the default to
4466 rfc2047-decode-string.
4468 * mail/rmail.el (rmail-enable-mime): Change the default to t.
4469 (rmail-mime-feature): Change the default to `rmailmm'.
4470 (rmail-quit): Delete the specifal code for rmail-enable-mime.
4471 (rmail-display-labels): Likewise.
4472 (rmail-show-message-1): Check rmail-enable-mime, and use
4473 rmail-show-mime-function for a MIME message. Decode the headers
4474 according to RFC2047.
4476 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4478 * progmodes/which-func.el (which-func-imenu-joiner-function):
4479 Return a string, as expected.
4480 (which-function-mode): Make sure we stop any previous timer before
4483 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
4485 * net/tramp.el (tramp-default-method-alist)
4486 (tramp-default-user-alist, tramp-default-proxies-alist):
4487 Adapt custom options type. (Bug#7445)
4489 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4491 * progmodes/python.el: Add Ipython support (Bug#5390).
4492 (python-shell-prompt-alist)
4493 (python-shell-continuation-prompt-alist): New options.
4494 (python--set-prompt-regexp): New function.
4495 (inferior-python-mode, run-python, python-shell):
4496 Require ansi-color. Use python--set-prompt-regexp to set the comint
4497 prompt based on the Python interpreter.
4498 (python--prompt-regexp): New var.
4499 (python-check-comint-prompt)
4500 (python-comint-output-filter-function): Use it.
4501 (run-python): Use a pipe (Bug#5694).
4503 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4505 * progmodes/python.el (run-python): Doc fix.
4506 (python-keep-current-directory-in-path): New var (Bug#7454).
4508 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4510 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4511 Prompt user before actually printing.
4513 2010-11-27 Glenn Morris <rgm@gnu.org>
4515 * startup.el (package-enable-at-startup, package-initialize):
4516 Remove unnecessary declarations.
4518 2010-11-27 Eli Zaretskii <eliz@gnu.org>
4520 * international/characters.el (glyphless-char-display-control):
4521 Exclude newline and TAB from the c0-control group.
4523 2010-11-27 Glenn Morris <rgm@gnu.org>
4525 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
4526 (expand-mail-aliases): Remove unnecessary autoload.
4528 * allout.el (allout-command-prefix, allout-mode-map): Declare.
4530 * shell.el (shell-dir-cookie-re): Move definition before use.
4532 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4533 Replace undefined CL functions.
4535 2010-11-26 Eli Zaretskii <eliz@gnu.org>
4537 * simple.el (prog-mode): Set bidi-paragraph-direction to
4540 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
4542 2010-11-26 Glenn Morris <rgm@gnu.org>
4544 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
4545 diary-outlook-formats can be sensitive to calendar-date-style.
4546 (diary-outlook-formats): Simplify the default setting.
4547 (diary-from-outlook-internal): Pass subject and body as arguments.
4548 Use dolist rather than dotimes. Don't save the diary buffer.
4549 (diary-from-outlook-gnus, diary-from-outlook-rmail):
4550 Pass subject and body as explicit arguments to the -internal function.
4552 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4554 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
4555 parsing them. This makes mailto:...?subject=foo\nbar work.
4557 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4559 * vc/diff.el (diff): Fix last change.
4561 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4563 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
4564 (pcase--dontcare-upats): New var.
4565 (pcase-let, pcase-let*): Generate better code.
4566 Accept the same bodies as `let'.
4567 (pcase-dolist): New macro.
4568 (pcase--trivial-upat-p): New helper function.
4569 (pcase--expand): Strip leading "(let nil" if any.
4571 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4573 * mail/mailclient.el (browse-url): Require.
4574 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
4575 use the external browser function to send the mail (bug#7469).
4577 * net/browse-url.el (browse-url-browser-function): Revert the
4578 default back to the previous value, since the new value broke
4580 (browse-url-mailto-function): New variable for mailto: URLs.
4581 (browse-url): Use the new variable for mailto: URLs.
4583 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4585 * eshell/esh-cmd.el (eshell-parse-command):
4586 * eshell/esh-arg.el (eshell-parse-arguments):
4587 * eshell/em-script.el (eshell-source-file):
4588 Use with-silent-modifications.
4590 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4592 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
4593 for a merge location.
4595 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
4596 (vc-bzr-merge-branch): Always prompt.
4597 (vc-bzr-async-command): Use the full branch filename.
4599 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4601 * shell.el (shell): Use current-buffer by default if it's already
4602 a shell mode buffer and its process is dead.
4603 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
4605 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
4607 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4608 Mention that the keywords should be comma separated.
4610 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4612 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
4613 Accept optional prefix arg meaning to prompt for a command.
4614 (vc-update): Use vc-BACKEND-pull if available. Accept optional
4615 prefix arg meaning to prompt for a command.
4616 (vc-pull): Alias for vc-update.
4618 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
4619 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
4620 (vc-bzr-merge-branch): New functions, implementing merge-branch
4621 and pull operations.
4623 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4625 * Makefile.in: Fix up last merge.
4627 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
4628 (diff-sentinel): Get them as arguments instead.
4629 (diff-old-file, diff-new-file, diff-extra-args): Remove.
4630 (diff-file-local-copy, diff-better-file-name): New funs.
4631 (diff-no-select): Rename from diff-into-buffer.
4632 Support buffers additionally to files. Move `buf' arg. Don't display buf.
4633 Prefer closures to buffer-local variables.
4634 (diff): Adjust accordingly.
4635 (diff-buffer-with-file): Move from files.el.
4636 * files.el (diff-buffer-with-file): Move to vc/diff.el.
4637 (diff-buffer-internal): Remove.
4638 (diff-buffer-buffer): Remove.
4639 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
4640 the buffer name used, and so as not to mess up windows and frames.
4642 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
4644 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
4645 (diff-buffer-internal): New function extracted from diff-buffer-with-file
4646 (diff-buffer-with-file): Use it.
4647 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
4650 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
4652 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
4653 \ref's or \pageref's value as default instead of initial input.
4655 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
4657 * files.el (backup-by-copying-when-mismatch): The default value is
4660 * startup.el (normal-top-level):
4661 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4662 `backup-by-copying-when-mismatch'.
4664 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4666 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
4668 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4670 * progmodes/python.el (python-font-lock-keywords):
4671 Highlight top-level augmented assignments (Bug#6445).
4673 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4675 * term/ns-win.el (ns-right-control-modifier)
4676 (ns-right-command-modifier): Defvar them.
4678 * cus-start.el (all): Add ns-right-control-modifier and
4679 ns-right-command-modifier (Bug#7458).
4681 2010-11-20 Glenn Morris <rgm@gnu.org>
4683 * emacs-lisp/authors.el (authors-ignored-files)
4684 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
4686 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4688 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
4689 (report-emacs-bug-parse-query-results)
4690 (report-emacs-bug-create-existing-bugs-buffer): Pass through
4691 keywords used for querying the bug database to show them in the
4692 existing bugs buffer.
4694 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
4696 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
4698 * info.el (info-tool-bar-map): Add some :vert-only keywords.
4700 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4702 * international/characters.el (glyphless-char-display-control):
4703 Make it a defcustom, with update-glyphless-char-display as its
4705 (top level): Don't call update-glyphless-char-display.
4707 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
4709 Sync with Tramp 2.2.0.
4711 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
4712 `file-remote-p' (due to compatibility).
4714 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
4715 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
4717 * net/trampver.el: Update release number.
4719 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4721 * faces.el (glyphless-char): Define value for `pc'.
4723 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4725 Implemented a bug querying mechanism.
4726 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
4727 (report-emacs-bug-create-existing-bugs-buffer)
4728 (report-emacs-bug-parse-query-results)
4729 (report-emacs-bug-query-existing-bugs): New functions.
4731 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
4733 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
4734 a \ref{} or \pageref{} macro, then use its value as initial input.
4736 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4738 * calc/calc-units.el (math-build-units-table-buffer):
4739 calc/README: Mention that the TeX specific units won't use the
4740 `tex' prefix in TeX mode.
4741 calc/calc-lang.el (math-variable-table): Don't use the `tex'
4742 prefix for units in TeX mode.
4744 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4746 * simple.el (kill-new, kill-append, kill-region):
4747 * comint.el (comint-kill-region): Make the yank-handler argument
4750 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4752 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
4753 that are both openers (resp. closers) and something else.
4754 (smie-grammar): Loosen definition of valid values.
4755 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
4756 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
4757 (smie-indent-after-keyword): Adjust users.
4758 (smie-indent-keyword): Don't indent empty lines.
4760 * vc-hg.el (vc-hg-program): New var.
4761 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
4762 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
4764 2010-11-18 Glenn Morris <rgm@gnu.org>
4766 * emacs-lisp/autoload.el (autoload-find-destination): The function
4767 coding-system-eol-type may return non-numeric values. (Bug#7414)
4769 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
4771 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
4773 2010-11-18 Eli Zaretskii <eliz@gnu.org>
4775 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
4777 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
4779 * textmodes/picture.el (picture-mouse-set-point): Don't use
4780 posn-col-row; explicitly compute the motion based on the posn at
4781 the window-start (Bug#7390).
4783 2010-11-18 Glenn Morris <rgm@gnu.org>
4785 * novice.el (disabled-command-function):
4786 Fix 2009-11-15 change. (Bug#7384)
4788 2010-11-18 Glenn Morris <rgm@gnu.org>
4790 * calendar/calendar.el (diary-iso-date-forms): Make elements
4791 mutually exclusive. (Bug#7377)
4793 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4795 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
4796 when filling the remaining "unconstrained" values.
4798 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4800 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
4803 * files.el (safe-local-variable-p): Gracefully handle errors.
4805 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
4806 Use smie-indent-virtual when indenting relative to an opener.
4807 (smie-rule-separator): Use smie-rule-parent.
4808 (smie-indent-keyword): Consult rules, even for openers at bol.
4809 (smie-indent-comment-close): Try to align closer's content.
4811 2010-11-18 Glenn Morris <rgm@gnu.org>
4813 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4815 2010-11-18 Glenn Morris <rgm@gnu.org>
4817 * printing.el (pr-menu-bind): Doc fix.
4819 * speedbar.el (speedbar-toggle-images): Doc fix.
4821 * progmodes/python.el (python-shell): Doc fix.
4823 * wid-edit.el (widget-field-use-before-change)
4824 (widget-use-overlay-change): Doc fixes.
4826 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4828 Minor cleanup to improve style.
4829 * textmodes/rst.el (rst-update-section): Use point-marker.
4830 (rst-get-decoration): Eliminate unneeded assignment.
4831 (rst-promote-region, rst-straighten-decorations)
4832 (rst-section-tree, rst-adjust): Use point-marker.
4833 (rst-toc-mode-mouse-goto): Avoid setq.
4834 (rst-shift-region-guts, rst-shift-region-left)
4835 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4836 (rst-convert-bullets-to-enumeration): Use copy-marker.
4838 * minibuffer.el (completion-fail-discreetly): New var.
4839 (completion--do-completion): Use it.
4841 * electric.el (electric-pair-pairs): New var.
4842 (electric-pair-post-self-insert-function): Use it.
4843 (electric-layout-post-self-insert-function): Don't insert a before
4844 newline unless it's actually needed.
4846 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4848 * progmodes/python.el (run-python): Explain why we remove the current
4849 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
4851 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4853 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4855 * progmodes/octave-mod.el: Rely on elecric-*-modes.
4856 (octave-mode-map): Don't bind ;, SPC, and LF.
4857 (octave-auto-indent, octave-auto-newline): Remove.
4858 (electric-layout-rules): Declare.
4859 (octave-mode): Set electric-layout-rules.
4860 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4861 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4862 (octave-electric-space): Remove.
4864 * electric.el (electric-layout-mode): New minor mode.
4865 (electric--after-char-pos): New function.
4866 (electric-indent-post-self-insert-function): Use it.
4867 (electric-layout-rules): New var.
4868 (electric-layout-post-self-insert-function): New function.
4869 (electric-indent-mode): Make them interact better.
4871 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4873 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4874 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4875 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4877 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
4879 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4880 Make sure to check inside the word (Bug#6761).
4882 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
4884 * startup.el (command-line): If the cursorColor resource is set,
4885 change the cursor face-spec (Bug#7392).
4887 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
4889 The main features of the following allout.el changes are:
4890 - implement user customization for the allout key bindings
4891 - add a customization control by which the user can inhibit use of
4892 a trailing Ctrl-H, so by default it's reserved for use with
4893 describe-prefix-bindings
4894 - adapt to new version of called-interactively-p, while
4895 maintaining backwards compatibility with old version
4896 - fix hotspot navigation so i works properly with meta-modified keys.
4898 * allout.el (allout-keybindings, allout-bind-keys)
4899 (allout-keybindings-binding, allout-prefixed-keybindings)
4900 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4901 (allout-keybindings-list, allout-mode-map-adjustments)
4902 (allout-setup-mode-map): Establish allout-mode keymaps as user
4903 customizable settings, and also establish a customizable setting which
4904 regulates whether or not a trailing control-h is reserved for use with
4905 describe-prefix-bindings - and inhibit it by default, so that control-h
4906 *is* reserved for describe-prefix-bindings unless the user changes it.
4908 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4909 and accurately between modified and unmodified events, and handle
4910 modified events more comprehensively.
4912 * allout.el (allout-substring-no-properties):
4913 Alias to use or provide version of `substring-no-properties'.
4914 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4916 * allout.el (allout-next-single-char-property-change):
4917 Alias to use or provide version of `next-single-char-property-change'.
4918 (allout-annotate-hidden, allout-hide-by-annotation):
4919 Use `allout-next-single-char-property-change'.
4921 * allout.el (allout-select-safe-coding-system):
4922 Alias to use or provide version of `select-safe-coding-system'.
4923 (allout-toggle-subtree-encryption):
4924 Use `allout-select-safe-coding-system'.
4926 * allout.el (allout-set-buffer-multibyte):
4927 Alias to use or provide version of `set-buffer-multibyte'.
4928 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4930 * allout.el (allout-called-interactively-p): Macro for using the
4931 different versions of called-interactively-p identically, depending on
4932 the subroutine's argument signature.
4933 (allout-back-to-current-heading, allout-beginning-of-current-entry):
4934 Use `(interactive "p")' instead of `(called-interactively-p)'.
4936 * allout.el (allout-init, allout-ascend, allout-end-of-level)
4937 (allout-previous-visible-heading, allout-forward-current-level)
4938 (allout-backward-current-level, allout-show-children):
4939 Use `allout-called-interactively-p' instead of `called-interactively-p'.
4941 * allout.el (allout-before-change-handler):
4942 Exempt edits to the (overlaid) character after the allout outline
4943 bullet from edit confirmation prompt.
4945 * allout.el (allout-add-resumptions):
4946 Ensure that it respects correct buffer for keybindings.
4948 * allout.el (allout-beginning-of-line):
4949 Use `allout-previous-single-char-property-change' alias for the sake of
4950 diverse compatibility.
4952 * allout.el (allout-end-of-line):
4953 Use `allout-mark-active-p' to encapsulate respect for mark activity.
4955 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
4957 * frame.el (frame-notice-user-settings): Don't clobber other
4958 user-set parameters when calling face-set-after-frame-default in
4959 response to background-color parameter (Bug#7373).
4961 2010-11-13 Eli Zaretskii <eliz@gnu.org>
4963 * international/characters.el (glyphless-char-display-control):
4964 Rename from glyphless-char-control; all users changed. Doc fix.
4965 Signal an error if display method is not one of the recognized
4968 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
4970 * net/tramp-compat.el (tramp-compat-line-beginning-position)
4971 (tramp-compat-line-end-position): Remove them.
4973 * net/tramp.el (tramp-parse-rhosts-group)
4974 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4975 (tramp-parse-hosts-group, tramp-parse-passwd-group)
4976 (tramp-parse-netrc-group, tramp-parse-putty-group)
4977 * net/tramp-cmds.el (tramp-append-tramp-buffers)
4978 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4979 (tramp-sh-handle-file-selinux-context)
4980 (tramp-sh-handle-file-name-all-completions)
4981 (tramp-sh-handle-insert-directory)
4982 (tramp-sh-handle-expand-file-name, tramp-find-executable)
4983 (tramp-wait-for-output, tramp-send-command-and-read)
4984 * net/tramp-smb.el (tramp-smb-read-file-entry)
4985 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4987 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4989 (tramp-remote-coding-commands): Add an alternative using "base64
4990 -d -i". This is needed for older base64 versions from GNU
4991 coreutils. Reported by Klaus Reichl
4992 <Klaus.Reichl@thalesgroup.com>.
4994 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
4996 * simple.el (count-words-region): New function.
4998 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5000 * shell.el (shell-dir-cookie-re): New custom variable.
5001 (shell-dir-cookie-watcher): New function.
5003 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
5004 and compilation-mode (bug#7350).
5006 * vc/smerge-mode.el (smerge-refine): Choose better default part to
5007 highlight when one of them is empty.
5009 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
5011 (skeleton-newline): New function.
5012 (skeleton-internal-1): Use it.
5014 * simple.el (open-line): `newline' may strip trailing space.
5016 2010-11-12 Kevin Ryde <user42@zip.com.au>
5018 * international/mule-cmds.el (princ-list): Use mapc.
5020 2010-11-12 Glenn Morris <rgm@gnu.org>
5022 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
5023 Use it to replace all instances of "*Compile-Log*".
5025 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5027 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
5030 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5032 * progmodes/modula2.el: Use SMIE and skeleton.
5033 (m2-mode-syntax-table): (*..*) can be nested.
5034 Add //...\n. Fix paren syntax.
5035 (m2-mode-map): Remove LF and TAB bindings.
5036 (m2-indent): Add safety property.
5037 (m2-smie-grammar): New var.
5038 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
5039 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
5040 (m2-mode): Use define-derived-mode.
5041 (m2-newline, m2-tab): Remove.
5042 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
5043 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
5044 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
5045 (m2-import): Use define-skeleton.
5047 2010-11-11 Glenn Morris <rgm@gnu.org>
5049 * obsolete/lucid.el: Don't warn about any CL functions in this file.
5051 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
5052 (ls-lisp-verbosity): Add custom :set-after property.
5053 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
5054 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
5055 (ls-lisp-insert-directory): Update caller.
5056 (ls-lisp-set-options): New function.
5057 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
5060 * play/landmark.el (lm-prompt-for-move):
5061 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
5063 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
5065 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
5066 (idlwave-study-twins): Prefix dynamic local variable `name'.
5067 (idlwave-routine-twin-compare): Update for above change.
5069 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
5070 Prefix dynamic local variables `name', `kwd', and `link'.
5071 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
5072 * progmodes/idlw-complete-structtag.el
5073 (idlwave-complete-structure-tag-help):
5074 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
5075 (idlwave-complete-sysvar-tag-help)
5076 (idlwave-complete-class-structure-tag-help):
5077 Update for above name changes.
5079 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5081 * net/browse-url.el (browse-url-browser-function): Change the
5082 default to use `browse-url-mail' on mailto: URLs.
5084 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
5086 * emacs-lisp/package.el (package-read-all-archive-contents):
5087 Reset package-archive-contents to nil before re-reading.
5089 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
5091 * textmodes/flyspell.el (flyspell-word): Do not re-check words
5092 already found as misspellings by (flyspell-large-region), just
5093 do highlighting (bug#7322).
5095 2010-11-10 Glenn Morris <rgm@gnu.org>
5097 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
5099 * emulation/edt.el (edt-with-position): New macro.
5100 (edt-find-forward, edt-find-backward, edt-find-next-forward)
5101 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
5102 (edt-paragraph-forward, edt-paragraph-backward): Use it.
5104 * emulation/tpu-extras.el (tpu-with-position): New macro.
5105 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
5107 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
5109 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
5110 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
5111 (texinfo-master-menu, texinfo-insert-node-lines)
5112 (texinfo-multiple-files-update):
5113 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
5114 Use line-beginning-position.
5116 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
5117 No recent Emacs supports system-type `emx'.
5119 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
5120 (ada-command-separator, ada-default-prj-properties)
5121 (ada-find-any-references): Update for above name change.
5123 * dirtrack.el (dirtrack-directory-function)
5124 (dirtrack-canonicalize-function):
5125 * filecache.el (file-cache-completion-ignore-case)
5126 (file-cache-case-fold-search, file-cache-ignore-case):
5127 * term.el (serial-port-is-file-p): Cosmetic change.
5129 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
5130 Remove non-existent `windows-95' system-type.
5131 * dired.el (dired-chown-program): Remove non-existent `linux'
5134 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
5135 (ping-program-options): Remove non-existent `linux' system-type.
5137 * startup.el (package-initialize): Update declaration.
5139 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
5140 (ls-lisp-handle-switches): Use time-less-p.
5141 (ls-lisp-format-time): Use float-time.
5143 * textmodes/remember.el (remember-time-to-seconds): Remove.
5144 (remember-store-in-mailbox): Use float-time.
5146 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
5148 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
5149 never a real function.
5150 (with-no-warnings): Remove compat stub, now unused.
5151 (time-less-p): Doc fix.
5152 (time-to-number-of-days): Simplify.
5154 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
5156 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
5157 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
5158 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
5159 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
5160 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
5162 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
5163 (eshell-shuffle-files, eshell-shorthand-tar-command)
5164 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
5165 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
5166 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
5167 Prefix dynamic local variable `matches'.
5169 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
5170 Prefix dynamic local variable `skeleton'.
5172 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
5174 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
5175 in mail buffer; make yank-action always a command that yanks original
5178 2010-11-09 Glenn Morris <rgm@gnu.org>
5180 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
5182 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5184 * minibuffer.el (minibuffer-completion-help): Specify the end of the
5185 completion field (bug#7211).
5187 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
5188 Fix handling of backslash escapes.
5189 (python-quote-syntax): Adjust accordingly.
5191 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
5193 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
5194 (vc-mtn-workfile-branch): Adjust to new output format.
5196 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5198 * international/mule-cmds.el (princ-list): Mark as obsolete.
5200 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5202 * emacs-lisp/smie.el: New package.
5204 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
5206 * files.el (backup-by-copying-when-mismatch):
5207 Set `permanent-local' property.
5209 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
5210 `permanent-local' property for `backup-by-copying-when-mismatch'.
5212 2010-11-09 Eli Zaretskii <eliz@gnu.org>
5214 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
5216 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
5218 * progmodes/verilog-mode.el (verilog-insert-one-definition)
5219 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
5220 AUTOINOUT for SV style multidimensional arrays, bug294.
5221 Reported by Eric Mastromarchi.
5222 (verilog-preprocess): Use with-current-buffer and
5223 font-lock-fontify-buffer to cleanup style issues.
5225 2010-11-09 Glenn Morris <rgm@gnu.org>
5227 * locate.el (locate, locate-mode): Doc fixes.
5229 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
5231 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
5232 user for confirmation.
5233 (server-force-stop): Use it.
5234 (server-start): Use server-force-stop for kill-emacs-hook, to
5235 avoid user interaction while killing Emacs.
5237 2010-11-09 Glenn Morris <rgm@gnu.org>
5239 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
5240 (meta-indent-line): Simplify.
5242 * vc/emerge.el (emerge-line-number-in-buf):
5243 * textmodes/ispell.el (ispell-region):
5244 * textmodes/fill.el (current-fill-column):
5245 * progmodes/xscheme.el (xscheme-send-current-line):
5246 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
5247 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
5248 * progmodes/sh-script.el (sh-handle-prev-do):
5249 * progmodes/meta-mode.el (meta-indent-line):
5250 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
5252 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
5253 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
5254 * progmodes/fortran.el (fortran-looking-at-if-then):
5255 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
5256 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
5257 (cperl-find-pods-heres):
5258 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
5259 * net/quickurl.el (quickurl-list-insert):
5260 * net/ldap.el (ldap-search-internal):
5261 * net/eudc.el (eudc-expand-inline):
5262 * mail/sendmail.el (sendmail-send-it):
5263 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
5264 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
5265 (viper-brac-function):
5266 * calc/calc-yank.el (calc-do-grab-region):
5267 * calc/calc-keypd.el (calc-keypad-press):
5268 * term.el (term-move-columns, term-insert-spaces):
5269 * speedbar.el (speedbar-highlight-one-tag-line):
5270 * simple.el (current-word):
5271 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
5272 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
5274 * hippie-exp.el (he-line-beg):
5275 * epa.el (epa--marked-keys):
5276 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
5277 (dired-update-file-line, dired-add-entry, dired-remove-entry)
5278 (dired-relist-entry):
5279 * buff-menu.el (Buffer-menu-buffer):
5280 * array.el (current-line):
5281 * allout.el (allout-resolve-xref)
5282 (allout-latex-verbatim-quote-curr-line):
5283 Replace yet more uses of end-of-line etc with line-end-position, etc.
5285 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5287 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
5288 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
5289 (checkdoc-syntax-table): Initialize in the declaration.
5290 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
5291 the mode on unconditionally.
5293 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
5294 (extent-end-position, extent-start-position): Remove setf method for
5295 non-existing functions (bug#7319).
5297 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5299 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
5300 (smie-precs->prec2): Rename from smie-precs-precedence-table.
5301 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
5302 (smie-prec2->grammar): Rename from smie-prec2-levels.
5303 (smie-grammar): Rename from smie-op-levels.
5304 (smie-indent--hanging-p): Rename from smie-hanging-p.
5305 (smie-rule-hanging-p): New alias.
5306 (smie-indent--bolp): Rename from smie-bolp.
5307 (smie-indent--hanging-p): New alias.
5308 (smie--token): New dynamically bound variable.
5309 (smie-indent--parent): New function.
5310 (smie-rule-parent-p): Use it; rename from smie-parent-p.
5311 (smie-rule-next-p): Rename from smie-next-p.
5312 (smie-rule-prev-p): Rename from smie-prev-p.
5313 (smie-rule-sibling-p, smie-rule-parent)
5314 (smie-indent--separator-outdent, smie-rule-separator): New functions.
5315 (smie-rule-separator-outdent): New var.
5316 (smie-indent--rule): Merge with smie-indent--column.
5317 (smie-indent-forward-token, smie-indent-backward-token):
5318 Also recognize close parens.
5319 (smie-indent-keyword): Don't use smie-indent--column any more.
5320 (smie-indent-after-keyword): Ignore closers by default.
5321 (smie-indent-line): Use with-demoted-errors.
5322 * progmodes/octave-mod.el (octave-smie-grammar):
5323 Rename from octave-smie-op-levels.
5324 (octave-smie-rules): Adjust to new behavior.
5325 * progmodes/prolog.el (prolog-smie-grammar):
5326 Rename from prolog-smie-op-levels.
5328 2010-11-07 Glenn Morris <rgm@gnu.org>
5330 * eshell/esh-util.el (subst-char-in-string)
5331 (directory-files-and-attributes): These compatibility definitions are
5332 not needed on any version of Emacs since at least 21.4.
5334 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
5335 (verilog-get-end-of-line): Remove.
5336 (verilog-within-string, verilog-re-search-forward-substr)
5337 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
5338 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
5339 Use point-at-bol, point-at-eol.
5340 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
5342 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
5343 (electric-pascal-terminate-line, pascal-set-auto-comments)
5344 (pascal-indent-paramlist, pascal-indent-declaration)
5345 (pascal-get-lineup-indent, pascal-func-completion)
5346 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
5347 Use point-at-bol, point-at-eol.
5348 * progmodes/flymake.el (flymake-line-beginning-position)
5349 (flymake-line-end-position): Remove.
5350 (flymake-highlight-line): Use point-at-bol, point-at-eol.
5351 * eshell/esh-util.el (line-end-position, line-beginning-position):
5352 Remove compat definitions.
5354 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
5356 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
5357 Use line-end-position.
5359 * emacs-lisp/chart.el (chart-zap-chars):
5360 * play/decipher.el (decipher-set-map):
5361 * progmodes/ada-mode.el (ada-get-current-indent)
5362 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
5363 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
5364 * progmodes/ada-xref.el (ada-initialize-runtime-library)
5365 (ada-get-all-references):
5366 * progmodes/cperl-mode.el (cperl-electric-paren)
5367 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
5368 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
5369 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
5370 (cperl-word-at-point-hard):
5371 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
5372 (idlwave-shell-filename-string, idlwave-shell-batch-command)
5373 (idlwave-shell-display-line):
5374 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
5375 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
5376 * progmodes/js.el (js--re-search-forward-inner)
5377 (js--re-search-backward-inner):
5378 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
5379 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
5380 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
5381 * textmodes/flyspell.el (flyspell-process-localwords):
5382 * textmodes/ispell.el (ispell-buffer-local-parsing)
5383 (ispell-buffer-local-dict, ispell-buffer-local-words):
5384 Use point-at-bol and point-at-eol.
5386 * speedbar.el (speedbar-generic-item-info)
5387 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
5388 (speedbar-add-indicator, speedbar-check-vc-this-line)
5389 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
5390 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
5391 Replace more uses of end-of-line etc with line-end-position.
5393 2010-11-06 Glenn Morris <rgm@gnu.org>
5395 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
5396 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
5397 (texinfo-delete-existing-pointers, texinfo-find-pointer)
5398 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
5399 (texinfo-multiple-files-update):
5400 * textmodes/table.el (table--probe-cell-left-up)
5401 (table--probe-cell-right-bottom):
5402 * textmodes/picture.el (picture-tab-search):
5403 * textmodes/page-ext.el (pages-copy-header-and-position)
5404 (pages-directory-for-addresses):
5405 * progmodes/vera-mode.el (vera-get-offset):
5406 * progmodes/simula.el (simula-calculate-indent):
5407 * progmodes/python.el (python-pdbtrack-overlay-arrow):
5408 * progmodes/prolog.el (end-of-prolog-clause):
5409 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
5410 * progmodes/icon.el (indent-icon-exp):
5411 * progmodes/etags.el (tag-re-match-p):
5412 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
5413 * progmodes/ebnf2ps.el (ebnf-begin-file):
5414 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
5415 (dcl-save-local-variable):
5416 * play/life.el (life-setup):
5417 * play/gametree.el (gametree-looking-at-ply):
5418 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
5419 * mail/sendmail.el (mail-mode-auto-fill):
5420 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
5421 * emacs-lisp/edebug.el (edebug-overlay-arrow):
5422 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
5423 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
5424 (woman-tab-to-tab-stop, WoMan-warn-ignored):
5425 * type-break.el (type-break-file-keystroke-count):
5426 * term.el (term-replace-by-expanded-history-before-point)
5427 (term-skip-prompt, term-extract-string):
5428 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
5429 (speedbar-contract-line, speedbar-toggle-line-expansion)
5430 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
5431 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
5432 * sort.el (sort-skip-fields):
5433 * skeleton.el (skeleton-internal-list):
5434 * simple.el (line-move-finish, line-move-to-column):
5435 * shell.el (shell-forward-command):
5436 * misc.el (copy-from-above-command):
5437 * makesum.el (double-column):
5438 * ebuff-menu.el (electric-buffer-update-highlight):
5439 * dired.el (dired-move-to-end-of-filename):
5440 * dframe.el (dframe-popup-kludge):
5441 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
5442 * arc-mode.el (archive-get-lineno):
5443 Use line-end-position and line-beginning-position.
5445 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
5446 (idlwave-study-twins): Prefix dynamic local `class'.
5447 (idlwave-routine-twin-compare): Update for above name change.
5449 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
5450 Use boundp tests to silence compiler. Update for changed name of
5451 bytecomp-filename variable.
5453 * emulation/viper-cmd.el (viper-read-string-with-history):
5454 Prefix dynamic local `initial'.
5455 (viper-minibuffer-standard-hook): Update for above name change.
5457 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
5458 (elint-init-form): Update for above name change.
5460 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
5461 local variables `cbeg' and `cend' a prefix.
5462 (mail-extr-voodoo): Update for above name change.
5464 * textmodes/reftex-toc.el (reftex-toc-do-promote)
5465 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
5466 (reftex-toc-promote-action): Doc fix.
5468 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
5469 `prompt', `data' a prefix.
5470 (reftex-select-post-command-hook, reftex-select-callback)
5471 (reftex-select-mouse-accept, reftex-select-read-cite):
5472 Update for above name changes.
5474 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
5475 `refstyle' to reftex-refstyle.
5476 (reftex-offer-label-menu): Update for above name change.
5477 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
5478 `refstyle' name change.
5480 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
5481 with with-current-buffer.
5482 (diff, template): Give dynamic local variables a prefix.
5483 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
5484 (emerge-line-number-in-buf): Update for above name change.
5485 (emerge-combine-versions-internal): Rename local `template' to
5486 emerge-combine-template.
5487 (emerge-combine-versions-edit): Update for above name change.
5489 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
5491 * textmodes/reftex-cite.el
5492 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
5493 entries with whitespace after \bibitem.
5494 (reftex-create-bibtex-file): Match entries containing numbers and
5495 symbol constituents. Make sure that entries with whitespace at
5496 various places are found.
5498 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
5500 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
5502 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
5504 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
5506 2010-11-05 Glenn Morris <rgm@gnu.org>
5508 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
5509 (woman2-roff-buffer): Give local variable `request' a prefix.
5510 (woman0-macro): Rename argument `request' in the same way.
5511 (woman-request): New name for `request' dynamic variable.
5512 (woman-unquote, woman-forward-arg): Update for above name change.
5513 (woman1-roff-buffer): Give local variable `unquote' a prefix.
5514 (woman1-unquote): New name for `unquote' dynamic variable.
5515 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
5516 (woman-translations): Rename from `translations'. No longer global.
5517 (woman2-tr, woman-translate): Update for above name change.
5518 (woman-translate): Check for bound variable.
5519 (woman2-roff-buffer): Give local variable `translations' a prefix.
5521 * play/doctor.el: Give all local variables a prefix. Update callers.
5522 (doc$, doctor-put-meaning): Use backquote.
5524 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
5525 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
5527 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
5528 variables bytes, ptr, op a prefix.
5529 (disassemble-offset): Update for above change.
5531 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5533 * emacs-lisp/package.el (package-unpack): Remove no-op.
5534 (package--builtins, package--dir): Doc fix.
5535 (package-activate-1, package-activate, package-install)
5536 (package-compute-transaction): Fix error message.
5537 (package-delete): Use delete-directory. Omit system packages.
5538 (package-initialize): Set package-alist to nil first.
5539 (package-menu-mark-delete, package-menu-mark-install): Don't add
5540 symbols that are inconsistent with the package state.
5541 (package-menu-execute): Perform deletions and installations as
5542 single batch operations.
5544 2010-11-03 Glenn Morris <rgm@gnu.org>
5546 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
5547 (props): Remove unnecessary declaration.
5549 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
5550 set-process-query-on-exit-flag.
5552 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
5553 (reftex-toc-do-promote): Remove unused local `mpos'.
5554 (reftex-toc-restore-region): Make `mpos' local to this function.
5556 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
5558 * play/landmark.el (lm-losing-threshold): Correct spelling.
5559 (lm-human-plays): Use new name.
5561 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
5562 (gomoku-human-plays): Use new name.
5564 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
5565 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
5566 (gomoku-score-trans-table, gomoku-winning-threshold)
5567 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
5569 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5571 * emacs-lisp/package.el: Don't put built-in packages in
5572 package-alist, to avoid loading inefficiencies.
5573 (package-built-in-p): Make VERSION optional, and treat it as a
5574 minimum acceptable version.
5575 (package-activate): Search separately for built-in packages.
5576 Emit a warning if a dependency fails.
5577 (define-package): Handle most common case, where there is no
5578 obsolete package, first.
5579 (package-compute-transaction): Print required version in error.
5580 (package--initialized): New variable.
5581 (list-packages): Use it.
5582 (package-initialize): Optional arg NO-ACTIVATE. Don't put
5583 built-in packages in packages-alist; keep it separate.
5584 Set package--initialized.
5585 (describe-package): Avoid activating packages as a side-effect.
5586 Search separately for built-in packages.
5587 (describe-package-1): Handle the case where an elpa package is
5588 simultaneously built-in and available/installed.
5589 (package-installed-p, package--generate-package-list):
5590 Search separately for built-in packages.
5591 (package-load-descriptor): Doc fix.
5593 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5595 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5596 Handle __DATA__ and __END__.
5598 2010-11-02 Noah Friedman <friedman@splode.com>
5600 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
5601 nil, do not ask to recompile files that are not already compiled,
5602 and do not recompile them.
5604 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
5606 * emacs-lisp/package.el (package-initialize): Ensure that
5607 obsoleted built-in packages are not in package-activated-list
5609 (describe-package-1): Make the "installed" status override
5612 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5614 * subr.el (version-separator, version-regexp-alist): Remove '*'
5616 (version-list-<=, version<=, version=): Doc fix.
5618 2010-11-01 Kenichi Handa <handa@m17n.org>
5620 * faces.el (glyphless-char): Inherit underline for tty.
5622 2010-11-01 Kenichi Handa <handa@m17n.org>
5624 Implement various display methods for glyphless characters.
5626 * international/characters.el (char-acronym-table): New variable.
5627 (glyphless-char-control): New variable.
5628 (update-glyphless-char-display): New function.
5630 * faces.el (glyphless-char): New face.
5632 2010-11-01 Glenn Morris <rgm@gnu.org>
5634 * calendar/holidays.el (general-holidays, oriental-holidays)
5635 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
5636 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
5637 the definitions of their targets.
5639 * emacs-lisp/smie.el (smie): New custom group.
5640 (smie-blink-matching-inners, smie-indent-basic): Add :group.
5642 * faces.el (xw-defined-colors, x-setup-function-keys):
5643 * mouse-sel.el (x-select-text):
5644 * term/w32console.el (x-setup-function-keys): Update declarations.
5646 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
5648 * textmodes/ispell.el (comment-add): Declare.
5650 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
5653 * info.el (finder-keywords-hash, package-alist): Declare.
5655 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5657 * finder.el (finder-compile-keywords): Don't use intern-soft,
5658 since package names may not yet exist in the obarray.
5660 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5662 * vc/vc-arch.el (vc-arch-checkin):
5663 * vc/vc-cvs.el (vc-cvs-checkin):
5664 * vc/vc-mtn.el (vc-mtn-checkin):
5665 * vc/vc-rcs.el (vc-rcs-checkin):
5666 * vc/vc-sccs.el (vc-sccs-checkin):
5667 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
5668 since 2010-04-21 commit by Stefan Monnier.
5670 2010-11-01 Glenn Morris <rgm@gnu.org>
5672 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
5674 * startup.el (package-enable-at-startup, package-initialize):
5677 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
5680 2010-10-31 Julien Danjou <julien@danjou.info>
5682 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
5683 (byte-recompile-directory):
5684 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
5685 Use `byte-recompile-file'.
5687 2010-10-31 Glenn Morris <rgm@gnu.org>
5689 * cus-start.el: Handle standard values via a keyword.
5690 Only set version property if specified.
5691 (cursor-in-non-selected-windows, menu-bar-mode)
5692 (tool-bar-mode, show-trailing-whitespace):
5693 Do not specify standard values.
5694 (transient-mark-mode, temporary-file-directory): Use :standard.
5696 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
5698 * term/x-win.el (x-get-selection-value): New function that gets
5699 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
5701 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
5703 * net/tramp.el (tramp-handle-insert-file-contents): For root,
5704 preserve owner and group when editing files. (Bug#7289)
5706 2010-10-31 Glenn Morris <rgm@gnu.org>
5708 * speedbar.el (speedbar-mode):
5709 * play/fortune.el (fortune-in-buffer, fortune):
5710 * play/gomoku.el (gomoku-mode):
5711 * play/landmark.el (lm-mode):
5712 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
5713 Replace inappropriate uses of toggle-read-only. (Bug#7292)
5715 * select.el (x-selection): Mark it as an obsolete alias.
5717 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5719 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
5720 major-mode (bug#7284).
5722 2010-10-31 Glenn Morris <rgm@gnu.org>
5724 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
5725 rather than just an unused variable that inherits from the real one.
5727 2010-10-31 Alan Mackenzie <acm@muc.de>
5729 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
5730 This fixes bug #7185.
5732 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
5734 * startup.el (command-line): Search for package directories, and
5735 don't load package.el if none are found.
5737 * emacs-lisp/package.el (describe-package, list-packages):
5738 Call package-initialize if it has not been called yet.
5740 2010-10-30 Alan Mackenzie <acm@muc.de>
5742 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
5743 which fontifies the tail of an enum.
5744 (c-basic-matchers-after): Insert a call to the above new function.
5745 This fixes bug #7264.
5747 2010-10-30 Glenn Morris <rgm@gnu.org>
5749 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
5750 tool-bar-mode, transient-mark-mode. (Bug#7306)
5751 Include the :set property in the dumped Emacs.
5753 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5755 SMIE: change indent rules format, improve smie-setup.
5756 * emacs-lisp/smie.el (smie-precs-precedence-table)
5757 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
5758 Mark them pure so the tables gets built at compile time.
5759 (smie-bnf-precedence-table): Store the closer-alist in the table.
5760 (smie-prec2-levels): Preserve the closer-alist.
5761 (smie-blink-matching-open): Be more forgiving in case of indentation.
5762 (smie-hanging-p): Rename from smie-indent--hanging-p.
5763 (smie-bolp): Rename from smie-indent--bolp.
5764 (smie--parent, smie--after): New dynamic vars.
5765 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
5766 (smie-indent-rules): Remove.
5767 (smie-indent--offset-rule): Remove fun.
5768 (smie-rules-function): New var.
5769 (smie-indent--rule): New fun.
5770 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
5771 (smie-indent-exps): Use it.
5772 (smie-setup): Setup paren blinking; add keyword args for token
5773 functions; extract closer-alist from op-levels.
5774 (smie-indent-debug-log): Remove var.
5775 (smie-indent-debug): Remove fun.
5776 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
5777 (prolog-smie-rules): New fun to replace it.
5778 (prolog-mode-variables): Simplify.
5779 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
5780 it's setup automatically.
5781 (octave-smie-indent-rules): Remove.
5782 (octave-smie-rules): New fun to replace it.
5783 (octave-mode): Simplify.
5785 2010-10-29 Glenn Morris <rgm@gnu.org>
5787 * files.el (temporary-file-directory): Remove (already defined in C).
5788 * cus-start.el: Add temporary-file-directory.
5790 * abbrev.el (abbrev-mode):
5791 * composite.el (auto-composition-mode):
5792 * menu-bar.el (menu-bar-mode):
5793 * simple.el (transient-mark-mode):
5794 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5795 that they do not define the associated variables twice.
5796 * simple.el (transient-mark-mode): Remove defvar.
5797 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5798 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5799 Handle multiple groups, and also custom-delayed-init-variables.
5800 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5802 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5804 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5805 (pcase-if): Add one minor optimization.
5806 (pcase-split-equal): Rename from pcase-split-eq.
5807 (pcase-split-member): Rename from pcase-split-memq.
5808 (pcase-u1): Add strings to the member optimization.
5809 Add `guard' variant of predicates.
5810 (pcase-q1): Add string patterns.
5812 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5814 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5816 2010-10-28 Glenn Morris <rgm@gnu.org>
5818 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5819 Move menu-bar related settings to ../menu-bar.el.
5820 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5821 Move ns-specific settings here from term/ns-win.el.
5823 * simple.el (x-selection-owner-p): Remove unused declaration.
5825 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5827 * minibuffer.el (completion-cycling): New var (bug#7266).
5828 (minibuffer-complete, completion--do-completion):
5829 Use completion--flush-all-sorted-completions.
5830 (minibuffer-complete): Only cycle if completion-cycling is set.
5831 (completion--flush-all-sorted-completions): Unset completion-cycling.
5832 (minibuffer-force-complete): Set completion-cycling.
5833 (completion-all-sorted-completions): Move declaration before first use.
5835 2010-10-28 Leo <sdl.web@gmail.com>
5837 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5838 which changes the order of matches seen by users (bug#7231).
5840 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
5842 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5843 Don't confuse -omega as "-o mega".
5845 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
5847 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5848 (log-edit-author): New dynamic var.
5849 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5850 to return the author if different from committer.
5851 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5853 * play/landmark.el: Adjust commenting convention.
5854 (lm-nil-score): Rename from nil-score.
5855 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5856 (OOOOscore): Move into a let in lm-score-trans-table.
5857 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5859 * electric.el (electric-indent-chars): Autoload.
5860 * progmodes/octave-mod.el (octave-mode):
5861 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5862 (ruby-mode-abbrev-table): Merge initialization and declaration.
5864 2010-10-27 Glenn Morris <rgm@gnu.org>
5866 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5869 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5871 * term/ns-win.el: Restore require of cl when compiling.
5872 (menu-bar-final-items): Remove non-existent `windows' menu.
5873 (ns-handle-nxopen): Optionally handle the temp-case.
5874 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5875 (ns-insert-file, ns-find-file): Use `pop'.
5877 2010-10-26 Glenn Morris <rgm@gnu.org>
5879 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5881 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
5883 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5885 * term/common-win.el (x-setup-function-keys): Remove most of the
5886 keymappings. Comment on the remaining ones.
5888 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
5890 * server.el (server-port): New option. (Bug#854)
5891 (server-start): Use server-port.
5893 2010-10-26 Glenn Morris <rgm@gnu.org>
5895 * term/ns-win.el (ns-version-string): Remove unused declaration.
5896 (ns-invocation-args): Change to x-invocation-args.
5897 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5898 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5899 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5900 Use x-invocation-args instead of ns-invocation-args.
5901 (ns-initialize-window-system, handle-args-function-alist):
5902 Use x-handle-args instead of ns-handle-args.
5903 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5904 * startup.el (command-line-ns-option-alist): Replace
5905 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5906 ns-handle-iconic with the x- equivalents.
5908 * term/common-win.el (x-select-enable-clipboard):
5909 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5911 * term/ns-win.el: No need to require cl when compiling.
5912 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5913 (xw-defined-colors): Use the common-win definitions.
5914 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5915 (ns-handle-iconic): Make it an alias for x-handle-iconic.
5916 * term/common-win.el (x-select-text, x-alternatives-map)
5917 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5918 * loadup.el [ns]: Load common-win.
5920 2010-10-26 Daiki Ueno <ueno@unixuser.org>
5922 * epa-mail.el (epa-mail-encrypt): Handle local-part only
5923 recipients; expand mail aliases (Bug#7280).
5925 2010-10-25 Glenn Morris <rgm@gnu.org>
5927 * term/common-win.el (x-handle-switch): Simplify with pop.
5928 Optionally handle numeric switches.
5929 (x-handle-numeric-switch): Just call x-handle-switch.
5930 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5931 (x-handle-name-switch, x-handle-display, x-handle-args):
5934 * term/ns-win.el: Do not require easymenu.
5935 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5936 <spell>: Move adjustments to menu-bar.el.
5937 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5938 <separator-undo, spell>: Move ns-win's adjustments here.
5939 * loadup.el [ns]: Do not load easymenu.
5941 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5943 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5946 * startup.el (fancy-startup-tail): Instead of using inline images,
5947 refer to image files from etc/.
5949 * wid-edit.el (checkbox): Likewise.
5950 (widget-image-find): Center image specs.
5952 2010-10-24 Glenn Morris <rgm@gnu.org>
5954 * term/ns-win.el (x-select-text): Doc fix.
5955 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5956 (x-select-text): Move to term/common-win.
5957 * term/w32-win.el (xw-defined-colors): Move to common-win.
5958 * term/x-win.el (xw-defined-colors, x-alternatives-map)
5959 (x-setup-function-keys, x-select-text): Move to common-win.
5960 * term/common-win.el (x-select-text, x-alternatives-map)
5961 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5964 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
5966 * net/mairix.el (mairix-searches-mode-map):
5967 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5969 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
5971 * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5972 auto-built for efficiency of execution and updating.
5973 (verilog-extended-complete-re): Support 'pure' fucntion & task
5974 declarations (these have no bodies).
5975 (verilog-beg-of-statement): General cleanup to enable support of
5976 'pure' fucntion & task declarations (these have no bodies).
5977 These efforts together fix Verilog bug210 from veripool; which was also
5978 noticed by Steve Pearlmutter.
5979 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5980 (verilog-directive-nest-re, verilog-set-auto-endcomments):
5981 Support `elsif. Reported by Shankar Giri.
5982 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5983 attribute handling for lining up declarations and assignments.
5984 (verilog-beg-of-statement-1): Fix issue where continued declaration
5985 is indented differently if it is after a begin..end clock.
5986 (verilog-in-attribute-p, verilog-skip-backward-comments)
5987 (verilog-skip-forward-comment-p): Support proper treatment of
5988 attributes by indent code. Reported by Jeff Steele.
5989 (verilog-in-directive-p): Fix comment to correctly describe function.
5990 (verilog-backward-up-list, verilog-in-struct-region-p)
5991 (verilog-backward-token, verilog-in-struct-p)
5992 (verilog-in-coverage-p, verilog-do-indent)
5993 (verilog-pretty-declarations): Use verilog-backward-up-list as
5994 wrapper around backward-up-list inorder to properly skip comments.
5995 Reported by David Rogoff.
5996 (verilog-property-re, verilog-endcomment-reason-re)
5997 (verilog-beg-of-statement, verilog-set-auto-endcomments)
5998 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5999 of if). Reported by Max Bjurling and
6000 (verilog-calc-1): Fix for clocking block in modport
6001 declaration. Reported by Brian Hunter.
6003 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
6005 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
6006 (verilog-gate-keywords, verilog-read-sub-decls)
6007 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
6008 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
6009 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
6010 (verilog-read-decls): Fix spaces in V2K module parameters causing
6011 mis-identification as interfaces, bug287.
6012 (verilog-read-decls): Fix not treating "parameter string" as a
6013 parameter in AUTOINSTPARAM.
6014 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
6015 treating `elsif similar to `endif inside AUTOSENSE.
6016 (verilog-do-indent): Implement correct automatic or static task or
6017 function end comment highlight. Reported by Steve Pearlmutter.
6018 (verilog-font-lock-keywords-2): Fix highlighting of single
6019 character pins, bug264. Reported by Michael Laajanen.
6020 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
6021 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
6022 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
6023 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
6024 (verilog-pretty-expr): Fix interactive arguments, bug272.
6025 Reported by Mark Johnson.
6026 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
6027 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
6028 bug269. Suggested by Gary Delp.
6029 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
6030 (verilog-preprocessor, verilog-set-compile-command):
6031 Create verilog-preprocess and verilog-preprocessor to show
6032 preprocessed output.
6033 (verilog-get-beg-of-line, verilog-get-end-of-line)
6034 (verilog-modi-file-or-buffer, verilog-modi-name)
6035 (verilog-modi-point, verilog-within-string): Move defmacro's
6036 before first use to avoid warning. Reported by Steve Pearlmutter.
6037 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
6038 (verilog-colorize-region, verilog-highlight-buffer)
6039 (verilog-highlight-includes, verilog-highlight-modules)
6040 (verilog-highlight-region, verilog-mode): Rename colorize to
6041 highlight to match other packages. Disable module highlighting,
6042 as received speed complaints, reenable for experimentation only
6043 using new verilog-highlight-modules.
6044 (verilog-read-decls): Fix regexp stack overflow in very large
6045 AUTO_TEMPLATEs, bug250.
6046 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
6047 (verilog-scan): Create verilog-save-buffer-state to standardize
6048 making insignificant changes that shouldn't call hooks.
6049 (verilog-save-no-change-functions, verilog-save-scan-cache)
6050 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
6051 Create verilog-save-no-change-functions to wrap verilog-scan
6052 preservation, and fix to work with nested preserved calls.
6053 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
6054 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
6055 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
6056 (verilog-submit-bug-report): Update variable list to be complete.
6057 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
6058 breaking on-the-fly font-locking.
6059 (verilog-colorize-buffer, verilog-colorize-include-files)
6060 (verilog-colorize-include-files-buffer, verilog-colorize-region)
6061 (verilog-load-file-at-mouse, verilog-load-file-at-point)
6062 (verilog-mode, verilog-read-inst-module-matcher): With point on a
6063 AUTOINST cell instance name, middle mouse button now finds-file on
6064 it. Suggested by Brad Dobbie.
6065 (verilog-alw-get-temps, verilog-auto-reset)
6066 (verilog-auto-sense-sigs, verilog-read-always-signals)
6067 (verilog-read-always-signals-recurse): Fix loop indexes being
6068 AUTORESET. AUTORESET now assumes any variables in the
6069 initialization section of a for() should be ignored.
6070 Reported by Dan Dever.
6071 (verilog-error-font-lock-keywords)
6072 (verilog-error-regexp-emacs-alist)
6073 (verilog-error-regexp-xemacs-alist): Fix error detection of
6074 Cadence HAL, reported by David Asher. Repair drift between the
6075 three similar error variables.
6076 (verilog-modi-lookup, verilog-modi-lookup-cache)
6077 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
6078 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
6079 Fix slow verilog-auto expansion on very large files.
6080 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
6081 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
6082 "{1*2{...". Broke in last revision.
6083 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
6084 submodule connections with replications "{#{a},#{b}}".
6086 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
6088 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
6089 Fix typo in docstring.
6091 2010-10-24 Kenichi Handa <handa@m17n.org>
6093 * face-remap.el (text-scale-adjust): Call read-event with a proper
6096 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6098 * emacs-lisp/unsafep.el: Don't mark functions that display
6099 messages as safe. Suggested by Johan Bockgård.
6101 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6103 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
6104 Turn comments into docstrings.
6106 * minibuffer.el (completion--replace): Move point where it belongs
6107 when there's a common suffix (bug#7215).
6109 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6111 Merge read-color and facemenu-read-color (Bug#7242).
6113 * faces.el (read-color): Use the completion code from
6114 facemenu-read-color. Require match in completion. Doc fix.
6116 * facemenu.el (facemenu-read-color): Alias for read-color.
6117 (facemenu-set-foreground, facemenu-set-background):
6120 * frame.el (set-background-color, set-foreground-color)
6121 (set-cursor-color, set-mouse-color, set-border-color):
6124 2010-10-24 Leo <sdl.web@gmail.com>
6126 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
6127 argument of delete-file and delete-directory (Bug#7011).
6129 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6131 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
6134 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
6136 * emacs-lisp/package.el (package--generate-package-list): Make the
6137 *Packages* buffer read-only.
6139 2010-10-24 Alan Mackenzie <acm@muc.de>
6141 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
6142 result of `c-beginning-of-decl-1' between invocations of a lambda
6143 function (Bug #7265).
6145 2010-10-24 Daiki Ueno <ueno@unixuser.org>
6147 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
6148 executable is not available on the system (Bug#7268).
6150 2010-10-24 Glenn Morris <rgm@gnu.org>
6152 * select.el (selection-coding-system, next-selection-coding-system):
6153 Sync doc with C versions.
6155 * w32-vars.el (x-select-enable-clipboard):
6156 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
6157 * term/common-win.el (x-select-enable-clipboard): Move here.
6159 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
6160 definition of C variable.
6162 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
6163 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
6164 Don't redefine things that are defined in C.
6165 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
6166 (show-trailing-whitespace, auto-hscroll-mode)
6167 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
6168 Set up the appropriate custom properties.
6170 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6173 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
6174 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
6175 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
6176 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
6178 2010-10-23 Glenn Morris <rgm@gnu.org>
6180 * textmodes/flyspell.el (flyspell-mode): If there was an error,
6183 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
6184 Sync docs with C version.
6186 * term/ns-win.el (xw-defined-colors):
6187 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
6189 * term/pc-win.el (x-select-enable-clipboard):
6190 * term/x-win.el (x-select-enable-clipboard):
6191 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
6193 * comint.el (comint-password-prompt-regexp): Make it less vague.
6196 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
6198 * help.el (finder-by-keyword): Remove unnecessary autoload.
6200 2010-10-22 Glenn Morris <rgm@gnu.org>
6202 * loadup.el: Unconditionally load float-sup.
6203 * paren.el (show-paren-delay):
6204 * emacs-lisp/float-sup.el:
6205 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
6206 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
6207 (lazy-lock-stealth-verbose): Assume float support.
6208 * ps-print.el: Assume float support on Emacs.
6209 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
6210 Remove non-float branch.
6212 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
6213 src/Makefile no longer being pre-processed.
6215 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6217 * emacs-lisp/find-func.el (find-library): Use test-completion.
6219 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6221 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
6223 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
6225 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
6226 space in stat format string.
6227 (tramp-send-command): Unset $PS1 when using here documents, in
6228 order not to get several prompts.
6229 (tramp-get-inline-coding): Return `nil' in case of errors.
6231 2010-10-21 Daiki Ueno <ueno@unixuser.org>
6233 * hexl.el (hexl-mode, hexl-mode-exit):
6234 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
6235 (hexl-revert-buffer-function): New function.
6236 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
6238 2010-10-19 Alan Mackenzie <acm@muc.de>
6240 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
6241 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
6242 that these keywords aren't wrongly matched as identifiers.
6244 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
6245 setting of c-new-BEG and c-new-END from c-before-change to
6246 c-after-change. (Bug#7181)
6248 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
6250 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
6253 * custom.el (custom-theme-set-variables): Likewise.
6254 (load-theme): Add custom-theme-set-faces and
6255 custom-theme-set-variables to safe-functions while loading.
6256 (custom-enabled-themes): Mark as risky.
6258 2010-10-18 Julien Danjou <julien@danjou.info>
6260 * bindings.el: Remove end dashes in default mode-line-format.
6262 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
6264 * bindings.el (global-map): Bind C-d to delete-char and deletechar
6265 to delete-forward-char.
6267 * simple.el (normal-erase-is-backspace-mode): Remap delete to
6268 deletechar, and hence delete-forward-char.
6270 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6272 * repeat.el (repeat): Use read-key (bug#6256).
6274 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
6276 * emacs-lisp/unsafep.el: Don't mark functions that display
6277 messages as safe. Suggested by Johan Bockgård.
6279 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6281 * minibuffer.el (completion--replace): Move point where it belongs
6282 when there's a common suffix (bug#7215).
6284 2010-10-19 Kenichi Handa <handa@m17n.org>
6286 * international/characters.el: Add category '|' (word breakable)
6287 to fullwidth characters.
6289 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
6291 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
6292 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
6293 order to make stat results a float. Patch by Andreas Schwab
6294 <schwab@linux-m68k.org>.
6296 2010-10-18 Julien Danjou <julien@danjou.info>
6298 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
6299 hidden by `make-pointer-invisible'.
6301 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6303 * files.el (locate-file-completion-table): Strip non-matching elements
6304 before checking length of list (bug#7238).
6306 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
6308 * custom.el (custom-theme-set-variables): Mark as a safe function.
6309 (load-theme): Check forms using unsafep.
6311 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
6313 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
6315 * textmodes/ispell.el (ispell-aspell-find-dictionary):
6316 Fix aspell data file searching (bug#7230).
6318 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6320 * cus-theme.el (custom-theme--migrate-settings): New var.
6321 (customize-create-theme): Allow editing the `user' theme.
6322 (custom-theme-add-variable, custom-theme-add-var-1)
6323 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
6324 to the front of each variable or face widget.
6325 (custom-theme-write): Save theme settings in the correct order.
6326 Optionally, remove saved settings from user customizations.
6327 (custom-theme-write-variables, custom-theme-write-faces):
6328 Save only the checked widgets.
6329 (customize-themes): Add a link for migrating custom settings.
6331 * custom.el (custom-declare-theme, provide-theme):
6332 Use custom-theme-name-valid-p.
6333 (custom-theme-name-valid-p): Remove checks that are now
6334 unnecessary since themes no longer obey load-path.
6336 * cus-edit.el (custom-variable-value-create): For the simple
6337 style, hide documentation string when hidden.
6339 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6341 * cus-edit.el (custom-variable, custom-face): Combine the
6342 :inhibit-magic and :display-style properties into a single
6343 :custom-style property.
6344 (custom-toggle-hide-variable, custom-toggle-hide-face):
6345 New functions. If hiding an edited value, save it to :shown-value.
6346 (custom-variable-value-create, custom-face-value-create): Use them.
6347 (custom-magic-reset): Allow magic property to be unset.
6349 * custom.el: Custom themes no longer use load-path.
6350 (custom-theme-load-path): New option. Change built-in theme
6352 (custom-enabled-themes): Add custom-theme-load-path dependency.
6353 (custom-theme--load-path): New function.
6354 (load-theme, custom-available-themes): Use it.
6356 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
6357 (customize-themes): Link to custom-theme-load-path variable.
6358 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
6359 :custom-style property.
6361 * themes/*.el: Moved to etc/.
6363 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
6365 * textmodes/reftex-cite.el
6366 (reftex-extract-bib-entries-from-thebibliography): Do not move
6367 point when searching for \bibitem entries. Match entries with
6368 spaces or tabs in front of arguments.
6370 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6372 * cus-theme.el (customize-create-theme): Delete overlays after
6373 erasing. If given a THEME arg, display only the faces of that arg
6374 instead of custom-theme--listed-faces.
6375 (custom-theme-variable-menu, custom-theme-variable-action)
6376 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
6377 (custom-theme-add-variable, custom-theme-add-face): Apply value
6378 from the theme settings, instead of the current value.
6379 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
6380 (custom-theme-visit-theme): Allow calling outside theme buffers.
6381 (custom-theme-merge-theme): Don't enable the theme when merging.
6382 (custom-theme-write-variables, custom-theme-write-faces): Use the
6383 :shown-value properties to save buffer values, not global ones.
6384 (customize-themes): Display a warning about user customizations.
6386 * cus-edit.el (custom-variable-value-create)
6387 (custom-face-value-create): Obey new special properties
6388 :shown-value and :inhibit-magic.
6390 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
6392 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6393 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
6396 2010-10-14 Kenichi Handa <handa@m17n.org>
6398 * mail/rmail.el (rmail-show-message-1): Catch an error of
6399 base64-decode-region and just show an error message (bug#7165).
6401 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
6402 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
6403 a font-spec (bug#7197).
6405 2010-10-14 Glenn Morris <rgm@gnu.org>
6407 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
6409 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
6411 * international/mule.el (define-coding-system):
6412 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
6413 * composite.el (compose-region): Fix typo in docstring.
6415 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
6417 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
6418 only after checking the theme-face property.
6420 * faces.el (face-spec-reset-face): Reset all attributes in one
6421 single call to set-face-attribute.
6422 (face-spec-match-p): Make it a defsubst.
6423 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
6424 (x-create-frame-with-faces, tty-create-frame-with-faces)
6425 (tty-set-up-initial-frame-faces): Don't recompute face specs in
6426 frame-set-background-mode, since they are recomputed immediately
6427 afterwards in face-set-after-frame-default.
6428 (face-set-after-frame-default): Minor optimization.
6429 (cursor): Provide non-trivial defface spec.
6431 * custom.el (custom-theme-recalc-face): Simplify.
6433 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
6435 * calc/calc-alg.el (math-var): Rename from `var'.
6436 (math-is-polynomial, math-is-poly-rec): Replace `var'
6439 * calc/calcalg2.el (math-var): Rename from `var'.
6440 (calcFunc-table, math-scan-for-limits): Replace `var'
6443 2010-10-13 Glenn Morris <rgm@gnu.org>
6445 * subr.el (last): Deal with dotted lists (reported in bug#7174).
6447 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
6449 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
6451 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6453 * net/tls.el (tls-program): Remove spurious %s from openssl.
6454 (tls-starttls-switches): Remove starttls hack.
6455 (open-tls-stream): Ditto.
6456 (tls-find-starttls-argument): Ditto.
6458 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
6460 * image.el (image-library-alist): Declare as obsolete alias.
6461 (image-type-available-p): Use `dynamic-library-alist'.
6463 * term/w32-win.el (dynamic-library-alist):
6464 Use instead of `image-library-alist'.
6466 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
6468 * subr.el (last): Make it faster. (Bug#7174)
6470 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
6472 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
6474 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6476 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
6477 (describe-theme-1): Extract doc from unloaded themes.
6479 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
6481 * themes/tango-theme.el:
6482 * themes/tango-dark-theme.el:
6483 * themes/wheatgrass-theme.el: New files.
6485 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6487 * cus-theme.el (describe-theme, customize-themes)
6488 (custom-theme-save): New commands.
6489 (custom-new-theme-mode-map): Bind C-x C-s.
6490 (custom-new-theme-mode): Use custom--initialize-widget-variables.
6491 (customize-create-theme): New optional arg THEME.
6492 (custom-theme-revert): Use it.
6493 (custom-theme-visit-theme): Remove dead code.
6494 (custom-theme-merge-theme): Use custom-available-themes.
6495 (custom-theme-write): Make interactive.
6496 (custom-theme-write): Use custom-theme-name-valid-p.
6497 (describe-theme-1, custom-theme-choose-revert)
6498 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
6500 (custom-theme-allow-multiple-selections): New option.
6501 (custom-theme-choose-mode): New major mode.
6503 * custom.el (custom-theme-set-variables): Remove dead code.
6504 Obey custom--inhibit-theme-enable.
6505 (custom--inhibit-theme-enable): New var.
6506 (provide-theme): Obey it.
6507 (load-theme): Replace load with manual read/eval, in order to
6508 check for correctness. Use custom-theme-name-valid-p.
6509 (custom-theme-name-valid-p): New function.
6510 (custom-available-themes): Use it.
6512 * cus-edit.el (custom--initialize-widget-variables): New function.
6513 (Custom-mode): Use it.
6515 * cus-face.el (custom-theme-set-faces): Remove dead code.
6516 Obey custom--inhibit-theme-enable.
6518 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
6520 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
6522 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
6524 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
6526 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
6527 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
6528 (mac-right-option-modifier): New alias for ns-right-option-modifier.
6530 * cus-start.el (all): ns-right-alternate-modifier is new.
6532 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6534 * emacs-lisp/lisp.el (lisp-completion-at-point):
6535 Use emacs-lisp-mode-syntax-table for the whole function.
6537 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
6539 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
6540 instead of font-lock-mode before adding keywords.
6541 Remove hi-lock-mode off code. Remove inhibit hack.
6542 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
6543 non-nil; removed hook inhibit hack.
6545 2010-10-12 Glenn Morris <rgm@gnu.org>
6547 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
6548 (load-path-shadows-find): ... to this.
6549 (list-load-path-shadows): Update for above change.
6551 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
6553 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
6555 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
6556 Fix comment for declare-function.
6558 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
6560 * custom.el (custom-fix-face-spec): New function; code moved from
6561 custom-face-edit-fix-value.
6562 (custom-push-theme): Use it when checking if a face has been
6563 changed outside customize.
6564 (custom-available-themes): New function.
6565 (load-theme): Use it.
6567 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
6569 * custom.el (custom-push-theme): Cleanup (use cond).
6570 (disable-theme): Recompute the saved-face property.
6571 (custom-theme-recalc-face): Follow face alias before setting prop.
6573 * image.el (image-checkbox-checked, image-checkbox-unchecked):
6574 New variables, containing checkbox images.
6576 * startup.el (fancy-startup-tail):
6577 * wid-edit.el (checkbox): Use them.
6579 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
6581 * shell.el (shell-mode-map):
6582 * progmodes/modula2.el (m2-mode-map):
6583 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
6584 * play/mpuz.el (mpuz-mode-map):
6585 * play/landmark.el (lm-mode-map):
6586 * play/decipher.el (decipher-mode-map):
6587 * play/5x5.el (5x5-mode-map):
6588 * net/telnet.el (telnet-mode-map):
6589 * net/quickurl.el (quickurl-list-mode-map):
6590 * net/mairix.el (mairix-searches-mode-map):
6591 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
6592 * net/dig.el (dig-mode-map):
6593 * mail/mspools.el (mspools-mode-map):
6594 * hexl.el (hexl-mode-map):
6595 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
6596 (wordstar-C-o-map, wordstar-C-q-map):
6597 * emacs-lisp/edebug.el (edebug-eval-mode-map):
6598 * emacs-lisp/chart.el (chart-map):
6599 * edmacro.el (edmacro-mode-map):
6600 * erc/erc-list.el (erc-list-menu-mode-map):
6601 * array.el (array-mode-map): Declare and define in one step.
6603 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
6605 2010-10-10 Daiki Ueno <ueno@unixuser.org>
6607 * epa.el (epa-passphrase-callback-function): Display filename
6608 passed as the 3rd arg.
6609 * epa-file.el (epa-file-passphrase-callback-function):
6610 Pass filename to epa-passphrase-callback-function.
6612 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
6614 * cus-edit.el (custom-face-widget-to-spec)
6615 (custom-face-get-current-spec, custom-face-state): New functions.
6616 (custom-face-set, custom-face-mark-to-save)
6617 (custom-face-value-create, custom-face-state-set): Use them.
6619 * cus-theme.el (custom-theme--listed-faces): New var.
6620 (customize-create-theme): Use *Custom Theme* as the buffer name.
6621 Set revert-buffer-function. Optional arg BUFFER. Insert all
6622 faces listed in custom-theme--listed-faces.
6623 (custom-theme-revert): New function.
6624 (custom-theme-add-variable, custom-theme-add-face): Insert at the
6626 (custom-theme-write): Prompt for theme name if empty.
6627 (custom-theme-write-variables): Use dolist.
6628 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
6630 2010-10-09 Alan Mackenzie <acm@muc.de>
6632 Enhance fontification of declarators to take account of the
6633 presence/absence of "typedef".
6635 * cc-engine.el (c-forward-type): New &optional param
6637 (c-forward-decl-or-cast-1): cdr of return value now indicates the
6638 presence of either or both of a "struct"-like keyword and "typedef".
6640 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
6641 fontification of declarators which follow a "}".
6642 (c-font-lock-declarations): Fontify declarators according to the
6643 presence/absence of "typedef".
6645 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
6647 (c-typedef-decl-key): New lang variable built from
6648 c-typedef-decl-kwds.
6650 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
6652 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
6653 since that's too annoying. Move the filter groups commands to
6656 * epa.el (epa-passphrase-callback-function): Say what we're
6657 querying the password for.
6659 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
6660 behaviour, don't bury the ibuffer buffer when visiting other buffers.
6662 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6664 * cus-edit.el (custom-commands, custom-buffer-create-internal)
6665 (custom-magic-value-create): Pad button tags with spaces.
6666 (custom-face-edit): New variable.
6667 (custom-face-value-create): Determine whether to use the usual
6668 face editor here, instead of using custom-face-selected.
6669 Pass face defaults to custom-face-edit widget.
6670 (custom-face-selected, custom-display-unselected): Delete widgets.
6671 (custom-display-unselected-match): Function removed.
6672 (custom-face-set, custom-face-mark-to-save):
6673 Accept custom-face-edit widgets as the direct widget child.
6675 * wid-edit.el (widget--completing-widget): New var.
6676 (widget-default-complete): Bind it when doing completion.
6677 (widget-string-complete, widget-file-complete): Use it.
6679 2010-10-09 Glenn Morris <rgm@gnu.org>
6681 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
6682 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
6683 (holiday-hebrew-misc): Small simplifications.
6685 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
6687 * net/browse-url.el: Don't require thingatpt, term, dired,
6688 executable, or w3-auto when compiling.
6689 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
6691 (browse-url-text-emacs): Require term.
6693 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
6695 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
6697 2010-10-08 Glenn Morris <rgm@gnu.org>
6699 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
6701 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
6702 (shadows-compare-text-p): Make it an obsolete alias for...
6703 (load-path-shadows-compare-text): ... new name.
6704 (find-emacs-lisp-shadows): Update for above name change.
6705 (load-path-shadows-same-file-or-nonexistent): New name for the old
6706 shadow-same-file-or-nonexistent.
6708 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6710 * minibuffer.el (completion--some, completion--do-completion)
6711 (minibuffer-complete-and-exit, minibuffer-completion-help)
6712 (completion-basic-try-completion)
6713 (completion-basic-all-completions)
6714 (completion-pcm--find-all-completions): Use lexical-let to
6715 avoid some false matches in variable completion (Bug#7056)
6717 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
6719 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
6721 2010-10-08 Leo <sdl.web@gmail.com>
6723 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
6724 return non-nil if the file exists (Bug#7090).
6726 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6728 * minibuffer.el (completion--replace):
6729 Better preserve markers (bug#7138).
6731 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
6733 * server.el (server-process-filter): Doc fix.
6735 2010-10-08 Drew Adams <drew.adams@oracle.com>
6737 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
6739 2010-10-08 Glenn Morris <rgm@gnu.org>
6741 * vc/ediff-wind.el (ediff-setup-control-frame):
6742 * vc/ediff-ptch.el (ediff-default-backup-extension):
6743 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
6744 (ediff-exec-process): Remove system-types emx, windows-95.
6746 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
6748 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
6750 * cus-edit.el (custom-variable, custom-face): Doc fix.
6751 (custom-face-edit): Add value-create attribute.
6752 (custom-face-edit-value-create)
6753 (custom-face-edit-value-visibility-action): New functions.
6754 Hide unused face attributes by default, and add a visibility toggle.
6755 (custom-face-edit-deactivate): Show empty values with shadow face.
6756 (custom-face-selected): Only use this for face specs with default
6758 (custom-face-value-create): Cleanup.
6760 * wid-edit.el (widget-checklist-value-create): Use dolist.
6761 (widget-checklist-match-find): Make second arg optional.
6763 2010-10-07 Glenn Morris <rgm@gnu.org>
6765 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
6768 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
6769 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
6770 load-path-shadows-mode, update references.
6771 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
6772 Rename variable and button.
6773 (list-load-path-shadows): Update button caller.
6775 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6777 * emacs-lisp/smie.el (smie-bnf-classify): New function.
6778 (smie-bnf-precedence-table): Use it to remember the closers/openers.
6779 (smie-merge-prec2s): Handle those new entries.
6780 (smie-prec2-levels): Only set precedence to nil for actual
6782 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
6783 that is now unnecessary.
6785 2010-10-07 Miles Bader <miles@gnu.org>
6787 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
6789 2010-10-07 Glenn Morris <rgm@gnu.org>
6791 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6792 (mail-position-on-field): Remove declarations.
6793 (mail-position-on-field): Autoload it.
6794 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6795 and mail-header-end. Don't require sendmail.
6797 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6798 (shadow-mode): New mode.
6799 (shadow-find-file): New button.
6800 (list-load-path-shadows): Use shadow-mode and buttons.
6802 * iimage.el (iimage-version): Remove.
6803 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6804 Turn into defcustoms.
6805 (iimage-mode-map): Give it a doc string.
6807 * calendar/appt.el (appt-activate): Give a warning rather than an error
6808 if there is no diary-file.
6810 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
6812 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6813 Use `tramp-handle-find-backup-file-name'.
6815 2010-10-06 Glenn Morris <rgm@gnu.org>
6817 * font-core.el (font-lock-defaults-alist): Remove variable.
6818 (font-lock-mode): Doc fix.
6819 (font-lock-default-function): Do not consult font-lock-defaults-alist.
6820 * font-lock.el (font-lock-refresh-defaults): Doc fix.
6821 (font-lock-set-defaults): Doc fix.
6822 Do not consult font-lock-defaults-alist.
6824 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6826 * emacs-lisp/cl.el: No longer provide cl-19.
6828 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
6830 * net/tramp.el (tramp-handle-directory-files-and-attributes)
6831 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6832 New defuns, taken from tramp-smb.el.
6833 (tramp-coding-system-change-eol-conversion)
6834 (tramp-set-process-query-on-exit-flag): Remove.
6836 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6837 (tramp-compat-coding-system-change-eol-conversion)
6838 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6841 * net/tramp-gvfs.el:
6842 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6843 by `tramp-compat-set-process-query-on-exit-flag'.
6845 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6846 Use `tramp-handle-directory-files-and-attributes',
6847 `tramp-handle-file-exists-p' and
6848 `tramp-handle-file-newer-than-file-p'.
6849 (tramp-imap-handle-file-exists-p)
6850 (tramp-imap-handle-file-executable-p)
6851 (tramp-imap-handle-file-readable-p)
6852 (tramp-imap-handle-directory-files-and-attributes)
6853 (tramp-imap-handle-file-newer-than-file-p): Remove.
6855 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6856 by `tramp-compat-set-process-query-on-exit-flag' and
6857 `tramp-coding-system-change-eol-conversion' by
6858 `tramp-compat-coding-system-change-eol-conversion'.
6860 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6861 Use `tramp-handle-directory-files-and-attributes',
6862 `tramp-handle-file-exists-p' and
6863 `tramp-handle-file-newer-than-file-p'.
6864 (tramp-smb-handle-directory-files-and-attributes)
6865 (tramp-smb-handle-file-exists-p)
6866 (tramp-smb-handle-file-newer-than-file-p): Remove.
6867 (tramp-smb-maybe-open-connection):
6868 Replace `tramp-set-process-query-on-exit-flag' by
6869 `tramp-compat-set-process-query-on-exit-flag'.
6871 2010-10-05 Glenn Morris <rgm@gnu.org>
6873 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6875 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
6877 Continue reorganization of load dependencies. (Bug#7156)
6879 * net/tramp.el (tramp-handle-file-local-copy-hook)
6880 (tramp-delete-temp-file-function): Move down.
6881 (tramp-exists-file-name-handler): Move up.
6882 (tramp-register-file-name-handlers): Simplify autoload.
6883 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6884 (tramp-handle-directory-files, tramp-handle-dired-uncache)
6885 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6886 (tramp-handle-file-name-completion)
6887 (tramp-handle-file-name-directory)
6888 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6889 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6890 (tramp-handle-find-backup-file-name)
6891 (tramp-handle-insert-file-contents, tramp-handle-load)
6892 (tramp-handle-substitute-in-file-name)
6893 (tramp-handle-unhandled-file-name-directory)
6894 (tramp-mode-string-to-int, tramp-local-host-p)
6895 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6897 * net/tramp-gvfs.el (top):
6898 * net/tramp-smb.el (top): Do not require 'tramp-sh.
6900 * net/tramp-sh.el (all): Move several objects to tramp.el, see
6901 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6903 2010-10-04 Glenn Morris <rgm@gnu.org>
6905 * calendar/appt.el (appt-add): Ensure reminders are enabled.
6906 (appt-activate): Give status messages.
6908 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6910 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
6911 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6912 `gnutls-negotiate' (formerly `starttls-negotiate').
6913 Remove trivial wrapper `starttls-open-stream'.
6915 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
6917 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6918 log-outgoing commands.
6919 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6920 to create a buffer local revert-buffer-function variable.
6921 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6922 revert-buffer-function lambda.
6924 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6926 * net/gnutls.el (starttls-negotiate): Use the plist interface to
6927 `gnutls-boot'. Make TYPE the only required parameter.
6928 Allow TRUSTFILES and KEYFILES to be lists.
6929 (open-ssl-stream): Use it.
6931 2010-10-03 Glenn Morris <rgm@gnu.org>
6933 * subr.el (directory-sep-char): Remove obsolete variable.
6934 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6937 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6938 * vc/vc.el (vc-static-header-alist): Doc fix.
6939 * vc/vc-cvs.el (vc-cvs-header):
6940 * vc/vc-rcs.el (vc-rcs-header):
6941 * vc/vc-sccs.el (vc-sccs-header):
6942 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6943 * obsolete/vc-mcvs.el (vc-mcvs-header):
6944 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6947 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6949 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6950 Remove obsolete use of binary-overwrite-mode (Bug#7001).
6952 2010-10-03 Glenn Morris <rgm@gnu.org>
6954 * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6956 * textmodes/rst.el (rst-font-lock-keywords-function):
6959 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6961 * printing.el: Drop Emacs 20 code.
6963 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6964 without having used appt.el already).
6966 * subr.el (make-local-hook): Remove function obsolete since 21.1.
6967 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6968 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6970 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6971 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6973 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6974 (charset-width, find-charset-region, chars-in-region, forward-point)
6975 (encode-coding-string, coding-system-p, ccl-execute-on-string)
6976 (define-ccl-program, multibyte-string-p, string-make-multibyte):
6977 Remove compatibility cruft (none of these are used by ps*.el).
6979 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6981 * subr.el (booleanp): Return t instead of a list (Bug#7086).
6983 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6985 * server.el (server-process-filter, server-return-error):
6986 Give emacsclient time to shut down after receiving an error string.
6988 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
6990 * files.el (remote-file-name-inhibit-cache): New defcustom.
6992 * time.el (display-time-file-nonempty-p):
6993 Use `remote-file-name-inhibit-cache'.
6995 * net/tramp.el (tramp-completion-reread-directory-timeout):
6998 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6999 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
7000 `remote-file-name-inhibit-cache'. Check also for an integer
7001 value. Add/increase counter when `tramp-verbose' >= 10.
7002 (tramp-set-file-property): Add/increase counter when
7003 `tramp-verbose' >= 10.
7005 * net/tramp-cmds.el (tramp-cleanup-all-connections)
7006 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
7007 (tramp-bug): Set tramp-autoload cookie. Report all interned
7008 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
7009 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
7010 characters only in strings.
7012 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
7013 to backward compatibility.
7015 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
7016 (tramp-handle-file-name-all-completions)
7017 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
7018 (tramp-open-connection-setup-interactive-shell):
7019 Call `tramp-cleanup-connection' directly.
7021 2010-10-02 Glenn Morris <rgm@gnu.org>
7023 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
7025 * subr.el (char-bytes): Remove obsolete function.
7027 * isearch.el (isearch-return-char): Remove obsolete function.
7029 * mouse.el: No longer provide mldrag.
7030 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
7031 Remove obsolete aliases.
7033 * comint.el (comint-kill-output): Remove obsolete alias.
7035 * composite.el (decompose-composite-char): Remove obsolete function.
7036 * ps-def.el (decompose-composite-char): Remove unused function.
7038 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
7040 * outline.el (outline-visible): Remove obsolete function.
7042 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
7043 * faces.el (internal-find-face, internal-get-face)
7044 (frame-update-faces, frame-update-face-colors)
7045 (x-frob-font-weight, x-frob-font-slant)
7046 (internal-frob-font-weight, internal-frob-font-slant)
7047 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
7048 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
7049 (x-make-font-bold-italic): Remove functions and aliases, obsolete
7051 * emulation/viper-util.el (viper-get-face):
7052 * obsolete/lucid.el (find-face, get-face): Use facep.
7053 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
7054 Remove unused functions.
7055 * vc/ediff-util.el (ediff-submit-report): Doc fix.
7057 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
7058 delete tempfile if interrupted during compilation.
7060 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7062 * net/tls.el (tls-starttls-switches): Give up on using starttls with
7064 (tls-program): Add --insecure to be consistent with the defaults from
7065 openssl s_client. Now all three commands are insecure.
7067 2010-10-01 Eli Zaretskii <eliz@gnu.org>
7069 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
7070 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
7071 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
7073 2010-10-01 Glenn Morris <rgm@gnu.org>
7075 * obsolete/sc.el: Remove file.
7077 * files.el (temporary-file-directory): On darwin, also try
7078 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
7080 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
7082 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
7083 Let's not break compatibility gratuitously, shall we?
7085 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7087 * net/tls.el (tls-starttls-switches): New variable.
7088 (tls-find-starttls-argument): Use it.
7089 (open-tls-stream): Ditto.
7091 * net/netrc.el (netrc-credentials): Return the value of the "default"
7093 (netrc-machine): Ditto.
7095 2010-09-30 Eli Zaretskii <eliz@gnu.org>
7097 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
7099 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
7101 * server.el (server-start): Don't write pid to the authentication file.
7102 (server-create-tty-frame): Don't send pid.
7103 (server-process-filter): Send pid at the start of every connection.
7105 2010-09-30 Glenn Morris <rgm@gnu.org>
7107 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
7108 (show-all-diary-entries): Remove obsolete function aliases.
7110 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
7111 Remove options, obsolete since 22.1.
7112 (appt-display-format, appt-display-message):
7113 Remove backwards-compatibility code.
7114 (appt-check): No longer check appt-issue-message.
7115 (appt-make-list): No longer autoload it. Doc fix. No longer
7116 activate the package.
7118 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7120 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
7121 (starttls-negotiate): Just call boot, and let the handshake be
7122 triggered from the read loop.
7124 2010-09-29 Glenn Morris <rgm@gnu.org>
7126 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
7127 not displaying the diary.
7128 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
7129 * calendar/appt.el (appt-check): No longer need to kill diary.
7131 * calendar/diary-lib.el (diary-list-entries): Move the
7132 "Preparing..." message entirely here.
7133 (diary-simple-display, diary-fancy-display): Move "Preparing..."
7134 messages to diary-list-entries.
7135 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
7136 diary-display-function.
7138 * calendar/diary-lib.el (diary-include-other-diary-files):
7139 Trap some recursive includes.
7141 * calendar/appt.el (appt-activate): Check diary file.
7143 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
7145 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
7148 * calendar/time-date.el: No need to require cl for Emacs 21.
7150 2010-09-28 Glenn Morris <rgm@gnu.org>
7152 * calendar/appt.el (appt-check): Minor simplification.
7154 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
7156 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
7159 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
7161 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7162 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
7164 2010-09-27 Kenichi Handa <handa@m17n.org>
7166 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
7169 2010-09-27 Kenichi Handa <handa@m17n.org>
7171 * international/mule.el (define-coding-system): Docstring fixed.
7173 * international/mule-diag.el (describe-character-set): Use princ
7174 with proper print-length and print-level instead of insert.
7176 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
7178 * window.el (walk-windows): Doc fix (bug#7105).
7180 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7182 * emacs-lisp/float-sup.el (e): Remove.
7184 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
7186 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
7188 (starttls-negotiate): Use it.
7190 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7192 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
7195 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
7197 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
7199 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7201 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
7203 * net/netrc.el (netrc-store-data): New function.
7205 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
7207 * net/gnutls.el: GnuTLS glue code to set up a connection.
7209 2010-09-25 Julien Danjou <julien@danjou.info>
7211 * notifications.el: Call dbus-register-signal only if it is bound.
7213 2010-09-25 Glenn Morris <rgm@gnu.org>
7215 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7216 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
7217 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
7218 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
7219 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
7220 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
7221 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
7222 * eshell/esh-util.el, eshell/esh-var.el:
7223 Remove leading `*' from docs of faces and defcustoms.
7225 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
7227 * eshell/em-ls.el (eshell-ls-archive-regexp):
7228 * eshell/esh-util.el (eshell-tar-regexp):
7229 * ibuffer.el (ibuffer-compressed-file-name-regexp):
7230 * info.el (Info-suffix-list):
7231 * international/mule.el (auto-coding-alist):
7232 * woman.el (woman-file-regexp, woman-file-compression-regexp):
7233 * progmodes/etags.el (tags-compression-info-list):
7234 Support xz compression.
7236 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
7238 * files.el (get-free-disk-space): Don't assume the "df" output
7239 columns line up (Bug#6995).
7241 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
7243 * finder.el (finder-unknown-keywords):
7244 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
7245 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
7247 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
7249 * server.el (server-start): Revert part of 2010-08-08 change. Using
7250 address 127.0.0.1 for local host is now done in Fmake_network_process.
7252 2010-09-24 Glenn Morris <rgm@gnu.org>
7254 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
7255 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
7256 * textmodes/css-mode.el, textmodes/dns-mode.el:
7257 Move autoloaded auto-mode-alist entries to files.el.
7258 * files.el (auto-mode-alist): Move entries here.
7260 2010-09-23 Glenn Morris <rgm@gnu.org>
7262 * isearch.el (isearch-lazy-highlight-cleanup)
7263 (isearch-lazy-highlight-initial-delay)
7264 (isearch-lazy-highlight-interval)
7265 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
7266 * net/net-utils.el (ipconfig-program-options):
7267 Move aliases to options before the associated definitions.
7269 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7271 * newcomment.el (comment-normalize-vars): Better test validity of
7274 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7276 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
7277 (float-e): New name for `e'.
7278 (degrees-to-radians, radians-to-degrees):
7279 * calendar/solar.el (solar-longitude):
7280 * calculator.el (calculator-registers, calculator-funcall):
7281 * textmodes/artist.el (artist-spray-random-points):
7282 * play/bubbles.el (bubbles--initialize-images): Use new names.
7284 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
7286 Update to CEDET 1.0's version of EIEIO.
7288 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
7290 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
7291 (eieio-default-eval-maybe): Eval val instead of unquoting only.
7292 (class-precedence-list): If class is nil, return nil.
7293 (eieio-generic-call): If class of first input arg is nil, don't
7294 look up static methods, and do check for primary methods.
7295 (initialize-instance): See if the default needs to be evaluated
7296 during the constructor.
7297 (eieio-perform-slot-validation-for-default): Don't do the check
7298 for values that will eventually be evaluated.
7299 (eieio-eval-default-p): New function.
7300 (eieio-default-eval-maybe): Use it.
7302 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
7304 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
7305 method-invocation-order.
7306 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
7307 (eieio-class-precedence-dfs): Compute class precedence list using
7309 (eieio-class-precedence-bfs): Compute class precedence list using
7311 (eieio-class-precedence-c3): Compute class precedence list using
7313 (class-precedence-list): New function.
7314 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
7315 (inconsistent-class-hierarchy): New error symbol.
7316 (call-next-method): Stow the replacement argument list for future
7317 call-next-method invocations.
7319 2010-09-23 Glenn Morris <rgm@gnu.org>
7321 * calendar/appt.el (appt-check): If not displaying the diary,
7322 use (diary 1) to only get the entries we need.
7323 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
7324 that it is in day order. (Bug#7019)
7326 * calendar/appt.el (appt-check): Rather than showing the diary,
7327 just turn off invisible display, and only if needed.
7329 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
7331 2010-09-23 Glenn Morris <rgm@gnu.org>
7333 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7334 (byte-compile-defvar, byte-compile-cl-warn):
7335 Start warnings with lower-case, like the majority.
7337 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
7339 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
7341 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
7342 * files.el (auto-mode-alist): Move ld-script entries here, further down
7345 * vc/add-log.el: Don't require timezone when compiling.
7346 (timezone-make-date-sortable): Autoload it.
7347 (change-log-sortable-date-at): Don't require timezone.
7348 Use `ignore-errors'.
7350 * comint.el (comint-use-prompt-regexp-instead-of-fields):
7351 Move alias before definition, so it does not need autoloading.
7353 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
7354 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
7355 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
7356 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
7357 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
7358 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
7359 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
7360 * textmodes/tex-mode.el, textmodes/two-column.el:
7361 Remove leading `*' from docs of defcustoms etc.
7363 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
7365 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
7367 2010-09-22 Dan Christensen <jdc@uwo.ca>
7369 * calendar/time-date.el (date-to-time): Try using parse-time-string
7370 first before using the slower timezone-make-date-arpa-standard.
7372 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
7374 * calendar/time-date.el (format-seconds): Comment fix.
7376 2010-09-22 Glenn Morris <rgm@gnu.org>
7378 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
7379 is not automatically buffer-local.
7381 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7383 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
7384 (smie-indent-comment): Be more careful with comment-start-skip.
7385 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
7386 (smie-indent-functions): Use them.
7388 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
7390 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
7392 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
7394 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
7395 tool-bar-position. Don't modify frame parameters here.
7396 (menu-bar-options-save): Add tool-bar-position.
7398 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
7400 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7402 * textmodes/reftex-parse.el (reftex-what-macro)
7403 (reftex-context-substring): Let-bind forward-sexp-function to nil
7404 since we don't need/want to treat \begin...\end as a block (bug#7053).
7406 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
7408 * simple.el (blink-matching-open): Use syntax-class.
7410 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
7411 Set invisibility spec for pascal's outline mode.
7412 (pascal-outline-change): Clean up calling convention.
7413 (pascal-show-all, pascal-hide-other-defuns): Update callers.
7415 * progmodes/prolog.el (prolog-smie-forward-token)
7416 (prolog-smie-backward-token): New functions.
7417 (prolog-mode-variables): Use them to parse "!," correctly.
7418 Set up smie-blink-matching for ".".
7420 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
7422 (ispell-region, ispell-process-line): Update users.
7424 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
7427 * textmodes/ispell.el: Fix commenting convention.
7428 (ispell-parse-output): Simplify, use push.
7429 (ispell-region): Use match-string-no-properties.
7430 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
7431 (ispell-minor-mode): Use define-minor-mode.
7432 (ispell-message): Remove unused var `skip-regexp'.
7433 (ispell-add-per-file-word-list): Use dynamic let-binding.
7434 Try and use the proper comment marker.
7436 * mail/sendmail.el: Fix commenting convention.
7437 (sendmail-send-it): Use line-beginning-position.
7439 * help-fns.el (describe-variable): Add original value, if applicable.
7441 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
7443 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
7445 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
7447 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7449 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
7450 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
7451 (smie-prec2-levels): Use them to better diagnose precedence cycles.
7452 (smie-blink-matching-check): Don't signal a mismatch if car is t.
7453 (smie-blink-matching-open): Rewrite to remove assumptions, so that
7454 something like "." can also be a closer.
7455 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
7456 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
7457 Rename internal functions to use "--". Update callers.
7459 * frame.el (make-frame-names-alist): Don't list frames on other displays.
7461 * fringe.el (fringe-styles): New var.
7462 (fringe-mode, fringe-query-style): Use it.
7464 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
7466 * progmodes/sql.el: Version 2.8
7467 (sql-login-params): Update widget structure; changes still needed.
7468 (sql-product-alist): Add :list-all and :list-table features for
7469 SQLite, Postgres and MySQL products.
7470 (sql-redirect): Handle default value.
7471 (sql-execute, sql-execute-feature): New functions.
7472 (sql-read-table-name): New function.
7473 (sql-list-all, sql-list-table): New functions. User API.
7474 (sql-mode-map, sql-interactive-mode-map): Add key definitions
7475 for above functions.
7476 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
7477 for above functions.
7478 (sql-postgres-login-params): Add user and database defaults.
7479 (sql-buffer-live-p): Bug fix.
7480 (sql-product-history): New variable.
7481 (sql-read-product): New function. Use it.
7482 (sql-set-product, sql-product-interactive): Use it.
7483 (sql-connection-history): New variable.
7484 (sql-read-connection): New function. Use it.
7485 (sql-connect): New function.
7486 (sql-for-each-login): Redesign function interface.
7487 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
7488 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
7489 (sql-comint): Check for program. Existing live buffer.
7490 (sql-comint-postgres): Add port parameter.
7492 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7494 * emacs-lisp/warnings.el: Fix commenting convention.
7495 (display-warning): Use special mode and make the buffer read-only.
7497 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
7499 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
7500 empty string when it follows a repeated or optional pattern.
7502 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7504 * indent.el (indent-according-to-mode): Apply syntax-propertize.
7505 (indent-region): Use indent-according-to-mode.
7507 2010-09-18 Eli Zaretskii <eliz@gnu.org>
7509 * fringe.el (fringe-mode): Doc fix.
7511 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
7513 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
7514 refreshing the preview buffer.
7516 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7518 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
7519 (latex-syntax-propertize-rules): New consts; replace
7520 tex-font-lock-syntactic-keywords.
7521 (tex-env-mark, latex-env-before-change): New functions.
7522 (latex-electric-env-pair-mode): New minor mode.
7523 (tex-font-lock-verb): Change arguments; do move point.
7524 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
7525 representation as a form of comment.
7526 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
7527 (doctex-syntax-propertize-rules): New const; replaces
7528 doctex-font-lock-syntactic-keywords.
7529 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
7531 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
7532 (fortran-make-syntax-propertize-function): New function; replaces
7533 fortran-font-lock-syntactic-keywords.
7534 (fortran-mode): Use it.
7535 (fortran-line-length): Use it. Improve interactive spec.
7537 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
7538 (syntax-propertize-rules): Add var-ref case. Fix offset computation
7539 when adding surrounding \(..\).
7541 * progmodes/js.el (js-mode): Fix last change (bug#7054).
7543 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7545 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
7546 Use with-current-buffer.
7548 * isearch.el (isearch-face): Rename from `isearch'.
7549 (isearch-highlight): Use new name.
7551 2010-09-17 Eli Zaretskii <eliz@gnu.org>
7553 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
7554 5, for `half' width fringes. (Bug#6933)
7556 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7558 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
7559 (byte-compile-defvar): "foo/bar" does not lack a prefix.
7561 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
7563 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
7565 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
7566 in calculating new frame position. Add more space between new and
7567 parent on the left (Bug#7048).
7569 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
7571 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
7574 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
7576 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
7578 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
7579 obsolete alias for x-selection-value.
7581 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
7583 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
7585 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
7588 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
7590 * net/tramp-compat.el (tramp-compat-with-temp-message)
7591 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
7592 (tramp-compat-process-put): New defuns.
7594 * net/tramp.el (top):
7595 * net/tramp-gvfs.el (top):
7596 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
7598 * net/tramp.el (tramp-progress-reporter-update):
7599 Use `tramp-compat-funcall'.
7601 * net/tramp.el (tramp-process-actions):
7602 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7603 * net/tramp-sh.el (tramp-handle-vc-registered)
7604 (tramp-get-remote-stat, tramp-get-remote-readlink):
7605 Use `tramp-compat-with-temp-message'.
7607 * net/tramp-sh.el (top): Require 'cl.
7608 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
7609 (tramp-open-connection-setup-interactive-shell):
7610 Use `tramp-compat-process-put'.
7612 2010-09-15 Alan Mackenzie <acm@muc.de>
7614 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
7616 (c-forward-<>-arglist-recur): Fix an infinite recursion.
7618 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
7620 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
7621 `lexical' for warnings related to lexical scoping.
7622 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
7623 global vars which don't have a prefix and could hence affect lexical
7624 scoping in unrelated files.
7626 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7628 * net/imap.el: Revert back to version
7629 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
7632 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
7634 * obsolete/old-whitespace.el (whitespace-unload-function):
7635 Explicitly pass `obarray' to `unintern' to avoid a warning.
7637 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7639 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
7640 Add `when' argument. Update callers.
7642 * subr.el (unintern): Declare the obarray arg mandatory.
7644 2010-09-14 Glenn Morris <rgm@gnu.org>
7646 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
7649 * calendar/diary-lib.el (diary-included-files): New variable.
7650 (diary-list-entries): Maybe initialize diary-included-files.
7651 (diary-include-other-diary-files): Append to diary-included-files.
7652 * calendar/appt.el (appt-update-list): Also check the members of
7653 diary-included-files. (Bug#6999)
7654 (appt-check): Doc fix.
7656 2010-09-14 David Reitter <david.reitter@gmail.com>
7658 * simple.el (line-move-visual): Do not truncate goal column to
7659 integer size. (Bug#7020)
7661 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7663 * repeat.el (repeat): Allow repeating when the last event is a click.
7664 Suggested by Drew Adams (bug#6256).
7666 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
7668 * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
7669 Replace setting HGRCPATH to "" by some less invasive --config options.
7671 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7673 * font-lock.el (font-lock-beginning-of-syntax-function):
7676 2010-09-14 Glenn Morris <rgm@gnu.org>
7678 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
7679 and tool-bar modes. (Bug#6211)
7680 (menu-bar-mode): Move setting of standard-value after the
7681 minor-mode definition, otherwise it seems to have no effect.
7683 2010-09-14 Masatake YAMATO <yamato@redhat.com>
7685 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
7686 Fix typo. (Bug#6976)
7688 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7690 * whitespace.el: Allow cleaning up blanks without blank
7691 visualization (Bug#6651). Adjust help window for
7692 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7693 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
7694 (whitespace-style): Add new value 'face. Adjust docstring.
7695 (whitespace-space, whitespace-hspace, whitespace-tab):
7696 Adjust foreground property face.
7697 (whitespace-line-column): Adjust docstring and type declaration.
7698 (whitespace-style-value-list, whitespace-toggle-option-alist)
7699 (whitespace-help-text): Adjust const initialization.
7700 (whitespace-toggle-options, global-whitespace-toggle-options):
7702 (whitespace-display-window, whitespace-interactive-char)
7703 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7704 (whitespace-help-scroll): New fun.
7706 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
7708 * calendar/time-date.el (format-seconds): Comment fix.
7710 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
7712 * progmodes/sql.el: Version 2.7.
7713 (sql-buffer-live-p): Improve detection.
7714 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7715 (sql-set-sqli-buffer): Use it.
7716 (sql-product-interactive): Run `sql-set-sqli-hook'.
7717 (sql-rename-buffer): Code cleanup.
7718 (sql-redirect, sql-redirect-value): New functions. More to come.
7720 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
7722 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.
7723 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7724 (TRAMP_SRC): New macro.
7725 ($(lisp)/net/tramp-loaddefs.el): New target.
7727 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
7729 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
7731 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
7733 * net/tramp.el (top): Don't show loading message. Require just
7734 'tramp-compat, everything else is required there.
7735 Use `ignore-errors' where appropriate.
7736 (tramp-inline-compress-start-size, tramp-copy-size-limit)
7737 (tramp-terminal-type, tramp-end-of-output)
7738 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
7739 (tramp-completion-function-alist-ssh)
7740 (tramp-completion-function-alist-telnet)
7741 (tramp-completion-function-alist-su)
7742 (tramp-completion-function-alist-putty, tramp-remote-path)
7743 (tramp-remote-process-environment, tramp-sh-extra-args)
7744 (tramp-actions-before-shell, tramp-uudecode)
7745 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
7746 (tramp-perl-file-attributes)
7747 (tramp-perl-directory-files-and-attributes)
7748 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
7749 (tramp-perl-encode, tramp-perl-decode)
7750 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
7751 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
7752 (tramp-handle-make-symbolic-link, tramp-handle-load)
7753 (tramp-handle-file-name-as-directory)
7754 (tramp-handle-file-name-directory)
7755 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
7756 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
7757 (tramp-do-file-attributes-with-ls)
7758 (tramp-do-file-attributes-with-perl)
7759 (tramp-do-file-attributes-with-stat)
7760 (tramp-handle-set-visited-file-modtime)
7761 (tramp-handle-verify-visited-file-modtime)
7762 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
7763 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
7764 (tramp-handle-file-selinux-context)
7765 (tramp-handle-set-file-selinux-context)
7766 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
7767 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
7768 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
7769 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
7770 (tramp-handle-file-ownership-preserved-p)
7771 (tramp-handle-directory-file-name, tramp-handle-directory-files)
7772 (tramp-handle-directory-files-and-attributes)
7773 (tramp-do-directory-files-and-attributes-with-perl)
7774 (tramp-do-directory-files-and-attributes-with-stat)
7775 (tramp-handle-file-name-all-completions)
7776 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
7777 (tramp-handle-copy-file, tramp-handle-copy-directory)
7778 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
7779 (tramp-do-copy-or-rename-file-via-buffer)
7780 (tramp-do-copy-or-rename-file-directly)
7781 (tramp-do-copy-or-rename-file-out-of-band)
7782 (tramp-handle-make-directory, tramp-handle-delete-directory)
7783 (tramp-handle-delete-file)
7784 (tramp-handle-dired-recursive-delete-directory)
7785 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
7786 (tramp-handle-insert-directory)
7787 (tramp-handle-unhandled-file-name-directory)
7788 (tramp-handle-expand-file-name)
7789 (tramp-handle-substitute-in-file-name)
7790 (tramp-handle-executable-find, tramp-process-sentinel)
7791 (tramp-handle-start-file-process, tramp-handle-process-file)
7792 (tramp-handle-call-process-region, tramp-handle-shell-command)
7793 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7794 (tramp-handle-insert-file-contents)
7795 (tramp-handle-insert-file-contents-literally)
7796 (tramp-handle-find-backup-file-name)
7797 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7798 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7799 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7800 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7801 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7802 (tramp-find-file-exists-command, tramp-open-shell)
7803 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7804 (tramp-open-connection-setup-interactive-shell)
7805 (tramp-local-coding-commands, tramp-remote-coding-commands)
7806 (tramp-find-inline-encoding, tramp-call-local-coding-command)
7807 (tramp-inline-compress-commands, tramp-find-inline-compress)
7808 (tramp-compute-multi-hops, tramp-maybe-open-connection)
7809 (tramp-send-command, tramp-wait-for-output)
7810 (tramp-send-command-and-check, tramp-barf-unless-okay)
7811 (tramp-send-command-and-read, tramp-mode-string-to-int)
7812 (tramp-convert-file-attributes, tramp-check-cached-permissions)
7813 (tramp-file-mode-from-int, tramp-file-mode-permissions)
7814 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7815 (tramp-method-out-of-band-p, tramp-local-host-p)
7816 (tramp-get-remote-path, tramp-get-remote-tmpdir)
7817 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7818 (tramp-get-test-command, tramp-get-test-nt-command)
7819 (tramp-get-file-exists-command, tramp-get-remote-ln)
7820 (tramp-get-remote-perl, tramp-get-remote-stat)
7821 (tramp-get-remote-readlink, tramp-get-remote-trash)
7822 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7823 (tramp-get-local-uid, tramp-get-local-gid)
7824 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7826 (tramp-methods, tramp-default-method-alist)
7827 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7828 Move initialization to tramp-sh.el.
7829 (tramp-temp-name-prefix): Make it a defconst.
7830 (tramp-dissect-file-name): Don't check anymore for multi-hop
7832 (tramp-debug-outline-regexp): Add a docstring.
7833 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7834 (tramp-get-debug-buffer): Use it.
7836 * net/tramp-cache.el (top): Set tramp-autoload cookie for
7837 initialization forms.
7838 (tramp-set-connection-property): Don't protect `tramp-message'
7839 call, it isn't necessary any longer.
7840 (tramp-dump-connection-properties): Use `ignore-errors'.
7842 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7843 'password-cache and 'auth-source.
7845 * net/tramp-gvfs.el (top):
7846 * net/tramp-smb.el (top): Require 'tramp-sh.
7848 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7850 * net/tramp-sh.el: New file, derived from tramp.el.
7851 (top): Initialize `tramp-methods', `tramp-default-method-alist',
7852 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7853 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7854 Use `ignore-errors' where appropriate.
7855 (tramp-sh-file-name-handler-alist): Rename from
7856 `tramp-file-name-handler-alist'.
7857 (tramp-send-command-and-check): Return t or nil. Remove all
7858 `zerop' checks, where called.
7859 (tramp-handle-set-file-modes)
7860 (tramp-do-copy-or-rename-file-directly)
7861 (tramp-handle-delete-directory, tramp-handle-delete-file)
7862 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7863 (tramp-sh-file-name-handler, tramp-send-command-and-check)
7864 (tramp-get-remote-ln): Set tramp-autoload cookie.
7866 * net/tramp-fish.el: Remove file.
7868 2010-09-13 Daiki Ueno <ueno@unixuser.org>
7870 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7871 buffer-file-name to avoid file-locking. (Bug#7026)
7873 2010-09-13 Julien Danjou <julien@danjou.info>
7875 * notifications.el (notifications-notify): Add support for
7876 image-path and sound-name.
7877 (notifications-specification-version): Add this variable.
7879 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7881 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7883 2010-09-12 Leo <sdl.web@gmail.com>
7885 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7886 (rcirc-completion-start): New variables.
7887 (rcirc-nick-completions): Rename to rcirc-completions.
7888 (rcirc-nick-completion-start-offset): Delete.
7889 (rcirc-completion-at-point): New function for constructing
7890 completion data for both nicks and irc commands. Add to
7891 completion-at-point-functions in rcirc mode.
7892 (rcirc-complete): Rename from rcirc-nick-complete; use
7893 rcirc-completion-at-point.
7894 (defun-rcirc-command): Update rcirc-client-commands.
7896 2010-09-11 Glenn Morris <rgm@gnu.org>
7898 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7899 atomically, to avoid parallel build errors. (Bug#4196)
7901 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
7903 * progmodes/sql.el: Version 2.6
7904 (sql-dialect): Synonym for "sql-product".
7905 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7906 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7907 Set "sql-buffer" to buffer name not buffer object so multiple sql
7908 interactive buffers work properly. Reverts misguided changes in
7910 (sql-comint): Make sure different buffer name is used if "*SQL*"
7911 buffer is for a different product.
7912 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7914 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7915 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7916 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7917 Accept new buffer name or prompt for one.
7918 (sql-port): Default to zero.
7919 (sql-comint-mysql): Handle "sql-port" as a numeric.
7920 (sql-port-history): Delete unused variable.
7921 (sql-get-login): Default "sql-port" to a number.
7922 (sql-product-alist): Correct Postgres prompt and terminator regexp.
7923 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7924 "sqlite3" executables.
7925 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7926 (sql-buffer-live-p): New function.
7927 (sql-mode-menu, sql-send-string): Use it.
7928 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7930 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7931 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7933 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7935 * net/netrc.el (netrc-credentials): New convenience function.
7937 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7939 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7940 to replace texinfo-font-lock-syntactic-keywords.
7941 (texinfo-mode): Use it.
7943 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7944 Use syntax-propertize-function.
7946 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7947 replace sgml-font-lock-syntactic-keywords.
7948 (sgml-mode): Use it.
7950 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7951 since we don't use it.
7953 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7955 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7957 (vhdl-fontify-buffer): Adjust.
7959 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7960 replace tcl-font-lock-syntactic-keywords.
7963 * progmodes/simula.el (simula-syntax-propertize-function): New var to
7964 replace simula-font-lock-syntactic-keywords.
7965 (simula-mode): Use it.
7967 * progmodes/sh-script.el (sh-st-symbol): Remove.
7968 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7969 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7970 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7971 (sh-font-lock-paren): Set syntax-multiline.
7972 (sh-font-lock-syntactic-keywords): Remove.
7973 (sh-syntax-propertize-function): New function to replace it.
7976 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7977 Define while compiling.
7978 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7979 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7980 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7981 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7982 (ruby-here-doc-end-syntax): Only define when
7983 syntax-propertize is not available.
7984 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7986 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7987 (electric-indent-chars): Silence bytecompiler.
7988 (ruby-mode): Use prog-mode, syntax-propertize-function, and
7989 electric-indent-chars.
7991 * progmodes/python.el (python-syntax-propertize-function): New var to
7992 replace python-font-lock-syntactic-keywords.
7993 (python-mode): Use it.
7994 (python-quote-syntax): Simplify and adjust to new use.
7996 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7997 replace perl-font-lock-syntactic-keywords.
7998 (perl-syntax-propertize-special-constructs): New fun to replace
7999 perl-font-lock-special-syntactic-constructs.
8000 (perl-font-lock-syntactic-face-function): New fun.
8001 (perl-mode): Use it.
8003 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
8004 to replace octave-font-lock-close-quotes.
8005 (octave-syntax-propertize-function): New function to replace
8006 octave-font-lock-syntactic-keywords.
8007 (octave-mode): Use it.
8009 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
8010 replaces mixal-font-lock-syntactic-keywords.
8011 (mixal-mode): Use it.
8013 * progmodes/make-mode.el (makefile-syntax-propertize-function):
8014 New var; replaces makefile-font-lock-syntactic-keywords.
8015 (makefile-mode): Use it.
8016 (makefile-imake-mode): Adjust.
8018 * progmodes/js.el (js--regexp-literal): Define while compiling.
8019 (js-syntax-propertize-function): New var; replaces
8020 js-font-lock-syntactic-keywords.
8023 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
8024 replaces gdb-script-font-lock-syntactic-keywords.
8025 (gdb-script-mode): Use it.
8027 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
8028 (fortran--font-lock-syntactic-keywords): New var.
8029 (fortran-line-length): Update syntax-propertize-function and
8030 fortran--font-lock-syntactic-keywords.
8032 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
8034 * progmodes/cfengine.el (cfengine-mode):
8035 Use syntax-propertize-function.
8036 (cfengine-font-lock-syntactic-keywords): Remove.
8038 * progmodes/autoconf.el (autoconf-mode):
8039 Use syntax-propertize-function.
8040 (autoconf-font-lock-syntactic-keywords): Remove.
8042 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
8043 (ada-after-change-function, ada-initialize-syntax-table-properties)
8044 (ada-handle-syntax-table-properties): Only define when
8045 syntax-propertize is not available.
8046 (ada-mode): Use syntax-propertize-function.
8048 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
8049 (font-lock-fontify-syntactic-keywords-region): Move handling of
8050 font-lock-syntactically-fontified to...
8051 (font-lock-default-fontify-region): ...here.
8052 Let syntax-propertize-function take precedence.
8053 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
8055 * emacs-lisp/syntax.el (syntax-propertize-function)
8056 (syntax-propertize-chunk-size, syntax-propertize--done)
8057 (syntax-propertize-extend-region-functions): New vars.
8058 (syntax-propertize-wholelines, syntax-propertize-multiline)
8059 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
8060 (syntax-propertize): New functions.
8061 (syntax-propertize-rules): New macro.
8062 (syntax-ppss-flush-cache): Set syntax-propertize--done.
8063 (syntax-ppss): Call syntax-propertize.
8065 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
8067 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
8069 * textmodes/ispell.el (ispell-init-process): Improve comments.
8070 XEmacs compatibility changes regarding (add-hook) 'local option
8071 and (set-process-query-on-exit-flag).
8073 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
8075 * net/tramp-cache.el (tramp-parse-connection-properties):
8076 Set tramp-autoload cookie.
8078 2010-09-09 Glenn Morris <rgm@gnu.org>
8080 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
8081 (imagemagick-register-types): Doc fix.
8083 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
8085 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
8087 * progmodes/js.el (require): Require is already "eval-and-compile".
8088 (js--re-search-forward): Avoid `eval'. Preserve the error data.
8089 (js--re-search-backward): Use js--re-search-forward.
8091 * progmodes/fortran.el (fortran-line-length): Don't recompute
8092 syntactic keywords redundantly a second time.
8094 * progmodes/ada-mode.el: Replace "(set '" with setq.
8095 (ada-mode): Simplify.
8096 (ada-create-case-exception, ada-adjust-case-interactive)
8097 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
8098 (ada-search-ignore-string-comment, ada-move-to-start)
8099 (ada-move-to-end): Use with-syntax-table.
8101 * font-lock.el (save-buffer-state): Remove `varlist' arg.
8102 (font-lock-unfontify-region, font-lock-default-fontify-region):
8103 Update usage correspondingly.
8104 (font-lock-fontify-syntactic-keywords-region):
8105 Set parse-sexp-lookup-properties buffer-locally here.
8106 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
8108 * simple.el (blink-matching-open): Don't burp if we can't find a match.
8110 2010-09-08 Glenn Morris <rgm@gnu.org>
8112 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
8113 Error if not compiled with -DBYTE_CODE_METER.
8115 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8116 Ignore dir-locals-file.
8118 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
8120 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8122 (compilation-error-regexp-alist-alist): Rule out ": " in file names
8123 for the `gnu' messages.
8124 (compilation-set-skip-threshold): New command.
8125 (compilation-start): Use \' rather than $.
8126 (compilation-forget-errors): Use clrhash.
8128 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
8130 * textmodes/ispell.el (ispell-valid-dictionary-list):
8133 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
8135 Migrate to Tramp 2.2. Rearrange load dependencies.
8136 (Bug#1529, Bug#5448, Bug#5705)
8138 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
8139 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
8140 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
8142 * net/tramp.el (top): Remove all other tramp-* loads except
8143 tramp-compat.el. Remove all changes to tramp-unload-hook for
8144 other tramp-* packages. Rearrange defun order. Change calls of
8145 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
8146 `tramp-compat-octal-to-decimal' to new function names.
8147 (tramp-terminal-type, tramp-initial-end-of-output)
8148 (tramp-methods, tramp-foreign-file-name-handler-alist)
8149 (tramp-tramp-file-p, tramp-completion-mode-p)
8150 (tramp-send-command-and-check, tramp-get-remote-path)
8151 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
8152 (tramp-shell-quote-argument): Set tramp-autoload cookie.
8153 (with-file-property, with-connection-property): Move to
8155 (tramp-local-call-process, tramp-decimal-to-octal)
8156 (tramp-octal-to-decimal): Move to tramp-compat.el.
8157 (tramp-handle-shell-command): Do not require 'shell.
8158 (tramp-compute-multi-hops): No special handling for tramp-gw-*
8160 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
8162 * net/tramp-cache.el (top): Require 'tramp. Add to
8163 `tramp-unload-hook'.
8164 (tramp-cache-data, tramp-get-file-property)
8165 (tramp-set-file-property, tramp-flush-file-property)
8166 (tramp-flush-directory-property, tramp-get-connection-property)
8167 (tramp-set-connection-property, tramp-flush-connection-property)
8168 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
8170 (with-file-property, with-connection-property): New defuns, moved
8172 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
8175 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
8176 (tramp-version): Set tramp-autoload cookie.
8178 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
8179 changes to tramp-unload-hook for other tramp-* packages. Add to
8180 `tramp-unload-hook'.
8181 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
8182 (tramp-compat-call-process): New defuns, moved from tramp.el.
8184 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
8185 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8186 Add to `tramp-unload-hook'. Change call of
8187 `tramp-compat-decimal-to-octal' to new function name.
8188 (tramp-fish-method): Make it a defconst.
8189 (tramp-fish-file-name-p): Make it a defsubst.
8190 (tramp-fish-method, tramp-fish-file-name-handler)
8191 (tramp-fish-file-name-p): Set tramp-autoload cookie.
8193 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
8194 `tramp-foreign-file-name-handler-alist'. Add to
8195 `tramp-unload-hook'.
8196 (tramp-ftp-method): Make it a defconst.
8197 (tramp-ftp-file-name-p): Make it a defsubst.
8198 (tramp-ftp-method, tramp-ftp-file-name-handler)
8199 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
8201 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
8202 `tramp-foreign-file-name-handler-alist'. Add to
8203 `tramp-unload-hook'. Change checks, whether package can be
8205 (tramp-gvfs-file-name-p): Make it a defsubst.
8206 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
8207 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
8208 (tramp-gvfs-handle-file-directory-p): New defun.
8209 (tramp-gvfs-file-name-handler-alist): Use it.
8211 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
8212 `tramp-foreign-file-name-handler-alist'. Add to
8213 `tramp-unload-hook'.
8214 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
8215 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
8217 (tramp-gw-tunnel-method, tramp-gw-socks-method)
8218 (tramp-gw-open-connection): Set tramp-autoload cookie.
8220 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
8221 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8222 Add to `tramp-unload-hook'. Change checks, whether package can be
8224 (tramp-imap-file-name-p): Make it a defsubst.
8225 (tramp-imap-method, tramp-imaps-method)
8226 (tramp-imap-file-name-handler)
8227 (tramp-imap-file-name-p): Set tramp-autoload cookie.
8229 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
8230 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8231 Add to `tramp-unload-hook'. Change checks, whether package can be
8232 loaded. Change call of `tramp-compat-decimal-to-octal' to new
8234 (tramp-smb-tunnel-method): Make it a defconst.
8235 (tramp-smb-file-name-p): Make it a defsubst.
8236 (tramp-smb-method, tramp-smb-file-name-handler)
8237 (tramp-smb-file-name-p): Set tramp-autoload cookie.
8239 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
8240 (tramp-uuencode-region): Set tramp-autoload cookie.
8242 * net/trampver.el (top) Add to `tramp-unload-hook'.
8243 (tramp-version, tramp-bug-report-address): Set tramp-autoload
8244 cookie. Update release number.
8246 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
8248 * textmodes/ispell.el (ispell-start-process): Make sure original
8249 arg list is properly initialized (Bug#6993, Bug#6994).
8251 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8253 * files.el (directory-abbrev-alist): Use \` as default regexp.
8255 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
8256 chars like - or ] (bug#6984).
8257 (rx-any-condense-range): Explode 2-char ranges.
8259 2010-09-06 Glenn Morris <rgm@gnu.org>
8261 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
8263 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8265 * textmodes/bibtex.el:
8266 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
8268 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8270 * net/imap.el (imap-message-map): Remove optional buffer parameter,
8271 since no callers use it.
8272 (imap-message-get): Ditto.
8273 (imap-message-put): Ditto.
8274 (imap-mailbox-map): Ditto.
8275 (imap-mailbox-put): Ditto.
8276 (imap-mailbox-get): Ditto.
8277 (imap-mailbox-get): Revert last change for this function.
8279 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8281 * net/imap.el (imap-fetch-safe): Remove function, and alter all
8282 callers to use `imap-fetch' instead. According to the comments, this
8283 should be safe, since all other IMAP clients use the 1:* syntax.
8284 (imap-enable-exchange-bug-workaround): Remove.
8285 (imap-debug): Remove -- doesn't seem very useful.
8287 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8289 * net/imap.el (imap-log): New convenience function used throughout
8290 instead of repeating the same code all over the place.
8292 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
8294 * mouse.el (mouse-save-then-kill): Save region to kill-ring
8295 when mouse-drag-copy-region is non-nil (Bug#6956).
8297 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
8299 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
8300 Improve regexps (Bug#6987).
8301 (dired-sort-toggle): Search more robustly for -t flag.
8303 * files.el (get-free-disk-space): Search more robustly for
8304 "available" column. Suggested by Ehud Karni
8305 <ehud@unix.mvs.co.il>.
8307 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
8309 * international/uni-bidi.el:
8310 * international/uni-category.el:
8311 * international/uni-combining.el:
8312 * international/uni-decimal.el:
8313 * international/uni-mirrored.el:
8314 * international/uni-name.el: Regenerate.
8316 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8318 * electric.el (electric-indent-post-self-insert-function):
8319 Don't reindent with a sloppy indentation function.
8321 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
8322 border case in change-log-mode.
8324 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
8326 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8327 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
8328 Recognize leading tab in gcc-include regexp. Ignore names with
8329 leading "from" or "in" in gnu regexp (Bug#6937).
8331 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8333 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
8334 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
8335 (ispell-start-process): Avoid setq and simplify logic.
8336 (ispell-init-process): Setup kill-buffer-hook locally when needed.
8337 (kill-buffer-hook): Don't use it globally with code that uses
8338 expand-file-name since that may call kill-buffer via
8339 code_conversion_restore.
8341 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
8343 * emacs-lisp/package.el (package-directory-list): Only call
8344 file-name-nondirectory on a string.
8346 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
8348 * emacs-lisp/package.el (package--download-one-archive):
8349 Ensure that archive-contents is valid before saving it.
8350 (package-activate-1, package-mark-obsolete, define-package)
8351 (package-compute-transaction, package-list-maybe-add): Use push.
8353 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8355 Use SMIE's blink-paren for octave-mode.
8356 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
8357 Backslashes do not escape single-quotes, single-quotes do.
8358 (octave-block-else-regexp, octave-block-end-regexp)
8359 (octave-block-match-alist): Remove.
8360 (octave-smie-bnf-table): New var, with old content.
8361 (octave-smie-op-levels): Use it.
8362 (octave-smie-closer-alist): New var.
8363 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
8364 (octave-blink-matching-block-open): Remove.
8365 (octave-reindent-then-newline-and-indent, octave-electric-semi)
8366 (octave-electric-space): Let self-insert-command run expand-abbrev and
8369 * electric.el (electricity): New group.
8370 (electric-indent-chars): New var.
8371 (electric-indent-post-self-insert-function): New fun.
8372 (electric-indent-mode): New minor mode.
8373 (electric-pair-skip-self): New custom.
8374 (electric-pair-post-self-insert-function): New function.
8375 (electric-pair-mode): New minor mode.
8377 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
8378 calcAlg-blink-matching-open.
8379 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
8380 (calc-do-alg-entry): Only touch the part of the keymap that varies.
8381 Use the new blink-matching-check-function.
8383 Provide blink-matching support to SMIE.
8384 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
8385 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
8386 (smie-blink-matching-check, smie-blink-matching-open): New functions.
8388 * simple.el (newline): Fix last change to properly remove itself from
8391 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8393 * simple.el (newline): Eliminate optimization.
8394 Use post-self-insert-hook to set hard-newline and things before
8395 running post-self-insert-hook.
8396 (blink-matching-check-mismatch): New function.
8397 (blink-matching-check-function): New variable.
8398 (blink-matching-open): Use them.
8399 Skip back forward over prefix chars skipped by forward-sexp.
8400 Don't check if the parens are backslash escaped.
8401 (blink-paren-post-self-insert-function): Check backslash escaping here.
8403 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
8405 * emacs-lisp/package.el (package-menu-mode-map):
8406 Change package-menu-revert bindings to revert-buffer.
8407 (package-menu-mode): Set revert-buffer-function.
8408 (package-menu-revert): Doc fix.
8410 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
8412 * textmodes/ispell.el (ispell-init-process): Use "~/" as
8413 `default-directory' unless using Ispell per-directory personal
8414 dictionaries and not in a mini-buffer under XEmacs.
8415 (kill-buffer-hook): Do not kill ispell process on exit when
8416 `ispell-process-directory' is "~/". (Bug#6143)
8418 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
8420 * simple.el (kill-new): Call interprogram-cut-function with only
8423 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
8424 Remove cut buffer from error message.
8426 * term/x-win.el (x-select-text):
8427 * term/pc-win.el (x-selection-value):
8428 * term/ns-win.el (x-selection-value):
8429 * eshell/em-term.el:
8430 * w32-fns.el (x-get-selection-value):
8431 * mouse-sel.el (mouse-sel-set-selection-function):
8432 * frame.el (display-selections-p): Remove cut-buffer in documentation.
8434 * term/x-win.el: Update documentation for x-last-selected-text-*.
8435 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
8436 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
8437 (x-select-text): Remove argument PUSH, update documentation.
8438 Remove cut-buffer code.
8439 (x-selection-value-internal): Was previously x-selection-value.
8440 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8441 Update documentation, remove cut-buffer code.
8442 Call x-selection-value-internal.
8443 (x-clipboard-yank): Call x-selection-value-internal.
8444 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
8446 * term/pc-win.el (x-last-selected-text):
8447 x-cut-buffer-or-selection-value renamed to x-selection-value
8448 (x-select-text): Remove argument PUSH, update documentation.
8450 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
8451 x-cut-buffer-or-selection-value renamed to x-selection-value
8452 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8453 (x-select-text): Remove argument PUSH, update documentation.
8455 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
8457 * w32-fns.el (x-last-selected-text):
8458 x-cut-buffer-or-selection-value renamed to x-selection-value.
8459 (x-cut-buffer-max): Remove.
8460 (x-select-text): Remove argument PUSH, update documentation.
8462 * simple.el (interprogram-cut-function): Remove mention of PUSH.
8464 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
8466 * mouse-sel.el (mouse-sel-get-selection-function):
8467 x-cut-buffer-or-selection-value renamed to x-selection-value.
8468 (x-select-text): Remove optional push.
8470 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8472 * simple.el (blink-paren-function): Move from C to here.
8473 (blink-paren-post-self-insert-function): New function.
8474 (post-self-insert-hook): Use it.
8476 * emacs-lisp/pcase.el (pcase-split-memq):
8477 Fix overenthusiastic optimisation.
8478 (pcase-u1): Handle the case of a lambda pred.
8480 2010-08-31 Kenichi Handa <handa@m17n.org>
8482 * international/mule-cmds.el (standard-display-european-internal):
8483 Setup standard-display-table for 8-bit characters by storing 8-bit
8484 characters in the element vector.
8486 * disp-table.el (standard-display-8bit):
8487 Setup standard-display-table for 8-bit characters by storing 8-bit
8488 characters in the element vector.
8489 (standard-display-european): Likewise.
8491 2010-08-31 Masatake YAMATO <yamato@redhat.com>
8493 * textmodes/nroff-mode.el (nroff-view): New command.
8494 (nroff-mode-map): Bind it to C-c C-c.
8496 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
8498 * emacs-lisp/smie.el (smie-down-list): New command.
8500 Remove old indentation and navigation code on octave-mode.
8501 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
8502 smie-down-list rather than add a binding for octave-down-block.
8503 (octave-mark-block, octave-blink-matching-block-open):
8504 Rely on forward-sexp-function.
8505 (octave-fill-paragraph): Don't narrow, so you can use
8506 indent-according-to-mode.
8507 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
8508 (octave-in-block-p, octave-re-search-forward-kw)
8509 (octave-re-search-backward-kw, octave-indent-calculate)
8510 (octave-end-as-array-index-p, octave-block-end-offset)
8511 (octave-scan-blocks, octave-forward-block, octave-backward-block)
8512 (octave-down-block, octave-backward-up-block, octave-up-block)
8513 (octave-before-magic-comment-p, octave-indent-line): Remove.
8515 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
8517 * emacs-lisp/package.el (package--read-archive-file): Just use
8518 `read', to avoid copying an additional string.
8519 (package-menu-mode): Set header-line-format here.
8520 (package-menu-refresh, package-menu-revert): Signal an error if
8521 not in the Package Menu.
8522 (package-menu-package-list): New var.
8523 (package--generate-package-list): Operate on the current buffer;
8524 don't assume that it is *Packages*, since the user may rename it.
8525 Allow persistent package listings and sort keys using
8526 package-menu-package-list and package-menu-package-sort-key.
8527 (package-menu--version-predicate): Fix version calculation.
8528 (package-menu-sort-by-column): Don't select the window.
8529 (package--list-packages): Create the *Packages* buffer.
8530 Set package-menu-package-list-key.
8531 (list-packages): Sorting by status is now the default.
8532 (package-buffer-info): Use match-string-no-properties.
8533 (define-package): Add a &rest argument for future proofing, but
8535 (package-install-from-buffer, package-install-buffer-internal):
8536 Merge into a single function, package-install-from-buffer.
8537 (package-install-file): Change caller.
8539 * finder.el: Load finder-inf using `require'.
8540 (finder-list-matches): Sorting by status is now the default.
8541 (finder-compile-keywords): Simpify printing.
8543 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8545 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8546 (octave-mode-map): Remove special bindings for forward/backward-block
8547 and octave-backward-up-block. Use smie-close-block.
8548 (octave-continuation-marker-regexp): New var.
8549 (octave-continuation-regexp): Use it.
8550 (octave-operator-table, octave-smie-op-levels)
8551 (octave-operator-regexp, octave-smie-indent-rules): New vars.
8552 (octave-smie-backward-token, octave-smie-forward-token): New funs.
8553 (octave-mode): Use SMIE.
8554 (octave-close-block): Delete.
8556 2010-08-30 Eli Zaretskii <eliz@gnu.org>
8558 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
8559 CLIPBOARD, not in PRIMARY. (Bug#6944)
8561 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8563 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
8565 (smie-indent-column): Allow indirection through variables.
8567 * composite.el (save-buffer-state): Delete, unused.
8568 * font-lock.el (save-buffer-state): Use with-silent-modifications.
8569 (font-lock-default-fontify-region): Use with-syntax-table.
8570 * jit-lock.el (with-buffer-unmodified): Remove.
8571 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
8573 Use `declare' in defmacros.
8574 * window.el (save-selected-window):
8575 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
8576 * progmodes/python.el (def-python-skeleton):
8577 * net/dbus.el (dbus-ignore-errors):
8578 * jka-cmpr-hook.el (with-auto-compression-mode):
8579 * international/mule.el (with-category-table):
8580 * emacs-lisp/timer.el (with-timeout):
8581 * emacs-lisp/lisp-mnt.el (lm-with-file):
8582 * emacs-lisp/eieio.el (with-slots):
8583 * emacs-lisp/easymenu.el (easy-menu-define):
8584 * emacs-lisp/debug.el (debugger-env-macro):
8585 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
8586 (Multiple-value-call, Multiple-value-prog1):
8587 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
8588 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
8589 edebug rule to definition.
8590 * emacs-lisp/lisp-mode.el (save-selected-window)
8591 (with-current-buffer, combine-after-change-calls)
8592 (with-output-to-string, with-temp-file, with-temp-buffer)
8593 (with-temp-message, with-syntax-table, read-if, eval-after-load)
8594 (dolist, dotimes, when, unless):
8595 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
8597 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8599 * finder.el: Require `package'.
8600 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
8601 (finder-package-info): Var deleted.
8602 (finder-keywords-hash, finder--builtins-alist): New vars.
8603 (finder-compile-keywords): Compute package--builtins and
8604 finder-keywords-hash instead of finder-keywords-hash, respecting
8605 the "Package" header.
8606 (finder-unknown-keywords, finder-list-matches):
8607 Use finder-keywords-hash and package--list-packages.
8608 (finder-mode): Don't set font-lock-defaults.
8609 (finder-exit): We don't use "*Finder-package*" and "*Finder
8610 Category*" buffers anymore.
8612 * emacs-lisp/package.el (package--builtins-base): Var deleted.
8613 (package--builtins): Set default value to nil.
8614 (package-initialize): Load precomputed value of package--builtins
8616 (package-alist, package-compute-transaction)
8617 (package-download-transaction): Improve docstring.
8618 (package-read-all-archive-contents): Do not change
8619 package--builtins here.
8620 (list-packages): Make package-list-packages an alias for this.
8621 Sort by status by default.
8622 (package--list-packages): Add optional PACKAGES arg.
8623 (describe-package-1): Use font-lock-face property. For built-in
8624 packages, insert file commentary.
8625 (package--generate-package-list): Rename from
8626 package-list-packages-internal; all callers changed. Add optional
8627 PACKAGES arg. Add alphabetical sort fallbacks.
8628 (package-menu--version-predicate, package-menu--status-predicate)
8629 (package-menu--description-predicate)
8630 (package-menu--name-predicate): New functions.
8632 * info.el (Info-finder-find-node): Search package-alist instead of
8633 finder-package-info.
8635 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8637 * subr.el (version-regexp-alist): Don't use "a" and "b" for
8639 (version-to-list): Handle versions like "10.3d".
8641 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8643 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
8644 (macroexp-accumulate): Use `declare'.
8646 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8648 * whitespace.el (whitespace-style): Adjust type declaration.
8650 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
8652 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
8654 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8656 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
8659 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
8661 * progmodes/js.el: Make indentation more customizable (Bug#6914).
8662 (js-paren-indent-offset, js-square-indent-offset)
8663 (js-curly-indent-offset): New options.
8664 (js--proper-indentation): Use them.
8666 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
8668 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
8669 instead of inspecting font-lock properties (Bug#6916).
8671 2010-08-26 David Reitter <david.reitter@gmail.com>
8673 * server.el (server-visit-files): Run pre-command-hook and
8674 post-command-hook for each buffer while it is current (Bug#6910).
8675 (server-execute): Do not run hooks here.
8677 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
8679 Sync with Tramp 2.1.19.
8681 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
8682 Protect deleting tmpfile.
8683 (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
8685 * net/tramp.el (tramp-handle-expand-file-name)
8686 (tramp-completion-handle-file-name-all-completions)
8687 (tramp-completion-handle-file-name-completion):
8688 Use `tramp-connectable-p'.
8690 * net/trampver.el: Update release number.
8692 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8694 * help.el (help-map): Bind `C-h P' to describe-package.
8696 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
8698 * emacs-lisp/package.el (package-refresh-contents): Catch errors
8699 when downloading archives.
8700 (describe-package-1): Add package commentary.
8701 (package-install-button-action): New function.
8702 (package-menu-mode-map): Bind ? to package-menu-describe-package.
8703 (package-menu-view-commentary): Function removed.
8704 (package-list-packages-internal): Hide the `package' package too.
8706 2010-08-25 Kenichi Handa <handa@m17n.org>
8708 * language/misc-lang.el ("Arabic"): New language environment.
8709 Setup composition-function-table for Arabic characters.
8711 * international/fontset.el (setup-default-fontset): Fix typo for
8712 arabic OTF spec (fini->fina).
8714 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
8716 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
8719 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8721 * whitespace.el: Allow cleaning up blanks without blank
8722 visualization (Bug#6651). Adjust help window for
8723 whitespace-toggle-options (Bug#6479). Allow to use fill-column
8724 instead of whitespace-line-column (from EmacsWiki). New version
8726 (whitespace-style): Add new value 'face. Adjust docstring.
8727 (whitespace-space, whitespace-hspace, whitespace-tab):
8728 Adjust foreground property face.
8729 (whitespace-line-column): Adjust docstring and type declaration.
8730 (whitespace-style-value-list, whitespace-toggle-option-alist)
8731 (whitespace-help-text): Adjust const initialization.
8732 (whitespace-toggle-options, global-whitespace-toggle-options):
8734 (whitespace-display-window, whitespace-interactive-char)
8735 (whitespace-style-face-p, whitespace-color-on): Adjust code.
8736 (whitespace-help-scroll): New fun.
8738 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8740 * emacs-lisp/package.el (list-packages): Alias for
8741 package-list-packages.
8743 2010-08-24 Kevin Ryde <user42@zip.com.au>
8745 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
8748 * progmodes/ruby-mode.el (ruby): Add defgroup.
8750 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8752 * progmodes/python.el: Add Ipython support (Bug#5390).
8753 (python-shell-prompt-alist)
8754 (python-shell-continuation-prompt-alist): New options.
8755 (python--set-prompt-regexp): New function.
8756 (inferior-python-mode, run-python, python-shell):
8757 Require ansi-color. Use python--set-prompt-regexp to set the comint
8758 prompt based on the Python interpreter.
8759 (python--prompt-regexp): New var.
8760 (python-check-comint-prompt)
8761 (python-comint-output-filter-function): Use it.
8762 (run-python): Use a pipe (Bug#5694).
8764 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
8766 * progmodes/python.el (python-send-region): Send a different
8767 Python command if Ipython is in use.
8768 (python-check-version): Use a Python command to find the version.
8770 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8772 * mouse.el (mouse-yank-primary): Avoid setting primary when
8773 deactivating the mark (Bug#6872).
8775 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
8777 * progmodes/python.el (python-block-pairs): Allow use of "finally"
8778 with "else" (Bug#3991).
8780 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
8782 * net/dbus.el: Accept UNIX domain sockets as bus address.
8783 (top): Don't initialize `dbus-registered-objects-table' anymore,
8784 this is done in dbusbind.c.
8785 (dbus-check-event): Adapt test for bus.
8786 (dbus-return-values-table, dbus-unregister-service)
8787 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
8790 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
8792 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8794 2010-08-22 Juri Linkov <juri@jurta.org>
8796 * simple.el (read-extended-command): New function with the logic
8797 for `completing-read' moved to Elisp from `execute-extended-command'.
8798 Use `function-called-at-point' in `minibuffer-default-add-function'
8799 to get a command name for M-n (bug#5364, bug#5214).
8801 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8803 * startup.el (command-line-1): Issue warning for ignored arguments
8804 --unibyte, etc (Bug#6886).
8806 2010-08-22 Leo <sdl.web@gmail.com>
8808 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8809 (ignore, bright, dim, keyword): Split list of nicknames before
8810 passing to rcirc-add-or-remove (Bug#6894).
8812 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8814 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8816 2010-08-22 Leo <sdl.web@gmail.com>
8818 Fix buffer-list rename&refresh after killing a buffer in ido.
8819 * ido.el: Revert Óscar's.
8820 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8821 Remember the buffers at head, rather than their name.
8822 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8824 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
8825 Stefan Monnier <monnier@iro.umontreal.ca>
8827 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8828 extra backslash added to each line (bug#6890).
8830 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8832 * subr.el (read-key): Don't echo keystrokes (bug#6883).
8834 2010-08-22 Glenn Morris <rgm@gnu.org>
8836 * menu-bar.el (menu-bar-games-menu): Add landmark.
8838 2010-08-22 Glenn Morris <rgm@gnu.org>
8840 * align.el (align-regexp): Make group and spacing arguments
8841 use the interactive defaults when non-interactive. (Bug#6698)
8843 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8844 expansion, so as not to need sendmail.
8845 (mail-text-start): Remove declaration.
8846 (rmail-retry-failure): Require sendmail.
8848 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8850 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8852 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
8854 * progmodes/flymake.el (flymake-start-syntax-check-process):
8855 Use `start-file-process' in order to let it run also on remote hosts.
8857 2010-08-22 Kenichi Handa <handa@m17n.org>
8859 * files.el: Add `word-wrap' as safe local variable.
8861 2010-08-22 Glenn Morris <rgm@gnu.org>
8863 * woman.el (woman-translate): Case matters. (Bug#6849)
8865 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8867 * simple.el (kill-region): Doc fix (Bug#6787).
8869 2010-08-22 Glenn Morris <rgm@gnu.org>
8871 * calendar/diary-lib.el (diary-header-line-format):
8872 Fit it to the window, not the frame.
8874 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
8876 * subr.el (ignore-errors): Add debug declaration.
8878 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
8880 * whitespace.el (whitespace-color-off): Remove post-command-hook
8883 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8885 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8887 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8889 * cus-edit.el (custom-group-value-create): Add extra newline
8890 before end line (Bug#6876).
8892 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8894 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8895 when extending it. Before killing on the second click, check if
8896 the buffer is the correct one. Doc fix.
8897 (mouse-secondary-save-then-kill): Allow usage without first
8898 calling mouse-start-secondary, by defaulting to point. Don't save
8899 an empty secondary selection. Doc fix.
8901 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8903 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
8904 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8906 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8907 Adjust initialization.
8908 (whitespace-bob-marker, whitespace-eob-marker)
8909 (whitespace-buffer-changed): New vars.
8910 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8911 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8912 (whitespace-post-command-hook, whitespace-display-char-on):
8914 (whitespace-looking-back, whitespace-buffer-changed): New funs.
8915 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8917 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8919 * files.el (locate-file-completion-table): Only list the .el and .elc
8920 extensions if there's no other choice (bug#5955).
8922 * facemenu.el (facemenu-self-insert-data): New var.
8923 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8925 (facemenu-add-face): Use them.
8927 * simple.el (blink-matching-open): Obey forward-sexp-function.
8929 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
8931 * simple.el (prog-mode-map): New var.
8932 (prog-indent-sexp): New command.
8934 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8936 * progmodes/prolog.el (smie): Require.
8938 * emacs-lisp/smie.el (smie-default-backward-token)
8939 (smie-default-forward-token): Strip properties.
8940 (smie-next-sexp): Be more careful with associative operators.
8941 (smie-forward-sexp-command): Generalize.
8942 (smie-backward-sexp-command): Simplify.
8943 (smie-closer-alist): New var.
8944 (smie-close-block): New command.
8945 (smie-indent-debug-log): New var.
8946 (smie-indent-offset-rule): Add a few more cases.
8947 (smie-indent-column): New function.
8948 (smie-indent-after-keyword): Use it.
8949 (smie-indent-keyword): Use it.
8950 Fix up the opener code's point position.
8951 (smie-indent-comment): Only applies at BOL.
8952 (smie-indent-debug): New command.
8954 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8955 declarations that are useful before running the macro.
8957 2010-08-18 Joakim Verona <joakim@verona.se>
8959 * image.el (imagemagick-types-inhibit): New variable.
8960 (imagemagick-register-types): New function.
8961 * image-mode.el (image-transform-properties): New function.
8962 (image-transform-set-scale, image-transform-fit-to-height)
8963 (image-transform-set-rotation, image-transform-set-resize)
8964 (image-transform-fit-to-width, image-transform-fit-to-height):
8966 (image-toggle-display-image): Support image transforms.
8968 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
8970 * image.el (create-animated-image): Don't add heuristic mask to image
8973 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
8975 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8976 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8978 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
8980 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8982 Font-lock '...' strings, plus various simplifications and fixes.
8983 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8984 (octave-font-lock-close-quotes): New function.
8985 (octave-font-lock-syntactic-keywords): New var.
8986 (octave-mode): Use it. Set beginning-of-defun-function.
8987 (octave-mode-map): Don't override the <foo>-defun commands.
8988 (octave-mode-menu): Pass it directly to easy-menu-define;
8989 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8990 (octave-block-match-alist): Fix up last change so that
8991 octave-close-block uses the more specific keyword.
8992 (info-lookup-mode): Silence byte-compiler.
8993 (octave-beginning-of-defun): Not interactive any more.
8995 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8996 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8997 (octave-completion-at-point-function): Make sure point is within
8999 (octave-reindent-then-newline-and-indent):
9000 Use reindent-then-newline-and-indent.
9001 (octave-add-octave-menu): Remove.
9003 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
9005 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
9006 (report-emacs-bug-can-use-xdg-email): New functions.
9007 (report-emacs-bug): Set can-xdg-email to result of
9008 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
9009 \C-cm to report-emacs-bug-insert-to-mailer and add help text
9012 * net/browse-url.el (browse-url-default-browser): Add cond
9013 for browse-url-xdg-open.
9014 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
9016 2010-08-17 Glenn Morris <rgm@gnu.org>
9018 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
9019 (c-fontify-recorded-types-and-refs): Define for compiler.
9020 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
9023 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
9026 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
9028 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
9030 (tramp-handle-process-file): Call the program in a subshell, in
9031 order to preserve working directory.
9032 (tramp-action-password): Hide password prompt before next run.
9033 (tramp-process-actions): Widen connection buffer for the trace.
9035 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9037 * net/rcirc.el (rcirc-log-process-buffers): New option.
9038 (rcirc-print): Use it.
9039 (rcirc-generate-log-filename): New function.
9040 (rcirc-log-filename-function): Change default to
9041 rcirc-generate-log-filename (Bug#6828).
9043 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
9045 * simple.el (deactivate-mark): If select-active-regions is `only',
9046 only set selection for temporarily active regions.
9048 * cus-start.el: Change defcustom for select-active-regions.
9050 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
9052 * mouse.el (mouse--drag-set-mark-and-point): New function.
9053 (mouse-drag-track): Use LOCATION arg to push-mark.
9054 Use mouse--drag-set-mark-and-point to take click-count into
9055 consideration when updating point and mark (Bug#6840).
9057 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
9059 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9060 Give the Ruby rule a lower priority than Gnu (Bug#6778).
9062 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
9064 * font-lock.el (lisp-font-lock-keywords-2):
9065 Add combine-after-change-calls, condition-case-no-debug,
9066 with-demoted-errors, and with-silent-modifications (Bug#6025).
9068 2010-08-14 Kevin Ryde <user42@zip.com.au>
9070 * emacs-lisp/copyright.el (copyright-update-year)
9071 (copyright-update): Temporary switch-to-buffer to ensure the
9072 buffer change being queried is visible (Bug#5394).
9074 2010-08-14 Tom Tromey <tromey@redhat.com>
9076 * progmodes/etags.el (tags-file-name): Mark safe if stringp
9079 2010-08-14 Eli Zaretskii <eliz@gnu.org>
9081 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
9084 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
9086 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
9087 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9088 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9089 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
9090 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
9091 Call menu-bar-set-tool-bar-position.
9093 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9095 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
9096 comment style (bug#6834).
9097 * progmodes/scheme.el (scheme-mode-syntax-table):
9098 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
9099 "b" flag in "' 14b" syntax.
9101 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
9102 for (un)commenting the region and performing completion.
9103 (octave-mode-menu): Use standard commands for help and completion.
9104 (octave-mode-syntax-table): Support %{..%} comments (sort of).
9105 (octave-mode): Use define-derived-mode.
9106 Set completion-at-point-functions and don't set columns.
9107 Don't disable adaptive-fill-regexp.
9108 (octave-describe-major-mode, octave-comment-region)
9109 (octave-uncomment-region, octave-comment-indent)
9110 (octave-indent-for-comment): Remove.
9111 (octave-indent-calculate): Rename from calculate-octave-indent.
9112 (octave-indent-line, octave-fill-paragraph): Update caller.
9113 (octave-initialize-completions): No need to make an alist.
9114 (octave-completion-at-point-function): New function.
9115 (octave-complete-symbol): Use it.
9116 (octave-insert-defun): Use define-skeleton.
9118 * progmodes/octave-mod.el (octave-mode): Set comment-add.
9119 (octave-mode-map): Use comment-dwim (bug#6829).
9121 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com>
9123 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
9124 indentation of inserted comment.
9126 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
9128 * faces.el (region): Add type gtk that uses gtk colors.
9130 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
9131 Handle theme-name change.
9133 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
9135 * progmodes/sql.el: Version 2.5
9136 (sql-product-alist): Add :prompt-cont-regexp property for several
9138 (sql-prompt-cont-regexp): New variable.
9139 (sql-output-newline-count, sql-output-by-send):
9140 New variables. Record number of newlines in input text.
9141 (sql-send-string): Handle multiple filters and count newlines.
9142 (sql-send-magic-terminator): Count terminator newline.
9143 (sql-interactive-remove-continuation-prompt): Filters output to
9144 remove continuation prompts; one for each newline.
9145 (sql-interactive-mode): Set up new variables, prompt regexp and
9147 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
9148 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
9150 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9152 * emacs-lisp/pcase.el: New file.
9154 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
9156 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
9157 as here-document, otherwise the command could exceed maximum
9158 length of command line.
9159 (tramp-handle-vc-registered): Call script accordingly.
9160 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
9162 2010-08-10 Kenichi Handa <handa@m17n.org>
9164 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
9167 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
9169 * emacs-lisp/package.el (package-version-split)
9170 (package--version-first-nonzero, package-version-compare):
9172 (package-directory-list, package-load-all-descriptors)
9173 (package--built-in, package-activate, define-package)
9174 (package-installed-p, package-compute-transaction)
9175 (package-read-all-archive-contents)
9176 (package--add-to-archive-contents, package-buffer-info)
9177 (package-tar-file-info, package-list-packages-internal):
9178 Use version-to-list and version-list-*.
9180 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9181 Use version-to-list.
9182 (package-upload-buffer-internal): Use version-list-<=.
9184 2010-08-09 Kenichi Handa <handa@m17n.org>
9186 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
9189 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
9191 * tutorial.el (tutorial--default-keys): C-d is now bound to
9192 delete-forward-char (Bug#6826).
9194 * mouse.el (mouse-drag-track): Remove accidentally-removed check
9195 for `double' value of mouse-1-click-follows-link (Bug#6807).
9197 2010-08-08 Johan Bockgård <bojohan@gnu.org>
9199 * replace.el (replace-highlight): Bind isearch-forward and
9200 isearch-error, ensuring that highlighting is updated if the user
9201 switches the search direction (Bug#6808).
9203 * isearch.el (isearch-lazy-highlight-forward): New var.
9204 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9205 (isearch-lazy-highlight-update): Use it.
9207 2010-08-08 Kenichi Handa <handa@m17n.org>
9209 * international/mule.el (define-charset): Store NAME as :base property.
9210 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
9211 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
9212 current priority. Force using the designation of the specific
9213 charset by adding `charset' text property. Improve the whole algorithm.
9215 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9217 * emulation/pc-select.el (pc-selection-mode-hook)
9218 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
9219 (pc-selection-mode): Fix typos in docstrings.
9221 2010-08-08 Kenichi Handa <handa@m17n.org>
9223 * language/cyrillic.el: Don't add "microsoft-cp1251" to
9224 ctext-non-standard-encodings-alist here.
9226 * international/mule.el (ctext-non-standard-encodings-alist):
9227 Add "koi8-r" and "microsoft-cp1251".
9228 (ctext-standard-encodings): New variable.
9229 (ctext-non-standard-encodings-table): List only elements for
9230 non-standard encodings.
9231 (ctext-pre-write-conversion): Adjust for the above change.
9232 Check ctext-standard-encodings.
9234 * international/mule-conf.el (compound-text): Doc fix.
9235 (ctext-no-compositions): Doc fix.
9236 (compound-text-with-extensions): Doc fix.
9238 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9240 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
9242 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9244 * progmodes/which-func.el (which-func-format): Split help-echo text
9245 into lines, like other mode-line tooltips.
9247 * server.el (server-start): When using TCP sockets, force IPv4
9248 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
9250 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9252 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
9254 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9256 * term.el (term-delimiter-argument-list): Reflow docstring.
9257 (term-read-input-ring, term-write-input-ring, term-send-input)
9258 (term-bol, term-erase-in-display, serial-supported-or-barf):
9259 Fix typos in docstrings.
9261 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9263 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
9265 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9267 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
9269 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
9271 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
9272 Fix typo in docstring (bug#6747).
9274 2010-08-08 Leo <sdl.web@gmail.com>
9276 * eshell/esh-io.el (eshell-get-target): Better detection of
9277 read-only file (Bug#6762).
9279 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9281 * align.el (align-default-spacing): Doc fix.
9282 (align-region-heuristic, align-regexp): Fix typos in docstrings.
9284 2010-08-08 Stephen Peters <speters@itasoftware.com>
9286 * calendar/icalendar.el
9287 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
9288 (icalendar--get-weekday-numbers): New.
9289 (icalendar--convert-recurring-to-diary): Handle multiple byday
9290 values in weekly rules. (Bug#6766)
9292 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
9294 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
9295 (icalendar--create-uid, icalendar-export-region)
9296 (icalendar--parse-summary-and-rest): Code formatting.
9298 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
9300 * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
9301 to italicize headers.
9302 (calc-highlight-selections-with-faces): New variable.
9303 (calc-selected-face, calc-nonselected-face): New faces.
9305 * calc/calccomp.el (math-comp-highlight-string): Use
9306 `calc-highlight-selections-with-faces' to determine how to highlight
9309 * calc/calc-sel.el (calc-show-selections): Change message to when
9310 using faces to highlight selections.
9312 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
9314 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
9315 Add SQLite 3 keywords, functions and datatypes.
9316 (sql-interactive-mode): Remove `comint-process-echoes' set to t
9319 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
9321 * simple.el (select-active-regions): Move to keyboard.c.
9322 (deactivate-mark): Used saved-region-selection.
9323 (select-active-region): Function removed.
9324 (activate-mark, set-mark, push-mark-command)
9325 (handle-shift-selection): Don't call it.
9326 (keyboard-quit): Avoid adding the region to the window selection.
9328 * mouse.el (mouse-drag-track): Remove hacks to deal with old
9329 select-active-regions implementation.
9330 (mouse-yank-at-click): Doc fix.
9332 * cus-start.el: Add custom declaration for select-active-regions.
9334 2010-08-07 Eli Zaretskii <eliz@gnu.org>
9336 * simple.el (delete-forward-char): Doc fix.
9338 * tutorial.el (help-with-tutorial): Hack safe file-local variables
9339 after reading the tutorial.
9341 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
9343 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
9344 Fix for the case that a C style comment has its delimiters alone on
9345 their respective lines. (Bug#193)
9347 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
9349 * net/tramp.el (tramp-handle-start-file-process): Set connection
9351 (tramp-process-sentinel): Use it for flushing the cache.
9352 We cannot do it via the process buffer, the buffer could be deleted
9353 already when running the sentinel.
9355 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
9357 * comint.el (comint-mode): Make directory tracking functions
9358 functional on remote files. (Bug#6764)
9360 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
9362 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
9364 2010-08-05 Eli Zaretskii <eliz@gnu.org>
9366 * emacs-lisp/find-gc.el (find-gc-source-files):
9367 Rename unexec.c => unexcoff.c.
9369 * emacs-lisp/authors.el (authors-fixed-entries):
9370 Rename unexec.c => unexcoff.c.
9372 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
9374 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
9375 cache, not only file cache.
9376 (tramp-process-sentinel): New defun.
9377 (tramp-handle-start-file-process): Use it, in order to invalidate
9380 2010-08-03 Leo <sdl.web@gmail.com>
9382 * server.el (server-start): Simplify loop.
9384 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
9386 * frame.el (screen-height, screen-width, set-screen-width)
9387 (set-screen-height): Remove ancient compatibility aliases.
9389 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
9390 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
9392 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
9393 that change current buffer.
9395 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9397 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
9398 beginning of the string. Use `string-match-p'. (Bug#6765)
9400 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
9402 * cus-start.el (x-gtk-use-system-tooltips): New variable.
9404 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
9406 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
9407 (package--builtins): Tweak descriptions.
9408 (package-print-package): Upcase descriptions if necessary.
9409 Show all built-in packages in font-lock-builtin-face.
9410 (package-list-packages-internal): Omit "emacs" package.
9411 Show status of built-in packages as "built-in".
9413 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
9415 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
9416 before killing to preserve the primary selection (Bug#6701).
9418 * term/x-win.el (x-select-text): Doc fix.
9420 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
9422 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
9423 (objc-font-lock-extra-types):
9424 * progmodes/cc-mode.el (c-basic-common-init):
9425 * progmodes/cc-langs.el (c-make-mode-syntax-table)
9426 (c++-make-template-syntax-table)
9427 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
9428 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
9429 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
9430 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
9431 * progmodes/cc-fonts.el (c-make-inverse-face)
9432 (c-basic-matchers-after):
9433 * progmodes/cc-engine.el (c-forward-keyword-clause)
9434 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
9435 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
9436 (c-guess-continued-construct, c-guess-basic-syntax):
9437 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
9438 The above functions were modified or created.
9440 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
9442 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
9444 2010-07-31 Eli Zaretskii <eliz@gnu.org>
9446 * files.el (bidi-paragraph-direction): Define safe local values.
9448 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
9449 language-info-alist. Remove outdated FIXME in a comment.
9451 2010-07-31 Alan Mackenzie <acm@muc.de>
9453 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
9454 Auto-fill broken in C/C++ modes.
9456 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
9458 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9459 (menu-bar-showhide-tool-bar-menu-customize-disable)
9460 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9461 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
9462 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
9463 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
9464 make a menu for Options => toolbar that can move it.
9466 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
9468 * emacs-lisp/package-x.el (package--make-rss-entry):
9469 (package-maint-add-news-item, package--update-news)
9470 (package-upload-buffer-internal): New arg ARCHIVE-URL.
9472 * emacs-lisp/package.el (package-archive-url): Rename from
9474 (package-install): Doc fix.
9475 (package-download-single, package-download-tar, package-install)
9476 (package-menu-view-commentary): Callers changed.
9478 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
9480 * net/tramp.el (tramp-handle-start-file-process): Check only for
9481 `remote-tty' process property.
9482 (tramp-open-shell): Don't check for tty.
9483 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
9486 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
9489 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
9491 * emacs-lisp/package.el (package-load-list, package-archives)
9492 (package-archive-contents, package-user-dir)
9493 (package-directory-list, package--builtins, package-alist)
9494 (package-activated-list, package-obsolete-alist): Mark as risky.
9496 2010-07-28 Phil Hagelberg <phil@evri.com>
9498 Add support for non-default package repositories.
9499 * emacs-lisp/package.el (package-archive-base): Var deleted.
9500 (package-archives): New variable.
9501 (package-archive-contents): Doc fix.
9502 (package-load-descriptor): Do nothing if descriptor file is missing.
9503 (package--write-file-no-coding): New function.
9504 (package-unpack-single): Use it.
9505 (package-archive-id): New function.
9506 (package-download-single, package-download-tar)
9507 (package-menu-view-commentary): Use it.
9508 (package-installed-p): Make second argument optional.
9509 (package-read-all-archive-contents): New function.
9510 (package-initialize): Use it.
9511 (package-read-archive-contents): Add ARCHIVE argument.
9512 (package--add-to-archive-contents): New function.
9513 (package-install): Don't call package-read-archive-contents.
9514 (package--download-one-archive): Store archive file in a
9515 subdirectory of package-user-dir.
9516 (package-menu-execute): Remove spurious line movement.
9518 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
9520 * cus-start.el (tool-bar-style): Add text-image-horiz.
9522 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9524 * progmodes/gud.el (gud-common-init): Check for remoteness of
9525 `file', and not of `default-directory'.
9527 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9529 * net/tramp.el (tramp-methods): Move hostname to the end in all
9530 ssh `tramp-login-args'.
9531 (tramp-verbose): Describe verbose level 9.
9532 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
9533 (tramp-open-connection-setup-interactive-shell): Trace stty
9534 settings if `tramp-verbose' >= 9.
9535 (tramp-handle-start-file-process): Implement tty setting.
9536 (Bug#4604, Bug#6360)
9538 * net/tramp-cmds.el (tramp-bug): Recommend setting of
9539 `tramp-verbose' to 9.
9541 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
9543 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
9544 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
9545 Remove references to package `lisp-re' (bug#4369).
9547 2010-07-27 Tom Tromey <tromey@redhat.com>
9549 * progmodes/js.el (js-mode):
9550 * progmodes/make-mode.el (makefile-mode):
9551 * progmodes/simula.el (simula-mode):
9552 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
9554 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
9556 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
9558 * time.el (display-time-day-and-date): Remove spurious * in docstring.
9559 (display-time-world-buffer-name, display-time-world-mode-map):
9560 Fix typos in docstrings.
9562 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
9564 * image-mode.el (image-display-size): New function.
9565 (image-forward-hscroll, image-next-line, image-eol, image-eob)
9566 (image-mode-fit-frame): Use it (Bug#6639).
9568 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
9570 * dired.el (dired-buffers-for-dir): Handle list values of
9571 dired-directory (Bug#6636).
9573 2010-07-26 Sam Steingold <sds@gnu.org>
9575 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
9576 Do not call `x-get-selection' the second time, reuse the value.
9578 2010-07-26 Daiki Ueno <ueno@unixuser.org>
9580 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
9581 which consist of control chars only. Suggested by Richard Stallman.
9583 2010-07-25 Daiki Ueno <ueno@unixuser.org>
9585 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
9586 exists before passing an error to find-file-not-found-functions
9589 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
9591 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
9592 Remove leading nil element, adjust values.
9593 (tetris-shapes, tetris-shape-scores):
9594 Change representation of shapes and remove some redundancy.
9595 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
9596 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
9597 Adjust for working with new representation of shapes.
9598 (tetris-shape-rotations): New function.
9599 (tetris-move-bottom, tetris-move-left, tetris-move-right)
9600 (tetris-rotate-prev, tetris-rotate-next):
9601 Adjust for working with the new version of tetris-test-shape.
9603 2010-07-23 Markus Triska <markus.triska@gmx.at>
9605 * progmodes/ps-mode.el: Use comint (bug#5954).
9606 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
9607 (ps-mode-other-newline): Simplify.
9608 (ps-run-mode): Derive from comint-mode instead of
9609 fundamental-mode, yielding input history etc.
9610 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
9611 (ps-run-send-string): Adapt for comint-mode.
9612 (ps-run-newline): Remove now unneeded function.
9614 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9616 * net/tramp.el (tramp-methods): Move hostname to the end in all
9617 plink `tramp-login-args'.
9619 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9621 * net/tramp.el (tramp-open-shell): New defun.
9622 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9625 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9627 * net/tramp.el (tramp-file-name-regexp-unified)
9628 (tramp-completion-file-name-regexp-unified): On W32 systems, do
9629 not regard the volume letter as remote filename. (Bug#5447)
9631 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
9633 * custom.el (custom-declare-variable): Give a clearer error message
9634 when the docstring is missing (bug#6476).
9636 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
9638 * progmodes/sql.el: Version 2.4. Improved Login prompting.
9639 (sql-login-params): New widget definition.
9640 (sql-oracle-login-params, sql-mysql-login-params)
9641 (sql-solid-login-params, sql-sybase-login-params)
9642 (sql-informix-login-params, sql-ingres-login-params)
9643 (sql-ms-login-params, sql-postgres-login-params)
9644 (sql-interbase-login-params, sql-db2-login-params)
9645 (sql-linter-login-params): Use it.
9646 (sql-sqlite-login-params): Use it; Define "database" parameter as
9648 (sql-sqlite-program): Change to "sqlite3".
9649 (sql-comint-sqlite): Make sure database name is complete.
9650 (sql-for-each-login): New function.
9651 (sql-connect, sql-save-connection): Use it.
9652 (sql-get-login-ext): New function.
9653 (sql-get-login): Use it.
9654 (sql-make-alternate-buffer-name): Handle :file parameters.
9656 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
9658 * dired.el (dired-no-confirm): Document value t and fix defcustom to
9659 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
9661 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
9663 * dired.el (dired-mode-map): Use command remapping (bug#6632).
9665 2010-07-22 Lawrence Mitchell <wence@gmx.li>
9667 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
9669 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
9671 * net/tramp.el (tramp-get-ls-command)
9672 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
9675 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
9677 * progmodes/sql.el: Version 2.3.
9678 (sql-connection-alist): Change keys from symbols to strings;
9679 enhanced the widget definition.
9680 (sql-mode-menu): Add submenu to select connections.
9681 (sql-interactive-mode-menu): Add "Save Connection" item.
9682 (sql-add-product): Fix menu item.
9683 (sql-get-product-feature): Improved error handling.
9684 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
9685 (sql-make-alternate-buffer-name): Simplified.
9686 (sql-product-interactive): Handle missing product.
9687 (sql-connect): Support string keys, minor improvements.
9688 (sql-save-connection): New function.
9689 (sql-connection-menu-filter): New function.
9691 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9693 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
9694 (tramp-open-connection-setup-interactive-shell):
9695 Apply workaround for IRIX64 bug. Move argument of last
9696 `tramp-send-command' where it belongs to.
9698 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9700 * net/tramp.el (tramp-perl-file-attributes)
9701 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
9702 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
9703 front of `login-args'.
9705 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
9707 * time.el (display-time-world-mode): Define with `define-derived-mode'.
9708 Set `show-trailing-whitespace' to nil.
9709 (display-time-world-display): Simplify.
9711 2010-07-18 Alan Mackenzie <acm@muc.de>
9713 Enhance `c-file-style' in file/directory local variables.
9714 * progmodes/cc-mode.el (c-count-cfss): New function.
9715 (c-before-hack-hook): Call `c-set-style' differently according to
9716 whether c-file-style was set in file or directory local
9719 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
9721 * progmodes/sql.el: Version 2.2.
9722 (sql-product, sql-user, sql-database, sql-server, sql-port):
9723 Use defcustom :safe keyword rather than putting safe-local-variable
9725 (sql-password): Use defcustom :risky keyword rather than putting
9726 risky-local-variable property.
9727 (sql-oracle-login-params, sql-sqlite-login-params)
9728 (sql-solid-login-params, sql-sybase-login-params)
9729 (sql-informix-login-params, sql-ingres-login-params)
9730 (sql-ms-login-params, sql-postgres-login-params)
9731 (sql-interbase-login-params, sql-db2-login-params)
9732 (sql-linter-login-params): Add `port' option.
9733 (sql-get-product-feature): Add NO-INDIRECT parameter.
9734 (sql-comint-oracle, sql-comint-sybase)
9735 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
9736 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
9737 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
9738 (sql-comint-linter): Rename sql-connect-* functions to
9740 (sql-product-alist, sql-mode-menu): Rename as above and
9741 :sqli-connect-func to :sqli-comint-func.
9742 (sql-connection): New variable.
9743 (sql-interactive-mode): Set it.
9744 (sql-connection-alist): New variable.
9745 (sql-connect): New function.
9746 (sql--alt-buffer-part, sql--alt-if-not-empty)
9747 (sql-make-alternate-buffer-name): Improved alternative buffer name.
9749 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9751 * image-mode.el (image-bookmark-make-record): Do not set context
9752 in an image (Bug#6650).
9754 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9756 * simple.el (select-active-region): New function.
9757 (push-mark-command, set-mark, activate-mark)
9758 (handle-shift-selection): Use it.
9759 (deactivate-mark): Don't check for size of region.
9761 * mouse.el (mouse-drag-track): Use select-active-region.
9763 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
9765 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
9768 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9770 * term/x-win.el (x-select-enable-primary): Change default to nil.
9771 (x-select-enable-clipboard): Add :version keyword.
9773 * mouse.el (mouse-drag-copy-region):
9774 * simple.el (select-active-regions): Likewise.
9776 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
9778 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
9779 (vc-coding-system-for-diff): Use it to decide whether to inherit
9780 from the file the EOL format for reading the diffs of that file.
9783 2010-07-16 Eli Zaretskii <eliz@gnu.org>
9785 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
9786 unibyte, so compressed attachments are not compressed again.
9788 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
9790 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
9791 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9792 (tramp-find-shell): Simplify setting connection property.
9793 (tramp-get-ls-command): Make test for "--color=never" stronger.
9795 2010-07-15 Simon South <ssouth@member.fsf.org>
9797 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9798 blocks within record declarations (i.e. variant parts) correctly.
9800 2010-07-15 Simon South <ssouth@member.fsf.org>
9802 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9803 over literal tokens when parsing so newlines aren't "absorbed" by
9804 single-line comments. Corrects the indentation of case blocks
9805 that have a comment on the first line.
9807 2010-07-14 Karl Fogel <kfogel@red-bean.com>
9809 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9810 by Drew Adams (Bug#5504).
9812 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
9814 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9815 now that Unicode is used (Bug#6594).
9817 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
9819 * term/x-win.el (x-select-enable-clipboard): Default to t.
9820 (x-initialize-window-system): Don't overwrite Paste menu item.
9822 * simple.el (select-active-regions): Default to t.
9823 (push-mark-command): Don't overwrite primary with empty string.
9825 * mouse.el: Bind mouse-2 to mouse-yank-primary.
9826 (mouse-drag-copy-region): Default to nil.
9828 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9829 Cut/Copy/Paste menu bar items.
9831 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9833 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9834 Patch applied by Karl Fogel.
9836 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9837 and `bookmark-current-buffer' if they have been already set in
9838 another buffer (e.g gnus-art).
9840 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9841 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9843 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9845 * bookmark.el (bookmark-make-record-default): Allow unneeded
9846 information to be omitted from the record.
9848 Adjust declarations and calls:
9850 * info.el (bookmark-make-record-default): Adjust declaration.
9851 (Info-bookmark-make-record): Adjust call.
9853 * woman.el (bookmark-make-record-default): Adjust declaration.
9854 (woman-bookmark-make-record): Adjust call.
9856 * man.el (bookmark-make-record-default): Adjust declaration.
9857 (Man-bookmark-make-record): Adjust call.
9859 * image-mode.el (bookmark-make-record-default): Adjust declaration.
9861 * doc-view.el (bookmark-make-record-default): Adjust declaration.
9863 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9865 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9866 This is also from Thierry Volpiatto's patch in bug #6444. However,
9867 because it was extraneous to the functional change in that patch,
9868 and causes a re-indendation, I am committing it separately.
9870 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9872 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9873 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9874 Patch applied by Karl Fogel (Bug#6444).
9876 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
9878 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9880 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
9882 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9883 Dempsky; bug#5084). Remove incorrect binding for S-tab.
9884 (ns-alternatives-map): Change S-tab binding to backtab
9887 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9890 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
9892 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9895 * language/tv-util.el (tai-viet-re): Remove format.
9897 2010-07-12 Kenichi Handa <handa@m17n.org>
9899 * language/hebrew.el: Remove no-byte-compile declaration.
9900 Change coding: tag to utf-8. Register hebrew-shape-gstring in
9901 composition-function-table for 3-character looking back.
9902 (hebrew-font-get-precomposed): New function.
9903 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9905 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
9907 * mouse.el (mouse-drag-track): Handle select-active-regions
9910 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
9912 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9913 empty argument to gvfs-copy.
9915 2010-07-10 Glenn Morris <rgm@gnu.org>
9917 * calendar/calendar.el (calendar-week-end-day): New function.
9918 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9919 Respect calendar-week-start-day. (Bug#6606)
9920 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9921 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9922 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9923 respect calendar-week-start-day.
9925 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
9927 * simple.el (use-region-p): Doc fix (Bug#6607).
9929 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
9931 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9932 Add regexps for cucumber and ruby.
9934 2010-07-08 Daiki Ueno <ueno@unixuser.org>
9936 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9937 (epa-file-insert-file-contents): Hack to prevent
9938 find-file from opening empty buffer when decryption failed
9941 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
9943 * textmodes/ispell.el (ispell-alternate-dictionary):
9944 Use file-readable-p.
9945 Return nil if no word-list is found at default locations.
9946 (ispell-complete-word-dict): Default to nil.
9947 (ispell-command-loop): Use 'word-list' when using lookup-words.
9948 (lookup-words): Use ispell-complete-word-dict or
9949 ispell-alternate-dictionary. Check for word-list availability
9950 and handle errors if needed with better messages (Bug#6539).
9951 (ispell-complete-word): Use ispell-complete-word-dict or
9952 ispell-alternate-dictionary.
9954 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
9956 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9957 builtins (BufferError, BytesWarning, WindowsError; callables
9958 bin, bytearray, bytes, format, memoryview, next, print; __package__).
9960 2010-07-07 Glenn Morris <rgm@gnu.org>
9962 * play/zone.el (top-level): Do not require timer, tabify, or cl.
9963 (zone-shift-left): Ignore intangibility, and any errors from
9965 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
9966 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9967 deleting, and copying text properties.
9968 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9969 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9970 to point-max is hard.
9971 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9972 (zone-fill-out-screen): Ignore intangibility.
9974 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
9976 * menu-bar.el (menu-bar-mode):
9977 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9980 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9981 word/line selection (Bug#6565).
9983 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
9985 * net/dbus.el (dbus-send-signal): Declare function.
9987 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
9989 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9990 (dbus-register-property): New optional argument EMITS-SIGNAL.
9991 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9993 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
9995 * mouse.el (mouse-drag-overlay): Variable deleted.
9996 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9997 (mouse--remap-link-click-p): New function.
9998 (mouse-drag-track): Handle dragging by using temporary Transient
9999 Mark mode, instead of a special overlay.
10000 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
10003 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
10006 2010-07-02 Juri Linkov <juri@jurta.org>
10008 * autoinsert.el (auto-insert-alist): Fix readability
10009 by using dotted pair notation for lambda.
10011 2010-07-02 Juri Linkov <juri@jurta.org>
10013 * faces.el (read-face-name): Rename arg `string-describing-default'
10014 to `default'. Doc fix. Display the default value in quotes
10015 in the prompt. With empty input, return the `default' arg,
10016 unless the default value is a string (in which case return nil).
10017 (describe-face): Replace the string `default' arg of `read-face-name'
10018 with the symbol `default'.
10020 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
10022 * emulation/viper-cmd.el (viper-delete-backward-char)
10023 (viper-del-backward-char-in-insert)
10024 (viper-del-backward-char-in-replace, viper-change)
10025 (viper-backward-indent): Replace delete-backward-char with
10026 delete-char (Bug#6552).
10028 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
10030 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
10032 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
10034 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
10035 argument passed to frame-creation-function (Bug#5378).
10037 * faces.el (x-handle-named-frame-geometry)
10038 (x-handle-reverse-video, x-create-frame-with-faces)
10039 (face-set-after-frame-default, tty-create-frame-with-faces):
10040 Don't separately consult default-frame-alist. It is now passed as the
10041 PARAMETER argument.
10043 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
10045 * startup.el (command-line): Don't call tool-bar-setup in a
10048 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
10050 * ruler-mode.el (ruler--save-header-line-format): New fun.
10051 (ruler-mode): Use it as a setter function, so as not to overwrite
10052 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
10054 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
10056 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
10057 (vc-root-diff, vc-print-root-log, vc-log-incoming)
10058 (vc-log-outgoing): Use it.
10059 (vc-diff-internal): Set diff-vc-backend.
10061 * vc/diff-mode.el (diff-vc-backend): New var.
10063 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
10065 * dynamic-setting.el (font-setting-change-default-font):
10066 Remove call to message.
10068 2010-06-28 Kenichi Handa <handa@m17n.org>
10070 * international/quail.el (quail-insert-kbd-layout): Fix the
10071 showing of untranslated characters.
10073 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
10075 * simple.el (delete-active-region): New option.
10076 (delete-backward-char): Implement in Lisp.
10077 (delete-forward-char): New command.
10079 * mouse.el (mouse-region-delete-keys): Delete.
10080 (mouse-show-mark): Simplify.
10082 * bindings.el (global-map): Bind delete and DEL, the former to
10083 delete-forward-char.
10085 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
10087 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
10088 (ruby-mode): Bind indent-line-function (Bug#5119).
10090 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
10092 * startup.el (command-line): Recognize "0" X resource value.
10094 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
10096 * startup.el (command-line): Use X resources to set the value of
10097 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
10099 * menu-bar.el (menu-bar-mode):
10100 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
10101 Set init-value to t.
10103 * frame.el (frame-notice-user-settings): Don't change
10104 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
10105 vice versa (Bug#2249).
10107 2010-06-26 Eli Zaretskii <eliz@gnu.org>
10109 * w32-fns.el (w32-convert-standard-filename): Doc fix.
10111 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
10113 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
10114 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
10116 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
10117 default directories are expanded (Bug#6143).
10119 2010-06-24 Juri Linkov <juri@jurta.org>
10121 * minibuffer.el (completions-format): Change default from nil to
10122 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
10124 2010-06-24 Juri Linkov <juri@jurta.org>
10126 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
10127 buffer-locally to lambda that re-runs the vc diff command.
10130 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
10132 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
10133 echo area is in use (Bug#3412).
10135 2010-06-22 Glenn Morris <rgm@gnu.org>
10137 * textmodes/texinfmt.el (texinfo-format-region)
10138 (texinfo-raise-lower-sections, texinfo-format-separate-node)
10139 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
10140 (texinfo-format-option, texinfo-noindent):
10141 Use line-beginning-position and line-end-position.
10143 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
10144 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
10145 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
10148 2010-06-21 Karl Fogel <kfogel@red-bean.com>
10150 * play/zone.el (zone-fall-through-ws): Fix next-line ->
10151 forward-line fallout.
10153 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
10155 * mouse.el (mouse-appearance-menu): Add docstring.
10157 * help.el (describe-key): Print up-event using key-description.
10159 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
10161 * net/zeroconf.el (zeroconf-resolve-service)
10162 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
10163 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
10165 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
10167 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
10169 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
10171 Avoid displaying files with a nil state in vc-dir.
10172 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
10173 cases that cause insertion.
10174 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
10177 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
10179 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
10181 2010-06-29 Leo <sdl.web@gmail.com>
10183 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
10185 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10187 * generic-x.el (bat-generic-mode): Fix regexp for command line
10188 switches (Bug#5719).
10190 2010-06-27 Masatake YAMATO <yamato@redhat.com>
10192 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
10193 of nconc to avoid pure storage error (Bug#6239).
10195 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
10197 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
10198 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
10199 bindings of bookmark-automatically-show-annotations (Bug#6515).
10201 2010-06-25 Eli Zaretskii <eliz@gnu.org>
10203 * arc-mode.el (archive-zip-extract): Don't quote the file name on
10204 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
10206 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
10208 * comint.el (make-comint, make-comint-in-buffer): Mention return
10209 value in the docstrings. (Bug#6498)
10211 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
10213 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
10214 since it is not present when using some non-default switches.
10216 2010-06-23 Karl Fogel <kfogel@red-bean.com>
10218 * simple.el (compose-mail): Fix doc string to refer to
10219 `compose-mail-user-agent-warnings', instead of to the
10220 nonexistent `compose-mail-check-user-agent'.
10222 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
10224 Fix an indentation bug:
10226 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
10227 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
10228 of existing values.
10230 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
10231 (c-clear->-pair-props-if-match-before): now return t when they've
10232 cleared properties, nil otherwise.
10233 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
10234 by taking account of the existing value.
10236 * progmodes/cc-defs.el
10237 (c-clear-char-property-with-value-function): Fix this to clear the
10238 property rather than overwriting it with nil.
10240 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
10242 * emacs-lisp/package.el (package-print-package): Add link to
10243 package description via describe-package.
10244 (describe-package-1): List package requirements. Add button to
10245 perform installation.
10246 (package-menu-describe-package): New command.
10248 * help-mode.el (help-package): New button type.
10250 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
10252 * emacs-lisp/package.el: Move package-list-packages binding to
10254 (describe-package, describe-package-1, package--dir): New funs.
10255 (package-activate-1): Use package--dir.
10257 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
10259 * help-mode.el (help-package-def): New button type.
10261 * menu-bar.el: Move package-list-packages binding here from
10264 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
10266 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
10268 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10270 * emacs-lisp/edebug.el (edebug-read-list):
10271 Phase out old-style backquotes.
10273 2010-06-17 Juri Linkov <juri@jurta.org>
10275 * help-mode.el (help-mode): Set buffer-local variable
10276 revert-buffer-function to help-mode-revert-buffer.
10277 (help-mode-revert-buffer): New function.
10279 * info.el (Info-revert-find-node): Check for major-mode Info-mode
10280 before popping to "*info*" (like in other Info functions).
10281 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
10282 old-history-forward. Pop to old-buffer-name or "*info*" to
10283 recreate the killed buffer. Set Info-history-forward from
10284 old-history-forward.
10285 (Info-breadcrumbs-depth): Add :group and :version.
10287 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
10289 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
10291 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
10293 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
10294 for languages like Portuguese with pt_{BR,PT} and no plain pt.
10296 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
10298 * emacs-lisp/package.el (package-menu-mode-map):
10299 Move initialization into declaration.
10301 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
10303 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
10305 * emacs-lisp/package.el (package-archive-base): Point to
10307 (package-enable, package-load-list): New defcustoms.
10308 (package-user-dir, package-directory-list): Turn into defcustoms.
10309 Don't include package-user-dir in package-directory-list.
10310 (package--builtins-base): Don't include Emacs as a "package".
10311 (package-subdirectory-regexp): New var.
10312 (package-load-all-descriptors, package-compute-transaction)
10313 (package-download-transaction): Obey package-load-list.
10314 (package-activate-1): Rename from package-do-activate.
10315 (package-list-packages-internal): Check package-load-list.
10316 (package-load-descriptor, package-generate-autoloads)
10317 (package-unpack, package-unpack-single)
10318 (package--read-archive-file, package-delete):
10319 Use expand-file-name.
10321 * emacs-lisp/package-x.el: New file. Package uploading
10322 functionality split out from package.el.
10324 * startup.el (command-line): Load packages after reading init file.
10326 2010-06-17 Tom Tromey <tromey@redhat.com>
10328 * emacs-lisp/package.el: New file.
10330 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
10332 Fix vc-annotate for renamed files when using Git.
10333 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
10334 ls-files. Doe not pass the object as a file name to cat-file, it
10335 is not a file name.
10336 (vc-git-annotate-command): Pass the file name using -- to avoid
10337 ambiguity with the revision.
10338 (vc-git-previous-revision): Pass a relative file name.
10340 2010-06-22 Glenn Morris <rgm@gnu.org>
10342 * progmodes/js.el (js-mode-map): Use standard capitalization and
10343 ellipses for menu entries.
10345 * wid-edit.el (widget-complete): Doc fix.
10347 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
10349 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
10351 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
10353 Fix annotating other revisions for renamed files in vc-annotate.
10354 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
10355 VC backend. Use it when non-nil.
10356 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
10359 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
10360 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10361 Do not pass the file name to the 'previous-revision call when we
10362 don't want a file diff. (Bug#6489)
10364 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
10366 Fix finding revisions for renamed files in vc-annotate.
10367 * vc/vc.el (vc-find-revision): Add an optional argument for
10368 the VC backend. Use it when non-nil.
10369 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
10370 backend to vc-find-revision. (Bug#6487)
10372 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
10374 Fix reading file names in Git annotate buffers.
10375 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
10376 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
10378 2010-06-20 Alan Mackenzie <acm@muc.de>
10380 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
10381 in file local variables, set it first.
10383 2010-06-19 Glenn Morris <rgm@gnu.org>
10385 * descr-text.el (describe-char-unicode-data): Insert separating
10386 space when needed. (Bug#6422)
10388 * progmodes/idlwave.el (idlwave-action-and-binding):
10389 Fix typo in 2009-12-03 change. (Bug#6450)
10391 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10393 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
10394 handling for `lambda' (misunderstanding).
10396 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
10398 * calc/calc-poly.el (math-accum-factors): Make sure that
10399 constants aren't distributed after they are factored out.
10401 2010-06-16 Juri Linkov <juri@jurta.org>
10403 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
10404 `list-colors-print'. (Bug#6332)
10406 * subr.el (read-quoted-char): Fix up last change (bug#6290).
10408 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
10410 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
10411 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
10413 * font-lock.el (font-lock-major-mode): Rename from
10414 font-lock-mode-major-mode to distinguish it from
10415 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
10416 (font-lock-set-defaults):
10417 * font-core.el (font-lock-default-function): Adjust users.
10418 (font-lock-mode): Don't set it at all.
10420 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
10422 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
10424 2010-06-16 Glenn Morris <rgm@gnu.org>
10426 * calendar/appt.el (appt-time-msg-list): Doc fix.
10427 (appt-check): Let-bind appt-warn-time.
10428 (appt-add): Make the 3rd argument optional.
10429 Simplify argument names. Doc fix. Check for integer WARNTIME.
10430 Only add WARNTIME to the output list if non-nil.
10432 2010-06-16 Ivan Kanis <apple@kanis.eu>
10434 * calendar/appt.el (appt-check): Let the 3rd element of
10435 appt-time-msg-list specify the warning time.
10436 (appt-add): Add new argument with the warning time. (Bug#5176)
10438 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10440 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
10441 older than version 1.6. (Bug#6361)
10443 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
10445 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
10446 used by cl-do-arglist. (Bug#6408)
10448 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
10450 * textmodes/ispell.el (ispell-dictionary-base-alist):
10451 Fix portuguese casechars/not-casechars for missing 'çÇ'.
10452 Suggested by Rolando Pereira (bug#6434).
10454 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
10456 * facemenu.el (list-colors-sort): Doc fix.
10458 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10460 * progmodes/sql.el (sql-connect-mysql): Fix typo.
10462 2010-06-14 Juri Linkov <juri@jurta.org>
10464 Add sort option `list-colors-sort'. (Bug#6332)
10465 * facemenu.el (color-rgb-to-hsv): New function.
10466 (list-colors-sort): New defcustom.
10467 (list-colors-sort-key): New function.
10468 (list-colors-display): Doc fix. Sort list according to the option
10469 `list-colors-sort'.
10470 (list-colors-print): Add HSV values to `help-echo' property of
10473 2010-06-14 Juri Linkov <juri@jurta.org>
10475 * compare-w.el: Move to the "vc" subdirectory.
10477 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10479 * image-mode.el (image-mode-map): Remap left-char and right-char.
10481 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
10483 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
10485 * term/common-win.el (x-colors): Add all the color names defined
10486 in rgb.txt (Bug#6332).
10488 * facemenu.el (list-colors-print): Don't print extra names if it
10489 will overflow the window width.
10491 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
10494 2010-06-12 Eli Zaretskii <eliz@gnu.org>
10496 * files.el (make-directory): Doc fix (bug#6396).
10498 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
10500 * net/tramp.el (tramp-remote-process-environment): Protect version
10501 string by apostroph.
10502 (tramp-shell-prompt-pattern): Do not use a shy group in case of
10504 (tramp-file-name-for-operation): Add `call-process-region'.
10505 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
10507 * net/tramp-compat.el (top): Do not autoload
10508 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
10509 only when `start-file-process' is not bound.
10510 (tramp-advice-file-expand-wildcards): Do not use
10511 `tramp-handle-file-remote-p'.
10512 (tramp-compat-make-temp-file): Handle the case, that
10513 `make-temp-file' has no third argument EXTENSION.
10515 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
10517 * makefile.w32-in (WINS_BASIC): Include new directory vc.
10519 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
10521 2010-06-11 Juri Linkov <juri@jurta.org>
10523 * finder.el (finder-known-keywords): Add keyword "vc"
10524 for version control.
10526 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
10527 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
10528 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
10529 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
10531 2010-06-11 Juri Linkov <juri@jurta.org>
10533 Move version control related files to the "vc" subdirectory.
10534 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
10535 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
10536 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
10537 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
10538 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
10539 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
10540 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
10541 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
10542 Move files to the "vc" subdirectory.
10544 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
10546 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
10549 2010-06-11 Stephen Eglen <stephen@gnu.org>
10551 * shell.el: Bind `shell-resync-dirs' to M-RET.
10553 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
10555 * notifications.el: Move file from lisp/net, because it is
10556 supposed to talk locally to the user.
10558 2010-06-10 Julien Danjou <julien@danjou.info>
10560 * net/notifications.el (notifications-on-action-signal)
10561 (notifications-on-closed-signal): Pass notification id as first
10562 argument to the callback functions. Add docstrings.
10563 (notifications-notify): Fix docstring.
10565 2010-06-10 Glenn Morris <rgm@gnu.org>
10567 * emacs-lisp/authors.el (authors-ignored-files)
10568 (authors-valid-file-names): Add some files.
10570 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10572 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
10573 merge conflict, giving preference to the emacs-23 version of the code.
10575 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10577 * emacs-lisp/advice.el (ad-compile-function):
10578 Define warning-suppress-types before we let-bind it (bug#6275).
10580 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
10581 declare it, make it buffer-local and permanent-local (bug#6324).
10582 (vc-resynch-window): Adjust name.
10583 * vc-hooks.el (vc-find-file-hook): Adjust name.
10585 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
10587 * net/notifications.el (notifications-notify): Fix docstring.
10589 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10591 Update to Unicode 6.0.0 beta.
10592 * international/charprop.el: Update copyright.
10593 * international/mule-cmds.el (ucs-names): Update character ranges.
10594 * international/uni-bidi.el:
10595 * international/uni-category.el:
10596 * international/uni-combining.el:
10597 * international/uni-comment.el:
10598 * international/uni-decimal.el:
10599 * international/uni-decomposition.el:
10600 * international/uni-digit.el:
10601 * international/uni-lowercase.el:
10602 * international/uni-mirrored.el:
10603 * international/uni-name.el:
10604 * international/uni-numeric.el:
10605 * international/uni-old-name.el:
10606 * international/uni-titlecase.el:
10607 * international/uni-uppercase.el: Regenerate.
10609 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10611 * emacs-lisp/smie.el (comment-string-strip): Declare function.
10612 (smie-precs-precedence-table): Fix typo in docstring.
10614 * vc-mtn.el (log-edit-extract-headers): Declare function.
10616 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
10618 * net/notifications.el (dbus-register-signal): Declare function.
10619 (notifications-notify): Fix typos and reflow docstring.
10621 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10623 Improve VC create/retrieve tag/branch.
10624 * vc.el (vc-create-tag): Do not read the directory name for VCs
10625 with repository revision granularity. Adjust the tag/branch
10626 prompt. Reset VC properties.
10627 (vc-retrieve-tag): Do not read the directory name for VCs
10628 with repository revision granularity. Reset VC properties.
10630 2010-06-09 Julien Danjou <julien@danjou.info>
10632 * net/notifications.el: New file.
10634 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10636 Add optional support for resetting VC properties.
10637 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
10638 call vc-file-clearprops when true.
10639 (vc-resynch-buffer): Add new optional argument, pass it down.
10640 (vc-resynch-buffers-in-directory): Likewise.
10642 Improve support for special markup in the VC commit message.
10643 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
10644 * vc-hg.el (vc-hg-checkin): Add support for Date:.
10645 * vc-git.el (vc-git-checkin):
10646 * vc-bzr.el (vc-bzr-checkin): Likewise.
10648 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10650 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
10651 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
10653 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
10655 * iimage.el: Remove images as soon as the underlying text is modified.
10656 (iimage-modification-hook): New function.
10657 (iimage-mode-buffer): Use it.
10659 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10661 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
10662 smie-indent-offset-after. Add :prev case. Make a bit more generic.
10663 (smie-indent-virtual): Remove `virtual' arg. Update callers.
10664 (smie-indent-keyword): Add handling of open-paren keywords.
10665 (smie-indent-comment-continue): Don't assume comment-continue.
10667 2010-06-07 Martin Rudalics <rudalics@gmx.at>
10669 * window.el (pop-to-buffer): Remove the conditional that
10670 compares new-window and old-window, so it will reselect
10671 the selected window unconditionally.
10672 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
10674 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10676 * emacs-lisp/smie.el (smie-indent-offset-after)
10677 (smie-indent-forward-token, smie-indent-backward-token): New functions.
10678 (smie-indent-after-keyword): Use them.
10679 (smie-indent-fixindent): Only applies to the indentation of the BOL.
10680 (smie-indent-keyword): Tweak the black magic.
10681 (smie-indent-comment-continue): Strip comment-continue before use.
10682 (smie-indent-functions): Indent comments before keywords.
10684 2010-06-06 Juri Linkov <juri@jurta.org>
10686 * isearch.el (isearch-lazy-highlight-search): Fix looping
10687 by checking for empty match. This syncs this loop with the
10688 similar loop in `isearch-search'. (Bug#6362)
10690 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
10692 * net/dbus.el (dbus-register-method): Declare function.
10693 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
10694 (dbus-introspect): Doc fix.
10695 (dbus-event-bus-name, dbus-introspect-get-interface)
10696 (dbus-introspect-get-argument): Reflow docstrings.
10698 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
10700 vc-log-incoming/vc-log-outgoing fixes for Git.
10701 * vc-git.el (vc-git-log-view-mode): Fix font lock for
10702 incoming/outgoing logs.
10703 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
10704 instead of vc-git-compute-remote.
10705 (vc-git-compute-remote): Remove.
10707 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
10709 * term/common-win.el (x-colors): Add "dark green" and "dark
10710 turquoise" (Bug#6332).
10712 2010-06-04 Juri Linkov <juri@jurta.org>
10714 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
10715 Instead of setting `replace' to t and replacing the same string
10716 with itself, don't do certain actions when
10717 kill-do-not-save-duplicates is non-nil and string is equal to car
10718 of kill-ring: don't call menu-bar-update-yank-menu, don't push
10719 interprogram-paste strings to kill-ring, and don't push the input
10720 argument `string' to kill-ring.
10721 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
10723 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10725 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
10727 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
10729 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
10730 (tramp-gvfs-handler-mounted-unmounted)
10731 (tramp-gvfs-connection-mounted-p): Handle default-location.
10733 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
10734 move files to trash.
10736 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10738 * international/mule-cmds.el (nonascii-insert-offset)
10739 (nonascii-translation-table): Add obsolescence information.
10741 * international/mule.el (make-translation-table-from-vector): Doc fix.
10743 2010-06-03 Glenn Morris <rgm@gnu.org>
10745 * desktop.el (desktop-clear-preserve-buffers):
10746 Add "*Warnings*" buffer. (Bug#6336)
10748 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
10750 vc-log-incoming/vc-log-outgoing improvements for Git.
10751 * vc-git.el (vc-git-log-outgoing): Use the same format as the
10753 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
10755 Add bindings for vc-log-incoming and vc-log-outgoing.
10756 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
10757 and vc-log-outgoing.
10758 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
10759 and vc-log-outgoing.
10761 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10763 * net/rcirc.el (rcirc-sort-nicknames): Remove.
10764 (rcirc-handler-366): Always sort nicknames.
10766 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
10768 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
10770 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10772 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
10774 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10776 * net/rcirc.el (rcirc-sort-nicknames): Change default.
10777 (rcirc-sort-nicknames-join): Avoid setq.
10779 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10781 * net/rcirc.el (rcirc-sort-nicknames): New custom.
10782 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
10783 (rcirc-handler-366): Use them.
10785 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10787 Split smie-indent-calculate into more manageable chunks.
10788 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
10789 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
10790 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
10791 (smie-indent-exps): Extract from smie-indent-calculate.
10792 (smie-indent-functions): New var.
10793 (smie-indent-functions): Use them.
10795 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10797 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10798 (smie-indent-calculate): Simplify and cleanup.
10800 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
10802 * net/tramp-gvfs.el (top): Require url-util.
10803 (tramp-gvfs-mount-point): Remove.
10804 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10806 (with-tramp-dbus-call-method): Format trace message.
10807 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10808 Implement backup call, when operation on local files fails.
10809 Use progress reporter. Flush properties of changed files.
10810 (tramp-gvfs-handle-make-directory): Make more traces.
10811 (tramp-gvfs-url-file-name): Hexify file name in url.
10812 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10813 into account for the resulting file name.
10814 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10815 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
10816 (tramp-gvfs-handler-mounted-unmounted)
10817 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10818 attribute "default_location". Set "prefix" property.
10819 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10820 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10821 exists. Raise an error, if not (due to a corresponding answer
10822 "no" in interactive questions, for example).
10824 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
10826 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10828 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
10830 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10831 right-*. (Bug#6265)
10833 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
10835 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10836 * vc-git.el (vc-git-compute-remote): New function.
10837 (vc-git-log-outgoing): Use it instead of hard coding a value.
10838 (vc-git-log-incoming): New function.
10840 Improve state updating for VC tag commands.
10841 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10842 to update the state of all buffers in the directory.
10844 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10846 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10848 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10849 `file-directory-p' to the filename part rather than to the whole text.
10851 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10853 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10855 2010-05-31 Drew Adams <drew.adams@oracle.com>
10857 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10859 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
10861 * subr.el (momentary-string-display): Just use read-event to read
10862 the exit event (Bug#6238).
10864 2010-05-30 Eli Zaretskii <eliz@gnu.org>
10866 * international/mule.el (define-coding-system): Doc fix (bug#6313).
10868 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10870 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10871 Suggested by Eli Zaretskii <eliz@gnu.org>.
10873 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10875 * minibuffer.el (completion-file-name-table): Don't return a boundary
10876 past the end of `string' (bug#6299).
10877 (completion--file-name-table): Delegate to completion-file-name-table
10878 for the `boundaries' case.
10880 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10882 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10885 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10886 `path-separator', but maintain compatibility with Emacs 20.2.
10888 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10890 * server.el (server-process-filter): Receive parent-id argument
10892 (server-create-window-system-frame): New arg. Pass parent-id as
10895 2010-05-29 Eli Zaretskii <eliz@gnu.org>
10897 Bidi-sensitive word movement with arrow keys.
10898 * subr.el (right-arrow-command, left-arrow-command): Move to
10901 * bindings.el (right-char, left-char): Move from subr.el and
10902 rename from right-arrow-command and left-arrow-command.
10903 (right-word, left-word): New functions.
10904 (global-map) <right>: Bind to right-char.
10905 (global-map) <left>: Bind to left-char.
10906 (global-map) <C-right>: Bind to right-word.
10907 (global-map) <C-left>: Bind to left-word.
10909 * ls-lisp.el (ls-lisp-classify-file): New function.
10910 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10911 (ls-lisp-classify): Call ls-lisp-classify-file.
10912 (insert-directory): Remove blanks from switches.
10914 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10916 * ansi-color.el: Delete unused escape sequences (Bug#6085).
10917 (ansi-color-drop-regexp): New constant.
10918 (ansi-color-apply, ansi-color-filter-region)
10919 (ansi-color-apply-on-region): Delete unrecognized control sequences.
10920 (ansi-color-apply): Build string list before calling concat.
10922 2010-05-28 Juri Linkov <juri@jurta.org>
10924 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10925 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10928 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10930 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10931 to ignored backtrace functions.
10932 (with-progress-reporter): Expand docstring.
10933 (tramp-handle-delete-file): Implement TRASH argument.
10934 (tramp-get-remote-trash): New defun.
10936 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10938 * net/tramp-compat.el (tramp-compat-delete-file):
10939 Use `symbol-value' for backward compatibility.
10941 * net/tramp.el (tramp-handle-make-symbolic-link)
10942 (tramp-handle-load)
10943 (tramp-do-copy-or-rename-file-via-buffer)
10944 (tramp-do-copy-or-rename-file-directly)
10945 (tramp-do-copy-or-rename-file-out-of-band)
10946 (tramp-handle-process-file, tramp-handle-call-process-region)
10947 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10948 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10949 (tramp-delete-temp-file-function): Use `delete-file' instead
10950 of `tramp-compat-delete-file'.
10952 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10953 (tramp-fish-handle-make-symbolic-link)
10954 (tramp-fish-handle-process-file): Use `delete-file' instead
10955 of `tramp-compat-delete-file'.
10957 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10958 Use `delete-file' instead of `tramp-compat-delete-file'.
10960 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
10961 Use `delete-file' instead of `tramp-compat-delete-file'.
10963 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10964 Use `delete-file' instead of `tramp-compat-delete-file'.
10966 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10967 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10968 (tramp-smb-handle-write-region): Use `delete-file' instead of
10969 `tramp-compat-delete-file'.
10970 (tramp-smb-handle-delete-directory): Use 'trash as arg.
10972 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10974 * dired.el (dired-delete-file): New arg TRASH.
10975 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
10976 (dired-do-flagged-delete, dired-do-delete): Use trash.
10978 * speedbar.el (speedbar-item-delete): Allow trashing.
10980 * files.el (delete-directory): New arg TRASH.
10982 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10983 (ange-ftp-rename-remote-to-remote)
10984 (ange-ftp-rename-local-to-remote)
10985 (ange-ftp-rename-remote-to-local, ange-ftp-load)
10986 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10988 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10991 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10992 handle new TRASH arg of `delete-file'.
10994 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10995 (tramp-handle-make-symbolic-link, tramp-handle-load)
10996 (tramp-do-copy-or-rename-file-via-buffer)
10997 (tramp-do-copy-or-rename-file-directly)
10998 (tramp-do-copy-or-rename-file-out-of-band)
10999 (tramp-handle-process-file, tramp-handle-call-process-region)
11000 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11001 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11002 (tramp-delete-temp-file-function): Use null TRASH arg in
11003 tramp-compat-delete-file call.
11005 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
11006 (tramp-fish-handle-delete-file)
11007 (tramp-fish-handle-make-symbolic-link)
11008 (tramp-fish-handle-process-file): Use null TRASH arg in
11009 `tramp-compat-delete-file' call.
11011 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
11012 arg in `tramp-compat-delete-file' call.
11014 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
11015 (tramp-gvfs-handle-write-region): Use null TRASH arg in
11016 `tramp-compat-delete-file' call.
11018 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
11019 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
11020 `tramp-compat-delete-file' call.
11022 * net/tramp-smb.el (tramp-smb-handle-copy-file)
11023 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11024 (tramp-smb-handle-write-region): Use null TRASH arg in
11025 tramp-compat-delete-file call.
11026 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
11027 (tramp-smb-handle-delete-file): Rename arg.
11029 * diff.el (diff-sentinel):
11030 * epg.el (epg--make-temp-file, epg-decrypt-string)
11031 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11032 * jka-compr.el (jka-compr-partial-uncompress)
11033 (jka-compr-call-process, jka-compr-write-region):
11034 * server.el (server-sentinel): Remove optional arg from
11035 delete-file, reverting 2010-05-03 change.
11037 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
11039 * progmodes/verilog-mode.el (verilog-type-font-keywords):
11040 Use font-lock-constant-face, not obsolete font-lock-reference-face.
11042 2010-05-27 Kenichi Handa <handa@m17n.org>
11044 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
11045 element of GSTRING is nil.
11047 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11049 * emacs-lisp/smie.el (smie-forward-token-function)
11050 (smie-backward-token-function): New vars.
11051 (smie-backward-sexp, smie-forward-sexp)
11052 (smie-indent-hanging-p, smie-indent-calculate): Use them.
11053 (smie-default-backward-token): Rename from smie-backward-token and
11055 (smie-default-forward-token): Rename from smie-forward-token and
11057 (smie-next-sexp): Handle nil results from next-token.
11058 (smie-indent-calculate): Add a new case for special `fixindent' comments.
11060 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
11062 * progmodes/verilog-mode.el (verilog-type-font-keywords):
11063 Use font-lock-constant-face, not obsolete font-lock-reference-face.
11065 2010-05-27 Masatake YAMATO <yamato@redhat.com>
11067 * htmlfontify.el (hfy-face-resolve-face): New function.
11068 (hfy-face-to-style): Use it (Bug#6279).
11070 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11072 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
11073 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
11075 2010-05-26 Glenn Morris <rgm@gnu.org>
11077 * emulation/edt.el (edt-load-keys): Use locate-library.
11079 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
11081 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
11082 (log-edit-changelog-entries): Doc fix.
11083 (log-edit-changelog-insert-entries): Args changed.
11084 Rename relative filenames in ChangeLog entries. Delete tabs.
11085 (log-edit-insert-changelog-entries): Reorganize return value of
11086 `log-edit-changelog-entries' to pass filenames to
11087 log-edit-changelog-insert-entries.
11089 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11091 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
11092 `image-dired-dired-insert-marked-thumbs' to
11093 `image-dired-dired-toggle-marked-thumbs'.
11095 * image-dired.el: Require cl when compiling.
11096 (image-dired-dired-toggle-marked-thumbs): Rename from
11097 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
11098 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
11099 to 'no-dir. Skip files whose names don't match
11100 `image-file-name-regexp'. When file has a thumbnail overlay,
11101 delete it. (Bug#5270)
11103 2010-05-25 Juri Linkov <juri@jurta.org>
11105 * image-mode.el (image-mode): Add image-after-revert-hook to
11107 (image-after-revert-hook): New function. (Bug#5669)
11109 2010-05-25 Juri Linkov <juri@jurta.org>
11111 * image.el (image-animated-p): When delay between animated images
11112 is 0, set it to 10 (0.1 sec). (Bug#6258)
11114 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
11116 * net/tramp.el (tramp-handle-insert-directory): Don't use
11117 `forward-word', its default syntax could be changed.
11119 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
11121 * net/tramp.el (tramp-progress-reporter-update): New defun.
11122 (with-progress-reporter): Use it.
11123 (tramp-process-actions):
11124 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
11125 Preserve current message, in order to let progress reporter continue
11126 afterwards. (Bug#6257)
11128 2010-05-25 Glenn Morris <rgm@gnu.org>
11130 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
11133 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
11135 * net/rcirc.el (rcirc-default-user-name): Change to "user".
11136 (rcirc-default-full-name): Change to "unknown".
11137 (rcirc-user-name-history): Add variable.
11139 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
11140 Jonathan Rockway <jon@jrock.us>
11142 * net/rcirc.el (rcirc-server-alist): Add :pass.
11143 (rcirc): When prompting for connection parameters, also prompt for
11144 username and password.
11145 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
11146 value to server when connecting.
11148 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11150 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
11151 (smie-merge-prec2s): Pass the tables as separate args.
11152 (smie-bnf-precedence-table): Adjust call accordingly.
11153 (smie-prec2-levels): Set levels at the end.
11155 Replace Lisp calls to delete-backward-char by delete-char.
11156 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
11157 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
11158 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
11159 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
11160 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
11161 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
11162 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
11163 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
11164 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
11165 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
11166 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
11167 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
11168 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
11169 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
11170 delete-backward-char by calls to delete-char.
11172 2010-05-25 Kenichi Handa <handa@m17n.org>
11174 * language/hebrew.el (hebrew-shape-gstring): New function.
11175 Register it in composition-function-table for all Hebrew combining
11178 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11180 * epa.el (epa--select-keys): Don't explicitly delete the window since
11181 that can fail (e.g. sole window in frame). Use dedication instead.
11183 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11185 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
11187 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
11189 * image.el (image-refresh): Define as an alias for image-flush.
11191 * image-mode.el (image-toggle-display-image): Caller changed.
11193 2010-05-21 Juri Linkov <juri@jurta.org>
11195 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
11196 Remove "all" from grep-files-aliases. Split grep-files-aliases by
11197 whitespace, call wildcard-to-regexp on substrings and concat them
11198 with "\\|". (Bug#6114)
11200 2010-05-21 Alan Mackenzie <acm@muc.de>
11202 * progmodes/cc-engine.el (c-parse-state-get-strategy):
11203 Replace parameter `here' with `here-' and `here-plus', which sandwich
11204 any pertinent CPP construct.
11205 (c-remove-stale-state-cache-backwards): Fix a bug which happens
11206 when doing (c-parse-state) in a CPP construct: Exclude any "new"
11207 CPP construct from taking part in the scanning.
11209 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
11211 * net/tramp.el (tramp-do-copy-or-rename-file)
11212 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
11213 Tune `with-progress-reporter' messages.
11214 (tramp-handle-vc-registered):
11215 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
11216 (tramp-fish-handle-insert-file-contents)
11217 (tramp-fish-maybe-open-connection):
11218 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11219 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
11220 (tramp-imap-handle-insert-file-contents)
11221 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
11223 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
11225 * add-log.el (change-log-font-lock-keywords):
11226 Highlight all authors in multi-author entries.
11228 * smerge-mode.el (smerge-refine-ignore-whitespace)
11229 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
11230 Fix typos in docstrings.
11231 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
11233 2010-05-21 Glenn Morris <rgm@gnu.org>
11235 * progmodes/fortran.el (fortran-mode):
11236 * progmodes/f90.el (f90-mode): Derive from prog-mode.
11238 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
11239 having a relative path in src/Makefile.in.
11241 2010-05-20 Kevin Ryde <user42@zip.com.au>
11243 * help-mode.el (help-make-xrefs): For Info node links turn
11244 newlines into spaces. Link node names with newlines are matched
11245 by help-xref-info-regexp and buttonized, this change ensures they
11246 can be followed successfully with RET. (Bug#6206)
11248 2010-05-20 Juri Linkov <juri@jurta.org>
11250 * locate.el (locate): Use pop-to-buffer instead of
11251 switch-to-buffer-other-window. (Bug#6204)
11253 2010-05-20 Juri Linkov <juri@jurta.org>
11255 * replace.el (replace-highlight): Fix lazy-highlighting
11256 for `M-s w str M-% str RET'.
11258 2009-12-15 Masatake YAMATO <yamato@redhat.com>
11260 * isearch.el (isearch-yank-word-or-char): Pull next subword
11261 when `subword-mode' is activated. (Bug#6220)
11263 2010-05-20 Mark A. Hershberger <mah@everybody.org>
11265 * isearch.el (isearch-update-post-hook): New hook.
11266 (isearch-update): Use the new hook. (Bug#6225)
11268 2010-05-20 Juri Linkov <juri@jurta.org>
11270 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
11271 [f1], [help], and (char-to-string help-char) instead of "\C-h".
11274 2010-05-20 Juri Linkov <juri@jurta.org>
11276 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
11279 2010-05-20 Juri Linkov <juri@jurta.org>
11281 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
11282 FILE-NAME to read from the minibuffer when called interactively
11283 with prefix argument instead of using buffer-file-name.
11284 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
11286 * dired.el: Update autoloads.
11288 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
11290 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
11291 nxml-finish-element, for consistency with SGML mode.
11293 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
11294 octave-close-block.
11296 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
11298 * composite.el: Require cl when compiling.
11299 (reference-point-alist, compose-gstring-for-graphic)
11300 (compose-gstring-for-terminal): Fix typos in docstrings.
11302 2010-05-19 Juri Linkov <juri@jurta.org>
11304 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
11305 set-window-parameter.
11307 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
11309 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
11311 (tramp-maybe-open-connection): Use it.
11313 2010-05-19 Eli Zaretskii <eliz@gnu.org>
11315 * simple.el (move-end-of-line): Make sure we are at line beginning
11316 before backing up to end of previous line.
11318 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
11320 * password-cache.el (password-cache-remove): Fix docstring.
11322 * net/secrets.el: Autoload the widget functions.
11323 (secrets-search-items, secrets-create-item)
11324 (secrets-get-attributes, secrets-expand-item): Attributes will be
11325 stored on the password database without leading ":", as all other
11326 clients do as well.
11327 (secrets-mode): Fix docstring.
11328 (secrets-show-secrets): Provide it as autoloaded command only when
11329 D-Bus support is available. Check existence of Secret Service API.
11331 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11333 * indent.el (indent-region): Deactivate region (bug#6200).
11335 2010-05-19 Glenn Morris <rgm@gnu.org>
11337 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
11339 2010-05-19 Kenichi Handa <handa@m17n.org>
11341 * composite.el: Register compose-gstring-for-graphic in
11342 composition-function-table only for combining characters (Mn, Mc, Me).
11344 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
11346 * calc/calc-trail.el (calc-trail-isearch-forward)
11347 (calc-trail-isearch-backward): Ensure that the new window
11348 point is set correctly.
11350 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11352 * subr.el (read-quoted-char): Resolve modifiers after key
11353 remapping (bug#6212).
11355 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
11357 Add visualization code for secrets.
11358 * net/secrets.el (secrets-mode): New major mode.
11359 (secrets-show-secrets, secrets-show-collections)
11360 (secrets-expand-collection, secrets-expand-item)
11361 (secrets-tree-widget-after-toggle-function)
11362 (secrets-tree-widget-show-password): New defuns.
11364 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11366 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
11367 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
11368 handled in smie-next-sexp.
11369 (smie-indent-calculate): Provide a starting indentation (so the
11370 recursion is well-founded ;-).
11372 Fix handling of non-associative equal levels.
11373 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
11374 when it's not needed.
11375 (smie-op-left, smie-op-right): New functions.
11376 (smie-next-sexp): New function, extracted from smie-backward-sexp.
11377 Better handle equal levels to distinguish the associative case from
11378 the "multi-keyword construct" case.
11379 (smie-backward-sexp, smie-forward-sexp): Use it.
11381 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
11383 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
11385 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
11386 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
11388 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11390 Provide a simple generic indentation engine and use it for Prolog.
11391 * emacs-lisp/smie.el: New file.
11392 * progmodes/prolog.el (prolog-smie-op-levels)
11393 (prolog-smie-indent-rules): New var.
11394 (prolog-mode-variables): Use them to configure SMIE.
11395 (prolog-indent-line, prolog-indent-level): Remove.
11397 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11399 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
11400 order before computing the averages.
11402 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
11404 * calc/calc-vec.el (calc-histogram):
11405 (calcFunc-histogram): Allow vectors as inputs.
11406 (math-vector-avg): New function.
11408 * calc/calc-ext.el (math-group-float): Have the number of digits
11409 being grouped depend on the radix (Bug#6189).
11411 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
11413 * version.el (emacs-copyright, emacs-version): Don't define here,
11414 now that emacs.c defines it.
11416 2010-05-15 Eli Zaretskii <eliz@gnu.org>
11418 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
11419 "Describe Language Environment" menu item.
11421 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
11423 Bidi-sensitive movement with arrow keys.
11424 * subr.el (right-arrow-command, left-arrow-command): New functions.
11426 * bindings.el (global-map): Bind them to right and left arrow keys.
11428 Don't override standard definition of convert-standard-filename.
11429 * files.el (convert-standard-filename):
11430 Call w32-convert-standard-filename and dos-convert-standard-filename on
11431 the corresponding systems.
11433 * w32-fns.el (w32-convert-standard-filename): Rename from
11434 convert-standard-filename. Doc fix.
11436 * dos-fns.el (dos-convert-standard-filename): Doc fix.
11437 (convert-standard-filename): Don't defalias.
11438 (register-name-alist, make-register, register-value)
11439 (set-register-value, intdos): Obsolete aliases for the
11440 corresponding dos-* functions and variables.
11441 (dos-intdos): Add a doc string.
11443 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
11445 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
11446 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
11447 (math-compose-tex-func):
11448 * calc/calccomp.el (math-compose-expr):
11449 * calc/calc-ext.el (math-format-flat-expr-fancy):
11450 * calc/calc-store.el (calc-read-var-name):
11451 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
11453 * calc/calc.el (var-π, var-φ, var-γ): New variables.
11454 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
11455 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
11456 (math-standard-units): Add units.
11458 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11460 * progmodes/asm-mode.el (asm-mode):
11461 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
11463 * pcomplete.el (pcomplete-completions-at-point): New function,
11464 extracted from pcomplete-std-complete.
11465 (pcomplete-std-complete): Use it.
11467 2010-05-15 Glenn Morris <rgm@gnu.org>
11469 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11470 Remove references to CVS, RCS and Old directories.
11472 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
11474 * calc/calc-bin.el (math-format-twos-complement): Group digits when
11477 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11479 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
11480 (sh-mode-syntax-table): Give it a default value instead.
11481 (sh-header-marker): Make buffer-local.
11482 (sh-mode): Move make-local-variable to the corresponding setq.
11483 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
11484 Use complete-with-action.
11486 * simple.el (prog-mode): New (abstract) major mode.
11487 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
11488 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
11490 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
11492 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
11493 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
11494 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
11495 (sql-make-alternate-buffer-name, sql-placeholders-filter)
11496 (sql-escape-newlines-filter, sql-input-sender)
11497 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
11499 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
11501 Add TeX open-block and close-block keybindings to SGML, and vice versa.
11503 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
11504 latex-open-block and C-c / to latex-close-block.
11506 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
11507 and C-c C-e to sgml-close-tag.
11509 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
11511 * net/tramp.el (with-progress-reporter): Create reporter object
11512 only when the message would be displayed. Handle nested calls.
11513 (tramp-handle-load, tramp-handle-file-local-copy)
11514 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11515 (tramp-maybe-send-script, tramp-find-shell):
11516 Use `with-progress-reporter'.
11517 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
11520 * net/tramp-smb.el (tramp-smb-handle-copy-file)
11521 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11522 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
11523 Use `with-progress-reporter'.
11525 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
11527 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
11528 process everytime when spellchecking from the minibuffer (bug#6143).
11530 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11532 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
11534 * dos-fns.el: Add "dos-" prefix for namespace control.
11535 (convert-standard-filename): Define as alias for
11536 dos-convert-standard-filename but only if applicable.
11538 2010-05-12 Alan Mackenzie <acm@muc.de>
11540 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
11541 Push the mark at the start of these functions when appropriate.
11543 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11545 * minibuffer.el (completion-cycle-threshold): New custom var.
11546 (completion--do-completion): Use it.
11547 (minibuffer-complete): Use cycling if appropriate.
11549 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
11551 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
11552 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
11554 2010-05-11 Juri Linkov <juri@jurta.org>
11556 * scroll-all.el (scroll-all-check-to-scroll):
11557 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
11559 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11561 * iimage.el (iimage-mode-map): Move initialization into declaration.
11562 (iimage-mode-buffer): Use with-silent-modifications.
11563 Simplify calling convention. Adjust callers.
11564 (iimage-mode): Don't run hook redundantly.
11566 * minibuffer.el (completion-pcm--pattern->regex):
11567 Fix last change (bug#6160).
11569 2010-05-10 Juri Linkov <juri@jurta.org>
11571 Remove nodes visited during Isearch from the Info history.
11572 * info.el (Info-isearch-initial-history)
11573 (Info-isearch-initial-history-list): New variables.
11574 (Info-isearch-start): Record initial values of
11575 Info-isearch-initial-history and Info-isearch-initial-history-list.
11576 Add Info-isearch-end to isearch-mode-end-hook.
11577 (Info-isearch-end): New function.
11579 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
11581 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
11582 format string, in order to work around a bug in pdksh.
11583 Reported by Gilles Pion <gpion@lfdj.com>.
11584 (tramp-handle-verify-visited-file-modtime): Do not send a command
11585 when the connection is not established.
11586 (tramp-handle-set-file-times): Simplify the check for utc.
11588 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
11590 Fix use of `filter-buffer-substring' (rework previous change).
11591 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
11592 (cua-repeat-replace-region):
11593 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
11594 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11595 (cua-cut-region-to-global-mark): Use it.
11597 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
11599 * progmodes/sql.el: Version 2.1.
11600 (sql-product-alist): Redesign structure of product info.
11601 (sql-product, sql-user, sql-server, sql-database): Safe variables.
11602 (sql-port, sql-port-history): New variables.
11603 (sql-interactive-product): New variable.
11604 (sql-send-terminator): New variable.
11605 (sql-imenu-generic-expression): Add "Types" imenu entry.
11606 (sql-oracle-login-params, sql-sqlite-login-params)
11607 (sql-mysql-login-params, sql-solid-login-params)
11608 (sql-sybase-login-params, sql-informix-login-params)
11609 (sql-ingres-login-params, sql-ms-login-params)
11610 (sql-postgres-login-params, sql-interbase-login-params)
11611 (sql-db2-login-params, sql-linter-login-params)
11612 (sql-oracle-scan-on): New variables.
11613 (sql-mode-map): Add C-c C-i to start interactive mode.
11614 (sql-mode-menu): Update existing menu entries.
11615 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
11616 (sql-mode-oracle-font-lock-keywords)
11617 (sql-mode-postgres-font-lock-keywords)
11618 (sql-mode-ms-font-lock-keywords)
11619 (sql-mode-sybase-font-lock-keywords)
11620 (sql-mode-informix-font-lock-keywords)
11621 (sql-mode-interbase-font-lock-keywords)
11622 (sql-mode-ingres-font-lock-keywords)
11623 (sql-mode-solid-font-lock-keywords)
11624 (sql-mode-mysql-font-lock-keywords)
11625 (sql-mode-sqlite-font-lock-keywords)
11626 (sql-mode-db2-font-lock-keywords)
11627 (sql-mode-linter-font-lock-keywords): Update initialization to
11628 reduce run-time complexity.
11629 (sql-add-product, sql-del-product): New functions.
11630 (sql-set-product-feature, sql-get-product-feature): New functions.
11631 (sql-product-font-lock): Update product API.
11632 (sql-add-product-keywords): New function.
11633 (sql-highlight-product): Update product API.
11634 (sql-help-list-products): New function.
11635 (sql-help): Dynamically lists free and non-free products.
11636 (sql-get-login): Correct bug in handling history and added
11638 (sql-copy-column): Copy without properties.
11639 (sqli-input-sender): Apply filters to SQLi input.
11640 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
11641 Implement as a filter.
11642 (sql-escape-newlines-filter): Implement as a filter.
11643 (sql-remove-tabs-filter): New function.
11644 (sql-send-magic-terminator): New function.
11645 (sql-send-string): Implement magic terminator.
11646 (sql-send-region): Use `sql-send-string'.
11647 (sql-interactive-mode): Use product API.
11648 (sql-product-interactive): Use product API.
11649 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
11650 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
11651 (sql-db2, sql-linter): Use `sql-product-interactive'.
11652 (sql-connect): New function.
11653 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
11654 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
11655 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
11656 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
11659 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11661 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
11662 New custom variable.
11663 (completion-pcm--string->pattern): Use it.
11664 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
11665 Make it handle any symbol as `any'.
11666 (completion-pcm--merge-completions): Extract common suffix for the new
11667 `prefix' symbol as well.
11668 (completion-substring--all-completions): Use the new `prefix' symbol.
11670 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
11672 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
11674 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
11675 (tramp-compat-funcall): New defmacro.
11676 (tramp-compat-line-beginning-position)
11677 (tramp-compat-line-end-position)
11678 (tramp-compat-temporary-file-directory)
11679 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
11680 (tramp-compat-copy-file, tramp-compat-copy-directory)
11681 (tramp-compat-delete-file, tramp-compat-delete-directory)
11682 (tramp-compat-number-sequence, tramp-compat-process-running-p)
11683 * net/tramp.el (top, with-progress-reporter)
11684 (tramp-rfn-eshadow-setup-minibuffer)
11685 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
11686 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
11687 (tramp-completion-mode-p, tramp-check-for-regexp)
11688 (tramp-open-connection-setup-interactive-shell)
11689 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
11690 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
11691 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
11692 * net/tramp-cmds.el (tramp-cleanup-all-connections)
11693 (tramp-reporter-dump-variable, tramp-load-report-modules)
11694 (tramp-append-tramp-buffers)
11695 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
11697 * net/tramp-imap.el (top): Autoload `epg-make-context'.
11699 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11701 * progmodes/compile.el (compilation-buffer-modtime): Rename from
11702 buffer-modtime. Adjust users.
11704 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11706 * international/mule.el (auto-coding-alist): Only purecopy
11707 car of each item, not the whole list (Bug#6083).
11709 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11711 * progmodes/js.el (js-mode): Make paragraph variables local before
11712 calling c-setup-paragraph-variables (Bug#6071).
11714 2010-05-08 Eli Zaretskii <eliz@gnu.org>
11716 * composite.el (compose-region, reference-point-alist): Fix typos
11717 in the doc strings.
11719 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11721 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
11722 gnuplot's "set" command.
11724 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11726 * abbrev.el (last-abbrev-text): Doc fix.
11727 (abbrev-prefix-mark): Don't escape parenthesis.
11729 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
11731 * composite.el (find-composition): Doc fix.
11733 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11735 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
11736 (sql-oracle-program, sql-sqlite-options)
11737 (sql-query-placeholders-and-send): Doc fixes.
11738 (sql-set-product, sql-interactive-mode): Reflow docstrings.
11739 (sql-imenu-generic-expression, sql-buffer)
11740 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
11741 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
11742 (sql-mode-sybase-font-lock-keywords)
11743 (sql-mode-informix-font-lock-keywords)
11744 (sql-mode-interbase-font-lock-keywords)
11745 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
11746 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
11747 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
11748 (sql-product-feature, sql-highlight-product)
11749 (comint-line-beginning-position, sql-rename-buffer)
11750 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
11751 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
11752 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
11753 Fix typos in docstrings.
11755 2010-05-08 Juri Linkov <juri@jurta.org>
11757 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
11758 property instead of `invisible' and `after-string' (bug#5998).
11760 2010-05-08 Juri Linkov <juri@jurta.org>
11762 * image-mode.el (image-mode-as-text): Fix typo in docstring.
11764 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11766 * filecache.el (file-cache-add-directory-list)
11767 (file-cache-add-directory-recursively): Fix typos in docstrings.
11769 2010-05-08 Kenichi Handa <handa@m17n.org>
11771 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
11772 (gujarati-composable-pattern): Fix typo.
11774 2010-05-08 Kenichi Handa <handa@m17n.org>
11776 * language/indian.el (oriya-composable-pattern)
11777 (tamil-composable-pattern, malayalam-composable-pattern):
11778 Add two-part vowels to "v" (vowel sign).
11780 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11782 * files.el (copy-directory): Handle symlinks (Bug#5982).
11784 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
11786 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
11787 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
11790 2010-05-08 Glenn Morris <rgm@gnu.org>
11792 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11794 * minibuffer.el (completion-at-point): Doc fix.
11796 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11798 * electric.el (Electric-command-loop): Minor tweak.
11800 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11801 better with dedicated windows.
11803 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
11805 * Version 23.2 released.
11807 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11808 Stefan Monnier <monnier@iro.umontreal.ca>
11810 Highlight vendor specific properties.
11811 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11812 (css-proprietary-property): New face.
11813 (css-font-lock-keywords): Use them.
11815 2010-05-07 Eli Zaretskii <eliz@gnu.org>
11817 * cus-start.el (all): Add native condition for tool-bar-* symbols.
11819 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11821 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11822 * files.el (auto-mode-alist): Remove redundant entries.
11824 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11825 * simple.el (auto-save-mode): Move from files.el.
11826 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11828 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
11830 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11832 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
11834 * mail/binhex.el (binhex-decode-region-internal)
11835 * mail/uudecode.el (uudecode-decode-region-internal)
11836 * net/dns.el (dns-read-string-name, dns-write, dns-read)
11837 (dns-read-type, dns-query)
11838 * pgg-parse.el (pgg-parse-armor)
11839 * pgg.el (pgg-verify-region)
11840 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11843 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11845 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
11847 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11849 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11850 * emulation/cua-base.el (cua-repeat-replace-region):
11851 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11852 (cua-cut-region-to-global-mark):
11853 Remove text properties with `set-text-properties'.
11855 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
11857 * net/tramp.el (top, with-progress-reporter):
11858 Use `symbol-function' inside `funcall'.
11860 * net/tramp-compat.el (tramp-compat-file-attributes)
11861 (tramp-compat-delete-file, tramp-compat-delete-directory):
11862 Handle only `wrong-number-of-arguments' error.
11864 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11865 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11868 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11870 * minibuffer.el (completion--sreverse, completion--common-suffix):
11872 (completion-pcm--merge-completions): Extract common suffix when safe.
11874 * emacs-lisp/easy-mmode.el (define-minor-mode):
11875 Make :variable more flexible.
11876 * files.el (auto-save-mode): Use it to define using define-minor-mode.
11878 2010-05-05 Juri Linkov <juri@jurta.org>
11880 Add `slow' and `history' tags to the desktop data.
11882 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11883 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11884 (Info-finder-find-node): Require `finder.el' to be able
11885 to restore node from the desktop.
11886 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
11887 data `Info-history' and `slow' tag in the assoc list.
11888 (Info-restore-desktop-buffer): Don't restore nodes with the
11889 `slow' tag. Restore `Info-history'.
11891 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
11893 Add FORCE argument to `delete-file'.
11895 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11896 forcing to delete the temporary file.
11897 (ange-ftp-delete-file): Add FORCE arg.
11898 (ange-ftp-rename-remote-to-remote)
11899 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11900 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11901 Force file deletion.
11903 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11905 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11906 (tramp-handle-make-symbolic-link, tramp-handle-load)
11907 (tramp-do-copy-or-rename-file-via-buffer)
11908 (tramp-do-copy-or-rename-file-directly)
11909 (tramp-do-copy-or-rename-file-out-of-band)
11910 (tramp-handle-process-file, tramp-handle-call-process-region)
11911 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11912 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11913 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11915 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11916 (tramp-fish-handle-make-symbolic-link)
11917 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11919 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11920 Use `tramp-compat-delete-file'.
11922 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11923 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11925 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11926 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11928 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11929 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11930 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11931 Use `tramp-compat-delete-file'.
11933 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11936 * subr.el (add-minor-mode): Use push.
11937 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11938 * emulation/edt.el (edt-select-mode): Simplify.
11940 Use define-minor-mode in more cases.
11941 * term/tvi970.el (tvi970-set-keypad-mode):
11942 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11943 (normal-erase-is-backspace-mode):
11944 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11945 (set-scroll-bar-mode-1): (Re)move to its sole caller.
11946 (get-scroll-bar-mode): New function.
11947 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11949 Use define-minor-mode for less obvious cases.
11950 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11951 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11952 * international/iso-ascii.el (iso-ascii-mode):
11953 * frame.el (auto-raise-mode, auto-lower-mode):
11954 * composite.el (global-auto-composition-mode): Use define-minor-mode.
11956 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
11958 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11959 in order to see error messages for failed logins.
11961 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
11963 * diff.el (diff-sentinel):
11965 * epg.el (epg--make-temp-file, epg-decrypt-string)
11966 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11968 * jka-compr.el (jka-compr-partial-uncompress)
11969 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11971 * server.el (server-sentinel): Use delete-file's new FORCE arg
11974 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11976 Use define-minor-mode where applicable.
11977 * view.el (view-mode):
11978 * type-break.el (type-break-query-mode)
11979 (type-break-mode-line-message-mode):
11980 * textmodes/reftex.el (reftex-mode):
11981 * term/vt100.el (vt100-wide-mode):
11982 * tar-mode.el (tar-subfile-mode):
11983 * savehist.el (savehist-mode):
11984 * ibuf-ext.el (ibuffer-auto-mode):
11985 * composite.el (auto-composition-mode):
11986 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11987 Use define-minor-mode.
11988 (vhdl-mode): Use static mode-line format.
11989 (vhdl-mode-line-update): Delete.
11990 (vhdl-create-mode-menu, vhdl-activate-customizations)
11991 (vhdl-hs-minor-mode): Don't bother calling it.
11993 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11995 * simple.el (with-wrapper-hook): Move.
11996 (buffer-substring-filters): Mark obsolete.
11997 (filter-buffer-substring-functions): New variable.
11998 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
12000 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
12001 Michael Albinus <michael.albinus@gmx.de>
12003 Implement compression for inline methods.
12005 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
12006 (tramp-copy-size-limit): Allow also nil.
12007 (tramp-inline-compress-commands): New defconst.
12008 (tramp-find-inline-compress, tramp-get-inline-compress)
12009 (tramp-get-inline-coding): New defuns.
12010 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
12011 replaced by `tramp-get-inline-coding'.
12012 (tramp-handle-file-local-copy, tramp-handle-write-region)
12013 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
12015 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12017 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
12018 Remove unused functions.
12020 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
12021 Set find-tag-default-function as a variable rather than a property.
12023 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
12024 * progmodes/etags.el (tags-completion-at-point-function):
12025 Remove left over interactive spec. Add autoloading stub.
12026 (complete-tag): Use tags-completion-at-point-function.
12028 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
12030 * minibuffer.el (tags-completion-at-point-function): Fix return value.
12032 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
12034 * ido.el (ido-init-completion-maps): Remove C-v binding.
12035 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
12037 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
12039 * minibuffer.el (tags-completion-at-point-function): New function.
12040 (completion-at-point-functions): Use it.
12042 * progmodes/etags.el (complete-tag): Revert last change.
12044 2010-04-29 Alan Mackenzie <acm@muc.de>
12046 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
12047 off-by-one error (in end of macro position).
12049 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12051 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
12052 firefox is absent. Don't autoload.
12053 (browse-url-galeon-program): Don't autoload.
12055 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
12057 * bindings.el (complete-symbol): Move into minibuffer.el.
12059 * minibuffer.el (complete-tag): Move from etags.el. If tags
12060 completion cannot be performed, return nil instead of signalling
12062 (completion-at-point): Make it an alias for complete-symbol.
12063 (complete-symbol): Move from bindings.el, and replace with the
12064 body of completion-at-point.
12066 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
12068 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
12070 * net/tramp.el (tramp-remote-selinux-p): New defun.
12071 (tramp-handle-file-selinux-context)
12072 (tramp-handle-set-file-selinux-context): Use it.
12074 2010-04-28 Sam Steingold <sds@gnu.org>
12076 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
12077 `safe-local-variable' if the value is a string or a symbol with
12078 the property `bug-reference-url-format'.
12080 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
12082 * progmodes/bug-reference.el (bug-reference-url-format):
12083 Revert 2010-04-27 change due to security risk.
12085 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12087 Make it possible to locally disable a globally enabled mode.
12088 * simple.el (fundamental-mode): Run fundamental-mode-hook.
12089 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
12090 rather than kill-all-local-variables so it runs fundamental-mode-hook.
12091 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12092 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
12093 that subsequent hooks get a chance to disable it.
12095 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12097 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12098 Avoid re-enabling a minor mode after the user turned the minor mode
12099 off if MODE-enable-in-buffers is run twice (typically once from
12100 fundamental-mode's after-change-major-mode-hook and a second time from
12101 run-mode-hook's own after-change-major-mode-hook).
12103 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
12105 2010-04-27 Sam Steingold <sds@gnu.org>
12107 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
12108 `safe-local-variable' if the value is a string or a function, as
12109 documented and implemented on 2010-04-02.
12111 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
12113 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
12114 when method is 'kill.
12116 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
12118 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
12119 condition in default directory check.
12120 (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
12121 Kill ispell process when killing its associated buffer.
12123 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
12125 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
12126 but we aren't using it.
12128 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
12130 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
12131 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
12133 2010-04-24 Glenn Morris <rgm@gnu.org>
12135 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
12136 Ignore VCS-ignore files, and deleted nextstep preferences files.
12137 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
12138 (authors-ambiguous-files): New list.
12139 (authors-valid-file-names): Add some deleted files.
12140 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
12141 (authors-disambiguate-file-name): New function. (Bug#5501)
12142 (authors-canonical-file-name): Doc fix.
12143 Don't warn about obsolete files.
12144 (authors-canonical-file-name, authors-scan-el):
12145 Use authors-disambiguate-file-name.
12147 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
12148 Add autoload cookies.
12149 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
12150 (generated-autoload-file): Set file-local value to "htmlfontify.el".
12151 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
12152 They have definitions / compiler macros in cl.el.
12153 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
12154 Replace manual autoloads with generated ones.
12155 (htmlfontify-unload-rgb-file): Remove autoload.
12156 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
12158 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12160 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
12161 (byte-compile-setq-default): Optimize for the
12162 single-var case and don't call byte-compile-form in this case to avoid
12163 inf-loop with byte-compile-set-default.
12165 * progmodes/compile.el (compilation-start): Abbreviate default directory.
12167 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
12169 Implement SELINUX backends.
12171 * net/tramp.el (tramp-file-name-handler-alist):
12172 Add `file-selinux-context' and `set-file-selinux-context'.
12173 (tramp-handle-file-selinux-context)
12174 (tramp-handle-set-file-selinux-context): New defuns.
12175 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
12176 Handle PRESERVE-SELINUX-CONTEXT.
12178 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12179 Add `file-selinux-context' and `set-file-selinux-context'.
12180 (tramp-gvfs-handle-file-selinux-context)
12181 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
12182 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
12184 * net/ange-ftp.el (ange-ftp-copy-file):
12185 * net/tramp-fish.el (tramp-fish-handle-copy-file):
12186 * net/tramp-imap.el (tramp-imap-handle-copy-file):
12187 * net/tramp-smb.el (tramp-smb-handle-copy-file):
12188 Add PRESERVE-SELINUX-CONTEXT.
12190 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
12192 Synchronize with Tramp repository.
12194 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
12195 (tramp-action-process-alive, tramp-action-out-of-band)
12196 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
12197 (tramp-exists-file-name-handler): Fix docstring.
12198 (with-progress-reporter): New defmacro.
12199 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
12200 (tramp-maybe-open-connection): Use it.
12202 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
12204 Detect ssh 'ControlMaster' argument automatically in some cases.
12206 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
12207 (tramp-default-method): Use it.
12209 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
12211 * net/tramp.el (tramp-handle-copy-file): Add new optional
12212 parameter `preserve-selinux-context'.
12213 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
12215 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
12217 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
12218 Ensure, that non remote files are still checked. Oops.
12220 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
12224 * icomplete.el (icomplete-completions): Use `non-essential'.
12226 * net/tramp.el (tramp-connectable-p): New defun.
12227 (tramp-handle-expand-file-name)
12228 (tramp-completion-handle-file-name-all-completions)
12229 (tramp-completion-handle-file-name-completion): Use it.
12231 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
12233 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
12235 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
12237 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
12239 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
12241 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
12244 * info.el (info-tool-bar-map): Add labels.
12246 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
12248 * cus-edit.el (custom-commands): Add labels for tool bar.
12249 (custom-buffer-create-internal, Custom-mode): Adjust for
12250 labels in custom-commands.
12252 * dynamic-setting.el: Renamed from font-setting.el.
12254 2010-04-21 John Wiegley <jwiegley@gmail.com>
12256 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
12257 toggles the use of virtual buffers.
12258 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
12259 (ido-toggle-virtual-buffers): New function.
12261 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
12263 Use `define-derived-mode'; fix window selection; doc fixes.
12264 * play/tetris.el (tetris, tetris-update-speed-function)
12265 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
12266 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
12267 (tetris-rotate-next, tetris-end-game, tetris-start-game)
12268 (tetris-pause-game): Fix typos in docstrings.
12269 (tetris-mode-map, tetris-null-map):
12270 Move initialization into declaration.
12271 (tetris-mode): Define with `define-derived-mode';
12272 set show-trailing-whitespace to nil.
12273 (tetris): Prefer window already displaying the "*Tetris*" buffer.
12275 2010-04-21 Karel Klíč <kklic@redhat.com>
12277 * files.el (backup-buffer): Handle SELinux context, and return it
12278 if a backup was made by renaming.
12279 (backup-buffer-copy): Set SELinux context to the target file.
12280 (basic-save-buffer): Set SELinux context of the newly written file.
12281 (basic-save-buffer-1): Now it also returns any SELinux context.
12282 (basic-save-buffer-2): Set SELinux context of the newly created file,
12284 * net/tramp.el (tramp-file-name-for-operation):
12285 Add file-selinux-context.
12287 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
12289 Make the log-edit comments use RFC822 format throughout.
12291 * vc.el (vc-checkin, vc-modify-change-comment):
12292 Adjust to new vc-start/finish-logentry.
12293 (vc-find-conflicted-file): New command.
12294 (vc-transfer-file): Adjust to new vc-checkin.
12295 (vc-next-action): Improve scoping.
12297 * vc-hg.el (vc-hg-log-edit-mode): Remove.
12298 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
12300 * vc-git.el (vc-git-log-edit-mode): Remove.
12301 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
12302 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
12304 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
12305 (vc-start-logentry): Remove argument `extra'.
12306 (vc-finish-logentry): Remove extra args.
12308 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
12309 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
12310 (vc-bzr-conflicted-files): New function.
12312 * log-edit.el (log-edit-extra-flags)
12313 (log-edit-before-checkin-process): Remove.
12314 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
12315 (log-edit-headers-alist): New var.
12316 (log-edit-header-contents-regexp): New const.
12317 (log-edit-match-to-eoh): New function.
12318 (log-edit-font-lock-keywords): Use them.
12319 (log-edit): Insert a "Summary:" header as default.
12320 (log-edit-mode): Mark font-lock rules as case-insensitive.
12321 (log-edit-done): Cleanup headers.
12322 (log-view-process-buffer): Remove.
12323 (log-edit-extract-headers): New function to replace it.
12325 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
12327 * subr.el (default-direction-reversed): Remove obsolescence info.
12329 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12331 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
12334 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
12335 I.e. include text after point in the completion region.
12336 Also, return nil when we're not after/in a symbol.
12338 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
12339 default enable-multibyte-characters.
12341 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12343 * international/mule.el: Help the user choose a valid coding-system.
12344 (read-buffer-file-coding-system): New function.
12345 (set-buffer-file-coding-system): Use it. Prompt the user if the
12346 coding-system cannot encode all the chars.
12348 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
12349 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
12350 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
12351 Don't use *vc-bzr-shelve*.
12353 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
12355 Fix the version number for added files.
12356 * vc-hg.el (vc-hg-working-revision): Check if the file is
12357 registered after hg parent fails (Bug#5961).
12359 2010-04-19 Glenn Morris <rgm@gnu.org>
12361 * htmlfontify.el (htmlfontify-buffer)
12362 (htmlfontify-copy-and-link-dir): Autoload entry points.
12364 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
12366 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
12367 name relative to the project root (Bug#5960).
12369 2010-04-19 Glenn Morris <rgm@gnu.org>
12371 * vc-git.el (vc-git-print-log): Doc fix.
12373 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
12375 * ido.el (ido-file-internal): Fix 2009-12-02 change.
12377 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
12379 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
12380 default settings (Bug#5928).
12382 2010-04-19 Glenn Morris <rgm@gnu.org>
12384 * progmodes/fortran.el (fortran-match-and-skip-declaration):
12386 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
12388 2010-04-19 Kenichi Handa <handa@m17n.org>
12390 * language/indian.el (malayalam-composable-pattern): Fix previous
12391 change (add U+0D4D "SIGN VIRAMA").
12392 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
12393 (tamil-composable-pattern): Fix typo in the regexp.
12394 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
12395 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
12396 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
12398 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
12400 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
12401 paragraph-separate (Bug#5821).
12403 2010-04-19 Juri Linkov <juri@jurta.org>
12405 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
12407 * info.el (Info-find-node-2): Comment out code that skips
12409 (Info-mouse-follow-link): New command.
12410 (Info-link-keymap): New keymap.
12411 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
12412 Return a string with links instead of inserting breadcrumbs
12413 to the Info buffer.
12414 (Info-fontify-node): Comment out code that inserts breadcrumbs.
12415 Instead of putting the `invisible' text property over the Info
12416 header, make an overlay over the Info header with the `invisible'
12417 property and `after-string' set to the string returned by
12418 `Info-breadcrumbs'.
12420 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
12422 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
12423 Reported by monkey@sandpframing.com.
12425 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12427 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
12428 (tmm-get-keymap): Add key-binding shortcuts now that they're not
12429 available in the "keyseq cache" any more.
12431 * custom.el (defcustom): Add edebug spec.
12433 2010-04-18 Juri Linkov <juri@jurta.org>
12435 Test for special mode-class in view-buffer instead of view-file (bug#5513).
12437 * view.el (view-file, view-buffer): Move test for special mode-class
12438 from view-file to view-buffer.
12440 * tar-mode.el (tar-extract): Turn if's into one cond
12441 like in arc-mode.el.
12443 2010-04-18 Juri Linkov <juri@jurta.org>
12445 Add 7z archive format support (bug#5475).
12447 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
12448 (archive-7z-extract): New defcustom.
12449 (archive-find-type): Add magic string for 7z.
12450 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
12451 If `stderr-file' is non-nil, use `(t stderr-file)' for the
12452 `buffer' arg of `call-process'.
12453 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
12454 call the function `archive-7z-extract' with the variable
12455 `archive-7z-extract' let-bound to `archive-zip-extract'.
12456 (archive-7z-summarize, archive-7z-extract): New functions.
12458 * international/mule.el (auto-coding-alist):
12459 * files.el (auto-mode-alist): Add 7z file extension.
12461 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12463 * loadup.el: Setup hash-cons for pure data.
12465 Fix duplicate entries in cedet's loaddefs.el files.
12466 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
12467 Should make most file-local generated-autoload-file unnecessary.
12468 (print-readably): Silence warnings.
12469 (autoload-find-destination): Take load-name as an arg to make sure
12470 it's the same as the one that will be in the file.
12471 (autoload-generate-file-autoloads): Adjust to above changes.
12472 Try to make the dataflow a bit simpler.
12474 * cvs-status.el (cvs-refontify): Remove unused.
12476 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
12478 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
12480 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
12481 twos-complement mode.
12483 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
12485 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
12486 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
12487 (calc-inverse): Add "Option" to message, as appropriate.
12488 (calc-hyperbolic): Add "Option" to message, as appropriate.
12489 (calc-option, calc-is-option): New functions.
12491 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
12492 (calc-option-prefix-help): New function.
12494 * calc/calc-misc.el (calc-help): Add "Option" entry.
12496 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
12497 (calc-option-flag): New variable.
12498 (calc-do): Set `calc-option-flag to nil.
12499 (calc-set-mode-line): Add "Opt " as appropriate.
12501 2010-04-16 Juri Linkov <juri@jurta.org>
12503 Move scrolling commands from simple.el to window.el
12504 because their primitives are implemented in window.c.
12506 * simple.el (scroll-error-top-bottom)
12507 (scroll-up-command, scroll-down-command, scroll-up-line)
12508 (scroll-down-line, scroll-other-window-down)
12509 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12510 * window.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 Move from simple.el to window.el because their primitives are
12515 implemented in window.c.
12517 2010-04-16 Juri Linkov <juri@jurta.org>
12519 * isearch.el (isearch-lookup-scroll-key): Check both
12520 `isearch-scroll' and `scroll-command' properties.
12521 (scroll-up, scroll-down): Remove `isearch-scroll' property.
12523 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
12525 * simple.el (scroll-up-command, scroll-down-command)
12526 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
12528 2010-04-15 Juri Linkov <juri@jurta.org>
12530 * simple.el (scroll-up-command, scroll-down-command)
12531 (scroll-up-line, scroll-down-line): Put `scroll-command'
12532 property on the these symbols. Remove them from
12533 `scroll-preserve-screen-position-commands'.
12535 * mwheel.el (mwheel-scroll): Put `scroll-command' and
12536 `isearch-scroll' properties on the `mwheel-scroll' symbol.
12537 Remove it from `scroll-preserve-screen-position-commands'.
12539 * isearch.el (isearch-allow-scroll): Doc fix.
12541 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
12543 * net/tramp.el (tramp-error-with-buffer): Don't show the
12544 connection buffer when we are in completion mode.
12545 (tramp-file-name-handler): Catch the error for some operations
12546 when we are in completion mode. This gives the user the chance to
12547 correct the file name in the minibuffer.
12549 2010-04-15 Glenn Morris <rgm@gnu.org>
12551 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
12553 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
12555 Simplify by using `define-derived-mode'.
12556 * info.el (Info-mode):
12557 * calendar/todo-mode.el (todo-mode):
12558 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
12559 (gomoku-mode-map): Move initialization into declaration.
12561 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
12564 * ido.el (ido-file-name-all-completions-1):
12565 * minibuffer.el (minibuffer-completion-help):
12566 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
12568 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12570 * simple.el (non-essential): New var.
12572 Add a new field `location' to bookmarks for non-file bookmarks.
12573 * bookmark.el (bookmark-location): Use the new field, if present.
12574 (bookmark-insert-location): Undo last change, not needed any more.
12575 * man.el (Man-bookmark-make-record):
12576 * woman.el (woman-bookmark-make-record): Add `location' field.
12578 2010-04-14 Juri Linkov <juri@jurta.org>
12580 * simple.el (scroll-error-top-bottom): New defcustom.
12581 (scroll-up-command, scroll-down-command): Use it. Doc fix.
12583 * emulation/pc-select.el (pc-select-override-scroll-error):
12584 Obsolete in favor of `scroll-error-top-bottom'.
12586 2010-04-14 Juri Linkov <juri@jurta.org>
12588 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
12589 `scroll-up-command' and `M-v' to `scroll-down-command'.
12591 * emulation/cua-rect.el (cua--init-rectangles):
12592 * forms.el (forms--change-commands):
12593 * image-mode.el (image-mode-map):
12594 Remap scroll-down-command and scroll-up-command
12595 in addition to scroll-down and scroll-up.
12597 2010-04-14 Juri Linkov <juri@jurta.org>
12599 * mwheel.el (scroll-preserve-screen-position-commands):
12600 Add mwheel-scroll to this list of commands.
12602 * simple.el (scroll-preserve-screen-position-commands):
12603 Add scroll-up-command, scroll-down-command, scroll-up-line,
12604 scroll-down-line to this list of commands.
12606 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12608 * obsolete/complete.el: Move from lisp/complete.el.
12610 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
12612 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
12613 to the minor mode function now turns the mode ON unconditionally.
12615 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12617 * vc-dir.el (vc-dir-kill-line): New command.
12618 (vc-dir-mode-map): Bind it to C-k.
12620 * bookmark.el (bookmark-insert-location): Handle a nil filename.
12622 * woman.el: Add bookmark declarations to silence the compiler.
12623 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
12624 step to compatibility between man and woman bookmarks.
12625 Adjust for Man-default-bookmark-title renaming.
12626 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
12628 * man.el: Add bookmark declarations to silence the compiler.
12629 (Man-name-local-regexp): Make it match NAME as well.
12630 (Man-getpage-in-background): Return the buffer.
12631 (Man-notify-when-ready): Use `case'.
12632 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
12633 Don't hardcode "NAME". Simplify.
12634 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
12635 Rename from Man-bookmark-make-record.
12636 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
12637 we have the actual man-args. Use Man-getpage-in-background rather
12638 than `man' since the arg is already processed. Let bookmark.el do the
12639 window handling. Only wait for the relevant process.
12640 Don't forget to autoload.
12642 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
12644 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12646 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
12648 (woman-mode): Setup bookmark support.
12650 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
12651 (man-bookmark-jump): New functions.
12652 (Man-mode): Setup bookmark support.
12654 2010-04-10 Jari Aalto <jari.aalto@cante.net>
12656 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
12657 recognize ssh-keygen prompt (Bug#2817).
12659 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12661 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
12663 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12665 Synchronize with Tramp repository.
12667 * net/tramp.el (tramp-completion-function-alist)
12668 (tramp-file-name-regexp, tramp-chunksize)
12669 (tramp-local-coding-commands, tramp-remote-coding-commands):
12671 (tramp-remote-process-environment): Use `format' instead of `concat'.
12672 (tramp-handle-directory-files-and-attributes)
12673 (tramp-get-remote-path): Use `copy-tree'.
12674 (tramp-handle-file-name-all-completions): Backward/ XEmacs
12675 compatibility: Use `completion-ignore-case' if
12676 `read-file-name-completion-ignore-case' does not exist.
12677 (tramp-do-copy-or-rename-file-directly): Do not use
12678 `tramp-handle-file-remote-p'.
12679 (tramp-do-copy-or-rename-file-out-of-band):
12680 Use `tramp-compat-delete-directory'.
12681 (tramp-do-copy-or-rename-file-out-of-band)
12682 (tramp-compute-multi-hops, tramp-maybe-open-connection):
12683 Use `format-spec-make'.
12684 (tramp-find-foreign-file-name-handler)
12685 (tramp-advice-make-auto-save-file-name)
12686 (tramp-set-auto-save-file-modes): Remove superfluous check for
12687 `stringp'. This is done inside `tramp-tramp-file-p'.
12688 (tramp-debug-outline-regexp): New defconst.
12689 (tramp-get-debug-buffer): Use it.
12690 (tramp-check-for-regexp): Use (forward-line 1).
12691 (tramp-set-auto-save-file-modes): Adapt version check.
12693 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
12694 Wrap call of `featurep' for 2nd argument.
12695 (tramp-compat-make-temp-file): Simplify fallback implementation.
12696 (tramp-compat-copy-tree): Remove function.
12697 (tramp-compat-delete-directory): Provide implementation for older
12700 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
12701 Do not use `tramp-fish-handle-file-attributes.
12703 * net/trampver.el: Update release number.
12705 2010-04-10 Glenn Morris <rgm@gnu.org>
12707 * progmodes/compile.el (compilation-save-buffers-predicate):
12708 Add missing :version tag.
12710 2010-04-09 Sam Steingold <sds@gnu.org>
12712 * progmodes/compile.el (compilation-save-buffers-predicate):
12713 Remove the "autoload" cookie.
12715 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
12716 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
12717 and `bug-reference-prog-mode' can be used in hooks directly.
12719 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
12721 Add --author support to git commit.
12722 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
12723 (vc-git-log-edit-mode): New minor mode.
12724 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
12727 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
12729 * vc-hooks.el, vc-git.el: Improve documentation comments.
12731 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12733 Fix some of the problems in defsubst* (bug#5728).
12734 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
12735 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
12737 2010-04-07 Sam Steingold <sds@gnu.org>
12739 * progmodes/compile.el (compilation-save-buffers-predicate):
12740 New custom variable.
12741 (compile, recompile): Pass it to `save-some-buffers'.
12743 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
12745 * wid-edit.el (widget-choose): Move cursor to the second line of
12746 the buffer (Bug#5695).
12748 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12750 Add new VC methods: vc-log-incoming and vc-log-outgoing.
12751 * vc.el (vc-print-log-setup-buttons): New function split out from
12752 vc-print-log-internal.
12753 (vc-log-internal-common): New function, a parametrized version of
12754 vc-print-log-internal.
12755 (vc-print-log-internal): Just call vc-log-internal-common with the
12757 (vc-incoming-outgoing-internal):
12758 (vc-log-incoming, vc-log-outgoing): New functions.
12759 (vc-log-view-type): New permanent local variable.
12761 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
12763 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
12764 of the dynamic bound vc-short-log.
12765 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
12767 * vc-git.el (vc-git-log-outgoing): New function.
12768 (vc-git-log-view-mode): Use vc-log-view-type instead
12769 of the dynamic bound vc-short-log.
12771 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
12772 of the dynamic bound vc-short-log. Highlight the tag.
12773 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
12774 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
12775 (vc-hg-incoming-mode): Remove.
12776 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
12778 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12780 Fix default-directory for vc-root-diff.
12781 * vc.el (vc-root-diff): Bind default-directory to the root
12782 directory for the diff command.
12784 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
12786 * progmodes/verilog-mode.el (verilog-forward-sexp):
12787 (verilog-calc-1): Support "disable fork" and "fork wait" multi
12788 word keywords, suggested by Steve Pearlmutter.
12789 (verilog-pretty-declarations): Support lineup of declarations in
12791 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12792 fix bug for /* / comments.
12793 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12794 Speed up and simplfy as this is never called with a bound.
12795 (verilog-pretty-declarations): Enhance to line up declarations
12796 inside a parameter list, suggested by Alan Morgan.
12797 (verilog-pretty-expr): Tune assignment regular expression match
12798 string for corner cases; also use markers instead of character
12799 number as indent changes the later.
12801 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
12803 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12804 as missing keyword.
12805 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12806 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
12807 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12808 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
12810 (verilog-keywords):
12811 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12812 1800-2009 keywords, including "global.".
12814 2010-04-06 John Wiegley <jwiegley@gmail.com>
12816 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12817 appearing in buffer list (if a live buffer name matched a recentf
12818 file basename). Should use uniquify to offer a real solution.
12820 2010-04-06 John Wiegley <jwiegley@gmail.com>
12822 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12823 comment to code, and add a :version tag.
12824 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12826 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
12828 Enable recentf-mode if using virtual buffers.
12829 * ido.el (recentf-list): Declare for byte-compiler.
12830 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
12831 (ido-make-buffer-list): Simplify.
12832 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
12834 2010-04-05 Juri Linkov <juri@jurta.org>
12836 Scrolling commands which scroll a line instead of full screen.
12837 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12839 * simple.el (scroll-up-line, scroll-down-line): New commands.
12840 Put property isearch-scroll=t on them.
12842 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12845 2010-04-05 Juri Linkov <juri@jurta.org>
12847 Scrolling commands which do not signal errors at top/bottom.
12848 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12850 * simple.el (scroll-up-command, scroll-down-command): New commands.
12851 Put property isearch-scroll=t on them.
12853 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12854 `scroll-down-command' and [next] from `scroll-up' to
12855 `scroll-up-command'.
12857 * emulation/cua-base.el: Put property CUA=move on
12858 `scroll-up-command' and `scroll-down-command'.
12859 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12860 and `scroll-down-command' to `cua-scroll-down'.
12862 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
12864 * help.el (describe-mode): Return nil.
12866 2010-04-04 John Wiegley <jwiegley@gmail.com>
12868 * ido.el (ido-use-virtual-buffers): New variable to indicate
12869 whether "virtual buffer" support is enabled for IDO.
12870 (ido-virtual): Face used to indicate virtual buffers in the list.
12871 (ido-buffer-internal): If a buffer is chosen, and no such buffer
12872 exists, but a virtual buffer of that name does (which would be why
12873 it was in the list), recreate the buffer by reopening the file.
12874 (ido-make-buffer-list): If virtual buffers are being used, call
12875 `ido-add-virtual-buffers-to-list' before the make list hook.
12876 (ido-virtual-buffers): New variable which contains a copy of the
12877 current contents of the `recentf-list', albeit pared down for the
12878 sake of speed, and with proper faces applied.
12879 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12880 create a list of "virtual buffers" to present to the user in
12881 addition to the currently open set. Note that this logic could
12882 get rather slow if that list is too large. With the default
12883 `recentf-max-saved-items' of 200, there is little speed penalty.
12885 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
12887 * font-lock.el: Require CL when compiling.
12888 (font-lock-turn-on-thing-lock): Use `case'.
12890 2010-04-03 Eli Zaretskii <eliz@gnu.org>
12892 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12895 2010-04-02 Juri Linkov <juri@jurta.org>
12897 * ehelp.el (electric-help-orig-major-mode):
12898 New buffer-local variable.
12899 (electric-help-mode): Set it to original major-mode. Doc fix.
12900 (with-electric-help): Use `electric-help-orig-major-mode' instead
12901 of (default-value 'major-mode). Doc fix.
12902 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12904 2010-04-02 Sam Steingold <sds@gnu.org>
12906 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12907 `vc-hg-command' with a list of flags.
12909 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12910 Also accept "patch" and "RFE".
12911 (bug-reference-fontify): `bug-reference-url-format' can also be a
12912 function to be able to handle the bug kind.
12913 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12915 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
12917 * tmm.el (tmm-get-keymap): Check with symbolp before passing
12918 value to fboundp, it may not be a symbol.
12920 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12922 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12924 2010-03-31 Juri Linkov <juri@jurta.org>
12926 * simple.el (next-line, previous-line): Re-throw a signal
12927 with `signal' instead of using `ding'.
12928 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12930 2010-03-31 Juri Linkov <juri@jurta.org>
12932 * simple.el (keyboard-escape-quit): Raise deselecting the active
12933 region higher than exiting the minibuffer.
12934 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12936 2010-03-31 Juri Linkov <juri@jurta.org>
12938 * image.el (image-animated-p): Use `image-metadata' instead of
12939 `image-extension-data'. Get GIF extenstion data from metadata
12940 property `extension-data'.
12942 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12944 * simple.el (append-to-buffer): Simplify.
12946 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
12948 * textmodes/artist.el (artist-mode): Fix typo in docstring.
12949 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
12951 2010-03-31 Kenichi Handa <handa@m17n.org>
12953 * language/sinhala.el (composition-function-table): Fix regexp for
12954 the new Unicode specification.
12956 * language/indian.el (devanagari-composable-pattern)
12957 (tamil-composable-pattern, kannada-composable-pattern)
12958 (malayalam-composable-pattern): Adjust for the new Unicode
12960 (bengali-composable-pattern, gurmukhi-composable-pattern)
12961 (gujarati-composable-pattern, oriya-composable-pattern)
12962 (telugu-composable-pattern): New variables to cope with the new
12963 Unicode specification. Use them in composition-function-table.
12965 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12967 Make tmm-menubar work for the Buffers menu again (bug#5726).
12968 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12969 vectors rather than cons cells, as used in menu-bar-update-buffers.
12971 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12973 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12974 (js-insert-and-indent): Revert 2009-08-15 change, restoring
12975 electric punctuation for "{}();,:" (Bug#5586).
12977 * mail/sendmail.el (mail-default-directory): Doc fix.
12979 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12981 * mail/sendmail.el (mail-default-directory): Doc fix.
12983 2010-03-31 Eli Zaretskii <eliz@gnu.org>
12985 * subr.el (version-regexp-alist, version-to-list)
12986 (version-list-<, version-list-=, version-list-<=)
12987 (version-list-not-zero, version<, version<=, version=): Doc fix.
12990 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
12992 * vc.el (vc-root-diff): Doc fix.
12994 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12996 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12998 * simple.el (append-to-buffer): Fix last change.
13000 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
13002 * simple.el (append-to-buffer): Ensure that point is preserved if
13003 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
13006 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13008 * files.el (auto-mode-case-fold): Change default to t.
13010 2010-03-30 Juri Linkov <juri@jurta.org>
13012 * dired-x.el (dired-omit-mode): Doc fix.
13014 2010-03-30 Juri Linkov <juri@jurta.org>
13016 * replace.el (occur-accumulate-lines): Move occur-engine related
13017 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
13018 to be located after `occur-engine'.
13020 2010-03-30 Juri Linkov <juri@jurta.org>
13022 Make occur handle multi-line matches cleanly with context.
13023 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
13025 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
13026 (occur-engine): Add local variables `ret', `prev-after-lines',
13027 `prev-lines'. Use more arguments for `occur-context-lines'.
13028 Set first elem of its returned list to `data', and the second elem
13029 to `prev-after-lines'. Don't print the separator line.
13030 In the end, print remaining context after-lines.
13031 (occur-context-lines): Add new arguments `begpt', `endpt',
13032 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
13033 after-lines of the previous match with before-lines of the
13034 current match and not overlap them. Return a list with two
13035 values: the output line and the list of context after-lines.
13037 2010-03-30 Juri Linkov <juri@jurta.org>
13039 * replace.el (occur-accumulate-lines): Fix a bug where the first
13040 context line at the beginning of the buffer was missing.
13042 2010-03-30 Eli Zaretskii <eliz@gnu.org>
13044 * files.el: Make bidi-display-reordering safe variable for boolean
13047 2010-03-29 Phil Hagelberg <phil@evri.com>
13048 Chong Yidong <cyd@stupidchicken.com>
13050 * subr.el: Extend progress reporters to perform "spinning".
13051 (progress-reporter-update, progress-reporter-do-update):
13052 Handle non-numeric value arguments.
13053 (progress-reporter--pulse-characters): New var.
13055 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
13057 * progmodes/compile.el (compilation-start): Fix regexp detection
13058 of initial cd command (Bug#5771).
13060 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
13062 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
13064 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
13066 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
13067 * progmodes/gdb-mi.el: Restore.
13068 * progmodes/gdb-ui.el: Remove.
13069 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
13071 2010-03-25 Glenn Morris <rgm@gnu.org>
13073 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
13074 all dired buffers, even tramp ones. (Bug#5755)
13076 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13078 Add "union tags" in mpc.el.
13079 * mpc.el: Remove backward compatibility code.
13080 (mpc-browser-tags): Change default.
13081 (mpc--find-memoize-union-tags): New var.
13082 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
13083 (mpc-cmd-find): Handle the case where the playlist does not exist.
13085 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
13086 (mpc-cmd-add): Use mpc-cmd-flush.
13087 (mpc-tagbrowser-tag-name): New fun.
13088 (mpc-tagbrowser-buf): Use it.
13089 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
13091 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13094 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
13095 Use replace-regexp-in-string.
13096 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
13097 (makefile-imake-mode-syntax-table): Move init into defvar.
13098 (makefile-mode): Use define-derived-mode.
13100 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
13101 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
13102 not be present any more.
13104 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
13106 * faces.el (set-face-attribute): Fix typo in docstring.
13107 (face-valid-attribute-values): Reflow docstring.
13109 2010-03-24 Glenn Morris <rgm@gnu.org>
13111 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
13113 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
13115 * indent.el (indent-for-tab-command): Doc fix.
13117 2010-03-24 Alan Mackenzie <acm@muc.de>
13119 * progmodes/cc-engine.el (c-remove-stale-state-cache):
13120 Fix off-by-one error. Fixes bug #5747.
13122 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
13124 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
13125 (image-dired-read-comment): Doc fix.
13127 * json.el (json-object-type, json-array-type, json-key-type)
13128 (json-false, json-null, json-read-number):
13129 * minibuffer.el (completion-in-region-functions):
13130 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
13131 (cal-tex-cursor-week):
13132 * emacs-lisp/trace.el (trace-function):
13133 * eshell/em-basic.el (eshell/printnl):
13134 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
13135 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
13136 * obsolete/levents.el (allocate-event, event-key, event-object)
13137 (event-point, event-process, event-timestamp, event-to-character)
13138 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
13139 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
13140 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
13141 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
13142 (reftex-highlight-selection): Fix typos in docstrings.
13144 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
13146 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
13148 2010-03-24 Glenn Morris <rgm@gnu.org>
13150 * mail/rmail.el (rmail-highlight-face): Restore option deleted
13151 2008-02-13 without comment; mark it obsolete.
13152 (rmail-highlight-headers): Use rmail-highlight-face once more.
13154 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
13156 * woman.el (woman2-process-escapes): Only consume the newline if
13157 the filler character is on a line by itself (Bug#5729).
13159 2010-03-24 Kenichi Handa <handa@m17n.org>
13161 * language/indian.el (devanagari-composable-pattern): Add more
13164 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
13166 * net/trampver.el: Update release number.
13168 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
13170 * net/tramp.el (tramp-find-executable):
13171 Use `tramp-get-connection-buffer'. Make the regexp for checking
13172 output of "wc -l" more robust.
13173 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
13174 (tramp-open-connection-setup-interactive-shell): Remove workaround
13175 for OpenSolaris bug, it is not needed anymore.
13177 2010-03-24 Glenn Morris <rgm@gnu.org>
13179 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
13181 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
13183 * files.el (auto-mode-alist): Accept more verilog file patterns.
13185 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13187 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
13189 2010-03-24 Glenn Morris <rgm@gnu.org>
13191 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
13192 log-edit-before-checkin-process.
13194 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
13196 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
13198 * vc-dispatcher.el (vc-start-logentry): Doc fix.
13199 (log-view-process-buffer, log-edit-extra-flags): Declare.
13201 * log-edit.el (log-edit-before-checkin-process): Doc fix.
13203 2010-03-23 Sam Steingold <sds@gnu.org>
13205 Fix bug#5620: recalculate all markers on compilation buffer
13206 modifications, not on file modifications.
13207 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
13208 variable: the buffer modification time, for buffers not associated with
13210 (compilation-mode): Create it.
13211 (compilation-filter): Update it.
13212 (compilation-next-error-function): Use it instead of
13213 `visited-file-modtime' for timestamp.
13215 2010-03-23 Juri Linkov <juri@jurta.org>
13217 Implement Occur multi-line matches.
13218 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
13220 * replace.el (occur): Doc fix.
13221 (occur-engine): Set `begpt' to the beginning of the first line.
13222 Set `endpt' to the end of the last match line. At first, count
13223 line numbers between `origpt' and `begpt'. Split out code from
13224 `out-line' variable to new let-bindings `match-prefix' and
13225 `match-str'. In `out-line' add non-numeric prefix to all
13226 non-first lines of multi-line matches. Finally, count lines
13227 between `begpt' and `endpt' and add to `lines'.
13229 2010-03-23 Juri Linkov <juri@jurta.org>
13231 * replace.el (occur-accumulate-lines, occur-engine):
13232 Use `occur-engine-line' instead of duplicate code.
13233 (occur-engine-line): New function created from duplicate code
13234 in `occur-accumulate-lines' and `occur-engine'.
13236 * replace.el (occur-engine-line): Add optional arg `keep-props'.
13237 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
13239 2010-03-23 Juri Linkov <juri@jurta.org>
13241 * finder.el: Remove TODO tasks.
13243 * info.el (Info-finder-find-node): Add node "all"
13244 with all package info. Handle a list of multiple keywords
13245 separated by comma.
13246 (info-finder): In interactive use with a prefix argument,
13247 use `completing-read-multiple' to read a list of keywords
13248 separated by comma.
13250 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
13252 Add a new completion style `substring'.
13253 * minibuffer.el (completion-basic--pattern): New function.
13254 (completion-basic-try-completion, completion-basic-all-completions):
13256 (completion-substring--all-completions)
13257 (completion-substring-try-completion)
13258 (completion-substring-all-completions): New functions.
13259 (completion-styles-alist): New style `substring'.
13261 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
13263 Get rid of .elc files after removal of the corresponding .el.
13264 * Makefile.in (compile-clean): New target.
13265 (compile-main): Use it.
13267 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
13269 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
13270 don't do make there. When compiling with separate object dir, there
13271 is no Makefile there.
13273 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
13275 Get rid of the ELCFILES abomination, again.
13276 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13277 (all, compile): Don't call compile-last.
13278 (compile-main): Build the "elcfiles" list dynamically.
13279 (compile-targets): New (internal) target.
13281 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
13283 * Makefile.in (top_srcdir): Define.
13284 (abs_top_builddir): Define.
13285 (srcdir): Don't append `/..'.
13286 (EMACS): Use ${abs_top_builddir}.
13287 (all, compile, compile-always, compile-last): Don't set emacswd.
13288 (update-subdirs, update-authors): Use $(top_srcdir) instead of
13290 (lisp): Use $(srcdir) instead of @srcdir@.
13292 2010-03-21 Juri Linkov <juri@jurta.org>
13294 Fix message of multi-line occur regexps and multi-buffer header lines.
13295 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
13297 * replace.el (occur-1): Don't display regexp if it is longer
13298 than window-width. Use `query-replace-descr' to display regexp.
13299 (occur-engine): Don't display regexp in the buffer header for
13300 multi-buffer occur. Display a separate header line with total
13301 match count and regexp for multi-buffer occur.
13302 Use `query-replace-descr' to display regexp.
13304 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
13306 * net/secrets.el: Fix parenthesis.
13307 (secrets-enabled): Fix parenthesis.
13309 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13311 Use more relative file and directory names.
13312 * Makefile.in (EMACS): Arrange for it to work when we chdir.
13313 (setwins, setwins_almost, setwins_for_subdirs):
13314 Don't `cd'; output relative names.
13315 (all, compile, compile-always, compile-last): Set emacswd.
13316 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
13317 Just cd to the lisp source dir so we can use relative file names.
13319 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
13321 2010-03-20 Glenn Morris <rgm@gnu.org>
13323 * textmodes/rst.el: Use faces for font-lock customization, and make the
13324 old -face variables obsolete.
13325 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
13326 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
13327 (rst-block-face, rst-external-face, rst-definition-face)
13328 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
13329 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
13331 (rst-font-lock-keywords-function): Update for above changes.
13333 2010-03-20 Juri Linkov <juri@jurta.org>
13336 * obsolete/s-region.el: Move to obsolete.
13338 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
13340 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
13342 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
13344 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
13346 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
13348 Add special markup processing for commit logs.
13349 * log-edit.el (log-edit-extra-flags): New variable.
13350 (log-edit): Add new argument MODE. Use that mode when non-nil
13351 instead of the log-view-mode.
13352 (log-view-process-buffer): New function.
13354 * vc.el: Document that the checkin method takes optional
13355 arguments. Document new backend specific method: log-view-mode.
13356 (vc-default-log-edit-mode): New function.
13357 (vc-checkin): Use a backend specific log-view-mode.
13358 Pass extra arguments to the checkin method.
13359 (vc-modify-change-comment): Pass a dummy extra argument.
13361 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
13363 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
13364 (vc-finish-logentry): Process the log buffer before passing it
13365 down. Pass log-edit-extra-flags.
13367 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
13369 (log-edit-extra-flags, log-edit-before-checkin-process):
13372 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
13374 (log-edit-extra-flags, log-edit-before-checkin-process):
13376 (vc-hg-log-edit-mode): New derived mode.
13378 * vc-arch.el (vc-arch-checkin):
13379 * vc-cvs.el (vc-cvs-checkin):
13380 * vc-git.el (vc-git-checkin):
13381 * vc-mtn.el (vc-mtn-checkin):
13382 * vc-rcs.el (vc-rcs-checkin):
13383 * vc-sccs.el (vc-sccs-checkin):
13384 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
13386 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13388 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
13391 2010-03-19 Glenn Morris <rgm@gnu.org>
13393 * password-cache.el (password-cache, password-cache-expiry): Autoload.
13395 2010-03-18 Glenn Morris <rgm@gnu.org>
13397 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
13399 * replace.el (query-replace-history): Give it a doc string.
13400 (map-query-replace-regexp): Use query-replace-from-history-variable
13401 and query-replace-to-history-variable.
13403 * mail/hashcash.el (declare-function): Remove duplicate definition.
13405 * mail/emacsbug.el (report-emacs-bug-pretest-address):
13406 Make it an obsolete alias for report-emacs-bug-address.
13407 (message-strip-special-text-properties): Declare.
13408 (report-emacs-bug): Remove test for a pretest bug address.
13409 Combine message-mode-specific code.
13411 * mail/supercite.el: Don't require sendmail.
13412 (mh-in-header-p): Declare rather than using with-no-warnings.
13413 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
13414 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
13416 * calendar/cal-french.el: Convert to utf-8.
13418 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
13421 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
13423 * net/secrets.el (secrets-enabled): New variable. Use it instead
13426 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
13428 * net/secrets.el (top): Register the D-Bus signals only when the
13429 service "org.freedesktop.secrets" can be pinged.
13430 Provide subfeature `enabled'.
13432 2010-03-14 Juri Linkov <juri@jurta.org>
13434 Add finder unknown keywords.
13436 * finder.el (finder-unknown-keywords): New function.
13438 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
13439 to create a Finder node with unknown keywords.
13441 2010-03-14 Juri Linkov <juri@jurta.org>
13443 * finder.el (finder-compile-keywords): Replace `princ' with
13444 `prin1' on a list of symbols interned from keyword strings.
13446 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
13447 a comma, then split keywords using a comma and optional whitespace.
13448 Otherwise, split by whitespace.
13456 * progmodes/mixal-mode.el: Fix keywords.
13458 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
13460 * Makefile.in (ELCFILES): Add net/secrets.elc.
13462 * net/secrets.el: New file.
13464 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13466 * facemenu.el (list-colors-display, list-colors-print): New arg
13467 callback. Use it to allow selecting colors.
13469 * wid-edit.el (widget-image-insert): Insert image prop even if the
13470 current display is non-graphic.
13471 (widget-field-value-set): New fun.
13472 (editable-field): Use it.
13473 (widget-field-value-get): Clean up unused var.
13474 (widget-color-value-create, widget-color--choose-action):
13475 New funs. Allow using list-colors-display to choose color.
13477 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13479 * cus-edit.el: Resort topmost custom groups.
13480 (custom-buffer-sort-alphabetically): Default to t.
13481 (customize-apropos): Use apropos-parse-pattern.
13482 (custom-search-field): New var.
13483 (custom-buffer-create-internal): Add custom-apropos search field.
13484 (custom-add-parent-links): Don't display parent doc.
13485 (custom-group-value-create): Don't sort top-level custom group.
13486 (custom-magic-value-create): Show visibility button before option name.
13488 (custom-variable-state): New fun, from custom-variable-state-set.
13489 (custom-variable-state-set): Use it.
13490 (custom-group-value-create): Hide options with standard values
13491 using the :hidden-states property. Use progress reporter.
13493 (custom-show): Simplify.
13494 (custom-visibility): Disable images by default.
13495 (custom-variable): New property :hidden-states.
13496 (custom-variable-value-create): Enable images for
13497 custom-visibility widgets. Use :hidden-states property to
13498 determine initial visibility.
13500 * wid-edit.el (widget-image-find): Give images center ascent.
13501 (visibility): Add :on-image and :off-image properties.
13502 (widget-visibility-value-create): Use them.
13504 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13506 * cus-edit.el (processes): Remove from development group.
13507 (oop, hypermedia): Delete group.
13508 (comm): Promote to top-level group.
13510 * net/browse-url.el (browse-url):
13511 * net/xesam.el (xesam):
13512 * net/tramp.el (tramp):
13513 * net/goto-addr.el (goto-address):
13514 * net/ange-ftp.el (ange-ftp): Put in comm group.
13516 * view.el (view): Remove from editing group.
13518 * uniquify.el (uniquify): Put in files group.
13520 * net/browse-url.el (browse-url):
13521 * ps-print.el (postscript): Put in external group.
13523 * cus-edit.el (outlines):
13524 * textmodes/text-mode.el (text-mode-hook):
13525 * textmodes/table.el (table):
13526 * textmodes/picture.el (picture):
13527 * outline.el (outlines): Put in wp group.
13529 * nxml/nxml-mode.el (nxml): Remove from wp group.
13531 * net/tramp-imap.el (tramp-imap): Put in tramp group.
13533 * mail/metamail.el (metamail): Remove from hypermedia group.
13535 * cus-edit.el (abbrev):
13536 * whitespace.el (whitespace):
13537 * vcursor.el (vcursor):
13538 * reveal.el (reveal):
13539 * hl-line.el (hl-line): Put in convenience group.
13541 * epg-config.el (epg): Put in data group.
13543 * emulation/pc-select.el (pc-select): Put in emulations group.
13545 * calculator.el (calculator): Put in applications group.
13547 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13549 Add .dir-locals.el support for file-less buffers.
13550 * files.el (hack-local-variables): Split out code to apply local
13551 variable settings ...
13552 (hack-local-variables-apply): ... here. New function.
13553 (hack-dir-local-variables): Use the default directory for when the
13554 buffer does not have an associated file.
13555 (hack-dir-local-variables-non-file-buffer): New function.
13556 * diff-mode.el (diff-mode):
13557 * vc-annotate.el (vc-annotate-mode):
13558 * vc-dir.el (vc-dir-mode):
13559 * log-edit.el (log-edit-mode):
13560 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
13562 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13564 Add support for shelving snapshots and for showing shelves.
13565 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
13566 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
13568 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13569 (vc-bzr-extra-menu-map): Map them.
13571 2010-03-11 Glenn Morris <rgm@gnu.org>
13573 * cus-edit.el (customize-changed-options-previous-release):
13576 * image.el (image-animate-max-time): Fix :version tag.
13578 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
13582 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
13584 * vc-git.el (vc-git-revision-table): Include remote branches.
13586 2010-03-10 Kim F. Storm <storm@cua.dk>
13588 Animated image API.
13589 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
13591 * image.el (image-animate-max-time): New defcustom.
13592 (image-animated-types): New defconst.
13593 (create-animated-image, image-animate-timer)
13594 (image-animate-start, image-animate-stop, image-animate-timeout)
13595 (image-animated-p): New functions.
13597 * image-mode.el (image-toggle-display-image):
13598 Replace `create-image' with `create-animated-image'.
13600 2010-03-09 Miles Bader <miles@gnu.org>
13602 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
13603 instead of "format:"; this ensures that the output is
13604 newline-terminated.
13606 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
13608 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
13609 that all errors are caught, and that the return value is always a
13612 2010-03-08 Kenichi Handa <handa@m17n.org>
13614 * language/misc-lang.el (windows-1256): New coding system.
13615 (cp1256): New alias of windows-1256 (bug#5690).
13617 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
13619 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
13620 call to rfc822-bad-address. (Bug#5692)
13622 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
13624 * vc-git.el (vc-git-annotate-extract-revision-at-line):
13625 Use vc-git-root as default directory for revision path (Bug#5657).
13627 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
13629 * calculator.el (calculator): Don't bind split-window-keep-point
13632 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
13634 * vc-git.el: Re-flow to fit into 80 columns.
13635 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
13636 Remove spurious `quote' element in each case alternative.
13637 (vc-git-show-log-entry): Use prog1.
13638 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
13640 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
13642 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
13644 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
13646 * macros.el (insert-kbd-macro): Look up keyboard macro using the
13647 definition, not the name (Bug#5481).
13649 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
13651 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
13652 argument with a local variable. (Bug#5670)
13654 2010-03-02 Juri Linkov <juri@jurta.org>
13656 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
13658 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
13660 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
13661 error when FILENAME and NEWNAME are existing remote directories.
13663 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
13664 parameter DIR-FLAG.
13666 2010-03-02 Glenn Morris <rgm@gnu.org>
13668 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
13669 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
13671 2010-03-01 Kenichi Handa <handa@m17n.org>
13673 * language/burmese.el (burmese-composable-pattern): Rename from
13674 myanmar-composable-pattern.
13676 * international/characters.el (script-list):
13677 * international/fontset.el (script-representative-chars):
13678 Change myanmar to burmese.
13679 (otf-script-alist): Likewise.
13680 (setup-default-fontset): Likewise. Re-fix :otf spec.
13682 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
13684 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
13686 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
13688 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
13690 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13692 * net/tramp.el (tramp-handle-write-region): START can be a string.
13693 Take care in the checks. Reported by Dan Davison
13694 <davison@stats.ox.ac.uk>.
13696 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13698 * net/dbus.el (dbus-introspect, dbus-get-property)
13699 (dbus-set-property, dbus-get-all-properties):
13700 Use `dbus-call-method' when noninteractive. (Bug#5645)
13702 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
13704 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
13705 * emacs-lisp/elint.el (elint-add-required-env):
13706 * calendar/icalendar.el (icalendar--add-diary-entry):
13707 * calc/calcalg2.el (math-tracing-integral):
13708 * files.el (recover-session-finish): Use with-current-buffer
13709 instead of save-excursion.
13711 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
13713 Fix in-buffer completion when after-change-functions modify the buffer.
13714 * minibuffer.el (completion--replace): New function.
13715 (completion--do-completion): Use it and use relative movement.
13717 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
13719 * international/fontset.el (setup-default-fontset): Fix :otf spec.
13721 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
13723 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
13724 Allow the characters _<> in the stack entry (Bug#5653).
13726 2010-02-26 Kenichi Handa <handa@m17n.org>
13728 * language/burmese.el: Fix entries in composition-function-table.
13729 (myanmar-composable-pattern): New variable.
13731 * international/fontset.el (setup-default-fontset): Add an entry
13734 * international/characters.el (script-list): Add Myanmar
13737 2010-02-26 Glenn Morris <rgm@gnu.org>
13739 * custom.el (custom-initialize-delay): Doc fix.
13741 * mail/sendmail.el (send-mail-function): Autoload the call
13742 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
13744 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
13746 * files.el (hack-local-variables-filter): For eval forms, also
13747 check safe-local-variable-p (Bug#5636).
13749 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
13751 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
13752 setting the modes by `ignore-errors'. It might fail, for example
13753 if the file is not owned by the user but the group.
13754 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
13756 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
13758 * files.el (directory-listing-before-filename-regexp):
13759 Use stricter matching for iso-style dates, to avoid false matches with
13760 date-like filenames (Bug#5597).
13762 * htmlfontify.el (htmlfontify): Doc fix.
13764 * eshell/eshell.el (eshell): Doc fix.
13766 * startup.el (fancy-about-screen): In mode-line, apply
13767 mode-line-buffer-id face only to the buffer name (Bug#5613).
13769 2010-02-20 Kevin Ryde <user42@zip.com.au>
13771 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13772 In `watcom' anchor regexp to start of line, to avoid slowness
13775 2010-02-20 Eli Zaretskii <eliz@gnu.org>
13777 * subr.el (remove-yank-excluded-properties): Explain in a comment
13778 why `category' property is removed.
13780 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
13782 * isearch.el (isearch-update-post-hook, isearch-update):
13783 Revert 2010-02-17 change.
13785 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
13787 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
13788 (icalendar--convert-weekly-to-ical)
13789 (icalendar--convert-yearly-to-ical)
13790 (icalendar--convert-block-to-ical)
13791 (icalendar--convert-cyclic-to-ical)
13792 (icalendar--convert-anniversary-to-ical): Take care of time
13793 specifications where hour has 1-digit only (Bug#5549).
13795 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
13797 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13798 of disassemble output in GDB 7.1.
13800 2010-02-19 Glenn Morris <rgm@gnu.org>
13802 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13803 property. (Bug#5593)
13805 2010-02-18 Sam Steingold <sds@gnu.org>
13807 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13809 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
13811 Use abbreviated file names in bookmarks (bug#5591).
13812 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13813 calls to expand-file-name.
13814 (bookmark-relocate): Use abbreviated file names in bookmarks.
13815 (bookmark-load): Use abbreviated file names in messages.
13817 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13819 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13820 expand "." and "..". Reported by Thierry Volpiatto
13821 <thierry.volpiatto@gmail.com>.
13823 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13825 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13826 permissions of the temporary file to "0600". In case the remote
13827 file has no read permissions for the owner, there might be
13828 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
13830 22010-02-18 Glenn Morris <rgm@gnu.org>
13832 * emacs-lisp/authors.el (authors-renamed-files-alist):
13833 Add entries for INSTALL.CVS.
13835 2010-02-17 Mark A. Hershberger <mah@everybody.org>
13837 * vc-bzr.el: Fix typo in Known Bugs section.
13839 * isearch.el (isearch-update-post-hook): New hook.
13840 (isearch-update): Use the new hook.
13842 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
13844 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13845 Fix errors in copying directories.
13846 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13847 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13848 (tramp-handle-delete-file)
13849 (tramp-handle-dired-recursive-delete-directory)
13850 (tramp-handle-write-region): Flush also the cache for the upper
13853 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
13855 * simple.el (save-interprogram-paste-before-kill): Doc fix.
13857 * cus-edit.el (hardware): Doc fix.
13859 * man.el (man): Add to external custom group.
13861 * delim-col.el (columns): Move to wp custom group.
13863 * doc-view.el (doc-view): Add to data custom group.
13865 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13867 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13868 by ispell-parse-output (Bug#5575).
13870 2010-02-16 Kenichi Handa <handa@m17n.org>
13872 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13873 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13874 (skkdic-convert): Use `euc-japan' coding system for writing.
13876 2010-02-16 Glenn Morris <rgm@gnu.org>
13878 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13879 tex-main-file before using it. (Bug#5562)
13881 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
13883 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13884 warnings, since it is annoying for the user to see them each time he
13887 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
13889 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13890 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13891 instead of PROC for caching "first-password-request". Otherwise,
13892 new processes would not profit from passwords already entered.
13894 * net/tramp-cache.el (tramp-dump-connection-properties):
13895 Don't save "first-password-request" property.
13897 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
13899 * outline.el (outline-head-from-level):
13900 * simple.el (with-wrapper-hook):
13901 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13902 (elint-defun, elint-buffer-env, elint-top-form-logged)
13903 (elint-unbound-variable):
13904 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13905 Fix typos in docstrings.
13907 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
13909 * files.el (insert-directory): When WILDCARD-REGEXP and
13910 FULL-DIRECTORY-P are nil, insert the file entry instead of the
13911 whole directory. (Bug#5551)
13913 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
13914 dired's alignment sanity. (Bug#5516)
13916 2010-02-14 Juri Linkov <juri@jurta.org>
13918 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13919 Remove remaining ^H with their preceding chars. (Bug#5566)
13921 2010-02-13 Glenn Morris <rgm@gnu.org>
13923 * simple.el (transpose-subr): Give it a doc-string.
13925 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13928 2010-02-12 Juri Linkov <juri@jurta.org>
13930 * arc-mode.el (archive-unique-fname): Make directories for nested
13931 archives. (Bug#5540)
13933 2010-02-12 Juri Linkov <juri@jurta.org>
13935 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
13937 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
13939 * subr.el (copy-overlay): Handle deleted overlays.
13941 * man.el (Man-completion-table): Don't signal an error if we can't run
13942 manual-program (bug#4056).
13944 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
13946 * textmodes/artist.el (artist-mt): Fix typos in docstring.
13948 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13950 * info.el (Info-bookmark-jump): Simplify.
13952 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13953 (bookmark-default-handler): Accept new bookmark field `buffer'.
13955 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
13957 * iswitchb.el (iswitchb-completions): Revert last change.
13959 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
13961 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13962 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13963 This prevents file names like "~/" being listed literally.
13965 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
13967 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13968 Remove dead code. (Bug#5546)
13970 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
13972 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13973 correctly (Bug#5548).
13975 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
13977 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13978 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13980 2010-02-08 Kenichi Handa <handa@m17n.org>
13982 * international/mule-util.el (with-coding-priority): Add autoload
13983 cookie for putting `lisp-indent-function'.
13985 2010-02-07 Glenn Morris <rgm@gnu.org>
13987 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13988 Move F2003 named interfaces from keywords-2 to keywords-1, and
13989 use function-name-face rather than constant-face.
13990 Simplify "abstract interface" regexp.
13992 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
13994 * eshell/esh-util.el (eshell-file-attributes): New optional arg
13995 ID-FORMAT. Pass it to `file-attributes'.
13997 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13999 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
14001 * faces.el (set-face-attribute): Allow calling
14002 internal-set-lisp-face-attribute with 'unspecified family and
14003 foundry argument (Bug#5536).
14005 2010-02-07 Glenn Morris <rgm@gnu.org>
14007 * progmodes/f90.el (f90-font-lock-keywords-2)
14008 (f90-looking-at-type-like, f90-looking-at-program-block-end):
14009 Handle F2003 named interfaces.
14011 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
14013 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
14014 beg and end before calling c-get-state-before-change-functions.
14016 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
14018 * vc-bzr.el (vc-bzr-dir-extra-headers):
14019 Disable the pending merges header.
14021 2010-02-05 Juri Linkov <juri@jurta.org>
14023 * doc-view.el (doc-view-mode):
14024 * image-mode.el (image-mode): Put property mode-class=special.
14027 2010-02-05 Mark A. Hershberger <mah@everybody.org>
14029 * vc-svn.el (vc-svn-revision-table): New function.
14031 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
14033 * net/ange-ftp.el (ange-ftp-insert-directory):
14034 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
14035 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
14036 Handle also directories. (Bug#5478)
14038 2010-02-05 Glenn Morris <rgm@gnu.org>
14040 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
14042 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
14044 * startup.el (command-line-1): Convert options beginning with a
14045 single dash as well (Bug#5519).
14047 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
14049 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
14050 * minibuffer.el (completion-initials-expand): Only check the presence
14051 of delims *within* the boundaries, since otherwise the / delim is
14052 always found for files.
14054 Fix up various corner case problems.
14055 * doc-view.el (doc-view-last-page-number): New function.
14056 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
14057 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
14058 (doc-view-kill-proc): Avoid inf-loop in freak cases.
14059 (doc-view-reconvert-doc): Use the new recursive delete-directory.
14060 (doc-view-convert-current-doc): Don't create the resolution.el file
14062 (doc-view-pdf/ps->png): Do it here instead.
14063 (doc-view-already-converted-p): Check that resolution.el is present.
14064 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
14065 windows that are not yet showing images.
14067 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
14069 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
14070 `dired-uncache' for every elemnt which is an absolute file name.
14072 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
14073 directory, handle its directory component.
14074 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
14075 function is called permanently and creates noise, otherwise.
14077 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
14078 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
14079 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
14081 2010-02-04 David Burger <dburger@google.com> (tiny change)
14083 * macros.el (apply-macro-to-region-lines):
14084 Minor simplification. (Bug#5485)
14086 2010-02-04 Glenn Morris <rgm@gnu.org>
14088 * mail/rmail.el (rmail-show-message-1): Handle malformed
14089 quoted-printable text. (Bug#5441)
14091 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
14093 * simple.el (visual-line-mode): Capitalize lighter.
14095 2010-02-03 John Wiegley <jwiegley@gmail.com>
14097 * iswitchb.el (iswitchb-completions): Add bookmark files to the
14098 list of files considered for "virtual buffer" completions.
14100 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
14102 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
14103 also in case of (and (not full) (not wildcard)). This is needed
14104 when dired is called with a list of files, which are not in
14105 `default-directory'. (Bug#5478)
14107 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
14109 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
14111 2010-02-02 Juri Linkov <juri@jurta.org>
14113 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
14114 from unidiff to allow function-line after @@.
14116 2010-02-02 Juri Linkov <juri@jurta.org>
14118 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
14119 '(RCS SCCS) with inverted condition.
14121 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
14123 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
14126 2010-02-01 Juri Linkov <juri@jurta.org>
14128 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
14129 compare with "pkunzip" and "pkzip" instead of only "pkzip".
14130 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
14131 only when (car archive-zip-extract) is "unzip". (Bug#5475)
14133 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
14135 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
14136 (doc-view-revert-buffer): New command.
14137 (doc-view-mode-map): Use it.
14139 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
14141 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
14142 pending merge is detected.
14144 2010-01-31 Juri Linkov <juri@jurta.org>
14146 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
14147 beginning of interactive spec like all other grep commands do.
14148 Put "all" in front of "gz". (Bug#5260)
14150 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
14152 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
14154 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
14156 * dirtrack.el (dirtrack): Warn instead of signalling error if the
14157 regexp is incorrect (Bug#5476).
14159 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
14161 * net/tramp.el (tramp-handle-insert-directory): Handle also
14162 symlinks, when FILENAME is not in `default-directory'.
14164 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
14166 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
14167 FILE is not in `default-directory'. (Bug#5478)
14169 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
14170 of SWITCHES. Handle the case, FILENAME is not in
14171 `default-directory'. (Bug#5478)
14172 (tramp-register-file-name-handlers): Add safe-magic property.
14174 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
14176 * arc-mode.el (archive-zip-extract): Quote the argument passed to
14179 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
14181 * progmodes/flymake.el (flymake-allowed-file-name-masks)
14182 (flymake-master-make-header-init): Add other C++ filename masks.
14183 (flymake-find-possible-master-files)
14184 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
14186 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
14188 Fix some busybox annoyances.
14190 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
14191 not responding." string.
14192 (tramp-open-connection-setup-interactive-shell): Dump stty
14193 settings. Enable "neveropen" arg for all `tramp-send-command'
14194 calls. Handle "=" in variable values properly.
14195 (tramp-find-inline-encoding): Raise an error, when no encoding is
14197 (tramp-wait-for-output): Check, whether PROC buffer is available.
14198 Remove spurious " ^H" sequences, sent by busybox.
14199 (tramp-get-ls-command): Suppress coloring, if possible.
14201 2010-01-28 Glenn Morris <rgm@gnu.org>
14203 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
14205 * log-edit.el (log-edit-strip-single-file-name): Add missing
14206 :safe, :group, and :version tags.
14208 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
14210 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
14211 buffers. (Bug#5477)
14213 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
14215 * files.el (delete-directory): Handle moving to trash without
14216 first doing recursion (Bug#5436).
14218 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
14220 * vc-hooks.el (vc-path): Mark as obsolete.
14222 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
14224 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
14227 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
14229 (vc-bzr-log-view-mode): Adjust regexp for the above change.
14231 2010-01-25 Mark A. Hershberger <mah@everybody.org>
14233 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
14235 * vc-bzr.el (vc-bzr-revision-table): New function.
14237 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
14239 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
14240 diff-index command. This requires at least git-1.5.5. (Bug#1589).
14242 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
14244 Remove support for adding --signoff on commit.
14245 Future support will use an incompatible generic mechanism.
14246 * vc-git.el (vc-git-add-signoff): Remove variable.
14247 (vc-git-toggle-signoff): Remove function.
14248 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
14250 * term/xterm.el (xterm-maybe-set-dark-background-mode):
14251 Rename from xterm-set-background-mode. Return t if the background mode
14253 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
14254 earlier, call it again in case the background mode has changed.
14256 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
14258 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
14261 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
14263 * emacs-lisp/assoc.el (aelement): Doc fix.
14264 (aput, adelete, amake): Use lexical-let (Bug#5450).
14266 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
14268 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
14269 is the same as subprogram call, not declaration. (Bug#5435).
14271 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
14273 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
14274 (tramp-smb-maybe-open-connection): Use it.
14276 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
14278 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
14280 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
14282 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
14283 just because we see "encoding: 8bit".
14284 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
14286 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
14288 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
14290 2010-01-22 Eli Zaretskii <eliz@gnu.org>
14292 * jka-compr.el (jka-compr-load): If load-file is not in
14293 load-history, try its file-truename version. (bug#5447)
14295 2010-01-21 Alan Mackenzie <acm@muc.de>
14297 Fix a situation where deletion of a cpp construct throws an error.
14298 * progmodes/cc-engine.el (c-invalidate-state-cache):
14299 Before invoking c-with-all-but-one-cpps-commented-out, check that the
14300 special cpp construct is still in the buffer.
14301 (c-parse-state): Record the special cpp with markers, not numbers.
14303 2010-01-21 Kenichi Handa <handa@m17n.org>
14305 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
14306 process last-command-event, as it is now decoded first (Bug#5380).
14308 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
14310 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
14312 2010-01-20 Glenn Morris <rgm@gnu.org>
14314 * indent.el (tab-always-indent): Fix custom-type.
14316 2010-01-19 Alan Mackenzie <acm@muc.de>
14318 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
14319 buffer throws "args out of range".
14320 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
14321 playing the role of delimiter.
14323 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
14325 * progmodes/ada-mode.el: Fix bug#5400.
14326 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
14327 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
14328 changed. Delete RECURSIVE parameter; never used. Improve doc string.
14329 Improve comments in "is" portion. Handle null procedure declaration.
14330 (ada-move-to-end): Improve doc string.
14332 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
14334 * ido.el (ido-cur-list): Initialize to nil.
14335 Remove obsolete information from commentary.
14336 (ido-choice-list): Initialize to nil.
14337 (ido-get-bufname): Reject minibuffers.
14338 (ido-make-buffer-list): If "default" is a nonexistent
14339 buffer, ignore it, as per the function's comment.
14340 (ido-kill-buffer-internal): New function.
14341 (ido-kill-buffer-at-head): Use it.
14342 (ido-visit-buffer): Likewise.
14344 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
14346 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
14348 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
14350 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
14351 Fix typos in chart titles.
14353 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
14354 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
14355 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
14356 (describe-class, eieio-describe-generic, describe-generic):
14357 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
14358 (eieio-speedbar-expand):
14359 * emulation/viper-cmd.el (viper-exec-form-in-vi)
14360 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
14361 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
14362 (viper-del-backward-char-in-replace, viper-backward-indent)
14363 (viper-brac-function, viper-register-to-point, viper-submit-report):
14364 * net/tramp.el (tramp-remote-coding-commands):
14365 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
14366 Fix typos in docstrings.
14368 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
14370 * mail/sendmail.el (mail-yank-original): Set the mark if the
14371 specified function for yanking does not do it.
14373 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
14375 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
14377 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
14378 resyncing a directory.
14380 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
14382 * progmodes/ada-mode.el: Fix bug#1920.
14383 (ada-ident-re): Delete ., allow multibyte characters.
14384 (ada-goto-label-re): New; matches goto labels.
14385 (ada-block-label-re): New; matches block labels.
14386 (ada-label-re): New; matches both.
14387 (ada-named-block-re): Delete; callers changed to use
14388 `ada-block-label-re' instead.
14389 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
14390 Use `ada-block-label-re'.
14391 (ada-indent-on-previous-lines): Improve handling of goto labels.
14392 (ada-get-indent-block-start): Special-case block label.
14393 (ada-get-indent-label): Split into `ada-indent-block-label' and
14394 `ada-indent-goto-label'.
14395 (ada-goto-stmt-start, ada-goto-next-non-ws):
14396 Optionally ignore goto labels.
14397 (ada-goto-next-word): Simplify.
14398 (ada-indent-newline-indent-conditional): Insert newline before
14399 trying to fix indentation; doc fix.
14401 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
14403 * calc/calc.el (calc-command-flags): Give it an initial value.
14405 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
14407 * files.el (minibuffer-with-setup-hook):
14408 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
14409 (artist-key-draw-continously, artist-key-do-continously-continously)
14410 (artist-key-set-point-continously, artist-mouse-draw-continously):
14411 Fix typos in docstrings.
14413 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
14415 * nxml/nxml-mode.el (nxml-extend-after-change-region):
14416 Never return t (Bug#3898).
14418 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
14420 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
14421 can parse the output of the external commands (Bug#5279).
14423 2010-01-16 Jari Aalto <jari.aalto@cante.net>
14425 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
14427 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
14429 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
14431 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
14433 * startup.el (command-line): Remove unused --icon-type arg.
14434 Handle --display arg, passing it to command-line-1 (Bug#5392).
14436 2010-01-16 Mario Lang <mlang@delysid.org>
14438 * emacs-lisp/chart.el (chart-translate-namezone):
14439 * textmodes/artist.el (artist-compute-popup-menu-table):
14440 Remove duplicated words in doc-strings.
14442 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
14444 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
14445 to mairix-search to suppress threading (Bug#5342).
14447 2010-01-15 Kenichi Handa <handa@m17n.org>
14449 * international/mule-cmds.el (canonicalize-coding-system-name):
14450 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
14452 2010-01-15 Glenn Morris <rgm@gnu.org>
14454 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
14456 * wid-edit.el (widget-keymap): Doc fix.
14458 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
14459 former seems to be more widely accepted by various svn versions.
14461 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14463 * find-cmd.el (find-constituents):
14464 * vc-arch.el (vc-arch-root):
14465 * window.el (window-body-height, pop-up-frames):
14466 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
14467 * progmodes/ada-stmt.el (ada-if):
14468 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
14469 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
14470 (ispell-encoding8-command, ispell-aspell-supports-utf8)
14471 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
14473 * progmodes/flymake.el (flymake-post-syntax-check):
14474 Fix typo in error message.
14476 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14478 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
14479 which is always a string. (Bug#5313)
14481 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14483 * progmodes/ada-xref.el (ada-default-prj-properties):
14484 Simplify previous change.
14486 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14488 * progmodes/ada-xref.el (ada-default-prj-properties):
14489 Default ada_project_path to $ADA_PROJECT_PATH.
14491 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14493 * progmodes/ada-mode.el (ada-create-keymap):
14494 Override `narrow-to-defun' with `ada-narrow-to-defun'.
14496 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14498 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
14499 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
14500 (ada-get-current-indent, ada-imenu-generic-expression)
14501 (ada-which-function): Check for it.
14503 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14505 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
14506 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
14508 2010-01-14 Glenn Morris <rgm@gnu.org>
14510 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
14512 2010-01-14 Kenichi Handa <handa@m17n.org>
14514 * composite.el (auto-composition-mode): Make it a buffer local
14515 variable (permanent-local).
14516 (auto-composition-function): Set the default value to
14517 auto-compose-chars.
14518 (auto-composition-mode): Make it a simple function, not a minor mode.
14519 (global-auto-composition-mode): Likewise.
14520 (turn-on-auto-composition-if-enabled): Delete it.
14522 2010-01-13 Karl Fogel <kfogel@red-bean.com>
14524 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
14526 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
14528 * files.el (copy-directory): Compute target for recursive
14529 directories with identical names. (Bug#5343)
14531 2010-01-12 Glenn Morris <rgm@gnu.org>
14533 * mail/emacsbug.el (report-emacs-bug-pretest-address):
14534 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
14536 2010-01-11 Sam Steingold <sds@gnu.org>
14538 * imenu.el (imenu-default-create-index-function): Detect infinite
14539 loops caused by imenu-prev-index-position-function.
14541 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14543 * htmlfontify.el (htmlfontify-load-rgb-file)
14544 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
14545 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
14546 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
14547 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
14548 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
14549 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
14550 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
14551 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
14552 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
14553 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
14554 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
14555 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
14556 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
14557 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
14558 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
14559 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
14560 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
14561 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
14562 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
14563 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
14564 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
14565 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
14566 backslash-quoting from parentheses, etc.
14568 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
14570 * progmodes/js.el: Autoload javascript-mode alias.
14572 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14574 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
14575 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
14576 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
14577 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
14578 Fix typos in docstrings.
14579 (ffap-url-regexp): Doc fix.
14580 (ffap-at-mouse): Fix typo in message.
14582 2010-01-11 Glenn Morris <rgm@gnu.org>
14584 * version.el (emacs-copyright): Set copyright year to 2010.
14586 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
14588 * format.el (format-annotate-function): Only set
14589 write-region-post-annotation-function after running to-fn so as not to
14590 affect nested write-region calls (bug#5273).
14592 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
14594 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
14597 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14599 * man.el (Man-goto-section): Signal error if the section is not
14602 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
14604 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
14605 URLs with a leading triple slash in the file: scheme. (Bug#5345)
14607 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14609 * progmodes/compile.el: Don't treat compile-command as safe if
14610 compilation-read-command might be nil (Bug#4218).
14612 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
14614 * startup.el (command-line-1): Use orig-argi to check for ignored X and
14617 2010-01-08 Kenichi Handa <handa@m17n.org>
14619 * international/fontset.el (build-default-fontset-data):
14620 Exclude characters in scripts kana, hangul, han, or cjk-misc.
14622 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
14624 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
14625 to `create-file-buffer' as it expects, not just a buffer name.
14626 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
14627 to help uniquify. (Bug#3224)
14629 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
14631 * font-setting.el (font-setting-change-default-font): Use user-spec
14634 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
14636 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
14638 2010-01-05 Tom Tromey <tromey@redhat.com>
14640 * progmodes/python.el (python-font-lock-keywords):
14641 Handle qualified decorators (Bug#881).
14643 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14645 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
14646 in a lightweight checkout.
14648 2010-01-05 Kenichi Handa <handa@m17n.org>
14650 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
14652 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14654 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
14656 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
14658 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
14659 checkouts. (Bug#618)
14660 (vc-bzr-log-view-mode): Also highlight the author.
14661 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
14662 (vc-bzr-shelve-menu-map):
14663 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
14664 (vc-bzr-shelve-apply): Make prompt more explicit.
14666 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
14668 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
14669 They are valid characters in URL paths (rfc3986), and at least
14670 Firefox does not understand the encoded version (Bug#3166).
14672 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
14674 * progmodes/octave-mod.el (octave-end-keywords)
14675 (octave-block-begin-or-end-regexp, octave-block-match-alist):
14676 Add "end" keyword (Bug#3061).
14677 (octave-end-as-array-index-p): New function.
14678 (calculate-octave-indent): Use it.
14680 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14682 * bookmark.el: Consistently put the text property on the bookmark name.
14683 (bookmark-bmenu-marks-width): Bump back to 2, to include
14685 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
14686 property on the bookmark name, instead of not putting it at all.
14687 (bookmark-bmenu-list): Fix where we put the text property.
14689 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14691 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
14692 for showing buffer modified state (as added in the previous change).
14694 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14696 * bookmark.el: Show modified state of bookmark buffer more accurately.
14697 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
14698 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
14699 (with-buffer-modified-unmodified): New macro.
14700 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14701 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
14702 Use new macro to preserve the buffer modified state.
14704 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14706 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
14707 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
14708 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
14709 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
14710 (bookmark-bmenu-rename, bookmark-bmenu-locate)
14711 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
14712 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
14714 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14716 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14717 Make the lines in the generated doc string shorter. (Bug#4668)
14719 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
14721 * net/rcirc.el: Add follow-link binding (Bug#4738).
14723 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14725 * Makefile.in (bzr-update): Rename from cvs-update.
14726 (cvs-update): New target for backward compatibility.
14728 * makefile.w32-in (bzr-update): Rename from cvs-update.
14729 (cvs-update): New target for backward compatibility.
14731 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14733 * bookmark.el: Remove gratuitous gratitude.
14735 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14737 * bookmark.el (bookmark-bmenu-any-marks): New function.
14738 (bookmark-bmenu-save): Clear buffer modification if no marks.
14740 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14742 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
14743 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
14744 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
14745 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
14747 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
14748 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
14749 To: emacs-devel {_AT_} gnu.org
14750 Subject: bookmark.el bug report
14751 Date: Mon, 28 Dec 2009 14:19:16 +0800
14752 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
14754 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14756 * bookmark.el: Improvements suggested by Drew Adams:
14757 (bookmark-bmenu-ensure-position): New name for
14758 `bookmark-bmenu-check-position'. Just ensure the position,
14759 don't return any meaningful value.
14760 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
14763 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
14765 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
14766 (bookmark-yank-point, bookmark-bmenu-check-position):
14767 Fix typos in docstrings.
14768 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
14769 (bookmark-name-from-full-record, bookmark-get-position)
14770 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
14771 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
14772 Remove useless quoting of parenthesis, etc. in docstrings.
14774 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
14775 (ediff-append-custom-diff): Fix typo in error message.
14776 (ediff-meta-mark-equal-files): Fix typos in messages.
14778 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
14780 * net/imap-hash.el (imap-hash-make): Doc fix.
14781 (imap-hash-test): Fix typo in error message; reflow docstring.
14782 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
14783 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
14784 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
14785 Fix typos in docstrings.
14786 (imap-hash-open-connection): Fix typo in error message.
14788 * play/gomoku.el (gomoku): Fix typos in docstring.
14790 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
14791 (gdb-jsonify-buffer): Fix typos in docstring.
14792 (gdb-goto-breakpoint): Fix typo in error message.
14793 ("Display Other Windows"): Fix typo in help message.
14794 (gdb-speedbar-expand-node): Fix typo in question.
14796 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14797 (idlwave-html-system-help-location, idlwave-html-help-location)
14798 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14799 (idlwave-help-browser-generic-args, idlwave-help-directory)
14800 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14801 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14802 (idlwave-online-help, idlwave-help-html-link)
14803 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14804 Fix typos in docstrings.
14805 (idlwave-help-with-source, idlwave-help-find-routine-definition):
14807 (idlwave-help-assistant-start): Fix typo in error message.
14809 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14810 (octave-electric-space): Fix typos in docstrings.
14812 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
14814 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14816 2010-01-01 Juri Linkov <juri@jurta.org>
14818 * comint.el (comint-input-ring-size): Make it a defcustom and
14819 increase the default to 500 (Bug#5148).
14821 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
14823 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14824 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14825 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14827 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
14829 Show working revision correctly for mercurial.
14830 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14831 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14833 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
14835 Declare some functions for the byte-compiler.
14836 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14837 (speedbar-timer-fn, speedbar-change-expand-button-char)
14838 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14840 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
14842 This changeset reverts GDB Graphical Interface to use annotations.
14843 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14845 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
14847 Make vc-dir work on subdirectories of the bzr root.
14848 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14849 Return file names relative to it.
14850 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14851 relative directory to vc-bzr-after-dir-status.
14853 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
14855 * font-lock.el (font-lock-refresh-defaults): New function, which
14856 can be used to let font-lock react to external changes in
14857 variables like font-lock-defaults and keywords.
14858 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14860 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
14862 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14864 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14866 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
14868 Supersede color.diff settings in git log (bug#5211).
14870 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14871 escape chars in its output when the user has color.diff set to `always'.
14872 This fix works on git 1.4.2 and newer (released on 2006-08-13).
14874 2009-12-26 Kevin Ryde <user42@zip.com.au>
14876 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14877 node. Keep previous "Index" name to work with past coreutils too.
14879 * man.el (man): Revise docstring a bit to show -a and -l as
14880 examples. Add -k description since support for it has otherwise
14881 been a secret. (Further to bug#3717.)
14882 (Man-bgproc-sentinel): When "-k foo" produces no output show error
14883 "no matches" rather than "Can't find manpage", as the latter reads
14884 like -k was interpreted as a page name, which is not so. (Bug#5431)
14886 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
14888 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14889 switches. Check also for //SUBDIRED// line.
14891 2009-12-25 Kenichi Handa <handa@m17n.org>
14893 * language/indian.el (devanagari-composable-pattern): Fix to
14894 handle ZWNJ and ZWJ. Use it in composition-function-table for
14896 (malayalam-composable-pattern): Fix previous change.
14898 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14900 * ps-print.el (ps-face-attributes): It was not returning the
14901 attribute face for faces specified as string. Reported by harven
14902 <harven@free.fr>. (Bug#5254)
14903 (ps-print-version): New version 7.3.5.
14905 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
14907 * calendar/icalendar.el (icalendar--convert-tz-offset):
14908 Fix timezone names.
14909 (icalendar--convert-tz-offset): Fix the "last-day-problem".
14910 (icalendar--add-diary-entry): Remove the trailing blank that
14911 diary-make-entry inserts.
14913 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
14915 Make `file-expand-wildcards' work for remote files.
14917 * files.el (file-expand-wildcards): In case of remote files, check
14918 only local file name part for wildcards. Provide feature 'files
14919 and subfeature 'remote-wildcards. (Bug#5198)
14921 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14922 if there is already an established connection.
14923 (tramp-advice-file-expand-wildcards): Remove it.
14925 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14926 (tramp-advice-file-expand-wildcards): Move from tramp.el.
14927 Activate advice for older GNU Emacs versions. (Bug#5237)
14929 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
14931 Some doc fixes (more needed).
14933 * find-cmd.el (find-constituents): Reflow docstring.
14934 (find-cmd, find-prune, find-command): Fix typos in docstrings.
14935 (find-generic): Doc fix.
14937 2009-12-17 Juri Linkov <juri@jurta.org>
14939 Fix regression from 23.1 to allow multiple modes in Local Variables.
14941 * files.el (hack-local-variables-filter): While ignoring duplicates,
14942 don't take `mode' into account.
14943 (hack-local-variables-filter, hack-dir-local-variables):
14944 Don't remove duplicate `mode' from local-variables-alist (like `eval').
14946 2009-12-17 Juri Linkov <juri@jurta.org>
14948 Make `dired-diff' safer. (Bug#5225)
14950 * dired-aux.el (dired-diff): Signal an error when `file' equals to
14951 `current' or when `file' is a directory of the `current' file.
14953 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
14955 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14956 unconditionally preloaded files.
14958 2009-12-16 Juri Linkov <juri@jurta.org>
14960 Revert to old 23.1 logic of using the file at the mark as default.
14961 * dired-aux.el (dired-diff): Use the file at the mark as default
14962 if it's not the same as the current file, and the target dir is
14963 the current dir or the mark is active. Add the current file
14964 as the arg of `dired-dwim-target-defaults'. Use the default file
14965 in the prompt. (Bug#5225)
14967 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
14969 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14970 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14971 (tramp-check-for-regexp): Check also, when an echoing shell stops
14972 to echo sent commands.
14974 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14976 * Makefile.in: Revert last change (Bug#5191).
14978 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
14980 * vc-hg.el (vc-hg-print-log): Fix argument order.
14981 (vc-hg-working-revision): Make sure the command is executed in a
14982 known environment so that we can parse the output. (Bug#4417)
14984 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14986 * progmodes/python.el (python-symbol-completions): Remove text
14987 properties from symbol string before calling python-send-receive.
14989 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
14991 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14992 when there are values for both file and line. (Bug#5060)
14994 2009-12-14 Juri Linkov <juri@jurta.org>
14996 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14997 whitespace after the file name of the first line of unified format,
14998 because git-diff doesn't output whitespace and file modification time
14999 after the file name.
15001 2009-12-14 David Kastrup <dak@gnu.org>
15003 * info.el (Info-hide-cookies-node): Before hiding a cookie,
15004 check if it already has the `display' property added by
15005 `Info-display-images-node', and not put the `invisible' property
15008 2009-12-13 Glenn Morris <rgm@gnu.org>
15010 * mail/emacsbug.el (message-sort-headers): Define for compiler.
15011 (report-emacs-bug): In message-mode, sort manually before storing
15012 original report text. (Bug#5178)
15013 Remove superfluous save-excursion.
15015 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
15017 * net/dbus.el (dbus-property-handler): Filter lambda forms out
15018 when responding to "GetAll" properties.
15020 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
15022 * simple.el (compose-mail): Remove mail-setup-with-from from
15023 customization checks.
15025 2009-12-12 Eli Zaretskii <eliz@gnu.org>
15027 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
15028 RAR archives created on Unix systems.
15030 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
15032 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
15033 the varalias that was accidentally removed by the 2009-11-19 change
15036 2009-12-12 Kenichi Handa <handa@m17n.org>
15038 * language/indian.el (indian-compose-regexp): New function.
15039 (malayalam-composable-pattern): Fix the pattern.
15040 (composition-function-table): Set malayalam-composable-pattern for
15041 Malayalam characters.
15043 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
15045 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
15046 rather than down-mouse-1, based on follow-link conventions.
15048 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
15051 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
15053 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
15054 (verilog-vmm-statement-re, verilog-ovm-statement-re)
15055 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
15056 (verilog-leap-to-head, verilog-backward-token):
15057 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
15059 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
15061 * progmodes/verilog-mode.el (verilog-auto-lineup)
15062 (verilog-nameable-item-re): Cleanup user-visible spelling and
15063 documentation errors. One reported by Gary Delp.
15064 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
15065 (verilog-read-decls): Fix AUTOWIRE with types declared in a
15066 package, bug195. Reported by Pierre-David Pfister.
15068 2009-12-11 Glenn Morris <rgm@gnu.org>
15070 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
15072 * mail/emacsbug.el: No longer require sendmail.
15073 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
15074 (report-emacs-bug-orig-text): Doc fix.
15075 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
15076 New local variables, to adapt to different mail-user-agents.
15077 (report-emacs-bug): Fix test for a gnu.org address.
15078 Use overlays for emphasis, since font-lock defeats 'face property.
15079 Pretest bugs also end up at the newsgroup these days.
15080 Stop message-mode stripping text properties.
15081 Set and use the new buffer-local variables.
15082 (report-emacs-bug-hook): Add doc-string.
15083 Remove some unnecessary save-excursions and simplify.
15084 Use the appropriate hook and send-command.
15086 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
15087 capitalization of some menu entries.
15089 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15091 * whitespace.el (whitespace-display-char-on):
15092 Ensure `buffer-display-table' is unique when two or more windows are
15093 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
15096 2009-12-10 Eli Zaretskii <eliz@gnu.org>
15098 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
15099 characters in the Attribute field.
15101 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
15103 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
15105 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
15107 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
15108 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15109 Disregard autoload-excludes.
15110 (update-directory-autoloads): Obey autoload-excludes here instead.
15111 But don't store its contents in no-autoloads and remove entries that
15112 refer to excludes files.
15114 2009-12-10 Glenn Morris <rgm@gnu.org>
15116 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
15117 (expand-mail-aliases): Define for compiler.
15119 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
15120 Define for compiler.
15122 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
15123 appropriate for the mail-user-agent in use.
15125 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
15127 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
15129 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
15131 Fix short log parsing and fontification.
15132 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
15133 Fix fontification for the [merge] label.
15135 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
15137 Drop some properties to avoid surprises (bug#5002).
15138 * htmlfontify.el (hfy-ignored-properties): New defcustom.
15139 (hfy-fontify-buffer): Use it.
15141 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
15144 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
15145 Adjust all callers.
15146 (ffap-locate-file): Remove unused arg `dir-ok' and make other
15147 args compulsory. Adjust callers.
15148 (ffap-gopher-at-point): Remove unused var `name'.
15150 Get rid of the ELCFILES abomination.
15151 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
15152 (compile-elcfiles): New phony target.
15153 (compile-main): Compute ELCFILES dynamically.
15154 (compile-clean): New target to remove left-over elc files.
15155 (compile, all): Use it.
15157 2009-12-09 Kenichi Handa <handa@etlken>
15159 * international/mule-diag.el: Require help-mode instead of help-fns.
15161 2009-12-09 Kenichi Handa <handa@m17n.org>
15163 * international/mule-cmds.el (ucs-names): Supply sufficiently
15164 fine ranges instead of pre-calculating accurate ranges.
15165 Iterate with bigger gc-cons-threshold.
15167 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
15169 Add support for stashing a snapshot of the current tree.
15170 * vc-git.el (vc-git-stash-snapshot): New function.
15171 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
15173 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
15175 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
15176 instead of `(beginning|end)-of-line'.
15178 2009-12-08 Glenn Morris <rgm@gnu.org>
15180 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
15182 * Makefile.in (ELCFILES): Regenerate.
15184 2009-12-07 Juri Linkov <juri@jurta.org>
15186 Don't lazy-highlight the comint output in history Isearch mode.
15188 * comint.el (comint-history-isearch-search): Instead of
15189 `comint-line-beginning-position', use `comint-after-pmark-p'
15190 to check if point if before the process mark, and go to
15191 `process-mark' in this case.
15193 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15195 * textmodes/tex-mode.el (latex-complete)
15196 (latex-indent-or-complete): Remove.
15197 (latex-mode): Set completion-at-point-functions instead.
15199 Provide a standard completion command and hook it into TAB.
15200 * minibuffer.el (completion-at-point-functions): New var.
15201 (completion-at-point): New command.
15202 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
15203 * progmodes/python.el (python-mode-map): Use completion-at-point.
15204 (python-completion-at-point): Rename from python-partial-symbol and
15205 adjust for use in completion-at-point-functions.
15206 (python-mode): Setup completion-at-point for Python completion.
15207 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
15208 extracted from lisp-complete-symbol.
15209 (lisp-complete-symbol): Use it.
15210 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
15211 setup completion-at-point for Elisp completion.
15212 (emacs-lisp-mode-map, lisp-interaction-mode-map):
15213 Use completion-at-point.
15214 * ielm.el (ielm-map): Use completion-at-point.
15215 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
15216 * progmodes/sym-comp.el: Move to...
15217 * obsolete/sym-comp.el: Move from progmodes.
15219 2009-12-07 Eli Zaretskii <eliz@gnu.org>
15221 Prevent save-buffer in Rmail buffers from using the coding-system
15222 of the current message, and from clobbering the encoding mnemonics
15223 in the mode line (Bug#4623).
15225 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
15227 (rmail-message-encoding): New variable.
15228 (rmail-write-region-annotate): Record the encoding of the current
15229 message in rmail-message-encoding.
15230 (rmail-after-save-hook): New function, restores the encoding of
15231 the current message after the message collection is saved.
15233 2009-12-07 Juri Linkov <juri@jurta.org>
15235 * progmodes/grep.el (grep-read-files): Use `completing-read'
15236 instead of `read-string'. Set its `collection' arg to
15237 `read-file-name-internal'. (Bug#4301)
15239 2009-12-07 Juri Linkov <juri@jurta.org>
15241 Correctly restore original Isearch point. (Bug#4994)
15243 * isearch.el (isearch-mode): Move `isearch-push-state' after
15244 `(run-hooks 'isearch-mode-hook)'.
15245 (isearch-cancel): When `isearch-push-state-function' is defined,
15246 let-bind `isearch-cmds' to the first state (the last element of
15247 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
15248 function and restores the original point). Otherwise, move point
15249 to `isearch-opoint'.
15251 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15253 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
15254 chars that don't have names, so the table can be built much faster at
15257 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
15259 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
15260 change. Suggested by David Kastrup.
15262 * simple.el (compose-mail): Check for incompatibilities and warn.
15263 (compose-mail-user-agent-warnings): New option.
15265 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15267 Support showing a single log entry from vc-annotate.
15268 * vc.el (print-log): Add a new argument: START-REVISION.
15269 (vc-print-log-internal): Add a new optional argument and
15270 pass it to the backend.
15271 (vc-print-log, vc-print-root-log): Adjust callers.
15272 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
15273 buffer already displays the requested log entry, use it.
15274 Otherwise display only the log entry in question.
15275 * vc-svn.el (vc-svn-print-log):
15276 * vc-mtn.el (vc-mtn-print-log):
15277 * vc-hg.el (vc-hg-state):
15278 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
15279 (vc-git-show-log-entry): Return t on success.
15280 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
15281 (vc-bzr-show-log-entry): Return t on success.
15282 * vc-rcs.el (vc-rcs-print-log):
15283 * vc-sccs.el (vc-sccs-print-log):
15284 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
15286 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15288 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
15289 Add menus to the meta mode. (Bug#5043)
15291 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
15293 * ediff-init.el (ediff-event-key): Use event-to-character instead of
15296 * ediff.el (ediff-buffers-internal): Add unwind-protect.
15298 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
15300 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
15301 Berbain <raphael.berbain@gmail.com>.
15303 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
15305 (tramp-initial-end-of-output): New defconst.
15306 (tramp-methods, tramp-find-shell)
15307 (tramp-open-connection-setup-interactive-shell)
15308 (tramp-maybe-open-connection): Use it.
15309 (tramp-shell-prompt-pattern, tramp-wait-for-output):
15310 Handle existence of `#' and `$'.
15312 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
15313 Use `tramp-initial-end-of-output'.
15315 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15317 Get the background mode from the terminal for xterm, and set
15319 * term/xterm.el (xterm-set-background-mode): New function.
15320 (terminal-init-xterm): Use it in case xterm supports background
15321 color queries. Recompute faces after getting the background
15324 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
15326 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
15327 number comment back on its own line, for easier parsing.
15329 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15331 Make it work for non-file buffers (bug#5102).
15332 * doc-view.el (doc-view-current-cache-dir):
15333 Use doc-view-buffer-file-name rather than buffer-file-name.
15334 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
15336 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
15338 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
15339 author field is too short.
15341 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
15343 * vc-git.el (vc-git-print-log): Handle a limit argument.
15344 Display the short log in graph form and with labels.
15345 (vc-git-log-view-mode): Handle labels.
15347 Make vc-revert change VC state from 'added to 'unregistered.
15348 * vc-git.el (vc-git-revert): Call git reset first.
15350 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
15352 * net/newst-backend.el, net/newst-plainview.el:
15353 * net/newst-reader.el, net/newst-ticker.el:
15354 * net/newst-treeview.el, net/newsticker.el:
15355 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
15357 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
15359 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
15361 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
15362 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
15363 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
15364 Update annotation regexp.
15366 * simple.el (beginning-of-visual-line): Constrain to field
15367 boundaries (Bug#5106).
15369 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
15371 * xml.el (xml-substitute-numeric-entities):
15372 Move newsticker--decode-numeric-entities in newst-backend.el to
15373 xml-substitute-numeric-entities in xml.el. (Bug#5008)
15374 * net/newst-backend.el (newsticker--parse-generic-feed)
15375 (newsticker--parse-generic-items)
15376 (newsticker--decode-numeric-entities):
15377 Move newsticker--decode-numeric-entities in newst-backend.el to
15378 xml-substitute-numeric-entities in xml.el. (Bug#5008)
15380 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
15382 * progmodes/js.el (js--js-not): Add null to the list of values.
15384 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
15386 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
15388 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15390 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
15391 delimiter if it is at the end of the current line.
15392 (bibtex-generate-url-list): Fix docstring.
15394 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15396 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
15397 minibuffer's content with itself.
15398 Fold the confirm-after-completion case into the `confirm' case.
15399 (completion-pcm-word-delimiters): Add : and / to the delimiters.
15401 2009-12-06 Kevin Ryde <user42@zip.com.au>
15403 * ffap.el (ffap-rfc-path): Make this a defcustom since
15404 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
15406 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
15407 manuals, similar to existing setup for help-mode. (Bug#3913.)
15409 2009-12-05 Juri Linkov <juri@jurta.org>
15411 Save and restore dired buffer's point positions too. (Bug#4880)
15413 * dired.el (dired-save-positions): Return in the first element
15414 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
15416 (dired-restore-positions): First restore buffer's position.
15417 While restoring window's positions, check if window still displays
15418 the original buffer.
15420 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
15422 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
15425 * shell.el (shell): Require ansi-color (Bug#5113).
15427 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
15429 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
15431 2009-12-05 Alan Mackenzie <acm@muc.de>
15433 * progmodes/cc-mode.el (c-before-hack-hook)
15434 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
15435 `c-file-style' to work again. This reversion restores the current
15436 software to its state in Emacs 23.1. (Bug#4146)
15438 2009-12-05 Kevin Ryde <user42@zip.com.au>
15440 * textmodes/sgml-mode.el (sgml-lexical-context):
15441 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
15443 2009-12-05 Juri Linkov <juri@jurta.org>
15445 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
15446 for virtual nodes. (Bug#4147)
15447 (Info-find-node-2): Set `Info-current-node-virtual' to nil
15448 when moving from a virtual node.
15449 (Info-mode-menu): Add `Info-virtual-index' to the menu.
15450 (Info-mode): Add `Info-virtual-index' to the docstring.
15452 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15454 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
15455 track of the buffer position of the end of a BibTeX entry as this
15456 position may change during reformatting.
15457 (bibtex-format-entry): Remove whitespace before processing
15458 numerical fields so that we recognize the latter properly.
15459 (bibtex-reformat): Do not use push which changes the global value
15460 of bibtex-entry-format.
15461 (bibtex-field-braces-alist, bibtex-field-strings-alist)
15462 (bibtex-field-re-init): Replace only space characters by regexp
15464 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
15465 (bibtex-initialize): Also update bibtex-strings.
15466 (bibtex-kill-field): Preserve white space at end of entry.
15467 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
15468 Update bibtex-reference-keys.
15470 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
15472 * minibuffer.el (completion-pcm--merge-try): Also consider placing
15473 point after a star, if that's the only place where modifications can
15476 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
15478 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
15481 2009-12-04 Juri Linkov <juri@jurta.org>
15483 * proced.el (proced): Call `(proced-update t)' to update process
15484 information instead of only running proced-post-display-hook.
15485 (proced-send-signal): Add a leading space to the buffer name
15486 " *Marked Processes*" to make this buffer ephemeral.
15488 2009-12-04 Juri Linkov <juri@jurta.org>
15490 * dired.el (dired-auto-revert-buffer): New defcustom.
15491 (dired-internal-noselect): Use it.
15493 2009-12-04 Juri Linkov <juri@jurta.org>
15495 Change roles of modes and functions in image-mode.el (Bug#5062).
15497 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
15498 in `auto-mode-alist'.
15499 (image-mode-previous-major-mode): New variable.
15500 (image-minor-mode-map): Rename from `image-mode-text-map'.
15501 (image-mode): Move graceful error-handling code from
15502 `image-minor-mode' to here. On errors call `image-mode-as-text'.
15503 (image-minor-mode): Remove all image-handling code.
15504 Replace `image-mode-text-map' with `image-minor-mode-map'.
15505 Check for `image-type' in mode-line format string.
15506 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
15507 (image-mode-as-text): New function with most code from
15508 `image-mode-maybe'.
15509 (image-toggle-display-text): Move code that removes image
15510 properties from `image-toggle-display' to here.
15511 (image-toggle-display-image): New function with code that adds
15512 image properties copied from `image-toggle-display'.
15513 (image-toggle-display): Remove most code with leaving only code
15514 that toggles between `image-mode-as-text' and `image-mode'.
15516 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
15518 * net/newst-treeview.el
15519 (newsticker--treeview-list-highlight-start): Restored call to
15520 save-excursion: Selected item was stuck.
15521 (newsticker--treeview-list-select): New.
15522 (newsticker--treeview-item-show-text)
15523 (newsticker--treeview-item-show)
15524 (newsticker--treeview-item-update): Use new
15525 newsticker-treeview-item-mode.
15526 (newsticker-treeview-update): Keep current item.
15527 (newsticker-treeview-next-new-or-immortal-item): Doc change.
15528 (newsticker--treeview-first-feed): Doc change.
15529 (newsticker-treeview-list-menu)
15530 (newsticker-treeview-item-menu): Add menu entries.
15531 (newsticker-treeview-item-mode): New.
15533 * net/newst-backend.el (newsticker-customize): Delete other
15536 2009-12-04 Sam Steingold <sds@gnu.org>
15538 * log-view.el (log-view-mode-map): "q" calls quit-window,
15539 like in all the other non-self-insert buffers.
15541 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
15544 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
15545 key decoding rather than do it manually via last-input-event +
15547 (term-exec): Use delete-and-extract-region.
15548 (term-handle-ansi-terminal-messages): Remove unused var `end'.
15549 (term-process-pager): Remove unused var `i'.
15550 (term-dynamic-simple-complete): Make obsolete.
15551 (serial-update-config-menu): Remove unused vars `y' and `str'.
15552 (term-update-mode-line): Remove unused var `temp'.
15554 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15556 Limit the number of log entries displayed by default.
15557 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
15558 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
15559 using a prefix argument.
15561 2009-12-03 Glenn Morris <rgm@gnu.org>
15563 * progmodes/idlwave.el (class): Restore still useful declaration.
15565 2009-12-03 Alan Mackenzie <acm@muc.de>
15567 Enhance `c-parse-state' to run efficiently in "brace deserts".
15569 * progmodes/cc-mode.el (c-basic-common-init):
15570 Call c-state-cache-init.
15571 (c-neutralize-syntax-in-and-mark-CPP): Rename from
15572 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
15573 placing `category' properties value 'c-cpp-delimiter at its boundaries.
15575 * progmodes/cc-langs.el (c-before-font-lock-function):
15576 c-extend-and-neutralize-syntax-in-CPP has been renamed
15577 c-neutralize-syntax-in-and-mark-CPP.
15579 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
15580 with `category' properties now, not `syntax-table' ones.
15582 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
15583 enhanced (but slower) version of c-end-of-macro that won't land
15584 inside a literal or on another awkward character.
15585 (c-state-cache-too-far, c-state-cache-start)
15586 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
15587 (c-state-nonlit-pos-cache-limit, c-state-point-min)
15588 (c-state-point-min-lit-type, c-state-point-min-lit-start)
15589 (c-state-min-scan-pos, c-state-brace-pair-desert)
15590 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
15591 buffer local variables.
15592 (c-state-literal-at, c-state-lit-beg)
15593 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
15594 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
15595 (c-state-cache-top-paren, c-state-cache-after-top-paren)
15596 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
15597 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
15598 (c-renarrow-state-cache)
15599 (c-append-lower-brace-pair-to-state-cache)
15600 (c-state-push-any-brace-pair, c-append-to-state-cache)
15601 (c-remove-stale-state-cache)
15602 (c-remove-stale-state-cache-backwards, c-state-cache-init)
15603 (c-invalidate-state-cache-1, c-parse-state-1)
15604 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
15605 (c-parse-state): Enhance and refactor.
15606 (c-debug-parse-state): Amend to deal with all the new variables.
15608 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
15609 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
15610 modify to use category text properties rather than syntax-table ones.
15611 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
15612 to switch off/on the syntactic paren property of C++ template
15613 delimiters using the category property.
15614 (c-with-<->-as-parens-suppressed): Macro to invoke code with
15615 template delims suppressed.
15616 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
15617 New constant/macros which apply category properties to the start
15618 and end of preprocessor constructs.
15619 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
15620 "comment out" the syntactic value of characters in preprocessor
15622 (c-with-cpps-commented-out)
15623 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
15624 with characters in all or all but one preprocessor constructs
15627 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15629 * proced.el (proced-filter-alist): Use regexp-quote.
15631 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
15634 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
15635 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
15636 arguments. Expand `default-directory'.
15638 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
15639 the benefit of returning an expanded localname.
15640 (tramp-tramp-file-p): Handle the case NAME is not a string.
15642 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15644 Add support for bzr shelve/unshelve.
15645 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
15646 (vc-bzr-extra-menu-map): New variables.
15647 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
15648 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
15649 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
15650 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
15651 (vc-bzr-dir-extra-headers): Display shelves.
15653 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
15655 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15657 * textmodes/bibtex.el (bibtex-complete-internal):
15658 Use completion-in-region.
15659 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
15661 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15663 Support applying stashes. Improve UI.
15664 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
15665 (vc-git-stash-apply, vc-git-stash-pop)
15666 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
15667 (vc-git-stash-menu): New functions.
15668 (vc-git-stash-menu-map): New variable.
15669 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
15671 2009-12-03 Glenn Morris <rgm@gnu.org>
15673 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
15674 (vc-print-log-internal): Fix previous change.
15675 (vc-revert): Correct pluralization.
15677 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15679 * progmodes/make-mode.el (makefile-special-targets-list): No need for
15680 it to be an alist any more.
15681 (makefile-complete): Use completion-in-region.
15683 * progmodes/octave-mod.el (octave-complete-symbol):
15684 Use completion-in-region.
15687 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
15688 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
15689 (idlwave-complete-class): Don't quote lambda.
15690 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
15691 (idlwave-mode-map): Move initialization into declaration.
15692 (idlwave-action-and-binding): Use backquotes.
15693 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
15695 (idlwave-is-pointer-dereference): Remove unused var `pos'.
15696 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
15697 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
15698 `parts', and `all-parts'.
15699 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
15700 (idlwave-convert-xml-system-routine-info): Remove unused string
15702 (idlwave-display-user-catalog-widget): Use dolist.
15703 (idlwave-scanning-lib): Declare dynamically-scoped var.
15704 (idlwave-scan-library-catalogs): Remove unused var `flags'.
15705 (completion-highlight-first-word-only): Declare to silence bytecomp.
15706 (idlwave-popup-select): Tighten scope of `resp'.
15707 (idlwave-find-struct-tag): Remove unused var `beg'.
15708 (idlwave-after-load-rinfo-hook): Declare.
15709 (idlwave-sintern-class-info): Remove unused var `taglist'.
15710 (idlwave-find-class-definition): Remove unused var `list'.
15711 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
15712 (idlwave-what-module-find-class): Remove unused var `classes'.
15714 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
15716 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
15718 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15720 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
15721 buffers visited. Remove redundant current-buffer-saving.
15723 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15725 Use completion-in-buffer and remove uses of dynamic scoping.
15726 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
15727 (pascal-buffer-to-use, pascal-flag): Don't declare.
15728 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
15729 (pascal-get-completion-decl, pascal-keyword-completion):
15730 Add `pascal-str' argument, save-excursion,
15731 return the found completions, and don't filter with pascal-pred.
15732 (pascal-completion-cache): New var.
15733 (pascal-completion): Don't switch buffer any more (it was never
15734 necessary). Don't save-excursion any more (it's done by the called
15735 subroutines). Use a cache to avoid redundant computations.
15736 Use complete-with-action rather than pascal-completion-response and
15737 let it apply the predicate as well.
15738 (pascal-complete-word): Use completion-in-buffer when
15739 pascal-toggle-completions is nil.
15740 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
15742 (pascal-comp-defun): Don't change buffer any more.
15743 Use complete-with-action rather than pascal-completion-response and
15744 let it apply the predicate as well.
15745 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
15748 2009-12-02 Kenichi Handa <handa@m17n.org>
15750 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
15751 shape for all Indic scripts.
15753 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15755 Use completion-in-buffer.
15756 * wid-edit.el (widget-field-text-end): New function.
15757 (widget-field-value-get): Use it.
15758 (widget-string-complete, widget-file-complete)
15759 (widget-color-complete): Use it and completion-in-region.
15760 (widget-complete): Don't narrow the buffer.
15762 2009-12-02 Glenn Morris <rgm@gnu.org>
15764 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
15765 (rmail-select-summary): Use rmail-pop-to-buffer.
15766 * mail/rmailsum.el: Replace all pop-to-buffer calls with
15767 rmail-pop-to-buffer, to prevent horizontal splits.
15769 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
15770 save-excursion with save-current-buffer.
15771 Widen before searching. (Bug#5093)
15772 (diary-list-sexp-entries): Remove superfluous save-excursion.
15774 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
15776 * woman.el (woman-make-bufname): Handle man-pages with "." in the
15779 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
15781 * ido.el (ido-file-internal): Handle filenames at point that do
15782 not have a directory part. (Bug#5049)
15784 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
15786 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
15787 (mpc-songs-jump-to, mpc-resume): Doc fixes.
15789 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
15791 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15792 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15795 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15797 * comint.el (comint-insert-input): Ignore clicks to the right of
15798 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15800 * vc.el (vc-print-log-internal): Don't wait for the process to
15801 terminate before setting up the major mode.
15803 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15806 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15809 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15811 2009-12-01 Glenn Morris <rgm@gnu.org>
15813 * window.el (window--display-buffer-2): Fix previous changes.
15815 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
15817 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15819 2009-12-01 Glenn Morris <rgm@gnu.org>
15821 * Makefile.in (ELCFILES): Add mpc.elc.
15823 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15825 * mpc.el: New file.
15827 2009-12-01 Glenn Morris <rgm@gnu.org>
15829 * window.el (window-to-use): Define for compiler.
15831 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15832 consistent with others (no final period).
15834 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15835 (rmail-mime-show): Downcase the encoding. (Bug#5070)
15837 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
15839 Make vc-print-log buttons work.
15840 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15842 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
15844 * savehist.el (savehist-autosave-interval): Allow setting to nil
15845 through customize. (Bug#5056)
15847 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
15849 Fix references to jit-lock properties.
15850 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15851 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15852 (perl-font-lock-special-syntactic-constructs):
15853 Quote jit-lock-defer-multiline property.
15855 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
15857 * vc-git.el (vc-git-registered): Call vc-git-root only once.
15859 2009-11-30 Juri Linkov <juri@jurta.org>
15861 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15862 value `buffer' of `multi-isearch-next-buffer-current-function'.
15863 Use `(current-buffer)' when `buffer' is nil.
15864 (multi-isearch-next-buffer-from-list): Don't fallback to
15865 `(current-buffer)' when `buffer' is nil. (Bug#4947)
15867 2009-11-30 Juri Linkov <juri@jurta.org>
15869 * misearch.el (multi-isearch-read-buffers): Move canonicalization
15870 of buffers with `get-buffer' to `multi-isearch-buffers'.
15871 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15872 Canonicalize BUFFERS with `get-buffer'. Doc fix.
15873 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15874 FILES with `expand-file-name' converting relative file names
15875 to absolute. Doc fix. (Bug#4727)
15877 2009-11-30 Juri Linkov <juri@jurta.org>
15879 * misearch.el (multi-isearch-read-buffers)
15880 (multi-isearch-read-matching-buffers): New functions.
15881 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15882 Use them in the `interactive' spec. Doc fix.
15883 (multi-isearch-read-files, multi-isearch-read-matching-files):
15885 (multi-isearch-files, multi-isearch-files-regexp):
15886 Use them in the `interactive' spec. Doc fix. (Bug#4725)
15888 2009-11-30 Juri Linkov <juri@jurta.org>
15890 * doc-view.el (doc-view-continuous):
15891 Rename from `doc-view-continuous-mode'.
15892 (doc-view-menu): Move "Toggle display" to the top.
15893 Add submenu "Continuous" with radio buttons "Off"/"On"
15894 and "Save as Default".
15895 (doc-view-scroll-up-or-next-page)
15896 (doc-view-scroll-down-or-previous-page)
15897 (doc-view-next-line-or-next-page)
15898 (doc-view-previous-line-or-previous-page):
15899 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
15901 2009-11-30 Juri Linkov <juri@jurta.org>
15903 * comint.el (comint-mode-map): Rebind `M-r' from
15904 `comint-previous-matching-input' to
15905 `comint-history-isearch-backward-regexp'.
15906 Unbind `M-s' to allow global key binding `M-s'.
15907 Add menu items for `comint-history-isearch-backward' and
15908 `comint-history-isearch-backward-regexp'. (Bug#3746)
15910 2009-11-30 Juri Linkov <juri@jurta.org>
15912 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15913 For def=recenter, replace `recenter' with `recenter-top-bottom'
15914 that is called with `this-command' and `last-command' let-bound
15915 to `recenter-top-bottom'. When the last `def' was not `recenter',
15916 set `recenter-last-op' to nil. (Bug#4981)
15918 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
15920 Minor cleanup and simplification.
15921 * filecache.el (file-cache-add-directory)
15922 (file-cache-add-directory-recursively)
15923 (file-cache-add-from-file-cache-buffer)
15924 (file-cache-delete-file-regexp, file-cache-delete-directory)
15925 (file-cache-files-matching-internal, file-cache-display): Use dolist.
15926 (file-cache-temp-minibuffer-message): Delete function.
15927 (file-cache-minibuffer-complete): Use minibuffer-message instead.
15929 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15930 Don't signal an error when bumping into EOB in tr, s, or y.
15932 2009-11-29 Juri Linkov <juri@jurta.org>
15934 * startup.el (fancy-about-text): Fix wording of Guided Tour.
15937 * descr-text.el (describe-char-unidata-list): Use lowercase name
15938 for "Unicode name" like in other tags.
15940 2009-11-29 Juri Linkov <juri@jurta.org>
15942 * ediff-util.el (ediff-minibuffer-with-setup-hook):
15943 New compatibility macro.
15944 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15946 2009-11-29 Juri Linkov <juri@jurta.org>
15948 Add defcustom to define the cycling order of `recenter-top-bottom'.
15951 * window.el (recenter-last-op): Doc fix.
15952 (recenter-positions): New defcustom.
15953 (recenter-top-bottom): Rewrite to use `recenter-positions'.
15954 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15956 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
15958 Improve integration of Tramp and ange-ftp in eshell.
15960 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15961 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
15962 (eshell/sudo): Flatten args. Let-bind `default-directory'.
15964 * eshell/esh-util.el (top): Require also Tramp when compiling.
15965 (eshell-directory-files-and-attributes): Check for FTP remote
15967 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15968 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15969 (eshell-file-attributes): Handle ".". Return `entry'.
15971 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15972 (ange-ftp-directory-files-and-attributes)
15973 (ange-ftp-real-directory-files-and-attributes): New defuns.
15975 * net/tramp.el (tramp-maybe-open-connection): Open the remote
15976 shell with "exec" when possible. This prevents trailing prompts
15977 in `start-file-process'.
15979 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15981 Try and remove assumptions about point-min==1.
15982 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15983 (rng-compute-mode-line-string): Show the validation percentage in
15984 terms of the narrowed text, not the widened text.
15985 (rng-do-some-validation): Don't catch internal errors when debugging.
15986 (rng-first-error): Simplify.
15987 (rng-after-change-function): Remove work around. AFAIK the bug has
15988 been fixed a while ago.
15990 * image-mode.el (image-minor-mode): Exit more gracefully when the image
15991 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15993 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15995 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15996 `cd' doesn't always do it for us (bug#5067).
15998 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15999 on 2009-10-25 as part of some other change (bug#5067).
16001 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
16003 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
16005 (byte-compile-warnings): Use byte-compile-warning-types.
16006 (byte-compile-save-excursion): Warn about use of set-buffer right
16007 after save-excursion.
16009 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
16010 the excursion as well.
16012 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
16014 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
16015 providing a Tramp related implementation of "su" and "sudo".
16016 (eshell-unix-initialize): Add "su" and "sudo".
16018 2009-11-27 Daiki Ueno <ueno@unixuser.org>
16020 * net/socks.el (socks-send-command): Convert binary request to
16021 unibyte before sending. This fixes mishandling of some port
16022 numbers such as 129.
16024 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
16026 * help.el (describe-bindings-internal): Remove `interactive'.
16028 * man.el (Man-completion-table): Trim a terminating "(".
16029 Remove the space between name page a section.
16030 Add the command's description on the `help-echo' property.
16031 Remove `process-connection-type' binding since it's unused by
16033 Provide completion for the "<section> <name>" format as well.
16034 (Man-default-man-entry): Remove spurious var shadowing the argument.
16036 2009-11-26 Kevin Ryde <user42@zip.com.au>
16038 * log-view.el: Add "Keywords: tools", since its other keywords
16039 aren't in finder-known-keywords, and following vc.el.
16041 * sha1.el (sha1-string-external): default-directory "/" in case
16042 otherwise non-existent. process-connection-type pipe for touch of
16043 efficiency recommended by elisp manual. (An aside in Bug#3911.)
16045 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
16047 Misc coding convention cleanups.
16048 * htmlfontify.el (hfy-init-kludge-hook): Rename from
16049 hfy-init-kludge-hooks.
16050 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
16051 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
16052 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
16054 (hfy-slant, hfy-weight): Use tables rather than code.
16055 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
16056 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
16057 (hfy-face-attr-for-class): Initialize `face-spec' directly.
16058 (hfy-face-to-css): Remove `nconc' with single arg.
16059 (hfy-p-to-face-lennart): Use `or'.
16060 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
16061 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
16062 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
16063 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
16064 (hfy-force-fontification): Use run-hooks.
16066 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
16068 Various minor fixes.
16069 * htmlfontify.el (hfy-default-header): Add toggle_invis since
16070 Javascript belongs in the header, not the body.
16071 (hfy-javascript): Remove.
16072 (hfy-fontify-buffer): Don't insert it any more.
16073 (hfy-face-at): Handle (face0 face1 face2) style face properties.
16074 Fix bug in invis handling when there were no invis props in a chunk.
16076 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
16078 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
16080 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
16082 * finder.el (finder-mode-map): Add a menu.
16084 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
16086 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
16087 "unsigned" structs.
16089 (verilog-leap-to-head, verilog-backward-token): Handle "disable
16090 fork" statement better.
16092 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
16094 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
16095 (verilog-delete-auto, verilog-delete-empty-auto-pair)
16096 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
16097 Reported by Clay Douglass.
16099 (verilog-auto-inst, verilog-auto-star-safe)
16100 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
16101 Fix removing "// Interfaces" when saving .* expansions.
16102 Reported by Pierre-David Pfister.
16104 2009-11-26 Glenn Morris <rgm@gnu.org>
16106 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
16109 2009-11-25 Johan Bockgård <bojohan@gnu.org>
16111 * vc-annotate.el (vc-annotate-revision-previous-to-line):
16112 Really use previous revision.
16114 2009-11-25 Kevin Ryde <user42@zip.com.au>
16116 * man.el (Man-completion-table): default-directory "/" in case
16117 doesn't otherwise exist. process-environment COLUMNS=999 so as
16118 not to truncate long names. process-connection-type pipe to avoid
16119 any chance of hitting the pseudo-tty TIOCGWINSZ.
16120 (man): completion-ignore-case t for friendliness and since man
16121 itself is case-insensitive on the command line.
16122 Further to Bug#3717.
16124 * arc-mode.el: Add "Keywords: files", so the details in its
16125 commentary can be reached from finder-by-keyword.
16126 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
16127 editing mode, but it's comms related and sgml-mode.el has "comm"
16129 * textmodes/bibtex-style.el: Add "Keywords: tex".
16130 * international/isearch-x.el, international/ja-dic-cnv.el:
16131 * international/ja-dic-utl.el, international/kkc.el:
16132 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
16134 2009-11-25 Juri Linkov <juri@jurta.org>
16136 * man.el (Man-completion-table): Modify regexp to include
16137 section names to completion strings. (Bug#3717)
16139 2009-11-25 Juri Linkov <juri@jurta.org>
16141 Search recursively in gzipped files. (Bug#4982)
16143 * progmodes/grep.el (grep-highlight-matches): Add new options
16144 `always' and `auto'. Doc fix.
16145 (grep-process-setup): Check `grep-highlight-matches' for
16146 `auto-detect' to determine the need to compute grep defaults.
16147 Move Windows/DOS specific --colors settings handling
16148 to `grep-compute-defaults'. Check `grep-highlight-matches'
16149 to get the value of "--color=".
16150 (grep-compute-defaults): Compute `grep-highlight-matches' when it
16151 has the value `auto-detect'. Move Windows/DOS specific settings
16152 from `grep-process-setup'.
16153 (zrgrep): New command with alias `rzgrep'.
16155 2009-11-25 Juri Linkov <juri@jurta.org>
16157 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
16158 to nil instead of switching off view-mode. (Bug#4896)
16160 2009-11-25 Juri Linkov <juri@jurta.org>
16162 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
16164 * mwheel.el (mwheel-scroll-up-function)
16165 (mwheel-scroll-down-function): New defvars.
16166 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
16167 `scroll-up', and `mwheel-scroll-down-function' instead of
16170 * doc-view.el (doc-view-scroll-up-or-next-page)
16171 (doc-view-scroll-down-or-previous-page): Add optional ARG.
16172 Use this ARG in the call to image-scroll-up/image-scroll-down.
16173 Change `interactive' spec to "P". Goto next/previous page only
16174 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
16175 SPC/DEL case). Doc fix.
16176 (doc-view-next-line-or-next-page)
16177 (doc-view-previous-line-or-previous-page): Rename arg to ARG
16179 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
16180 `doc-view-scroll-up-or-next-page', and buffer-local
16181 `mwheel-scroll-down-function' to
16182 `doc-view-scroll-down-or-previous-page'.
16184 2009-11-25 Juri Linkov <juri@jurta.org>
16186 Provide additional default values (directories at other Dired
16187 windows) via M-n in the minibuffer of some Dired commands.
16189 * dired-aux.el (dired-diff, dired-compare-directories)
16190 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
16191 `minibuffer-default' in `minibuffer-with-setup-hook'.
16192 (dired-dwim-target-directory): Find a window that displays Dired
16193 buffer instead of failing when the next window is not Dired.
16194 Use `get-window-with-predicate' to find for the next Dired window.
16195 (dired-dwim-target-defaults): New function.
16197 * ediff-util.el (ediff-read-file-name):
16198 Use `dired-dwim-target-defaults' to set `minibuffer-default'
16199 in `minibuffer-with-setup-hook'.
16201 2009-11-25 Juri Linkov <juri@jurta.org>
16203 Provide additional default values (file name at point or at the
16204 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
16206 * minibuffer.el (read-file-name-defaults): New function.
16207 (read-file-name): Reset `minibuffer-default' to nil when
16208 it duplicates initial input `insdef'.
16209 Bind `minibuffer-default-add-function' to lambda that
16210 calls `read-file-name-defaults' in `minibuffer-selected-window'.
16211 (minibuffer-insert-file-name-at-point): New command.
16213 * files.el (file-name-at-point-functions): New defcustom.
16214 (find-file-default): Remove defvar.
16215 (find-file-read-args): Don't use `find-file-default'.
16216 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
16217 to `read-file-name'.
16218 (find-file-literally): Use `read-file-name' with
16219 `confirm-nonexistent-file-or-buffer'.
16221 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
16223 * dired.el (dired-read-dir-and-switches):
16224 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
16225 to `read-file-name'.
16226 (dired-file-name-at-point): New function.
16227 (dired-mode): Add hook `dired-file-name-at-point' to
16228 `file-name-at-point-functions'.
16230 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
16232 Really make the *Completions* window soft-dedicated (bug#5030).
16233 * window.el (window--display-buffer-2): Add `dedicated' argument.
16234 (display-buffer): Pass it when needed so the dedicated flag is set
16235 after calling set-window-buffer, which would otherwise reset it.
16237 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
16239 * progmodes/meta-mode.el (meta-complete-symbol):
16240 * progmodes/etags.el (complete-tag):
16241 * mail/mailabbrev.el (mail-abbrev-complete-alias):
16242 Use completion-in-region.
16244 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
16245 (dabbrev-completion): Use completion-in-region.
16246 (dabbrev--abbrev-at-point): Simplify regexp.
16248 * abbrev.el (abbrev--before-point): Use word-motion functions
16249 if :regexp is not specified (bug#5031).
16251 * subr.el (string-prefix-p): New function.
16253 * man.el (Man-completion-cache): New var.
16254 (Man-completion-table): Use it.
16256 * vc.el (vc-print-log-internal): Make `limit' optional for better
16257 compatibility (e.g. with vc-annotate.el).
16259 2009-11-24 Kevin Ryde <user42@zip.com.au>
16261 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
16262 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
16264 * emacs-lisp/elint.el (elint-add-required-env): Better error message
16265 when .el source file not found or other error.
16267 2009-11-24 Markus Triska <markus.triska@gmx.at>
16269 * linum.el (linum-update-window): Ignore intangible (bug#4996).
16271 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
16273 Handle the [back] button properly (bug#4979).
16274 * descr-text.el (describe-text-properties): Add a `buffer' argument.
16275 Use help-setup-xref, help-buffer, and with-help-window.
16276 (describe-char): Add `buffer' argument.
16277 Pass proper command to help-setup-xref. Don't meddle with
16278 help-xref-stack-item directly.
16279 (describe-text-category): Use with-help-window and help-buffer.
16281 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
16282 for the displayed buffer (bug#4887).
16284 * man.el (Man-completion-table): New function.
16287 2009-11-24 David Reitter <david.reitter@gmail.com>
16289 * vc-git.el (vc-git-registered): Use checkout directory (where
16290 .git is) rather than the file's directory and a relative path spec
16291 to work around a bug in git.
16293 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
16295 Improve handling of processes on remote hosts.
16297 * eshell/esh-util.el (eshell-path-env): New defvar.
16298 (eshell-parse-colon-path): New defun.
16299 (eshell-file-attributes): Use `eshell-parse-colon-path'.
16301 * eshell/esh-ext.el (eshell-search-path):
16302 Use `eshell-parse-colon-path'.
16303 (eshell-remote-command): Remove argument HANDLER.
16304 (eshell-external-command): Check for FTP remote connection.
16306 * eshell/esh-proc.el (eshell-gather-process-output):
16307 Use `file-truename', in order to start also symlinked files.
16308 Apply `start-file-process' instead of `start-process'.
16309 Shorten `command' to the local file name part.
16311 * eshell/em-cmpl.el (eshell-complete-commands-list):
16312 Use `eshell-parse-colon-path'.
16314 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
16316 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
16317 to `eshell-directory-change-hook'.
16319 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
16321 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
16322 because it could be enabled automatically if view-read-only is non-nil.
16324 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
16326 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
16327 made on 2009-11-22.
16329 2009-11-24 Glenn Morris <rgm@gnu.org>
16331 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
16332 deleted variable bookmark-bmenu-bookmark-column.
16334 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
16336 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
16338 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
16340 * net/browse-url.el (browse-url-filename-alist): On Windows, add
16341 two slashes to the "file:" prefix.
16342 (browse-url-file-url): De-munge Cygwin filenames before passing
16343 them to Windows browser.
16344 (browse-url-default-windows-browser): Use call-process.
16346 2009-11-23 Juri Linkov <juri@jurta.org>
16348 Implement DocView Continuous mode. (Bug#4896)
16349 * doc-view.el (doc-view-continuous-mode): New defcustom.
16350 (doc-view-mode-map): Bind C-n/<down> to
16351 `doc-view-next-line-or-next-page', C-p/<up> to
16352 `doc-view-previous-line-or-previous-page'.
16353 (doc-view-next-line-or-next-page)
16354 (doc-view-previous-line-or-previous-page): New commands.
16356 2009-11-23 Juri Linkov <juri@jurta.org>
16358 Implement Isearch in comint input history. (Bug#3746)
16359 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
16360 `isearch-mode-hook'.
16361 (comint-history-isearch): New defcustom.
16362 (comint-history-isearch-backward)
16363 (comint-history-isearch-backward-regexp): New commands.
16364 (comint-history-isearch-message-overlay): New buffer-local variable.
16365 (comint-history-isearch-setup, comint-history-isearch-end)
16366 (comint-goto-input, comint-history-isearch-search)
16367 (comint-history-isearch-message, comint-history-isearch-wrap)
16368 (comint-history-isearch-push-state)
16369 (comint-history-isearch-pop-state): New functions.
16371 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
16373 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
16375 (tramp-handle-make-symbolic-link)
16376 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
16378 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
16379 (tramp-handle-process-file): Use it.
16381 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
16383 * window.el (move-to-window-line-last-op): Remove.
16384 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
16386 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
16388 Make M-r mirror the new cycling behavior of C-l.
16389 * window.el (move-to-window-line-last-op): New var.
16390 (move-to-window-line-top-bottom): New command.
16391 (global-map): Bind M-r move-to-window-line-top-bottom.
16393 2009-11-23 Sven Joachim <svenjoac@gmx.de>
16395 * dired-x.el (dired-guess-shell-alist-default):
16396 Support xz format. (Bug#4953)
16398 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
16400 * emulation/viper-cmd.el: Use viper-last-command-char instead of
16401 last-command-char/last-command-event.
16402 (viper-prefix-arg-value): Do correct conversion of event-char for
16405 * emulation/viper-util.el, emulation/viper.el:
16406 Use viper-last-command-char instead of
16407 last-command-char/last-command-event.
16409 * ediff-init.el, ediff-mult.el, ediff-util.el:
16410 Replace last-command-char and last-command-event
16411 with (ediff-last-command-char) everywhere.
16413 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
16414 created in fundamental mode.
16416 * ediff.el (ediff-version): Revert the change of interactive-p to
16417 called-interactively-p.
16419 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
16421 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
16422 generation from word-movement command names.
16424 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
16426 * cus-start.el (all): Add native condition for font-use-system-font.
16428 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
16430 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
16431 Correct the patch from 2009-11-18. (Bug#3910)
16433 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
16435 * progmodes/subword.el: Rename from lisp/subword.el.
16437 * subword.el: Rename to progmodes/subword.el.
16439 * Makefile.in (ELCFILES): Adapt to subword.el move.
16441 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16442 Stefan Monnier <monnier@iro.umontreal.ca>
16444 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
16445 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
16446 (bookmark-bmenu-show-filenames): Use push.
16447 (bookmark-bmenu-hide-filenames): Use local var instead of
16448 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
16449 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
16450 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
16451 filenames now that the bookmark names are always available.
16453 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16455 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
16456 (bookmark-search-pattern): Move and leave unbound.
16457 (bookmark-bmenu-mode-map): Change binding.
16458 (bookmark-read-search-input): Simplify.
16459 Don't use text-char-description. Don't error on non-char events.
16460 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
16461 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
16462 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
16463 Use a local var for the timer.
16464 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
16465 (i.e. bookmark-bmenu-search).
16467 2009-11-21 Glenn Morris <rgm@gnu.org>
16469 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
16471 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
16473 * net/browse-url.el (browse-url-default-windows-browser):
16474 Use cygstart for cygwin.
16476 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
16478 * bookmark.el: Formatting and doc fixes only:
16479 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
16480 (bookmark-bmenu-search): Wrap to fit within 80 columns.
16481 Minor grammar and punctuation fixes in doc string.
16482 (bookmark-read-search-input): Adjust to fit within 80 columns.
16484 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16486 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
16487 (c-backward-into-nomenclature): Adapt to subword renaming.
16489 * subword.el (subword-forward, subword-backward, subword-mark)
16490 (subword-kill, subword-backward-kill, subword-transpose)
16491 (subword-downcase, subword-upcase, subword-capitalize)
16492 (subword-forward-internal, subword-backward-internal):
16493 Rename from forward-subword, backward-subword, mark-subword,
16494 kill-subword, backward-kill-subword, transpose-subwords,
16495 downcase-subword, upcase-subword, capitalize-subword,
16496 forward-subword-internal, backward-subword-internal.
16498 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16500 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
16502 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
16504 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
16505 (bookmark-bmenu-filter-alist-by-regexp)
16506 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
16507 (bookmark-bmenu-search): New command.
16508 (bookmark-bmenu-mode-map): Bind it.
16510 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16512 * progmodes/cc-cmds.el: declare-functioned forward-subword and
16513 backward-subword to quit the byte-compiler.
16515 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
16517 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
16519 * progmodes/cc-cmds.el (c-update-modeline)
16520 (c-forward-into-nomenclature, c-backward-into-nomenclature):
16521 Refer to subword.el functions instead of cc-subword.el.
16523 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
16524 subword.el functions instead of cc-subword.el.
16526 * progmodes/cc-subword.el: Rename to subword.el.
16527 * subword.el: Rename from progmodes/cc-subword.el.
16528 (subword-mode-map): Rename from c-subword-mode-map.
16529 (subword-mode): Rename from c-subword-mode.
16530 (global-subword-mode): New global minor mode.
16531 (forward-subword): Rename from c-forward-subword.
16532 (backward-subword): Rename from c-backward-subword.
16533 (mark-subword): Rename from c-mark-subword.
16534 (kill-subword): Rename from c-kill-subword.
16535 (backward-kill-subword): Rename from c-backward-kill-subword.
16536 (transpose-subwords): Rename from c-tranpose-subword.
16537 (downcase-subword): Rename from c-downcase-subword.
16538 (capitalize-subword): Rename from c-capitalize-subword.
16539 (forward-subword-internal): Rename from c-forward-subword-internal.
16540 (backward-subword-internal): Rename from c-backward-subword-internal.
16542 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
16544 * vc.el (vc-deduce-fileset): Allow non-state changing operations
16545 from a dired buffer.
16546 (vc-dired-deduce-fileset): New function.
16547 (vc-root-diff, vc-print-root-log): Use it.
16549 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
16550 nil LIMIT argument to vc-print-log-internal.
16552 2009-11-20 Glenn Morris <rgm@gnu.org>
16554 * Makefile.in (ELCFILES): Regenerate.
16556 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
16558 * calc/calc.el (calc-set-mode-line):
16559 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16560 (math-format-number): Rename `math-format-complement-signed' to
16561 `math-format-twos-complement'.
16563 * calc/calc-bin.el (math-format-twos-complement): Rename from
16564 math-format-complement-signed.
16565 (calc-radix): Rename `calc-complement-signed-mode' to
16566 `calc-twos-complement-mode'.
16567 (calc-octal-radix, calc-hex-radix): Add an argument for
16570 * calc/calc-embed.el (calc-embedded-mode-vars):
16571 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16573 * calc/calc-ext.el (calc-init-extensions):
16574 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16575 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
16577 * calc/calc-units.el (math-build-units-table-buffer):
16578 Let `calc-twos-complement-mode' be nil.
16580 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
16583 * calc/calc-vec.el (calcFunc-vunpack):
16584 * calc/calc-aent.el (calc-do-calc-eval):
16585 * calc/calc-forms.el (math-format-date):
16586 * calc/calc-graph.el (calc-graph-plot):
16587 * calc/calc-math.el (math-use-emacs-fn):
16588 * calc/calccomp.el (math-compose-expr):
16589 Let `calc-twos-complement-mode' be nil.
16591 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16593 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
16594 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
16595 * minibuffer.el (completion-in-region-functions): New hook.
16596 (completion-in-region): New function.
16597 * emacs-lisp/lisp.el (lisp-complete-symbol):
16598 * pcomplete.el (pcomplete-std-complete): Use it.
16600 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16602 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
16603 (latex-complete-alist): New vars.
16604 (latex-string-prefix-p, latex-complete-bibtex-keys)
16605 (latex-complete-envnames, latex-complete-refkeys)
16606 (latex-complete-data): New functions.
16607 (latex-complete, latex-indent-or-complete): New commands.
16609 * window.el (display-buffer-mark-dedicated): New var.
16610 (display-buffer): Obey it.
16611 * minibuffer.el (minibuffer-completion-help): Use it.
16613 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
16615 * filecache.el (file-cache-add-file): Use push and cons.
16616 (file-cache-delete-file-regexp): Use push.
16617 (file-cache-complete): Use completion-in-region.
16619 * simple.el (with-wrapper-hook): Fix thinko.
16621 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
16622 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
16623 Use with-current-buffer and string-to-number.
16624 (hfy-fallback-colour-values): Use assoc-string.
16625 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
16626 (hfy-face-at): Remove unused var `found-face'.
16627 (hfy-compile-stylesheet): Remove unused var `css'.
16628 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
16630 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
16631 Use with-current-buffer.
16632 (hfy-text-p): Use expand-file-name and fewer setq.
16634 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
16636 * htmlfontify.el, hfy-cmap.el: New files.
16638 2009-11-19 Juri Linkov <juri@jurta.org>
16640 * minibuffer.el (completions-format): New defcustom.
16641 (completion--insert-strings): Implement vertical format.
16643 * simple.el (switch-to-completions): Move point to the first
16644 completion when point was at the beginning of the buffer.
16646 2009-11-19 Juri Linkov <juri@jurta.org>
16648 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
16650 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
16652 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
16654 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
16655 (mail-signature): Change default to t.
16656 (mail-from-style): Deprecate `system-default' value.
16657 (mail-insert-from-field): For default value of mail-from-style,
16658 default to `angles' unless `angles' needs quoting and `parens'
16660 (mail-citation-prefix-regexp): Use citation regexp from
16663 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
16665 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
16666 Set variables for computing the prompt for reading password.
16668 2009-11-19 Glenn Morris <rgm@gnu.org>
16670 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
16672 * textmodes/flyspell.el (sgml-lexical-context): Declare.
16674 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
16675 (newsticker-treeview-listwindow-height): Fix custom type.
16677 2009-11-19 Kenichi Handa <handa@m17n.org>
16679 * descr-text.el (describe-char-padded-string): Compose with TAB
16680 only if there's a font for CH.
16681 (describe-char): Fix the condition for detecting a trivial composition.
16683 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
16685 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
16686 more accurate version of the regexp. (Bug#3910)
16688 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16690 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
16692 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
16694 * font-setting.el (font-use-system-font): Declare for byte-compiler.
16695 (font-setting-change-default-font): Fix typo in docstring.
16697 2009-11-18 Alan Mackenzie <acm@muc.de>
16699 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
16701 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16703 * font-setting.el (font-use-system-font): Move ...
16705 * cus-start.el (all): ... to here.
16707 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
16709 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
16710 Don't set `ad-return-value' if `ad-do-it' doesn't.
16712 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
16715 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16717 * menu-bar.el: Put "Use system font" in Option-menu.
16718 (menu-bar-options-save): Add font-use-system-font.
16720 * loadup.el: If feature system-font-setting or font-render-setting is
16721 there, load font-setting.
16723 * Makefile.in (ELCFILES): Add font-settings.el.
16724 * font-setting.el: New file.
16726 2009-11-17 Glenn Morris <rgm@gnu.org>
16728 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
16730 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
16731 Preserve point in the list buffer. (Bug#4939)
16733 (newsticker--treeview-list-update-highlight)
16734 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
16736 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16738 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
16741 * calc/calc-ext.el (calc-init-extensions): Remove references to
16744 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
16746 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
16747 * calc/calc-help.el (calc-b-prefix-help): Remove references to
16750 2009-11-16 Kevin Ryde <user42@zip.com.au>
16752 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16753 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
16755 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
16756 (lm-keywords-list): Allow comma-only separator like "foo,bar".
16757 Ignore trailing spaces by omit-nulls to split-string (fixing
16758 regression from Emacs 21 due to the incompatible split-string
16759 change). (Bug #4928.)
16761 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
16763 * vc.el (vc-log-show-limit): Default to 2000.
16764 (vc-print-log-internal): Insert buttons to request more entries
16765 when limiting the output.
16767 * vc-sccs.el (vc-sccs-print-log):
16768 * vc-rcs.el (vc-rcs-print-log):
16769 * vc-cvs.el (vc-cvs-print-log):
16770 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
16773 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16775 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
16776 error when `tramp-gvfs-dbus-event-vector' is set.
16777 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
16779 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16781 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
16783 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16785 * net/dbus.el (dbus-unregister-service): New defun.
16786 (dbus-register-property): Register the handlers of
16787 "org.freedesktop.DBus.Properties" for SERVICE.
16788 (dbus-property-handler): Fix docstring.
16790 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16792 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16793 Quote doc string reference in defvaralias as it is not in special form.
16794 (byte-compile-output-docform): Doc fix.
16796 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16798 * calc/calc.el (math-2-word-size, math-half-2-word-size)
16799 (calc-complement-signed-mode): New variables.
16800 (calc-set-mode-line): Add indicator for twos-complements.
16801 (math-format-number): Format twos-complement notation.
16803 * calc/calc-bin.el (calc-word-size): Reset the variables
16804 `math-2-word-size' and `math-half-2-word-size'.
16805 (math-format-complement-signed, math-symclip, calcFunc-symclip)
16806 (calc-symclip): New functions.
16808 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16810 * calc/calc-embed.el (calc-embedded-mode-vars):
16811 Add `calc-complement-signed-mode' to the list of modes.
16813 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16814 (calc-b-oper-keys): Add `calc-symclip' to list.
16816 * calc/calc-ext.el (math-read-number-fancy): Read complement
16818 (calc-init-extensions): Add binding for `calc-symclip'.
16819 Add autoload for `calcFunc-symclip' and `calc-symclip'.
16821 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16823 (calc-modes-menu): Add item for twos complement mode.
16825 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16827 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16829 * register.el (jump-to-register, insert-register): Handle Semantic
16830 tags. From commented-out advice in semantic/senator.el.
16832 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
16834 * vc.el (vc-log-show-limit): New variable.
16835 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
16836 when using a prefix argument.
16837 (vc-print-log-internal): Add new argument LIMIT.
16839 * vc-svn.el (vc-svn-print-log):
16840 * vc-mtn.el (vc-mtn-print-log):
16841 * vc-hg.el (vc-hg-print-log):
16842 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16843 pass it to the log command when set. Make the BUFFER argument
16846 * vc-sccs.el (vc-sccs-print-log):
16847 * vc-rcs.el (vc-rcs-print-log):
16848 * vc-git.el (vc-git-print-log):
16849 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16850 ignore it. Make the BUFFER argument non-optional.
16852 * bindings.el (mode-line-buffer-identification): Do not purecopy.
16854 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16856 * dired.el (dired-mode-map): Move encryption items to "Operate"
16859 * strokes.el (strokes-update-window-configuration): Make strokes
16860 buffer current before erasing (Bug#4906).
16862 2009-11-15 Juri Linkov <juri@jurta.org>
16864 * simple.el (set-mark-default-inactive): Add :type, :group
16865 and :version. (Bug#4876)
16867 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
16869 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16870 (archive-unique-fname): ... here. (Bug#4929)
16872 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
16874 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16877 * novice.el (disabled-command-function): Add useful args.
16878 Setup the help buffer so that [back] works.
16879 Remove redundant call to help-mode.
16880 (disabled-command-function): Use `case'.
16881 (en/disable-command): New function extracted from enable-command.
16882 (enable-command, disable-command): Use it.
16884 2009-11-14 Glenn Morris <rgm@gnu.org>
16886 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16887 constants. (Bug#4913)
16889 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16891 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
16893 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16894 defined in C that have no doc-strings. (Bug#1063)
16896 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
16898 * cus-edit.el (data, files):
16899 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
16901 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
16903 * simple.el (shell-command): Doc fix (Bug#4891).
16905 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16907 2009-11-14 Glenn Morris <rgm@gnu.org>
16909 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16910 statements for vc-diff, emerge-quit, and rmail-cease-edit.
16911 If they are already loaded, eval-after-load will do the right thing.
16913 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16916 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16918 * simple.el (x-selection-owner-p): Declare.
16919 (read-mail-command): Use custom radio type rather than choice.
16920 (completion-no-auto-exit): Doc fix.
16922 * custom.el (defgroup):
16923 * epg-config.el (epg): Doc fixes.
16925 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
16927 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16928 * international/ccl.el (define-ccl-program): Do not purecopy the
16929 docstring, defconst does it anyway.
16931 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16933 * add-log.el (add-change-log-entry): Avoid displaying the changelog
16936 * x-dnd.el (x-dnd-maybe-call-test-function):
16937 * window.el (split-window-vertically):
16938 * whitespace.el (whitespace-help-on):
16939 * vc-rcs.el (vc-rcs-consult-headers):
16940 * userlock.el (ask-user-about-lock-help)
16941 (ask-user-about-supersession-help):
16942 * type-break.el (type-break-force-mode-line-update):
16943 * time-stamp.el (time-stamp-conv-warn):
16944 * terminal.el (te-set-output-log, te-more-break, te-filter)
16945 (te-sentinel, terminal-emulator):
16946 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16947 (term-write-input-ring, term-check-source, term-start-output-log):
16948 (term-display-buffer-line, term-dynamic-list-completions):
16949 (term-ansi-make-term, serial-term):
16950 * subr.el (selective-display):
16951 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16952 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16953 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16954 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16955 (speedbar-remove-localized-speedbar-support)
16956 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16957 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16958 (speedbar-buffers-line-directory):
16959 * simple.el (shell-command-on-region, append-to-buffer)
16960 (prepend-to-buffer):
16961 * shadowfile.el (shadow-save-todo-file):
16962 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16963 (scroll-bar-maybe-set-window-start):
16964 * sb-image.el (speedbar-image-dump):
16965 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16966 (load-save-place-alist-from-file):
16967 * ps-samp.el (ps-print-message-from-summary):
16968 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16969 (ps-background-image, ps-begin-job, ps-do-despool):
16970 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16971 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16972 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16973 (pr-call-process, pr-file-list, pr-interface-save):
16974 * novice.el (disabled-command-function)
16975 (enable-command, disable-command):
16976 * mouse.el (mouse-buffer-menu-alist):
16977 * mouse-copy.el (mouse-kill-preserving-secondary):
16978 * macros.el (kbd-macro-query):
16979 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16980 * informat.el (batch-info-validate):
16981 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16982 * hippie-exp.el (try-expand-dabbrev-visible):
16983 * help-mode.el (help-make-xrefs):
16984 * help-fns.el (describe-variable):
16985 * generic-x.el (bat-generic-mode-run-as-comint):
16986 * finder.el (finder-mouse-select):
16987 * find-dired.el (find-dired-sentinel):
16988 * filesets.el (filesets-file-close):
16989 * files.el (list-directory):
16990 * faces.el (list-faces-display, describe-face):
16991 * facemenu.el (list-colors-display):
16992 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16993 * epg.el (epg--process-filter, epg-cancel):
16994 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16995 (epa--read-signature-type):
16996 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16997 (emerge-file-names):
16998 * ehelp.el (electric-helpify):
16999 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
17000 * ediff-vers.el (rcs-ediff-view-revision):
17001 * ediff-util.el (ediff-setup):
17002 * ediff-mult.el (ediff-append-custom-diff):
17003 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
17005 * echistory.el (Electric-command-history-redo-expression):
17006 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
17007 * disp-table.el (describe-display-table):
17008 * dired.el (dired-find-buffer-nocreate):
17009 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
17010 * dabbrev.el (dabbrev--same-major-mode-p):
17011 * chistory.el (list-command-history):
17012 * apropos.el (apropos-documentation):
17013 * allout.el (allout-obtain-passphrase):
17014 (allout-copy-exposed-to-buffer):
17015 (allout-verify-passphrase): Use with-current-buffer.
17017 2009-11-13 Glenn Morris <rgm@gnu.org>
17019 * Makefile.in (ELCFILES): Regenerate.
17021 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
17023 * net/dbus.el (dbus-registered-objects-table): Rename from
17024 `dbus-registered-functions-table', because it contains also properties.
17025 (dbus-unregister-object): Unregister also properties.
17026 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
17027 Use a timeout of 500 msec, in order to not block.
17028 (dbus-register-property, dbus-property-handler): New defuns.
17030 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
17032 * simple.el (minibuffer-default-add-completions): Drop deprecated
17035 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
17037 * textmodes/artist.el (artist-mouse-choose-operation):
17038 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
17039 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
17040 (artist-compute-up-event-key): New function.
17041 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
17043 2009-11-13 Kenichi Handa <handa@m17n.org>
17045 * language/japan-util.el: Make sure that the value of jisx0208
17046 property is jisx0208 character.
17048 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
17050 * international/mule.el (auto-coding-regexp-alist): Only purecopy
17051 car or each item, not the whole list.
17053 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
17055 * minibuffer.el (minibuffer-completion-help):
17056 Use minibuffer-hide-completions.
17058 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
17060 * dired.el (dired-save-positions, dired-restore-positions): New funs.
17061 (dired-revert): Use them (bug#4880).
17063 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
17065 * tooltip.el (tooltip-frame-parameters): Undo previous change.
17067 2009-11-12 Juri Linkov <juri@jurta.org>
17069 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
17071 (find-file-literally-at-point): Alias of `ffap-literally'.
17073 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
17075 * textmodes/ispell.el (ispell-skip-region-alist):
17076 * textmodes/css-mode.el (auto-mode-alist):
17077 * progmodes/compile.el (auto-mode-alist):
17078 * international/mule.el (ctext-non-standard-encodings-alist)
17079 (ctext-non-standard-encodings-regexp):
17080 * simple.el (shell-command-switch, text-read-only):
17081 * replace.el (occur-mode-map):
17082 * paths.el (rmail-file-name):
17083 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
17084 * find-file.el (ff-special-constructs):
17085 * files.el (file-name-handler-alist):
17086 * composite.el: Purecopy strings.
17088 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
17090 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
17092 * widget.el (define-widget): Purecopy the docstring.
17093 * international/mule-cmds.el (charset): Do not purecopy the
17094 docstring here, define-widget does it.
17096 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
17097 * textmodes/bibtex-style.el (auto-mode-alist):
17098 * progmodes/inf-lisp.el (inferior-lisp-prompt):
17099 * progmodes/compile.el (compile-command):
17100 * language/korea-util.el (default-korean-keyboard):
17101 * international/mule-conf.el (file-coding-system-alist):
17102 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
17103 * tooltip.el (tooltip-frame-parameters):
17104 * newcomment.el (comment-end, comment-padding):
17105 * dired.el (dired-trivial-filenames):
17106 * comint.el (comint-file-name-prefix): Purecopy initial values.
17108 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
17110 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
17111 (tramp-advice-minibuffer-electric-tilde): Unload advices via
17113 (tramp-advice-make-auto-save-file-name)
17114 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
17115 after removing the advice.
17117 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
17119 * progmodes/grep.el (grep-regexp-alist):
17120 * international/mule-cmds.el (iso-2022-control-alist):
17121 * emacs-lisp/timer.el (timer-duration-words):
17122 * subr.el (version-separator, version-regexp-alist):
17123 * minibuffer.el (completion-styles-alist):
17124 * faces.el (face-attribute-name-alist, list-faces-sample-text):
17125 Change defvars to defconsts.
17127 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
17128 * loadup.el ("international/mule-conf"): Load the byte compiled version.
17129 * international/mule-conf.el: Allow to be byte compiled.
17131 * international/mule.el (define-charset): Purecopy props.
17132 (load-with-code-conversion): Purecopy doc string and file name.
17133 (put-charset-property): Purecopy strings.
17134 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
17136 * international/mule-cmds.el (register-input-method): Purecopy arguments.
17137 (define-char-code-property): Correctly purecopy the table.
17139 * international/ccl.el (define-ccl-program): Purecopy the docstring.
17141 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
17143 * subr.el (add-hook): Purecopy strings.
17144 (eval-after-load): Purecopy load-history-regexp and the form.
17146 * custom.el (custom-declare-group): Purecopy load-file-name.
17148 * subr.el (menu-bar-separator): New defconst.
17149 * net/eudc.el (eudc-tools-menu):
17150 * international/mule-cmds.el (set-coding-system-map)
17151 (mule-menu-keymap):
17152 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17153 * vc-hooks.el (vc-menu-map):
17154 * replace.el (occur-mode-map):
17155 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
17156 (menu-bar-edit-menu, menu-bar-goto-menu)
17157 (menu-bar-custom-menu, menu-bar-showhide-menu)
17158 (menu-bar-options-menu, menu-bar-tools-menu)
17159 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
17160 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
17161 (menu-bar-help-menu):
17162 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
17163 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
17165 * term/x-win.el (x-gtk-stock-map):
17166 * progmodes/vera-mode.el (auto-mode-alist):
17167 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
17168 (inferior-lisp-program, inferior-lisp-load-command):
17169 * progmodes/hideshow.el (hs-special-modes-alist):
17170 * progmodes/gud.el (same-window-regexps):
17171 * progmodes/grep.el (grep-program, find-program, xargs-program):
17172 * net/telnet.el (same-window-regexps):
17173 * net/rlogin.el (same-window-regexps):
17174 * language/ethiopic.el (font-ccl-encoder-alist):
17175 * vc-sccs.el (vc-sccs-master-templates):
17176 * vc-rcs.el (vc-rcs-master-templates):
17177 * subr.el (cl-assertion-failed):
17178 * simple.el (next-error-overlay-arrow-position):
17179 * lpr.el (lpr-command):
17180 * locate.el (locate-ls-subdir-switches):
17181 * info.el (same-window-regexps, info)
17182 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
17183 * image-mode.el (image-mode, auto-mode-alist):
17184 * hippie-exp.el (hippie-expand-ignore-buffers):
17185 * format.el (format-alist):
17186 * find-dired.el (find-ls-subdir-switches, find-grep-options)
17188 * facemenu.el (facemenu-keybindings):
17189 * dired.el (dired-listing-switches, dired-chown-program):
17190 * diff.el (diff-switches, diff-command):
17191 * cus-edit.el (same-window-regexps):
17192 * bindings.el (mode-line-mule-info)
17193 (mode-line-buffer-identification): Purecopy strings.
17195 2009-11-11 Juri Linkov <juri@jurta.org>
17197 * simple.el (dired-get-filename) <declare-function>:
17198 Tell the byte-compiler about dired-get-filename.
17199 (shell-command): In Dired mode, get filename from the current line
17200 as the default value.
17202 2009-11-10 Glenn Morris <rgm@gnu.org>
17204 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
17205 * calendar/holidays.el, progmodes/cperl-mode.el:
17206 Update x-popup-menu declarations.
17208 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
17209 (list-load-path-shadows): Use dolist.
17210 (list-load-path-shadows): Use with-current-buffer.
17212 2009-11-10 Juri Linkov <juri@jurta.org>
17214 * minibuffer.el (read-file-name): Support a list of default values
17215 in `default-filename'. Use the first file name where only one
17216 element is required. Doc fix.
17218 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
17220 * net/dbus.el (dbus-unregister-object): Release service, if no
17221 other method is registered for it.
17223 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
17225 * bookmark.el (bookmark-completing-read): Sort bookmark names if
17226 bookmark-sort-flag is non-nil (Bug#4653).
17228 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
17230 * emulation/cua-base.el: Add CUA property to some CC mode commands
17233 2009-11-08 Kevin Ryde <user42@zip.com.au>
17235 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
17236 at end of sentence (Bug#4818).
17238 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
17240 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17241 Handle "see declaration of" MSFT statements (Bug#4100).
17243 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
17245 * net/tramp.el (tramp-advice-make-auto-save-file-name)
17246 (tramp-advice-file-expand-wildcards): Unload via
17247 `ad-remove-advice'.
17249 * net/trampver.el: Update release number.
17251 2009-11-08 Kevin Ryde <user42@zip.com.au>
17253 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
17256 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
17258 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
17259 in order to keep context in SELinux.
17261 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
17263 * dired-aux.el (dired-query): Place cursor in echo area and allow
17266 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
17267 menu item if not on a directory (Bug#4701).
17269 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
17271 Sync with Tramp 2.1.17.
17273 * net/tramp.el (tramp-handle-copy-directory): Don't use
17274 `file-remote-p' (due to compatibility).
17276 * net/tramp-compat.el (tramp-compat-copy-directory)
17277 (tramp-compat-delete-directory): New defuns.
17279 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17280 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17281 Use `tramp-compat-delete-directory'.
17283 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
17284 (tramp-smb-handle-delete-directory):
17285 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
17287 * net/trampver.el: Update release number.
17289 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
17291 * tar-mode.el (tar-copy): Call write-region on the right buffer
17294 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
17295 by hand, if necessary (Bug#4878).
17297 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
17299 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
17300 align size column (Bug#4839).
17302 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
17305 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
17307 * progmodes/ld-script.el (auto-mode-alist):
17308 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
17310 * cus-face.el (custom-declare-face): Purecopy face spec.
17312 2009-11-06 Kenichi Handa <handa@m17n.org>
17314 * international/uni-bidi.el: Re-generated.
17315 * international/uni-category.el: Re-generated.
17316 * international/uni-combining.el: Re-generated.
17317 * international/uni-mirrored.el: Re-generated.
17319 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
17321 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
17322 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
17323 (tex-start-options, slitex-run-command, latex-run-command)
17324 (tex-run-command, tex-directory):
17325 * textmodes/ispell.el (ispell-html-skip-alists)
17326 (ispell-tex-skip-alists, ispell-tex-skip-alists):
17327 * textmodes/fill.el (adaptive-fill-first-line-regexp):
17328 (adaptive-fill-regexp):
17329 * textmodes/dns-mode.el (auto-mode-alist):
17330 * progmodes/python.el (interpreter-mode-alist):
17331 * progmodes/etags.el (tags-compression-info-list):
17332 * progmodes/etags.el (tags-file-name):
17333 * net/browse-url.el (browse-url-galeon-program)
17334 (browse-url-firefox-program):
17335 * mail/sendmail.el (mail-signature-file)
17336 (mail-citation-prefix-regexp):
17337 * international/mule-conf.el (eight-bit):
17338 * international/latexenc.el (latex-inputenc-coding-alist):
17339 * international/fontset.el (x-pixel-size-width-font-regexp):
17340 * emacs-lisp/warnings.el (warning-type-format):
17341 * emacs-lisp/trace.el (trace-buffer):
17342 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
17343 (emacs-lisp-mode-map):
17344 * calendar/holidays.el (holiday-solar-holidays)
17345 (holiday-bahai-holidays, holiday-islamic-holidays)
17346 (holiday-christian-holidays, holiday-hebrew-holidays)
17347 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
17348 (hebrew-holidays-1, holiday-oriental-holidays)
17349 (holiday-general-holidays):
17350 * x-dnd.el (x-dnd-known-types):
17351 * tool-bar.el (tool-bar):
17352 * startup.el (site-run-file):
17353 * shell.el (shell-dumb-shell-regexp):
17354 * rfn-eshadow.el (file-name-shadow-tty-properties)
17355 (file-name-shadow-properties):
17356 * paths.el (remote-shell-program, news-directory):
17357 * mouse.el ([C-down-mouse-3]):
17358 * menu-bar.el (menu-bar-tools-menu):
17359 * jka-cmpr-hook.el (jka-compr-load-suffixes)
17360 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
17361 (jka-compr-compression-info-list):
17362 * isearch.el (search-whitespace-regexp):
17363 * image-file.el (image-file-name-extensions):
17364 * find-dired.el (find-ls-option):
17365 * files.el (directory-listing-before-filename-regexp)
17366 (directory-free-space-args, insert-directory-program)
17367 (list-directory-brief-switches, magic-fallback-mode-alist)
17368 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
17369 (automount-dir-prefix):
17370 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
17371 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
17372 (face-font-registry-alternatives, face-font-registry-alternatives)
17373 (face-font-family-alternatives):
17374 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
17375 (facemenu-foreground-menu, facemenu-face-menu):
17376 * epa-hook.el (epa-file-name-regexp):
17377 * dnd.el (dnd-protocol-alist):
17378 * textmodes/rst.el (auto-mode-alist):
17379 * button.el (default-button): Purecopy strings.
17381 2009-11-06 Glenn Morris <rgm@gnu.org>
17383 * Makefile.in (ELCFILES): Update.
17385 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
17387 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
17388 * emacs-lisp/levents.el: Move to obsolete/levents.el.
17390 * nxml/xsd-regexp.el (xsdre-gen-categories):
17391 * nxml/xmltok.el (xmltok-parse-entity):
17392 * nxml/rng-parse.el (rng-parse-validate-file):
17393 * nxml/rng-maint.el (rng-format-manual)
17394 (rng-manual-output-force-new-line):
17395 * nxml/rng-loc.el (rng-save-schema-location-1):
17396 * nxml/rng-cmpct.el (rng-c-parse-file):
17397 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
17398 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
17400 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
17402 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
17403 Remove extra save-excursions and make-variable-buffer-local's.
17404 Suggested by Stefan Monnier.
17406 (verilog-getopt-file, verilog-module-inside-filename-p)
17407 (verilog-set-define): Merge GNU 1.35 and repair changes from
17408 switching to using with-current-buffer.
17410 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
17411 being treated as a number and confusing AUTORESET.
17412 Reported by Dan Dever.
17414 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
17415 Add verilog-auto-ignore-concat to fix backward compatibility with
17416 older verilog-modes. Reported by Dan Katz.
17418 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
17419 containing closing anchors "...$".
17421 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
17422 Reported by Wade Smith.
17424 (verilog-batch-execute-func): Comment on function usage.
17426 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
17428 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
17431 (verilog-label-re, verilog-calc-1): Support proper indent of named
17434 (verilog-backward-token, verilog-basic-complete-re)
17435 (verilog-beg-of-statement, verilog-indent-re): Support proper
17436 indent of the assert statement at the beginning of a block of text.
17438 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
17439 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
17442 2009-11-05 Glenn Morris <rgm@gnu.org>
17444 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
17445 Emacs 19. (Bug#1531)
17446 (byte-compile-fix-header): Update for the above change.
17447 Drop test for epoch::version.
17449 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
17450 * cus-dep.el (custom-make-dependencies):
17451 * finder.el (finder-compile-keywords):
17452 Use autoload-rubric's feature argument.
17454 * calendar/diary-lib.el (top-level): Make load behave more like require.
17456 * vc-git.el (vc-git-stash-map): Move definition before use.
17458 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
17460 * custom.el (custom-declare-group): Purecopy standard-value.
17461 (custom-declare-group): Purecopy custom-prefix.
17463 * international/mule.el (load-with-code-conversion):
17464 Call do-after-load-evaluation unconditionally.
17466 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
17468 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
17470 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
17472 2009-11-04 Glenn Morris <rgm@gnu.org>
17474 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
17475 (byte-compile-compatibility): Remove option.
17476 (byte-compile-close-variables, byte-compile-fix-header)
17477 (byte-compile-insert-header, byte-compile-output-docform)
17478 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
17479 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
17480 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
17481 (byte-compile-insert, byte-compile-defun):
17482 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
17483 (byte-defop-compiler19): Remove.
17484 Without byte-compile-compatibility, the 'emacs19-opcode property is not
17485 used by anything. Replace all calls with byte-defop-compiler.
17487 2009-11-04 Juri Linkov <juri@jurta.org>
17489 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
17490 (menu-bar-options-menu): Don't quote the `prop' arg of
17491 `menu-bar-make-mm-toggle'.
17493 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
17495 * calendar/calendar.el (cal-loaddefs):
17496 * calendar/diary-lib.el (diary-loaddefs):
17497 * calendar/holidays.el (hol-loaddefs):
17498 * eshell/esh-module.el (esh-groups): Load rather than require.
17500 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17502 * calendar/todo-mode.el (todo-add-category): Don't hardcode
17504 (todo-top-priorities): Only display-buffer when called interactively.
17505 (todo-item-start): Don't save excursion point.
17506 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
17507 (todo-insert-item-here, todo-file-item, todo-remove-item):
17508 Adjust uses of todo-item-start and todo-item-end.
17510 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
17511 (autoload-rubric): Don't use any more.
17513 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
17514 and only put a prop if it is non-nil.
17516 2009-11-03 Juri Linkov <juri@jurta.org>
17518 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
17519 (menu-bar-options-menu): Fix list quoting (Bug#4429).
17521 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
17522 and "Menu" to make top-level menu item visually one unit (like
17523 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
17524 multi-word menu items). Fix :help string for quit-window.
17526 2009-11-03 Glenn Morris <rgm@gnu.org>
17528 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
17529 (byte-compile-file-form-define-abbrev-table)
17530 (byte-compile-file-form-custom-declare-variable)
17531 (byte-compile-variable-ref, byte-compile-defvar):
17532 Whether or not a warning is enabled should only affect whether we issue
17533 the warning, not whether or not we collect the relevant data.
17534 Eg warnings can be turned on and off throughout the course of a file.
17536 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
17537 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
17539 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17541 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
17542 * play/mpuz.el (mpuz-create-buffer):
17543 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
17544 (lm-print-y,s,noise, lm-print-w0, lm-init):
17545 * play/gomoku.el (gomoku-prompt-for-move):
17546 * play/fortune.el (fortune-in-buffer):
17547 * play/dissociate.el (dissociated-press):
17548 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
17549 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
17550 * mail/supercite.el (sc-eref-show):
17551 * mail/smtpmail.el (smtpmail-send-it):
17552 * mail/rmailsum.el (rmail-summary-next-labeled-message)
17553 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
17554 (rmail-summary-undelete-many, rmail-summary-rmail-update)
17555 (rmail-summary-goto-msg, rmail-summary-expunge)
17556 (rmail-summary-get-new-mail, rmail-summary-search-backward)
17557 (rmail-summary-add-label, rmail-summary-output-menu)
17558 (rmail-summary-output-body):
17559 * mail/rfc822.el (rfc822-addresses):
17560 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
17561 * mail/mailpost.el (post-mail-send-it):
17562 * mail/hashcash.el (hashcash-generate-payment):
17563 * mail/feedmail.el (feedmail-run-the-queue)
17564 (feedmail-queue-send-edit-prompt-help-first)
17565 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
17566 (feedmail-deduce-address-list):
17567 * eshell/esh-ext.el (eshell-remote-command):
17568 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
17569 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
17570 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
17571 (viper-save-string-in-file, viper-valid-marker):
17572 * emulation/viper-keym.el (viper-toggle-key):
17573 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
17574 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
17575 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
17576 * emulation/viper-cmd.el (viper-exec-form-in-vi)
17577 (viper-exec-form-in-emacs, viper-brac-function):
17578 * emulation/viper.el (viper-delocalize-var):
17579 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
17580 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
17581 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
17582 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
17583 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
17584 * emulation/edt.el (edt-electric-helpify):
17585 * emulation/cua-rect.el (cua--rectangle-aux-replace):
17586 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
17587 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
17588 (cua-indent-to-global-mark-column):
17589 * calendar/diary-lib.el (calendar-mark-1):
17590 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
17591 Use with-current-buffer.
17592 * emulation/viper.el (viper-delocalize-var): Use dolist.
17594 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
17596 * comint.el (comint-replace-by-expanded-history-before-point):
17597 Replace !! with the previous input string literally (Bug#1795).
17599 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
17601 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
17602 to be made up of whitespace.
17604 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
17606 * minibuffer.el (read-file-name): Don't use file dialogs for
17607 remote directories (Bug#99).
17609 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
17611 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
17613 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
17615 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
17616 instead of deleting the window or frame.
17618 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17620 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
17621 Support face colors.
17623 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
17624 New function. Support face colors (Bug#1168).
17625 (tex-common-initialization): Use it.
17627 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
17628 mode allows it (Bug#1168).
17630 2009-10-31 Juri Linkov <juri@jurta.org>
17632 * facemenu.el (list-colors-display): Don't mark buffer as
17633 modified (Bug#3948).
17635 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17637 * international/mule-diag.el (list-character-sets-1):
17638 Minor message fix (Bug#3526).
17640 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
17641 Fix face property (Bug#4834).
17642 (etags-list-tags, etags-tags-apropos-additional)
17643 (etags-tags-apropos, tags-select-tags-table): Add follow-link
17646 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
17649 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
17651 * textmodes/two-column.el (2C-split):
17652 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
17653 * textmodes/tex-mode.el (tex-set-buffer-directory):
17654 * textmodes/spell.el (spell-region, spell-string):
17655 * textmodes/reftex.el (reftex-erase-buffer):
17656 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
17657 * textmodes/reftex-toc.el (reftex-toc-promote-action):
17658 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
17659 (reftex-select-item):
17660 * textmodes/reftex-ref.el (reftex-label-info-update)
17661 (reftex-offer-label-menu):
17662 * textmodes/reftex-index.el (reftex-index-change-entry)
17663 (reftex-index-phrases-info):
17664 * textmodes/reftex-global.el (reftex-create-tags-file)
17665 (reftex-save-all-document-buffers, reftex-ensure-write-access):
17666 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
17667 (reftex-view-crossref-from-bibtex):
17668 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
17669 (reftex-extract-bib-entries-from-thebibliography)
17670 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
17671 * textmodes/refbib.el (r2b-capitalize-title):
17672 (r2b-convert-buffer, r2b-help):
17673 * textmodes/page-ext.el (pages-directory)
17674 (pages-directory-goto-with-mouse):
17675 * textmodes/bibtex.el (bibtex-validate-globally):
17676 * textmodes/bib-mode.el (bib-capitalize-title):
17677 * textmodes/artist.el (artist-clear-buffer, artist-system):
17678 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
17679 (local-set-scheme-interaction-buffer, xscheme-process-filter)
17680 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
17681 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
17682 (xscheme-send-control-g-interrupt, xscheme-start-process)
17683 (xscheme-process-sentinel, xscheme-cd):
17684 * progmodes/verilog-mode.el (verilog-read-always-signals)
17685 (verilog-set-define, verilog-getopt-file)
17686 (verilog-module-inside-filename-p):
17687 * progmodes/sh-script.el:
17688 * progmodes/python.el (python-pdbtrack-get-source-buffer)
17689 (python-pdbtrack-grub-for-buffer, python-execute-file):
17690 * progmodes/octave-inf.el (inferior-octave):
17691 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
17692 (idlwave-shell-compile-helper-routines, idlwave-set-local)
17693 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
17694 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
17695 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
17696 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
17697 (idlwave-shell-filter, idlwave-shell-examine-highlight)
17698 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
17699 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
17700 (idlwave-shell-examine-display, idlwave-shell-run-region)
17701 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
17702 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
17703 * progmodes/idlw-help.el (idlwave-help-get-special-help)
17704 (idlwave-help-get-help-buffer):
17705 * progmodes/gud.el (gud-basic-call, gud-find-class)
17706 (gud-tooltip-activate-mouse-motions-if-enabled):
17707 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
17708 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
17709 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
17710 (ebrowse-tags-next-file):
17711 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
17712 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
17713 (ebnf-eps-finish-and-write):
17714 * progmodes/cpp.el (cpp-edit-save):
17715 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
17716 * progmodes/cc-defs.el (c-emacs-features):
17717 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
17718 (antlr-directory-dependencies):
17719 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
17720 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
17721 (ada-find-any-references, ada-make-filename-from-adaname)
17722 (ada-make-body-gnatstub):
17723 * obsolete/rnews.el (news-list-news-groups):
17724 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
17725 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
17726 * net/rcirc.el (rcirc-debug):
17727 * net/newst-treeview.el (newsticker--treeview-list-add-item)
17728 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
17729 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
17730 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
17731 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
17732 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
17733 (newsticker--treeview-list-clear-highlight)
17734 (newsticker--treeview-list-update-highlight)
17735 (newsticker--treeview-list-highlight-start)
17736 (newsticker--treeview-tree-update-highlight)
17737 (newsticker--treeview-get-selected-item)
17738 (newsticker-treeview-mark-list-items-old)
17739 (newsticker--treeview-set-current-node):
17740 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
17741 * net/newst-backend.el (newsticker--get-news-by-funcall)
17742 (newsticker--get-news-by-wget, newsticker--image-get)
17743 (newsticker--image-sentinel):
17744 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
17745 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
17746 (eudc-ph-close-session):
17747 * net/eudc.el (eudc-save-options):
17748 * language/thai-word.el (thai-update-word-table):
17749 * language/japan-util.el (japanese-string-conversion):
17750 * international/titdic-cnv.el (tsang-quick-converter)
17751 (ziranma-converter, ctlau-converter):
17752 * international/mule-cmds.el (describe-language-environment):
17753 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
17754 (skkdic-convert-postfix, skkdic-convert-prefix):
17755 (skkdic-convert-okuri-nasi, skkdic-convert):
17756 * emacs-lisp/re-builder.el (reb-update-overlays):
17757 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
17758 * emacs-lisp/gulp.el (gulp-send-requests):
17759 * emacs-lisp/find-gc.el (trace-call-tree):
17760 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
17761 (eieio-describe-generic):
17762 * emacs-lisp/eieio-base.el (eieio-persistent-read):
17763 * emacs-lisp/edebug.el (edebug-outside-excursion):
17764 * emacs-lisp/debug.el (debugger-make-xrefs):
17765 * emacs-lisp/cust-print.el (custom-prin1-to-string):
17766 * emacs-lisp/chart.el (chart-new-buffer):
17767 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
17768 Use with-current-buffer.
17769 * textmodes/artist.el (artist-system): Don't call
17770 copy-sequence on a fresh string.
17771 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
17773 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
17775 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
17776 is no item to edit. (Bug#4820)
17777 (todo-top-priorities): Restore point and restore narrowing in Todo
17780 2009-10-31 Glenn Morris <rgm@gnu.org>
17782 * net/ange-ftp.el (top-level): Don't require dired when compiling.
17783 (comint-last-output-start, comint-last-input-start)
17784 (comint-last-input-end): Don't defvar when compiling.
17785 (ange-ftp-process-file): Use bound-and-true-p.
17787 * pcmpl-rpm.el (top-level): Move provide statement to end.
17788 (pcmpl-rpm): Remove unused custom group.
17790 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17792 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17794 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17795 (byte-compile-warnings): Add `constants' as an option.
17796 (byte-compile-callargs-warn, byte-compile-arglist-warn)
17797 (display-call-tree): Update for byte-compile-fdefinition possibly
17798 returning `(macro lambda ...)'. (Bug#4778)
17799 (byte-compile-variable-ref, byte-compile-setq-default):
17800 Respect `constants' member of byte-compile-warnings.
17802 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17804 * vc-bzr.el (vc-bzr-revision-keywords): New var.
17805 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17808 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
17810 * textmodes/ispell.el (ispell-skip-region-alist):
17811 * international/mule-conf.el (eight-bit):
17812 * international/fontset.el (font-encoding-alist):
17813 * startup.el (pure-space-overflow-message):
17814 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17815 * paths.el (gnus-nntp-service, rmail-spool-directory)
17816 (term-file-prefix):
17817 * files.el (save-some-buffers-action-alist):
17818 * cmuscheme.el (same-window-buffer-names):
17819 * ielm.el (same-window-buffer-names):
17820 * shell.el (same-window-buffer-names):
17821 * mail/sendmail.el (same-window-buffer-names):
17822 * progmodes/inf-lisp.el (same-window-buffer-names):
17823 * bindings.el (mode-line-client)
17824 (mode-line-column-line-number-mode-map):
17825 * language/tibetan.el (tibetan-precomposition-rule-regexp)
17826 (tibetan-precomposed-regexp): Purecopy string arguments.
17828 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17830 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17831 (calcDigit-nondigit):
17832 * calc/calc-yank.el (calc-copy-to-buffer):
17833 * calc/calc-units.el (calc-invalidate-units-table):
17834 * calc/calc-trail.el (calc-trail-yank):
17835 * calc/calc-store.el (calc-insert-variables):
17836 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17837 * calc/calc-prog.el (calc-read-parse-table):
17838 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17839 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17840 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17841 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17842 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17843 (calc-graph-name, calc-graph-find-command, calc-graph-view)
17844 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17845 * calc/calc-ext.el (calc-realign):
17846 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17847 (calc-embedded-finish-edit, calc-embedded-make-info)
17848 (calc-embedded-finish-command, calc-embedded-stack-change):
17849 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17851 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17852 shell-dynamic-complete-filename in preference to
17853 comint-dynamic-complete-filename.
17855 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17856 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17857 Don't consider whether the display supports colors.
17858 (bookmark-import-new-list): Use dolist.
17859 (bookmark-bmenu-mode-map): Move initialization into declaration.
17860 (bookmark-bmenu-list): Use dolist, simplify.
17861 (bookmark-show-all-annotations): Use save-selected-window and dolist.
17862 (menu-bar-final-items): Use push.
17864 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
17866 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17867 it works on remote files.
17868 (vc-hg-diff): Don't pass any `--cwd' argument.
17870 2009-10-27 Kevin Ryde <user42@zip.com.au>
17872 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17873 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17874 (Further to Bug#3921).
17876 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
17878 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17879 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17880 calling `tramp-imap-put-file'. Add file size to the call.
17881 (tramp-imap-get-file-entries): Compute also user name, file size,
17883 (tramp-imap-handle-insert-directory): Insert uid and gid.
17884 (tramp-imap-handle-file-attributes): Transform uid and gid
17885 according to `id-format'.
17886 (tramp-imap-put-file): New optional parameter SIZE. Encode file
17887 size in header X-Size.
17889 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
17891 * simple.el (transpose-subr): Give clearer error when the mark
17892 is not set. (Bug#4807)
17894 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
17896 * net/tramp.el (tramp-perl-file-truename): New defconst.
17897 Perl code contributed by yary <not.com@gmail.com> (tiny change).
17898 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17899 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17900 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17902 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17903 Ignore `dired-call-process'.
17904 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17906 2009-10-26 Julian Scheid <julians37@gmail.com>
17908 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17909 (tramp-get-remote-readlink): New defun.
17910 (tramp-handle-file-truename): Use it.
17911 (tramp-handle-file-exists-p): Check file-attributes cache, assume
17912 file exists if cache value present.
17913 (tramp-check-cached-permissions): New defun.
17914 (tramp-handle-file-readable-p): Use it.
17915 (tramp-handle-file-writable-p): Likewise.
17916 (tramp-handle-file-executable-p): Likewise.
17917 (tramp-handle-file-name-all-completions): Try using Perl to get
17918 partial completions. When perl not available, combine `cd' and
17919 `ls' into single remote operation and use shell expansion to get
17920 partial remote directory contents. Set `file-exists-p' cache for
17921 directory and any files returned by ls. Change cache handling to
17922 support partial directory contents. Use error message emitted by
17923 remote `cd' or Perl code for local tramp-error.
17924 (tramp-do-copy-or-rename-file-directly): Avoid separate
17925 tramp-send-command-and-check call.
17926 (tramp-handle-process-file): Merge three remote ops into one.
17927 Do not flush all caches when `process-file-side-effects' is set.
17928 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17929 file-attributes shows uid/gid to be set already.
17931 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
17933 * textmodes/tex-mode.el (tex-dvi-view-command)
17934 (tex-show-queue-command, tex-open-quote):
17935 * progmodes/ruby-mode.el (auto-mode-alist)
17936 (interpreter-mode-alist): Purecopy strings.
17938 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17940 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17941 string for the hook, keymap and abbrev table.
17943 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17945 * x-dnd.el (x-dnd-xdnd-to-action):
17946 * startup.el (fancy-startup-text, fancy-about-text): Change to
17947 defconst from defvar.
17949 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17951 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17952 Purecopy initialization strings.
17954 * mail/sendmail.el (mail-header-separator)
17955 (mail-personal-alias-file):
17956 * mail/rmail.el (rmail-default-dont-reply-to-names)
17957 (rmail-ignored-headers, rmail-retry-ignored-headers)
17958 (rmail-highlighted-headers, rmail-secondary-file-directory)
17959 (rmail-secondary-file-regexp):
17960 * files.el (null-device, file-name-invalid-regexp)
17961 (locate-dominating-stop-dir-regexp)
17962 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17963 (interpreter-mode-alist): Use mapcar instead of mapc.
17965 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17967 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17968 (completion-ignored-extensions):
17969 (debug-ignored-errors): Purecopy strings.
17971 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17973 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17974 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17975 (pcomplete--here): Use push.
17977 * subr.el (all-completions): Declare the 4th arg obsolete.
17979 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17981 * pcomplete.el (pcomplete-unquote-argument-function): New var.
17982 (pcomplete-unquote-argument): New function.
17983 (pcomplete--common-suffix): Always pay attention to case.
17984 (pcomplete--table-subvert): Quote and unquote the text.
17985 (pcomplete--common-quoted-suffix): New function.
17986 (pcomplete-std-complete): Use it and pcomplete-begin.
17988 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17989 we're inside a dedicated or minibuffer window.
17991 2009-10-24 Karl Fogel <kfogel@red-bean.com>
17993 * bookmark.el: Update documentation, especially documentation
17994 of `bookmark-alist' and of the bookmark file format.
17995 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
17997 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
17999 * mail/emacsbug.el (report-emacs-bug): Clarify that the
18000 keybindings apply to the mail buffer (Bug#4003). Shrink help
18003 * whitespace.el (whitespace-mode, whitespace-newline-mode)
18004 (global-whitespace-mode, global-whitespace-newline-mode)
18005 (whitespace-toggle-options, global-whitespace-toggle-options):
18006 Doc fix (Bug#3660).
18008 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
18009 of xmltok-start before the end tag was inserted (Bug#2840).
18011 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
18012 patterns that are preceded by an open-paren (Bug#1320).
18014 2009-10-24 Sven Joachim <svenjoac@gmx.de>
18016 * files.el (delete-directory): Delete symlinks to directories with
18017 delete-file (Bug#4739).
18019 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
18021 * vc.el (vc-backend-for-registration): Rename from
18022 vc-get-backend-for-registration. Update callers.
18024 * international/mule-cmds.el (set-language-info-alist):
18026 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
18027 (charset): Purecopy the name.
18028 (define-char-code-property): Purecopy string arguments.
18030 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18031 Purecopy string arguments.
18033 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
18034 * ediff-hook.el (menu-bar-ediff-menu):
18035 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
18036 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
18038 2009-10-24 Glenn Morris <rgm@gnu.org>
18040 * comint.el (comint-dynamic-list-completions):
18041 * term.el (term-dynamic-list-completions): Use choose-completion rather
18042 than obsolete alias mouse-choose-completion.
18044 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
18045 file-cache-choose-completion.
18046 (file-cache-choose-completion): Handle an optional event argument.
18047 (file-cache-mouse-choose-completion): Make it an obsolete alias.
18049 * progmodes/octave-mod.el (octave-complete-symbol):
18050 Use choose-completion if mouse-choose-completion is ever removed.
18052 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
18055 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
18058 * vc-hooks.el (vc-responsible-backend): Fix declaration.
18060 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
18062 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
18063 Ignore `pred' now that we receive one.
18064 Handle test-completion specially.
18066 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
18068 * vc.el (vc-responsible-backend): Throw an error if not backend is
18069 found. Remove the REGISTER argument. Move the code dealing with
18071 (vc-get-backend-for-registration): ... here. New function.
18072 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
18073 of vc-responsible-backend, pass the file name instead of the
18076 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
18078 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
18080 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
18081 (pcomplete-comint-setup): Don't modify a global var via
18082 accidental side-effects.
18083 (pcomplete-shell-setup): Adjust call accordingly.
18084 (pcomplete-parse-comint-arguments): Use push.
18086 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
18088 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
18089 Allow uncapitalized info node names (Bug#3921).
18091 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
18092 to the DEBUG file (Bug#3781).
18094 2009-10-23 Jari Aalto <jari.aalto@cante.net>
18096 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
18097 dictionary entry (Bug#4579).
18099 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
18101 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
18102 from `rfn-eshadow-update-overlay-hook' when unloading.
18103 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
18104 "rsyncc". Adjust doc string.
18105 (tramp-temp-buffer-file-name): New buffer-local defvar.
18106 (tramp-handle-insert-file-contents, tramp-handle-write-region):
18107 Keep temporary file when indicated by method ("rsync" and
18109 (tramp-handle-write-region): Handle APPEND.
18110 (tramp-delete-temp-file-function): New defun. Added to
18111 `kill-buffer-hook'.
18113 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
18115 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
18117 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
18119 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
18120 (color-name-rgb-alist, tty-standard-colors)
18121 (tty-color-mode-alist): Change to defconst.
18123 * simple.el (mark-inactive): Purecopy message.
18125 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
18126 (global-map, yank-menu):
18127 * textmodes/ispell.el (ispell-menu-map):
18128 * net/eudc.el (eudc-tools-menu):
18129 * international/mule-cmds.el (describe-language-environment-map)
18130 (setup-language-environment-map, set-coding-system-map)
18131 (mule-menu-keymap):
18132 * vc-hooks.el (vc-menu-entry, vc-menu-map):
18133 * replace.el (occur-mode-map):
18134 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
18136 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
18138 * calc/calc.el (math-read-number, math-read-number-simple):
18139 Use `save-match-data'.
18141 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
18143 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
18144 rather than fiddling with global-map bindings, since it should only
18145 affect per-terminal settings.
18146 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
18148 * minibuffer.el (completion-table-with-terminator): Allow to specify
18149 the terminator-regexp.
18151 * simple.el (switch-to-completions): Look for *Completions* in other
18154 * pcomplete.el: Allow the use of completion-tables.
18155 (pcomplete-std-complete): New command.
18156 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
18157 (pcomplete--here): Use a function for `form' rather than an expression,
18158 so it can be byte-compiled.
18159 (pcomplete-here, pcomplete-here*): Adjust accordingly.
18160 Add edebug declaration.
18161 (pcomplete-show-completions): Remove unused var `curbuf'.
18162 (pcomplete-do-complete, pcomplete-stub):
18163 Don't assume `completions' is a list of strings any more.
18165 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
18167 * find-dired.el (find-name-arg): Fix typo in docstring.
18169 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
18171 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
18172 (pcmpl-linux-fs-types): Same, and update to new modules layout.
18174 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
18177 * comint.el (comint-read-input-ring, comint-write-input-ring)
18178 (comint-substitute-in-file-name)
18179 (comint-dynamic-complete-as-filename)
18180 (comint-dynamic-simple-complete)
18181 (comint-dynamic-list-filename-completions)
18182 (comint-dynamic-list-completions)
18183 (comint-redirect-results-list-from-process): Minor simplifications.
18185 2009-10-21 Kevin Ryde <user42@zip.com.au>
18187 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
18188 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
18189 the first form. And insert a blank line after ";;; Code" since
18190 that's usual style. (Bug#4612)
18192 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
18194 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
18196 * minibuffer.el (completion-table-with-terminator): Properly implement
18197 boundaries, in case `terminator' appears in the suffix.
18198 (completion--embedded-envvar-table): Don't return boundaries if
18199 there's no valid completion. Simplify.
18200 (completion-file-name-table): New completion table extracted from
18201 completion--file-name-table.
18202 (completion--file-name-table): Use it.
18203 (read-file-name-predicate): Declare obsolete.
18204 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
18205 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
18206 completion-file-name-table, and use the `pred' argument.
18207 * files.el (locate-file-completion-table): Use the `pred' arg rather
18208 than read-file-name-predicate.
18209 (abbreviate-file-name): Use \` rather than ^ for BOS.
18211 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
18213 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
18214 vc-responsible-backend to register, it causes problems.
18216 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
18218 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
18220 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
18222 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
18223 (tramp-smb-handle-file-attributes): Use it.
18224 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
18225 (tramp-smb-handle-insert-directory): Use `mapc' rather than
18226 `mapcar'. Use `tramp-smb-get-stat-capability'.
18227 Add `dired-filename' text properties.
18228 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
18229 (tramp-smb-maybe-open-connection): Simplify check for smbclient
18232 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
18234 * subr.el (read-key-delay): Reduce to 0.01.
18235 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
18238 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
18240 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
18242 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
18243 (Info-menu): Remove unused vars `last' and `completions'.
18244 (Info-index-nodes): Remove unused var `node'.
18246 * info.el (Info-complete-menu-item): Use complete-with-action.
18248 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
18250 Make vc-annotate work through copies and renames.
18251 * vc-annotate.el (vc-annotate-extract-revision-at-line):
18252 Return the file name too.
18253 (vc-annotate-revision-at-line)
18254 (vc-annotate-find-revision-at-line)
18255 (vc-annotate-revision-previous-to-line)
18256 (vc-annotate-show-log-revision-at-line): Update to get the file
18257 name from vc-annotate-extract-revision-at-line.
18258 (vc-annotate-show-diff-revision-at-line-internal): Change the
18259 argument to mean whether to show a file diff or not. Get the file
18260 name from vc-annotate-extract-revision-at-line.
18261 (vc-annotate-show-diff-revision-at-line):
18262 Update vc-annotate-show-diff-revision-at-line call.
18263 (vc-annotate-warp-revision): Add an optional file argument.
18265 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
18266 (vc-git-annotate-extract-revision-at-line): Also return the file
18269 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
18270 command. Remove unused code.
18271 (vc-hg-annotate-re): Update to match --follow output.
18272 (vc-hg-annotate-extract-revision-at-line): Also return the file
18275 * vc.el: Update annotate-extract-revision-at-line documentation.
18277 2009-10-18 Kevin Ryde <user42@zip.com.au>
18279 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
18280 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
18282 * net/browse-url.el (browse-url): Identify alist with "consp and
18283 not functionp" and let all other things go down the `apply' leg,
18284 as suggested by Stefan. (Further to bug#4531.)
18286 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
18288 * minibuffer.el (read-file-name): Check for repeat before putting
18289 a default argument in file-name-history (Bug#4657).
18291 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
18292 read syntax (Bug#4737).
18294 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
18296 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18298 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
18299 (html-tag-alist, html-tag-help): Add descriptions for undocumented
18300 entries and make note of obsolete tags.
18302 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
18304 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
18306 2009-10-18 Glenn Morris <rgm@gnu.org>
18308 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
18309 grep, so that binary files (eg international/uni-bidi.el) can match.
18310 Remove test for "UnicodeData" files, since it is hopefully unnecessary
18311 now, and in any case the file header format has changed.
18313 2009-10-17 Glenn Morris <rgm@gnu.org>
18315 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
18316 (flyspell-get-word, flyspell-large-region)
18317 (flyspell-auto-correct-previous-word): Doc/error message fixes.
18319 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
18321 * Makefile.in (ELCFILES): Add ede/shell.
18323 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
18325 * term/common-win.el (x-colors): Purecopy it.
18327 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18329 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
18330 permissive for when the buffer is empty.
18331 (tar-header-block-tokenize): Decode the username and groupname.
18332 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
18334 2009-10-17 Eric Ludlam <zappo@gnu.org>
18336 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
18337 contains multibyte characters, choose first applicable coding
18338 system automatically.
18340 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18342 * international/mule-cmds.el (select-safe-coding-system): If the file
18343 has a coding cookie, use it regardless of any other setting (bug#4712).
18345 2009-10-17 Glenn Morris <rgm@gnu.org>
18347 * foldout.el (foldout-mouse-swallow-events):
18348 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
18350 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
18351 (dired-keep-marker-copy, dired-keep-marker-hardlink)
18352 (dired-keep-marker-symlink, dired-dwim-target)
18353 (dired-copy-preserve-time): Do not autoload these defcustoms.
18355 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
18356 messages from messing up the file coding. (Bug#4623)
18358 2009-10-17 Jari Aalto <jari.aalto@cante.net>
18360 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
18361 if no match is found for the current dictionary. (Bug#4578)
18363 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
18364 optional, since that is how it is documented, and this is often called
18365 with a nil argument. (Bug#4577)
18366 (flyspell-external-point-words, flyspell-auto-correct-word)
18367 (flyspell-correct-word-before-point, flyspell-word-search-forward)
18368 (flyspell-word-search-backward): Remove nil argument in calls to
18369 flyspell-get-word, since it is not needed now.
18371 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
18373 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
18375 2009-10-16 Glenn Morris <rgm@gnu.org>
18377 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
18379 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
18381 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
18382 (ange-ftp-file-size): New function.
18383 (ange-ftp-file-attributes): Use it.
18385 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
18387 * net/tramp-smb.el (tramp-smb-version): New defvar.
18388 (tramp-smb-maybe-open-connection): Use it, in order to avoid
18391 2009-10-16 Glenn Morris <rgm@gnu.org>
18393 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
18394 Maybe copy some custom properties from old to new name. (Bug#4706)
18396 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
18398 * subr.el (error, sit-for, start-process-shell-command)
18399 (start-file-process-shell-command): Set the calling convention
18400 after the function definition.
18402 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
18404 * subr.el (error, sit-for, start-process-shell-command)
18405 (start-file-process-shell-command): Use the new
18406 set-advertised-calling-convention feature.
18408 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
18410 * international/ucs-normalize.el (ucs-normalize-version):
18412 (check-range): Adjust for Unicode 5.2.
18414 2009-10-15 Juri Linkov <juri@jurta.org>
18416 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
18417 to the `menu-item' format.
18419 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
18421 * net/tramp.el (tramp-replace-environment-variables): Do not fail
18422 if the environment variable does not exist.
18424 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18425 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
18427 (tramp-smb-handle-add-name-to-file)
18428 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18429 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18430 (tramp-smb-handle-file-attributes)
18431 (tramp-smb-do-file-attributes-with-stat)
18432 (tramp-smb-handle-file-local-copy)
18433 (tramp-smb-handle-insert-directory)
18434 (tramp-smb-handle-make-directory)
18435 (tramp-smb-handle-make-directory-internal)
18436 (tramp-smb-handle-make-symbolic-link)
18437 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
18438 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
18439 (tramp-smb-maybe-open-connection): Apply the changed parameters.
18440 (tramp-smb-read-file-entry): Read Disk names in compressed format.
18441 Handle long file names.
18442 (tramp-smb-get-cifs-capabilities): Check, whether the connection
18443 process is running.
18444 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
18445 Read share names with "-g" option.
18447 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
18449 * net/rcirc.el (rcirc-view-log-file): New command.
18450 (rcirc-track-minor-mode-map): Remove C-c ` binding.
18451 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
18454 2009-10-15 Glenn Morris <rgm@gnu.org>
18456 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
18457 from the second command-line argument.
18458 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
18459 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
18460 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
18461 w32-batch-update-autoloads.
18462 * emacs-lisp/autoload.el (autoload-make-program): New variable.
18463 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
18465 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
18466 the headers cannot be located. Simplify, subtracting superflous
18469 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
18471 Replace completion-base-size by completion-base-position to fix bugs
18472 such as (bug#4699).
18473 * simple.el (completion-base-position): New var.
18474 (completion-base-size): Mark as obsolete.
18475 (choose-completion): Make it work for mouse events as well.
18476 Pass the new base-position to choose-completion-string.
18477 (choose-completion-guess-base-position): New function, extracted from
18478 choose-completion-delete-max-match.
18479 (choose-completion-delete-max-match): Use it. Make obsolete.
18480 (choose-completion-string): Use the new base-position info.
18481 (completion-root-regexp): Delete.
18482 (completion-setup-function): Preserve completion-base-position.
18483 Eliminate obsolete base-size manipulation.
18484 * minibuffer.el (display-completion-list): Don't mess with base-size.
18485 (minibuffer-completion-help): Set completion-base-position instead.
18486 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
18488 * textmodes/bibtex.el (bibtex-complete):
18489 * emacs-lisp/crm.el (crm--choose-completion-string):
18490 Adjust to new calling convention.
18491 * complete.el (partial-completion-mode): Use minibufferp to avoid
18492 bumping into incompatible change to choose-completion-string-functions.
18493 * ido.el (ido-choose-completion-string): Make its calling convention
18495 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
18496 base-size manipulation.
18497 (comint-dynamic-list-input-ring): Use dotimes and push.
18498 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
18499 fundamental-mode. Use `or'.
18501 2009-10-14 Juri Linkov <juri@jurta.org>
18503 * misearch.el (multi-isearch-next-buffer-from-list)
18504 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
18506 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18508 * Makefile.in (compile-onefile): Load `bytecomp' rather than
18511 * minibuffer.el (completion-pcm--merge-completions): Make sure the
18512 string we return is all made up of text from the completions rather
18513 than part from the completions and part from the input (bug#4219).
18515 * ido.el (ido-everywhere): Use define-minor-mode.
18517 * buff-menu.el (list-buffers, ctl-x-map):
18518 Mark the entry points with ;;;###autoload cookies.
18520 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
18522 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
18523 correctly in the detached head case.
18524 (vc-git-print-log): Remove unused binding.
18526 * vc.el (vc-responsible-backend): When a directory is passed for
18527 for registration create a VC repository if no backend is
18528 responsible for the directory argument.
18529 (vc-deduce-fileset): Tell vc-responsible-backend to register.
18531 * vc.el: Move comments about RCS and SCCS ...
18533 * vc-sccs.el: ... here, respectively.
18535 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18537 * minibuffer.el (completion--file-name-table): Return nil if there's
18538 no file completion, even if substitute-in-file-name changed
18539 the string (bug#4708).
18541 2009-10-13 Juri Linkov <juri@jurta.org>
18543 * files-x.el (read-file-local-variable-value): Don't filter out
18544 minor modes from mode name completion (bug#4664).
18546 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18548 * international/mule-cmds.el (ucs-names): Remove exclusion of
18549 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
18551 2009-10-13 Kenichi Handa <handa@m17n.org>
18553 * international/uni-name.el: Regenerated.
18555 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18557 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
18558 should be automatically buffer-local, but isn't.)
18560 2009-10-12 Sam Steingold <sds@gnu.org>
18562 * progmodes/compile.el (compilation-next-error-function): Fix the
18563 timestamps if the buffer has been visited before.
18564 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
18565 non-anchored patterns, like the perl one (bug#3928).
18567 2009-10-12 Glenn Morris <rgm@gnu.org>
18569 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
18572 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
18574 * proced.el (proced-unload-function): New function.
18576 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
18577 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
18580 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
18582 2009-10-11 Juri Linkov <juri@jurta.org>
18584 * files-x.el (read-file-local-variable-value):
18585 Provide default value only for bound variables (bug#4664).
18587 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
18589 * net/tramp.el (tramp-local-host-p): Function shall return nil for
18590 connection methods like smb.
18592 * net/tramp-cache.el (tramp-flush-connection-property): The hash
18595 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18596 (tramp-smb-file-name-handler-alist): Add handlers for
18597 `add-name-to-file', `make-symbolic-link'.
18598 (tramp-smb-handle-add-name-to-file)
18599 (tramp-smb-do-file-attributes-with-stat)
18600 (tramp-smb-handle-make-symbolic-link)
18601 (tramp-smb-get-cifs-capabilities): New defuns.
18602 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18603 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18604 (tramp-smb-handle-file-local-copy)
18605 (tramp-smb-handle-make-directory-internal)
18606 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
18607 The file name syntax depends on cifs capabilities.
18608 (tramp-smb-handle-file-attributes):
18609 Call `tramp-smb-do-file-attributes-with-stat' if possible.
18610 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
18611 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
18613 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
18615 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
18616 (eieio-defclass): Apply deftype handler and setf-method properties
18618 (eieio-add-new-slot): Avoid union function from cl library.
18619 (eieio--typep): New function.
18620 (eieio-perform-slot-validation): Use it.
18622 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18624 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
18625 Update documentation to refer to the variables documented in r1.135.
18628 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18630 * bookmark.el (Info-suffix-list): Remove this unused variable.
18631 (bookmark-current-point): Remove this obsolete variable.
18632 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
18633 Adjust for removal of bookmark-current-point.
18635 (bookmarks-already-loaded, bookmark-current-buffer)
18636 (bookmark-yank-point): Document. (Bug#4188)
18638 2009-10-10 Glenn Morris <rgm@gnu.org>
18640 * frame.el (frame-height): Doc fix.
18642 * calendar/calendar.el (calendar-split-width-threshold): New option.
18643 (calendar-basic-setup): Use calendar-split-width-threshold.
18645 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
18647 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
18648 Ideographic Supplement" range (U+1F200..U+1F2FF).
18650 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18652 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
18653 since the list will have been rebuilt anyway. (Bug#4349)
18655 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18657 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
18658 (bookmark-bmenu-execute-deletions): Don't save here, as
18659 bookmark-delete will now do so if necessary.
18660 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
18663 2009-10-09 Glenn Morris <rgm@gnu.org>
18665 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
18667 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18669 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
18670 (bookmark-jump-other-window): Just invoke bookmark-jump with new
18671 argument now, so the two function's behaviors will match. (Bug#3645)
18673 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
18675 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
18676 (tramp-file-name-real-host, tramp-file-name-port):
18677 Apply `save-match-data'.
18679 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
18680 case both directories are remote.
18681 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
18682 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
18684 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18686 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
18688 2009-10-07 Glenn Morris <rgm@gnu.org>
18690 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
18693 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
18695 * files-x.el (read-file-local-variable): Include some
18696 non-user-variables in the completion table (bug#4664).
18698 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
18700 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
18703 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18704 (tramp-smb-file-name-handler-alist): Add handler for
18705 `copy-directory', `expand-file-name', `set-file-modes'.
18706 (tramp-smb-handle-copy-directory)
18707 (tramp-smb-handle-expand-file-name)
18708 (tramp-smb-handle-set-file-modes): New defuns.
18709 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
18710 (tramp-smb-handle-file-attributes): Simplify check for retrieving
18712 (tramp-smb-handle-insert-directory): Don't flush the cache.
18713 (tramp-smb-maybe-open-connection): Check for samba client and
18716 2009-10-07 Eli Zaretskii <eliz@gnu.org>
18718 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
18719 to not error out of search for "^lisp=" fails.
18721 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18723 * makefile.w32-in (WINS_UPDATES): New macro.
18724 (custom-deps, finder-data, autoloads): Use it.
18726 2009-10-07 Glenn Morris <rgm@gnu.org>
18728 * Makefile.in (autoloads): Revert previous change.
18729 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
18730 the list of preloaded files passed on the command-line, get
18731 it from src/Makefile.
18733 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
18734 show the original buffer rather than a random one.
18736 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
18738 * help.el (describe-no-warranty): Place point in a slightly better
18739 position in the GPLv3 text.
18741 2009-10-06 Sam Steingold <sds@gnu.org>
18743 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
18744 the comm attribute is present before calling regexp-quote.
18746 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
18748 * play/animate.el (animate-string): For good effect, make sure
18749 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
18751 * play/animate.el (animate-sequence, animate-birthday-present):
18752 * misc.el (butterfly): Don't set `indent-tabs-mode'.
18754 2009-10-06 Glenn Morris <rgm@gnu.org>
18756 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
18758 * emacs-lisp/autoload.el (autoload-excludes): New variable.
18759 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
18760 (batch-update-autoloads): Process a string value of autoload-excludes,
18761 set during the build process.
18762 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
18764 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
18765 inside with-parsed... macro so that `v' is defined.
18767 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
18768 * progmodes/fortran.el (fortran-end-of-block)
18769 (fortran-beginning-of-block):
18770 Also push mark in the macro case.
18772 * emerge.el (emerge-show-file-name):
18773 * calc/calc.el (calc-quit):
18774 * calc/calc-misc.el (calc-big-or-small):
18775 * calc/calc-graph.el (calc-graph-view):
18776 * calc/calc-ext.el (calc-reset):
18777 * calendar/calendar.el (calendar-basic-setup):
18778 Use window-full-height-p.
18780 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
18781 header we don't understand, don't insert another. (Bug#4624)
18782 If changing mime charset, insert the new one in the right place.
18784 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
18786 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
18787 (cal-tex-cursor-month): Correctly increment the end date for diary and
18788 holiday listing. (Bug#4626)
18790 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18792 * help-fns.el (describe-function-1): Don't burp if the function is not
18795 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
18797 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18798 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18799 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18800 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18802 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18803 (eieio-default-superclass): Reflow docstrings.
18804 (this, class-option-assoc, defclass, eieio-class-un-autoload)
18805 (eieio-unbind-method-implementations, defmethod)
18806 (eieio-validate-slot-value, eieio-validate-class-slot-value)
18807 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18808 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18809 (eieio-slot-originating-class-p, eieio-slot-name-index)
18810 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18811 (constructor, initialize-instance, no-next-method, object-print)
18812 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18813 Fix typos in docstrings.
18814 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18815 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18816 (next-method-p): Doc fixes.
18817 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18818 Fix typos in error messages.
18819 (eieio-defmethod): Fix typo in description of generic method.
18821 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18822 (eieio-persistent-save-interactive, slot-missing):
18823 Fix typos in docstrings.
18824 (eieio-instance-inheritor-slot-boundp): Doc fix.
18826 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18827 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18829 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18830 (eieio-custom-object-apply-reset):
18831 Fix typos in docstrings and error messages.
18833 * emacs-lisp/eieio-datadebug.el (data-debug-show):
18834 Fix typo in docstring.
18836 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18837 (eieio-browse-tree): Doc fix.
18838 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18839 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18840 Fix typos in docstrings.
18842 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18843 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18844 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18845 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18848 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
18850 * vc-hg.el (log-view-vc-backend): Declare for compiler.
18851 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18852 Set log-view-vc-backend so that diff can work.
18854 * log-view.el (log-view-diff): Use vc-diff-internal instead of
18856 (vc-diff-internal): Autoload this instead of vc-version-diff.
18858 2009-10-05 Eli Zaretskii <eliz@gnu.org>
18860 * simple.el (eval-expression): Doc fix.
18862 * progmodes/cwarn.el (cwarn-mode): Doc fix.
18864 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
18866 * files.el (directory-files-no-dot-files-regexp): New defconst.
18867 (delete-directory): Use it.
18868 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
18870 * net/tramp.el (tramp-verbose): Fix docstring.
18871 (tramp-methods): Add recursive option to `tramp-copy-args'.
18872 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
18873 "scp1_old", "scp2_old", "rsync", "rsyncc".
18874 (tramp-default-method): Check also for `auth-source-user-or-password'.
18875 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18876 Add handler for `copy-directory'.
18877 (tramp-handle-copy-directory): New defun.
18878 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18879 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18880 Optimize sent command.
18882 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18884 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18885 window if necessary.
18887 * calendar/calendar.el (calendar-basic-setup): Don't call
18888 switch-to-buffer in a dedicated window.
18890 2009-10-05 Karl Fogel <kfogel@red-bean.com>
18892 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18893 don't do anything related to relocating, just return nil.
18894 (bookmark-error-no-filename): New error.
18895 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18896 bookmark has no file. Don't even attempt to handle things that
18897 are not files; the whole point of custom handlers is to keep that
18898 knowledge elsewhere anyway. Tighten some comments.
18899 (bookmark-file-or-variation-thereof): Remove now-unused function.
18900 (bookmark-location): Doc string fix.
18903 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18905 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18906 don't use a file dialog, because they usually don't know how to read
18907 a directory target from the user. (Bug#4230)
18908 Also, make sure the prompt can display directories as well as files.
18910 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18912 * bookmark.el (bookmark-set, bookmark-buffer-name):
18913 Improve doc strings. (Bug#1193)
18915 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18917 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18918 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18919 (bookmark-get-annotation, bookmark-set-annotation)
18920 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18921 (bookmark-set-position, bookmark-get-front-context-string)
18922 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18923 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18924 (bookmark-jump-other-window, bookmark-handle-bookmark)
18925 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18926 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18927 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18928 Improve doc strings to say whether bookmark can be a string or
18929 a record or both, and make other consistency and clarity fixes.
18930 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18931 (bookmark-default-annotation-text, bookmark-yank-word)
18932 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18933 (bookmark-import-new-list, bookmark-maybe-rename)
18934 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18935 (bookmark-bmenu-bookmark): Give these doc strings.
18936 (bookmark-bmenu-check-position): Give this a doc string, but also
18937 add a FIXME comment about how the function may be pointless.
18938 (bookmark-default-handler): Rework doc string and change a
18939 parameter name, to clarify that this takes a bookmark record
18940 not a bookmark name.
18941 (bookmark-set): Change a parameter name to indicate its meaning,
18942 and improve the doc string a bit.
18945 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18947 * bookmark.el (bookmark-alist): Document the new `handler' element
18948 in the param alist.
18949 (bookmark-make-record-function): Adjust documentation for above.
18952 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18954 * info.el (Info-bookmark-make-record): Document this function.
18955 (Info-bookmark-jump): Document with a doc string, not just a comment.
18958 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
18960 * files.el (copy-directory): New defun.
18962 * dired-aux.el (dired-copy-file-recursive): Use it.
18964 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
18966 * files-x.el (modify-dir-local-variable)
18967 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18970 * recentf.el (recentf-unload-function): New function.
18972 2009-10-04 Glenn Morris <rgm@gnu.org>
18974 * window.el (window-full-height-p): Add doc string.
18976 2009-10-04 Martin Rudalics <rudalics@gmx.at>
18978 * window.el (window-full-height-p): New function. (Bug#4543)
18980 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
18982 * vc.el: Remove commented out code.
18983 (vc-derived-from-dir-mode): Remove, unused.
18984 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18986 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
18988 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18989 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
18990 there could be recursive loading when `default-directory' is a
18991 remote file name. (Bug#4614)
18993 2009-10-03 Glenn Morris <rgm@gnu.org>
18995 * calendar/calendar.el (calendar-basic-setup): Handle the case where
18997 (calendar-generate-window): Test for shrinkability rather than width.
18999 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
19000 reusing existing buffers, in case we happen to visit two files with the
19001 same basename. (Bug#4593)
19003 2009-10-02 Eli Zaretskii <eliz@gnu.org>
19005 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
19006 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
19007 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
19008 subdirs of cedet as well.
19009 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
19011 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
19013 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
19014 Obey advertised-signature-table.
19016 * help-fns.el (help-function-arglist): Don't check
19017 advertised-signature-table.
19018 (describe-function-1): Do it here instead so it also applies to subrs.
19020 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
19022 * simple.el (start-file-process): Say in the doc-string, that file
19023 handlers might not support pty association, if PROGRAM is nil.
19025 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
19026 HOST and USER are strings. They are nil, when there are
19027 incomplete entries in ~/.netrc, for example.
19028 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
19029 root directory ("device busy" error otherwise).
19031 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
19032 Flush file properties of created directory.
19034 2009-10-02 Eli Zaretskii <eliz@gnu.org>
19036 * makefile.w32-in (WINS_BASIC): Remove cedet.
19037 (WINS_CEDET): Add cedet.
19038 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
19040 2009-10-02 Kevin Ryde <user42@zip.com.au>
19042 * net/browse-url.el (browse-url): Pass any symbol in
19043 browse-url-browser-function to `apply', since if you've mistakenly put
19044 an unbound symbol then the error is clearer. (Bug#4531)
19046 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
19048 * allout.el (allout-init, allout-back-to-current-heading)
19049 (allout-beginning-of-current-entry, allout-ascend-to-depth)
19050 (allout-ascend, allout-up-current-level, allout-end-of-level)
19051 (allout-previous-visible-heading, allout-forward-current-level)
19052 (allout-backward-current-level, allout-show-children):
19053 * apropos.el (apropos-describe-plist):
19054 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
19055 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
19056 * completion.el (add-completion, add-permanent-completion):
19057 * descr-text.el (describe-text-category, describe-char):
19058 * desktop.el (desktop-lazy-abort):
19059 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
19060 * dired.el (dired-build-subdir-alist):
19061 * ediff.el (ediff-version):
19062 * elide-head.el (elide-head, elide-head-show):
19063 * emerge.el (emerge-version):
19065 * face-remap.el (variable-pitch-mode):
19066 * faces.el (describe-face):
19067 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
19069 * files.el (find-file-existing, auto-save-mode):
19070 * font-lock.el (font-lock-fontify-buffer):
19071 * help-fns.el (describe-function, describe-variable)
19072 (describe-syntax, describe-categories):
19073 * help.el (view-lossage, describe-bindings, describe-key)
19075 * hexl.el (hexl-current-address):
19076 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
19077 * info.el (Info-goto-emacs-key-command-node):
19078 * log-edit.el (log-edit-insert-cvs-template)
19079 (log-edit-insert-cvs-rcstemplate):
19080 * menu-bar.el (menu-bar-mode):
19081 * mouse.el (mouse-appearance-menu):
19082 * newcomment.el (comment-indent-new-line):
19083 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
19084 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
19085 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
19086 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
19087 * recentf.el (recentf-mode):
19088 * savehist.el (savehist-mode, savehist-save):
19089 * shadowfile.el (shadow-copy-files):
19090 * simple.el (kill-ring-save, next-line, previous-line)
19091 (normal-erase-is-backspace-mode):
19092 * strokes.el (strokes-update-window-configuration)
19093 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
19094 (strokes-xpm-for-stroke):
19095 * time.el (emacs-uptime, emacs-init-time):
19096 * tutorial.el (tutorial--describe-nonstandard-key)
19097 (tutorial--detailed-help):
19098 * type-break.el (type-break-mode)
19099 (type-break-mode-line-message-mode, type-break-query-mode)
19100 (type-break-guesstimate-keystroke-threshold):
19101 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
19102 * version.el (emacs-version):
19103 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
19104 * winner.el (winner-mode):
19105 * calendar/timeclock.el (timeclock-in, timeclock-out)
19106 (timeclock-status-string, timeclock-change)
19107 (timeclock-workday-remaining-string)
19108 (timeclock-workday-elapsed-string)
19109 (timeclock-when-to-leave-string):
19110 * calendar/todo-mode.el (todo-add-category):
19111 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
19112 * emacs-lisp/autoload.el (update-file-autoloads):
19113 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
19114 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
19115 (checkdoc-message-text, checkdoc-defun):
19116 * emacs-lisp/debug.el (debugger-list-functions):
19117 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
19118 * emacs-lisp/eieio-opt.el (eieio-describe-class)
19119 (eieio-describe-generic):
19120 * emacs-lisp/lisp-mnt.el (lm-synopsis):
19121 * emacs-lisp/shadow.el (list-load-path-shadows):
19122 * emulation/cua-base.el (cua-mode):
19123 * emulation/edt.el (edt-set-scroll-margins):
19124 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
19125 (tpu-toggle-regexp, tpu-toggle-search-direction)
19126 (tpu-toggle-rectangle, tpu-toggle-control-keys):
19127 * emulation/tpu-extras.el (tpu-set-scroll-margins):
19128 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
19129 (viper-set-parsing-style-toggling-macro)
19130 (viper-set-emacs-state-searchstyle-macros):
19131 * emulation/viper.el (viper-set-hooks):
19132 * eshell/esh-mode.el (eshell-truncate-buffer):
19133 * international/mule-cmds.el (prefer-coding-system)
19134 (describe-input-method, describe-language-environment):
19135 * international/mule-diag.el (list-character-sets)
19136 (describe-character-set, describe-coding-system)
19137 (describe-fontset, list-fontsets, list-input-methods):
19138 * mail/sendmail.el (mail-signature):
19139 * net/ange-ftp.el (ange-ftp-copy-file):
19140 * net/browse-url.el (browse-url):
19141 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
19142 * net/quickurl.el (quickurl-add-url):
19143 * net/rcirc.el (names, topic):
19144 * net/xesam.el (xesam-mode):
19145 * play/5x5.el (5x5-new-game):
19146 * play/yow.el (apropos-zippy):
19147 * progmodes/ada-mode.el (ada-mode-version):
19148 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
19150 (f90-beginning-of-block):
19151 * progmodes/fortran.el (fortran-end-of-block)
19152 (fortran-beginning-of-block):
19153 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
19154 * progmodes/python.el (python-describe-symbol, python-shell):
19155 * term/ns-win.el (ns-print-buffer):
19156 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
19157 * textmodes/flyspell.el (flyspell-mode-on):
19158 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
19159 (pages-directory-for-addresses):
19160 * textmodes/table.el (table-recognize-cell)
19161 (table-query-dimension, table-generate-source)
19162 (table-insert-sequence, table--warn-incompatibility):
19163 * textmodes/tex-mode.el (tex-validate-buffer):
19164 * textmodes/texinfmt.el (texinfmt-version)
19165 (texinfo-format-buffer):
19166 Use `called-interactively-p' instead of `interactive-p'.
19168 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
19170 * image-mode.el (image-toggle-display):
19171 * emacs-lisp/elp.el (elp-instrument-function):
19172 * emacs-lisp/advice.el (ad-make-advised-definition):
19173 * emacs-lisp/easy-mmode.el (define-minor-mode):
19174 * net/browse-url.el (browse-url-maybe-new-window):
19175 * progmodes/sh-script.el (sh-learn-buffer-indent):
19176 Pass new argument 'any to `called-interactively-p'.
19178 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
19180 * international/uni-bidi.el:
19181 * international/uni-category.el:
19182 * international/uni-combining.el:
19183 * international/uni-comment.el:
19184 * international/uni-decimal.el:
19185 * international/uni-decomposition.el:
19186 * international/uni-digit.el:
19187 * international/uni-lowercase.el:
19188 * international/uni-mirrored.el:
19189 * international/uni-name.el:
19190 * international/uni-numeric.el:
19191 * international/uni-old-name.el:
19192 * international/uni-titlecase.el:
19193 * international/uni-uppercase.el:
19194 Regenerate from Unicode 5.2.0 data.
19196 2009-10-01 Glenn Morris <rgm@gnu.org>
19198 * Makefile.in (ELCFILES): Regenerate.
19200 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
19202 * subr.el (interactive-p): Mark obsolete.
19203 (called-interactively-p): Make the optional-ness of `kind' obsolete.
19204 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
19205 advertised-signature-table for subroutines as well.
19207 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
19208 (set-advertised-calling-convention): New function.
19209 (make-obsolete, define-obsolete-function-alias)
19210 (make-obsolete-variable, define-obsolete-variable-alias):
19211 Make the optional-ness of `when' obsolete.
19212 (define-obsolete-face-alias): Make `when' non-optional.
19213 * help-fns.el (help-function-arglist):
19214 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
19215 Use advertised-signature-table.
19217 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
19219 * files.el (delete-directory): New defun. The original function
19220 in fileio.c has been renamed to `delete-directory-internal'.
19222 * dired.el (dired-delete-file): Call `delete-directory' with
19223 RECURSIVE parameter.
19225 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
19226 parameter RECURSIVE. Implementation is missing.
19228 * net/tramp.el (tramp-handle-make-directory): Flush upper
19229 directory's file properties.
19230 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
19231 (tramp-handle-dired-recursive-delete-directory): Flush directory
19232 properties after the remove command only.
19234 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
19235 Handle optional parameter RECURSIVE.
19237 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
19238 Handle optional parameter RECURSIVE.
19240 * net/tramp-smb.el (tramp-smb-errors): Add error message for
19241 connection timeout.
19242 (tramp-smb-handle-delete-directory): Handle optional parameter
19245 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
19247 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
19248 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
19249 (byte-compile-defmacro): Use backquotes.
19251 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
19253 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
19254 has no associated file.
19255 (vc-resynch-buffer): Use vc-dir-buffers.
19257 2009-10-01 Glenn Morris <rgm@gnu.org>
19259 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
19260 (chart-file-count):
19261 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
19262 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
19263 * emacs-lisp/eieio-opt.el (eieio-describe-class):
19264 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
19265 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
19266 (eieio-copy-parents-into-subclass, make-instance, class-children)
19267 (eieio-generic-form):
19269 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
19270 match-data. (Bug#4555).
19272 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
19273 rather than parsing it as a regexp. This relaxes the layout
19274 requirements and makes errors easier to detect.
19275 (check-declare-verify): Check file is regular.
19276 (check-declare-directory): Doc fix.
19277 * subr.el (declare-function): Doc fix.
19279 * ibuffer.el (ibuffer-format-qualifier):
19280 * isearch.el (hi-lock-regexp-okay):
19281 * calc/calc.el (math-zerop):
19282 * mail/uce.el (rmail-msgbeg, rmail-msgend):
19283 * term/w32-win.el (setup-default-fontset, set-fontset-font):
19284 Remove unused declarations.
19286 2009-09-30 Eric Ludlam <zappo@gnu.org>
19288 * emacs-lisp/eieio.el (boolean-p): Delete.
19290 2009-09-30 Glenn Morris <rgm@gnu.org>
19292 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
19294 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
19295 filename is not a string.
19297 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
19299 * files.el (safe-local-eval-forms): Fix typo.
19301 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
19303 * vc-hooks.el (vc-dir-buffers): New var.
19304 (vc-state-refresh): New function.
19305 (vc-state): Use it.
19306 (vc-after-save): Always ask the backend to recompute the new state.
19307 Always call vc-dir if necessary, using vc-dir-buffers.
19308 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
19309 Use vc-dir-buffers.
19310 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
19311 (vc-dir-prepare-status-buffer, vc-dir-update)
19312 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
19313 Don't call expand-file-name on default-directory.
19315 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
19317 * speedbar.el (speedbar-item-delete):
19318 * calc/calc-prog.el (calc-kbd-if):
19319 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
19321 * epa.el (epa-key-list-mode-map):
19322 * hi-lock.el (hi-lock-menu): Fix typos in menus.
19324 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
19325 (hs-show-hook): Fix typo in docstring.
19327 2009-09-29 Glenn Morris <rgm@gnu.org>
19329 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
19330 file-name-nondirectory call preventing location of cedet files.
19331 (check-declare-verify): Use literal search rather than re-search.
19332 Add basic defmethod and defclass, and define-overloadable-function.
19334 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
19335 Use tramp-compat-file-attributes rather than nonexistent
19336 tramp-compat-handle-file-attributes.
19338 * Makefile.in (lisptagsfiles4): New.
19339 (AUTOGENEL): Add cedet loaddefs files.
19340 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
19341 (update-elclist, compile-always, backup-compiled-files)
19342 (bootstrap-clean): Add yet another directory level.
19343 (update-elclist): Use LC_COLLATE rather than COLLATE.
19344 (ELCFILES): Update, via `make update-elclist'.
19346 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
19348 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
19349 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
19350 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
19352 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
19354 * Makefile.in (lisptagsfiles3): Define.
19355 (TAGS, TAGS-LISP): Use it.
19356 (update-elclist): Add third directory level to look for elc files.
19357 (compile-always): Likewise.
19358 (backup-compiled-files): Likewise.
19359 (bootstrap-clean): Likewise.
19360 (ELCFILES): Update.
19362 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
19364 * Makefile.in (ELCFILES): Add CEDET files.
19366 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
19368 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
19370 * net/tramp.el (top): Require tramp-imap.
19372 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
19373 Use `tramp-compat-handle-file-attributes'.
19375 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
19377 * net/tramp-imap.el: New package.
19379 2009-09-28 Eric Ludlam <zappo@gnu.org>
19381 * emacs-lisp/chart.el:
19382 * emacs-lisp/eieio-base.el:
19383 * emacs-lisp/eieio-comp.el:
19384 * emacs-lisp/eieio-custom.el:
19385 * emacs-lisp/eieio-datadebug.el:
19386 * emacs-lisp/eieio-opt.el:
19387 * emacs-lisp/eieio-speedbar.el:
19388 * emacs-lisp/eieio.el: New files.
19390 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19392 * whitespace.el (whitespace-trailing-regexp)
19393 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
19396 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
19398 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
19401 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
19402 menu-bar-ediff-menu.
19404 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
19405 define-overloadable-function.
19407 * progmodes/autoconf.el: Provide autoconf as well, so that this
19408 file can be `require'd.
19410 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
19412 * emacs-lisp/autoload.el (generated-autoload-feature)
19413 (generated-autoload-load-name): New vars.
19414 (autoload-rubric, autoload-generate-file-autoloads): Use them.
19415 (make-autoload): Recognize define-overloadable-function and
19416 defclass forms (for EIEIO).
19418 * Makefile.in (update-subdirs): Exclude cedet directory.
19420 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
19422 * term/ns-win.el: Don't set the region face background. (Bug#4381)
19424 * faces.el: Default light-background background for region face to
19425 ns_selection_color under NS.
19427 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
19429 * net/imap-hash.el: New library, see NEWS.
19431 * Makefile.in (ELCFILES): Add imap-hash.el.
19433 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
19435 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
19436 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
19437 * help-macro.el (make-help-screen): Avoid using an ambiguous function
19438 definition where the docstring could be taken for the return value.
19440 2009-09-26 Glenn Morris <rgm@gnu.org>
19442 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
19443 Add option to only show images below a certain size.
19444 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
19445 save-excursion calls.
19447 2009-09-26 Eli Zaretskii <eliz@gnu.org>
19449 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
19450 subdirectories) and eieio.
19452 2009-09-26 Alan Mackenzie <acm@muc.de>
19454 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19455 Correct buggy bracketing. (Bug#4289)
19457 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
19458 character constants (as case labels). (Bug#4289)
19460 2009-09-25 Juri Linkov <juri@jurta.org>
19462 * files.el (safe-local-eval-forms): Allow time-stamp in
19463 before-save-hook (Bug#4554).
19465 2009-09-25 Drew Adams <drew.adams@oracle.com>
19467 * menu-bar.el (list-buffers-directory): Doc fix.
19469 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
19471 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
19472 Try and avoid copying twice the same paragraph.
19473 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
19474 Remove save-excursion.
19475 (log-edit-changelog-entry): Do it here instead.
19477 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
19479 * bs.el (bs--get-file-name): Use `list-buffers-directory'
19480 when available, instead of hardcoding mode names. Doc fix.
19482 * menu-bar.el (list-buffers-directory): Add docstring.
19483 Make automatically buffer-local.
19485 * dired.el (dired-mode):
19486 * files.el (cd-absolute):
19487 * pcvs.el (cvs-temp-buffer):
19488 * pcvs-util.el (cvs-get-buffer-create):
19489 * shell.el (shell-mode):
19490 * vc-dir.el (vc-dir-mode):
19491 Don't make `list-buffers-directory' buffer local.
19493 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
19495 * comint.el (comint-exec, comint-run, make-comint):
19496 Doc fixes (Bug#4542).
19498 2009-09-25 Glenn Morris <rgm@gnu.org>
19500 * mail/rmailmm.el (rmail-mime): New custom group.
19501 Move all defcustoms in this file into this group.
19502 (rmail-mime-media-type-handlers-alist): Revert previous change.
19503 (rmail-mime-show-images): New option.
19504 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
19505 references to it, since it wasn't actually used for anything.
19506 (rmail-mime-insert-image): New function.
19507 (rmail-mime-image): Use rmail-mime-insert-image.
19508 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
19509 obey the value of `rmail-mime-show-images' option. Print the size of
19512 2009-09-25 David Engster <deng@randomsample.de>
19514 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
19516 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19518 * whitespace.el: Does not highlight trailing spaces While point is
19519 at end of line. Does not highligt spaces at beginning of buffer
19520 while point is at beginning of buffer. Does not highlight spaces
19521 at end of buffer while point is at end of buffer. (Bug#4177)
19523 (whitespace-display-mappings): Adjust initialization.
19524 (whitespace-point, whitespace-font-lock-refontify): New vars.
19525 (whitespace-color-on, whitespace-color-off): Adjust code.
19526 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
19527 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
19528 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
19530 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
19532 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
19534 * textmodes/sgml-mode.el: Remove xml-mode alias.
19536 * files.el (auto-mode-alist, conf-mode-maybe)
19537 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
19539 2009-09-24 Alan Mackenzie <acm@muc.de>
19541 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
19542 c-forward-conditionals, but it doesn't move point and doesn't set
19544 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
19545 (c-down-conditional-with-else, c-backward-conditional)
19546 (c-forward-conditional): Refactor to use c-scan-conditionals.
19548 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19550 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
19551 (help-default-arg-highlight): Remove.
19552 (help-highlight-arg): New function.
19553 (help-do-arg-highlight): Use it.
19554 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
19556 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19558 * term.el (term-set-scroll-region, term-handle-ansi-escape):
19559 Undo last change, which didn't fix the problem and introduced others.
19561 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
19563 * progmodes/gdb-mi.el: Don't require speedbar.
19564 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
19566 2009-09-24 Glenn Morris <rgm@gnu.org>
19568 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
19570 * term/ns-win.el (ns-reg-to-script): Define for compiler.
19572 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
19573 there is no newline after the final mime boundary. (Bug#4539)
19574 Move markers on insertion so that any buttons inserted don't end up in
19575 the next part of a multipart message.
19576 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
19577 (rmail-mime-bulk-handler): Optionally handle images.
19578 (rmail-mime-image): New button action.
19579 (rmail-mime-image-handler): New function.
19580 (rmail-mime-mode): New mode.
19581 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
19583 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19585 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
19586 than just dropping elements from it (bug#4504).
19588 * term.el (term-set-scroll-region): Don't move cursor any more.
19589 (term-handle-ansi-escape): Call term-goto here instead.
19590 Suggested by Ivan Kanis <apple@kanis.eu>.
19592 * term.el: Require CL.
19593 (term-ansi-reset): New function.
19594 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
19595 (term-handle-colors-array): Simplify.
19597 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19599 * allout.el (allout-overlay-interior-modification-handler)
19600 (allout-obtain-passphrase):
19601 * epa-file.el (epa-file-write-region):
19602 * ps-print.el (ps-begin-job):
19603 * vc-hooks.el (vc-toggle-read-only):
19604 * vc-rcs.el (vc-rcs-rollback):
19605 * vc-sccs.el (vc-sccs-rollback):
19606 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
19607 (vc-version-diff, vc-revert, vc-rollback):
19608 * wdired.el (wdired-check-kill-buffer):
19609 * emacs-lisp/authors.el (authors):
19610 * net/socks.el (socks-open-connection):
19611 * net/zeroconf.el (zeroconf-service-add-hook):
19612 * obsolete/vc-mcvs.el (vc-mcvs-register):
19613 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
19614 (gdb-select-frame):
19615 * progmodes/grep.el (lgrep, rgrep):
19616 * progmodes/idlw-help.el (idlwave-help-check-locations)
19617 (idlwave-help-html-link, idlwave-help-assistant-open-link):
19618 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
19619 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
19620 (reftex-toc-rename-label): Fix typos in error messages.
19622 * dired-aux.el (dired-do-shell-command): Reflow docstring.
19623 (dired-copy-how-to-fn): Doc fix.
19624 (dired-files-attributes, dired-read-shell-command):
19625 Fix typos in docstrings.
19627 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
19628 (dired-x-find-file-other-window): Reflow docstrings.
19629 (dired-omit-marker-char, dired-read-shell-command)
19630 (dired-x-submit-report): Fix typos in docstrings.
19632 * shell.el (shell-mode-hook):
19633 * view.el (View-scroll-line-forward):
19634 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
19635 Fix typos in docstrings.
19637 * net/dig.el (dig-invoke): Fix typo in docstring.
19638 (query-dig): Reflow docstring.
19640 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
19641 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
19642 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
19643 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
19644 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
19645 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
19646 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
19647 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
19648 (idlwave-completion-map, idlwave-current-indent)
19649 (idlwave-custom-ampersand-surround, idlwave-customize)
19650 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
19651 (idlwave-define-abbrev, idlwave-determine-class-special)
19652 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
19653 (idlwave-end-block-reg, idlwave-end-of-statement)
19654 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
19655 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
19656 (idlwave-explicit-class-listed, idlwave-file-header)
19657 (idlwave-fill-paragraph, idlwave-find-class-definition)
19658 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
19659 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
19660 (idlwave-in-quote, idlwave-indent-action-table)
19661 (idlwave-indent-expand-table, idlwave-indent-line)
19662 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
19663 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
19664 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
19665 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
19666 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
19667 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
19668 (idlwave-outlawed-buffers, idlwave-popup-select)
19669 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
19670 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
19671 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
19672 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
19673 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
19674 (idlwave-statement-type, idlwave-struct-skip)
19675 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
19676 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
19677 (idlwave-what-module-find-class): Fix typos in docstrings.
19678 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
19679 (idlwave-calculate-cont-indent, idlwave-expand-equal)
19680 (idlwave-find-module, idlwave-find-structure-definition)
19681 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
19682 (idlwave-list-load-path-shadows, idlwave-next-statement)
19683 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
19684 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
19685 (idlwave-template): Reflow docstrings.
19687 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
19688 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
19689 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
19690 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
19691 (idlwave-shell-display-line, idlwave-shell-display-wframe)
19692 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
19693 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
19694 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
19695 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
19696 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
19697 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
19698 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
19699 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
19700 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
19701 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
19702 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
19703 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
19704 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
19705 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
19706 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
19707 Fix typos in docstrings.
19708 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
19709 (idlwave-shell-hide-output, idlwave-shell-mode)
19710 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
19713 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
19715 2009-09-24 Ivan Kanis <apple@kanis.eu>
19717 * term.el (term-bold-attribute): New var.
19718 (term-handle-colors-array): Use it.
19720 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
19722 * progmodes/gdb-mi.el (gdb-version): New variable.
19723 (gdb-non-stop-handler): Set gdb-version.
19724 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
19725 Condition "--thread" option on gdb-version.
19726 (gdb-invalidate-threads): Remove unused argument.
19728 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19730 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
19731 to looking-back to avoid ridiculous slow down in large files (bug#4511).
19733 2009-09-23 Glenn Morris <rgm@gnu.org>
19735 * mail/rmail.el (rmail-reply): Don't try to add a References header when
19736 replying to mail without References or Message-Id. (Bug#4525)
19738 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
19740 * term/ns-win.el (ns-reg-to-script): New variable.
19742 2009-09-23 Daiki Ueno <ueno@unixuser.org>
19744 * epg.el (epg-wait-for-status): Preserve existing 'error results.
19746 2009-09-22 Sam Steingold <sds@gnu.org>
19748 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
19749 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
19750 to 1 because hg returns status 1 when nothing is found.
19751 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
19753 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
19755 * textmodes/fill.el: Convert to utf-8 encoding.
19756 (fill-french-nobreak-p): Remove redundant » and « inherited from our
19759 * add-log.el (change-log-fill-forward-paragraph): New function.
19760 (change-log-mode): Use it so fill-region DTRT.
19761 Set fill-indent-according-to-mode here rather than in
19762 change-log-fill-paragraph.
19763 (change-log-fill-paragraph): Remove.
19765 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
19767 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
19768 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
19770 2009-09-22 Glenn Morris <rgm@gnu.org>
19772 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
19773 the scroll-bar scroll the calendar window rather than the buffer.
19775 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
19776 commands that move point (as opposed to scrolling).
19778 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
19780 * emacs-lisp/elint.el (elint): New custom group.
19781 (elint-log-buffer): Make it a defcustom.
19782 (elint-scan-preloaded, elint-ignored-warnings)
19783 (elint-directory-skip-re): New options.
19784 (elint-builtin-variables): Doc fix.
19785 (elint-preloaded-env): New variable.
19786 (elint-unknown-builtin-args): Add an entry for encode-time.
19787 (elint-extra-errors): Make it a variable rather than a constant.
19788 (elint-preloaded-skip-re): New constant.
19789 (elint-directory): Skip files matching elint-directory-skip-re.
19790 (elint-features): New variable, local to linted buffers.
19791 (elint-update-env): Initialize elint-features. Possibly add
19792 elint-preloaded-env to the buffer's environment.
19793 (elint-get-top-forms): Bind elint-current-pos, for log messages.
19795 (elint-init-form): New function, extracted from elint-init-env.
19796 Make non-list forms a warning rather than an error.
19797 Add the mode-map for define-derived-mode. Handle define-minor-mode,
19798 easy-menu-define, put that adds an error-condition, and provide.
19799 When requiring cl, also require cl-macs. Really require cl, to handle
19800 some cl macros. Store required libraries in the list elint-features,
19801 so as not to re-load them. Treat cc-require like require.
19802 (elint-init-env): Call elint-init-form to do the work.
19803 Handle eval-and-compile and such like.
19804 (elint-add-required-env): Do not clear messages.
19805 (elint-special-forms): Add handlers for function, defalias, if, when,
19807 (elint-form): Add optional argument to ignore elint-special-forms,
19808 useful to prevent recursive calls from handlers. Doc fix.
19809 Respect elint-ignored-warnings.
19810 (elint-form): Respect elint-ignored-warnings.
19811 (elint-bound-variable, elint-bound-function): New variables.
19812 (elint-unbound-variable): Respect elint-bound-variable.
19813 (elint-get-args): Respect elint-bound-function.
19814 (elint-check-cond-form): Add some simple handling for (f)boundp and
19816 (elint-check-defalias-form): New handler.
19817 (elint-check-let-form): Make an empty let a warning rather than an
19819 (elint-check-setq-form): Make an empty setq a warning rather than an
19820 error. Respect elint-ignored-warnings.
19821 (elint-check-defvar-form): Accept null doc-strings.
19822 (elint-check-conditional-form): New handler. Does some simple-minded
19823 checking of featurep and (f)boundp tests.
19824 (elint-put-function-args): New function.
19825 (elint-initialize): Use elint-scan-doc-file rather than
19826 elint-find-builtin-variables. Use elint-put-function-args.
19827 Possibly scan preloaded-file-list.
19828 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19829 extend to handle functions as well.
19831 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
19833 * linum.el (linum-delete-overlays, linum-update-window):
19834 Do not modify the right margin. (Bug#3971)
19836 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
19838 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19839 Use nxml-mode instead of xml-mode.
19841 2009-09-21 Kevin Ryde <user42@zip.com.au>
19843 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
19845 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19847 * net/dig.el (dig-mode): Use define-derived-mode.
19849 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
19851 * vc-dispatcher.el (vc-do-command): Return the process object in
19852 the asynchronous case. Use when instead of if. Do not run
19853 vc-exec-after to display a message if not enabled. (Bug#4463)
19855 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19856 properties to the stash strings.
19857 (vc-git-stash-list): Return a list of strings.
19858 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19859 (vc-git-stash-show-at-point): New functions.
19860 (vc-git-stash-map): New keymap.
19862 * register.el (ctl-x-r-map): Define the keys here instead of
19865 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
19867 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19868 list, to workaround performance problem (bug#4485).
19870 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
19872 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19874 2009-09-20 Daiki Ueno <ueno@unixuser.org>
19876 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19877 Document that this option is not recommended to use.
19879 2009-09-19 Glenn Morris <rgm@gnu.org>
19881 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19884 * calc/calc-alg.el (var):
19885 * calc/calcalg2.el (var): Define for compiler.
19887 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
19889 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19890 Doc fix (Bug#3932).
19892 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19894 * time-stamp.el (time-stamp-month-dd-yyyy)
19895 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19896 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19897 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19898 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19899 Remove functions that have been obsolete since 1995 (Bug#4436).
19901 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19902 indent buffer only if called interactively (Bug#4452).
19904 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
19905 Eli Zaretskii <eliz@gnu.org>
19907 This fixes bug#4197 (merged to bug#865, though not identical).
19908 * server.el (server-auth-dir): Add docstring note about FAT32.
19909 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19910 but warn against using them.
19912 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
19914 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19915 older GDB where there is no has_more field.
19917 2009-09-19 Glenn Morris <rgm@gnu.org>
19919 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19921 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
19923 * files.el (auto-mode-alist): Change default for XML files to nXML
19926 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
19928 * server.el (server-ensure-safe-dir): Pass 'integer
19929 to `file-attributes', as suggested.
19931 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
19933 * dired-aux.el (dired-query-alist): Remove spurious backslash.
19934 (dired-query): Use read-key.
19936 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
19938 * cus-start.el (ns-use-qd-smoothing): Remove.
19940 2009-09-18 Glenn Morris <rgm@gnu.org>
19942 * allout.el (top-level): Remove unnecessary progn.
19944 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19946 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19947 definition of abbrev table.
19949 * speedbar.el (speedbar-track-mouse):
19950 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19951 * net/eudc.el (eudc-expand-inline):
19952 * net/newst-backend.el (newsticker--cache-read-feed):
19953 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19954 condition-case handlers.
19956 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
19958 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19959 (gdb-var-list): Add an element for has_more field.
19960 (gdb-non-stop-handler): Enable pretty printing for STL containers.
19961 (gdb-var-create-handler, gdb-var-list-children-handler-1)
19962 (gdb-var-update-handler-1): Parse output of dynamic variable
19963 objects (STL containers).
19964 (gdb-var-delete-1): Pass var1 as an explicit second argument.
19965 (gdb-get-field): Delete alias. Use bindat-get-field directly.
19967 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19969 (gud-speedbar-buttons): Make node expandable if expression "has more"
19972 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
19974 * startup.el (emacs-quick-startup): Remove variable and all uses.
19975 (command-line): Set `inhibit-x-resources' instead.
19976 (command-line-1): Use `inhibit-x-resources' instead.
19978 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
19980 * subr.el: Fix last change to avoid using the `unless' macro,
19981 which breaks bootstrapping.
19983 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19985 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19986 extended definitions, in case we reload subr.el after having
19988 (eval-next-after-load): Mark as obsolete.
19990 2009-09-17 Juri Linkov <juri@jurta.org>
19992 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19993 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19994 (menu-bar-showhide-menu, menu-bar-tools-menu)
19995 (menu-bar-describe-menu, menu-bar-help-menu)
19996 (minibuffer-local-completion-map, minibuffer-local-map):
19999 2009-09-17 Glenn Morris <rgm@gnu.org>
20001 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
20002 arguments, whether or not it has a handler.
20004 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
20006 * simple.el (hard-newline): Give it a doc-string.
20008 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20009 (lisp-mode-syntax-table): Give them doc-strings.
20011 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
20013 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
20014 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
20015 (menu-bar-options-menu, menu-bar-showhide-menu)
20016 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
20017 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
20018 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
20019 (menu-bar-options-menu, menu-bar-tools-menu)
20020 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
20021 (menu-bar-help-menu):
20022 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
20025 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
20026 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
20027 calls for the menu names and :help.
20029 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
20031 * mouse.el (minor-mode-menu-from-indicator): Pay attention
20032 to :minor-mode-function (bug#4455).
20034 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
20036 * startup.el (command-line): Initialize the window-system after
20037 processing the command-line.
20039 * textmodes/page.el (what-page): Make sure we don't inf-loop if
20040 page-delimiter matches the empty string.
20042 2009-09-16 Glenn Morris <rgm@gnu.org>
20044 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
20045 byte-compile-not-obsolete-var. It's a list now.
20046 (byte-compile-not-obsolete-funcs): New variable.
20047 (byte-compile-warn-obsolete): Don't warn about functions if they are in
20048 byte-compile-not-obsolete-funcs.
20049 (byte-compile-variable-ref, byte-compile-defvar): Update for
20050 byte-compile-not-obsolete-vars name-change and list nature.
20051 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
20052 and variables behind (f)boundp tests.
20053 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
20055 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
20057 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
20059 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
20061 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
20062 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
20065 2009-09-15 Stephen Eglen <stephen@gnu.org>
20067 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
20068 the virtual-buffers, use the name of the buffer specified by
20069 find-file-noselect, as the match may be a symlink. (This was a
20070 problem if the target and the symlink had different names.)
20072 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
20074 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
20076 * desktop.el (desktop-path): Check user-emacs-directory.
20078 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
20080 * loadup.el: Use after-load-functions to GC after loading each file.
20081 Remove the explicit GC calls that used to be sprinkled around.
20083 * subr.el (after-load-functions): New hook.
20084 (do-after-load-evaluation): Run it. Use string-match-p to detect
20085 `obsolete' packages, rather than painfully extracting the relevant
20088 2009-09-15 Glenn Morris <rgm@gnu.org>
20090 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
20091 free variable `doc'.
20093 * dired.el (dired-mode-map): Add menu entry for async shell command.
20095 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
20096 variables, also consider the .elc files, since the .el files are
20097 normally gzipped (subsequent code locates the .el.gz from the .elc).
20099 * calc/calc-prog.el (arglist): Define for compiler.
20101 * calendar/diary-lib.el (diary-display-function): Change the default to
20103 (body): Define for compiler.
20105 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
20106 (byte-compile-file-form, byte-compile-lambda)
20107 (byte-compile-top-level-body, byte-compile-form)
20108 (byte-compile-variable-ref, byte-compile-setq)
20109 (byte-compile-setq-default, byte-compile-body)
20110 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
20111 (batch-byte-compile): Give some more local variables with common names
20112 a "bytecomp-" prefix to avoid masking warnings about free variables.
20114 * startup.el (command-line-1): Give local variables with common names a
20115 distinguishing prefix, so as not to hide free variable warnings during
20118 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
20119 clever and add a suffix to make a unique name, just let the user decide
20120 whether or not to overwrite it. If the input is a directory, write the
20121 default filename to that directory. (Bug#4388)
20122 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
20123 is a filename-as-a-directory.
20125 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
20127 * textmodes/page.el (what-page): Don't move to beginning of line.
20128 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
20130 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
20132 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
20134 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
20136 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
20137 * help.el (help-for-help-internal): Add purecopy calls for text.
20139 * vc.el (top): print-log method now takes an optional SHORTLOG
20140 argument. Add a new method: root.
20141 (vc-root-diff, vc-print-root-log): New functions.
20142 (vc-log-short-style): New variable.
20143 (vc-print-log-internal): Add support for showing short logs.
20145 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
20146 vc-print-root-log and vc-print-root-diff.
20148 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
20149 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
20150 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
20153 * vc-cvs.el (vc-cvs-print-log):
20154 * vc-mtn.el (vc-mtn-print-log):
20155 * vc-rcs.el (vc-rcs-print-log):
20156 * vc-sccs.el (vc-sccs-print-log):
20157 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
20158 that is ignored for now.
20160 * vc-mtn.el (vc-mtn-annotate-command):
20161 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
20163 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20165 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
20166 to function-key-map, and give them ascii-character property.
20167 * term/x-win.el (x-alternatives-map):
20168 * term/ns-win.el (ns-alternatives-map):
20169 * term/internal.el (msdos-key-remapping-map):
20170 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
20172 2009-09-14 Glenn Morris <rgm@gnu.org>
20174 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
20175 temp-buffers (2009-09-12).
20177 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
20179 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
20180 the new read-key function.
20182 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
20184 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
20185 is defined (Bug#4405).
20187 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
20189 * recentf.el (recentf-cleanup): Use a hash table to find
20190 duplicates (Bug#4407).
20192 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
20194 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
20195 kp-0 to ascii equivalents (Bug#4325).
20197 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
20199 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
20201 * eshell/em-hist.el:
20202 * eshell/em-dirs.el (eshell-complete-user-reference):
20203 Declare pcomplete functions and variables to avoid compiler warnings.
20205 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
20207 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
20208 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
20209 * eshell/em-alias.el (eshell-aliases-file):
20210 * eshell/em-hist.el (eshell-history-file-name):
20211 Use expand-file-name instead of concat to make file names (Bug#4308).
20213 2009-09-13 Glenn Morris <rgm@gnu.org>
20215 * ediff-merg.el (ediff-do-merge):
20216 * filesets.el (filesets-run-cmd):
20217 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
20218 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
20219 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
20220 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
20221 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
20222 Replace empty `let's with `progn'.
20224 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
20226 * mail/sendmail.el (send-mail-function):
20227 * tooltip.el (tooltip-mode):
20228 * simple.el (transient-mark-mode):
20229 * rfn-eshadow.el (file-name-shadow-mode):
20230 * frame.el (blink-cursor-mode):
20231 * font-core.el (global-font-lock-mode):
20232 * files.el (temporary-file-directory)
20233 (small-temporary-file-directory, auto-save-file-name-transforms):
20234 * epa-hook.el (auto-encryption-mode):
20235 * composite.el (global-auto-composition-mode):
20236 Use custom-initialize-delay.
20237 * startup.el (command-line): Don't explicitly call
20238 custom-reevaluate-setting for all the above vars.
20239 * custom.el (custom-initialize-safe-set)
20240 (custom-initialize-safe-default): Delete.
20242 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20244 * term/x-win.el (x-initialize-window-system):
20245 * term/w32-win.el (w32-initialize-window-system):
20246 * term/ns-win.el (ns-initialize-window-system): Don't call
20247 mouse-wheel-mode since it's enabled globally by default already.
20249 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
20250 actually define the variable, but only silences the byte-compiler.
20251 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
20252 before looking it up.
20253 (mouse-wheel-scroll-amount): Also reset the bindings if this value
20256 2009-09-12 Glenn Morris <rgm@gnu.org>
20258 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
20260 (elint-add-required-env): Don't beep on error.
20261 (elint-forms): In case of error, return ENV unchanged.
20262 (elint-init-env): Skip non-list forms.
20263 (elint-log): Handle unknown file positions.
20265 2009-09-12 Daiki Ueno <ueno@unixuser.org>
20267 * epg.el (epg-make-context): Add autoload cookie.
20268 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
20269 (epg-decrypt-string, epg-start-verify, epg-verify-file)
20270 (epg-verify-string, epg-start-sign, epg-sign-file)
20271 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
20272 (epg-encrypt-string, epg-start-export-keys)
20273 (epg-export-keys-to-file, epg-export-keys-to-string)
20274 (epg-start-import-keys, epg-import-keys-from-file)
20275 (epg-import-keys-from-string, epg-start-receive-keys)
20276 (epg-receive-keys, epg-import-keys-from-server)
20277 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
20278 (epg-sign-keys, epg-start-generate-key)
20279 (epg-generate-key-from-file, epg-generate-key-from-string):
20280 Remove autoload cookie.
20282 2009-09-12 Eli Zaretskii <eliz@gnu.org>
20284 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
20285 reevaluation of trash-directory.
20287 * mwheel.el: Fix last change.
20288 (mouse-wheel-mode): New defvar.
20289 (mouse-wheel-mode): Remove autoload cookie.
20291 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20293 * mwheel.el (mwheel-installed-bindings): New var.
20294 (mouse-wheel-mode): Use it, so as to make sure we really remove all
20295 the bindings we set last time. Use custom-initialize-delay.
20296 * loadup.el: Load mwheel after term/*-win.el.
20297 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
20298 and mouse-wheel-up-event now that their first evaluation is done
20299 sufficiently late to be correct.
20301 * startup.el (tutorial-directory): Make it a defcustom.
20302 Use custom-initialize-delay rather than eval-at-startup to set it.
20303 * image.el (image-load-path): Make it a defcustom.
20304 Use custom-initialize-delay rather than eval-at-startup to set it.
20305 * subr.el (eval-at-startup): Remove.
20306 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
20308 * subr.el (do-after-load-evaluation): Warn the user after loading an
20311 2009-09-12 Glenn Morris <rgm@gnu.org>
20313 * proced.el (proced-mark-alt): Remove alias.
20314 (proced-mode-map): Remove proced-mark-alt.
20316 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
20317 Elint file and directory. Remove initialization entry.
20319 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
20321 (elint-current-buffer): Set mode-line-process.
20322 (elint-init-env): Handle define-derived-mode.
20323 Fix declare-function with unspecified arglist. Guard against odd
20324 defalias statements (eg iso-insert's 8859-1-map).
20325 (elint-add-required-env): Use a temp buffer.
20326 (elint-form): Just print the function/macro name, not the whole form.
20327 Return env unchanged if we fail to parse a macro.
20328 (elint-forms): Guard against parse errors.
20329 (elint-output): New function, to handle batch mode.
20330 (elint-log-message): Add optional argument. Use elint-output.
20331 (elint-set-mode-line): New function.
20333 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
20335 * emacs-lisp/elp.el (elp-not-profilable): Add more
20336 functions (Bug#4233).
20338 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
20340 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
20341 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
20343 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
20345 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
20346 (gdb-var-list-children): Use json parsing.
20348 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
20350 * progmodes/js.el (js--proper-indentation): Handle the case where
20351 char-before is null. Reported by Deniz Dogan.
20353 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
20355 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
20357 2009-09-11 Daiki Ueno <ueno@unixuser.org>
20359 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
20360 (epg-digest-algorithm-alist): Add SHA224.
20361 (epg-context-set-passphrase-callback)
20362 (epg-context-set-progress-callback): Add description about
20365 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20367 * custom.el (custom-delayed-init-variables): New var.
20368 (custom-initialize-delay): New function.
20369 * startup.el (command-line): "Re"evaluate all vars in
20370 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
20371 explicitly any more.
20372 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
20373 to avoid creating a ~/.emacs.d at build-time (bug#4347).
20375 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
20377 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
20379 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
20380 (gdb-var-update-handler): Use json parsing.
20382 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
20384 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
20385 decode annotated text, regardless of language environment. (Bug#2741)
20387 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20389 * Makefile.in (autoloads): Make rmail.el writable as well.
20391 2009-09-11 Glenn Morris <rgm@gnu.org>
20393 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
20395 * dired.el: Regenerate with extracted autoloads.
20396 * Makefile.in (autoloads): Make dired.el writable.
20398 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
20399 * ibuffer.el: Regenerate with extracted autoloads.
20400 * Makefile.in (autoloads): Make ibuffer.el writable.
20402 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
20403 * version.el (emacs-copyright, emacs-major-version)
20404 (emacs-minor-version): Reformat doc-strings for make-docfile.
20406 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
20407 functions and variables, since they must be stuff specific to some other
20409 (apropos-print): Make mouse-click message less specific about button.
20411 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
20412 that records where a macro was defined.
20413 * help-fns.el (describe-function-1): Mention if a function has a
20415 * help-mode.el (help-function-cmacro): New button.
20417 * locate.el (top-level): Always require dired.
20418 (locate-mode-map): Initialize inside the defvar.
20420 * net/ange-ftp.el (dired-compress-file): Declare.
20421 (ange-ftp-dired-compress-file): Add doc string.
20423 * term/ns-win.el (x-display-name, x-setup-function-keys):
20424 Unify doc-strings with X versions.
20426 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20428 * emulation/crisp.el (crisp-mode-map): Move initialization
20430 (crisp-mode): Use define-minor-mode.
20432 * progmodes/xscheme.el (xscheme-evaluation-commands):
20433 Put a :advertised-binding property rather than using
20434 advertised-xscheme-send-previous-expression.
20435 (advertised-xscheme-send-previous-expression): Declare obsolete.
20436 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
20438 (crisp-mode): Add corresponding bindings to
20439 undo's :advertised-binding instead.
20440 * dired.el (dired-mode-map): Put a :advertised-binding property rather
20441 than using dired-advertised-find-file.
20442 (dired-advertised-find-file):
20443 * simple.el (advertised-undo):
20444 * wid-edit.el (advertised-widget-backward): Declare obsolete.
20445 (widget-keymap): Put a :advertised-binding property rather
20446 than using advertised-widget-backward.
20447 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
20448 than using advertised-undo.
20449 * tutorial.el (tutorial--default-keys): Adjust accordingly.
20451 2009-09-10 Simon South <ssouth@slowcomputing.org>
20453 * progmodes/delphi.el (delphi-tab): Indent region when Transient
20454 Mark mode is enabled and region is active; otherwise indent or
20455 insert TAB as usual.
20456 (delphi-mode): Update description of TAB-key binding.
20458 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
20460 * subr.el (define-key-rebound-commands): Mark obsolete.
20461 * startup.el (precompute-menubar-bindings): Remove.
20462 (normal-top-level): Remove obsolete code that tried to precompute
20464 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
20465 define-key-rebound-commands and precompute-menubar-bindings.
20467 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
20469 * net/imap.el (imap-interactive-login): Better messages.
20470 (imap-open): Fix bug with renamed buffer on reconnect.
20471 (imap-authenticate): Add buffer-local imap-last-authenticator variable
20472 for easier debugging and cleaner code. On successful (guessed based on
20473 server capabilities) secondary authentication, set imap-state
20475 (imap-last-authenticator): Define imap-last-authenticator as a variable
20478 2009-09-10 Glenn Morris <rgm@gnu.org>
20480 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
20482 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
20483 (byte-compile-file-form-autoload): Don't warn about unknown functions
20484 where the autoload statement comes after the use.
20485 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
20486 that any handlers inside the body (eg require) are in turn respected.
20488 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
20491 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
20492 and syntax and abbrev tables basic docs, if they don't have any.
20494 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
20496 * international/mule-cmds.el (top-level): Require cl when compiling.
20497 (view-hello-file): Use default-value rather than
20498 default-enable-multibyte-characters.
20500 * progmodes/fortran.el: Move all safe and risky properties into the
20503 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
20504 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
20505 * mail/undigest.el:
20506 Put autoloads in rmail.el rather than loaddefs.el.
20507 * mail/rmail.el: Regenerate with extracted autoloads.
20509 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
20510 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
20512 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
20514 Reported in thread for Bug#4375.
20515 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
20516 "-data-evaluate-expression" instead of print.
20517 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
20518 (gdb-tooltip-print): Parse output from above MI command.
20519 (gdb): Revert 2009-08-11 change. User should detach inferior
20522 Remove the word "separate" from IO functions as inferior
20523 output is now never displayed in the GUD buffer.
20525 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
20527 * startup.el (command-line-normalize-file-name): On Windows and
20528 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
20530 2009-09-10 Juri Linkov <juri@jurta.org>
20532 * isearch.el (isearch-text-char-description): Propertize escape
20533 character sequences with the `escape-glyph' face. (Bug#4344)
20535 * simple.el (shell-command): Set asynchronous process filter to
20536 `comint-output-filter'. (Bug#4343)
20538 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
20539 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
20540 the list. Move "asm" to the bottom.
20541 (grep-find-ignored-directories): Add `choice' with nil value
20542 to empty the list easily.
20543 (grep-find-ignored-files): New option.
20544 (grep-files-history): Set to nil by default instead of '("ch" "el").
20545 (grep-compute-defaults): Add "<X>" to `grep-template'.
20546 (grep-read-files): Bind new local variables `default-alias' and
20547 `default-extension'. Use a list of default values for the file prompt.
20548 (lgrep): Add `--exclude=' command line options composed from
20549 `grep-find-ignored-files'.
20550 (rgrep): Add `-name' command line options composed from
20551 `grep-find-ignored-files'. (Bug#4301)
20553 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
20555 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
20558 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
20560 * calendar/time-date.el (autoload):
20561 Expand define-obsolete-function-alias into defalias and make-obsolete
20562 for old Emacsen that Gnus supports.
20563 (with-no-warnings): Define it for old Emacsen.
20564 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
20566 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
20567 float-time is available; suppress compile warning for time-to-seconds.
20569 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
20571 * net/imap.el (imap-message-map): Docstring fix.
20573 2009-09-09 Glenn Morris <rgm@gnu.org>
20575 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
20576 line numbers too. (Bug#4374)
20578 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
20580 * smerge-mode.el (smerge-remove-props, smerge-refine):
20581 Use with-silent-modifications (bug#4342).
20583 * subr.el (with-silent-modifications): New macro.
20585 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
20587 * files.el (top-level): Require `cl' when compiling.
20589 2009-09-07 Glenn Morris <rgm@gnu.org>
20591 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
20593 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
20594 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
20596 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
20598 * vc-git.el (vc-git-annotate-command): Use separator to parse
20599 arguments correctly.
20601 2009-09-06 Eli Zaretskii <eliz@gnu.org>
20603 * proced.el (proced-mode): Doc fix.
20605 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
20607 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
20609 (tramp-do-file-attributes-with-ls): Check for file existence at
20611 (tramp-do-file-attributes-with-stat): Likewise.
20612 (tramp-convert-file-attributes): Return nil when attr is nil.
20614 2009-09-05 Glenn Morris <rgm@gnu.org>
20616 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
20617 properties to this button.
20618 (diary-fancy-display): Don't extend the button to the final newline.
20619 (diary-fancy-display-mode): Continue to define "q" as a local key.
20621 * calendar/cal-china.el (holiday-chinese): Make it slightly more
20624 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
20626 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
20627 (byte-compile-dest-file-function): New option.
20628 (byte-compile-dest-file): Doc fix.
20629 Obey byte-compile-dest-file-function.
20630 (byte-compile-cl-file-p): New function.
20631 (byte-compile-eval): Only suppress noruntime warnings about cl functions
20632 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
20633 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
20634 than for file being previously loaded.
20635 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
20636 (byte-compile-file-form-require): Handle the case where requiring a file
20637 indirectly causes CL to be loaded.
20639 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20641 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
20642 before killing the old buffer, since by the time `kill-buffer' is
20643 run so many buffer variables have been set to nil that it may not
20644 behave as expected. (Bug#4061)
20646 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20648 * files.el (find-alternate-file): If the old buffer is modified
20649 and visiting a file, behave similarly to `kill-buffer' when
20650 killing it, thus reverting to the pre-1.878 behavior; see
20651 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
20652 for discussion. Also, consult `buffer-file-name' as a variable
20653 not as a function, for consistency with the rest of the code.
20655 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
20657 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
20658 also when adding a new directory.
20660 * net/tramp-compat.el (tramp-compat-line-beginning-position):
20663 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
20665 * files.el (locate-file-completion-table): Make it provide boundary
20666 information, so partial-completion works better.
20668 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
20670 * mail/footnote.el (Footnote-text-under-cursor):
20671 Check footnote-text-marker-alist before using it (bug#4324).
20673 2009-09-04 Glenn Morris <rgm@gnu.org>
20675 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
20676 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
20677 * play/solitaire.el, play/tetris.el:
20678 Remove leading * from defcustom and defface docs.
20680 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
20682 (diary-fancy-overriding-map): New variable.
20683 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
20686 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
20689 2009-09-03 Glenn Morris <rgm@gnu.org>
20691 * arc-mode.el (archive-mode):
20692 * dos-fns.el (set-default-process-coding-system):
20693 * man.el (Man-getpage-in-background):
20694 * menu-bar.el (menu-bar-describe-menu):
20695 * server.el (server-process-filter):
20696 * startup.el (command-line):
20697 * tar-mode.el (tar-header-block-tokenize, tar-extract):
20698 * w32-fns.el (set-default-process-coding-system):
20699 * x-dnd.el (x-dnd-handle-file-name):
20700 * international/mule-cmds.el (mule-menu-keymap)
20701 (set-default-coding-systems, language-info-alist, set-language-info)
20702 (set-language-environment, standard-display-european-internal)
20703 (set-locale-environment):
20704 * international/mule-diag.el (mule-diag):
20705 * mail/emacsbug.el (report-emacs-bug):
20706 * mail/rmail.el (rmail-mode):
20707 * mail/sendmail.el (mail-setup):
20708 Use default-value rather than default-enable-multibyte-characters.
20710 * progmodes/f90.el: Move all safe properties into the defcustoms.
20711 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
20713 * calendar/appt.el (appt-check):
20714 * calendar/diary-lib.el (diary-set-header, diary-live-p)
20715 (diary-check-diary-file, diary-list-entries)
20716 (diary-include-other-diary-files, diary-simple-display)
20717 (diary-fancy-display, diary-print-entries)
20718 (diary-mark-included-diary-files, diary-make-entry):
20719 Don't call substitute-in-file-name on diary-file.
20721 2009-09-03 Eduard Wiebe <usenet@pusto.de>
20722 Stefan Monnier <monnier@iro.umontreal.ca>
20724 * mail/footnote.el (footnote-prefix): Make it a defcustom.
20725 (footnote-mode-map): Move initialization into the declaration.
20726 (footnote-minor-mode-map): Define it rather than changing global-map.
20727 (footnote-mode): Use define-minor-mode.
20729 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
20731 * net/tramp.el (tramp-handle-file-attributes-with-ls)
20732 (tramp-do-file-attributes-with-perl)
20733 (tramp-do-file-attributes-with-stat): Rename from
20734 `tramp-handle-file-attributes-with-*'.
20735 (tramp-handle-file-attributes): Use them.
20736 (tramp-do-directory-files-and-attributes-with-perl)
20737 (tramp-do-directory-files-and-attributes-with-stat): Rename from
20738 `tramp-handle-directory-files-and-attributes-with-*'.
20739 (tramp-handle-directory-files-and-attributes): Use them.
20740 (tramp-method-out-of-band-p): Additional parameter SIZE.
20741 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
20742 (tramp-handle-write-region): Use it.
20743 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
20744 (tramp-handle-vc-registered): Check, whether the first run did
20745 return files to be tested.
20746 (tramp-advice-make-auto-save-file-name): Do not call directly
20747 `tramp-handle-make-auto-save-file-name', because this would bypass
20748 the locking mechanism.
20750 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
20751 (file-remote-p, process-file, start-file-process, set-file-times)
20752 (tramp-compat-file-attributes): Compatibility functions shall not
20753 call directly `tramp-handle-*', because this would bypass the
20755 (tramp-compat-number-sequence): New defun.
20757 2009-09-02 Glenn Morris <rgm@gnu.org>
20759 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
20760 alias for float-time.
20761 (time-to-number-of-days): In Emacs, use float-time.
20762 * net/newst-backend.el (time-add): Suppress warnings from compat
20764 * time.el (emacs-uptime, emacs-init-time):
20765 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
20766 Use float-time rather than time-to-seconds.
20768 * minibuffer.el (completion-initials-expand): Fix typo.
20770 * faces.el (modeline, modeline-inactive, modeline-highlight)
20771 (modeline-buffer-id):
20772 * info.el (info-menu-5): Mark these face aliases as obsolete.
20774 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20776 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
20778 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
20779 no "--thread" option.
20780 (gdb-stopped): Don't print "Switched to thread" message when it is
20783 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
20785 * minibuffer.el (completion-try-completion)
20786 (completion-all-completions): Remove ill-defined (and
20787 mistakenly installed and luckily never used nor documented)
20788 `completion-styles' property.
20789 (completion-initials-expand, completion-initials-all-completions)
20790 (completion-initials-try-completion): New functions.
20791 (completion-styles-alist): Add doc to each entry.
20792 Add new `initials' entry.
20794 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20796 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20797 MI command -var-evaluate-expression.
20798 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20799 and tweak for case of string child.
20800 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20802 2009-09-01 Glenn Morris <rgm@gnu.org>
20804 * add-log.el (change-log-date-face, change-log-name-face)
20805 (change-log-email-face, change-log-file-face, change-log-list-face)
20806 (change-log-conditionals-face, change-log-function-face)
20807 (change-log-acknowledgement-face):
20808 * cus-edit.el (custom-invalid-face, custom-rogue-face)
20809 (custom-modified-face, custom-set-face, custom-changed-face)
20810 (custom-saved-face, custom-button-face, custom-button-pressed-face)
20811 (custom-documentation-face, custom-state-face, custom-comment-face)
20812 (custom-comment-tag-face, custom-variable-tag-face)
20813 (custom-variable-button-face, custom-face-tag-face)
20814 (custom-group-tag-face-1, custom-group-tag-face):
20815 * diff-mode.el (diff-header-face, diff-file-header-face)
20816 (diff-index-face, diff-hunk-header-face, diff-removed-face)
20817 (diff-added-face, diff-changed-face, diff-function-face)
20818 (diff-context-face, diff-nonexistent-face):
20819 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20820 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20821 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20822 (Info-title-4-face):
20823 * isearch.el (isearch-lazy-highlight-face):
20824 * log-view.el (log-view-file-face, log-view-message-face):
20825 * paren.el (show-paren-match-face, show-paren-mismatch-face):
20826 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20827 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20829 * smerge-mode.el (smerge-mine-face, smerge-other-face)
20830 (smerge-base-face, smerge-markers-face):
20831 * wid-edit.el (widget-documentation-face, widget-button-face)
20832 (widget-field-face, widget-single-line-field-face)
20833 (widget-inactive-face, widget-button-pressed-face):
20834 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20835 (woman-addition-face):
20836 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20837 (eshell-ls-executable-face, eshell-ls-readonly-face)
20838 (eshell-ls-unreadable-face, eshell-ls-special-face)
20839 (eshell-ls-missing-face, eshell-ls-archive-face)
20840 (eshell-ls-backup-face, eshell-ls-product-face)
20841 (eshell-ls-clutter-face):
20842 * eshell/em-prompt.el (eshell-prompt-face):
20843 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20844 * obsolete/old-whitespace.el (whitespace-highlight-face):
20845 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20846 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20847 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20848 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20849 (antlr-font-lock-literal-face):
20850 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20851 (ebrowse-root-class-face, ebrowse-file-name-face)
20852 (ebrowse-default-face, ebrowse-member-attribute-face)
20853 (ebrowse-member-class-face, ebrowse-progress-face):
20854 * progmodes/make-mode.el (makefile-space-face):
20855 * progmodes/sh-script.el (sh-heredoc-face):
20856 * textmodes/flyspell.el (flyspell-incorrect-face)
20857 (flyspell-duplicate-face):
20858 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20859 * textmodes/texinfo.el (texinfo-heading-face):
20860 Mark face aliases with "-face" suffix as obsolete.
20862 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20865 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20866 (eudc-bob-sound-menu): Use defvar rather than defconst, since
20867 easy-menu-define wants to modify these.
20869 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20871 * net/browse-url.el (browse-url-file-url):
20872 * term/internal.el (dos-codepage-setup):
20873 Use default-value rather than default-enable-multibyte-characters.
20875 * progmodes/etags.el (etags-goto-tag-location):
20876 * progmodes/flymake.el (flymake-highlight-line)
20877 (flymake-goto-file-and-line, flymake-goto-line):
20878 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20879 (gdb-goto-breakpoint):
20880 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20881 * progmodes/python.el (python-find-function)
20882 (python-pdbtrack-track-stack-file):
20883 * progmodes/verilog-mode.el (verilog-surelint-off):
20884 * term/ns-win.el (ns-open-file-select-line):
20885 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20886 Use forward-line rather than goto-line.
20888 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20889 * textmodes/reftex-index.el (reftex-display-index):
20890 * textmodes/reftex-ref.el (reftex-offer-label-menu):
20891 * textmodes/reftex-toc.el (reftex-toc):
20892 Remove unnecessary bindings of default-major-mode (all are followed by
20893 major-mode check and possible mode switch).
20895 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20897 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20898 Handle watchpoints (bug#4282).
20899 (def-gdb-thread-buffer-command): Enable thread to be selected by
20900 clicking without selecting threads buffer first.
20901 (gdb-current-context-command): Use selected frame so that "up",
20902 "down" etc work in the GUD buffer.
20903 (gdb-update): Find selected frame before rendering stack buffer.
20904 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20906 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
20908 * progmodes/sym-comp.el (displayed-completions): Remove.
20909 (symbol-complete): Use minibuffer-complete.
20911 2009-08-31 Glenn Morris <rgm@gnu.org>
20913 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20915 * apropos.el (apropos-symbols-internal):
20916 Handle (obsolete) face aliases.
20918 * faces.el (describe-face): Adjust the output format to be more like
20919 describe-variable, and to mention (obsolete) face aliases.
20920 Adjust the whitespace so that help-setup-xref works.
20922 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20923 * calendar/diary-lib.el (diary-button-face):
20924 Mark these face aliases as obsolete.
20926 * calendar/calendar.el (calendar-today): Doc fix.
20928 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20930 * progmodes/gdb-mi.el (gdb-control-all-threads)
20931 (gdb-control-current-thread): Force tool bar update.
20932 (gdb-non-stop-handler): New function.
20933 (gdb-init-1): Use it to test if non-stop mode is supported.
20934 Remove unused gdbmi buffer type.
20936 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
20938 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20939 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
20941 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
20943 * comint.el (comint-exec-1): Check command is non-null first.
20944 Part of gdb-mi.el change (2009-08-28).
20946 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20948 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20950 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
20952 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20953 instead of `dolist' to avoid a recursive require when bootstrapping.
20955 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20957 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20959 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20961 * net/imap.el (imap-send-command): Simplify.
20962 (imap-wait-for-tag): point-max -> buffer-size.
20964 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20966 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20967 with constant argument.
20969 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20971 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20973 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20974 Change default, since most of our files don't have a history.
20975 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20978 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20981 * calc/calc.el: Improve commenting convention.
20982 (calc-digit-map, toplevel): Simplify.
20984 * comint.el (comint-insert-input): Be careful to only set point if we
20985 don't delegate to some other command.
20987 * proced.el (proced-signal-list): Make it an alist.
20988 (proced-grammar-alist): Capitalize names.
20989 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20990 Disable undo manually and make it read-only.
20991 Use completion-annotate-function.
20993 * minibuffer.el (minibuffer-message): If the current buffer is not
20994 a minibuffer, insert the message in the echo area rather than at the
20996 (completion-annotate-function): New variable.
20997 (minibuffer-completion-help): Use it.
20998 (completion--embedded-envvar-table): Environment vars are
20999 always case-sensitive.
21001 2009-08-30 Glenn Morris <rgm@gnu.org>
21003 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
21004 from fortran-current-defun.
21005 (fortran-beginning-of-subprogram): Be more precise about finding the
21006 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
21007 (fortran-end-of-subprogram): Simplify.
21008 (fortran-current-defun): Use fortran-start-prog-re.
21010 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
21012 * subr.el (do-after-load-evaluation): Simplify.
21014 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
21016 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
21018 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
21019 (vc-rcs-print-log): Use it.
21021 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
21023 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
21025 * paths.el (abbrev-file-name): Move to abbrev.el.
21026 * abbrev.el (abbrev-file-name): Move from paths.el.
21027 Obey user-emacs-directory.
21028 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
21029 user-emacs-directory.
21030 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
21031 abbrev-file-name and calc-settings-file any more.
21032 * startup.el (command-line): Recompute abbrev-file-name and
21033 abbreviated-home-dir.
21034 (normal-no-mouse-startup-screen): Improve the generic code and get rid
21035 of the special code for when C-h bindings haven't been changed.
21036 (display-startup-echo-area-message): Use with-current-buffer.
21037 (command-line-1): Use a list of strings, rather than a list of lists
21038 of strings for longopts.
21040 * files.el (get-free-disk-space): Use / for default-directory.
21042 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
21043 Use with-current-buffer.
21045 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
21046 Recognize immutable variables like most-positive-fixnum.
21047 (byte-compile-setq-default): Check and warn if trying to assign
21048 to an immutable variable, or a non-variable.
21050 * progmodes/cc-vars.el (c-comment-continuation-stars):
21051 * progmodes/cc-engine.el (c-looking-at-bos):
21052 * progmodes/cc-cmds.el (c-toggle-auto-state)
21053 (c-forward-into-nomenclature, c-backward-into-nomenclature)
21054 (c-comment-line-break-function): Add version of obsolescence.
21056 2009-08-28 Juri Linkov <juri@jurta.org>
21058 * files.el (magic-fallback-mode-alist): Add ZIP magic number
21059 associated with `archive-mode'.
21061 * image.el (image-type-header-regexps): Use only JPEG magic number
21062 to determine JPEG images, and don't use `image-jpeg-p' because
21063 Emacs can display non-JFIF non-Exif JPEG images.
21065 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
21067 * arc-mode.el (archive-mode):
21068 * emacs-lisp/re-builder.el (re-builder-unload-function):
21069 Protect against the default value of `major-mode' being nil.
21071 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
21073 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
21074 Fix typos in docstrings.
21076 * progmodes/js.el (js--macro-decl-re): Doc fix.
21077 (js--plain-method-re, js--split-name): Refloc docstring.
21078 (js--class-styles, js--make-merged-item, js--splice-into-items):
21079 Fix typos in docstrings; reflow docstrings.
21080 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
21081 (js--variable-decl-matcher, js--inside-pitem-p)
21082 (js--parse-state-at-point, js--get-all-known-symbols)
21083 (js--symbol-history, js-find-symbol, js--js-references)
21084 (js--moz-interactor, js--js-encode-value, js--read-tab):
21085 Fix typos in docstrings.
21087 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21089 * textmodes/reftex.el (reftex-get-file-buffer-force):
21090 * progmodes/verilog-mode.el (verilog-batch-execute-func):
21091 * emulation/viper.el (viper-go-away, viper-set-hooks):
21092 * emacs-lisp/re-builder.el (re-builder-unload-function):
21093 * emacs-lisp/bytecomp.el (byte-compile-file):
21094 * ses.el (ses-unload-function):
21095 * hexl.el (hexl-find-file):
21096 * files.el (normal-mode):
21097 * ehelp.el (with-electric-help):
21098 * autoinsert.el (auto-insert-alist):
21099 * arc-mode.el (archive-mode):
21100 Use (default-value 'major-mode) instead of default-major-mode.
21102 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
21103 * international/mule.el (load-with-code-conversion):
21104 * emacs-lisp/debug.el (debug):
21105 * ediff-vers.el (ediff-rcs-get-output-buffer):
21106 * dired.el (dired-internal-noselect): Don't let-bind
21107 default-major-mode around code that doesn't use it.
21108 E.g. buffer creation via get-buffer-create doesn't use it.
21110 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
21112 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
21113 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
21114 when writing the temp file. Otherwise, epa-file gets confused.
21115 (tramp-register-file-name-handlers): Make it a defun. Move also
21116 `epa-file-handler' to the front of `file-name-handler-alist'.
21118 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21120 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
21121 start right after a ^M.
21122 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
21123 (tramp-completion-file-name-regexp-separate)
21124 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
21125 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
21126 Don't modify last-coding-system-used by accident.
21127 (tramp-completion-file-name-handler): Apply the checks here,
21128 instead during registration.
21129 (tramp-register-file-name-handlers): Rename from
21130 `tramp-register-file-name-handler'. Register both
21131 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
21132 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
21134 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
21136 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
21137 Remove variable ...
21138 (gdb-init-1, gdb-display-separate-io-buffer)
21139 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
21141 (gdb-inferior-io-mode): Use make-comint-in-buffer.
21142 (gdb-inferior-filter): Use comint-output-filter to stop
21143 echoing and remove ^M characters.
21145 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21147 * emulation/viper-init.el (viper-restore-cursor-type):
21148 * emulation/cua-base.el (cua--update-indications):
21149 Replace default-cursor-type with (default-value 'cursor-type).
21151 * mail/sendmail.el (mail-recover-1):
21152 * international/mule-diag.el (describe-current-coding-system-briefly)
21153 (describe-current-coding-system):
21154 * international/mule-cmds.el (select-safe-coding-system)
21155 (select-message-coding-system)
21156 (set-language-environment-coding-systems, set-locale-environment):
21157 * hexl.el (hexl-insert-multibyte-char):
21158 * dos-w32.el (find-buffer-file-type-coding-system):
21159 * simple.el (what-cursor-position):
21160 Replace uses of default-buffer-file-coding-system
21161 with (default-value 'buffer-file-coding-system).
21163 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
21164 Replace uses of default-cursor-in-non-selected-windows
21165 with (default-value 'cursor-in-non-selected-windows).
21166 Use with-current-buffer.
21168 * mail/feedmail.el: Use CL macros.
21169 (feedmail-run-the-queue, feedmail-send-it-immediately):
21170 * dos-w32.el (find-buffer-file-type): Replace uses of
21171 default-buffer-file-type with (default-value 'buffer-file-type).
21173 2009-08-28 Glenn Morris <rgm@gnu.org>
21175 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
21176 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
21177 Use default-value of major-mode rather than default-major-mode.
21179 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
21181 * Makefile.in (update-elcfiles): Report left over elc files.
21183 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
21184 expand-file-name and with-current-buffer.
21185 (mail-get-names, mail-directory): Use with-current-buffer.
21187 * vc.el (vc-read-revision): New function.
21188 (vc-version-diff, vc-merge): Use it.
21190 2009-08-27 Sam Steingold <sds@gnu.org>
21192 * simple.el (kill-do-not-save-duplicates): New user option.
21193 (kill-new): When it is non-nil, and the new string is the same as
21194 the latest kill, set replace to t to avoid duplicates in kill-ring.
21196 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
21198 * net/tramp.el (tramp-handle-process-file): Do not flush all
21199 caches when `process-file-side-effects' is set.
21200 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
21201 instead of `tramp-find-file-exists-command'.
21202 Unset `process-file-side-effects'.
21204 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
21206 * net/tramp.el (tramp-methods): New method "rsyncc".
21207 (top): Add completion function for "rsyncc".
21208 (tramp-message-show-message): New defvar.
21209 (tramp-message, tramp-error): Use it.
21210 (tramp-do-copy-or-rename-file-directly): Extend check for direct
21212 (tramp-do-copy-or-rename-file-out-of-band): Handle new
21213 `tramp-methods' entry `copy-env' of "rsyncc".
21214 (tramp-vc-registered-read-file-names): New defconst.
21215 (tramp-vc-registered-file-names): New defvar.
21216 (tramp-handle-vc-registered): Implement optimization strategy.
21217 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
21218 (tramp-vc-file-name-handler): New defun.
21219 (tramp-get-ls-command, tramp-get-test-command)
21220 (tramp-get-file-exists-command, tramp-get-remote-ln)
21221 (tramp-get-remote-perl, tramp-get-remote-stat)
21222 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
21224 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
21225 (tramp-cache-inhibit-cache): Extend doc string. It allows also
21227 (tramp-get-file-property): Check for timestamps in
21228 `tramp-cache-inhibit-cache'.
21229 (tramp-set-file-property): Write timestamp.
21231 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21233 * language/japan-util.el (japanese-symbol-table): Add entries for
21236 * international/characters.el: Add category `j' to cp932-2-byte.
21238 2009-08-27 Kenichi Handa <handa@m17n.org>
21240 * international/fontset.el (build-default-fontset-data): New macro.
21241 (setup-default-fontset): Use build-default-fontset-data for CJK,
21242 tibetan, ethiopic, and ipa.
21244 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
21246 * cus-start.el (default-major-mode): Customize `major-mode' instead.
21247 (enable-multibyte-characters): Not customizable any more.
21249 * subr.el (default-mode-line-format, default-header-line-format)
21250 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
21251 (default-direction-reversed, default-truncate-lines)
21252 (default-left-margin, default-tab-width, default-case-fold-search)
21253 (default-left-margin-width, default-right-margin-width)
21254 (default-left-fringe-width, default-right-fringe-width)
21255 (default-fringes-outside-margins, default-scroll-bar-width)
21256 (default-vertical-scroll-bar, default-indicate-empty-lines)
21257 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
21258 (default-fringe-cursor-alist, default-scroll-up-aggressively)
21259 (default-scroll-down-aggressively, default-fill-column)
21260 (default-cursor-type, default-buffer-file-type)
21261 (default-cursor-in-non-selected-windows)
21262 (default-buffer-file-coding-system, default-major-mode)
21263 (default-enable-multibyte-characters): Mark as obsolete.
21265 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
21267 * vc-dir.el (vc-dir-update): Remove debug helper.
21269 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
21271 2009-08-26 Sam Steingold <sds@gnu.org>
21273 * simple.el (save-interprogram-paste-before-kill): New user option.
21274 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
21275 save the interprogram-paste into kill-ring before overriding it
21276 with the Emacs kill.
21278 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
21280 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
21281 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
21282 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
21283 and move to vc-rcs.el.
21284 (vc-default-next-revision): Rename to vc-rcs-next-revision and
21286 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
21287 (vc-rcs-update-changelog): Remove.
21288 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
21289 and move to vc-rcs.el.
21291 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
21292 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
21294 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
21295 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
21296 vc.el, renamed to be RCS specific.
21298 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
21300 (vc-cvs-update-changelog): Move here from vc.el.
21302 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
21305 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
21307 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
21309 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
21311 * vc-git.el (vc-git-register): Use "git add" for directories.
21312 (vc-git-stash, vc-git-stash-show): New functions.
21313 (vc-git-extra-menu-map): Bind them.
21315 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
21316 directory correctly in case the item is a directory itself.
21318 * vc.el: Document the desired behavior for reverted files in the
21320 (vc-default-prettify-state-info): Remove function, unused.
21322 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
21324 2009-08-26 Glenn Morris <rgm@gnu.org>
21326 * bindings.el (standard-mode-line-format): Reposition dashes in
21327 which-func entry. (Bug#4217)
21329 * files.el (enable-local-variables, enable-local-eval)
21330 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
21332 (auto-mode-alist, ignored-local-variables)
21333 (save-some-buffers-action-alist): Move risky declarations to the
21335 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
21336 (font-lock-defaults, format-alist, imenu--index-alist)
21337 (imenu-generic-expression, input-method-alist, minor-mode-alist)
21338 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
21339 (mode-line-modified, mode-line-mule-info, mode-line-position)
21340 (mode-line-process, mode-line-remote, outline-level)
21341 (parse-time-rules, rmail-output-file-alist)
21342 (special-display-buffer-names, vc-mode):
21343 Move risky declarations to the relevant files.
21344 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
21345 (mode-line-modified, mode-line-process, mode-line-position)
21346 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
21347 * font-core.el (font-lock-defaults):
21348 * format.el (format-alist):
21349 * vc-hooks.el (vc-mode):
21350 * window.el (special-display-buffer-names):
21351 * international/mule-cmds.el (input-method-alist):
21352 Define riskiness here (dumped file) rather than in files.el.
21353 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
21354 * imenu.el (imenu-generic-expression, imenu--index-alist):
21355 * outline.el (outline-level):
21356 * time.el (display-time-string):
21357 * calendar/parse-time.el (parse-time-rules):
21358 * mail/rmailout.el (rmail-output-file-alist):
21359 Autoload riskiness here, rather than placing in files.el.
21361 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
21363 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
21365 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
21367 * simple.el (process-file-side-effects): New defvar.
21369 * dired-aux.el (dired-show-file-type):
21370 * vc.el (vc-diff-internal):
21371 * vc-arch.el (vc-arch-diff):
21372 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
21373 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
21374 * vc-git.el (vc-git-registered, vc-git-working-revision)
21375 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
21376 (vc-git--empty-db-p):
21377 * vc-hooks.el (vc-user-login-name):
21378 * vc-svn.el (vc-svn-registered, vc-svn-state)
21379 (vc-svn-dir-extra-headers, vc-svn-find-revision):
21380 * progmodes/grep.el (grep-probe): Let-bind
21381 `process-file-side-effects' with nil.
21383 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
21385 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
21386 daemon. Replace ping by checking for running service for bluez
21387 and zeroconf. (Bug#4239)
21389 2009-08-25 Kevin Ryde <user42@zip.com.au>
21391 * net/dig.el (dig): Add autoload cookie.
21393 2009-08-25 Glenn Morris <rgm@gnu.org>
21395 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
21396 load-history for absolute file-names.
21397 (byte-compile-file-form-require): Warn about use of the cl package.
21399 * format.el (format-alist): Doc fix.
21401 * play/bubbles.el (top-level): Don't require cl at run-time.
21403 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
21406 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
21408 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
21410 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
21412 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
21414 * calc/calc-alg.el (math-trig-rewrite)
21415 (math-hyperbolic-trig-rewrite): New functions.
21416 (calc-simplify): Simplify trig functions when asked.
21418 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21420 * diff-mode.el (diff-find-source-location): Avoid goto-line.
21422 2009-08-24 Kenichi Handa <handa@m17n.org>
21424 * language/ind-util.el (mapthread): Delete it.
21425 (combinatorial): New function.
21426 (indian--puthash-cv): Use combinatorial instead of mapthread.
21428 2009-08-22 Kevin Ryde <user42@zip.com.au>
21430 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
21431 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
21432 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
21433 Clarify docstring that the value is strings not symbols.
21434 (checkdoc-list-of-strings-p): New function.
21436 2009-08-22 Glenn Morris <rgm@gnu.org>
21438 * files.el (auto-mode-alist):
21439 * hippie-exp.el (he-concat-directory-file-name):
21440 * lpr.el (lpr-windows-system, printer-name):
21441 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
21442 * ps-print.el (ps-windows-system):
21443 * startup.el (command-line):
21444 * emulation/viper-ex.el (viper-glob-function):
21445 * international/mule-cmds.el (set-language-environment-coding-systems):
21446 * net/ange-ftp.el (ange-ftp-write-region):
21447 * obsolete/fast-lock.el (fast-lock-cache-name):
21448 Remove code for defunct system-types emx, macos, mswindows, next-mach,
21449 unisoft-unix, vax-vms, win32, w32.
21451 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
21452 given name if the pattern is not more specific.
21454 * calendar/lunar.el (lunar-phase-names): New option.
21455 (lunar-phase): Doc fix.
21456 (lunar-cycles-per-year): New constant.
21457 (lunar-index): New function.
21458 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
21459 (lunar-phase-name): Use lunar-phase-names.
21460 (calendar-lunar-phases): Use format.
21461 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
21463 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
21464 Copy imenu-example--name-and-position function here for own use.
21465 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
21467 * bs.el (bs--redisplay):
21468 * cus-edit.el (custom-redraw):
21469 * ibuffer.el (ibuffer-bury-buffer):
21470 * server.el (server-goto-line-column):
21471 * startup.el (command-line-1):
21472 * strokes.el (strokes-xpm-for-stroke):
21473 * term.el (term-display-buffer-line):
21474 * view.el (View-goto-line):
21475 * calc/calc.el (calc-do, calc-trail-buffer):
21476 * play/gamegrid.el (gamegrid-add-score-insecure):
21477 * progmodes/ada-mode.el (ada-compile-goto-error):
21478 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
21479 (ebrowse-select-1st-to-9nth):
21480 * progmodes/cperl-mode.el (cperl-time-fontification):
21481 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
21482 * progmodes/gud.el (gud-display-line):
21483 (idlwave-shell-display-line):
21484 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
21485 * progmodes/make-mode.el (makefile-browser-toggle):
21486 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
21487 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
21488 * textmodes/picture.el (picture-draw-rectangle):
21489 * textmodes/reftex-index.el (reftex-index-goto-letter):
21490 (reftex-select-jump-to-previous):
21491 * textmodes/reftex-sel.el (reftex-find-start-point)
21492 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
21493 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
21494 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
21495 * textmodes/tex-mode.el (tex-compilation-parse-errors):
21496 * textmodes/two-column.el (2C-associated-buffer):
21497 Use forward-line rather than goto-line.
21499 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
21502 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
21503 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
21504 (quick-check-list-to-regexp): Declare.
21506 * progmodes/make-mode.el (makefile-browser-insert-selection):
21507 Use goto-char rather than goto-line.
21509 * progmodes/prolog.el (compilation-error-regexp-alist)
21510 (compilation-forget-errors): Declare.
21512 2009-08-22 Juri Linkov <juri@jurta.org>
21514 * progmodes/grep.el (lgrep, rgrep): At the beginning
21515 set `dir' to `default-directory' unless `dir' is a non-nil
21516 readable directory. (Bug#4052)
21517 (lgrep, rgrep): Change a weird way to report an error
21518 from using `read-string' to using `error'.
21519 Instead of using interactive arguments in the function body,
21520 add new argument `confirm'.
21522 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
21524 * textmodes/remember.el (remember-buffer):
21525 * progmodes/cperl-mode.el (cperl-vc-header-alist):
21526 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
21527 (icalendar-extract-ical-from-buffer):
21528 * net/newst-treeview.el (newsticker-groups-filename):
21529 * net/newst-backend.el (newsticker-cache-filename):
21530 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
21531 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
21532 (speedbar-add-ignored-path-regexp, speedbar-line-path)
21533 (speedbar-buffers-line-path, speedbar-path-line)
21534 (speedbar-buffers-line-path):
21535 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
21537 * epa.el (epa-display-verify-result):
21538 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
21540 2009-08-21 Glenn Morris <rgm@gnu.org>
21542 * progmodes/js.el (inferior-moz-process): Fix declaration.
21544 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
21546 * obsolete/rnewspost.el (news-mail-reply):
21547 Use goto-char rather than goto-line.
21549 * term/ns-win.el (ns-open-file-select-line):
21550 Use line-beginning-position rather than goto-line.
21552 * apropos.el (apropos-command):
21553 * ehelp.el (electric-helpify):
21554 * printing.el (pr-show-setup):
21555 * strokes.el (strokes-help):
21556 * tutorial.el (tutorial--describe-nonstandard-key)
21557 (tutorial--detailed-help):
21558 * woman.el (woman-mini-help, woman-display-extended-fonts):
21559 * calc/calc-help.el (calc-describe-key):
21560 * emulation/edt.el (edt-electric-helpify):
21561 * international/mule-diag.el (mule-diag):
21562 * play/yow.el (apropos-zippy):
21563 * progmodes/python.el (python-describe-symbol):
21564 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
21565 * textmodes/table.el (*table--cell-describe-mode)
21566 (*table--cell-describe-bindings):
21567 Use help-print-return-message rather than the now obsolete alias.
21569 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
21570 (calendar-cursor-to-visible-date):
21571 * play/5x5.el (5x5-position-cursor):
21572 * play/decipher.el (decipher):
21573 * play/gomoku.el (gomoku-goto-xy):
21574 * play/landmark.el (lm-goto-xy):
21575 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
21576 (mpuz-paint-digit):
21577 Use forward-line, not goto-line.
21579 * mail/rmail.el (rmail-obsolete): Delete custom group.
21580 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
21581 (rmail-remote-password, rmail-remote-password-required):
21582 Remove unneeded :set-after and :set properties.
21584 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
21586 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
21588 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
21590 * loadup.el: Remove leftover macos code.
21592 * vc-git.el (vc-git-annotate-command): Run asynchronously.
21593 Explicitly pass the date format to git blame so that user local
21594 so that the output format can be parsed.
21596 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
21598 * net/dbus.el (top): Don't check for (getenv
21599 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
21601 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
21603 * log-edit.el (log-edit-strip-single-file-name): New var.
21604 (log-edit-insert-changelog): Use it. Bug#3571.
21606 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21608 * subr.el (read-passwd): Use read-key so keypad keys work as well.
21611 * help.el (help-print-return-message): Rename from
21612 print-help-return-message.
21614 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
21615 cvs-mode-map parent hack.
21616 (log-view-mode): Derive from special-mode.
21618 * linum.el (linum-mode): window-size-change-functions is redundant.
21619 Adapt to new window-configuration-change-hook behavior.
21620 (linum-after-size, linum-after-config): Remove.
21622 * imenu.el (imenu-example--name-and-position)
21623 (imenu-example--lisp-extract-index-name)
21624 (imenu-example--create-lisp-index, imenu-example--create-c-index):
21627 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
21628 (inferior-prolog-mode): Use it.
21629 (inferior-prolog-load-file): Reset list of errors.
21631 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21633 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
21635 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
21637 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
21639 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
21640 is running already.
21642 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21644 * subr.el (listify-key-sequence-1): Use normal syntax since those
21645 integers are nowadays always represented by the same (positive) number
21647 (read-key-empty-map): New const.
21648 (read-key-delay): New var.
21649 (read-key): New function.
21650 (force-mode-line-update): Use with-current-buffer.
21651 (locate-user-emacs-file): Don't forget to abbreviate the file name.
21652 (start-process-shell-command, start-file-process-shell-command):
21653 Discourage the use of command-args.
21655 2009-08-19 Glenn Morris <rgm@gnu.org>
21657 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
21659 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21661 * simple.el (choose-completion-string): Don't rely on
21662 minibuffer-completing-file-name and ad-hoc checks to decide whether
21663 to continue completion or not.
21665 * minibuffer.el (minibuffer-hide-completions): New function.
21666 (completion--do-completion): Use it.
21667 (completions-annotations): New face.
21668 (completion--insert-strings): Use it.
21669 (completion-pcm--delim-wild-regex): Add docstring.
21670 (completion-pcm--string->pattern): Add support for 0-width delimiters
21671 in completion-pcm--delim-wild-regex.
21673 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
21675 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
21676 Remove unused var `buffer-modified-p'.
21678 * minibuffer.el (completion--do-completion): Move point for the #b001
21679 case as well (bug#4176).
21680 (minibuffer-complete, minibuffer-complete-word): Don't move point.
21682 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
21684 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
21685 and :session buses.
21687 2009-08-18 Kenichi Handa <handa@m17n.org>
21689 * international/ucs-normalize.el (ucs-normalize-version):
21691 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
21692 (utf-8-hfs): Make it perform normalization on encoding too.
21694 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
21695 (sentence-end-without-space): Delete duplicated chars.
21696 (sentence-end-base): Likewise.
21698 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
21699 (html-mode): Delete duplicated chars from sentence-end-base.
21701 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
21702 (texinfo-mode): Delete duplicated chars from sentence-end-base.
21704 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
21706 * files.el (hack-one-local-variable): If the mode function is for
21707 a minor mode, pass it an argument (Bug#4148).
21709 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
21711 * net/tramp.el (tramp-register-completion-file-name-handler):
21712 Check also for (member 'partial-completion completion-styles).
21714 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21716 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
21719 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
21721 * progmodes/cperl-mode.el: Merge upstream 6.2.
21722 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
21723 (cperl-forward-re): Check cperl-brace-recursing.
21724 (cperl-highlight-charclass): New function.
21725 (cperl-find-pods-heres): Use it.
21726 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
21727 (cperl-beautify-regexp-piece): Fix column calculation.
21728 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
21729 (cperl-beautify-level): Don't process entire regexp.
21730 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
21732 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
21733 (cperl-init-faces): Build a list in the normal way.
21735 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21737 * calendar/parse-time.el (parse-time-string-chars): Save match
21740 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
21742 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
21743 (sql-product): Use it.
21744 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
21745 (sql-set-product): Add completion.
21746 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
21747 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
21748 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
21749 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
21750 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
21751 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
21752 (sql-highlight-db2-keywords): Remove.
21753 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
21754 (sql-highlight-product): Use derived-mode-p.
21755 (sql-set-sqli-buffer): Use with-current-buffer.
21756 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
21759 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
21761 * term.el: Fix commenting convention, turn comments into docstrings.
21763 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21765 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
21767 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
21769 * calendar/parse-time.el (parse-time-string-chars): Compute using
21770 character classes, to handle non-ascii characters (Bug#3190).
21772 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21774 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
21775 another heredoc if the user adds another < (Bug#3226).
21777 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
21778 Don't initialize based on window-system (Bug#4124).
21780 * facemenu.el (facemenu-read-color): Use a completion function
21781 that accepts any defined color, such as RGB triplets (Bug#3677).
21783 * files.el (get-free-disk-space): Change fallback default
21784 directory to /. Expand DIR argument before switching to fallback.
21785 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
21787 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21789 * files.el (load-library): Doc fix.
21791 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
21793 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21794 (viper-if-string): Redefine C-s in the minibuffer to insert the last
21795 incremental search string.
21797 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21800 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21801 (ediff-merge-region-is-non-clash)
21802 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21803 Also check if the job is really a merge job.
21805 * ediff.el (ediff-current-file): New function.
21807 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21809 * progmodes/js.el: Edit docstrings throughout to follow Emacs
21811 (js-insert-and-indent): Delete function.
21812 (js-mode-map): Don't bind keys to js-insert-and-indent.
21813 (js-beginning-of-defun): Rename from js--beginning-of-defun.
21814 (js-end-of-defun): Rename from js--end-of-defun.
21815 (js-auto-indent-flag): Delete variable.
21817 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
21819 * progmodes/js.el: Remove proclaim statement.
21820 Defvar which-func-imenu-joiner-function to silence compiler.
21822 * files.el (auto-mode-alist): Use js-mode for .js files.
21824 * progmodes/js2-mode.el: Remove file.
21826 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21828 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21830 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21832 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
21833 Karl Landstrom <karl.landstrom@brgeight.se>
21835 * progmodes/js.el: New file.
21837 2009-08-14 Mark A. Hershberger <mah@everybody.org>
21839 * timezone.el (timezone-parse-date): Add ability to understand ISO
21840 basic format (minimal separators) dates in addition to the
21841 already-supported extended format dates.
21843 2009-08-14 Eli Zaretskii <eliz@gnu.org>
21845 * international/ucs-normalize.el: Add a `coding' file variable.
21847 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21849 2009-08-14 Sam Steingold <sds@gnu.org>
21851 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21853 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
21855 * faces.el (help-argument-name): Define it here instead of
21856 help-fns.el, because in daemon mode help-fns.el may be loaded when
21857 faces are still uninitialized (Bug#1078).
21859 * help-fns.el (help-argument-name): Move defface to faces.el.
21861 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
21863 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21864 create buffer with a pty but no process so that GDB can make the
21865 inferior the controlling process.
21867 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
21869 * international/ucs-normalize.el: New file.
21871 2009-08-13 Richard Stallman <rms@gnu.org>
21873 * mail/rmail.el (rmail-get-attr-names):
21874 Accept an attribute header that is too short.
21876 * mail/rmail.el (rmail-forget-messages):
21877 Ignore nil elt in rmail-message-vector. Use dotimes.
21879 * progmodes/compile.el (compilation-goto-locus):
21880 Use next-error-move-function.
21882 * simple.el (next-error-move-function): New variable.
21884 2009-08-12 Juri Linkov <juri@jurta.org>
21886 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21887 always non-nil. (Bug#4052)
21889 * replace.el (read-regexp): Return empty string when
21890 `default-value' is nil.
21891 (keep-lines-read-args): Don't use empty string as the
21892 default value for `read-regexp'. (Bug#2495)
21894 2009-08-12 Juri Linkov <juri@jurta.org>
21896 * international/mule-cmds.el (ucs-insert): Change arguments
21897 from `arg' to `character', `count', `inherit' to be the same
21898 as in `insert-char'. Doc fix. (Bug#4039)
21900 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21902 2009-08-12 Juri Linkov <juri@jurta.org>
21904 * files-x.el: New file.
21906 * files.el: Move code that deals with adding/deleting
21907 file/directory-local variables to files-x.el.
21909 * Makefile.in (ELCFILES): Add files-x.elc.
21911 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
21913 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21914 to use `goto-line'.
21915 (gdb-place-breakpoints, gdb-get-location): Rewritten without
21917 (gdb-invalidate-disassembly): Do not refresh upon receiving
21918 'update signal. Instead, update all disassembly buffers only after
21920 (gdb): Send -target-detach when buffer is killed (Bug#3794).
21921 (gdb-starting): Move -data-list-register-names...
21922 (gdb-stopped): ...here so it's sent when first thread stops.
21923 (gdb-registers-handler-custom): Do nothing if register names are
21926 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21927 from `gdb-mi.el' to avoid extra tangling.
21929 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21930 change which breaks `gud-def' definitions used in `gdb'.
21931 (gdb-update-gud-running): No extra fuss for updating frame number.
21933 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
21935 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21936 (describe-language-environment-map, setup-language-environment-map)
21937 (set-coding-system-map): Move initialization into declaration.
21938 (set-language-info-alist): Last arg to define-key-after can be skipped.
21940 * international/quail.el (quail-completion-1): Simplify.
21941 (quail-define-rules): Use slightly more compact code.
21942 (quail-insert-decode-map): Propertize keys, compact columns.
21944 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21947 2009-08-10 Miles Bader <miles@gnu.org>
21949 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21950 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21951 (js2-instance-member, js2-private-member, js2-private-function-call)
21952 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21953 (js2-magic-paren, js2-external-variable):
21954 Remove "-face" suffix from face names.
21955 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21956 (js2-highlight-undeclared-vars, js2-peek-token)
21957 (js2-parse-function-params, js2-mode-show-errors)
21958 (js2-mode-show-warnings, js2-make-magic-delimiter)
21959 (js2-mode-highlight-magic-parens): Update to use new face names.
21961 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
21963 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21964 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
21966 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
21968 * subr.el: Provide hashtable-print-readable.
21970 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21971 hs-c-like-adjust-block-beginning.
21972 (hs-hide-block-at-point): Stop hiding at the beginning of
21973 hs-block-end-regexp (Bug#700).
21975 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
21977 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21979 (gdb-registers-handler-custom): Do not fail when register names
21982 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21984 * progmodes/gdb-mi.el (gdb-control-all-threads)
21985 (gdb-control-current-thread): Interactive setters for
21986 `gdb-gud-control-all-threads' to use in menu.
21987 (gdb-show-run-p): Show «Go» when process is not active.
21988 (gud-tool-bar-map): Add non-stop/A,T indicator.
21989 Uses gud/thread.xpm and gud/all.xpm.
21991 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
21993 * net/net-utils.el (net-utils-font-lock-keywords): New var.
21994 (nslookup-font-lock-keywords): Make it a variable.
21995 (net-utils-mode): New mode for viewing diagnostic network output.
21996 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21997 (net-utils-run-simple): New function.
21998 (ifconfig, iwconfig, netstat, arp, route): Use it.
22000 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
22002 * progmodes/gdb-mi.el (gdb-read-memory-custom)
22003 (gdb-memory-set-address, def-gdb-set-positive-number)
22004 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
22005 after changing settings.
22006 (gdb-invalidate-disassembly): Update when first shown.
22007 (gdb-edit-locals-value): Fix.
22008 (gdb-registers-handler-custom): Print registers in right order and
22009 allow changing register values (only for current thread yet).
22010 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
22011 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
22012 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
22013 (gdb-locals-handler-custom, gdb-registers-handler-custom):
22014 Thread info in mode name.
22015 (gdb-registers-mode-map): TAB to switch to locals.
22017 2009-08-08 Eli Zaretskii <eliz@gnu.org>
22019 * mail/rmail.el (rmail-add-mbox-headers)
22020 (rmail-set-message-counters-counter): Search for
22021 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
22023 2009-08-08 Glenn Morris <rgm@gnu.org>
22025 * Makefile.in (ELCFILES): Update.
22027 2009-08-07 Eli Zaretskii <eliz@gnu.org>
22029 * mail/sendmail.el (mail-yank-original):
22030 Set buffer-file-coding-system from the one used by the message whose
22033 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
22034 to "windows" when "pgnuplot" is used.
22035 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
22036 Don't call accept-process-output if "pgnuplot" is used.
22037 (calc-graph-init): Don't send -display and -geometry to
22038 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
22039 running "pgnuplot -V" with shell-command-to-string.
22041 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
22044 2009-08-07 Eli Zaretskii <eliz@gnu.org>
22046 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
22049 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
22051 * vc-dispatcher.el (vc-resynch-window): Update comment.
22053 * term.el (term-handle-ansi-escape): Add comments with the
22054 terminfo capabilities implemented.
22056 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
22058 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
22059 (gdb-var-create-handler): Rewritten using JSON parser.
22060 (gdb-propertize-header): Move earlier.
22061 (gdb-set-header): Remove to avoid duplication.
22062 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
22063 Refresh disassembly buffers only after threads list have been
22065 (gdb-threads-header, gdb-registers-header): Per-buffer header line
22068 2009-08-04 Juri Linkov <juri@jurta.org>
22070 * files.el: Commands to add/delete file/directory-local variables.
22071 (read-file-local-variable, read-file-local-variable-value)
22072 (read-file-local-variable-mode, modify-file-local-variable)
22073 (modify-file-local-variable-prop-line)
22074 (modify-dir-local-variable): New functions.
22075 (add-file-local-variable, delete-file-local-variable)
22076 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
22077 (add-dir-local-variable, delete-dir-local-variable)
22078 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
22079 (copy-dir-locals-to-file-locals-prop-line): New commands.
22081 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
22083 * abbrev.el (insert-abbrev-table-description): Prettify output.
22084 Suggested by Karl Chen.
22086 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
22088 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
22089 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
22090 (gdb-overlay-arrow-position, gdb-thread-position)
22091 (gdb-disassembly-position): Declare variables.
22092 (gdb-wait-for-pending): Function now.
22093 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
22094 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
22095 compilation goes smoothly.
22096 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
22097 (gdb-non-stop-setting): New customization setting which replaces
22098 `gdb-non-stop' so changing it doesn't break active GDB session.
22099 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
22100 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
22101 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
22102 (gdb-show-threads-by-default): New customization options.
22103 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
22105 (gdb-get-buffer-create): Send buffers update signal when they are
22107 (gdb-invalidate-locals, gdb-invalidate-registers)
22108 (gdb-invalidate-breakpoints)
22109 (gdb-invalidate-threads, gdb-invalidate-disassembly)
22110 (gdb-invalidate-memory): Accept update signal.
22111 (gdb-current-context-command): Use --frame option.
22112 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
22113 Implement `gdb-frame-number' selection logic.
22114 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
22115 whether to show GUD toolbar buttons.
22116 (gdb-thread-exited): Unselect current thread when it exits.
22117 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
22118 (gdb-mark-line): Routine which sets overlay arrow or inverses
22119 video on fringeless displays.
22120 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
22121 to build aligned columns of data in GDB buffers and set text
22122 properties line-by-line.
22123 (gdb-invalidate-breakpoints)
22124 (gdb-breakpoints-list-handler-custom)
22125 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
22126 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
22127 (gdb-registers-handler-custom): Align data columns.
22128 (gdb-locals-handler-custom): Now prints data like in variable
22130 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
22131 Remove confusing buttons.
22132 (gdb-invalidate-threads): Append --frame.
22133 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
22134 between breakpoints/threads buffers.
22135 (gdb-set-window-buffer): Now can ignore dedicated windows.
22136 (gdb-propertize-header): Use `gdb-set-window-buffer'.
22137 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
22138 (def-gdb-thread-buffer-gud-command): Replaces
22139 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
22140 for fine thread control.
22141 (gdb-preempt-existing-or-display-buffer): New function used to
22142 display bound buffers without breaking window layout.
22143 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
22144 (gdb-select-frame): New version of `gdb-frames-select' which now
22145 sets `gdb-frame-number' so commands may use --frame option instead
22146 of inner debugger state.
22147 (gdb-frame-handler): Do not set `gdb-frame-number'.
22148 (gdb-threads-mode-map): Select threads with mouse.
22150 * progmodes/gud.el (gdb-gud-context-call): Declare function to
22151 avoid compilation warning.
22152 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
22155 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
22156 Argument `key' renamed to `buffer-type'.
22157 (gdb-current-context-buffer-name): Do not add thread info to
22158 buffer name when no thread is selected.
22159 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
22160 command (bug 3794).
22161 (gdb-thread-selected): Handle `=thread-selected' notification.
22162 (gdb-wait-for-pending): New macro to deal with congestion problems.
22163 (gdb-breakpoints-list-handler-custom): Don't fail on pending
22165 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
22166 This fixes problem similar to one described in bug 3947.
22167 (gud-menu-map): More menu items.
22168 (gdb-init-1): Reset `gdb-thread-number' to nil.
22170 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
22173 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
22174 (gdb-current-context-command): Do not append --thread if
22175 `gdb-thread-number' is nil.
22176 (gdb-running-threads-count, gdb-stopped-threads-count):
22178 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
22179 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
22180 New customization options.
22181 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
22183 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
22184 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
22185 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
22186 set `gdb-thread-number' and update `gud-running' properly.
22187 (gdb-running): Update threads list when new threads appear.
22188 (gdb-stopped): Support non-stop operation and new thread switching
22190 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
22191 (gdb-json-partial-output): New set of JSON routines.
22192 (def-gdb-auto-update-trigger): New `signal-list' optional
22194 (gdb-thread-list-handler-custom): Update `gud-running',
22195 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
22196 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
22197 (gdb-continue-thread, gdb-step-thread): New commands for fine
22198 thread execution control.
22199 (gud-menu-map): New menu items to switch non-stop options.
22200 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
22201 (gdb-send): Mimic RET properly (bug 3794).
22203 * progmodes/gdb-mi.el (gdb-rules-name-maker)
22204 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
22206 (def-gdb-auto-update-handler): New nopreserve optional argument.
22207 (gdb-stack-list-frames-custom): Print stack from top to bottom.
22209 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
22210 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
22211 (gdb-parent-mode): New mode to derive other GDB modes from.
22212 (gdb-display-disassembly-for-thread)
22213 (gdb-frame-disassembly-for-thread): New commands for threads
22216 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
22217 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
22218 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
22219 (gdb-update): We now store all GDB buffers in a list so that they
22220 can be updated by traversing a list instead of calling invalidate
22221 triggers explicitly.
22222 (def-gdb-trigger-and-handler): New macro to define trigger-handler
22223 pair for GDB buffer.
22224 (gdb-stack-buffer-name): Add thread information.
22225 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
22226 handle pending triggers.
22227 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
22228 (def-gdb-thread-buffer-simple-command)
22229 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
22230 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
22231 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
22232 New commands which show buffers bound to thread.
22233 (gdb-stack-list-locals-regexp): Remove unused regexp.
22235 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
22236 (gdb-locals-buffer-name, gdb-registers-buffer-name)
22237 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
22238 to (gud-comint-buffer) in *-buffer-name functions
22239 because (gdb-get-target-string) already does that.
22240 (gdb-locals-handler-custom, gdb-registers-handler-custom)
22241 (gdb-changed-registers-handler): Rewritten without regexps.
22243 * progmodes/gdb-mi.el: Basic thread selection support.
22244 (gdb-thread-number): New variable.
22245 (gdb-current-context-command): New macro which adds --thread
22247 (gdb-threads-mode-map): Select thread with SPC.
22248 (gdb-thread-list-handler-custom): Mark current thread with overlay
22249 arrow. Synchronize GDB thread and Emacs thread.
22250 (gdb-select-thread): New command which selects current thread.
22251 (gdb-invalidate-frames, gdb-invalidate-locals)
22252 (gdb-invalidate-registers): Use --thread option.
22254 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
22256 * net/tramp.el (top): Make check for tramp-gvfs loading more
22258 (tramp-handle-insert-file-contents): `unwind-protect' must be
22259 inside `with-parsed-tramp-file-name'.
22261 * net/tramp-gvfs.el (top): Remove superfluous message when loading
22264 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
22266 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
22267 directory if CLASSPATH is not set.
22269 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
22271 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
22273 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
22275 2009-08-02 Kevin Ryde <user42@zip.com.au>
22277 * net/newst-backend.el (newsticker--raw-url-list-defaults):
22278 Update freshmeat link. Delete newsforge.com as it seems gone.
22280 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
22282 * select.el (x-set-selection): Doc fix (Bug#4021).
22284 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
22286 * help-fns.el (describe-variable): Treat list return values from
22287 dir-locals-find-file properly (Bug#4005).
22289 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
22291 * net/tramp.el (tramp-debug-message): Print also microseconds.
22293 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
22295 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
22297 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
22298 (tramp-get-debug-buffer): Change `outline-regexp' according to new
22301 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
22302 (tramp-get-file-property): Use it.
22304 * autorevert.el (auto-revert-handler):
22305 Allow `auto-revert-tail-mode' for remote files.
22307 2009-08-02 Jason Rumney <jasonr@gnu.org>
22309 * minibuffer.el (read-file-name): Treat confirm options to
22310 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
22312 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
22314 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
22315 (font-lock-variable-name-face, font-lock-constant-face):
22316 Darken the colors for light backgrounds.
22318 2009-08-01 Eli Zaretskii <eliz@gnu.org>
22320 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
22321 month names. (Bug#3987)
22323 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
22325 * simple.el (line-move-finish): Pass whole number to
22326 line-move-to-column.
22327 (line-move-visual): Perform hscroll to the recorded position.
22329 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
22331 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
22333 2009-07-29 Alan Mackenzie <acm@muc.de>
22335 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
22337 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
22339 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
22340 (gdb-place-breakpoints): Use full path when setting breakpoints.
22342 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
22344 * calc/calc.el (calc-mode-map): Add keybinding for
22345 `calc-transpose-lines'.
22347 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
22349 * calc/calc-misc.el (calc-transpose-lines): New function.
22351 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
22353 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
22354 Simplify check for out-of-band methods.
22355 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
22356 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
22358 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
22360 * vc-git.el (vc-git-checkin): Fix typo.
22362 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
22364 * progmodes/js2-mode.el: New file.
22366 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
22368 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
22369 (gud-menu-map): Adjust tooltip accordingly.
22371 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
22373 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
22374 (vc-bzr-log-view-mode): Adjust log-view-file-re.
22376 * add-log.el (change-log-mode-map): Add a menu.
22378 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
22380 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
22381 function returns nil.
22382 (dbus-handle-event): Handle special return value :ignore.
22383 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
22385 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
22387 * view.el (view-mode-enable): Don't define Helper-return-blurb if
22390 2009-07-25 Eli Zaretskii <eliz@gnu.org>
22394 * w32-vars.el (x-select-enable-clipboard): Doc fix.
22396 * term/pc-win.el (x-display-name, x-colors)
22397 (x-select-enable-clipboard, x-select-text): Doc fix.
22399 * term/common-win.el (x-display-name, x-colors): Doc fix.
22401 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
22402 (xw-defined-colors): Doc fix.
22404 * w32-fns.el (x-select-text, x-setup-function-keys)
22405 (x-get-selection, x-set-selection): Doc fix.
22407 * term/x-win.el (x-select-text, x-setup-function-keys)
22408 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
22410 * select.el (x-set-selection): Doc fix.
22412 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
22414 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
22415 instead of "IsNSSSupportAvailable". Avahi ought to work also when
22416 "IsNSSSupportAvailable" method is not available.
22417 Reported by Steve Youngs <steve@sxemacs.org>.
22419 2009-07-24 Kenichi Handa <handa@m17n.org>
22421 * international/characters.el: Fix setting of category ?C, ?|, ?K,
22422 and ?H. Fix setting of case for Latin Extended and Greek Extended.
22423 (build-unicode-category-table): Fix range checks.
22425 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
22427 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
22428 the buffer we try to sync is current when calling
22431 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
22432 not show up to date files.
22434 2009-07-24 Glenn Morris <rgm@gnu.org>
22436 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
22437 Add autoload cookies. If necessary, initialize.
22438 (elint-log): Handle non-file buffers.
22439 (elint-initialize): Add optional argument to reinitialize.
22440 (elint-find-builtin-variables): Save excursion.
22442 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
22444 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
22447 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
22449 * vc.el (vc-print-log-internal): New function, split out from ...
22450 (vc-print-log): ... here.
22451 (vc-dir-move-to-goal-column): Declare.
22453 * vc-git.el (vc-git-add-signoff): New variable.
22454 (vc-git-checkin): Use it.
22455 (vc-git-toggle-signoff): New function.
22456 (vc-git-extra-menu-map): Bind it to menu.
22457 (vc-git--run-command-string): Accept a nil FILE argument.
22458 (vc-git-stash-list): New function.
22459 (vc-git-dir-extra-headers): Use it.
22461 2009-07-23 Glenn Morris <rgm@gnu.org>
22463 * help-fns.el (describe-variable): Describe ignored and risky local
22464 variables in a similar way to that in which we describe safe ones.
22466 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
22467 (byte-compile-output-file-form, byte-compile-output-docform)
22468 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
22469 Give some more local variables with common names a "bytecomp-" prefix,
22470 so as not to shadow things during compilation.
22471 * emacs-lisp/cl-macs.el (load-time-value)
22472 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
22473 `outbuffer' to `bytecomp-outbuffer'.
22475 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
22476 since the next two variables cover them automatically now.
22477 (elint-builtin-variables, elint-autoloaded-variables): New.
22478 (elint-unknown-builtin-args): Remove all members, since they can be
22479 parsed automatically now.
22480 (elint-extra-errors): New.
22481 (elint-env-add-env, elint-env-add-macro): Use cadr.
22482 (elint-current-buffer): Use or. Change final message.
22483 (elint-get-top-forms): Use line-end-position.
22484 (elint-init-env): Use cadr. Handle autoload, declare-function,
22486 (elint-add-required-env): Doc fix. Use or. Standardize error.
22487 (regexp-assoc): Remove unused function.
22488 (elint-top-form): Set elint-current-pos, to record the start of the
22489 top-level form, for compilation-mode.
22490 (elint-form): Trap errors in macro expansion. Use dolist.
22491 (elint-unbound-variable): Use elint-builtin-variables and
22492 elint-autoloaded-variables.
22493 (elint-get-args): Use cadr, or.
22494 (elint-check-cond-form): Use dolist, cadr.
22495 (elint-check-condition-case-form): Doc fix. Use cadr.
22496 Use elint-extra-errors.
22497 (elint-log): New function.
22498 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
22499 Distinguish errors and warnings.
22500 (elint-log-message): Use with-current-buffer. Inhibit read-only.
22501 Use a bytecomp-style format.
22502 (elint-clear-log): Preserve default-directory. Inhibit read-only.
22503 (elint-get-log-buffer): Use compilation mode. Disable undo.
22504 Don't truncate lines.
22505 (elint-initialize): Set builtin and autoloaded variable lists.
22506 Only process elint-unknown-builtin-args if non-nil.
22507 (elint-find-builtin-variables, elint-find-autoloaded-variables):
22509 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
22511 2009-07-22 Kevin Ryde <user42@zip.com.au>
22513 * net/newst-backend.el (newsticker--parse-atom-1.0)
22514 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
22515 (newsticker--parse-rss-1.0):
22516 * progmodes/idlwave.el (idlwave-mode):
22517 * progmodes/idlw-shell.el (idlwave-shell-mode):
22518 * progmodes/vera-mode.el (vera-mode):
22519 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
22520 * progmodes/vhdl-mode.el (vhdl-mode):
22521 * textmodes/table.el (table-generate-source)
22522 (table--warn-incompatibility):
22523 Hyperlink urls in docstrings with URL `...'.
22525 2009-07-22 Glenn Morris <rgm@gnu.org>
22527 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
22528 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
22529 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
22530 Remove leading * from defcustom docs.
22532 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
22534 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
22536 (list-load-path-shadows): Optionally, just return shadows as a string.
22538 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
22540 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
22542 * mail/rmailedit.el (rmail-edit-mode):
22543 Use auto-save-include-big-deletions.
22545 * mail/rmail.el (rmail-variables):
22546 Use auto-save-include-big-deletions.
22548 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
22551 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
22553 * calc/calc.el (calc-undo-length): New variable.
22554 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
22556 2009-07-21 Richard Stallman <rms@gnu.org>
22558 * files.el (auto-save-mode): Handle buffer-save-size = -2
22561 2009-07-21 Glenn Morris <rgm@gnu.org>
22563 * textmodes/ispell.el (ispell-looking-back): Update declaration.
22565 * calendar/todo-mode.el (calendar-current-date): Update declaration.
22567 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
22568 silence compiler. Instead...
22569 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
22570 (ps-print-ensure-fontified): Update for above function name changes.
22572 * printing.el (pr-mh-get-msg-num, pr-mh-show)
22573 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
22574 silence compiler. Instead...
22575 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
22576 (mh-show-buffer): Only define for compiler.
22577 (pr-mh-current-message): Update for above function name changes.
22579 * files.el (abort-if-file-too-large): Explicitly pass `filename'
22581 (find-file-noselect, insert-file-1): Update for above change.
22583 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
22585 * mail/mailclient.el (mailclient-send-it): Fix message.
22587 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
22588 (edebug-eval): Check cl-debug-env is bound.
22589 (print-level, print-circle): Don't redefine built-in variables.
22591 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
22592 (custom-print-vectors): Remove old comments from doc.
22594 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
22595 (emerge-version): Make the variable an obsolete alias for the
22596 emacs-version variable. Make the function obsolete.
22597 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
22598 Emerge options, rather than merging in into the main Options menu.
22599 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
22600 and auto advance modes. Disable edit/fast items when not relevant.
22602 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
22604 * term/vt420.el (terminal-init-vt420): Fix typo.
22606 2009-07-20 Sam Steingold <sds@gnu.org>
22608 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
22609 variable (removed from compile.el on 2004-03-11).
22611 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
22613 * files.el (hack-local-variables-filter): Fix last change.
22615 2009-07-19 Juri Linkov <juri@jurta.org>
22617 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
22618 (dir-local-variables-alist): New buffer-local variable.
22619 (hack-local-variables-filter): If variable is not dir-local,
22620 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
22621 because file-local overrides dir-local.
22622 (c-postprocess-file-styles) <declare-function>:
22623 Remove obsolete declaration.
22624 (hack-dir-local-variables): Add dir-local variable/value pair to
22625 `dir-local-variables-alist' and remove duplicates. Doc fix.
22627 * help-fns.el (describe-variable): Add information about
22628 file-local and dir-local variables.
22630 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
22632 * files.el (hack-local-variables-filter): Rewrite.
22634 2009-07-19 Glenn Morris <rgm@gnu.org>
22636 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
22637 Silence compiler by only defining on XEmacs.
22639 * international/mule.el (auto-coding-regexp-alist): Only match
22640 BABYL... at the start of buffer, not of lines. (Bug#3790)
22642 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
22643 non-calendar buffers (Bug#3862). Restore "not on a date" message.
22644 (cal-menu-context-mouse-menu): Doc fix.
22646 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
22648 * simple.el (mail-user-agent): Doc fix. Set :version tag.
22650 2009-07-18 Juri Linkov <juri@jurta.org>
22652 * info.el: Virtual Info keyword finder.
22653 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
22654 (Info-finder-file): New variable.
22655 (Info-finder-find-file): New function.
22656 (finder-known-keywords, finder-package-info)
22657 (find-library-name, lm-commentary): Use defvar and
22658 declare-function to silence compiler warnings.
22659 (Info-finder-find-node): New function.
22660 (info-finder): New command.
22662 * subr.el (process-kill-buffer-query-function): New function.
22663 (add-hook)<kill-buffer-query-functions>: Add hook
22664 `process-kill-buffer-query-function'.
22666 2009-07-18 Alan Mackenzie <acm@muc.de>
22668 * progmodes/cc-mode.el (c-before-hack-hook)
22669 (c-postprocess-file-styles): Give invocation of `c-set-style'
22670 DONT-OVERRIDE parameter of t. Already set style variables will
22671 thus not be overridden by style settings given by `c-file-syle'.
22673 * files.el (hack-local-variables-filter): Remove entries with
22674 duplicate keys from `file-local-variables-alist'.
22676 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22678 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
22679 x-set-selection if display-selections-p returns nil for the
22682 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
22684 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
22686 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22688 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
22689 Accept nil in addition to a regexp.
22690 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
22691 Accept nil in addition to a regexp.
22692 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
22693 buffers that have an associated file. Handle nil values of
22694 desktop-buffers-not-to-save and desktop-files-not-to-save.
22697 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
22698 (x-disown-selection-internal): New functions.
22700 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
22702 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
22704 (gdb-breakpoints-header): Move forward to avoid compiler warning.
22705 (gdb-make-header-line-mouse-map): Remove duplicate definition.
22707 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
22709 * simple.el (set-mark): Revert last change.
22711 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
22713 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
22714 rendering of pngs is not possible instead of messaging a long
22717 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
22719 * w32-fns.el (x-selection-owner-p): New function.
22721 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
22722 (mouse-yank-at-click, mouse-yank-primary):
22723 If select-active-regions is non-nil, deactivate the mark before
22726 * simple.el (deactivate-mark, set-mark): Only save selection if we
22729 2009-07-17 Kenichi Handa <handa@m17n.org>
22731 * case-table.el (describe-buffer-case-table): Fix for the case
22732 that KEY is a cons.
22734 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
22736 * vc-rcs.el (vc-rcs-find-file-hook):
22737 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
22739 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
22741 * net/tramp.el (tramp-wait-for-output): Handle the case when
22742 commands do not return a newline but a null byte before the shell
22745 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22747 * term/ns-win.el (ns-set-alpha): Don't declare.
22748 (ns-set-background-alpha): Remove function.
22750 2009-07-16 Kevin Ryde <user42@zip.com.au>
22752 * emacs-lisp/copyright.el (copyright-update): Save match-data across
22753 y-or-n-p, for safety.
22755 2009-07-16 Richard Stallman <rms@gnu.org>
22757 * files.el (auto-save-mode): If buffer-saved-size is -2,
22760 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
22761 (rmail-retry-ignored-headers): Add more uninteresting fields.
22763 2009-07-15 Jari Aalto <jari.aalto@cante.net>
22765 * net/rcirc.el (rcirc): Use history variables.
22766 (rcirc-server-name-history, rcirc-nick-name-history)
22767 (rcirc-server-port-history): New variables.
22769 2009-07-15 Kenichi Handa <handa@m17n.org>
22771 * international/mule-cmds.el (set-language-environment-charset):
22772 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
22775 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
22776 Delete unibyte-display.
22778 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22780 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
22782 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22784 * simple.el (deactivate-mark): Optional argument FORCE.
22785 (set-mark): Use deactivate-mark.
22787 * info.el (Info-search): No need to check transient-mark-mode
22788 before calling deactivate-mark.
22790 * select.el (x-set-selection): Doc fix.
22791 (x-valid-simple-selection-p): Allow buffer values.
22792 (xselect--selection-bounds): Handle buffer values.
22793 Suggested by David De La Harpe Golden.
22795 * mouse.el (mouse-set-region, mouse-drag-track):
22796 Call copy-region-as-kill before setting the mark, to let
22797 select-active-regions work.
22799 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
22801 * simple.el (deactivate-mark): If select-active-regions is
22802 non-nil, copy the selection data into a string.
22803 (activate-mark): If select-active-regions is non-nil, set the
22804 selection to the current buffer.
22805 (set-mark): Update selection if select-active-regions is non-nil.
22807 * select.el (x-valid-simple-selection-p): Allow buffer values.
22809 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
22811 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22812 and more featureful message-mode.
22814 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
22816 * select.el (x-set-selection): Doc fix.
22817 (x-valid-simple-selection-p): Disallow selection data consisting
22818 of a list or cons of integers, since that is not used.
22819 (xselect--selection-bounds, xselect--int-to-cons): New functions.
22820 (xselect-convert-to-string, xselect-convert-to-length)
22821 (xselect-convert-to-filename, xselect-convert-to-charpos)
22822 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22824 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
22826 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22827 output in -break-info command (Emacs bug #3794).
22829 2009-07-14 Glenn Morris <rgm@gnu.org>
22831 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22832 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22833 (edebug-print-length, edebug-print-level, edebug-print-circle)
22834 (edebug-sit-for-seconds, edebug-view-outside)
22835 (edebug-bounce-point, edebug-set-global-break-condition)
22836 (edebug-Go-nonstop-mode, edebug-trace-mode)
22837 (edebug-Trace-fast-mode, edebug-continue-mode)
22838 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22839 (edebug-visit-eval-list): Doc fixes.
22841 * subr.el (def-edebug-spec): Doc fix.
22843 2009-07-14 Kenichi Handa <handa@m17n.org>
22845 * international/characters.el: Fix setting of category ?C.
22847 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
22849 * term/ns-win.el (x-select-font): defalias x-select-font to
22850 ns-popup-font-panel instead of generate-fontset-menu.
22852 2009-07-12 Eli Zaretskii <eliz@gnu.org>
22854 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
22856 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
22858 * arc-mode.el (archive-find-type): Allow for a PK00 string before
22859 the PK\003\004 header (Bug#3770).
22861 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
22863 * pcomplete.el (pcomplete-comint-setup): Check for
22864 shell-dynamic-complete-filename too.
22866 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
22868 * simple.el (temporary-goal-column): Change the value for
22869 line-move-visual to a cons cell.
22870 (line-move-visual): Record or set the window hscroll, if
22871 necessary (Bug#3494).
22872 (line-move-1): Handle cons value of temporary-goal-column.
22874 2009-07-11 Kenichi Handa <handa@m17n.org>
22876 * international/mule-diag.el (describe-character-set): Don't show
22879 2009-07-10 Sam Steingold <sds@gnu.org>
22881 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22882 Omake sometimes indents the errors it prints, so allow all
22883 regexps to start with spaces.
22885 2009-07-10 Eli Zaretskii <eliz@gnu.org>
22887 * cus-edit.el (customize-changed-options-previous-release):
22888 Bump value to 22.1. (Bug#3804)
22890 2009-07-08 Sam Steingold <sds@gnu.org>
22892 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22893 to be a cons cell (test . ignored-directory) to selectively ignore
22894 some directories depending on the location of the search.
22896 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
22898 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22899 remote user is root, on the local host.
22900 (tramp-local-host-p): Either the local user or the remote user
22901 must be root. (Bug#3771)
22903 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22905 * progmodes/gdb-mi.el (gdb): Remove description of
22906 gdb-use-separate-io-buffer.
22907 (menu): Don't allow toggling of or enable
22908 gdb-use-separate-io-buffer from menubar.
22910 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
22912 * mail/unrmail.el (unrmail): Make sure the message ends with two
22913 newlines (Bug#3769).
22915 2009-07-08 Glenn Morris <rgm@gnu.org>
22917 * calendar/calendar.el (calendar-current-date): Rework previous change.
22919 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
22921 * calendar/calendar.el (calendar-current-date):
22922 Add an optional argument giving an offset from today.
22924 2009-07-08 Glenn Morris <rgm@gnu.org>
22926 * tutorial.el (tutorial--describe-nonstandard-key):
22927 Adjust the message for when a key has been unbound.
22928 (help-with-tutorial): Hide the arch-tag.
22930 2009-07-08 Kenichi Handa <handa@m17n.org>
22932 * international/fontset.el (setup-default-fontset): For each
22933 script, append (not set) font-specs.
22935 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22938 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22940 * progmodes/gdb-mi.el (gdb-init-1): Move sending
22941 -data-list-register-names to ...
22942 (gdb-starting): ... here because GDB 7.0 requires execution to
22943 have started when using this MI command.
22944 (gdb-set-header): New function to distinguish select and
22945 unselected tabs in gdb buffers.
22946 (gdb-propertize-header): New macro that uses gdb-set-header.
22947 (gdb-breakpoints-header, gdb-locals-header): Use it.
22948 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22950 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
22952 * Makefile.in (ELCFILES): Remove fadr.elc.
22954 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
22956 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22957 may contain frame information, so `string-match' should be used.
22958 (gdb-update): Disassembly is invalidated through
22959 `gdb-get-selected-frame'.
22960 (gdb-pad-string): New function to pad string with spaces.
22961 (gdb-invalidate-disassembly): Invalidate only if the buffer
22963 (gdb-disassembly-handler-custom): Column alignment.
22964 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22966 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22968 (gdb-frame-handler): Match convention to for disassembly buffer
22970 (gdb-stack-list-frames-handler): Rewritten without regexps.
22971 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22972 not highlight breakpoints without line information.
22973 (gdb-input): Add trailing newline to command.
22975 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22977 (gdb-breakpoints-list-handler-custom): Replacement for
22978 `gdb-break-list-handler'. Using real parser instead of regexps
22980 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22981 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22982 to place breakpoints.
22983 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22985 (gdb-disassembly-handler-custom): Show overlay arrow.
22986 (gdb-disassembly-place-breakpoints): Show breakpoints in
22987 disassembly buffer.
22988 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22989 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22990 instead of parsing breakpoints buffer. Fixed old menu references
22995 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22996 (gdb-memory-address): New variable which holds top address of
22997 memory page shown in memory buffer.
22998 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22999 New customization variables.
23001 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
23002 display the memory buffer.
23003 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
23004 buffer display parameters.
23005 (def-gdb-memory-format, gdb-memory-format-binary)
23006 (gdb-memory-format-octal, gdb-memory-format-unsigned)
23007 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
23008 Functions for setting memory buffer format.
23009 (gdb-memory-unit-word, gdb-memory-unit-halfword)
23010 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
23011 unit size used in memory buffer.
23012 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
23013 Switch to next/previous page of memory buffer.
23014 Now using (bindat-get-field) instead of fadr functions.
23016 2009-07-07 Sam Steingold <sds@gnu.org>
23018 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
23019 non-top-level files.
23021 2009-07-07 Kenichi Handa <handa@m17n.org>
23023 * international/mule-cmds.el (reset-language-environment):
23024 Put the highset priority to the charset iso-8859-1.
23026 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
23028 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
23029 to the end of the line when locating the block (Bug#700).
23031 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
23033 * net/tramp.el (tramp-handle-write-region): Flush file properties
23034 in case of short track.
23036 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
23038 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
23039 Coded custom representation of verilog error regular expressions
23040 to work with Emacs-22's new format.
23041 (verilog-error-regexp-xemacs-alist): Coded custom representation
23042 of verilog error regular expressions to work with XEmacs format.
23043 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
23044 error recognition into XEmacs.
23045 (verilog-error-regexp-add-emacs): Hook routine to install verilog
23046 error recognition into Emacs-22.
23048 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
23050 * woman.el: Remove stand-alone closing parentheses.
23051 (woman-file-name, woman2-format-paragraphs)
23052 (woman-leave-blank-lines): Code cleanup.
23053 (woman-use-own-frame): Change default to nil.
23054 (woman-italic, woman-bold, woman-unknown, woman-addition):
23055 Change defaults to inherit from default faces.
23056 (woman2-process-escapes): Consume the newline after a stand-alone
23057 filler character (Bug#3651).
23059 2009-07-06 Glenn Morris <rgm@gnu.org>
23061 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
23062 (top-level): Move provide to the end.
23063 (ffap): Remove defunct URL from custom group.
23065 * subr.el (eval-after-load): Doc fix.
23067 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
23069 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
23070 `calc-embedded-word' is called twice.
23072 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23074 * files.el (find-alternate-file-other-window, find-alternate-file):
23075 Obey confirm-nonexistent-file-or-buffer.
23077 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
23079 * dired-aux.el (dired-show-file-type): Handle remote files.
23081 2009-07-05 Jari Aalto <jari.aalto@cante.net>
23083 * desktop.el (desktop-globals-to-save):
23084 Add file-name-history (Bug#2750).
23086 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
23088 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
23090 2009-07-04 Johan Bockgård <bojohan@gnu.org>
23092 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
23093 property on entire argument since this is what eshell-lisp-command
23096 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
23098 * net/tramp-gvfs.el (tramp-gvfs-methods)
23099 (tramp-gvfs-zeroconf-domain)
23100 (tramp-bluez-discover-devices-timeout): Add version flag.
23101 (tramp-gvfs-handler-mounted-unmounted)
23102 (tramp-gvfs-connection-mounted-p): Polish handling of
23103 incompatibilities between GVFS 0.2 and 1.0.
23105 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
23107 * cus-start.el (all): Add make-pointer-invisible.
23109 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
23111 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
23112 formatted correctly.
23114 2009-07-02 Juri Linkov <juri@jurta.org>
23116 * info.el: Virtual Info files and nodes.
23117 (Info-virtual-files, Info-virtual-nodes): New variables.
23118 (Info-current-node-virtual): New variable.
23119 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
23121 (Info-file-supports-index-cookies): Use Info-virtual-file-p
23122 to check for a virtual file instead of checking a fixed list
23124 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
23125 instead of ad-hoc processing of "dir" and (apropos history toc).
23126 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
23127 instead of ad-hoc processing of "dir" and (apropos history toc).
23128 Reread a file when moving from a virtual node.
23129 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
23130 (Info-directory-toc-nodes, Info-directory-find-file)
23131 (Info-directory-find-node): New functions.
23132 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
23133 (Info-history): Move part of code to
23134 `Info-history-find-node'.
23135 (Info-history-toc-nodes, Info-history-find-file)
23136 (Info-history-find-node): New functions.
23137 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
23138 (Info-toc): Move part of code to `Info-toc-find-node'.
23139 (Info-toc-find-node): New function.
23140 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
23141 the current Info file name to references because now the node
23142 "*TOC*" belongs to the same Info manual.
23143 (Info-toc-build): Rename from `Info-build-toc'.
23144 (Info-toc-nodes): Rename input argument `file' to `filename'.
23145 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
23146 instead of ad-hoc processing of ("dir" apropos history toc).
23147 (Info-index-nodes): Use Info-virtual-file-p
23148 to check for a virtual file instead of checking a fixed list
23150 (Info-index-node): Add check for `Info-current-node-virtual'.
23151 Raise `save-match-data' higher up the tree to contain
23152 `search-forward' too (bug fix).
23153 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
23154 (Info-virtual-index-nodes): New variable.
23155 (Info-virtual-index-find-node, Info-virtual-index): New functions.
23156 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
23157 (Info-apropos-file, Info-apropos-nodes): New variables.
23158 (Info-apropos-toc-nodes, Info-apropos-find-file)
23159 (Info-apropos-find-node, Info-apropos-matches): New functions.
23160 (info-apropos): Move part of code to `Info-apropos-find-node' and
23161 `Info-apropos-matches'.
23162 (Info-mode-map): Bind "I" to `Info-virtual-index'.
23163 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
23164 for a virtual file instead of checking a fixed list of node names.
23166 * simple.el (async-shell-command): New command.
23168 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
23170 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
23171 instead of `mount-info'.
23173 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
23175 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
23176 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
23178 2009-07-02 Kenichi Handa <handa@m17n.org>
23180 * international/mule.el (set-keyboard-coding-system): Force *-unix
23181 coding-system to avoid eol conversion.
23183 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
23185 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
23186 Add handler for `process-file', `shell-command' and
23187 `start-file-process'.
23188 (tramp-gvfs-handle-shell-command)
23189 (tramp-gvfs-handle-start-file-process)
23190 (tramp-gvfs-handle-process-file): New defuns.
23191 (tramp-synce-list-devices): Simplify check for existence of property.
23193 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
23195 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
23197 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
23199 * language/korean.el (set-language-info-alist): Add korean-cp949,
23202 2009-07-01 Kenichi Handa <handa@m17n.org>
23204 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
23206 * international/encoded-kb.el: Deleted.
23208 * international/mule.el (set-keyboard-coding-system): Perform the
23209 necessary setup here instead of calling encoded-kbd-setup-display.
23211 2009-07-01 Glenn Morris <rgm@gnu.org>
23213 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
23215 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
23217 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
23219 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
23221 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
23222 Handle also the 'rename case, when setting file modes. (Bug#3712)
23223 (tramp-default-file-modes): Remove execute permissions.
23225 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
23226 (top): Add a default for "synce" in `tramp-default-user-alist'.
23227 Add completion function for "synce" method.
23228 (tramp-hal-service, tramp-hal-path-manager)
23229 (tramp-hal-interface-manager, tramp-hal-interface-device):
23231 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
23232 (tramp-synce-list-devices, tramp-synce-parse-device-names):
23235 * net/trampver.el: Update release number.
23237 2009-06-30 Kenichi Handa <handa@m17n.org>
23239 * international/fontset.el (setup-default-fontset): Add CJK fonts
23240 for symbols and the other miscellaneous characters.
23242 * language/korea-util.el (setup-korean-environment-internal):
23243 Make char-width-table suitable for Korean environments.
23244 (exit-korean-environment): Cancel above.
23246 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
23247 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
23248 setup-function to make char-width-table suitable for respective
23249 environments, and an exit-function to cancel that.
23251 * language/japan-util.el (setup-japanese-environment-internal):
23252 Call use-cjk-char-width-table with arg `ja_JP'.
23254 * international/characters.el (cjk-char-width-table): Delete it.
23255 (cjk-char-width-table-list): New variable.
23256 (use-cjk-char-width-table): New arg local-name.
23257 (use-default-char-width-table): Fix for the case that Emacs is
23258 already using the default char-width-table.
23260 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
23262 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
23263 modes mandatory. (Bug#3712)
23265 2009-06-29 Alan Mackenzie <acm@muc.de>
23267 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
23268 correction between the visible width of TABs and their number of bytes.
23270 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
23272 * server.el (server-buffer-done): Prevent kill-buffer from
23273 prompting by clearing the buffer modification flag (Bug#3696).
23275 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
23277 * progmodes/verilog-mode.el (verilog-beg-of-statement)
23278 (verilog-endcomment-reason-re): Support unique case and priority case.
23279 (verilog-basic-complete-re): Support localparam lineup.
23280 (verilog-beg-of-statement-1): Fix for robustness, unique case.
23281 (verilog-set-auto-endcomments): Fix for unique case, always_comb
23283 (verilog-leap-to-case-head): Now support *nested* unique &
23284 priority case statements.
23285 (verilog-auto-lineup): Make just declarations the default (as it
23287 (verilog-leap-to-case-head): Support priority/unique case statements.
23288 (verilog-auto-lineup): Rework to give users radio buttons to
23289 select the various styles of automatic lineup.
23290 (verilog-error-regexp-alist): Rework to support the XEmacs style
23291 of error regular expressions from compilers, lint tools &
23292 simulators. Note that GNU Emacs has made it impossible for a mode
23293 to load such things.
23294 (electric-verilog-terminate-line, verilog-indent-declaration)
23295 (verilog-auto-wiure): Rework for radio button selection of
23296 auto-lineup selection of specification of auto lineup.
23297 (verilog-beg-of-statement-1): Redesign to support proper operation
23298 in additional code, based on testing with auto-lineup.
23299 (verilog-calculate-indent, assignments & declarations)
23300 (verilog-backward-token): Enhance to support auto-lineup of
23301 assignments & declarations.
23302 (verilog-in-directive-p, verilog-at-struct-p): New function for
23303 easy test of whether we are.
23304 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
23305 to support safe execution at almost anyline.
23306 (verilog-calc-1): Properly support indenting deep inside generate
23308 (verilog-init-font): Remove definition & use of verilog-init-font,
23309 as it is redundant with font-lock-defaults.
23310 (verilog-mode): Alter the definition of verilog-font-lock-defaults
23311 to avoid circular calls if syntax-ppss is a function (as is the
23312 case now in 22.x GNU Emacs) as that function would sometimes call
23313 itself, leading to (nearly) infinite recursion.
23314 (verilog-ovm-begin-re, verilog-ovm-end-re)
23315 (verilog-ovm-statement-re, verilog-leap-to-head)
23316 (verilog-backward-token): Add support for OVM macros. Some are
23317 complete statements, and others open and close scopes like begin
23319 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
23320 (verilog-defun-level-generate-only-re): Really fix the defun-list
23322 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
23323 coverpoint, constraint and cross statements.
23324 (verilog-defun-level-list, verilog-generate-defun-level-list)
23325 (verilog-all-defun-level-list): Redo these specifications - it is
23326 too hard to support eval-when compile aggregation of lists also
23327 built at when-compile time.
23328 (verilog-defun-level-list): Place defconsts of variables used in
23329 building regular expressions which are built in eval-when-compile
23330 bodies in the same eval-when-compile body to facilitate compile
23332 (verilog-beg-block-re-ordered): Support indenting
23333 virtual/protected tasks and functions.
23334 (verilog-defun-level-list, verilog-in-generate-region-p)
23335 (verilog-backward-ws&directives, verilog-calc-1): Speed up
23336 indentation of some module items (generate items).
23337 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
23338 across virtual/protected tasks and functions.
23340 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
23342 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
23343 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
23344 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
23345 in concatenations. Reported by Yishay Belkind.
23346 (verilog-auto-ascii-enum): Support one-hot state machines in
23347 AUTOASCIIENUM. Suggested by Lloyd Gomez.
23348 (verilog-auto-inst, verilog-auto-inst-port): Include interface
23349 modport in AUTOINST and add vl-modport for users.
23350 Reported by David Rogoff.
23351 (verilog-auto-inout-module, verilog-auto-inst)
23352 (verilog-decls-get-interfaces, verilog-insert-definition)
23353 (verilog-insert-one-definition, verilog-read-decls)
23354 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
23355 (verilog-sig-modport, verilog-signals-combine-bus)
23356 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
23357 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
23358 Suggested by David Rogoff.
23359 (verilog-repair-open-comma): Fix non-insertion of comma when
23360 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
23361 (verilog-make-width-expression): Simplify [A-1:0] expression
23362 widths to just {A{1'b0}}.
23363 (verilog-mode): Cleanup checkdoc warnings.
23364 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
23365 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
23366 inputs/outputs or data type. Suggested by Vasu Kandadi.
23367 (next-error-last-buffer): Fix byte-compiler warning.
23368 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
23369 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
23370 or shell command text during AUTO expansion. Suggested by Tad Truex.
23371 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
23372 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
23373 Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
23374 in AUTOINOUT. Reported by Matthew Lovell.
23375 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
23376 causing use of <= assignments. Reported by Alex Reed.
23377 (verilog-read-decls): Fix triand, trior, wand, wor to be
23378 recognized by AUTOWIRE. Reported by Spencer Isaacson.
23379 (verilog-extended-complete-re): Support import "DPI-C" functions.
23380 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
23381 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
23382 (verilog-insert-date, verilog-insert-year)
23383 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
23384 Windows systems. Reported by Michael Potts.
23385 (verilog-read-module-name): Fix AUTOINST when the child module
23386 declaration's name is a tick define. Reported by Elliot Mednick.
23387 (verilog-read-decls): Fix V2K parameter bit subscripts getting
23388 passed to next parameter's definition. Reported by Bruce T.
23389 (verilog-read-decls): Fix detecting "parameter int" when using
23390 AUTOINSTPARAM. Reported by Bruce T.
23391 (verilog-goto-defun): Fix goto not finding modules unless first
23392 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
23393 (verilog-mode): Expand -f flag arguments on entry to mode so
23394 verilog-goto-defun will work. Reported by Lawrence Butcher.
23395 (verilog-getopt): Expand environment variables in -f file
23396 arguments. Suggested by Lawrence Butcher.
23397 (verilog-set-define): Fix "Symbol's value as variable is void"
23398 when reading enumerations.
23399 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
23400 Suggested by Stephen Peltan.
23401 (verilog-read-defines): Fix reading of enumerations in include
23402 files. Reported by Steve Peltan.
23404 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
23406 * files.el (trash-directory): Fix defcustom type.
23408 2009-06-28 Juri Linkov <juri@jurta.org>
23410 * help-fns.el (describe-function-1): Correctly locate adviced
23411 functions in hyperlink (Bug#2438).
23413 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
23415 * files.el (trash-directory): Change default to nil.
23416 (move-file-to-trash): If trash-directory is nil and
23417 system-move-file-to-trash is unbound, perform freedesktop-style
23420 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
23422 * files.el (move-file-to-trash): Add freedesktop trash
23425 2009-06-28 Glenn Morris <rgm@gnu.org>
23427 * autorevert.el (global-auto-revert-non-file-buffers)
23428 (global-auto-revert-mode): Doc fixes.
23430 2009-06-27 Johan Bockgård <bojohan@gnu.org>
23432 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
23434 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
23436 * faces.el (x-handle-named-frame-geometry): Ensure that we have
23437 opened an X connection before calling x-get-resource (Bug#3194).
23439 * play/doctor.el: Remove reference to obsolete website.
23440 (make-doctor-variables): Correct grammar mistake (Bug#2633).
23442 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
23444 Remove find-file-not-found-hook VC method. (Bug#2757)
23445 * vc-hooks.el (vc-file-not-found-hook)
23446 (vc-default-find-file-not-found-hook): Remove functions.
23447 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
23448 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
23451 * vc-git.el: Do not mention find-file-not-found-hook VC method.
23453 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
23455 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
23456 compatibility function for `looking-back'.
23458 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
23459 Use `ispell-looking-back'.
23461 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
23463 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
23464 rather than `filename'.
23466 2009-06-23 Miles Bader <miles@gnu.org>
23468 * face-remap.el (text-scale-set): New function.
23470 2009-06-23 Glenn Morris <rgm@gnu.org>
23472 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
23474 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
23476 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
23478 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
23480 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
23481 Simplify Persian conditionals.
23483 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
23484 variable `filename'.
23486 * comint.el (comint-insert-input): Doc fix.
23488 * Makefile.in (ELCFILES): Fix typo in previous change.
23490 2009-06-23 Miles Bader <miles@gnu.org>
23492 * cus-start.el: Add entry for `recenter-redisplay'.
23494 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23496 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
23497 Add an optional argument for the backend, use it instead of
23498 calling vc-backend.
23499 (vc-mode-line): Add an optional argument for the backend.
23500 Pass the backend to vc-state and vc-working-revision. Move code for
23501 special handling for vc-state being a buffer to ...
23503 * vc-rcs.el (vc-rcs-find-file-hook):
23504 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
23506 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
23507 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
23508 vc-stay-local-p and vc-mode-line calls.
23510 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
23511 (vc-cvs-diff, vc-cvs-annotate-command)
23512 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
23513 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
23514 vc-mode-line calls.
23516 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
23518 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
23519 backend when calling vc-mode-line.
23520 (vc-register): Do not create a closure for calling the vc register
23521 function, call it directly.
23523 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23525 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
23526 to make it obvious item can be clicked.
23528 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
23530 2009-06-23 Kenichi Handa <handa@m17n.org>
23532 * language/korea-util.el (korean-key-bindings): Change the binding
23533 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
23536 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
23538 Sync with Tramp 2.1.16.
23540 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
23542 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
23543 when a loading of a package fails. Completion function for rsync
23544 is `tramp-completion-function-alist-ssh'.
23545 (all): Replace all calls of `split-string' and
23546 `tramp-split-string' by `tramp-compat-split-string'.
23547 (tramp-default-method): Use `tramp-compat-process-running-p'.
23548 (tramp-default-proxies-alist): Allow also Lisp forms.
23549 (tramp-remote-path): Add choice "Private Directories".
23550 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
23551 (tramp-domain-regexp): Allow also "-", "_" and ".".
23552 (tramp-end-of-output): Remove newlines, and add "$" at the end.
23553 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
23554 (tramp-debug-message): Insert header line in debug buffer.
23555 (tramp-handle-directory-files-and-attributes-with-stat):
23556 Care about filenames with spaces, or starting with "-".
23557 (tramp-handle-dired-uncache): New defun.
23558 (tramp-handle-insert-directory): Don't flush the directory from
23559 cache, this is handled by `dired-uncache' now.
23560 (tramp-handle-insert-file-contents): Improve error handling.
23561 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
23562 Quote `tramp-end-of-output'.
23563 (tramp-action-password): Improve trace message.
23564 (tramp-check-for-regexp): Both echoes must be present, before removing.
23565 (tramp-open-connection-setup-interactive-shell): Trace coding system.
23566 (tramp-compute-multi-hops): Eval cons cells of
23567 `tramp-default-proxies-alist'.
23568 (tramp-maybe-open-connection): Use the same command pattern for
23569 first hop and further hops.
23570 (tramp-wait-for-output): Remove handling of newlines.
23571 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
23572 (tramp-split-string): Remove function. It is handled in
23575 * net/tramp-cmds.el (tramp-bug):
23576 Recommend `tramp-cleanup-all-connections' in the bug mail.
23578 * net/tramp-compat.el (tramp-compat-split-string)
23579 (tramp-compat-process-running-p): New defuns.
23581 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
23582 for `dired-uncache'.
23584 * net/tramp-gvfs.el: New package.
23586 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
23587 Add handler for `dired-uncache'.
23588 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
23590 * net/trampver.el: Update release number. Make version check fit
23593 2009-06-22 Jim Meyering <meyering@redhat.com>
23595 Automatically handle .xz suffix (XZ-compressed files), too.
23596 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
23597 XZ is the successor to LZMA: <http://tukaani.org/xz/>
23599 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
23600 Nick Roberts <nickrob@snap.net.nz>
23602 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
23603 repository (http://sphinx.net.ru/hg/gdb-mi/).
23605 2009-06-22 Glenn Morris <rgm@gnu.org>
23607 * files.el (dir-locals-collect-mode-variables): Allow for any number of
23608 `mode' and `eval' entries. (Bug#3430)
23610 * Makefile.in (ELCFILES): Add fadr.elc.
23612 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
23613 differing behavior of \n and ^ in strings. (Bug#3385)
23615 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
23617 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
23619 (lisp-indent-function): Make it a defcustom.
23621 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
23623 * progmodes/gdb-ui.el: Replace with ...
23624 * progmodes/gdb-mi.el: ... this file.
23625 * progmodes/gud.el: Modify for gdb-mi.el.
23627 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
23629 * fadr.el: New file.
23631 See ChangeLog.14 for earlier changes.
23633 ;; Local Variables:
23637 Copyright (C) 2009-2011 Free Software Foundation, Inc.
23639 This file is part of GNU Emacs.
23641 GNU Emacs is free software: you can redistribute it and/or modify
23642 it under the terms of the GNU General Public License as published by
23643 the Free Software Foundation, either version 3 of the License, or
23644 (at your option) any later version.
23646 GNU Emacs is distributed in the hope that it will be useful,
23647 but WITHOUT ANY WARRANTY; without even the implied warranty of
23648 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23649 GNU General Public License for more details.
23651 You should have received a copy of the GNU General Public License
23652 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.