1 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
3 Convert to lexical-binding.
5 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
6 (bs--get-marked-string, bs--get-modified-string)
7 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
8 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
9 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
11 * ehelp.el (electric-help-execute-extended)
12 (electric-help-ctrl-x-prefix):
13 * hexl.el (hexl-revert-buffer-function):
14 * linum.el (linum-after-change, linum-after-scroll):
15 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
17 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19 2011-04-04 Daiki Ueno <ueno@unixuser.org>
26 * epg.el: Use lexical binding.
28 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
30 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
32 * textmodes/flyspell.el (flyspell-word): Recognize default
33 dictionary case for flyspell-mark-duplications-exceptions. Use
34 regexp matching for languages.
35 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
36 default dictionary (Bug#7926).
38 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
40 * emacs-lisp/package.el (package--with-work-buffer): Recognize
43 * net/network-stream.el: Move from gnus/proto-stream.el. Change
44 prefix to network-stream throughout.
45 (open-protocol-stream): Merge into open-network-stream, leaving
46 open-protocol-stream as an alias. Handle nil BUFFER args.
48 * subr.el (open-network-stream): Move to net/network-stream.el.
50 2011-04-02 Glenn Morris <rgm@gnu.org>
52 * find-dired.el (find-exec-terminator): New option.
53 (find-ls-option): Test for -ls support.
54 (find-ls-subdir-switches): Test for -b in find-ls-option.
55 (find-dired, find-grep-dired): Doc fixes.
56 (find-dired): Use find-exec-terminator.
58 * find-dired.el (find-ls-option, find-ls-subdir-switches)
59 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
60 (find-name-arg): Remove purecopy.
62 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
63 (grep-compute-defaults): Check for `-exec COMMAND +' support.
64 Set grep-find-use-xargs, grep-find-command, and grep-find-template
65 accordingly. Don't add the null-device if not needed.
67 * files.el (save-some-buffers): Doc fix.
69 2011-04-02 Eli Zaretskii <eliz@gnu.org>
71 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
73 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
75 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
76 Use `dolist' rather than `mapcar'.
78 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
82 * subr.el (apply-partially): Use new closures rather than CL.
83 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
84 (dolist, dotimes): Use slightly different expansion for lexical code.
85 (functionp): Move to C.
87 (with-wrapper-hook): Use it and apply-partially instead of CL.
88 (eval-after-load): Preserve lexical-binding.
89 (save-window-excursion, with-output-to-temp-buffer): Turn them
92 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
94 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
96 (help-add-fundoc-usage): Don't add `Not documented'.
97 (help-function-arglist): Handle closures, subroutines, and new
99 (help-make-usage): Remove leading underscores.
100 (describe-function-1): Handle closures.
101 (describe-variable): Use special-variable-p for completion.
103 * files.el (lexical-binding): Declare safe.
105 * emacs-lisp/pcase.el: Don't use destructuring-bind.
106 (pcase--memoize): Rename from pcase-memoize. Change weakness.
107 (pcase): Add `let' pattern.
108 Change memoization so it actually works.
109 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
110 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
113 * emacs-lisp/macroexp.el: Use lexical binding.
114 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
115 Don't convert ' to #' without checking that it's indeed quoting
118 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
119 Use eval-sexp-add-defvars.
120 (eval-sexp-add-defvars): New fun.
122 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
124 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
126 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
127 than the internal `byte-compile-lambda'.
128 (defmethod): Don't hide code under quotes.
129 (eieio-defmethod): New `code' argument.
131 * emacs-lisp/eieio-comp.el: Remove.
133 * emacs-lisp/edebug.el (edebug-eval-defun)
134 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
135 (edebug-toggle): Avoid `eval'.
137 * emacs-lisp/disass.el (disassemble-internal): Handle new
139 (disassemble-1): Handle new byte codes.
141 * emacs-lisp/cl.el (pushnew): Silence warning.
143 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
144 (cl-byte-compile-throw): Remove.
145 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
147 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
150 * emacs-lisp/cconv.el: New file.
152 * emacs-lisp/bytecomp.el: Use lexical binding instead of
153 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
154 (byte-compile-initial-macro-environment):
155 Handle declare-function here.
156 (byte-compile--lexical-environment): New var.
157 (byte-stack-ref, byte-stack-set, byte-discardN)
158 (byte-discardN-preserve-tos): New lap codes.
159 (byte-interactive-p): Don't use any more.
160 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
162 (byte-compile-lapcode): Use them and handle new lap codes.
163 (byte-compile-obsolete): Remove.
164 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
165 (byte-compile-arglist-warn): Check late def of inlinable funs.
166 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
167 since they should have been expanded by now.
168 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
169 (byte-compile-from-buffer): Remove unused second arg.
170 (byte-compile-preprocess): New function.
171 (byte-compile-toplevel-file-form): New function to distinguish
172 file-form calls from outside from file-form calls from hunk-handlers.
173 (byte-compile-file-form): Simplify.
174 (byte-compile-file-form-defsubst): Remove.
175 (byte-compile-file-form-defmumble): Simplify now that
176 byte-compile-lambda always returns a byte-code-function.
177 (byte-compile): Preprocess.
178 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
179 Remove, not used any more.
180 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
181 (byte-compile-make-args-desc): New funs.
182 (byte-compile-lambda): Handle lexical functions. Always return
183 a byte-code-function.
184 (byte-compile-reserved-constants): New var, to make up room for
185 closed-over variables.
186 (byte-compile-constants-vector): Obey it.
187 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
188 (byte-compile-macroexpand-declare-function): New function.
189 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
191 (byte-compile-form): Check obsolescence here.
192 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
193 (byte-compile-variable-ref): Remove.
194 (byte-compile-dynamic-variable-op): New fun.
195 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
196 (byte-compile-variable-set): New funs.
197 (byte-compile-discard): Add 2 args.
198 (byte-compile-stack-ref, byte-compile-stack-set)
199 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
200 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
201 macroexpand-all instead.
202 (byte-compile-quote-form): Remove.
203 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
204 (byte-compile-bind, byte-compile-unbind): New funs.
205 (byte-compile-let): Handle let* and lexical binding.
206 (byte-compile-let*): Remove.
207 (byte-compile-catch, byte-compile-unwind-protect)
208 (byte-compile-track-mouse, byte-compile-condition-case):
209 Handle a new :fun-body form, used for lexical scoping.
210 (byte-compile-save-window-excursion)
211 (byte-compile-with-output-to-temp-buffer): Remove.
212 (byte-compile-defun): Simplify.
213 (byte-compile-stack-adjustment): New fun.
214 (byte-compile-out): Use it.
215 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
217 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
220 * emacs-lisp/byte-opt.el: Use lexical binding.
221 (byte-inline-lapcode): Remove (to bytecomp).
222 (byte-compile-inline-expand): Pay attention to inlining to/from
223 lexically bound code.
224 (byte-compile-unfold-lambda): Don't handle byte-code-functions
226 (byte-optimize-form-code-walker): Don't handle save-window-excursion
227 any more and don't call compiler-macros.
228 (byte-compile-splice-in-already-compiled-code): Remove.
229 (byte-code): Don't inline any more.
230 (disassemble-offset): Receive `bytes' as argument rather than via
232 (byte-compile-tag-number): Declare before first use.
233 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
234 `return' even if make-spliceable.
235 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
236 obsolete interactive-p.
237 (byte-optimize-lapcode): Optimize new lap-codes.
238 Don't trip up on new form of `byte-constant' lap code.
240 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
242 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
244 * custom.el (custom-initialize-default, custom-declare-variable):
247 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
249 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
250 (COMPILE_FIRST): Add macroexp and cconv.
251 * makefile.w32-in: Mirror changes in Makefile.in.
258 * textmodes/bibtex-style.el:
267 * emacs-lisp/smie.el:
270 * abbrev.el: Use lexical binding.
272 2011-04-01 Eli Zaretskii <eliz@gnu.org>
274 * info.el (info-display-manual): New function.
276 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
278 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
280 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
282 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
283 an entry for that server in rcirc-authinfo. (Bug#8385)
285 2011-03-31 Glenn Morris <rgm@gnu.org>
287 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
289 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
291 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
293 * progmodes/python.el (python-default-interpreter)
294 (python-python-command-args, python-jython-command-args)
295 (python-which-shell, python-which-args, python-which-bufname)
296 (python-file-queue, python-comint-output-filter-function)
297 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
298 variables and functions.
300 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
302 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
303 (completion-in-region-mode): New minor mode.
304 (completion-in-region): Use it.
305 (completion-in-region--data, completion-in-region-mode-map): New vars.
306 (completion-in-region--postch): New function.
307 (completion--capf-misbehave-funs, completion--capf-safe-funs):
309 (completion--capf-wrapper): New function.
310 (completion-at-point): Use it to track well-behavedness of
312 (completion-help-at-point): New command.
314 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
316 * vc/add-log.el (add-change-log-entry): Don't use whitespace
317 syntax class to search for whitespace on a single line
318 (Message-ID: <4D938140.4030905@redhat.com>).
320 2011-03-30 Leo Liu <sdl.web@gmail.com>
322 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
324 (edit-abbrevs-map): Bind them here.
325 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
327 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
329 * allout.el (allout-hide-by-annotation, allout-flag-region):
330 Reduce possibility of overlay leakage by making them volatile.
332 * allout-widgets.el (allout-widgets-tally): Define as nil so the
333 hash is not shared between buffers. Mode initialization is
334 responsible for giving it a useful starting value.
335 (allout-item-span): Reduce possibility of overlay leakage by
336 making them volatile.
337 (allout-widgets-count-buttons-in-region): Add diagnostic function
338 for tracking down button overlay leaks.
340 2011-03-29 Leo Liu <sdl.web@gmail.com>
342 * ido.el (ido-read-internal): Use the default history var
343 minibuffer-history if no HISTORY is specified.
345 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
347 * net/imap.el (imap-shell-open, imap-process-connection-type):
348 Use imap-process-connection-type for 'shell' streams as well as
349 Kerberos, SSL, other subprocesses.
351 2011-03-28 Leo Liu <sdl.web@gmail.com>
353 * abbrev.el (abbrev-table-empty-p): New function.
354 (prepare-abbrev-list-buffer): Place empty abbrev tables after
355 nonempty ones. (Bug#5937)
357 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
359 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
361 2011-03-27 Leo Liu <sdl.web@gmail.com>
363 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
364 for foreground and background colors.
365 (ansi-color-make-color-map): Adapt.
367 2011-03-25 Leo Liu <sdl.web@gmail.com>
369 * midnight.el (midnight-time-float): Remove. Note it calculates
370 the microsecond component incorrectly and seconds-to-time does the
372 Remove redundant (require 'timer).
374 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
375 (ido-completions): Remove unused arguments. (Bug#8329)
377 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
379 * minibuffer.el (completion--flush-all-sorted-completions):
380 Remove itself from hook.
381 (completion-at-point): Let the functions perform the completion
382 immediately and return nil or t.
383 * comint.el (comint-dynamic-complete-functions): Now identical to
384 completion-at-point-functions.
385 (comint-dynamic-list-input-ring): Remove unused var `index'.
386 (comint--match-partial-filename, comint--unquote&expand-filename):
387 New funs, split from comint-match-partial-filename.
388 (comint-dynamic-complete): Use completion-at-point.
389 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
391 2011-03-24 Drew Adams <drew.adams@oracle.com>
393 * thingatpt.el: Support `defun'.
395 2011-03-23 Leo Liu <sdl.web@gmail.com>
397 * abbrevlist.el: Move to obsolete/abbrevlist.el.
399 * help-mode.el (help-mode-finish): Tweak regexp.
401 2011-03-23 Glenn Morris <rgm@gnu.org>
403 * eshell/esh-opt.el (eshell-eval-using-options):
404 Do not bind unused local variable `eshell-option-stub'.
406 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
408 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
410 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
411 keymap variable in `with-no-warnings' to avoid a warning when the
412 keymap has been already `defconst'ed.
414 2011-03-22 Leo Liu <sdl.web@gmail.com>
416 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
417 encode all chars in abbrevs; otherwise use emacs-mule or
418 utf-8-emacs. (Bug#8308)
420 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
422 * simple.el (backward-delete-char-untabify):
423 Avoid warning about using `delete-backward-char'.
425 * image.el (image-type-file-name-regexps): Make it variable.
426 `imagemagick-register-types' modifies it, and the user may want
427 to add new extensions for known image types.
428 (imagemagick-register-types): Throw error if not using ImageMagick.
430 2011-03-22 Leo Liu <sdl.web@gmail.com>
432 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
433 located before rcirc-prompt-end-marker.
434 (rcirc-complete): Error if point is not after rcirc prompt.
435 Handle the case when table is nil.
436 (rcirc-user-authenticated): Define to fix compiler warning.
438 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
440 * custom.el (custom--inhibit-theme-enable): Make it affect only
441 custom-theme-set-variables and custom-theme-set-faces.
442 (provide-theme): Ignore custom--inhibit-theme-enable.
443 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
444 (custom-enabling-themes): Delete variable.
445 (enable-theme): Accept only loaded themes as arguments.
446 Ignore the special custom-enabled-themes variable.
447 (custom-enabled-themes): Forbid themes from setting this.
448 Eliminate use of custom-enabling-themes.
449 (custom-push-theme): Quote "changed" custom var entry.
451 2011-03-21 Leo Liu <sdl.web@gmail.com>
453 * ido.el (ido-read-internal): Add ido-selected to history instead
456 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
458 * subr.el (deferred-action-list, deferred-action-function):
461 2011-03-21 Leo Liu <sdl.web@gmail.com>
463 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
464 change on 2011-02-13 (bug#8309).
466 * minibuffer.el (read-file-name-function): Change default value.
467 (read-file-name--defaults): Rename from read-file-name-defaults.
468 (read-file-name-default): Rename from read-file-name.
469 (read-file-name): Call read-file-name-function.
471 2011-03-21 Glenn Morris <rgm@gnu.org>
473 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
476 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
478 * cus-theme.el: Add missing provide statement.
479 (customize-create-theme): Extract theme value correctly.
480 (custom-theme-visit-theme): Autoload.
481 (customize-create-theme): Prompt before inserting default faces.
483 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
485 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
486 units and musical notes.
488 2011-03-20 Leo <sdl.web@gmail.com>
490 * ido.el (ido-read-internal): Use completing-read-default.
491 (ido-completing-read): Fix compatibility with completing-read.
493 2011-03-20 Christian Ohler <ohler@gnu.org>
495 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
496 (ert-delete-all-tests): Use `called-interactively-p' rather than
498 (ert--make-xrefs-region): Respect END.
500 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
502 * dired-aux.el (dired-create-directory): Signal an error if the
503 directory already exists (Bug#8246).
505 * facemenu.el (list-colors-display): Call list-faces-display
506 inside with-help-window.
507 (list-colors-print): Use display property to align the final
508 column, instead of checking window-width.
510 2011-03-19 Eli Zaretskii <eliz@gnu.org>
512 * emerge.el (emerge-metachars): Separate value for ms-dos and
514 (emerge-protect-metachars): Quote correctly for ms-dos and
517 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
519 * info.el (info-initialize): Replace all uses of `:' with
520 path-separator for compatibility with non-Unix systems.
521 Cache quoting of path-separator. (Bug#8258)
523 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
525 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
526 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
527 (mouse-avoidance-mode): Fix typos in docstrings.
529 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
531 * startup.el (package-subdirectory-regexp): Move from package.el.
532 Omit \\` and \\', and let callers add them.
534 * emacs-lisp/package.el (package-strip-version)
535 (package-load-all-descriptors): Add \\` and \\' to
536 package-subdirectory-regexp before using it.
537 (package-untar-buffer): New arg DIR; ensure that file untars only
538 into this expected directory. Remove superfluous delete-region.
539 (package-unpack): Caller changed.
540 (package-tar-file-info): Use package-subdirectory-regexp.
542 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
544 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
545 diff-mode-shared-map (bug#8284).
546 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
548 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
550 * calendar/time-date.el (format-seconds): Use assoc instead of
551 assoc-string, since assoc-string doesn't exist in XEmacs.
553 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
555 * custom.el (custom-known-themes): Reflow docstring.
556 (custom-theme-load-path): Fix typo in docstring.
557 (load-theme): Fix typo in error message.
558 (custom-available-themes, custom-variable-theme-value):
559 Use `let', not `let*'.
561 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
563 * calc/README: Mention inclusion of musical notes.
565 * calc/calc-units.el (calc-lu-quant): Rename from
566 `calc-logunits-quantity'.
567 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
568 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
569 (calc-db): Rename from `calc-dblevel'.
570 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
571 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
572 (calc-np): Rename from `calc-nplevel'.
573 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
574 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
575 (calc-lu-plus): Rename from `calc-logunits-add'.
576 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
577 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
578 (calc-lu-minus): Rename from `calc-logunits-sub'.
579 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
580 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
581 (calc-lu-times): Rename from `calc-logunits-mul'.
582 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
583 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
584 (calc-lu-divide): Rename from `calc-logunits-div'.
585 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
586 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
588 * calc/calc-ext.el (calc-init-extensions): Update the names of the
589 functions being autoloaded.
591 * calc/calc.el (calc-lu-power-reference): Rename from
592 `calc-logunits-power-reference'.
593 (calc-lu-field-reference): Rename from
594 `calc-logunits-field-reference'.
596 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
598 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
600 * minibuffer.el (completion-all-sorted-completions):
601 Use :completion-cycle-penalty text property if present.
603 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
605 * allout.el (allout-yank-processing): Adjust for new rebulleting
606 regime so bullet being yanked is used without prompting the user
609 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
611 * startup.el (command-line): Warn the user that _emacs is deprecated.
613 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
615 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
616 (delphi-verbose, delphi-comment-face, delphi-string-face)
617 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
618 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
619 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
620 (delphi-new-comment-line, delphi-font-lock-defaults)
621 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
622 Fix typos in docstrings.
624 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
626 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
627 Invert the roles of character and string values for INSTEAD, so a
628 string is used for the more common case of a defaulting prompt.
630 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
632 * progmodes/ruby-mode.el (ruby-backward-sexp):
633 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
634 * play/gamegrid.el (gamegrid-make-face):
635 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
636 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
637 * notifications.el (notifications-notify):
638 * net/xesam.el (xesam-search-engines):
639 * net/quickurl.el (quickurl-list-insert):
640 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
642 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
644 * startup.el (command-line): Update package subdirectory regexp.
646 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
648 * allout.el (allout-abbreviate-flattened-numbering)
649 (allout-mode-deactivate-hook): Fix up obsolescence "date".
651 * subr.el (read-char-choice): Only show the cursor after the prompt,
652 not after the answer.
654 2011-03-15 Kevin Ryde <user42@zip.com.au>
656 * help-fns.el (variable-at-point): Skip leading quotes, if any
659 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
661 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
664 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
666 * shell.el (shell): When called interactively, offer to change the
667 shell file name on remote hosts.
669 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
671 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
672 integration for LDAP parameters. The host, base, user or binddn,
673 and secret tokens can be specified in a netrc file, for instance.
674 This is optional because an `auth-source' parameter must be
675 specified in the search attributes.
677 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
679 * help.el (describe-mode): Link to the mode's definition (bug#8185).
681 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
683 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
684 into declaration. Remove redundant and harmful binding.
686 2011-03-12 Eli Zaretskii <eliz@gnu.org>
688 * files.el (file-ownership-preserved-p): Pass `integer' as an
689 explicit 2nd argument to `file-attributes'. If the file's owner
690 is the Administrators group on Windows, and the current user is
691 Administrator, consider that a match.
693 * server.el (server-ensure-safe-dir): Consider server directory
694 safe on MS-Windows if its owner is the Administrators group while
695 the current Emacs user is Administrator. Use `=' to compare
696 numerical UIDs, since they could be integers or floats.
698 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
700 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
702 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
704 Sync with Tramp 2.2.1.
706 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
708 * net/trampver.el: Update release number.
710 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
712 * progmodes/compile.el (compilation--previous-directory): Fix up
713 various nil/dead-marker mismatches (bug#8014).
714 (compilation-directory-properties, compilation-error-properties):
715 Don't call it at a position past the one we're about to change.
717 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
718 Disable obsolescence warnings in the file that declares it.
720 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
722 * allout-widgets.el (allout-widgets-tally): Initialize
723 allout-widgets-tally as a hash table rather than nil to prevent
724 mode-line redisplay warnings.
725 Also, clarify the module description and fix a comment typo.
727 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
729 * help-fns.el (describe-variable): Don't complete keywords.
730 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
732 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
734 * emacs-lisp/package.el (package-version-join): Impose a standard
735 string representation for pre/alpha/beta version lists.
736 (package-unpack-single): Standardize the directory name by passing
737 it through package-version-join.
738 (package-strip-rcs-id): Accept any version string that does not
739 signal an error in version-to-list.
741 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
743 * simple.el (delete-trailing-whitespace): Return nil for the
744 benefit of `write-file-functions'.
746 2011-03-10 Glenn Morris <rgm@gnu.org>
748 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
750 * vc/vc-git.el (vc-git-program): New option.
751 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
752 (vc-git--call): Use it.
754 * eshell/esh-util.el (eshell-condition-case): Doc fix.
756 * cus-edit.el (Custom-newline): If no button at point, look
757 for a subgroup button at start-of-line. (Bug#2298)
759 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
761 2011-03-10 Julien Danjou <julien@danjou.info>
763 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
764 `cursor-type' is nil.
766 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
768 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
770 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
772 * allout.el Summary: Change so yank of distinctive-bullet items
773 preserves the existing header prefix, rebulleting it if necessary,
774 rather than replacing it. This is necessary for proper operation
775 of cooperative addons like allout-widgets.
776 (allout-make-topic-prefix, allout-rebullet-heading): Change
777 SOLICIT arg to INSTEAD, and interpret additionally a string value
778 as alternate bullet to be used, instead of prompting the user for
781 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
783 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
784 Do not use `tramp-file-name-port', because this returns also
785 `tramp-default-port'.
787 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
789 * net/rcirc.el (rcirc-handler-001): Remove useless
790 with-rcirc-process-buffer.
791 (rcirc-check-auth-status): Swap arguments to string-match.
793 2011-03-09 Glenn Morris <rgm@gnu.org>
795 * shell.el (shell-mode):
796 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
798 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
799 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
801 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
803 * emacs-lisp/package.el (package-refresh-contents)
804 (package-menu-execute): Use condition-case-no-debug.
806 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
808 * simple.el (shell-command-to-string): Use `process-file'.
810 * emacs-lisp/package.el (package-tar-file-info): Handle also
813 * emacs-lisp/package-x.el (package-upload-buffer-internal):
814 Use `equal' for upload base check.
816 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
818 * textmodes/texinfo.el (texinfo-environments):
819 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
821 2011-03-08 Glenn Morris <rgm@gnu.org>
823 * cus-start.el (cursor-in-non-selected-windows):
824 Fix :set quoting oddness. (Bug#8192)
826 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
827 in some setf expressions. (Bug#2159)
829 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
831 * custom.el (custom-available-themes): Return themes in
834 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
836 * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
837 application of patch from Alan Mackenzie (Bug#7595).
839 2011-03-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
841 * net/rcirc.el (rcirc-connect): Fix PASS bug.
843 2011-03-07 Glenn Morris <rgm@gnu.org>
845 * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
846 Give an explicit error if failed to make writable. (Bug#6146)
848 2011-03-07 Ed Reingold <reingold@emr.cs.iit.edu>
850 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
851 Add optional `after-sunset' argument. (Bug#8190)
853 2011-03-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
855 * play/morse.el (nato-alphabet, nato-region, denato-region):
856 New variable and functions. (Bug#2288)
857 (morse-region, unmorse-region): Barf if read-only.
859 2011-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
861 * progmodes/gud.el (gdb-script-syntax-propertize-function):
862 Don't change the syntax of a \n that closes a comment (bug#8169).
864 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
866 * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
868 (package--update-file): Doc fix. Accept relative file names.
869 (package--archive-contents-from-file): Remove the argument, since
870 it's necessarily always "archive-contents".
871 (package-maint-add-news-item): Pass relative file name args to
872 package--update-file.
873 (package-upload-buffer-internal): Prompt for a destination if
874 package-archive-upload-base is invalid. Create the directory if
876 (package-upload-buffer, package-upload-file): Doc fix.
878 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
880 * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
881 and move isearch-yank-line to M-s C-e (Bug#8183).
883 2011-03-06 Alan Mackenzie <acm@muc.de>
885 * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
886 (c-guess-basic-syntax): Move CASE 19 to a different place,
887 correctly to process template-args-cont lines.
889 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
891 * calc/calc-ext.el (calc-init-extensions):
892 Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
893 and calc-nplevel, respectively. Add keybindings for calc-spn,
894 calc-midi and calc-freq. Add autoloads for calcFunc-spn,
895 calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
897 * calc/calc-units.el (calc-dblevel): Rename from
898 calc-logunits-dblevel.
899 (calc-nplevel): Rename from calc-logunits-nplevel.
900 (math-midi-round, math-freqp, math-midip, math-spnp)
901 (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
902 (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
903 (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
904 (math-notes): New variable.
906 * calc/calc.el (calc-note-threshold): New variable.
908 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
910 * emacs-lisp/package.el (package-archives): Accept either ordinary
911 directory names, in addition to HTTP URLs.
912 (package--with-work-buffer): New macro. Handle normal directories.
913 (package-handle-response): Don't display the failing buffer.
914 (package-download-single, package-download-tar)
915 (package--download-one-archive): Use package--with-work-buffer.
916 (package-archive-base): Rename from package-archive-url.
918 2011-03-06 Glenn Morris <rgm@gnu.org>
920 * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
921 (xmodmap-generic-mode): Respect generic-extras-enable-list.
923 2011-03-06 Daniel Clemente <dcl441-bugs@yahoo.com> (tiny change)
925 * generic-x.el (xmodmap-generic-mode): New. (Bug#2065)
927 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
929 * allout.el (allout-init, allout-prefixed-keybindings)
930 (allout-unprefixed-keybindings):
931 * progmodes/prolog.el (prolog-find-term):
932 Fix typos in docstrings.
934 2011-03-06 Nikolaj Schumacher <me@nschum.de> (tiny change)
936 * emacs-lisp/elp.el (elp-results): Fix off-by-one in header. (Bug#2746)
938 2011-03-06 Kevin Ryde <user42@zip.com.au>
940 * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc. (Bug#5326)
942 2011-03-06 Michael Shields <shields@msrl.com> (tiny change)
944 * window.el (one-window-p, walk-windows, display-buffer):
945 Doc fixes. (Bug#5567)
947 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
949 * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
950 of the variable if it exists.
952 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
959 * net/tramp-cache.el:
960 * obsolete/fast-lock.el:
961 * textmodes/reftex.el:
962 Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
964 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
966 * files.el (delete-directory, copy-directory, list-directory):
967 Use read-directory-name.
969 * find-file.el (ff-find-the-other-file):
970 * net/ange-ftp.el (ange-ftp-make-directory):
971 * printing.el (pr-interactive-dir):
972 * progmodes/ada-prj.el (ada-prj-load-directory):
973 * progmodes/ebnf2ps.el (ebnf-print-directory)
974 (ebnf-spool-directory, ebnf-eps-directory)
975 (ebnf-syntax-directory):
977 * speedbar.el (speedbar-create-directory):
978 * vc/emerge.el (emerge-merge-directories):
979 * vc/vc-dir.el (vc-dir):
980 * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
982 2011-03-05 Chong Yidong <cyd@stupidchicken.com>
984 * help-mode.el (help-buffer): If we are to return the current
985 buffer, signal an error if it's not in Help mode (Bug#8147).
987 2011-03-05 Reuben Thomas <rrt@sc3d.org>
989 * files.el (file-name-version-regexp): Handle backup files of the
990 form `foo.js.~HEAD~1~' (Bug#8159).
992 2011-03-05 Glenn Morris <rgm@gnu.org>
994 * eshell/esh-var.el: Don't require esh-test when compiling.
995 * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
996 * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
997 * eshell/esh-test.el: Move to ../../test/eshell.el.
999 2011-03-05 David Engster <deng@randomsample.de>
1001 * files.el (save-some-buffers): Report the names of buffers saved
1002 automatically due to buffer-save-without-query (Bug#8134).
1004 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1006 * net/rcirc.el: Add QuakeNet authentication support.
1007 (rcirc-authinfo, rcirc-check-auth-status)
1008 (rcirc-authenticate): Support QuakeNet.
1010 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1012 * net/rcirc.el: Add functionality to authenticate before
1013 autojoining channels.
1014 (rcirc-authenticate-before-join): New option.
1015 (rcirc-authenticated-hook): New variable.
1016 (rcirc-connect): Make local variable rcirc-user-authenticated.
1017 (rcirc-handler-001): Respect rcirc-authenticate-before-join.
1018 (rcirc-check-auth-status, rcirc-join-channels-post-auth):
1020 (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
1021 Call rcirc-check-auth-status.
1023 2011-03-05 Alex Harsanyi <AlexHarsanyi@gmail.com>
1025 * net/soap-client.el (soap-namespace-put-link): Check if the target
1026 name is fully qualified -- use only the name part.
1027 (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
1028 types, treated the same as xsd:sequence. (Bug#8166)
1030 2011-03-05 Eli Zaretskii <eliz@gnu.org>
1032 * files.el (find-file-noselect): Don't ask about re-visiting
1033 non-literally if the file is already visited in image-mode.
1036 2011-03-05 Glenn Morris <rgm@gnu.org>
1038 * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
1039 (eshell-mode): Use eshell-kill-buffer-function.
1040 Run the -initialize functions independently of the -load-hooks.
1041 * eshell/esh-proc.el (eshell-kill-process-function): New function.
1042 (eshell-gather-process-output, eshell-sentinel)
1043 (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
1044 Use eshell-kill-process-function.
1045 * eshell/em-alias.el (eshell-alias-load-hook):
1046 * eshell/em-banner.el (eshell-banner-load-hook):
1047 * eshell/em-cmpl.el (eshell-cmpl-load-hook):
1048 * eshell/em-dirs.el (eshell-dirs-load-hook):
1049 * eshell/em-glob.el (eshell-glob-load-hook):
1050 * eshell/em-hist.el (eshell-hist-load-hook):
1051 * eshell/em-pred.el (eshell-pred-load-hook):
1052 * eshell/em-prompt.el (eshell-prompt-load-hook):
1053 * eshell/em-rebind.el (eshell-rebind-load-hook):
1054 * eshell/em-script.el (eshell-script-load-hook):
1055 * eshell/em-smart.el (eshell-smart-load-hook):
1056 * eshell/em-term.el (eshell-term-load-hook):
1057 * eshell/em-unix.el (eshell-unix-load-hook):
1058 * eshell/esh-arg.el (eshell-arg-load-hook):
1059 * eshell/esh-cmd.el (eshell-cmd-load-hook):
1060 * eshell/esh-ext.el (eshell-ext-load-hook):
1061 * eshell/esh-io.el (eshell-io-load-hook):
1062 * eshell/esh-mode.el (eshell-exit-hook):
1063 * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
1064 * eshell/esh-var.el (eshell-var-load-hook):
1065 Set default hook values to nil. (Bug#5375)
1067 * eshell/esh-module.el (eshell-module-unload-hook)
1068 (eshell-modules-list): Remove leading * from defcustom docs.
1070 * eshell/esh-util.el (eshell-for): Make it obsolete.
1071 * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
1072 * eshell/em-dirs.el (eshell-save-some-last-dir):
1073 * eshell/em-hist.el (eshell-save-some-history)
1074 (eshell-hist-parse-modifier):
1075 * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
1076 (eshell-ls-entries):
1077 * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
1078 * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
1080 * eshell/esh-ext.el (eshell-find-interpreter):
1081 * eshell/esh-mode.el (eshell-mode):
1082 * eshell/esh-module.el (eshell-unload-extension-modules):
1083 * eshell/esh-proc.el (eshell-process-interact):
1084 * eshell/esh-test.el (eshell-test):
1085 * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
1086 * eshell/esh-var.el (eshell/env, eshell-environment-variables)
1087 (eshell-variables-list):
1088 * eshell/eshell.el (eshell-unload-all-modules):
1089 Replace eshell-for with dolist.
1091 2011-03-04 Glenn Morris <rgm@gnu.org>
1093 * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0. (Bug#8170)
1095 2011-03-04 Tom Tromey <tromey@redhat.com>
1097 * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
1099 2011-03-04 Glenn Morris <rgm@gnu.org>
1101 * outline.el (outline-regexp): No longer allow nil.
1102 (outline-heading-end-regexp): Add safety predicate. (Bug#7619)
1104 * net/browse-url.el (browse-url):
1105 Handle deleted default-directory. (Bug#6077)
1107 * recentf.el (recentf-include-p): In case of a buggy predicate,
1108 err on the side of including, not excluding. (Bug#5843)
1110 2011-03-04 Jay Belanger <jay.p.belanger@gmail.com>
1112 * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
1115 2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
1117 * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
1118 if there is no node. (Bug#3261)
1120 2011-03-04 Leo <sdl.web@gmail.com>
1122 * vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
1124 * time.el (display-time-world-list): Fix typo. (Bug#7571)
1126 2011-03-04 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
1128 * cus-edit.el (custom-buffer-create-internal):
1129 Split search string before passing it to `customize-apropos' (bug#8136).
1131 2011-03-04 Drew Adams <drew.adams@oracle.com>
1133 * image-dired.el (image-dired-cmd-read-exif-data-options):
1134 Fix typo in docstring (bug#8156).
1136 2011-03-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1138 * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
1140 2011-03-03 Christian Ohler <ohler@gnu.org>
1142 * emacs-lisp/ert.el (ert--explain-equal): New function.
1143 (ert--explain-equal-rec): Rename from `ert--explain-not-equal'.
1144 All callers changed.
1145 (ert--explain-equal-including-properties): Rename from
1146 `ert--explain-not-equal-including-properties'. All callers
1149 2011-03-03 Christian Ohler <ohler@gnu.org>
1151 * emacs-lisp/ert.el (ert--stats-set-test-and-result)
1152 (ert-char-for-test-result, ert-string-for-test-result)
1153 (ert-run-tests-batch, ert--print-test-for-ewoc):
1154 Handle `ert-test-quit'.
1156 2011-03-03 David Abrahams <dave@boostpro.com> (tiny change)
1158 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1159 Move ediff-defvar-local calls after defcustoms. (Bug#1821)
1161 2011-03-03 Glenn Morris <rgm@gnu.org>
1163 * files.el (file-truename): Doc fix. (Bug#2341)
1165 2011-03-03 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1167 * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
1169 2011-03-03 Vagn Johansen <gonz808@hotmail.com> (tiny change)
1171 * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
1172 programs output backslashes. (Bug#7663)
1174 2011-03-03 Glenn Morris <rgm@gnu.org>
1176 * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
1177 (mail-mode): Remove mail-sent-via from the doc.
1178 (mail-sent-via): Make it obsolete. (Bug#1776)
1180 * progmodes/grep.el (grep-highlight-matches): Doc fix.
1181 (grep-process-setup): No highlighting without font-lock. (Bug#8084)
1183 * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
1184 with no parents. (Bug#8025)
1186 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
1188 * password-cache.el (password-in-cache-p): Add autoload.
1190 2011-03-02 Glenn Morris <rgm@gnu.org>
1192 * man.el (Man-support-local-filenames): Also handle Red Hat's man.
1193 * dired-x.el (Man-support-local-filenames): Autoload it.
1194 (dired-guess-shell-alist-default): Also handle Red Hat's man.
1196 * dired-x.el (dired-default-directory-alist, dired-default-directory):
1198 (dired-smart-shell-command): Just call dired-current-directory.
1200 * dired-x.el (dired-jump-other-window): Add autoload.
1201 (dired-default-directory-alist, dired-default-directory): Doc fixes.
1202 (dired-default-directory-alist): Mark as risky.
1204 * dired-x.el (dired-omit-here-always): Make it obsolete.
1206 2011-03-02 Chong Yidong <cyd@stupidchicken.com>
1208 * textmodes/artist.el (artist-curr-go): Default to pen-line.
1209 (artist-select-op-pen-line): New function.
1210 (artist-menu-map): New variable.
1211 (artist-mode-map): Add a menu to the menu-bar.
1213 2011-03-02 Jay Belanger <jay.p.belanger@gmail.com>
1215 * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
1218 * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
1220 (math-logunits-add, math-logunits-mul, math-logunits-divide):
1221 (math-logunits-quant, math-logunits-level):
1222 Use `math-conditional-apply' and `math-conditional-pow' to evaluate
1224 (math-logunits-level): Extract units from ratio.
1226 2011-03-01 Juanma Barranquero <lekktu@gmail.com>
1228 * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
1230 2011-03-01 Glenn Morris <rgm@gnu.org>
1232 * calendar/cal-hebrew.el (calendar-hebrew-birthday)
1233 (diary-hebrew-birthday): Rename and rework functions added
1236 2011-03-01 Ed Reingold <reingold@emr.cs.iit.edu>
1238 * calendar/cal-hebrew.el (hebrew-calendar-birthday)
1239 (diary-hebrew-birthday): New functions.
1241 2011-03-01 Glenn Morris <rgm@gnu.org>
1243 * dired.el (dired-safe-switches-p): Beef it up.
1244 (dired-actual-switches): Use it for the safe-local prop. (Bug#3230)
1246 2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
1248 * dired.el (dired-safe-switches-p): New function.
1250 2011-03-01 Glenn Morris <rgm@gnu.org>
1252 * files.el (dir-locals-collect-variables):
1253 Add the ability to exclude subdirectories. (Bug#8100)
1255 * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
1257 2011-02-28 Christoph Scholtes <cschol2112@googlemail.com>
1259 * ido.el (ido-everywhere): Doc fix.
1260 (ido-mode): Doc fix.
1262 2011-02-28 Glenn Morris <rgm@gnu.org>
1264 * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
1266 2011-02-28 Michael Albinus <michael.albinus@gmx.de>
1268 * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
1271 2011-02-28 Antoine Levitt <antoine.levitt@gmail.com>
1273 * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
1275 2011-02-28 Juanma Barranquero <lekktu@gmail.com>
1277 * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
1278 Fix typos in docstrings.
1280 2011-02-28 Stephen Berman <stephen.berman@gmx.net>
1282 * dired-aux.el (dired-update-file-line):
1283 Fix 2010-11-09 change. (Bug#8131)
1285 2011-02-28 Eli Zaretskii <eliz@gnu.org>
1287 * international/mule-cmds.el (set-default-coding-systems): Use the
1288 -unix variant of encoding in default-keyboard-coding-system.
1291 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
1293 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
1295 2011-02-27 Prestoo Ten <prestooten@gmail.com> (tiny change)
1297 * term/screen.el: New file (Bug#2650).
1299 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
1301 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
1302 (pcase-mutually-exclusive-predicates): New var.
1303 (pcase--split-consp, pcase--split-pred): Use it.
1304 (pcase--split-equal, pcase--split-member): When splitting against
1305 a pure predicate, run it to know the outcome.
1306 (pcase--u1): Mark vars that are actually used.
1307 (pcase--q1): Avoid introducing unused vars.
1309 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
1311 * calc/calc-ext.el (calc-init-extensions):
1312 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
1314 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
1317 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
1318 argument is a variable.
1320 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1322 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
1323 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
1324 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
1326 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
1328 * password-cache.el (password-in-cache-p): Convenience function to
1329 check if a key is in the cache, even if the value is nil.
1331 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
1333 * emacs-lisp/package-x.el (package--archive-contents-from-url)
1334 (package--archive-contents-from-file): New functions.
1335 (package-update-news-on-upload): New var.
1336 (package-upload-buffer-internal): Extract archive-contents from
1337 package-archive-upload-base if it is not found at archive-url.
1338 Obey package-update-news-on-upload.
1339 (package-upload-buffer, package-upload-file): Doc fix.
1341 2011-02-24 Glenn Morris <rgm@gnu.org>
1343 * files-x.el (modify-dir-local-variable): Handle dir-locals from
1344 the cache, and from non-file sources.
1346 * help-fns.el (describe-variable): Return consistent results when a
1347 dir-local from a file came from the cache or did not. (Bug#8095)
1348 If a dir-local has no associated file, say it came from a "directory".
1350 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
1351 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
1353 * files.el (dir-locals-find-file): Doc fix.
1354 Fix the check for cache elements that have no associated file,
1355 and the mtime check for those that do. (Bug#8095)
1357 * dired-x.el (dired-hack-local-variables):
1358 Handle interrupts during hacking local variables. (Bug#5216)
1360 * emacs-lisp/autoload.el (autoload-save-buffers)
1361 (autoload-find-destination, update-directory-autoloads):
1362 Avoid prompts when updating autoloads.
1364 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1366 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
1368 2011-02-23 Kenichi Handa <handa@m17n.org>
1370 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
1371 error when a multipart boundary in the nested multipart is found.
1373 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
1376 2011-02-23 Glenn Morris <rgm@gnu.org>
1378 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
1379 * dired-x.el (dired-omit-mode): Safe if boolean.
1380 (dired-enable-local-variables): Fix doc and custom type.
1381 (dired-enable-local-variables, dired-local-variables-file)
1382 (dired-hack-local-variables): Make obsolete.
1383 (dired-omit-here-always): Use dir-locals.el instead.
1385 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
1387 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
1389 * help-fns.el (describe-function-1): Don't signal an error just because
1390 the DOC file disappeared.
1392 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
1394 * eshell/esh-ext.el (eshell-external-command): Do not restrict
1395 remote check to "ftp". (Bug#8089)
1397 2011-02-21 Alan Mackenzie <acm@muc.de>
1400 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
1401 in macros finding their way into c-state-nonlit-pos-cache.
1402 Strengthen the comments.
1403 (c-state-dump): New commented out diagnostic routine.
1405 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
1407 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
1408 `field' property of `rfn-eshadow-overlay'.
1410 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
1412 * net/netrc.el (netrc-parse): Comment fix.
1414 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
1416 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
1417 Autoload. Add optional arg FRAME, and pass it to color-values.
1418 (color-complement): Caller changed. Doc fix.
1419 (color-gradient): Rewrite for better clarity and efficiency.
1421 * faces.el (color-values): Use cond for clarity. Doc fix.
1423 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
1425 (list-colors-sort-key, list-colors-print):
1426 Use color-normalized-values.
1428 2011-02-20 Drew Adams <drew.adams@oracle.com>
1430 * color.el: First part of merge from hexrgb.el.
1431 (color-rgb-to-hex): Rename from color-rgb->hex.
1432 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
1433 saturation to zero if the value is too small.
1434 (color-rgb-to-hsl): Rename from color-rgb->hsl.
1435 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
1436 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
1437 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
1438 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
1439 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
1440 (color-cie-de2000): Doc fix.
1442 2011-02-20 Alan Mackenzie <acm@muc.de>
1444 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
1445 locating the beginning of a macro. (Bug#7595)
1447 2011-02-20 Glenn Morris <rgm@gnu.org>
1449 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
1452 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1453 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
1455 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
1456 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
1458 * progmodes/hideshow.el (hs-find-block-beginning)
1459 (hs-hide-level-recursive): Ignore comments when parsing braces
1462 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1464 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
1465 (vc-bzr-pull): Use it.
1467 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1469 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
1470 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
1471 but returning an alist. Ignore comments in bzr conffile.
1472 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
1473 (vc-bzr-error-regex-alist): New var.
1474 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
1476 * vc/vc-dispatcher.el (vc-do-async-command):
1477 Bind inhibit-read-only to t.
1479 * progmodes/compile.el (compilation--flush-directory-cache):
1480 Handle the case where cdr of compilation--flush-directory-cache
1481 points to no buffer, which can occur if we previously switched to
1482 compilation-mode in a pregenerated buffer.
1484 2011-02-19 Kenichi Handa <handa@m17n.org>
1486 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
1487 get the header copy into the temporary buffer.
1488 (rmail-mime-insert-decoded-text): Ignore us-ascii.
1489 (rmail-show-mime): When rmail-mime-coding-system is nil, set
1490 buffer-file-coding-system to undecided.
1492 2011-02-19 Eli Zaretskii <eliz@gnu.org>
1494 * international/mule-cmds.el (read-char-by-name, ucs-insert):
1495 Document completion with asterisk and a substring.
1497 2011-02-19 Glenn Morris <rgm@gnu.org>
1499 * files.el (find-file-literally): Doc fix.
1501 * simple.el (rfc822-goto-eoh): Give it a doc-string.
1503 * log-edit.el (log-edit-insert-changelog):
1504 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
1506 2011-02-19 Glenn Morris <rgm@gnu.org>
1508 * dired-x.el: Don't require dired-aux.
1509 (dired-do-create-files, dired-mark-read-regexp)
1510 (dired-do-create-files-regexp): Autoload from dired-aux.
1512 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
1513 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
1515 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
1516 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
1518 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
1519 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
1520 (dired-clean-up-buffers-too): Declare.
1522 * dired-x.el (dired-initial-position): Merge into dired.el's version.
1523 * dired.el (dired-initial-position): Merge dired-x's version here.
1524 (dired-find-subdir): Declare.
1526 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
1527 * dired-aux.el (dired-add-entry): Give it a doc-string.
1528 Merge dired-x's dired-omit handling here.
1529 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
1531 * international/mule-diag.el (list-input-methods-1):
1532 Indent all lines of multi-line doc-strings. (Bug#8066)
1534 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
1536 Fix 2011-02-02 changes.
1538 * apropos.el (apropos-print): Call apropos-mode before setting up
1539 buffer variables. Use inhibit-read-only.
1541 * emacs-lisp/package.el (package--list-packages):
1542 Call package-menu-mode before setting up buffer variables.
1544 * play/solitaire.el (solitaire): Call solitaire-mode before
1545 setting up buffer variables. Use inhibit-read-only.
1547 2011-02-18 Lawrence Mitchell <wence@gmx.li>
1549 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
1550 Bind case-fold-search to nil when looking for end of here-doc.
1552 2011-02-18 Eli Zaretskii <eliz@gnu.org>
1554 * image-mode.el (image-toggle-display-image):
1555 Set find-file-literally non-nil in buffers visiting binary image
1558 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1560 * files.el (cd): Make completion obey cd-path (bug#7924).
1562 2011-02-18 Glenn Morris <rgm@gnu.org>
1564 * progmodes/prolog.el: Don't require compile when compiling.
1565 (compilation-shell-minor-mode, compilation-error-regexp-alist)
1566 (compilation-forget-errors, compilation-fake-loc)
1567 (compilation-parse-errors-function, compilation-error-list): Declare.
1568 (prolog-inferior-mode): Require 'compile.
1570 * emulation/cua-base.el (pc-selection-mode): Declare.
1572 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
1573 (customize-object): Add autoload cookie.
1574 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
1575 (eieio-browse, describe-class, eieio-describe-class)
1576 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
1577 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
1578 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
1579 * Makefile.in (autoloads): Make eieio.el writable.
1581 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
1582 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
1583 (dired-hack-local-variables): Use inhibit-read-only.
1584 (dired-guess-default): Simplify.
1585 (dired-make-relative-symlink): Use dotimes.
1586 (dired-simultaneous-find-file): Use dolist.
1587 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
1588 (dired-x-hands-off-my-keys): Doc fix.
1589 (dired-x-bind-find-file): Doc fix. Use remapping.
1590 (after-init-hook): No need to add dired-x-bind-find-file.
1591 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
1592 No need to call expand-file-name.
1593 (dired-filename-at-point): Remove unused locals `end', `filename'.
1595 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1597 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
1599 2011-02-18 Christian Ohler <ohler@gnu.org>
1601 * emacs-lisp/ert.el (ert--setup-results-buffer)
1602 (ert-results-pop-to-backtrace-for-test-at-point)
1603 (ert-results-pop-to-messages-for-test-at-point)
1604 (ert-results-pop-to-should-forms-for-test-at-point)
1605 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
1606 were incorrect and unnecessary. This should make `make check'
1609 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
1611 * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
1612 (allout-widgets-icons-dark-subdir): Track relocations of icons.
1613 * lisp/allout.el: Remove commentary about remove encryption
1614 passphrase mnemonic support and verification.
1615 (allout-encrypt-string): Recognize epg failure to decrypt gpg2
1616 armored text using gpg1, and indicate that the gpg version *might*
1617 be the problem in the error message.
1619 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1621 * net/rcirc.el (rcirc-float-time): New function.
1622 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
1623 (rcirc-ctcp-sender-PING): Use it.
1625 2011-02-17 Glenn Morris <rgm@gnu.org>
1627 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
1628 (speedbar-update-flag, speedbar-fetch-etags-command)
1629 (speedbar-fetch-etags-arguments):
1630 * term.el (term-buffer-maximum-size, term-input-chunk-size)
1631 (term-completion-autolist, term-completion-addsuffix)
1632 (term-completion-recexact, term-completion-fignore):
1633 * term/sup-mouse.el (sup-mouse-fast-select-window):
1634 * term/x-win.el (x-select-request-type):
1635 Convert some defvars with "*" to defcustoms.
1637 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
1639 * vc/vc.el (vc-default-previous-version):
1640 Remove alias that points nowhere. (Bug#4496)
1642 * dired-x.el (dired-clean-up-after-deletion):
1643 kill-buffer does not need save-excursion.
1644 (dired-do-run-mail): Doc fix.
1645 (dired-filename-at-point): Doc fix.
1646 Use looking-at, and skip-chars rather than re search.
1648 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
1650 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
1652 * allout-widgets.el: New allout extension that shows allout
1653 outline structure with graphical widgets. 'allout-widgets'
1654 customize group is an 'allout' subgroup, for easy discovery.
1656 * allout.el: Include PGP and GnuPG in Keywords, and other
1657 commentary refinements.
1658 (allout-abbreviate-flattened-numbering): Rename to
1659 allout-flattened-numbering-abbreviation, and
1660 define-obsolete-variable-alias the old name.
1661 (allout-flattened-numbering-abbreviation): Rename from
1662 allout-abbreviate-flattened-numbering.
1663 (allout-mode-p): Include among autoloads, for use by other modes
1665 (allout-listify-exposed):
1666 Use allout-flattened-numbering-abbreviation.
1667 (allout-encrypt-string): Use set-buffer-multibyte directly.
1668 (allout-set-buffer-multibyte): Remove.
1670 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1672 * simple.el (just-one-space): Remove useless `or' call.
1674 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1676 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
1677 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
1678 (soap-decoded-multi-refs, soap-current-wsdl)
1679 (soap-encoded-namespaces): Rename CL-style *...* variables.
1681 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
1683 * net/soap-client.el: Add "comm" and "hypermedia" to the
1684 keywords. Reflow too long lines.
1686 * net/soap-inspect.el: Ditto. Require 'cl.
1688 2011-02-16 Bastien Guerry <bzg@altern.org>
1690 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
1691 in a `doctor-type' argument.
1693 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1695 * net/soap-client.el:
1696 * net/soap-inspect.el: New files.
1698 2011-02-16 Leo <sdl.web@gmail.com>
1700 * dired-x.el (dired-mode-map, dired-extra-startup):
1701 Remove dired-copy-filename-as-kill since it's already in dired.el.
1703 2011-02-16 Glenn Morris <rgm@gnu.org>
1705 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
1706 Doc fixes. Add :set property, replacing top-level calls.
1707 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
1708 (dired-guess-shell-gnutar): Test tar version rather than system-type.
1709 (dired-extra-startup, dired-man, dired-info): Doc fixes.
1710 (dired-clean-up-after-deletion): Use when and dolist.
1711 (dired-jump): Use unless and when.
1712 (dired-virtual): Use line-end-position.
1713 (dired-default-directory-alist): Rename from default-directory-alist.
1714 (dired-default-directory): Update for above name change.
1715 (dired-vm): Drop VM < 5 and simplify.
1716 (dired-buffer-more-recently-used-p): Rewrite.
1717 (dired-filename-at-point): Use when and or.
1718 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
1721 2011-02-15 Glenn Morris <rgm@gnu.org>
1723 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
1725 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
1727 * vc/vc-git.el (vc-git-root-log-format): New option for
1728 customizing log format.
1729 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
1730 (vc-git-log-view-mode): Use it.
1731 (vc-git-expanded-log-entry): New function.
1732 (vc-git-log-view-mode): Use it. Truncate lines in root log.
1734 * vc/vc-hg.el (vc-hg-root-log-template): New option for
1735 customizing log format.
1736 (vc-hg-print-log): Use it.
1737 (vc-hg-expanded-log-entry): New function.
1738 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
1739 vc-hg-expanded-log-entry. Truncate lines in root log.
1741 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
1743 * vc/log-view.el (log-view-mode-menu):
1744 Add log-view-toggle-entry-display.
1746 2011-02-14 Glenn Morris <rgm@gnu.org>
1748 * dired-x.el: Don't require man when compiling.
1749 (dired-omit-extensions, dired-local-variables-file)
1750 (dired-x-hands-off-my-keys): Make them defcustoms.
1751 (Man-support-local-filenames, Man-getpage-in-background): Declare.
1752 (vm-visit-folder): Declare rather than defining.
1753 (dired-x-help-address, dired-x-variable-list): Remove.
1754 (dired-x-submit-report): Make it an obsolete alias.
1756 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
1758 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
1760 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1762 * net/imap.el: Bring it back.
1764 2011-02-13 Alan Mackenzie <acm@muc.de>
1766 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
1767 narrow-to-region call that cuts context off the end (Bug#7722).
1769 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1770 Refactor nested if-forms with a simple cond.
1771 (c-forward-<>-arglist): Revert 2011-01-31 change.
1773 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1775 * vc/log-view.el: New command log-view-toggle-entry-display for
1776 toggling log entries between concise and detailed forms.
1777 (log-view-toggle-entry-display): New command.
1778 (log-view-mode-map): Bind RET to it.
1779 (log-view-expanded-log-entry-function): New variable.
1780 (log-view-current-entry, log-view-inside-comment-p)
1781 (log-view-current-tag): New functions.
1782 (log-view-toggle-mark-entry): Use log-view-current-entry and
1783 log-view-end-of-defun instead of searching directly with
1784 log-view-message-re.
1785 (log-view-end-of-defun): Likewise. Add optional ARG for
1786 compatibility with end-of-defun.
1787 (log-view-end-of-defun): Ignore comments and VC buttons.
1789 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
1790 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
1792 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1794 * net/imap.el: Remove file. All the functionality is in nnimap.el.
1796 * net/imap-hash.el: Remove file.
1798 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
1800 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
1802 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
1805 * net/tramp-imap.el: Remove file.
1807 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1809 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
1810 widget library for buttons, just use button.el.
1812 * vc/log-view.el (log-view-mode-map): Don't inherit from
1815 2011-02-12 Glenn Morris <rgm@gnu.org>
1817 * emacs-lisp/cl-seq.el (union, nunion, intersection)
1818 (nintersection, set-difference, nset-difference)
1819 (set-exclusive-or, nset-exclusive-or): Doc fix.
1821 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1823 * faces.el (face-attr-match-p): Handle the obsolete :bold and
1824 :italic props, so that frame-set-background-mode works. (Bug#7966)
1826 * simple.el (next-error): Doc fix.
1828 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1830 * dired-aux.el (dired-create-files): Adapt destination name to
1831 match the new behavior of copy-directory.
1833 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
1835 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1836 from rmail-dont-reply-to-names. Callers changed.
1837 (mail-dont-reply-to): Rename from mail-dont-reply-to.
1838 (rmail-dont-reply-to): Make it an obsolete alias.
1840 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1841 nil, and make obsolete (Bug#7888).
1842 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1844 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1846 * mail/rmailsort.el (rmail-sort-by-correspondent)
1847 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
1849 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1851 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1853 * files.el (copy-directory): New argument COPY-CONTENTS for
1854 copying directory contents into another existing directory.
1856 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
1858 * minibuffer.el (completion-table-case-fold): New function for
1859 creating a case-insensitive completion table.
1861 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1863 * net/tramp.el (tramp-default-method): Also check if
1864 `auth-source-search' is bound.
1865 (tramp-read-passwd): Use `auth-source-search' instead of
1866 `auto-source-user-or-password'.
1868 * net/tramp-imap.el: Autoload `auto-source-search' instead of
1869 `auto-source-user-or-password.
1870 (tramp-imap-passphrase-callback-function): Use it.
1872 * net/imap-hash.el: Autoload `auto-source-search' instead of
1873 `auto-source-user-or-password.
1874 (imap-hash-open-connection): Use it.
1876 * mail/smtpmail.el: Autoload `auto-source-search' instead of
1877 `auto-source-user-or-password.
1878 (smtpmail-try-auth-methods): Use it.
1880 2011-02-12 Phil Hagelberg <phil@hagelb.org>
1882 * emacs-lisp/package.el: Allow packages to be reinstalled.
1883 (package--write-file-no-coding): Remove EXCL arg.
1884 (package-unpack-single): Don't use it.
1886 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
1888 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1889 in each sub directory.
1890 (vc-svn-registered): Use vc-svn-root.
1891 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
1892 (vc-svn-repository-hostname): Use "svn info".
1894 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1896 * simple.el (delete-trailing-whitespace): New optional buffer
1899 2011-02-11 Bastien Guerry <bzg@altern.org>
1901 * files.el (basic-save-buffer): save unmodified buffers when
1902 the file pointed by buffer-file-name doesn't exist.
1904 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1906 * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1908 2011-02-11 Glenn Morris <rgm@gnu.org>
1910 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1912 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
1914 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1916 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
1918 * server.el (server-process-filter): Use pcase.
1920 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1922 (smie-indent--parent): Extend to "parent of arg".
1923 (smie-indent-inside-string): New function.
1924 (smie-indent-functions): Use it.
1926 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1927 bzr locking race condition.
1929 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1930 still valid before using it.
1932 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1933 `message' -> `compilation-message' rename (bug#8004).
1935 Move keymap initialization into declaration.
1936 * textmodes/enriched.el (enriched-mode-map):
1937 * textmodes/bib-mode.el (bib-mode-map):
1938 * term/lk201.el (lk201-function-map):
1939 * tar-mode.el (tar-mode-map):
1940 * replace.el (occur-mode-map):
1941 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1942 * progmodes/idlw-help.el (idlwave-help-mode-map):
1943 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1944 * play/solitaire.el (solitaire-mode-map):
1945 * play/snake.el (snake-mode-map, snake-null-map):
1946 * play/pong.el (pong-mode-map):
1947 * play/handwrite.el (menu-bar-handwrite-map):
1948 * play/gametree.el (gametree-mode-map):
1949 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1950 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1951 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1952 (newsticker--url-keymap):
1953 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1954 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1955 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1956 (menu-bar-edit-menu, menu-bar-custom-menu)
1957 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1958 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1959 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1960 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1961 (menu-bar-tools-menu, menu-bar-describe-menu)
1962 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1963 (menu-bar-help-menu):
1964 * mail/rmailsum.el (rmail-summary-mode-map):
1965 * kmacro.el (kmacro-step-edit-map):
1966 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1967 (ibuffer-mode-operate-map):
1968 * hi-lock.el (hi-lock-menu, hi-lock-map):
1969 * emulation/vip.el (vip-mode-map):
1970 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1971 * bookmark.el (bookmark-bmenu-mode-map):
1972 * help-mode.el (help-mode-map): Move initialization into declaration.
1974 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1976 * net/rcirc.el: Add PRIVMSG and CTCP functions.
1977 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1978 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1979 (rcirc-cmd-me, rcirc-authenticate): Use them.
1981 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
1983 * allout.el: Synopsis: Change allout user configuration so
1984 auto-activation is controlled solely by customization
1985 `allout-auto-activation'.
1987 (allout-auto-activation-helper, allout-setup): New autoloads
1988 implement new custom set procedure for allout-auto-activation.
1989 Also, explicitly invoke (allout-setup) after allout-auto-activation
1990 is custom-defined, to affect the settings in emacs sessions besides
1991 the few where allout-auto-activation customization is done.
1992 (allout-auto-activation): Use allout-auto-activation-helper to
1993 :set. Revise the docstring.
1994 (allout-init): Reduce functionality to just customizing
1995 allout-auto-activation, and mark obsolete.
1996 (allout-mode): Respect string values for allout-auto-activation.
1997 Run allout-after-copy-or-kill-hook without any args.
1998 (allout-mode, allout-layout, allout-default-layout)
1999 (outlineify-sticky): Adjust docstring for new scheme.
2000 (allout-after-copy-or-kill-hook): No arguments - hook implementers
2001 should concentrate on the kill ring.
2003 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
2005 * password-cache.el (password-cache-remove): Accept secrets that are
2008 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2010 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
2011 of here-doc that immediately follows a comment.
2013 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2015 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
2017 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
2019 (rcirc-ctcp-sender-PING): New function.
2021 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
2023 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
2024 Remove the mark/nomark handling, and activate shift-select-mode instead.
2026 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
2028 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
2030 * calc/calc-units.el (math-logunits-quant): Add support for
2031 non-logarithmic units.
2033 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
2035 * allout.el (allout-after-copy-or-kill-hook): New hook for
2036 extension-specific processing of killed text.
2037 (allout-mode): Include new allout-after-copy-or-kill-hook among
2039 (allout-kill-line, allout-kill-topic): Ensure that processing
2040 after kill happens even if barf-if-buffer-read-only is raised.
2041 Include new allout-after-copy-or-kill-hook among that subsequent
2043 (allout-deannotate-hidden): Actually remove the annotation text
2046 * allout.el (allout-listify-exposed): Copy text sans text properties.
2048 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
2050 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
2052 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2054 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
2056 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
2058 * calc/calc.el (calc-logunits-field-reference): Rename from
2059 `calc-default-field-reference-level'.
2060 (calc-logunits-power-reference): Rename from
2061 `calc-default-power-reference-level'.
2063 * calc/calc-units.el (math-logunits-quant): Rename from
2064 `math-logunits-level'
2065 (math-logunits-plus): Rename from math-logcombine.
2066 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
2067 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
2068 (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
2070 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
2071 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
2072 (calc-logunits-quantity): Rename from `calc-level'.
2073 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
2074 (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
2075 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
2076 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
2077 (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
2080 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
2081 (calc-ul-prefix-help): Remove.
2082 (calc-l-prefix-help): New function.
2083 (calc-full-help): Add reference to `calc-l-prefix-help'.
2085 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
2087 * calc/README: Mention logarithmic units.
2089 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
2091 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
2092 non-ASCII characters (Bug#7925).
2094 2011-02-05 Glenn Morris <rgm@gnu.org>
2096 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
2098 * calendar/diary-lib.el (diary-font-lock-keywords):
2099 Tweak diary-time-regexp match. (Bug#7891)
2101 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
2102 (f90-mode): Use it for mode's `find-tag-default-function' property.
2104 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
2106 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
2108 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2110 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
2113 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
2115 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
2116 font-lock-syntax-table remappings.
2117 (sh-here-doc-markers, sh-here-doc-re): Remove.
2118 (sh-font-lock-close-heredoc): Remove.
2119 (sh-syntax-propertize-here-doc): New function.
2120 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
2121 instead of the sh-here-doc-re.
2122 (sh-font-lock-paren): Don't do anything in comments or strings.
2123 Handle line continuations. Accept a few more chars.
2124 Don't rely on the font-lock-syntax-table remappings.
2125 `esac' is not a valid pattern.
2126 (sh-syntax-propertize-function): Handle here-docs differently, so we
2127 don't bother syntax-propertizing the insides.
2129 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
2130 Handle new bashisms ";&" and ";;&" (bug#7947).
2132 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
2134 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
2135 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
2137 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
2139 * net/tramp.el (tramp-postfix-method-format)
2140 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
2141 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
2142 (tramp-postfix-user-regexp, tramp-prefix-port-format)
2143 (tramp-prefix-port-regexp, tramp-postfix-host-format)
2144 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
2147 2011-02-04 Sam Steingold <sds@gnu.org>
2149 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
2151 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
2153 * international/mule-util.el (with-coding-priority): Doc fix.
2155 2011-02-04 Eli Zaretskii <eliz@gnu.org>
2157 * arc-mode.el (archive-mode-map): Fix a typo in last change.
2159 2011-02-03 Sam Steingold <sds@gnu.org>
2161 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2162 Do not error out when `func' is nil.
2164 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
2166 * net/tramp-sh.el (tramp-remote-path): Add default settings for
2167 `tramp-default-remote-path' to the docstring.
2168 (tramp-get-remote-path): Suppress error message when `getconf
2171 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
2173 2011-02-03 Glenn Morris <rgm@gnu.org>
2175 * vc/vc-hg.el (vc-hg-command): Doc fix.
2177 * term/w32-win.el (libpng-version): Declare for compiler.
2179 * msb.el: No need to load dired while compiling.
2181 * emacs-lisp/elint.el (elint-standard-variables):
2182 Remove a couple of built-ins that now have doc-strings.
2184 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
2185 `require' is automatically `eval-and-compile'd.
2187 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
2188 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
2190 * strokes.el (strokes-fill-current-buffer-with-whitespace):
2191 Move definition before use.
2192 (strokes-report-bug): Make it obsolete.
2194 2011-02-02 Sam Steingold <sds@gnu.org>
2196 * apropos.el (apropos-print): Now that `apropos-mode' inherits
2197 from `special-mode', entering it makes the buffer read-only, so
2198 call it only when everything has been already inserted.
2199 * emacs-lisp/ert.el (ert--setup-results-buffer)
2200 (ert-results-pop-to-backtrace-for-test-at-point)
2201 (ert-results-pop-to-messages-for-test-at-point)
2202 (ert-results-pop-to-timings): Ditto.
2203 * emacs-lisp/package.el (package--list-packages): Ditto.
2204 * play/solitaire.el (solitaire): Ditto.
2206 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
2208 * progmodes/compile.el: Make all faces inherit.
2209 (compilation-warning): Inherit from font-lock-variable-name-face.
2210 (compilation-info): Inherit from font-lock-type-face.
2211 (compilation-line-number): Reassign to font-lock-keyword-face.
2212 (compilation-column-number): Reassign to font-lock-doc-face.
2213 (compilation-leave-directory-face): Reassign to
2214 font-lock-builtin-face.
2216 2011-02-02 Eli Zaretskii <eliz@gnu.org>
2218 * dired.el (dired-insert-directory): Don't invoke `ls' when
2219 ls-lisp.el is used to emulate it.
2221 2011-02-01 Julien Danjou <julien@danjou.info>
2223 * color.el (color-gradient): Add a color-gradient function.
2225 2011-02-01 Sam Steingold <sds@gnu.org>
2227 * simple.el (special-mode-map): Bind "h" to `describe-mode';
2228 bind "z" to `kill-this-buffer'.
2229 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
2230 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
2231 (apropos-mode): Inherit from `special-mode'.
2232 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
2233 * bookmark.el (bookmark-bmenu-mode): Define using
2234 `define-derived-mode' inheriting from `special-mode'.
2235 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
2236 * image-mode.el (image-mode-map): Ditto.
2237 * replace.el (occur-mode): Define using
2238 `define-derived-mode' inheriting from `special-mode'.
2239 * tar-mode.el (tar-mode): Inherit from `special-mode'.
2240 * calendar/diary-lib.el (diary-fancy-display-mode):
2241 Inherit from `special-mode-map'.
2242 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
2243 Inherit from `special-mode'.
2244 * emacs-lisp/package.el (package-menu-mode-map): Copy from
2246 (package-menu-mode): Define using `define-derived-mode'
2247 inheriting from `special-mode'.
2248 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
2249 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
2250 (xesam-mode-map): Define separately.
2251 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
2252 * progmodes/compile.el (compilation-minor-mode-map)
2253 (compilation-mode-map): Inherit from `special-mode-map'.
2254 * vc/diff-mode.el (diff-mode-shared-map):
2255 Inherit from `special-mode-map'.
2256 * vc/log-view.el (log-view-mode-map): Add a comment.
2258 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
2260 * custom.el (load-theme): Define return value. Drop use of
2261 unsafep; call custom-theme-load-confirm for non-known-safe themes.
2262 (custom-theme-load-confirm): Scroll in the correct window.
2263 (custom-enabled-themes): Add custom-safe-themes to :set-after.
2265 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
2266 checkbox if load-theme fails.
2268 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2270 * progmodes/compile.el (compilation-next-error): Check there's
2271 a message before using it (bug#7941).
2273 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
2275 * calc/calc-mtx.el (math-lud-pivot-check): New function.
2276 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
2277 of potential pivots.
2279 2011-01-31 Alan Mackenzie <acm@muc.de>
2281 * progmodes/cc-cmds.el (c-forward-over-illiterals):
2282 Continue parsing if we encounter a naked # (Bug#7595).
2283 (c-beginning-of-statement): Avoid loop in locating the beginning
2284 of a macro. (Not actually committed until 2011-02-20, see above).
2286 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2288 * files.el (copy-directory): Fix arguments to recursive call.
2290 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2292 * files.el (copy-directory): If destination is an existing
2293 directory, copy into a subdirectory there.
2295 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
2297 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
2300 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2302 * image-dired.el (image-dired-mouse-display-image): No-op if no
2303 file is found (Bug#7817).
2305 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
2307 2011-01-31 Kenichi Handa <handa@m17n.org>
2309 * international/quail.el (quail-keyboard-layout-alist):
2310 Remove superfluous SPC for "pc105-uk" (bug#7927).
2312 2011-01-31 Glenn Morris <rgm@gnu.org>
2314 * msb.el (msb-menu-bar-update-buffers): Update for changed
2315 argument handling of menu-bar-select-frame. (Bug#7902)
2317 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2319 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
2320 to the recursion depth (Bug#7722).
2322 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
2324 * term/ns-win.el (ns-find-file): Expand ns-input-file with
2325 command-line-default-directory (Bug#7872).
2327 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2329 * progmodes/compile.el (compilation--flush-directory-cache):
2330 New function, extracted from compilation--remove-properties.
2331 (compilation--remove-properties, compilation--parse-region): Use it.
2332 (compilation--previous-directory): Handle one more case.
2333 (compilation-enable-debug-messages): Remove.
2334 (compilation-parse-errors, compilation--flush-parse): Just remove the
2335 left over debug messages.
2337 2011-01-31 Sam Steingold <sds@gnu.org>
2339 * progmodes/compile.el (compilation-enable-debug-messages):
2340 Add a variable to make the parsing messages introduced in
2341 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
2342 (compilation-parse-errors, compilation--flush-parse): Use it.
2344 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2346 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
2347 (rcirc-nick-completion-format): New defcustom.
2348 (rcirc-complete): Use it.
2350 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2352 * net/rcirc.el: Clean log filenames (Bug#7933).
2353 (rcirc-log-write): Use convert-standard-filename.
2354 (rcirc-log-filename-function): Documentation updates.
2356 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
2358 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
2359 Check report-emacs-bug-can-use-osx-open and use that if t.
2360 (report-emacs-bug-can-use-osx-open): New function.
2361 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
2362 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
2364 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
2366 * vc/vc-dispatcher.el (vc-set-async-update): New function for
2367 updating Dired or VC-dir buffers after async command completes.
2369 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
2370 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
2372 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
2373 completions if it exists. Use vc-set-async-update.
2374 (vc-git-pull): Use vc-set-async-update.
2376 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
2377 read-shell-command. Use vc-set-async-update.
2378 (vc-hg-merge-branch): Use vc-set-async-update.
2380 2011-01-29 Daiki Ueno <ueno@unixuser.org>
2382 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
2383 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
2386 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
2388 * progmodes/compile.el: Avoid an N² behavior in grep.
2389 (compilation--previous-directory): New fun.
2390 (compilation--previous-directory-cache): New var.
2391 (compilation--remove-properties): Flush it.
2392 (compilation-directory-properties, compilation-error-properties):
2393 Use the new fun to speed up looking for the current directory.
2395 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
2397 * vc/vc-hg.el (vc-hg-history): New var.
2398 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
2399 (vc-hg-merge-branch): New function.
2401 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
2402 the other way around.
2404 * vc/vc-git.el (vc-git-branches, vc-git-pull)
2405 (vc-git-merge-branch): New functions.
2406 (vc-git-history): New var.
2408 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2410 * vc/vc-dispatcher.el (vc-do-async-command): New function.
2412 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
2413 vc-do-async-command.
2415 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
2418 2011-01-28 Leo <sdl.web@gmail.com>
2420 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
2421 highlighting to the "this function is advised" message.
2423 * help-mode.el (help-mode-finish): Apply highlighting here, to
2424 avoid clobbering by substitute-command-keys (Bug#6304).
2426 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2428 * woman.el (woman0-roff-buffer): Process roff escape sequences
2429 occurring prior to the first request (Bug#7843).
2431 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2433 * progmodes/compile.el: Don't use font-lock any more.
2434 (compilation-error-regexp-alist-alist): Change handling of makepp
2435 so it preserves the warning/error distinction on subsequent files.
2436 Simplify various rules.
2437 (compilation-directory-properties): Use font-lock-face.
2438 Add a compilation-message property.
2439 (compilation-internal-error-properties): Use font-lock-face.
2440 Don't set the compilation-debug property here.
2441 (compilation--put-prop, compilation--remove-properties)
2442 (compilation--parse-region, compilation--ensure-parse)
2443 (compilation--ensure-parse): New functions.
2444 (compilation-parse-errors): New function, largely inspired of
2445 compilation-mode-font-lock-keywords. Set compilation-debug here.
2446 (compilation--parsed): New var.
2447 (compilation--flush-parse): Use compilation--ensure-parse.
2448 (compilation-start): Don't call font-lock.
2449 (compilation-turn-on-font-lock): Remove.
2450 (compilation-setup): Don't set font-lock-extra-managed-props not change
2451 other font-lock settings, other than keywords.
2452 Don't activate font-lock-mode.
2453 Set change-major-mode-hook and before-change-functions.
2454 (compilation--unsetup): Remove properties and hooks.
2455 (compilation-next-single-property-change): New function.
2456 (compilation-next-error): Use it to parse when needed.
2457 (compile-goto-error): Parse buffer as needed.
2458 (compilation--compat-error-properties): Don't need a dummy `face'
2461 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2463 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
2464 (compilation-process-setup-function): Fix docstring's false promises.
2465 (compilation-error-regexp-alist-alist): Catch omake's continuous
2466 recompilation message and avoid reuse of old markers.
2467 (compilation-parse-errors-function): Declare obsolete.
2468 (compilation-buffer-modtime): Remove.
2469 (compilation--make-cdrloc, compilation--loc->col)
2470 (compilation--loc->line, compilation--loc->file-struct)
2471 (compilation--loc->marker, compilation--loc->visited)
2472 (compilation--make-file-struct, compilation--file-struct->file-spec)
2473 (compilation--file-struct->formats)
2474 (compilation--file-struct->loc-tree): New macros. Use them.
2475 (compilation--message): New defstruct. Use them.
2476 (compilation-next-error-function): Don't mess with timestamps to try
2477 and guess when to reparse.
2479 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2481 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
2482 (tex-old-error-file-name): New function,
2483 extracted from tex-compilation-parse-errors.
2484 (tex-compilation-parse-errors): Remove.
2485 (tex-error-regexp-alist): New var.
2486 (tex-shell): Use it to avoid compilation-parse-errors-function.
2488 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
2489 (grep-mode-font-lock-keywords): Remove regexp that seems like
2490 a left-over from before we used compile.el.
2491 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
2492 modifying the buffer within with-silent-modifications.
2494 * progmodes/compile.el: Cleanup text-properties namespace by using
2495 `compilation-message' instead of `message', `compilation-directory'
2496 instead of `directory', and `compilation-debug' instead of `debug'.
2497 (compilation-last-buffer, compilation-parsing-end)
2498 (compilation-error-list, compilation-old-error-list): Move to the
2499 compatibility part of the code.
2500 (compilation-error-properties): If `file' is a function, let it return
2502 (compilation-mode-font-lock-keywords): Be more conservative with the
2503 omake "^ *" pattern prefix, to try and minimize the risk of
2504 pathologically slow regexp matching.
2505 (compilation-start): Use inhibit-read-only.
2506 (compilation--unsetup): New function.
2507 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
2508 (compilation-filter): Minor tweaks.
2509 (compilation-next-error-function): Try and avoid abusing variables.
2510 (compilation--flush-file-structure): New fun.
2511 (compilation-fake-loc): Use it to improve behavior when file is reused.
2512 (debug-ignored-errors): Add "Moved past last ...".
2513 (compilation--compat-error-properties)
2514 (compilation--compat-parse-errors): Rename by doubling the "-".
2516 Port features from the previous prolog.el to the new one.
2517 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
2518 (prolog-program-name, prolog-program-switches, prolog-consult-string)
2519 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
2520 variable and use a function to compute the value dynamically.
2521 (prolog-prompt-regexp): Add regexp for GNU Prolog.
2522 (prolog-continued-prompt-regexp): Remove, unused.
2523 (prolog-find-value-by-system): Try and use the value of prolog-system
2524 in the *prolog* buffer if it helps.
2525 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
2526 (prolog-zip-on): ..and check prolog-system and version here instead.
2527 (prolog-inferior-self-insert-command): New command.
2528 (prolog-inferior-mode-map): Use it.
2529 (prolog-inferior-error-regexp-alist): New var.
2530 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
2531 (prolog-input-filter): Use derived-mode-p.
2532 (prolog-inferior-guess-flavor): New function.
2533 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
2534 make-comint to avoid running comint-mode twice.
2535 (prolog-inferior-buffer): New fun.
2536 (prolog-old-process-region, prolog-old-process-file):
2537 Don't call prolog-bsts here...
2538 (prolog-build-prolog-command): ...do it here instead.
2539 (prolog-old-process-region, prolog-old-process-file):
2540 Use compilation-fake-loc and compilation-forget-errors.
2541 (prolog-consult-compile-region): Use bolp.
2543 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2545 * image-mode.el (image-display-size): Doc fix (Bug#7820).
2547 2011-01-27 Sam Steingold <sds@gnu.org>
2549 * midnight.el (clean-buffer-list-kill-never-buffer-names):
2550 Remove "*server*" which is never created by emacs server.
2552 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2554 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
2555 there are some diff switches.
2557 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
2559 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2560 Copy change made to ruby-font-lock-syntactic-keywords.
2562 * htmlfontify.el: Make it obey the font-lock-face text property.
2563 Miscellaneous cleanup such as:
2564 - Don't hide expressions after a closing paren.
2565 - Move initial setq into let.
2566 - Hoist common parts out of ifs.
2567 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
2568 (hfy-face-at): Use get-text-property instead.
2569 (hfy-prop-invisible-p): Use invisible-p if available.
2570 (htmlfontify-manual): Use \\[...].
2571 (hfy-html-quote-regex): Use [...].
2572 (hfy-combined-face-spec): Simplify.
2573 (hfy-compile-face-map): Don't presume point-min==1.
2574 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
2575 match end of string.
2576 (hfy-text-p): η-reduce.
2577 (hfy-tags-for-file): Receive cache-hash directly.
2578 (hfy-mark-tag-names): Adjust call.
2580 2011-01-27 Glenn Morris <rgm@gnu.org>
2582 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
2583 (msb-after-load-hook): Remove eval-after-load wackiness.
2585 2011-01-25 Sam Steingold <sds@gnu.org>
2587 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
2588 literal "diff" (important for windows-nt).
2590 2011-01-25 Glenn Morris <rgm@gnu.org>
2592 * emacs-lisp/copyright.el (copyright-at-end-flag)
2593 (copyright-names-regexp): Add safety properties.
2594 (copyright-year-ranges): New option.
2595 (copyright-find-end): New function, split from copyright-update-year.
2596 (copyright-update-year): Use copyright-find-end.
2597 (copyright-fix-years): Optionally, convert years to ranges.
2598 Handle years continued over comment lines.
2599 Do not mess with the fill-prefix.
2600 Do not call copyright-update.
2601 (copyright-update-directory): Optionally, fix years rather than update.
2602 Skip directories. Find files with only safe local vars.
2604 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
2606 * files.el (file-name-non-special): Only change buffer-file-name after
2607 insert-file-contents if it's `visit'ing the file (bug#7854).
2609 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
2611 * dired.el (dired-revert): Doc fix (Bug#7758).
2613 * simple.el (line-move-visual): Doc fix (Bug#7594).
2615 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
2617 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
2618 here-doc which ends with an underscore.
2619 (ruby-mode-set-encoding): Skip shebang line always.
2620 (ruby-mode-map): Bind C-c C-c to comment-region.
2621 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
2622 (ruby-forward-sexp): Stop after literal hash key labels.
2623 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
2626 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
2628 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
2629 the correct buffer (Bug#7650).
2631 2011-01-25 Glenn Morris <rgm@gnu.org>
2633 * comint.el (comint-mode): Doc fix. (Bug#7897)
2635 * simple.el (do-auto-fill): Give it a doc string.
2637 * button.el (make-text-button): Doc fix. (See bug#7881)
2639 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
2641 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2642 Don't move backward, so as not to fall in an inf-loop (bug#7736).
2644 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
2645 Handle ?" and friends differently (e.g. don't use backrefs).
2647 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
2649 * calc/calc.el (calc-default-power-reference-level)
2650 (calc-default-field-reference-level): New variables.
2651 * calc/calc-units.el (math-standard-units): Add dB and Np.
2652 (math-logunits): New variable.
2653 (math-extract-logunits, math-logcombine, calcFunc-luplus)
2654 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
2655 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
2657 (math-find-base-units-rec): Add entry for ln(10).
2658 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
2659 (calc-ul-prefix-help): New function.
2660 * calc/calc-ext.el (calc-init-extensions): Autoload new units
2661 functions. Add keybindings for new units functions.
2663 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
2665 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
2666 rcirc buffers. (Bug#4940)
2668 2011-01-22 Glenn Morris <rgm@gnu.org>
2670 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
2671 split out from copyright-update-year.
2672 (copyright-update): Don't mess with the GPL version if we don't own the
2673 copyright. Update license regexp, and remove no longer needed
2675 (copyright-fix-years): Use copyright-find-copyright.
2677 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2679 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
2681 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2683 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
2684 (lm): Rename to landmark.
2685 (lm-test-run): Rename to landmark-test-run.
2687 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2689 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
2690 "Case sensitive" menu item.
2692 2011-01-22 Roland McGrath <roland@frob.com>
2694 * comint.el (comint-replace-by-expanded-history-before-point): Fix
2695 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
2697 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2699 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
2701 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2703 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2704 Assume foo(bar) is a manpage reference rather than some unquoted
2707 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2709 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
2710 Suggested by Flo <sensorflo@gmail.com>.
2712 2011-01-22 Glenn Morris <rgm@gnu.org>
2714 * progmodes/compile.el (compilation-error-regexp-alist):
2715 Fix custom type. (Bug#7812)
2717 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
2719 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
2720 allout-number-siblings, in keeping with what obtained due to
2721 (now-defunct) allout-keybindings-list. Ditch repeat binding to
2723 (allout-before-change-handler): Better expose spots affected by
2726 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2728 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
2730 2011-01-22 Phil Hagelberg <phil@evri.com>
2732 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
2733 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
2734 (pcmpl-ssh-config-hosts): New function.
2735 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
2736 pcmpl-ssh-known-hosts.
2738 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2740 * calc/calc-undo.el (calc-undo): Autoload it.
2741 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
2742 and autoload for `calc-undo'.
2743 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
2744 * calc/calc-prog.el:
2745 * calc/calc-graph.el:
2746 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2748 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
2750 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
2751 keybindings to `calc-undo'.
2753 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2755 Don't mess with *temp*.
2756 * obsolete/spell.el: Move from textmodes/spell.el.
2758 * term.el (term-read-input-ring):
2759 * startup.el (display-startup-echo-area-message):
2760 * progmodes/antlr-mode.el (antlr-directory-dependencies):
2761 * comint.el (comint-read-input-ring): Use with-temp-buffer.
2762 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
2765 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
2767 * allout.el (allout-institute-keymap): Use fset instead of
2768 reapplying defalias.
2770 (allout-hotspot-key-handler): Check for non-control-modified
2771 bindings for hotspot characters if there are no control-modified
2774 * allout.el: Summary - migrate to defining allout mode using
2775 define-minor-mode instead of defun. Significantly clean-up
2776 internal keymap provisions, refactoring and, in the process,
2777 removing a lot of accumulated cruft.
2779 allout-mode-map is now a keymap by virtue of being a defalias to
2780 allout-mode-map-value, which contains the actual keymap structure.
2782 (allout-mode): Use define-minor-mode rather than defun.
2783 Remove now-unnecessary minor-mode setup activities from the body.
2784 Specify :keymap as allout-mode-map so the minor-mode-map-alist
2785 entry will be '(allout-mode . allout-mode-map) - see
2786 allout-mode-map-value, below. Adjust docstring to track changes.
2787 (allout-minor-mode): Remove this defalias, now that we're using
2789 (allout-mode-map): Set value to be 'allout-mode-map. The actual
2790 keymap is allout-mode-map-value, via defalias.
2791 (allout-mode-map-value): The variable holding the actual mode
2792 keymap structure, by virtue of defalias from allout-mode-map.
2793 (allout-compose-and-institute-keymap): Rename from
2794 allout-bind-keys, and including the binding-composition
2795 functionality of the former produce-allout-mode-map and
2796 allout-setup-mode-map.
2797 (allout-institute-keymap): Take over the "setup" part of the former
2798 allout-setup-mode-map. Reassign allout-mode-map-value value and
2799 update the defalias.
2800 (allout-command-prefix, allout-prefixed-keybindings)
2801 (allout-unprefixed-keybindings):
2802 Use allout-compose-and-institute-keymap to process the bindings.
2803 (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
2804 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
2805 user can customize if they want to use that binding.
2806 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
2807 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
2808 elided that, previously, instead of the one for \C-h.)
2809 (allout-hotspot-key-handler): Remove attempt to resolve the key
2810 through the literal key-string lookup on allout-keybindings-list.
2811 That probably hasn't worked for a Long Time, and removal of
2812 allout-keybindings-list further simplifies the keybindings situation.
2813 (allout-pre-command-business): Use allout-mode-map-value instead
2815 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
2816 the bindings if they want to use a keybinding having a trailing
2817 \C-h. No deprecation needed since this feature was never in a release.
2818 (allout-keybindings-list): Remove. It's not been useful for a
2819 while. (See allout-hotspot-key-handler changes, above.)
2820 (produce-allout-mode-map): Remove. Consolidate into
2821 allout-compose-and-institute-keymap.
2822 (allout-mode-map-adjustments): Remove. No longer necessary with
2823 removal of allout-preempt-trailing-ctrl-h.
2824 (allout-setup-mode-map): Remove. Consolidate into
2825 allout-compose-and-institute-keymap and allout-institute-keymap.
2827 2011-01-20 Glenn Morris <rgm@gnu.org>
2829 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2831 * simple.el (read-expression-history): Remove, it's in minibuf.c.
2833 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
2835 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2837 * files.el (find-alternate-file, basic-save-buffer)
2838 (basic-save-buffer-2, revert-buffer, recover-file)
2839 (kill-buffer-ask, abort-if-file-too-large)
2840 (set-visited-file-name, write-file, backup-buffer)
2841 (basic-save-buffer, save-some-buffers):
2842 * dired-aux.el (dired-compress-file): Callers changed.
2844 2011-01-19 Glenn Morris <rgm@gnu.org>
2846 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2847 Also check the property status. (Bug#7861)
2849 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
2851 * net/tramp.el (tramp-debug-message): Extend function exclude
2852 list. Use `regexp-opt'.
2854 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2856 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2857 highlighting doesn't spill over subsequent lines.
2859 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2860 keymap expression. Improve docstring.
2862 * electric.el (electric-indent-post-self-insert-function):
2863 Don't auto-indent for indent-to-left-margin, it's too often
2866 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
2868 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2869 spaces if the frame was resized, so that the full visible buffer
2870 serves as canvas for strokes.
2872 2011-01-16 Glenn Morris <rgm@gnu.org>
2874 * info-xref.el (info-xref-docstrings): Replace cl function.
2875 Also skip directories.
2877 2011-01-16 Kevin Ryde <user42@zip.com.au>
2879 * info-xref.el: Version 3.
2880 (info-xref-check, info-xref-check-all): Move commentary details
2881 into docstrings for better visibility.
2882 Use compilation-mode for the results buffer.
2883 (info-xref-output, info-xref-output-error, info-xref-with-output)
2884 (info-xref-filename, info-xref-in-progress):
2885 New internals for this.
2886 (info-xref-check-list, info-xref-check-buffer)
2887 (info-xref-check-all-custom): Use those.
2888 (info-xref-output-buffer): Rename from info-xref-results-buffer.
2889 (info-xref-output-heading): Rename from info-xref-filename-heading.
2890 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2891 (info-xref-filename-heading): Move to output managing section.
2892 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2893 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2894 (info-xref-subfile-p): Move to generic section with those two.
2895 (info-xref-check-node): New function split from
2896 info-xref-check-buffer, shared by info-xref-docstrings.
2897 (info-xref-goto-node-p): Move to a checking section with that func.
2898 (info-xref-unavail): New counter.
2899 (info-xref-check-node): Use it.
2900 (info-xref-with-output): Show count of unavailables at end of output.
2901 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
2902 symlinks. Exclude .texi files. Exclude Emacs backup files.
2903 (info-xref-check-all-custom): Fix quietening viper-mode and
2904 gnus-registry-install -- use setq not let so as not to unbind
2907 2011-01-16 Juri Linkov <juri@jurta.org>
2909 * isearch.el (isearch-abort): Don't quit if search has
2910 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
2912 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
2914 * files.el (backup-buffer): Make last-resort backup file in
2915 .emacs.d (Bug#6953).
2917 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2918 make it with permission 700.
2920 2011-01-15 Kenichi Handa <handa@m17n.org>
2922 * mail/rmailmm.el (rmail-mime-insert-header):
2923 Set rmail-mime-coding-system to a cons whose car is the last coding
2924 system used to decode the header.
2925 (rmail-mime-find-header-encoding): New function.
2926 (rmail-mime-insert-decoded-text):
2927 Override rmail-mime-coding-system if it is a cons.
2928 (rmail-show-mime): If only a header part was decoded, find the
2929 coding system while ignoring mm-charset-override-alist.
2931 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
2933 * subr.el (event-start, event-end): Doc fix (Bug#7826).
2935 2011-01-15 Kenichi Handa <handa@m17n.org>
2937 * mail/rmailmm.el (rmail-mime-next-item)
2938 (rmail-mime-previous-item): Delete them.
2939 (rmail-mime-shown-mode): Recursively call for children.
2940 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2942 (rmail-mime-raw-mode): Recursively call for children.
2943 (rmail-mode-map): Change mapping of tab and backtab to
2944 forward-button and backward-button respectively.
2945 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2947 (rmail-mime-update-tagline): New function.
2948 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2949 body display is changed.
2950 (rmail-mime-toggle-button): Rename from rmail-mime-image.
2951 (rmail-mime-image): Delete this button type.
2952 (rmail-mime-toggle): New button type.
2953 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2954 body display is changed. Change the save button label to "Save".
2955 Don't process show/hide button here.
2956 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2957 the body display is changed. Unconditionally call
2958 rmail-mime-insert for children.
2959 (rmail-mime-handle): Update `display' vector of the just inserted
2961 (rmail-mime-process): If mail-header-parse-content-type returns
2962 nil, use "text/plain" as the fallback type.
2963 (rmail-mime-insert): For raw-mode, recursively call
2964 rmail-mim-insert for children.
2965 (rmail-mime): Handle the case that the current buffer is not rmail
2966 buffer (e.g. in summary buffer).
2968 2011-01-15 Kenichi Handa <handa@m17n.org>
2970 * mail/rmailmm.el (rmail-mime-next-item)
2971 (rmail-mime-previous-item): Skip the body of a non-multipart
2972 entity if a tagline is shown.
2974 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2976 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2977 (tmm-prompt): Simplify.
2978 (tmm-add-prompt): Remove unused var `win'.
2980 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2981 to minor mode which used nil accidentally to mean "turn off".
2983 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2985 * net/tramp-sh.el (tramp-find-inline-compress)
2986 (tramp-get-inline-coding): Quote command after pipe symbol for
2987 local calls under W32. (Bug#6784)
2989 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2991 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
2992 only when running under W32.
2994 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2996 * progmodes/grep.el (grep-compute-defaults): Quote the program
2997 file name after the pipe symbol in Grep templates. (Bug#6784)
2998 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
3000 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
3002 * buff-menu.el (Buffer-menu-buffer-list): New var.
3003 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
3004 restricted buffer list is not lost on revert (Bug#7749).
3006 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
3008 * net/ldap.el (ldap-search-internal): Discard stderr output.
3010 2011-01-15 Eli Zaretskii <eliz@gnu.org>
3012 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
3014 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
3016 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
3018 2011-01-15 Kenichi Handa <handa@m17n.org>
3020 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
3021 part as a plain text.
3022 (rmail-mime-process-multipart): Set the default content-type to
3023 nil for unknown multipart subtypes (bug#7651).
3025 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3027 * hexl.el (hexl-mode-old-*): Remove.
3028 (hexl-mode--old-var-vals): New var to replace them.
3029 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
3030 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
3031 Use them to set local vars (bug#7846).
3032 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
3033 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
3034 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
3036 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
3037 (smerge-resolve--normalize-re): New var.
3038 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
3039 (smerge-resolve): Use them.
3040 * newcomment.el (comment-only-p): New function.
3041 (comment-or-uncomment-region): Use it.
3043 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
3045 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
3046 table, get the value before switching to the output buffer. (Bug#7733)
3048 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3050 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
3052 2011-01-14 Kim F. Storm <storm@cua.dk>
3054 * emulation/cua-base.el (cua--init-keymaps):
3055 Remap exchange-point-and-mark in cua-global-keymap.
3057 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
3059 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
3062 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3064 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
3066 (easy-menu-create-menu, easy-menu-convert-item-1):
3067 Use :label rather than nil for labels. Use `case'.
3068 Add :enable as alias for :active.
3069 (easy-menu-binding): Obey :label.
3071 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3073 Use run-mode-hooks for major mode hooks (bug#513).
3074 * textmodes/reftex-toc.el (reftex-toc-mode-map):
3075 Rename from reftex-toc-map.
3076 (reftex-toc-mode): Use define-derived-mode.
3077 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
3078 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
3079 Rename from reftex-select-(label|bib)-map. Move init into declaration.
3080 (reftex-select-label-mode, reftex-select-bib-mode):
3081 Use define-derived-mode.
3082 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
3083 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
3084 Move init into delcaration.
3085 (reftex-index-mode, reftex-index-phrases-mode):
3086 Use define-derived-mode.
3087 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
3088 speedbar-syntax-table. Move init into declaration.
3089 (speedbar-mode-map): Rename from speedbar-key-map.
3090 Move init into declaration.
3091 (speedbar-file-key-map): Move init into declaration.
3092 (speedbar-mode): Use define-derived-mode.
3093 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
3094 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
3095 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
3096 (chart-face-list): Move initialization into declaration.
3097 (chart-mode): Use define-derived-mode.
3098 * calculator.el (calculator-mode-map): Move init into declaration.
3099 (calculator-mode): Use define-derived-mode.
3101 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
3102 work for nested comments.
3104 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
3105 (prolog-use-prolog-tokenizer-flag): Change default when
3106 syntax-propertize can be used.
3107 (prolog-syntax-propertize-function): New var.
3108 (prolog-mode-variables): Move make-local-variable into `set'.
3109 Don't make comment-column local since we don't set it.
3110 Set comment-add (as it was in previous prolog.el). Use dolist.
3111 Set syntax-propertize-function.
3112 (prolog-mode, prolog-inferior-mode):
3113 Call prolog(-inferior)-menu directly, not through the mode-hook.
3114 (prolog-buffer-module, prolog-indent-level)
3115 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
3116 (prolog-comment-limits, prolog-goto-comment-column):
3117 Use line-(end|beginning)-position.
3118 (prolog-build-prolog-command): Tighten up regexp.
3119 (prolog-consult-compile): Move make-local-variable into `set'.
3120 (prolog-consult-compile-filter, prolog-goto-next-paren)
3121 (prolog-help-on-predicate, prolog-clause-info)
3122 (prolog-mark-predicate): Don't let+setq.
3123 (prolog-indent-line): Use indent-line-to.
3124 Only call prolog-goto-comment-column if necessary.
3125 (prolog-indent-level): Use bobp.
3126 (prolog-first-pos-on-line): Remove, not used any more.
3127 (prolog-in-string-or-comment): Use syntax-ppss if available.
3128 (prolog-help-on-predicate): Use read-string.
3129 (prolog-goto-predicate-info): Simplify.
3130 (prolog-read-predicate): Use `default' rather than `initial'.
3131 (prolog-temporary-file): Use make-temp-file to close a security hole.
3132 (prolog-toggle-sicstus-sd): New command.
3133 (prolog-electric-underscore, prolog-variables-to-anonymous):
3134 Use dynamic-scoping as it was meant.
3135 (prolog-menu): Move menu definitions to top-level.
3136 Use a toggle-button for Sicstus's source debugger.
3137 Change "Code" to the more usual "Prolog", and hence change "Prolog"
3139 (prolog-inferior-menu): Reuse prolog-menu's help menu.
3140 Move other menu definition to top-level.
3142 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
3144 * doc-view.el (doc-view-open-text): Use meaningful text buffer
3145 name. Keep original document's directory as default-directory
3147 (doc-view-initiate-display): Fall back to normal mode when
3148 doc-view-mode cannot be enabled, also when extracting the document
3149 text into a separate buffer (bug#6446).
3151 * simple.el (shell-command): Don't error out if shell command
3152 buffer contains text with non-nil read-only property when erasing
3155 2011-01-13 Kim F. Storm <storm@cua.dk>
3157 * ido.el (ido-may-cache-directory): Move "too-big" check later.
3158 (ido-next-match, ido-prev-match): Fix stray reordering of matching
3159 items when cycling through the matches.
3161 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
3163 * dired-x.el (dired-omit-verbose): New defcustom that allows
3164 disabling the omit messages.
3165 (dired-omit-expunge): Use it.
3167 2011-01-13 Christian Ohler <ohler@gnu.org>
3169 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
3171 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
3173 * font-lock.el (font-lock-verbose): Default to nil.
3175 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
3177 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
3178 (compose-mail): New arg RETURN-ACTION.
3179 (compose-mail-other-window, compose-mail-other-frame): Likewise.
3181 * mail/sendmail.el (mail-return-action): New var.
3182 (mail-mode): Make it buffer-local.
3183 (mail-bury): Obey it. Move special Rmail window handling to
3185 (mail, mail-setup): New arg RETURN-ACTION.
3186 (sendmail-user-agent-compose): Move from simple.el.
3188 * mail/rmail.el (rmail-mail-return): New function.
3189 (rmail-start-mail): Pass it to compose-mail.
3191 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
3193 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
3194 menus. Add menu item for customize-themes.
3196 * cus-theme.el (customize-themes):
3197 * emacs-lisp/package.el (package--list-packages):
3198 Use switch-to-buffer.
3200 2011-01-11 Johan Bockgård <bojohan@gnu.org>
3202 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
3204 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
3206 * progmodes/prolog.el: Fix up coding convention and such.
3207 (prolog-indent-width): Use the same default as in
3208 previous prolog.el rather than tab-width which depends on which buffer
3209 is current when the file is loaded.
3210 (prolog-electric-newline-flag): Only enable if electric-indent-mode
3212 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
3213 (prolog-known-systems): Remove.
3214 (prolog-mode-syntax-table, prolog-inferior-mode-map):
3215 Move initialization into declaration.
3216 (prolog-mode-map): Move initialization into declaration.
3217 Remove system-specific mode-map vars, since they referred to the same
3219 (prolog-mode-variables): Obey the user's preference w.r.t
3220 adaptive-fill-mode. Prefer symbol-value to `eval'.
3221 (prolog-mode-keybindings-edit): Add compatibility bindings.
3222 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
3223 (mercury-mode-map): New var.
3224 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
3225 (prolog-ensure-process, prolog-process-insert-string)
3226 (prolog-consult-compile): Use with-current-buffer.
3227 (prolog-guess-fill-prefix): Simplify data flow.
3228 (prolog-replace-in-string): New function to use instead of
3230 (prolog-enable-sicstus-sd): Don't abuse `eval'.
3231 (prolog-uncomment-region): Use `uncomment-region' when available.
3232 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
3233 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
3234 of int-to-char and char-to-int.
3235 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
3237 2011-01-11 Stefan Bruda <stefan@bruda.ca>
3239 * progmodes/prolog.el: Replace by a whole new file.
3241 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
3243 * subr.el (eval-after-load): Fix timing for features (bug#7769).
3244 (declare-function, undefined, insert-for-yank)
3245 (replace-regexp-in-string): Follow checkdoc's recommendations.
3247 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3249 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
3250 refreshing the diary buffer.
3252 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
3254 * allout.el: Add 2011 to the file copyright.
3255 (allout-encrypt-string): Prevent encryption from adding an extra
3256 newline at the end of the topic body.
3257 (allout-version): Increment to 2.3.
3259 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
3261 * net/dbus.el (dbus-unregister-service): Complete doc.
3262 Fix call of dbus-error signal.
3263 (dbus-register-property): Use `dont-register' keyword.
3265 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
3267 * net/dbus.el (dbus-unregister-service): Translate returned
3268 integer into a symbol.
3269 (dbus-register-property): Use `dbus-register-service' to do the
3272 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
3274 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
3275 Suggested by Joakim Verona.
3277 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
3279 * wid-edit.el (visibility): Replace :on-image and :off-image
3280 widget properties with :on-glyph and :off-glyph, for consistency
3281 with the `visibility' widget.
3282 (widget-toggle-value-create, widget-visibility-value-create):
3283 Merge into a single function `widget-toggle-value-create'.
3285 * cus-edit.el (custom-variable-value-create, custom-visibility)
3286 (custom-face-edit-value-create, custom-face-value-create):
3287 Replace :on-image and :off-image widget properties with :on-glyph and
3288 :off-glyph, for consistency with the `visibility' widget.
3290 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
3292 * net/ldap.el (ldap-search-internal): Don't use eval.
3294 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
3296 * subr.el (read-char-choice): Use read-key.
3298 * custom.el (custom-safe-themes): Rename from
3299 custom-safe-theme-files. Add :risky tag.
3300 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
3301 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
3303 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
3305 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
3306 from Search and add a label to Undo.
3308 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
3309 inappropriate buttons and adding :vert-only tags.
3311 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
3312 removal of Help tool-bar button. Remove Undo button for space.
3314 * info.el (info-tool-bar-map): Add :vert-only tags.
3316 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
3318 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
3319 image backend support. Either of them is fine.
3321 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
3323 * subr.el (y-or-n-p): Doc fix.
3325 * custom.el (custom-safe-theme-files): New defcustom.
3326 (custom-theme-load-confirm): New function.
3327 (load-theme): Load theme using `load', confirming with
3328 custom-theme-load-confirm if necessary.
3330 * subr.el (read-char-choice): New function, factored out from
3331 dired-query and hack-local-variables-confirm.
3333 * dired-aux.el (dired-query):
3334 * files.el (hack-local-variables-confirm): Use it.
3336 * dired-aux.el (dired-compress-file):
3337 * files.el (abort-if-file-too-large, find-alternate-file)
3338 (set-visited-file-name, write-file, backup-buffer)
3339 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
3340 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
3341 Use new format string args for y-or-n-p and yes-or-no-p.
3343 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
3345 * progmodes/compile.el (compilation-error-regexp-alist-alist)
3346 [gcc-include]: Tighten file name match, add match for column
3348 [gnu]: Remove unused group.
3350 2011-01-08 Glenn Morris <rgm@gnu.org>
3352 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
3354 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
3356 2011-01-07 Sam Steingold <sds@gnu.org>
3358 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
3359 the `explicit-shell-file-name' because that is the
3360 non-interactive shell.
3362 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
3364 * subr.el (y-or-n-p): Accept format string args.
3366 2011-01-07 Glenn Morris <rgm@gnu.org>
3368 * Makefile.in (EMACSOPT): Add --no-site-lisp.
3370 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
3372 * allout.el (allout-back-to-current-heading): Ensure return to
3373 the visible containing topic, rather than a collapsed one.
3374 (allout-view-change-hook): Remove hook that was deprecated long ago.
3375 (allout-exposure-change-hook): Remove documentation remarks
3376 concerning removed allout-view-change-hook.
3377 (allout-flag-region): Remove invocation of and documentation
3378 remarks concerning allout-view-change-hook.
3380 2011-01-06 Glenn Morris <rgm@gnu.org>
3382 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
3383 (vc-bzr-annotate-extract-revision-at-line):
3384 Handle authors with embedded spaces. (Bug#7792)
3386 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
3388 * doc-view.el (doc-view-image-width): New variable.
3389 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
3390 backend for PNG images, and do dynamic rescaling instead of
3391 reconverting the whole doc.
3393 2011-01-05 Glenn Morris <rgm@gnu.org>
3395 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
3397 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
3399 * allout.el: Reconcile with changes in line movement behavior for
3400 long text lines that cross more than a single physical window
3401 line, ie when truncate-lines is nil.
3402 (allout-next-visible-heading): Provide for change in line-move
3403 behavior on long lines when truncate-lines is nil. In that case,
3404 line-move can wind up on the same textual line when it moves to
3405 the next window line, and moving to the bullet position after the
3406 move yields zero advancement. Add logic to detect and compensate
3407 for the lack of progress.
3408 (allout-current-topic-collapsed-p): move-end-of-line respect for
3409 field boundaries is different when operating with body lines
3410 shorter than window width versus ones greater than window width,
3411 which can yield false negatives in this function. Avoid
3412 difference by applying move-end-of-line while field-text-motion is
3415 2011-01-04 Glenn Morris <rgm@gnu.org>
3417 * textmodes/rst.el (rst-compile-toolsets):
3418 Add pdf and s5 to option alist.
3420 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
3422 * net/dbus.el (dbus-register-property): Add optional parameter
3423 dont-register-service. Updated docstring accordingly.
3425 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
3427 * textmodes/rst.el (rst-compile-pdf-preview)
3428 (rst-compile-slides-preview): Remove extra line.
3430 2011-01-04 Glenn Morris <rgm@gnu.org>
3432 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
3433 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
3434 default to `prog' without a .py extension.
3435 (rst-compile-pdf-preview, rst-compile-slides-preview):
3436 Use program names from rst-compile-toolsets, rather than hard-coding.
3437 (rst-portable-mark-active-p): Fix presumed typo.
3439 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3441 * term/w32-win.el (dynamic-library-alist): Set up correctly for
3442 libpng versions both before and after 1.4.0. (Bug#7716)
3444 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3446 * time.el (display-time-mode): Mention display-time-interval in
3447 the doc string. (Bug#7713)
3449 2011-01-02 Kenichi Handa <handa@m17n.org>
3451 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
3452 condition-case and return an error message string if something
3454 (rmail-show-mime): Adjust for the above change. Insert the
3455 header by rmail-mime-insert-header.
3457 2011-01-02 Kenichi Handa <handa@m17n.org>
3459 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
3460 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
3461 (rmail-mime-mbox-buffer)
3462 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
3463 (rmail-mime-entity): Argument changed. All codes handling an
3464 entity object are changed.
3465 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
3467 (rmail-mime-entity-children, rmail-mime-entity-handler)
3468 (rmail-mime-entity-tagline): New functions.
3469 (rmail-mime-message-p): New function.
3470 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
3471 (rmail-mime-entity-segment, rmail-mime-next-item)
3472 (rmail-mime-previous-item, rmail-mime-shown-mode)
3473 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
3474 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
3475 (rmail-mime-insert-tagline, rmail-mime-insert-header):
3477 (rmail-mime-text-handler): Call rmail-mime-insert-text.
3478 (rmail-mime-insert-decoded-text): New function.
3479 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
3480 (rmail-mime-insert-image): Argument changed. Caller changed.
3481 (rmail-mime-image): Call rmail-mime-toggle-hidden.
3482 (rmail-mime-set-bulk-data): New function.
3483 (rmail-mime-insert-bulk): Argument changed.
3484 (rmail-mime-multipart-handler): Return t.
3485 (rmail-mime-process-multipart): Argument changed.
3486 Handle "multipart/alternative" here.
3487 (rmail-mime-process): Argument changed.
3488 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
3489 (rmail-mime-insert): Argument changed. Handle raw display mode.
3490 (rmail-mime): Argument changed. Handle toggling of raw display
3492 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
3493 rmail-mime-view-buffer.
3494 (rmail-insert-mime-forwarded-message): Likewise.
3495 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
3497 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
3498 non-nil, handle the header in rmail-show-mime-function.
3500 2011-01-02 Leo <sdl.web@gmail.com>
3502 * help-fns.el (describe-variable): Fix previous change.
3504 2011-01-02 Juri Linkov <juri@jurta.org>
3506 * isearch.el (isearch-lazy-highlight-error): New variable.
3507 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
3508 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
3509 to the current value of `isearch-error' (Bug#7468).
3511 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3513 * help-fns.el (describe-variable): Don't emit trailing whitespace
3516 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3518 * textmodes/rst.el (rst-compile-pdf-preview)
3519 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
3521 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3523 * emulation/edt-mapper.el: Override mapping of function keys so
3524 that the later call to read-key-sequence works.
3526 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3528 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
3529 Unix EOLs. (Bug#7589)
3531 2011-01-02 Leo <sdl.web@gmail.com>
3533 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
3534 if point is not behind eshell-last-output-end (Bug#7585).
3536 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
3538 * files.el (file-local-variables-alist):
3539 Make permanent-local (bug#7767).
3541 2011-01-02 Glenn Morris <rgm@gnu.org>
3543 * version.el (emacs-copyright): Set short copyright year to 2011.
3545 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3547 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
3548 an existing temp buffer. (Bug#7746)
3550 2011-01-02 Glenn Morris <rgm@gnu.org>
3552 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
3553 multiple addresses. (Bug#7760)
3555 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
3557 * allout.el (allout-auto-fill): Do not infinitely recurse - use
3558 do-auto-fill if everything points back to allout-auto-fill.
3559 (allout-mode-deactivate-hook): Declare obsolete, in favor of
3560 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
3562 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
3564 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
3567 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3569 * doc-view.el (doc-view-set-doc-type): New function refactored
3571 (doc-view-fallback-mode): New function.
3572 (doc-view-mode): Use it.
3573 (doc-view-mode-maybe): New function that checks if doc-view-mode
3574 can be used and falls back to the next best mode otherwise.
3576 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
3577 DVI, OpenDocument, and MS Office files.
3579 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
3581 * emacs-lisp/rx.el (rx-syntax): Fix typo.
3583 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3585 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
3586 on a copy of auto-mode-alist, because that deletes with side
3589 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3591 * doc-view.el (doc-view-mode, doc-view-toggle-display):
3592 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
3593 fallback instead of hard coding fundamental mode.
3595 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3597 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
3598 Office) files also for searching.
3600 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3602 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
3603 Office) files. Not yet enabled via auto-mode-list.
3604 (doc-view-unoconv-program): New custom variable.
3605 (doc-view-mode-p): Handle new odf document type.
3606 (doc-view-odf->pdf): New conversion function.
3607 (doc-view-convert-current-doc): Call it for odf files.
3608 (doc-view-mode): Recognize newly supported file extensions.
3610 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
3612 * net/tramp.el (tramp-default-method-alist)
3613 (tramp-default-user-alist)
3614 (tramp-local-host-regexp, tramp-prefix-domain-format)
3615 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
3618 * net/tramp-gvfs.el:
3620 * net/tramp-imap.el:
3622 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
3623 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
3625 2010-12-29 Karl Fogel <kfogel@red-bean.com>
3627 * saveplace.el (save-place-alist-to-file): Save list sorted and
3628 pretty-printed, so that it is mergeable by line-based text merging,
3629 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
3631 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
3633 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
3634 (allout-mode): Argument "toggle" => "force".
3635 Refine the docstring.
3636 Remove special provisions for reactivation, besides the 'force'
3638 Consolidate layout provisions coce directly into the activation
3639 condition branch, now that we've removed those provisions.
3640 (allout-unload-function): Explicitly activate the mode before
3641 deactivating, if it's initially deactivated.
3642 (allout-set-buffer-multibyte): Properly prevent byte-compiler
3643 warnings for version of function used only where
3644 set-buffer-multibyte is unavailable.
3646 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
3648 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
3649 are handled by the menu-bar entries. As before, don't use
3650 :visibile to avoid changing the tool-bar.
3652 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3654 * net/secrets.el (secrets-delete-alias): New defun.
3656 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3658 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
3659 methods, otherwise ~/.ssh/config would be ignored.
3661 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
3663 * emacs-lisp/rx.el: Make it a superset of sregex.
3664 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
3665 of args, add `regex' alias.
3666 (rx-info): Add arg to distinguish head and standalone forms.
3667 (rx-check, rx-form): Pass the corresponding arg.
3669 (rx-repeat): Make it work for any number of args.
3670 (rx-syntax): Make it accept syntax chars as is.
3671 * obsolete/sregex.el: Move from emacs-lisp/.
3672 * emacs-lisp/re-builder.el: Remove sregex support.
3673 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
3675 2010-12-25 Eli Zaretskii <eliz@gnu.org>
3677 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
3678 PRIMARY first, then the clipboard. (Bug#7699)
3680 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3682 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
3685 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
3687 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
3688 .emacs.elc (Bug#7530).
3690 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
3691 image spec (Bug#7480).
3693 2010-12-21 Daiki Ueno <ueno@unixuser.org>
3695 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
3696 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
3699 2010-12-20 Leo <sdl.web@gmail.com>
3701 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
3702 always be performed (Bug#7680).
3704 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
3706 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
3707 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
3710 * color.el: Move from gnus/.
3712 * vc/diff.el (diff-better-file-name): Function deleted.
3713 abbreviating file names causes problems with shell-quote-argument.
3714 (diff-no-select): Just use expand-file-name.
3716 * tool-bar.el (tool-bar--image-expression): New function.
3717 (tool-bar-local-item, tool-bar--image-exp): Use it.
3718 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
3719 Use :enable instead of :visible to avoid changing the tool-bar
3720 configuration unnecessarily.
3722 * info.el (info-tool-bar-map): Add separators.
3724 2010-12-17 Ken Brown <kbrown@cornell.edu>
3726 * loadup.el: Use version numbers in Cygwin build.
3728 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
3730 * ido.el (ido-file-internal): Ask for confirmation before
3731 overwriting an existing file (Bug#1238).
3733 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
3735 * tool-bar.el (tool-bar-setup): Add separators.
3737 * menu-bar.el (featurep): Use menu-bar-separator.
3739 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
3741 Migrate allout encryption provisions from pgg to epg.
3743 * allout.el (allout-toggle-current-subtree-encryption)
3744 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
3745 defaulting policy and other changes. Change fetch-pass to keymode-cue,
3746 for simpler universal argument interpretation.
3747 (allout-toggle-subtree-encryption): Adjust docstring to describe
3748 changed encryption provisions. Change fetch-pass to keymode-cue, for
3749 simpler universal argument interpretation. Remove provisions for
3750 handling key type and identity - they'll all be within
3751 allout-encrypt-string or epg/epg or even contained all the way in gpg.
3752 (allout-encrypt-string): Include keymode-cue, for optionally prompting
3753 for keypair recipients (universal argument > 1) and, in addition,
3754 associating the specified recipients with the outline (universal
3755 argument > 4) using a file local variable setting for
3756 'epa-file-encrypt-to'.
3757 Require epa, for recipients handling.
3758 Change how regexp filtering elements are named.
3759 Describe the problem with caching of incorrect symmetric-decryption
3761 Use the epa-passphrase-callback-function, in case the user is using
3763 Support saving of the selected keypair recipients when invoked with a
3765 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
3767 Establish epg-context with armoring and default epg-protocol.
3768 Remove all passphrase cache, verification, and hinting code.
3769 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
3770 No longer used, delete.
3771 (allout-mode): Adjust docstring to describe changed encryption
3772 provisions. Describe the problem with caching of incorrect
3773 symmetric-decryption keys.
3774 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
3775 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
3776 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
3777 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
3780 2010-12-16 Daiki Ueno <ueno@unixuser.org>
3782 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
3783 key selection prompt; make 'silent as default (Bug#7487).
3785 2010-12-16 Leo <sdl.web@gmail.com>
3787 * eshell/eshell.el (eshell-directory-name):
3788 Use locate-user-emacs-file (Bug#7578).
3790 2010-12-15 Glenn Morris <rgm@gnu.org>
3792 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
3794 2010-12-15 Jari Aalto <jari.aalto@cante.net>
3795 Scott Evans <gse@antisleep.com>
3797 * rect.el (rectange--default-line-number-format)
3798 (rectangle-number-line-callback): New functions.
3799 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
3801 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
3803 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
3804 Delete unused variables.
3805 (move-to-column-force): Remove function obsolete since 21.2.
3807 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
3809 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
3810 (tramp-handle-insert-file-contents): Do not set permanent-local
3813 * net/tramp-cache.el (tramp-persistency-file-name):
3814 Use `locate-user-emacs-file' if fboundp.
3816 * net/tramp-sh.el (tramp-methods): Add "ksu".
3817 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
3820 2010-12-14 Glenn Morris <rgm@gnu.org>
3822 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3823 (find-tag-marker-ring): Declare.
3824 (js-find-symbol): Require etags.
3826 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3828 (mail-alias-file): Don't autoload. Doc fix.
3829 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3830 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
3831 Mark as obsolete, and risky.
3832 (mail-setup): Simplify.
3834 * mail/mailalias.el (build-mail-aliases): Make it interactive.
3835 * mail/sendmail.el (build-mail-aliases): Update autoload.
3837 * dired.el (dired-trivial-filenames, dired-chown-program)
3838 (dired-auto-revert-buffer): Remove autoload cookies.
3839 * mail/sendmail.el (mail-recover-1): Require 'dired.
3841 * dired.el (dired-subdir-switches, dired-chown-program)
3842 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3843 Make into defcustoms.
3844 (dired-chown-program): Simplify initialization.
3846 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3848 2010-12-13 Romain Francoise <romain@orebokech.com>
3850 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3852 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3854 * net/netrc.el (netrc-point-at-eol): Remove the unused
3855 netrc-point-at-old and netrc-bound-and-true-p bindings.
3856 (netrc-parse): Cache the netrc contents.
3858 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3860 * subr.el (posn-col-row): Evaluate header-line-format in the
3861 context of the POSITION window's buffer.
3863 2010-12-13 Glenn Morris <rgm@gnu.org>
3865 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3866 (with-silent-modifications): Doc fixes.
3868 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3870 * net/tramp.el (tramp-action-password, tramp-process-actions):
3871 Revert previous from. Use `save-restriction'.
3873 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
3875 * calendar/diary-lib.el (diary-list-sexp-entries):
3876 Handle case of no newline at end of file. (Bug#7536)
3878 2010-12-13 Glenn Morris <rgm@gnu.org>
3880 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3882 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3884 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3885 (tramp-process-actions): Do not widen.
3887 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3888 Protect buffer-modified value. (Bug#7557)
3890 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
3892 * log-edit.el (log-edit-changelog-entries):
3893 Regexp quote filename. (Bug#7505)
3895 2010-12-13 Tom Breton <tehom@panix.com>
3897 * cus-edit.el (custom-save-all):
3898 Bind print-length and print-level to nil. (Bug#7581)
3900 2010-12-13 Glenn Morris <rgm@gnu.org>
3902 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3903 Run hooks to update menu contents. (Bug#7586)
3905 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3906 file names, for the sake of MS Windows. (Bug#7588)
3908 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3910 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3911 empty lines without a leading space.
3913 2010-12-13 Leo <sdl.web@gmail.com>
3915 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3916 while mapping over marks (Bug#6810).
3918 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3920 * image-dired.el (image-dired-db-file)
3921 (image-dired-temp-image-file, image-dired-gallery-dir)
3922 (image-dired-temp-rotate-image-file): Set default values relative
3923 to image-dired-dir (Bug#7518).
3925 2010-12-13 Lawrence Mitchell <wence@gmx.li>
3927 * format.el (format-decode-run-method): Pass args FROM and TO, not
3928 point-min and point-max, to shell-command-on-region (Bug#7488).
3930 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
3932 * frame.el (blink-cursor-mode): Make default t for ns.
3934 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3936 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3938 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3940 * comint.el (comint-dynamic-list-input-ring)
3941 (comint-dynamic-complete-filename)
3942 (comint-replace-by-expanded-filename)
3943 (comint-dynamic-simple-complete)
3944 (comint-dynamic-list-filename-completions)
3945 (comint-dynamic-list-completions): Doc fix (Bug#7499).
3947 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3950 2010-12-13 Martin Rudalics <rudalics@gmx.at>
3952 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3955 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
3957 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3960 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3962 * files.el (file-relative-name): Handle UNC file names on
3963 DOS/Windows. (Bug#4674)
3965 2010-12-13 Daiki Ueno <ueno@unixuser.org>
3967 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3968 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3969 (epg-context-set-passphrase-callback): Mention that the callback
3970 is not called when used with GnuPG 2.x.
3972 2010-12-13 Glenn Morris <rgm@gnu.org>
3974 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3975 Ensure ps-footer-font-size-internal is initialized.
3976 Call ps-get-page-dimensions before trying to use ps-font-for-text.
3978 2010-12-13 Kenichi Handa <handa@m17n.org>
3980 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3981 within condition-case.
3982 (rmail-show-mime): Don't use condition-case.
3983 (rmail-search-mime-message): New function.
3984 (rmail-search-mime-message-function): Set to
3985 rmail-search-mime-message.
3987 2010-12-13 Leo <sdl.web@gmail.com>
3989 * ido.el (ido-common-initialization): New function. (bug#3274)
3991 (ido-completing-read): Call it.
3993 2010-12-12 Karl Fogel <kfogel@red-bean.com>
3995 * bookmark.el (bookmark-name-from-full-record): Rename back to
3996 this original name from `bookmark-name-from-record' reverting part
3997 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
3998 As Drew Adams pointed out, there was no reason to cause churn for
3999 third-party callers. (Bug#7609)
4001 2010-12-12 Alan Mackenzie <acm@muc.de>
4003 * progmodes/cc-engine.el (c-forward-type): Before scanning a
4004 template arglist, check that the current language supports this.
4006 2010-12-11 Glenn Morris <rgm@gnu.org>
4008 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
4009 state of the file matches. (Bug#7544)
4010 (vc-bzr-register, vc-bzr-checkin)
4011 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
4012 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
4014 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
4016 2010-12-11 Karel Klíč <kklic@redhat.com>
4018 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
4020 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4022 Derive from prog-mode, use derived-mode-p, and fix up various
4023 minor style issues in lisp/progmodes.
4025 * progmodes/vhdl-mode.el (vhdl-mode):
4026 * progmodes/verilog-mode.el (verilog-mode):
4027 * progmodes/vera-mode.el (vera-mode):
4028 * progmodes/sql.el (sql-mode):
4029 * progmodes/scheme.el (scheme-mode):
4030 * progmodes/perl-mode.el (perl-mode):
4031 * progmodes/octave-inf.el (inferior-octave-mode):
4032 * progmodes/autoconf.el (autoconf-mode):
4033 * progmodes/m4-mode.el (m4-mode):
4034 * progmodes/inf-lisp.el (inferior-lisp-mode):
4035 * progmodes/idlwave.el (idlwave-mode):
4036 * progmodes/icon.el (icon-mode):
4037 * progmodes/idlw-help.el (idlwave-help-mode):
4038 * progmodes/dcl-mode.el (dcl-mode):
4039 * progmodes/idlw-shell.el (idlwave-shell-mode):
4040 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
4041 (ebrowse-member-mode, ebrowse-electric-position-mode):
4042 Use define-derived-mode.
4044 * progmodes/xscheme.el (exit-scheme-interaction-mode)
4045 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
4046 (xscheme-debugger-mode-p, xscheme-send-string-1):
4047 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
4048 (tcl-load-file, tcl-restart-with-file):
4049 * progmodes/ps-mode.el (ps-run-running):
4050 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
4051 * progmodes/js.el (js--get-all-known-symbols):
4052 * progmodes/inf-lisp.el (inferior-lisp-proc):
4053 * progmodes/idlwave.el (idlwave-beginning-of-statement)
4054 (idlwave-template, idlwave-update-buffer-routine-info)
4055 (idlwave-update-current-buffer-info)
4056 (idlwave-get-routine-info-from-buffers, idlwave-choose)
4057 (idlwave-scan-class-info, idlwave-fix-keywords)
4058 (idlwave-list-buffer-load-path-shadows):
4059 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
4060 (idlwave-toolbar-remove):
4061 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
4062 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
4063 (idlwave-shell-menu-def):
4064 * progmodes/idlw-complete-structtag.el
4065 (idlwave-prepare-structure-tag-completion):
4066 * progmodes/gud.el (gud-set-buffer):
4067 * progmodes/f90.el (f90-backslash-not-special):
4068 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
4070 * progmodes/xscheme.el (xscheme-start)
4071 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
4072 * progmodes/which-func.el (which-function):
4073 * progmodes/vhdl-mode.el (vhdl-set-style):
4074 * progmodes/verilog-mode.el (verilog-set-compile-command)
4075 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
4076 (verilog-set-define, verilog-auto-reeval-locals):
4077 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
4078 * progmodes/simula.el (simula-mode):
4079 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
4080 * progmodes/python.el (python-check, python-mode):
4081 * progmodes/prolog.el (prolog-mode-variables):
4082 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
4083 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
4084 * progmodes/delphi.el (delphi-mode):
4085 * progmodes/cc-styles.el (c-setup-paragraph-variables):
4086 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
4087 (c-font-lock-init): Move make-local-variable to their setq.
4089 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
4090 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
4092 * progmodes/sh-script.el (sh-require-final-newline): Remove.
4093 (sh-set-shell): Don't set require-final-newline since it's already done
4095 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
4096 since we never set it.
4097 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
4098 Use read-string and standard prompt.
4099 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
4100 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
4101 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
4102 (meta-common-mode-map): Rename from meta-mode-map.
4103 Remove C-m binding, which is a user preference, not mode specific.
4104 (meta-common-mode): New major mode; replace meta-common-initialization.
4105 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
4106 around with font-lock.
4107 * progmodes/etags.el (select-tags-table-mode):
4108 Derive from special-mode.
4109 * progmodes/octave-mod.el (octave-mode):
4110 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
4111 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
4112 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
4113 Let define-derived-mode do its job.
4114 * progmodes/cpp.el (cpp-edit-mode-map):
4115 Move initialization into declaration.
4116 (cpp-edit-mode): Use define-derived-mode.
4117 (cpp-edit-load): Use derived-mode-p.
4118 * progmodes/mixal-mode.el (mixal-mode):
4119 * progmodes/f90.el (f90-mode):
4120 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
4121 require-final-newline since prog-mode does it already.
4122 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
4123 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
4124 * progmodes/antlr-mode.el: Require cc-mode upfront.
4125 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
4127 (antlr-directory-dependencies, antlr-show-makefile-rules):
4129 (antlr-language-option): Don't assume point-min==1.
4130 (antlr-mode): Use define-derived-mode.
4131 * progmodes/ada-mode.el: Use derived-mode-p.
4132 (ada-mode): Use define-derived-mode.
4133 Use hack-local-variables-hook.
4135 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4137 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
4138 (texinfo-mode): Don't disable adaptive-fill-mode.
4139 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
4140 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
4141 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
4142 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
4143 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
4144 (texinfo-insert-@quotation, texinfo-insert-@samp)
4145 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
4146 (texinfo-insert-@uref): Use define-skeleton.
4147 (texinfo-insert-@-with-arg): Delete.
4149 2010-12-10 Eli Zaretskii <eliz@gnu.org>
4151 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
4152 nil, do quote archive member names. (Bug#6144)
4154 2010-12-10 Glenn Morris <rgm@gnu.org>
4156 * files.el (diff-no-select): Declare.
4158 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
4159 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
4161 * comint.el (comint-input-ring-file-name): Doc fix.
4163 2010-12-09 Eli Zaretskii <eliz@gnu.org>
4165 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
4167 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
4168 Use them instead of `nil' and `>', respectively.
4169 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
4171 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
4172 and menu-bar-positive-p instead of `nil' and `>', respectively.
4175 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4177 * whitespace.el (whitespace-newline-mode): Code fix.
4179 2010-12-09 Glenn Morris <rgm@gnu.org>
4181 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
4182 Rename functions without commas, update callers.
4184 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
4186 * whitespace.el (whitespace-cleanup-region):
4187 Clean up spaces before tabs. (Bug#7582)
4189 2010-12-08 Karl Fogel <kfogel@red-bean.com>
4191 * bookmark.el: Adjust parameter names and doc strings to resolve
4192 confusion over whether "bookmark" meant a bookmark name or a
4193 bookmark record. Along the way, shorten one function's name for
4194 similar reasons. (Issue #7548)
4195 (bookmark-name-from-record): New name for
4196 `bookmark-name-from-full-record'. All callers changed.
4197 (bookmark-get-bookmark, bookmark-get-bookmark-record)
4198 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
4199 (bookmark-get-annotation, bookmark-set-annotation)
4200 (bookmark-get-filename, bookmark-set-filename)
4201 (bookmark-get-position, bookmark-set-position)
4202 (bookmark-get-front-context-string, bookmark-set-front-context-string)
4203 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
4204 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
4205 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
4206 Rename `bookmark' parameter to `bookmark-name-or-record', to
4207 clearly show its role, and shorten or adjust doc strings accordingly.
4208 (bookmark-set-name): Same, and pass the parameter directly to
4209 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
4210 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
4211 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
4212 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
4213 and in some cases shorten doc string accordingly.
4214 (bookmark-rename): Change `old' and `new' parameters to `old-name'
4215 and `new-name', and adjust an internal variable to avoid confusion.
4216 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
4217 parameter in doc string.
4219 2010-12-08 Glenn Morris <rgm@gnu.org>
4221 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
4222 from gdb's history file. (Bug#7575)
4224 * mail/emacsbug.el (report-emacs-bug):
4225 Try to handle some other mail clients.
4227 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4229 * files.el (dir-locals-collect-variables): Don't let errors stop us.
4230 Use string-prefix-p.
4231 (file-name-version-regexp): New var.
4232 (file-name-sans-versions):
4233 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
4234 (jka-compr-get-compression-info): Use dolist.
4235 (jka-compr-compression-info-list): Don't bother specifying
4236 version/backup regexps.
4238 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
4240 * simple.el (just-one-space): Make argument n default to 1 if
4243 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4245 * electric.el (electric-indent-post-self-insert-function):
4246 Delete trailing newlines even if we don't reindent.
4248 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4250 * minibuffer.el (completion-at-point): Remove the `arg'.
4251 * bindings.el (complete-symbol): Move back from minibuffer.el.
4253 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4255 * simple.el (just-one-space): Delete newlines for negative arg.
4257 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4259 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
4260 (ansi-color-filter-apply): Simplify.
4261 (ansi-color-apply): Use `font-lock-face' rather than `face'.
4263 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
4265 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
4267 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
4269 * dired.el (dired-use-ls-dired): Set default to a special
4270 "unspecified" value.
4271 (dired-insert-directory): When called the first time, check
4272 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
4274 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
4276 * replace.el: Add "collect" feature to occur.
4277 (occur-collect-regexp-history): New var.
4278 (occur-read-primary-args): Return a replace string for nlines,
4280 (occur): Extend the meaning of nlines.
4282 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4284 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
4285 (which-func-update-1): Distinguish symbols from strings.
4286 (which-function): Stay within 80 columns.
4288 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4290 * subr.el (with-demoted-errors): Distinguish symbols from strings.
4292 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
4294 (comment-style): Use comment-styles's docs to describe values.
4296 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
4298 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
4299 and ns-show-prefs (Bug#7535).
4301 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
4302 bindings (Bug#7535).
4304 2010-12-03 Glenn Morris <rgm@gnu.org>
4306 * nxml/nxml-mode.el: Require rng-nxml.
4307 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
4308 Remove declarations.
4310 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
4311 * nxml/rng-nxml.el, nxml/rng-valid.el:
4312 Remove leading `*' from defcustom docs.
4314 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
4315 (normal-top-level-add-to-load-path, tty-handle-args):
4316 Convert comments to basic doc-strings.
4318 * net/browse-url.el (browse-url-url-at-point)
4319 (browse-url-default-browser): Remove autoload cookies.
4321 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4322 Remove more undefined cl functions.
4324 * vc/diff.el (diff-sentinel): Make new arguments optional.
4325 * ibuf-ext.el (diff-sentinel): Update declaration.
4327 2010-12-03 Daiki Ueno <ueno@unixuser.org>
4329 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
4330 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
4331 (epg-context-set-passphrase-callback): Mention that the callback
4332 is not called when used with GnuPG 2.x.
4334 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
4336 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
4337 (tramp-file-name-port): Check also for `tramp-default-port'.
4338 (tramp-get-connection-name): New defun.
4339 (tramp-get-connection-process): Use it.
4340 (tramp-debug-message): Extend function exclude list.
4341 (tramp-drop-volume-letter): Fix doc string.
4343 * net/tramp-cmds.el: Remove solved todo item.
4346 * net/tramp-gvfs.el:
4348 * net/tramp-imap.el:
4349 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
4350 and `tramp-default-user-alist', respectively.
4352 * net/tramp-gw.el (tramp-gw-open-connection):
4353 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
4355 * net/tramp-imap.el (tramp-imap-make-iht): Use just
4356 `tramp-file-name-port'.
4358 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
4359 and "psftp". Exchange "%k" marker with options.
4360 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
4361 Compute size of link target.
4362 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
4363 `tramp-current-*' up due to gateway methods. Optimize computing of
4364 copy arguments. Use `tramp-get-connection-name' and
4365 `tramp-get-connection-buffer'. Improve debug messages.
4366 (tramp-compute-multi-hops): Remove port determination.
4367 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
4369 * net/trampver.el: Update release number.
4371 2010-12-02 Glenn Morris <rgm@gnu.org>
4373 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4374 Avoid infinite loop over windows. (Bug#7492)
4376 * progmodes/flymake.el (flymake-check-file-limit):
4377 Allow nil to mean "no limit".
4378 (flymake-check-patch-master-file-buffer): Update for above change.
4379 Allow a .tex file-name extension to be optional.
4380 (flymake-master-tex-init): Also match \include statements.
4382 2010-11-30 Sam Steingold <sds@gnu.org>
4384 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
4385 (nxml-parent-document-set): A function to set `nxml-parent-document'.
4386 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
4387 (nxml-mode-hook): Remove `defcustom' (auto-defined by
4388 define-derived-mode').
4389 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
4390 users who want to call `nxml-parent-document-set'.
4392 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4394 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
4395 stand-alone lines, since that is handled by log-edit-match-to-eoh
4398 2010-11-27 Eduard Wiebe <usenet@pusto.de>
4400 * dired.el (dired-get-filename): Replace backslashes with slashes
4401 in file names on MS-Windows, needed by `locate'. (Bug#7308)
4402 * locate.el (locate-default-make-command-line): Don't consider
4403 drive letter and root directory part of
4404 `directory-listing-before-filename-regexp'. (Bug#7308)
4405 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
4407 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4409 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
4410 of :smie-open/close-alist.
4411 (smie-next-sexp): Make it accept a "start token" as argument.
4412 (smie-indent-keyword): Be careful not to misidentify tokens that span
4413 more than one line, as empty lines. Add argument `token'.
4415 2010-11-27 Kenichi Handa <handa@m17n.org>
4417 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
4418 multipart subtypes, insert all as usual.
4420 * mail/rmail.el: Require rfc2047.
4422 2010-11-27 Kenichi Handa <handa@m17n.org>
4424 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
4425 (rmail-mime-entity-disposition)
4426 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
4427 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
4428 (rmail-mime-save): Handle the case that the button's `data' is a
4430 (rmail-mime-insert-text): New function.
4431 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
4432 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
4433 (rmail-mime-insert-bulk): New function mostly copied from the old
4434 rmail-mime-bulk-handler.
4435 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
4436 (rmail-mime-process-multipart): New function mostly copied from
4437 the old rmail-mime-multipart-handler.
4438 (rmail-mime-show): Just call rmail-mime-process.
4439 (rmail-mime-process): New function mostly copied from the old
4441 (rmail-mime-insert-multipart, rmail-mime-parse)
4442 (rmail-mime-insert, rmail-show-mime)
4443 (rmail-insert-mime-forwarded-message)
4444 (rmail-insert-mime-resent-message): New functions.
4445 (rmail-insert-mime-forwarded-message-function): Set to
4446 rmail-insert-mime-forwarded-message.
4447 (rmail-insert-mime-resent-message-function): Set to
4448 rmail-insert-mime-resent-message.
4450 * mail/rmailsum.el: Require rfc2047.
4451 (rmail-header-summary): Handle multiline Subject: field.
4452 (rmail-summary-line-decoder): Change the default to
4453 rfc2047-decode-string.
4455 * mail/rmail.el (rmail-enable-mime): Change the default to t.
4456 (rmail-mime-feature): Change the default to `rmailmm'.
4457 (rmail-quit): Delete the specifal code for rmail-enable-mime.
4458 (rmail-display-labels): Likewise.
4459 (rmail-show-message-1): Check rmail-enable-mime, and use
4460 rmail-show-mime-function for a MIME message. Decode the headers
4461 according to RFC2047.
4463 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4465 * progmodes/which-func.el (which-func-imenu-joiner-function):
4466 Return a string, as expected.
4467 (which-function-mode): Make sure we stop any previous timer before
4470 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
4472 * net/tramp.el (tramp-default-method-alist)
4473 (tramp-default-user-alist, tramp-default-proxies-alist):
4474 Adapt custom options type. (Bug#7445)
4476 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4478 * progmodes/python.el: Add Ipython support (Bug#5390).
4479 (python-shell-prompt-alist)
4480 (python-shell-continuation-prompt-alist): New options.
4481 (python--set-prompt-regexp): New function.
4482 (inferior-python-mode, run-python, python-shell):
4483 Require ansi-color. Use python--set-prompt-regexp to set the comint
4484 prompt based on the Python interpreter.
4485 (python--prompt-regexp): New var.
4486 (python-check-comint-prompt)
4487 (python-comint-output-filter-function): Use it.
4488 (run-python): Use a pipe (Bug#5694).
4490 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4492 * progmodes/python.el (run-python): Doc fix.
4493 (python-keep-current-directory-in-path): New var (Bug#7454).
4495 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4497 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4498 Prompt user before actually printing.
4500 2010-11-27 Glenn Morris <rgm@gnu.org>
4502 * startup.el (package-enable-at-startup, package-initialize):
4503 Remove unnecessary declarations.
4505 2010-11-27 Eli Zaretskii <eliz@gnu.org>
4507 * international/characters.el (glyphless-char-display-control):
4508 Exclude newline and TAB from the c0-control group.
4510 2010-11-27 Glenn Morris <rgm@gnu.org>
4512 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
4513 (expand-mail-aliases): Remove unnecessary autoload.
4515 * allout.el (allout-command-prefix, allout-mode-map): Declare.
4517 * shell.el (shell-dir-cookie-re): Move definition before use.
4519 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4520 Replace undefined CL functions.
4522 2010-11-26 Eli Zaretskii <eliz@gnu.org>
4524 * simple.el (prog-mode): Set bidi-paragraph-direction to
4527 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
4529 2010-11-26 Glenn Morris <rgm@gnu.org>
4531 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
4532 diary-outlook-formats can be sensitive to calendar-date-style.
4533 (diary-outlook-formats): Simplify the default setting.
4534 (diary-from-outlook-internal): Pass subject and body as arguments.
4535 Use dolist rather than dotimes. Don't save the diary buffer.
4536 (diary-from-outlook-gnus, diary-from-outlook-rmail):
4537 Pass subject and body as explicit arguments to the -internal function.
4539 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4541 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
4542 parsing them. This makes mailto:...?subject=foo\nbar work.
4544 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4546 * vc/diff.el (diff): Fix last change.
4548 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4550 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
4551 (pcase--dontcare-upats): New var.
4552 (pcase-let, pcase-let*): Generate better code.
4553 Accept the same bodies as `let'.
4554 (pcase-dolist): New macro.
4555 (pcase--trivial-upat-p): New helper function.
4556 (pcase--expand): Strip leading "(let nil" if any.
4558 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4560 * mail/mailclient.el (browse-url): Require.
4561 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
4562 use the external browser function to send the mail (bug#7469).
4564 * net/browse-url.el (browse-url-browser-function): Revert the
4565 default back to the previous value, since the new value broke
4567 (browse-url-mailto-function): New variable for mailto: URLs.
4568 (browse-url): Use the new variable for mailto: URLs.
4570 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4572 * eshell/esh-cmd.el (eshell-parse-command):
4573 * eshell/esh-arg.el (eshell-parse-arguments):
4574 * eshell/em-script.el (eshell-source-file):
4575 Use with-silent-modifications.
4577 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4579 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
4580 for a merge location.
4582 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
4583 (vc-bzr-merge-branch): Always prompt.
4584 (vc-bzr-async-command): Use the full branch filename.
4586 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4588 * shell.el (shell): Use current-buffer by default if it's already
4589 a shell mode buffer and its process is dead.
4590 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
4592 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
4594 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4595 Mention that the keywords should be comma separated.
4597 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4599 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
4600 Accept optional prefix arg meaning to prompt for a command.
4601 (vc-update): Use vc-BACKEND-pull if available. Accept optional
4602 prefix arg meaning to prompt for a command.
4603 (vc-pull): Alias for vc-update.
4605 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
4606 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
4607 (vc-bzr-merge-branch): New functions, implementing merge-branch
4608 and pull operations.
4610 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4612 * Makefile.in: Fix up last merge.
4614 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
4615 (diff-sentinel): Get them as arguments instead.
4616 (diff-old-file, diff-new-file, diff-extra-args): Remove.
4617 (diff-file-local-copy, diff-better-file-name): New funs.
4618 (diff-no-select): Rename from diff-into-buffer.
4619 Support buffers additionally to files. Move `buf' arg. Don't display buf.
4620 Prefer closures to buffer-local variables.
4621 (diff): Adjust accordingly.
4622 (diff-buffer-with-file): Move from files.el.
4623 * files.el (diff-buffer-with-file): Move to vc/diff.el.
4624 (diff-buffer-internal): Remove.
4625 (diff-buffer-buffer): Remove.
4626 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
4627 the buffer name used, and so as not to mess up windows and frames.
4629 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
4631 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
4632 (diff-buffer-internal): New function extracted from diff-buffer-with-file
4633 (diff-buffer-with-file): Use it.
4634 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
4637 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
4639 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
4640 \ref's or \pageref's value as default instead of initial input.
4642 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
4644 * files.el (backup-by-copying-when-mismatch): The default value is
4647 * startup.el (normal-top-level):
4648 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4649 `backup-by-copying-when-mismatch'.
4651 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4653 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
4655 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4657 * progmodes/python.el (python-font-lock-keywords):
4658 Highlight top-level augmented assignments (Bug#6445).
4660 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4662 * term/ns-win.el (ns-right-control-modifier)
4663 (ns-right-command-modifier): Defvar them.
4665 * cus-start.el (all): Add ns-right-control-modifier and
4666 ns-right-command-modifier (Bug#7458).
4668 2010-11-20 Glenn Morris <rgm@gnu.org>
4670 * emacs-lisp/authors.el (authors-ignored-files)
4671 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
4673 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4675 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
4676 (report-emacs-bug-parse-query-results)
4677 (report-emacs-bug-create-existing-bugs-buffer): Pass through
4678 keywords used for querying the bug database to show them in the
4679 existing bugs buffer.
4681 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
4683 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
4685 * info.el (info-tool-bar-map): Add some :vert-only keywords.
4687 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4689 * international/characters.el (glyphless-char-display-control):
4690 Make it a defcustom, with update-glyphless-char-display as its
4692 (top level): Don't call update-glyphless-char-display.
4694 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
4696 Sync with Tramp 2.2.0.
4698 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
4699 `file-remote-p' (due to compatibility).
4701 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
4702 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
4704 * net/trampver.el: Update release number.
4706 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4708 * faces.el (glyphless-char): Define value for `pc'.
4710 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4712 Implemented a bug querying mechanism.
4713 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
4714 (report-emacs-bug-create-existing-bugs-buffer)
4715 (report-emacs-bug-parse-query-results)
4716 (report-emacs-bug-query-existing-bugs): New functions.
4718 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
4720 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
4721 a \ref{} or \pageref{} macro, then use its value as initial input.
4723 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4725 * calc/calc-units.el (math-build-units-table-buffer):
4726 calc/README: Mention that the TeX specific units won't use the
4727 `tex' prefix in TeX mode.
4728 calc/calc-lang.el (math-variable-table): Don't use the `tex'
4729 prefix for units in TeX mode.
4731 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4733 * simple.el (kill-new, kill-append, kill-region):
4734 * comint.el (comint-kill-region): Make the yank-handler argument
4737 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4739 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
4740 that are both openers (resp. closers) and something else.
4741 (smie-grammar): Loosen definition of valid values.
4742 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
4743 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
4744 (smie-indent-after-keyword): Adjust users.
4745 (smie-indent-keyword): Don't indent empty lines.
4747 * vc-hg.el (vc-hg-program): New var.
4748 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
4749 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
4751 2010-11-18 Glenn Morris <rgm@gnu.org>
4753 * emacs-lisp/autoload.el (autoload-find-destination): The function
4754 coding-system-eol-type may return non-numeric values. (Bug#7414)
4756 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
4758 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
4760 2010-11-18 Eli Zaretskii <eliz@gnu.org>
4762 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
4764 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
4766 * textmodes/picture.el (picture-mouse-set-point): Don't use
4767 posn-col-row; explicitly compute the motion based on the posn at
4768 the window-start (Bug#7390).
4770 2010-11-18 Glenn Morris <rgm@gnu.org>
4772 * novice.el (disabled-command-function):
4773 Fix 2009-11-15 change. (Bug#7384)
4775 2010-11-18 Glenn Morris <rgm@gnu.org>
4777 * calendar/calendar.el (diary-iso-date-forms): Make elements
4778 mutually exclusive. (Bug#7377)
4780 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4782 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
4783 when filling the remaining "unconstrained" values.
4785 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4787 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
4790 * files.el (safe-local-variable-p): Gracefully handle errors.
4792 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
4793 Use smie-indent-virtual when indenting relative to an opener.
4794 (smie-rule-separator): Use smie-rule-parent.
4795 (smie-indent-keyword): Consult rules, even for openers at bol.
4796 (smie-indent-comment-close): Try to align closer's content.
4798 2010-11-18 Glenn Morris <rgm@gnu.org>
4800 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4802 2010-11-18 Glenn Morris <rgm@gnu.org>
4804 * printing.el (pr-menu-bind): Doc fix.
4806 * speedbar.el (speedbar-toggle-images): Doc fix.
4808 * progmodes/python.el (python-shell): Doc fix.
4810 * wid-edit.el (widget-field-use-before-change)
4811 (widget-use-overlay-change): Doc fixes.
4813 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4815 Minor cleanup to improve style.
4816 * textmodes/rst.el (rst-update-section): Use point-marker.
4817 (rst-get-decoration): Eliminate unneeded assignment.
4818 (rst-promote-region, rst-straighten-decorations)
4819 (rst-section-tree, rst-adjust): Use point-marker.
4820 (rst-toc-mode-mouse-goto): Avoid setq.
4821 (rst-shift-region-guts, rst-shift-region-left)
4822 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4823 (rst-convert-bullets-to-enumeration): Use copy-marker.
4825 * minibuffer.el (completion-fail-discreetly): New var.
4826 (completion--do-completion): Use it.
4828 * electric.el (electric-pair-pairs): New var.
4829 (electric-pair-post-self-insert-function): Use it.
4830 (electric-layout-post-self-insert-function): Don't insert a before
4831 newline unless it's actually needed.
4833 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4835 * progmodes/python.el (run-python): Explain why we remove the current
4836 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
4838 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4840 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4842 * progmodes/octave-mod.el: Rely on elecric-*-modes.
4843 (octave-mode-map): Don't bind ;, SPC, and LF.
4844 (octave-auto-indent, octave-auto-newline): Remove.
4845 (electric-layout-rules): Declare.
4846 (octave-mode): Set electric-layout-rules.
4847 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4848 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4849 (octave-electric-space): Remove.
4851 * electric.el (electric-layout-mode): New minor mode.
4852 (electric--after-char-pos): New function.
4853 (electric-indent-post-self-insert-function): Use it.
4854 (electric-layout-rules): New var.
4855 (electric-layout-post-self-insert-function): New function.
4856 (electric-indent-mode): Make them interact better.
4858 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4860 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4861 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4862 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4864 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
4866 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4867 Make sure to check inside the word (Bug#6761).
4869 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
4871 * startup.el (command-line): If the cursorColor resource is set,
4872 change the cursor face-spec (Bug#7392).
4874 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
4876 The main features of the following allout.el changes are:
4877 - implement user customization for the allout key bindings
4878 - add a customization control by which the user can inhibit use of
4879 a trailing Ctrl-H, so by default it's reserved for use with
4880 describe-prefix-bindings
4881 - adapt to new version of called-interactively-p, while
4882 maintaining backwards compatibility with old version
4883 - fix hotspot navigation so i works properly with meta-modified keys.
4885 * allout.el (allout-keybindings, allout-bind-keys)
4886 (allout-keybindings-binding, allout-prefixed-keybindings)
4887 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4888 (allout-keybindings-list, allout-mode-map-adjustments)
4889 (allout-setup-mode-map): Establish allout-mode keymaps as user
4890 customizable settings, and also establish a customizable setting which
4891 regulates whether or not a trailing control-h is reserved for use with
4892 describe-prefix-bindings - and inhibit it by default, so that control-h
4893 *is* reserved for describe-prefix-bindings unless the user changes it.
4895 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4896 and accurately between modified and unmodified events, and handle
4897 modified events more comprehensively.
4899 * allout.el (allout-substring-no-properties):
4900 Alias to use or provide version of `substring-no-properties'.
4901 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4903 * allout.el (allout-next-single-char-property-change):
4904 Alias to use or provide version of `next-single-char-property-change'.
4905 (allout-annotate-hidden, allout-hide-by-annotation):
4906 Use `allout-next-single-char-property-change'.
4908 * allout.el (allout-select-safe-coding-system):
4909 Alias to use or provide version of `select-safe-coding-system'.
4910 (allout-toggle-subtree-encryption):
4911 Use `allout-select-safe-coding-system'.
4913 * allout.el (allout-set-buffer-multibyte):
4914 Alias to use or provide version of `set-buffer-multibyte'.
4915 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4917 * allout.el (allout-called-interactively-p): Macro for using the
4918 different versions of called-interactively-p identically, depending on
4919 the subroutine's argument signature.
4920 (allout-back-to-current-heading, allout-beginning-of-current-entry):
4921 Use `(interactive "p")' instead of `(called-interactively-p)'.
4923 * allout.el (allout-init, allout-ascend, allout-end-of-level)
4924 (allout-previous-visible-heading, allout-forward-current-level)
4925 (allout-backward-current-level, allout-show-children):
4926 Use `allout-called-interactively-p' instead of `called-interactively-p'.
4928 * allout.el (allout-before-change-handler):
4929 Exempt edits to the (overlaid) character after the allout outline
4930 bullet from edit confirmation prompt.
4932 * allout.el (allout-add-resumptions):
4933 Ensure that it respects correct buffer for keybindings.
4935 * allout.el (allout-beginning-of-line):
4936 Use `allout-previous-single-char-property-change' alias for the sake of
4937 diverse compatibility.
4939 * allout.el (allout-end-of-line):
4940 Use `allout-mark-active-p' to encapsulate respect for mark activity.
4942 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
4944 * frame.el (frame-notice-user-settings): Don't clobber other
4945 user-set parameters when calling face-set-after-frame-default in
4946 response to background-color parameter (Bug#7373).
4948 2010-11-13 Eli Zaretskii <eliz@gnu.org>
4950 * international/characters.el (glyphless-char-display-control):
4951 Rename from glyphless-char-control; all users changed. Doc fix.
4952 Signal an error if display method is not one of the recognized
4955 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
4957 * net/tramp-compat.el (tramp-compat-line-beginning-position)
4958 (tramp-compat-line-end-position): Remove them.
4960 * net/tramp.el (tramp-parse-rhosts-group)
4961 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4962 (tramp-parse-hosts-group, tramp-parse-passwd-group)
4963 (tramp-parse-netrc-group, tramp-parse-putty-group)
4964 * net/tramp-cmds.el (tramp-append-tramp-buffers)
4965 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4966 (tramp-sh-handle-file-selinux-context)
4967 (tramp-sh-handle-file-name-all-completions)
4968 (tramp-sh-handle-insert-directory)
4969 (tramp-sh-handle-expand-file-name, tramp-find-executable)
4970 (tramp-wait-for-output, tramp-send-command-and-read)
4971 * net/tramp-smb.el (tramp-smb-read-file-entry)
4972 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4974 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4976 (tramp-remote-coding-commands): Add an alternative using "base64
4977 -d -i". This is needed for older base64 versions from GNU
4978 coreutils. Reported by Klaus Reichl
4979 <Klaus.Reichl@thalesgroup.com>.
4981 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
4983 * simple.el (count-words-region): New function.
4985 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4987 * shell.el (shell-dir-cookie-re): New custom variable.
4988 (shell-dir-cookie-watcher): New function.
4990 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4991 and compilation-mode (bug#7350).
4993 * vc/smerge-mode.el (smerge-refine): Choose better default part to
4994 highlight when one of them is empty.
4996 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
4998 (skeleton-newline): New function.
4999 (skeleton-internal-1): Use it.
5001 * simple.el (open-line): `newline' may strip trailing space.
5003 2010-11-12 Kevin Ryde <user42@zip.com.au>
5005 * international/mule-cmds.el (princ-list): Use mapc.
5007 2010-11-12 Glenn Morris <rgm@gnu.org>
5009 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
5010 Use it to replace all instances of "*Compile-Log*".
5012 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5014 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
5017 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5019 * progmodes/modula2.el: Use SMIE and skeleton.
5020 (m2-mode-syntax-table): (*..*) can be nested.
5021 Add //...\n. Fix paren syntax.
5022 (m2-mode-map): Remove LF and TAB bindings.
5023 (m2-indent): Add safety property.
5024 (m2-smie-grammar): New var.
5025 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
5026 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
5027 (m2-mode): Use define-derived-mode.
5028 (m2-newline, m2-tab): Remove.
5029 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
5030 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
5031 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
5032 (m2-import): Use define-skeleton.
5034 2010-11-11 Glenn Morris <rgm@gnu.org>
5036 * obsolete/lucid.el: Don't warn about any CL functions in this file.
5038 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
5039 (ls-lisp-verbosity): Add custom :set-after property.
5040 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
5041 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
5042 (ls-lisp-insert-directory): Update caller.
5043 (ls-lisp-set-options): New function.
5044 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
5047 * play/landmark.el (lm-prompt-for-move):
5048 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
5050 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
5052 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
5053 (idlwave-study-twins): Prefix dynamic local variable `name'.
5054 (idlwave-routine-twin-compare): Update for above change.
5056 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
5057 Prefix dynamic local variables `name', `kwd', and `link'.
5058 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
5059 * progmodes/idlw-complete-structtag.el
5060 (idlwave-complete-structure-tag-help):
5061 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
5062 (idlwave-complete-sysvar-tag-help)
5063 (idlwave-complete-class-structure-tag-help):
5064 Update for above name changes.
5066 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5068 * net/browse-url.el (browse-url-browser-function): Change the
5069 default to use `browse-url-mail' on mailto: URLs.
5071 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
5073 * emacs-lisp/package.el (package-read-all-archive-contents):
5074 Reset package-archive-contents to nil before re-reading.
5076 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
5078 * textmodes/flyspell.el (flyspell-word): Do not re-check words
5079 already found as misspellings by (flyspell-large-region), just
5080 do highlighting (bug#7322).
5082 2010-11-10 Glenn Morris <rgm@gnu.org>
5084 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
5086 * emulation/edt.el (edt-with-position): New macro.
5087 (edt-find-forward, edt-find-backward, edt-find-next-forward)
5088 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
5089 (edt-paragraph-forward, edt-paragraph-backward): Use it.
5091 * emulation/tpu-extras.el (tpu-with-position): New macro.
5092 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
5094 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
5096 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
5097 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
5098 (texinfo-master-menu, texinfo-insert-node-lines)
5099 (texinfo-multiple-files-update):
5100 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
5101 Use line-beginning-position.
5103 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
5104 No recent Emacs supports system-type `emx'.
5106 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
5107 (ada-command-separator, ada-default-prj-properties)
5108 (ada-find-any-references): Update for above name change.
5110 * dirtrack.el (dirtrack-directory-function)
5111 (dirtrack-canonicalize-function):
5112 * filecache.el (file-cache-completion-ignore-case)
5113 (file-cache-case-fold-search, file-cache-ignore-case):
5114 * term.el (serial-port-is-file-p): Cosmetic change.
5116 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
5117 Remove non-existent `windows-95' system-type.
5118 * dired.el (dired-chown-program): Remove non-existent `linux'
5121 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
5122 (ping-program-options): Remove non-existent `linux' system-type.
5124 * startup.el (package-initialize): Update declaration.
5126 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
5127 (ls-lisp-handle-switches): Use time-less-p.
5128 (ls-lisp-format-time): Use float-time.
5130 * textmodes/remember.el (remember-time-to-seconds): Remove.
5131 (remember-store-in-mailbox): Use float-time.
5133 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
5135 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
5136 never a real function.
5137 (with-no-warnings): Remove compat stub, now unused.
5138 (time-less-p): Doc fix.
5139 (time-to-number-of-days): Simplify.
5141 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
5143 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
5144 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
5145 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
5146 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
5147 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
5149 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
5150 (eshell-shuffle-files, eshell-shorthand-tar-command)
5151 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
5152 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
5153 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
5154 Prefix dynamic local variable `matches'.
5156 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
5157 Prefix dynamic local variable `skeleton'.
5159 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
5161 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
5162 in mail buffer; make yank-action always a command that yanks original
5165 2010-11-09 Glenn Morris <rgm@gnu.org>
5167 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
5169 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5171 * minibuffer.el (minibuffer-completion-help): Specify the end of the
5172 completion field (bug#7211).
5174 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
5175 Fix handling of backslash escapes.
5176 (python-quote-syntax): Adjust accordingly.
5178 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
5180 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
5181 (vc-mtn-workfile-branch): Adjust to new output format.
5183 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5185 * international/mule-cmds.el (princ-list): Mark as obsolete.
5187 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5189 * emacs-lisp/smie.el: New package.
5191 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
5193 * files.el (backup-by-copying-when-mismatch):
5194 Set `permanent-local' property.
5196 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
5197 `permanent-local' property for `backup-by-copying-when-mismatch'.
5199 2010-11-09 Eli Zaretskii <eliz@gnu.org>
5201 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
5203 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
5205 * progmodes/verilog-mode.el (verilog-insert-one-definition)
5206 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
5207 AUTOINOUT for SV style multidimensional arrays, bug294.
5208 Reported by Eric Mastromarchi.
5209 (verilog-preprocess): Use with-current-buffer and
5210 font-lock-fontify-buffer to cleanup style issues.
5212 2010-11-09 Glenn Morris <rgm@gnu.org>
5214 * locate.el (locate, locate-mode): Doc fixes.
5216 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
5218 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
5219 user for confirmation.
5220 (server-force-stop): Use it.
5221 (server-start): Use server-force-stop for kill-emacs-hook, to
5222 avoid user interaction while killing Emacs.
5224 2010-11-09 Glenn Morris <rgm@gnu.org>
5226 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
5227 (meta-indent-line): Simplify.
5229 * vc/emerge.el (emerge-line-number-in-buf):
5230 * textmodes/ispell.el (ispell-region):
5231 * textmodes/fill.el (current-fill-column):
5232 * progmodes/xscheme.el (xscheme-send-current-line):
5233 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
5234 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
5235 * progmodes/sh-script.el (sh-handle-prev-do):
5236 * progmodes/meta-mode.el (meta-indent-line):
5237 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
5239 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
5240 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
5241 * progmodes/fortran.el (fortran-looking-at-if-then):
5242 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
5243 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
5244 (cperl-find-pods-heres):
5245 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
5246 * net/quickurl.el (quickurl-list-insert):
5247 * net/ldap.el (ldap-search-internal):
5248 * net/eudc.el (eudc-expand-inline):
5249 * mail/sendmail.el (sendmail-send-it):
5250 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
5251 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
5252 (viper-brac-function):
5253 * calc/calc-yank.el (calc-do-grab-region):
5254 * calc/calc-keypd.el (calc-keypad-press):
5255 * term.el (term-move-columns, term-insert-spaces):
5256 * speedbar.el (speedbar-highlight-one-tag-line):
5257 * simple.el (current-word):
5258 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
5259 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
5261 * hippie-exp.el (he-line-beg):
5262 * epa.el (epa--marked-keys):
5263 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
5264 (dired-update-file-line, dired-add-entry, dired-remove-entry)
5265 (dired-relist-entry):
5266 * buff-menu.el (Buffer-menu-buffer):
5267 * array.el (current-line):
5268 * allout.el (allout-resolve-xref)
5269 (allout-latex-verbatim-quote-curr-line):
5270 Replace yet more uses of end-of-line etc with line-end-position, etc.
5272 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5274 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
5275 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
5276 (checkdoc-syntax-table): Initialize in the declaration.
5277 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
5278 the mode on unconditionally.
5280 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
5281 (extent-end-position, extent-start-position): Remove setf method for
5282 non-existing functions (bug#7319).
5284 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5286 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
5287 (smie-precs->prec2): Rename from smie-precs-precedence-table.
5288 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
5289 (smie-prec2->grammar): Rename from smie-prec2-levels.
5290 (smie-grammar): Rename from smie-op-levels.
5291 (smie-indent--hanging-p): Rename from smie-hanging-p.
5292 (smie-rule-hanging-p): New alias.
5293 (smie-indent--bolp): Rename from smie-bolp.
5294 (smie-indent--hanging-p): New alias.
5295 (smie--token): New dynamically bound variable.
5296 (smie-indent--parent): New function.
5297 (smie-rule-parent-p): Use it; rename from smie-parent-p.
5298 (smie-rule-next-p): Rename from smie-next-p.
5299 (smie-rule-prev-p): Rename from smie-prev-p.
5300 (smie-rule-sibling-p, smie-rule-parent)
5301 (smie-indent--separator-outdent, smie-rule-separator): New functions.
5302 (smie-rule-separator-outdent): New var.
5303 (smie-indent--rule): Merge with smie-indent--column.
5304 (smie-indent-forward-token, smie-indent-backward-token):
5305 Also recognize close parens.
5306 (smie-indent-keyword): Don't use smie-indent--column any more.
5307 (smie-indent-after-keyword): Ignore closers by default.
5308 (smie-indent-line): Use with-demoted-errors.
5309 * progmodes/octave-mod.el (octave-smie-grammar):
5310 Rename from octave-smie-op-levels.
5311 (octave-smie-rules): Adjust to new behavior.
5312 * progmodes/prolog.el (prolog-smie-grammar):
5313 Rename from prolog-smie-op-levels.
5315 2010-11-07 Glenn Morris <rgm@gnu.org>
5317 * eshell/esh-util.el (subst-char-in-string)
5318 (directory-files-and-attributes): These compatibility definitions are
5319 not needed on any version of Emacs since at least 21.4.
5321 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
5322 (verilog-get-end-of-line): Remove.
5323 (verilog-within-string, verilog-re-search-forward-substr)
5324 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
5325 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
5326 Use point-at-bol, point-at-eol.
5327 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
5329 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
5330 (electric-pascal-terminate-line, pascal-set-auto-comments)
5331 (pascal-indent-paramlist, pascal-indent-declaration)
5332 (pascal-get-lineup-indent, pascal-func-completion)
5333 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
5334 Use point-at-bol, point-at-eol.
5335 * progmodes/flymake.el (flymake-line-beginning-position)
5336 (flymake-line-end-position): Remove.
5337 (flymake-highlight-line): Use point-at-bol, point-at-eol.
5338 * eshell/esh-util.el (line-end-position, line-beginning-position):
5339 Remove compat definitions.
5341 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
5343 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
5344 Use line-end-position.
5346 * emacs-lisp/chart.el (chart-zap-chars):
5347 * play/decipher.el (decipher-set-map):
5348 * progmodes/ada-mode.el (ada-get-current-indent)
5349 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
5350 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
5351 * progmodes/ada-xref.el (ada-initialize-runtime-library)
5352 (ada-get-all-references):
5353 * progmodes/cperl-mode.el (cperl-electric-paren)
5354 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
5355 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
5356 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
5357 (cperl-word-at-point-hard):
5358 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
5359 (idlwave-shell-filename-string, idlwave-shell-batch-command)
5360 (idlwave-shell-display-line):
5361 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
5362 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
5363 * progmodes/js.el (js--re-search-forward-inner)
5364 (js--re-search-backward-inner):
5365 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
5366 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
5367 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
5368 * textmodes/flyspell.el (flyspell-process-localwords):
5369 * textmodes/ispell.el (ispell-buffer-local-parsing)
5370 (ispell-buffer-local-dict, ispell-buffer-local-words):
5371 Use point-at-bol and point-at-eol.
5373 * speedbar.el (speedbar-generic-item-info)
5374 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
5375 (speedbar-add-indicator, speedbar-check-vc-this-line)
5376 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
5377 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
5378 Replace more uses of end-of-line etc with line-end-position.
5380 2010-11-06 Glenn Morris <rgm@gnu.org>
5382 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
5383 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
5384 (texinfo-delete-existing-pointers, texinfo-find-pointer)
5385 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
5386 (texinfo-multiple-files-update):
5387 * textmodes/table.el (table--probe-cell-left-up)
5388 (table--probe-cell-right-bottom):
5389 * textmodes/picture.el (picture-tab-search):
5390 * textmodes/page-ext.el (pages-copy-header-and-position)
5391 (pages-directory-for-addresses):
5392 * progmodes/vera-mode.el (vera-get-offset):
5393 * progmodes/simula.el (simula-calculate-indent):
5394 * progmodes/python.el (python-pdbtrack-overlay-arrow):
5395 * progmodes/prolog.el (end-of-prolog-clause):
5396 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
5397 * progmodes/icon.el (indent-icon-exp):
5398 * progmodes/etags.el (tag-re-match-p):
5399 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
5400 * progmodes/ebnf2ps.el (ebnf-begin-file):
5401 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
5402 (dcl-save-local-variable):
5403 * play/life.el (life-setup):
5404 * play/gametree.el (gametree-looking-at-ply):
5405 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
5406 * mail/sendmail.el (mail-mode-auto-fill):
5407 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
5408 * emacs-lisp/edebug.el (edebug-overlay-arrow):
5409 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
5410 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
5411 (woman-tab-to-tab-stop, WoMan-warn-ignored):
5412 * type-break.el (type-break-file-keystroke-count):
5413 * term.el (term-replace-by-expanded-history-before-point)
5414 (term-skip-prompt, term-extract-string):
5415 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
5416 (speedbar-contract-line, speedbar-toggle-line-expansion)
5417 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
5418 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
5419 * sort.el (sort-skip-fields):
5420 * skeleton.el (skeleton-internal-list):
5421 * simple.el (line-move-finish, line-move-to-column):
5422 * shell.el (shell-forward-command):
5423 * misc.el (copy-from-above-command):
5424 * makesum.el (double-column):
5425 * ebuff-menu.el (electric-buffer-update-highlight):
5426 * dired.el (dired-move-to-end-of-filename):
5427 * dframe.el (dframe-popup-kludge):
5428 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
5429 * arc-mode.el (archive-get-lineno):
5430 Use line-end-position and line-beginning-position.
5432 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
5433 (idlwave-study-twins): Prefix dynamic local `class'.
5434 (idlwave-routine-twin-compare): Update for above name change.
5436 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
5437 Use boundp tests to silence compiler. Update for changed name of
5438 bytecomp-filename variable.
5440 * emulation/viper-cmd.el (viper-read-string-with-history):
5441 Prefix dynamic local `initial'.
5442 (viper-minibuffer-standard-hook): Update for above name change.
5444 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
5445 (elint-init-form): Update for above name change.
5447 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
5448 local variables `cbeg' and `cend' a prefix.
5449 (mail-extr-voodoo): Update for above name change.
5451 * textmodes/reftex-toc.el (reftex-toc-do-promote)
5452 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
5453 (reftex-toc-promote-action): Doc fix.
5455 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
5456 `prompt', `data' a prefix.
5457 (reftex-select-post-command-hook, reftex-select-callback)
5458 (reftex-select-mouse-accept, reftex-select-read-cite):
5459 Update for above name changes.
5461 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
5462 `refstyle' to reftex-refstyle.
5463 (reftex-offer-label-menu): Update for above name change.
5464 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
5465 `refstyle' name change.
5467 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
5468 with with-current-buffer.
5469 (diff, template): Give dynamic local variables a prefix.
5470 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
5471 (emerge-line-number-in-buf): Update for above name change.
5472 (emerge-combine-versions-internal): Rename local `template' to
5473 emerge-combine-template.
5474 (emerge-combine-versions-edit): Update for above name change.
5476 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
5478 * textmodes/reftex-cite.el
5479 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
5480 entries with whitespace after \bibitem.
5481 (reftex-create-bibtex-file): Match entries containing numbers and
5482 symbol constituents. Make sure that entries with whitespace at
5483 various places are found.
5485 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
5487 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
5489 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
5491 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
5493 2010-11-05 Glenn Morris <rgm@gnu.org>
5495 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
5496 (woman2-roff-buffer): Give local variable `request' a prefix.
5497 (woman0-macro): Rename argument `request' in the same way.
5498 (woman-request): New name for `request' dynamic variable.
5499 (woman-unquote, woman-forward-arg): Update for above name change.
5500 (woman1-roff-buffer): Give local variable `unquote' a prefix.
5501 (woman1-unquote): New name for `unquote' dynamic variable.
5502 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
5503 (woman-translations): Rename from `translations'. No longer global.
5504 (woman2-tr, woman-translate): Update for above name change.
5505 (woman-translate): Check for bound variable.
5506 (woman2-roff-buffer): Give local variable `translations' a prefix.
5508 * play/doctor.el: Give all local variables a prefix. Update callers.
5509 (doc$, doctor-put-meaning): Use backquote.
5511 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
5512 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
5514 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
5515 variables bytes, ptr, op a prefix.
5516 (disassemble-offset): Update for above change.
5518 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5520 * emacs-lisp/package.el (package-unpack): Remove no-op.
5521 (package--builtins, package--dir): Doc fix.
5522 (package-activate-1, package-activate, package-install)
5523 (package-compute-transaction): Fix error message.
5524 (package-delete): Use delete-directory. Omit system packages.
5525 (package-initialize): Set package-alist to nil first.
5526 (package-menu-mark-delete, package-menu-mark-install): Don't add
5527 symbols that are inconsistent with the package state.
5528 (package-menu-execute): Perform deletions and installations as
5529 single batch operations.
5531 2010-11-03 Glenn Morris <rgm@gnu.org>
5533 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
5534 (props): Remove unnecessary declaration.
5536 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
5537 set-process-query-on-exit-flag.
5539 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
5540 (reftex-toc-do-promote): Remove unused local `mpos'.
5541 (reftex-toc-restore-region): Make `mpos' local to this function.
5543 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
5545 * play/landmark.el (lm-losing-threshold): Correct spelling.
5546 (lm-human-plays): Use new name.
5548 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
5549 (gomoku-human-plays): Use new name.
5551 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
5552 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
5553 (gomoku-score-trans-table, gomoku-winning-threshold)
5554 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
5556 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5558 * emacs-lisp/package.el: Don't put built-in packages in
5559 package-alist, to avoid loading inefficiencies.
5560 (package-built-in-p): Make VERSION optional, and treat it as a
5561 minimum acceptable version.
5562 (package-activate): Search separately for built-in packages.
5563 Emit a warning if a dependency fails.
5564 (define-package): Handle most common case, where there is no
5565 obsolete package, first.
5566 (package-compute-transaction): Print required version in error.
5567 (package--initialized): New variable.
5568 (list-packages): Use it.
5569 (package-initialize): Optional arg NO-ACTIVATE. Don't put
5570 built-in packages in packages-alist; keep it separate.
5571 Set package--initialized.
5572 (describe-package): Avoid activating packages as a side-effect.
5573 Search separately for built-in packages.
5574 (describe-package-1): Handle the case where an elpa package is
5575 simultaneously built-in and available/installed.
5576 (package-installed-p, package--generate-package-list):
5577 Search separately for built-in packages.
5578 (package-load-descriptor): Doc fix.
5580 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5582 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5583 Handle __DATA__ and __END__.
5585 2010-11-02 Noah Friedman <friedman@splode.com>
5587 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
5588 nil, do not ask to recompile files that are not already compiled,
5589 and do not recompile them.
5591 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
5593 * emacs-lisp/package.el (package-initialize): Ensure that
5594 obsoleted built-in packages are not in package-activated-list
5596 (describe-package-1): Make the "installed" status override
5599 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5601 * subr.el (version-separator, version-regexp-alist): Remove '*'
5603 (version-list-<=, version<=, version=): Doc fix.
5605 2010-11-01 Kenichi Handa <handa@m17n.org>
5607 * faces.el (glyphless-char): Inherit underline for tty.
5609 2010-11-01 Kenichi Handa <handa@m17n.org>
5611 Implement various display methods for glyphless characters.
5613 * international/characters.el (char-acronym-table): New variable.
5614 (glyphless-char-control): New variable.
5615 (update-glyphless-char-display): New function.
5617 * faces.el (glyphless-char): New face.
5619 2010-11-01 Glenn Morris <rgm@gnu.org>
5621 * calendar/holidays.el (general-holidays, oriental-holidays)
5622 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
5623 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
5624 the definitions of their targets.
5626 * emacs-lisp/smie.el (smie): New custom group.
5627 (smie-blink-matching-inners, smie-indent-basic): Add :group.
5629 * faces.el (xw-defined-colors, x-setup-function-keys):
5630 * mouse-sel.el (x-select-text):
5631 * term/w32console.el (x-setup-function-keys): Update declarations.
5633 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
5635 * textmodes/ispell.el (comment-add): Declare.
5637 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
5640 * info.el (finder-keywords-hash, package-alist): Declare.
5642 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5644 * finder.el (finder-compile-keywords): Don't use intern-soft,
5645 since package names may not yet exist in the obarray.
5647 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5649 * vc/vc-arch.el (vc-arch-checkin):
5650 * vc/vc-cvs.el (vc-cvs-checkin):
5651 * vc/vc-mtn.el (vc-mtn-checkin):
5652 * vc/vc-rcs.el (vc-rcs-checkin):
5653 * vc/vc-sccs.el (vc-sccs-checkin):
5654 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
5655 since 2010-04-21 commit by Stefan Monnier.
5657 2010-11-01 Glenn Morris <rgm@gnu.org>
5659 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
5661 * startup.el (package-enable-at-startup, package-initialize):
5664 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
5667 2010-10-31 Julien Danjou <julien@danjou.info>
5669 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
5670 (byte-recompile-directory):
5671 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
5672 Use `byte-recompile-file'.
5674 2010-10-31 Glenn Morris <rgm@gnu.org>
5676 * cus-start.el: Handle standard values via a keyword.
5677 Only set version property if specified.
5678 (cursor-in-non-selected-windows, menu-bar-mode)
5679 (tool-bar-mode, show-trailing-whitespace):
5680 Do not specify standard values.
5681 (transient-mark-mode, temporary-file-directory): Use :standard.
5683 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
5685 * term/x-win.el (x-get-selection-value): New function that gets
5686 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
5688 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
5690 * net/tramp.el (tramp-handle-insert-file-contents): For root,
5691 preserve owner and group when editing files. (Bug#7289)
5693 2010-10-31 Glenn Morris <rgm@gnu.org>
5695 * speedbar.el (speedbar-mode):
5696 * play/fortune.el (fortune-in-buffer, fortune):
5697 * play/gomoku.el (gomoku-mode):
5698 * play/landmark.el (lm-mode):
5699 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
5700 Replace inappropriate uses of toggle-read-only. (Bug#7292)
5702 * select.el (x-selection): Mark it as an obsolete alias.
5704 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5706 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
5707 major-mode (bug#7284).
5709 2010-10-31 Glenn Morris <rgm@gnu.org>
5711 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
5712 rather than just an unused variable that inherits from the real one.
5714 2010-10-31 Alan Mackenzie <acm@muc.de>
5716 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
5717 This fixes bug #7185.
5719 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
5721 * startup.el (command-line): Search for package directories, and
5722 don't load package.el if none are found.
5724 * emacs-lisp/package.el (describe-package, list-packages):
5725 Call package-initialize if it has not been called yet.
5727 2010-10-30 Alan Mackenzie <acm@muc.de>
5729 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
5730 which fontifies the tail of an enum.
5731 (c-basic-matchers-after): Insert a call to the above new function.
5732 This fixes bug #7264.
5734 2010-10-30 Glenn Morris <rgm@gnu.org>
5736 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
5737 tool-bar-mode, transient-mark-mode. (Bug#7306)
5738 Include the :set property in the dumped Emacs.
5740 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5742 SMIE: change indent rules format, improve smie-setup.
5743 * emacs-lisp/smie.el (smie-precs-precedence-table)
5744 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
5745 Mark them pure so the tables gets built at compile time.
5746 (smie-bnf-precedence-table): Store the closer-alist in the table.
5747 (smie-prec2-levels): Preserve the closer-alist.
5748 (smie-blink-matching-open): Be more forgiving in case of indentation.
5749 (smie-hanging-p): Rename from smie-indent--hanging-p.
5750 (smie-bolp): Rename from smie-indent--bolp.
5751 (smie--parent, smie--after): New dynamic vars.
5752 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
5753 (smie-indent-rules): Remove.
5754 (smie-indent--offset-rule): Remove fun.
5755 (smie-rules-function): New var.
5756 (smie-indent--rule): New fun.
5757 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
5758 (smie-indent-exps): Use it.
5759 (smie-setup): Setup paren blinking; add keyword args for token
5760 functions; extract closer-alist from op-levels.
5761 (smie-indent-debug-log): Remove var.
5762 (smie-indent-debug): Remove fun.
5763 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
5764 (prolog-smie-rules): New fun to replace it.
5765 (prolog-mode-variables): Simplify.
5766 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
5767 it's setup automatically.
5768 (octave-smie-indent-rules): Remove.
5769 (octave-smie-rules): New fun to replace it.
5770 (octave-mode): Simplify.
5772 2010-10-29 Glenn Morris <rgm@gnu.org>
5774 * files.el (temporary-file-directory): Remove (already defined in C).
5775 * cus-start.el: Add temporary-file-directory.
5777 * abbrev.el (abbrev-mode):
5778 * composite.el (auto-composition-mode):
5779 * menu-bar.el (menu-bar-mode):
5780 * simple.el (transient-mark-mode):
5781 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5782 that they do not define the associated variables twice.
5783 * simple.el (transient-mark-mode): Remove defvar.
5784 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5785 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5786 Handle multiple groups, and also custom-delayed-init-variables.
5787 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5789 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5791 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5792 (pcase-if): Add one minor optimization.
5793 (pcase-split-equal): Rename from pcase-split-eq.
5794 (pcase-split-member): Rename from pcase-split-memq.
5795 (pcase-u1): Add strings to the member optimization.
5796 Add `guard' variant of predicates.
5797 (pcase-q1): Add string patterns.
5799 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5801 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5803 2010-10-28 Glenn Morris <rgm@gnu.org>
5805 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5806 Move menu-bar related settings to ../menu-bar.el.
5807 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5808 Move ns-specific settings here from term/ns-win.el.
5810 * simple.el (x-selection-owner-p): Remove unused declaration.
5812 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5814 * minibuffer.el (completion-cycling): New var (bug#7266).
5815 (minibuffer-complete, completion--do-completion):
5816 Use completion--flush-all-sorted-completions.
5817 (minibuffer-complete): Only cycle if completion-cycling is set.
5818 (completion--flush-all-sorted-completions): Unset completion-cycling.
5819 (minibuffer-force-complete): Set completion-cycling.
5820 (completion-all-sorted-completions): Move declaration before first use.
5822 2010-10-28 Leo <sdl.web@gmail.com>
5824 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5825 which changes the order of matches seen by users (bug#7231).
5827 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
5829 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5830 Don't confuse -omega as "-o mega".
5832 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
5834 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5835 (log-edit-author): New dynamic var.
5836 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5837 to return the author if different from committer.
5838 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5840 * play/landmark.el: Adjust commenting convention.
5841 (lm-nil-score): Rename from nil-score.
5842 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5843 (OOOOscore): Move into a let in lm-score-trans-table.
5844 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5846 * electric.el (electric-indent-chars): Autoload.
5847 * progmodes/octave-mod.el (octave-mode):
5848 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5849 (ruby-mode-abbrev-table): Merge initialization and declaration.
5851 2010-10-27 Glenn Morris <rgm@gnu.org>
5853 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5856 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5858 * term/ns-win.el: Restore require of cl when compiling.
5859 (menu-bar-final-items): Remove non-existent `windows' menu.
5860 (ns-handle-nxopen): Optionally handle the temp-case.
5861 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5862 (ns-insert-file, ns-find-file): Use `pop'.
5864 2010-10-26 Glenn Morris <rgm@gnu.org>
5866 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5868 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
5870 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5872 * term/common-win.el (x-setup-function-keys): Remove most of the
5873 keymappings. Comment on the remaining ones.
5875 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
5877 * server.el (server-port): New option. (Bug#854)
5878 (server-start): Use server-port.
5880 2010-10-26 Glenn Morris <rgm@gnu.org>
5882 * term/ns-win.el (ns-version-string): Remove unused declaration.
5883 (ns-invocation-args): Change to x-invocation-args.
5884 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5885 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5886 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5887 Use x-invocation-args instead of ns-invocation-args.
5888 (ns-initialize-window-system, handle-args-function-alist):
5889 Use x-handle-args instead of ns-handle-args.
5890 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5891 * startup.el (command-line-ns-option-alist): Replace
5892 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5893 ns-handle-iconic with the x- equivalents.
5895 * term/common-win.el (x-select-enable-clipboard):
5896 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5898 * term/ns-win.el: No need to require cl when compiling.
5899 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5900 (xw-defined-colors): Use the common-win definitions.
5901 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5902 (ns-handle-iconic): Make it an alias for x-handle-iconic.
5903 * term/common-win.el (x-select-text, x-alternatives-map)
5904 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5905 * loadup.el [ns]: Load common-win.
5907 2010-10-26 Daiki Ueno <ueno@unixuser.org>
5909 * epa-mail.el (epa-mail-encrypt): Handle local-part only
5910 recipients; expand mail aliases (Bug#7280).
5912 2010-10-25 Glenn Morris <rgm@gnu.org>
5914 * term/common-win.el (x-handle-switch): Simplify with pop.
5915 Optionally handle numeric switches.
5916 (x-handle-numeric-switch): Just call x-handle-switch.
5917 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5918 (x-handle-name-switch, x-handle-display, x-handle-args):
5921 * term/ns-win.el: Do not require easymenu.
5922 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5923 <spell>: Move adjustments to menu-bar.el.
5924 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5925 <separator-undo, spell>: Move ns-win's adjustments here.
5926 * loadup.el [ns]: Do not load easymenu.
5928 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5930 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5933 * startup.el (fancy-startup-tail): Instead of using inline images,
5934 refer to image files from etc/.
5936 * wid-edit.el (checkbox): Likewise.
5937 (widget-image-find): Center image specs.
5939 2010-10-24 Glenn Morris <rgm@gnu.org>
5941 * term/ns-win.el (x-select-text): Doc fix.
5942 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5943 (x-select-text): Move to term/common-win.
5944 * term/w32-win.el (xw-defined-colors): Move to common-win.
5945 * term/x-win.el (xw-defined-colors, x-alternatives-map)
5946 (x-setup-function-keys, x-select-text): Move to common-win.
5947 * term/common-win.el (x-select-text, x-alternatives-map)
5948 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5951 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
5953 * net/mairix.el (mairix-searches-mode-map):
5954 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5956 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
5958 * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5959 auto-built for efficiency of execution and updating.
5960 (verilog-extended-complete-re): Support 'pure' fucntion & task
5961 declarations (these have no bodies).
5962 (verilog-beg-of-statement): General cleanup to enable support of
5963 'pure' fucntion & task declarations (these have no bodies).
5964 These efforts together fix Verilog bug210 from veripool; which was also
5965 noticed by Steve Pearlmutter.
5966 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5967 (verilog-directive-nest-re, verilog-set-auto-endcomments):
5968 Support `elsif. Reported by Shankar Giri.
5969 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5970 attribute handling for lining up declarations and assignments.
5971 (verilog-beg-of-statement-1): Fix issue where continued declaration
5972 is indented differently if it is after a begin..end clock.
5973 (verilog-in-attribute-p, verilog-skip-backward-comments)
5974 (verilog-skip-forward-comment-p): Support proper treatment of
5975 attributes by indent code. Reported by Jeff Steele.
5976 (verilog-in-directive-p): Fix comment to correctly describe function.
5977 (verilog-backward-up-list, verilog-in-struct-region-p)
5978 (verilog-backward-token, verilog-in-struct-p)
5979 (verilog-in-coverage-p, verilog-do-indent)
5980 (verilog-pretty-declarations): Use verilog-backward-up-list as
5981 wrapper around backward-up-list inorder to properly skip comments.
5982 Reported by David Rogoff.
5983 (verilog-property-re, verilog-endcomment-reason-re)
5984 (verilog-beg-of-statement, verilog-set-auto-endcomments)
5985 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5986 of if). Reported by Max Bjurling and
5987 (verilog-calc-1): Fix for clocking block in modport
5988 declaration. Reported by Brian Hunter.
5990 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
5992 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5993 (verilog-gate-keywords, verilog-read-sub-decls)
5994 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
5995 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
5996 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
5997 (verilog-read-decls): Fix spaces in V2K module parameters causing
5998 mis-identification as interfaces, bug287.
5999 (verilog-read-decls): Fix not treating "parameter string" as a
6000 parameter in AUTOINSTPARAM.
6001 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
6002 treating `elsif similar to `endif inside AUTOSENSE.
6003 (verilog-do-indent): Implement correct automatic or static task or
6004 function end comment highlight. Reported by Steve Pearlmutter.
6005 (verilog-font-lock-keywords-2): Fix highlighting of single
6006 character pins, bug264. Reported by Michael Laajanen.
6007 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
6008 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
6009 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
6010 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
6011 (verilog-pretty-expr): Fix interactive arguments, bug272.
6012 Reported by Mark Johnson.
6013 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
6014 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
6015 bug269. Suggested by Gary Delp.
6016 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
6017 (verilog-preprocessor, verilog-set-compile-command):
6018 Create verilog-preprocess and verilog-preprocessor to show
6019 preprocessed output.
6020 (verilog-get-beg-of-line, verilog-get-end-of-line)
6021 (verilog-modi-file-or-buffer, verilog-modi-name)
6022 (verilog-modi-point, verilog-within-string): Move defmacro's
6023 before first use to avoid warning. Reported by Steve Pearlmutter.
6024 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
6025 (verilog-colorize-region, verilog-highlight-buffer)
6026 (verilog-highlight-includes, verilog-highlight-modules)
6027 (verilog-highlight-region, verilog-mode): Rename colorize to
6028 highlight to match other packages. Disable module highlighting,
6029 as received speed complaints, reenable for experimentation only
6030 using new verilog-highlight-modules.
6031 (verilog-read-decls): Fix regexp stack overflow in very large
6032 AUTO_TEMPLATEs, bug250.
6033 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
6034 (verilog-scan): Create verilog-save-buffer-state to standardize
6035 making insignificant changes that shouldn't call hooks.
6036 (verilog-save-no-change-functions, verilog-save-scan-cache)
6037 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
6038 Create verilog-save-no-change-functions to wrap verilog-scan
6039 preservation, and fix to work with nested preserved calls.
6040 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
6041 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
6042 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
6043 (verilog-submit-bug-report): Update variable list to be complete.
6044 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
6045 breaking on-the-fly font-locking.
6046 (verilog-colorize-buffer, verilog-colorize-include-files)
6047 (verilog-colorize-include-files-buffer, verilog-colorize-region)
6048 (verilog-load-file-at-mouse, verilog-load-file-at-point)
6049 (verilog-mode, verilog-read-inst-module-matcher): With point on a
6050 AUTOINST cell instance name, middle mouse button now finds-file on
6051 it. Suggested by Brad Dobbie.
6052 (verilog-alw-get-temps, verilog-auto-reset)
6053 (verilog-auto-sense-sigs, verilog-read-always-signals)
6054 (verilog-read-always-signals-recurse): Fix loop indexes being
6055 AUTORESET. AUTORESET now assumes any variables in the
6056 initialization section of a for() should be ignored.
6057 Reported by Dan Dever.
6058 (verilog-error-font-lock-keywords)
6059 (verilog-error-regexp-emacs-alist)
6060 (verilog-error-regexp-xemacs-alist): Fix error detection of
6061 Cadence HAL, reported by David Asher. Repair drift between the
6062 three similar error variables.
6063 (verilog-modi-lookup, verilog-modi-lookup-cache)
6064 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
6065 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
6066 Fix slow verilog-auto expansion on very large files.
6067 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
6068 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
6069 "{1*2{...". Broke in last revision.
6070 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
6071 submodule connections with replications "{#{a},#{b}}".
6073 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
6075 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
6076 Fix typo in docstring.
6078 2010-10-24 Kenichi Handa <handa@m17n.org>
6080 * face-remap.el (text-scale-adjust): Call read-event with a proper
6083 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6085 * emacs-lisp/unsafep.el: Don't mark functions that display
6086 messages as safe. Suggested by Johan Bockgård.
6088 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6090 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
6091 Turn comments into docstrings.
6093 * minibuffer.el (completion--replace): Move point where it belongs
6094 when there's a common suffix (bug#7215).
6096 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6098 Merge read-color and facemenu-read-color (Bug#7242).
6100 * faces.el (read-color): Use the completion code from
6101 facemenu-read-color. Require match in completion. Doc fix.
6103 * facemenu.el (facemenu-read-color): Alias for read-color.
6104 (facemenu-set-foreground, facemenu-set-background):
6107 * frame.el (set-background-color, set-foreground-color)
6108 (set-cursor-color, set-mouse-color, set-border-color):
6111 2010-10-24 Leo <sdl.web@gmail.com>
6113 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
6114 argument of delete-file and delete-directory (Bug#7011).
6116 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6118 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
6121 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
6123 * emacs-lisp/package.el (package--generate-package-list): Make the
6124 *Packages* buffer read-only.
6126 2010-10-24 Alan Mackenzie <acm@muc.de>
6128 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
6129 result of `c-beginning-of-decl-1' between invocations of a lambda
6130 function (Bug #7265).
6132 2010-10-24 Daiki Ueno <ueno@unixuser.org>
6134 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
6135 executable is not available on the system (Bug#7268).
6137 2010-10-24 Glenn Morris <rgm@gnu.org>
6139 * select.el (selection-coding-system, next-selection-coding-system):
6140 Sync doc with C versions.
6142 * w32-vars.el (x-select-enable-clipboard):
6143 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
6144 * term/common-win.el (x-select-enable-clipboard): Move here.
6146 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
6147 definition of C variable.
6149 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
6150 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
6151 Don't redefine things that are defined in C.
6152 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
6153 (show-trailing-whitespace, auto-hscroll-mode)
6154 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
6155 Set up the appropriate custom properties.
6157 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6160 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
6161 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
6162 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
6163 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
6165 2010-10-23 Glenn Morris <rgm@gnu.org>
6167 * textmodes/flyspell.el (flyspell-mode): If there was an error,
6170 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
6171 Sync docs with C version.
6173 * term/ns-win.el (xw-defined-colors):
6174 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
6176 * term/pc-win.el (x-select-enable-clipboard):
6177 * term/x-win.el (x-select-enable-clipboard):
6178 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
6180 * comint.el (comint-password-prompt-regexp): Make it less vague.
6183 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
6185 * help.el (finder-by-keyword): Remove unnecessary autoload.
6187 2010-10-22 Glenn Morris <rgm@gnu.org>
6189 * loadup.el: Unconditionally load float-sup.
6190 * paren.el (show-paren-delay):
6191 * emacs-lisp/float-sup.el:
6192 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
6193 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
6194 (lazy-lock-stealth-verbose): Assume float support.
6195 * ps-print.el: Assume float support on Emacs.
6196 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
6197 Remove non-float branch.
6199 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
6200 src/Makefile no longer being pre-processed.
6202 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6204 * emacs-lisp/find-func.el (find-library): Use test-completion.
6206 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6208 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
6210 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
6212 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
6213 space in stat format string.
6214 (tramp-send-command): Unset $PS1 when using here documents, in
6215 order not to get several prompts.
6216 (tramp-get-inline-coding): Return `nil' in case of errors.
6218 2010-10-21 Daiki Ueno <ueno@unixuser.org>
6220 * hexl.el (hexl-mode, hexl-mode-exit):
6221 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
6222 (hexl-revert-buffer-function): New function.
6223 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
6225 2010-10-19 Alan Mackenzie <acm@muc.de>
6227 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
6228 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
6229 that these keywords aren't wrongly matched as identifiers.
6231 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
6232 setting of c-new-BEG and c-new-END from c-before-change to
6233 c-after-change. (Bug#7181)
6235 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
6237 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
6240 * custom.el (custom-theme-set-variables): Likewise.
6241 (load-theme): Add custom-theme-set-faces and
6242 custom-theme-set-variables to safe-functions while loading.
6243 (custom-enabled-themes): Mark as risky.
6245 2010-10-18 Julien Danjou <julien@danjou.info>
6247 * bindings.el: Remove end dashes in default mode-line-format.
6249 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
6251 * bindings.el (global-map): Bind C-d to delete-char and deletechar
6252 to delete-forward-char.
6254 * simple.el (normal-erase-is-backspace-mode): Remap delete to
6255 deletechar, and hence delete-forward-char.
6257 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6259 * repeat.el (repeat): Use read-key (bug#6256).
6261 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
6263 * emacs-lisp/unsafep.el: Don't mark functions that display
6264 messages as safe. Suggested by Johan Bockgård.
6266 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6268 * minibuffer.el (completion--replace): Move point where it belongs
6269 when there's a common suffix (bug#7215).
6271 2010-10-19 Kenichi Handa <handa@m17n.org>
6273 * international/characters.el: Add category '|' (word breakable)
6274 to fullwidth characters.
6276 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
6278 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
6279 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
6280 order to make stat results a float. Patch by Andreas Schwab
6281 <schwab@linux-m68k.org>.
6283 2010-10-18 Julien Danjou <julien@danjou.info>
6285 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
6286 hidden by `make-pointer-invisible'.
6288 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6290 * files.el (locate-file-completion-table): Strip non-matching elements
6291 before checking length of list (bug#7238).
6293 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
6295 * custom.el (custom-theme-set-variables): Mark as a safe function.
6296 (load-theme): Check forms using unsafep.
6298 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
6300 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
6302 * textmodes/ispell.el (ispell-aspell-find-dictionary):
6303 Fix aspell data file searching (bug#7230).
6305 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6307 * cus-theme.el (custom-theme--migrate-settings): New var.
6308 (customize-create-theme): Allow editing the `user' theme.
6309 (custom-theme-add-variable, custom-theme-add-var-1)
6310 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
6311 to the front of each variable or face widget.
6312 (custom-theme-write): Save theme settings in the correct order.
6313 Optionally, remove saved settings from user customizations.
6314 (custom-theme-write-variables, custom-theme-write-faces):
6315 Save only the checked widgets.
6316 (customize-themes): Add a link for migrating custom settings.
6318 * custom.el (custom-declare-theme, provide-theme):
6319 Use custom-theme-name-valid-p.
6320 (custom-theme-name-valid-p): Remove checks that are now
6321 unnecessary since themes no longer obey load-path.
6323 * cus-edit.el (custom-variable-value-create): For the simple
6324 style, hide documentation string when hidden.
6326 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6328 * cus-edit.el (custom-variable, custom-face): Combine the
6329 :inhibit-magic and :display-style properties into a single
6330 :custom-style property.
6331 (custom-toggle-hide-variable, custom-toggle-hide-face):
6332 New functions. If hiding an edited value, save it to :shown-value.
6333 (custom-variable-value-create, custom-face-value-create): Use them.
6334 (custom-magic-reset): Allow magic property to be unset.
6336 * custom.el: Custom themes no longer use load-path.
6337 (custom-theme-load-path): New option. Change built-in theme
6339 (custom-enabled-themes): Add custom-theme-load-path dependency.
6340 (custom-theme--load-path): New function.
6341 (load-theme, custom-available-themes): Use it.
6343 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
6344 (customize-themes): Link to custom-theme-load-path variable.
6345 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
6346 :custom-style property.
6348 * themes/*.el: Moved to etc/.
6350 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
6352 * textmodes/reftex-cite.el
6353 (reftex-extract-bib-entries-from-thebibliography): Do not move
6354 point when searching for \bibitem entries. Match entries with
6355 spaces or tabs in front of arguments.
6357 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6359 * cus-theme.el (customize-create-theme): Delete overlays after
6360 erasing. If given a THEME arg, display only the faces of that arg
6361 instead of custom-theme--listed-faces.
6362 (custom-theme-variable-menu, custom-theme-variable-action)
6363 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
6364 (custom-theme-add-variable, custom-theme-add-face): Apply value
6365 from the theme settings, instead of the current value.
6366 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
6367 (custom-theme-visit-theme): Allow calling outside theme buffers.
6368 (custom-theme-merge-theme): Don't enable the theme when merging.
6369 (custom-theme-write-variables, custom-theme-write-faces): Use the
6370 :shown-value properties to save buffer values, not global ones.
6371 (customize-themes): Display a warning about user customizations.
6373 * cus-edit.el (custom-variable-value-create)
6374 (custom-face-value-create): Obey new special properties
6375 :shown-value and :inhibit-magic.
6377 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
6379 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6380 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
6383 2010-10-14 Kenichi Handa <handa@m17n.org>
6385 * mail/rmail.el (rmail-show-message-1): Catch an error of
6386 base64-decode-region and just show an error message (bug#7165).
6388 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
6389 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
6390 a font-spec (bug#7197).
6392 2010-10-14 Glenn Morris <rgm@gnu.org>
6394 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
6396 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
6398 * international/mule.el (define-coding-system):
6399 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
6400 * composite.el (compose-region): Fix typo in docstring.
6402 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
6404 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
6405 only after checking the theme-face property.
6407 * faces.el (face-spec-reset-face): Reset all attributes in one
6408 single call to set-face-attribute.
6409 (face-spec-match-p): Make it a defsubst.
6410 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
6411 (x-create-frame-with-faces, tty-create-frame-with-faces)
6412 (tty-set-up-initial-frame-faces): Don't recompute face specs in
6413 frame-set-background-mode, since they are recomputed immediately
6414 afterwards in face-set-after-frame-default.
6415 (face-set-after-frame-default): Minor optimization.
6416 (cursor): Provide non-trivial defface spec.
6418 * custom.el (custom-theme-recalc-face): Simplify.
6420 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
6422 * calc/calc-alg.el (math-var): Rename from `var'.
6423 (math-is-polynomial, math-is-poly-rec): Replace `var'
6426 * calc/calcalg2.el (math-var): Rename from `var'.
6427 (calcFunc-table, math-scan-for-limits): Replace `var'
6430 2010-10-13 Glenn Morris <rgm@gnu.org>
6432 * subr.el (last): Deal with dotted lists (reported in bug#7174).
6434 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
6436 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
6438 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6440 * net/tls.el (tls-program): Remove spurious %s from openssl.
6441 (tls-starttls-switches): Remove starttls hack.
6442 (open-tls-stream): Ditto.
6443 (tls-find-starttls-argument): Ditto.
6445 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
6447 * image.el (image-library-alist): Declare as obsolete alias.
6448 (image-type-available-p): Use `dynamic-library-alist'.
6450 * term/w32-win.el (dynamic-library-alist):
6451 Use instead of `image-library-alist'.
6453 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
6455 * subr.el (last): Make it faster. (Bug#7174)
6457 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
6459 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
6461 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6463 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
6464 (describe-theme-1): Extract doc from unloaded themes.
6466 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
6468 * themes/tango-theme.el:
6469 * themes/tango-dark-theme.el:
6470 * themes/wheatgrass-theme.el: New files.
6472 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6474 * cus-theme.el (describe-theme, customize-themes)
6475 (custom-theme-save): New commands.
6476 (custom-new-theme-mode-map): Bind C-x C-s.
6477 (custom-new-theme-mode): Use custom--initialize-widget-variables.
6478 (customize-create-theme): New optional arg THEME.
6479 (custom-theme-revert): Use it.
6480 (custom-theme-visit-theme): Remove dead code.
6481 (custom-theme-merge-theme): Use custom-available-themes.
6482 (custom-theme-write): Make interactive.
6483 (custom-theme-write): Use custom-theme-name-valid-p.
6484 (describe-theme-1, custom-theme-choose-revert)
6485 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
6487 (custom-theme-allow-multiple-selections): New option.
6488 (custom-theme-choose-mode): New major mode.
6490 * custom.el (custom-theme-set-variables): Remove dead code.
6491 Obey custom--inhibit-theme-enable.
6492 (custom--inhibit-theme-enable): New var.
6493 (provide-theme): Obey it.
6494 (load-theme): Replace load with manual read/eval, in order to
6495 check for correctness. Use custom-theme-name-valid-p.
6496 (custom-theme-name-valid-p): New function.
6497 (custom-available-themes): Use it.
6499 * cus-edit.el (custom--initialize-widget-variables): New function.
6500 (Custom-mode): Use it.
6502 * cus-face.el (custom-theme-set-faces): Remove dead code.
6503 Obey custom--inhibit-theme-enable.
6505 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
6507 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
6509 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
6511 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
6513 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
6514 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
6515 (mac-right-option-modifier): New alias for ns-right-option-modifier.
6517 * cus-start.el (all): ns-right-alternate-modifier is new.
6519 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6521 * emacs-lisp/lisp.el (lisp-completion-at-point):
6522 Use emacs-lisp-mode-syntax-table for the whole function.
6524 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
6526 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
6527 instead of font-lock-mode before adding keywords.
6528 Remove hi-lock-mode off code. Remove inhibit hack.
6529 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
6530 non-nil; removed hook inhibit hack.
6532 2010-10-12 Glenn Morris <rgm@gnu.org>
6534 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
6535 (load-path-shadows-find): ... to this.
6536 (list-load-path-shadows): Update for above change.
6538 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
6540 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
6542 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
6543 Fix comment for declare-function.
6545 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
6547 * custom.el (custom-fix-face-spec): New function; code moved from
6548 custom-face-edit-fix-value.
6549 (custom-push-theme): Use it when checking if a face has been
6550 changed outside customize.
6551 (custom-available-themes): New function.
6552 (load-theme): Use it.
6554 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
6556 * custom.el (custom-push-theme): Cleanup (use cond).
6557 (disable-theme): Recompute the saved-face property.
6558 (custom-theme-recalc-face): Follow face alias before setting prop.
6560 * image.el (image-checkbox-checked, image-checkbox-unchecked):
6561 New variables, containing checkbox images.
6563 * startup.el (fancy-startup-tail):
6564 * wid-edit.el (checkbox): Use them.
6566 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
6568 * shell.el (shell-mode-map):
6569 * progmodes/modula2.el (m2-mode-map):
6570 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
6571 * play/mpuz.el (mpuz-mode-map):
6572 * play/landmark.el (lm-mode-map):
6573 * play/decipher.el (decipher-mode-map):
6574 * play/5x5.el (5x5-mode-map):
6575 * net/telnet.el (telnet-mode-map):
6576 * net/quickurl.el (quickurl-list-mode-map):
6577 * net/mairix.el (mairix-searches-mode-map):
6578 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
6579 * net/dig.el (dig-mode-map):
6580 * mail/mspools.el (mspools-mode-map):
6581 * hexl.el (hexl-mode-map):
6582 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
6583 (wordstar-C-o-map, wordstar-C-q-map):
6584 * emacs-lisp/edebug.el (edebug-eval-mode-map):
6585 * emacs-lisp/chart.el (chart-map):
6586 * edmacro.el (edmacro-mode-map):
6587 * erc/erc-list.el (erc-list-menu-mode-map):
6588 * array.el (array-mode-map): Declare and define in one step.
6590 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
6592 2010-10-10 Daiki Ueno <ueno@unixuser.org>
6594 * epa.el (epa-passphrase-callback-function): Display filename
6595 passed as the 3rd arg.
6596 * epa-file.el (epa-file-passphrase-callback-function):
6597 Pass filename to epa-passphrase-callback-function.
6599 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
6601 * cus-edit.el (custom-face-widget-to-spec)
6602 (custom-face-get-current-spec, custom-face-state): New functions.
6603 (custom-face-set, custom-face-mark-to-save)
6604 (custom-face-value-create, custom-face-state-set): Use them.
6606 * cus-theme.el (custom-theme--listed-faces): New var.
6607 (customize-create-theme): Use *Custom Theme* as the buffer name.
6608 Set revert-buffer-function. Optional arg BUFFER. Insert all
6609 faces listed in custom-theme--listed-faces.
6610 (custom-theme-revert): New function.
6611 (custom-theme-add-variable, custom-theme-add-face): Insert at the
6613 (custom-theme-write): Prompt for theme name if empty.
6614 (custom-theme-write-variables): Use dolist.
6615 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
6617 2010-10-09 Alan Mackenzie <acm@muc.de>
6619 Enhance fontification of declarators to take account of the
6620 presence/absence of "typedef".
6622 * cc-engine.el (c-forward-type): New &optional param
6624 (c-forward-decl-or-cast-1): cdr of return value now indicates the
6625 presence of either or both of a "struct"-like keyword and "typedef".
6627 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
6628 fontification of declarators which follow a "}".
6629 (c-font-lock-declarations): Fontify declarators according to the
6630 presence/absence of "typedef".
6632 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
6634 (c-typedef-decl-key): New lang variable built from
6635 c-typedef-decl-kwds.
6637 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
6639 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
6640 since that's too annoying. Move the filter groups commands to
6643 * epa.el (epa-passphrase-callback-function): Say what we're
6644 querying the password for.
6646 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
6647 behaviour, don't bury the ibuffer buffer when visiting other buffers.
6649 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6651 * cus-edit.el (custom-commands, custom-buffer-create-internal)
6652 (custom-magic-value-create): Pad button tags with spaces.
6653 (custom-face-edit): New variable.
6654 (custom-face-value-create): Determine whether to use the usual
6655 face editor here, instead of using custom-face-selected.
6656 Pass face defaults to custom-face-edit widget.
6657 (custom-face-selected, custom-display-unselected): Delete widgets.
6658 (custom-display-unselected-match): Function removed.
6659 (custom-face-set, custom-face-mark-to-save):
6660 Accept custom-face-edit widgets as the direct widget child.
6662 * wid-edit.el (widget--completing-widget): New var.
6663 (widget-default-complete): Bind it when doing completion.
6664 (widget-string-complete, widget-file-complete): Use it.
6666 2010-10-09 Glenn Morris <rgm@gnu.org>
6668 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
6669 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
6670 (holiday-hebrew-misc): Small simplifications.
6672 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
6674 * net/browse-url.el: Don't require thingatpt, term, dired,
6675 executable, or w3-auto when compiling.
6676 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
6678 (browse-url-text-emacs): Require term.
6680 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
6682 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
6684 2010-10-08 Glenn Morris <rgm@gnu.org>
6686 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
6688 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
6689 (shadows-compare-text-p): Make it an obsolete alias for...
6690 (load-path-shadows-compare-text): ... new name.
6691 (find-emacs-lisp-shadows): Update for above name change.
6692 (load-path-shadows-same-file-or-nonexistent): New name for the old
6693 shadow-same-file-or-nonexistent.
6695 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6697 * minibuffer.el (completion--some, completion--do-completion)
6698 (minibuffer-complete-and-exit, minibuffer-completion-help)
6699 (completion-basic-try-completion)
6700 (completion-basic-all-completions)
6701 (completion-pcm--find-all-completions): Use lexical-let to
6702 avoid some false matches in variable completion (Bug#7056)
6704 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
6706 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
6708 2010-10-08 Leo <sdl.web@gmail.com>
6710 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
6711 return non-nil if the file exists (Bug#7090).
6713 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6715 * minibuffer.el (completion--replace):
6716 Better preserve markers (bug#7138).
6718 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
6720 * server.el (server-process-filter): Doc fix.
6722 2010-10-08 Drew Adams <drew.adams@oracle.com>
6724 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
6726 2010-10-08 Glenn Morris <rgm@gnu.org>
6728 * vc/ediff-wind.el (ediff-setup-control-frame):
6729 * vc/ediff-ptch.el (ediff-default-backup-extension):
6730 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
6731 (ediff-exec-process): Remove system-types emx, windows-95.
6733 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
6735 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
6737 * cus-edit.el (custom-variable, custom-face): Doc fix.
6738 (custom-face-edit): Add value-create attribute.
6739 (custom-face-edit-value-create)
6740 (custom-face-edit-value-visibility-action): New functions.
6741 Hide unused face attributes by default, and add a visibility toggle.
6742 (custom-face-edit-deactivate): Show empty values with shadow face.
6743 (custom-face-selected): Only use this for face specs with default
6745 (custom-face-value-create): Cleanup.
6747 * wid-edit.el (widget-checklist-value-create): Use dolist.
6748 (widget-checklist-match-find): Make second arg optional.
6750 2010-10-07 Glenn Morris <rgm@gnu.org>
6752 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
6755 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
6756 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
6757 load-path-shadows-mode, update references.
6758 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
6759 Rename variable and button.
6760 (list-load-path-shadows): Update button caller.
6762 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6764 * emacs-lisp/smie.el (smie-bnf-classify): New function.
6765 (smie-bnf-precedence-table): Use it to remember the closers/openers.
6766 (smie-merge-prec2s): Handle those new entries.
6767 (smie-prec2-levels): Only set precedence to nil for actual
6769 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
6770 that is now unnecessary.
6772 2010-10-07 Miles Bader <miles@gnu.org>
6774 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
6776 2010-10-07 Glenn Morris <rgm@gnu.org>
6778 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6779 (mail-position-on-field): Remove declarations.
6780 (mail-position-on-field): Autoload it.
6781 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6782 and mail-header-end. Don't require sendmail.
6784 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6785 (shadow-mode): New mode.
6786 (shadow-find-file): New button.
6787 (list-load-path-shadows): Use shadow-mode and buttons.
6789 * iimage.el (iimage-version): Remove.
6790 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6791 Turn into defcustoms.
6792 (iimage-mode-map): Give it a doc string.
6794 * calendar/appt.el (appt-activate): Give a warning rather than an error
6795 if there is no diary-file.
6797 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
6799 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6800 Use `tramp-handle-find-backup-file-name'.
6802 2010-10-06 Glenn Morris <rgm@gnu.org>
6804 * font-core.el (font-lock-defaults-alist): Remove variable.
6805 (font-lock-mode): Doc fix.
6806 (font-lock-default-function): Do not consult font-lock-defaults-alist.
6807 * font-lock.el (font-lock-refresh-defaults): Doc fix.
6808 (font-lock-set-defaults): Doc fix.
6809 Do not consult font-lock-defaults-alist.
6811 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6813 * emacs-lisp/cl.el: No longer provide cl-19.
6815 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
6817 * net/tramp.el (tramp-handle-directory-files-and-attributes)
6818 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6819 New defuns, taken from tramp-smb.el.
6820 (tramp-coding-system-change-eol-conversion)
6821 (tramp-set-process-query-on-exit-flag): Remove.
6823 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6824 (tramp-compat-coding-system-change-eol-conversion)
6825 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6828 * net/tramp-gvfs.el:
6829 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6830 by `tramp-compat-set-process-query-on-exit-flag'.
6832 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6833 Use `tramp-handle-directory-files-and-attributes',
6834 `tramp-handle-file-exists-p' and
6835 `tramp-handle-file-newer-than-file-p'.
6836 (tramp-imap-handle-file-exists-p)
6837 (tramp-imap-handle-file-executable-p)
6838 (tramp-imap-handle-file-readable-p)
6839 (tramp-imap-handle-directory-files-and-attributes)
6840 (tramp-imap-handle-file-newer-than-file-p): Remove.
6842 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6843 by `tramp-compat-set-process-query-on-exit-flag' and
6844 `tramp-coding-system-change-eol-conversion' by
6845 `tramp-compat-coding-system-change-eol-conversion'.
6847 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6848 Use `tramp-handle-directory-files-and-attributes',
6849 `tramp-handle-file-exists-p' and
6850 `tramp-handle-file-newer-than-file-p'.
6851 (tramp-smb-handle-directory-files-and-attributes)
6852 (tramp-smb-handle-file-exists-p)
6853 (tramp-smb-handle-file-newer-than-file-p): Remove.
6854 (tramp-smb-maybe-open-connection):
6855 Replace `tramp-set-process-query-on-exit-flag' by
6856 `tramp-compat-set-process-query-on-exit-flag'.
6858 2010-10-05 Glenn Morris <rgm@gnu.org>
6860 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6862 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
6864 Continue reorganization of load dependencies. (Bug#7156)
6866 * net/tramp.el (tramp-handle-file-local-copy-hook)
6867 (tramp-delete-temp-file-function): Move down.
6868 (tramp-exists-file-name-handler): Move up.
6869 (tramp-register-file-name-handlers): Simplify autoload.
6870 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6871 (tramp-handle-directory-files, tramp-handle-dired-uncache)
6872 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6873 (tramp-handle-file-name-completion)
6874 (tramp-handle-file-name-directory)
6875 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6876 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6877 (tramp-handle-find-backup-file-name)
6878 (tramp-handle-insert-file-contents, tramp-handle-load)
6879 (tramp-handle-substitute-in-file-name)
6880 (tramp-handle-unhandled-file-name-directory)
6881 (tramp-mode-string-to-int, tramp-local-host-p)
6882 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6884 * net/tramp-gvfs.el (top):
6885 * net/tramp-smb.el (top): Do not require 'tramp-sh.
6887 * net/tramp-sh.el (all): Move several objects to tramp.el, see
6888 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6890 2010-10-04 Glenn Morris <rgm@gnu.org>
6892 * calendar/appt.el (appt-add): Ensure reminders are enabled.
6893 (appt-activate): Give status messages.
6895 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6897 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
6898 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6899 `gnutls-negotiate' (formerly `starttls-negotiate').
6900 Remove trivial wrapper `starttls-open-stream'.
6902 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
6904 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6905 log-outgoing commands.
6906 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6907 to create a buffer local revert-buffer-function variable.
6908 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6909 revert-buffer-function lambda.
6911 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6913 * net/gnutls.el (starttls-negotiate): Use the plist interface to
6914 `gnutls-boot'. Make TYPE the only required parameter.
6915 Allow TRUSTFILES and KEYFILES to be lists.
6916 (open-ssl-stream): Use it.
6918 2010-10-03 Glenn Morris <rgm@gnu.org>
6920 * subr.el (directory-sep-char): Remove obsolete variable.
6921 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6924 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6925 * vc/vc.el (vc-static-header-alist): Doc fix.
6926 * vc/vc-cvs.el (vc-cvs-header):
6927 * vc/vc-rcs.el (vc-rcs-header):
6928 * vc/vc-sccs.el (vc-sccs-header):
6929 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6930 * obsolete/vc-mcvs.el (vc-mcvs-header):
6931 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6934 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6936 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6937 Remove obsolete use of binary-overwrite-mode (Bug#7001).
6939 2010-10-03 Glenn Morris <rgm@gnu.org>
6941 * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6943 * textmodes/rst.el (rst-font-lock-keywords-function):
6946 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6948 * printing.el: Drop Emacs 20 code.
6950 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6951 without having used appt.el already).
6953 * subr.el (make-local-hook): Remove function obsolete since 21.1.
6954 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6955 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6957 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6958 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6960 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6961 (charset-width, find-charset-region, chars-in-region, forward-point)
6962 (encode-coding-string, coding-system-p, ccl-execute-on-string)
6963 (define-ccl-program, multibyte-string-p, string-make-multibyte):
6964 Remove compatibility cruft (none of these are used by ps*.el).
6966 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6968 * subr.el (booleanp): Return t instead of a list (Bug#7086).
6970 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6972 * server.el (server-process-filter, server-return-error):
6973 Give emacsclient time to shut down after receiving an error string.
6975 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
6977 * files.el (remote-file-name-inhibit-cache): New defcustom.
6979 * time.el (display-time-file-nonempty-p):
6980 Use `remote-file-name-inhibit-cache'.
6982 * net/tramp.el (tramp-completion-reread-directory-timeout):
6985 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6986 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
6987 `remote-file-name-inhibit-cache'. Check also for an integer
6988 value. Add/increase counter when `tramp-verbose' >= 10.
6989 (tramp-set-file-property): Add/increase counter when
6990 `tramp-verbose' >= 10.
6992 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6993 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
6994 (tramp-bug): Set tramp-autoload cookie. Report all interned
6995 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
6996 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
6997 characters only in strings.
6999 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
7000 to backward compatibility.
7002 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
7003 (tramp-handle-file-name-all-completions)
7004 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
7005 (tramp-open-connection-setup-interactive-shell):
7006 Call `tramp-cleanup-connection' directly.
7008 2010-10-02 Glenn Morris <rgm@gnu.org>
7010 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
7012 * subr.el (char-bytes): Remove obsolete function.
7014 * isearch.el (isearch-return-char): Remove obsolete function.
7016 * mouse.el: No longer provide mldrag.
7017 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
7018 Remove obsolete aliases.
7020 * comint.el (comint-kill-output): Remove obsolete alias.
7022 * composite.el (decompose-composite-char): Remove obsolete function.
7023 * ps-def.el (decompose-composite-char): Remove unused function.
7025 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
7027 * outline.el (outline-visible): Remove obsolete function.
7029 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
7030 * faces.el (internal-find-face, internal-get-face)
7031 (frame-update-faces, frame-update-face-colors)
7032 (x-frob-font-weight, x-frob-font-slant)
7033 (internal-frob-font-weight, internal-frob-font-slant)
7034 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
7035 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
7036 (x-make-font-bold-italic): Remove functions and aliases, obsolete
7038 * emulation/viper-util.el (viper-get-face):
7039 * obsolete/lucid.el (find-face, get-face): Use facep.
7040 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
7041 Remove unused functions.
7042 * vc/ediff-util.el (ediff-submit-report): Doc fix.
7044 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
7045 delete tempfile if interrupted during compilation.
7047 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7049 * net/tls.el (tls-starttls-switches): Give up on using starttls with
7051 (tls-program): Add --insecure to be consistent with the defaults from
7052 openssl s_client. Now all three commands are insecure.
7054 2010-10-01 Eli Zaretskii <eliz@gnu.org>
7056 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
7057 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
7058 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
7060 2010-10-01 Glenn Morris <rgm@gnu.org>
7062 * obsolete/sc.el: Remove file.
7064 * files.el (temporary-file-directory): On darwin, also try
7065 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
7067 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
7069 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
7070 Let's not break compatibility gratuitously, shall we?
7072 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7074 * net/tls.el (tls-starttls-switches): New variable.
7075 (tls-find-starttls-argument): Use it.
7076 (open-tls-stream): Ditto.
7078 * net/netrc.el (netrc-credentials): Return the value of the "default"
7080 (netrc-machine): Ditto.
7082 2010-09-30 Eli Zaretskii <eliz@gnu.org>
7084 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
7086 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
7088 * server.el (server-start): Don't write pid to the authentication file.
7089 (server-create-tty-frame): Don't send pid.
7090 (server-process-filter): Send pid at the start of every connection.
7092 2010-09-30 Glenn Morris <rgm@gnu.org>
7094 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
7095 (show-all-diary-entries): Remove obsolete function aliases.
7097 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
7098 Remove options, obsolete since 22.1.
7099 (appt-display-format, appt-display-message):
7100 Remove backwards-compatibility code.
7101 (appt-check): No longer check appt-issue-message.
7102 (appt-make-list): No longer autoload it. Doc fix. No longer
7103 activate the package.
7105 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7107 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
7108 (starttls-negotiate): Just call boot, and let the handshake be
7109 triggered from the read loop.
7111 2010-09-29 Glenn Morris <rgm@gnu.org>
7113 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
7114 not displaying the diary.
7115 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
7116 * calendar/appt.el (appt-check): No longer need to kill diary.
7118 * calendar/diary-lib.el (diary-list-entries): Move the
7119 "Preparing..." message entirely here.
7120 (diary-simple-display, diary-fancy-display): Move "Preparing..."
7121 messages to diary-list-entries.
7122 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
7123 diary-display-function.
7125 * calendar/diary-lib.el (diary-include-other-diary-files):
7126 Trap some recursive includes.
7128 * calendar/appt.el (appt-activate): Check diary file.
7130 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
7132 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
7135 * calendar/time-date.el: No need to require cl for Emacs 21.
7137 2010-09-28 Glenn Morris <rgm@gnu.org>
7139 * calendar/appt.el (appt-check): Minor simplification.
7141 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
7143 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
7146 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
7148 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7149 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
7151 2010-09-27 Kenichi Handa <handa@m17n.org>
7153 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
7156 2010-09-27 Kenichi Handa <handa@m17n.org>
7158 * international/mule.el (define-coding-system): Docstring fixed.
7160 * international/mule-diag.el (describe-character-set): Use princ
7161 with proper print-length and print-level instead of insert.
7163 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
7165 * window.el (walk-windows): Doc fix (bug#7105).
7167 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7169 * emacs-lisp/float-sup.el (e): Remove.
7171 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
7173 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
7175 (starttls-negotiate): Use it.
7177 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7179 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
7182 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
7184 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
7186 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7188 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
7190 * net/netrc.el (netrc-store-data): New function.
7192 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
7194 * net/gnutls.el: GnuTLS glue code to set up a connection.
7196 2010-09-25 Julien Danjou <julien@danjou.info>
7198 * notifications.el: Call dbus-register-signal only if it is bound.
7200 2010-09-25 Glenn Morris <rgm@gnu.org>
7202 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7203 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
7204 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
7205 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
7206 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
7207 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
7208 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
7209 * eshell/esh-util.el, eshell/esh-var.el:
7210 Remove leading `*' from docs of faces and defcustoms.
7212 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
7214 * eshell/em-ls.el (eshell-ls-archive-regexp):
7215 * eshell/esh-util.el (eshell-tar-regexp):
7216 * ibuffer.el (ibuffer-compressed-file-name-regexp):
7217 * info.el (Info-suffix-list):
7218 * international/mule.el (auto-coding-alist):
7219 * woman.el (woman-file-regexp, woman-file-compression-regexp):
7220 * progmodes/etags.el (tags-compression-info-list):
7221 Support xz compression.
7223 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
7225 * files.el (get-free-disk-space): Don't assume the "df" output
7226 columns line up (Bug#6995).
7228 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
7230 * finder.el (finder-unknown-keywords):
7231 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
7232 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
7234 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
7236 * server.el (server-start): Revert part of 2010-08-08 change. Using
7237 address 127.0.0.1 for local host is now done in Fmake_network_process.
7239 2010-09-24 Glenn Morris <rgm@gnu.org>
7241 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
7242 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
7243 * textmodes/css-mode.el, textmodes/dns-mode.el:
7244 Move autoloaded auto-mode-alist entries to files.el.
7245 * files.el (auto-mode-alist): Move entries here.
7247 2010-09-23 Glenn Morris <rgm@gnu.org>
7249 * isearch.el (isearch-lazy-highlight-cleanup)
7250 (isearch-lazy-highlight-initial-delay)
7251 (isearch-lazy-highlight-interval)
7252 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
7253 * net/net-utils.el (ipconfig-program-options):
7254 Move aliases to options before the associated definitions.
7256 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7258 * newcomment.el (comment-normalize-vars): Better test validity of
7261 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7263 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
7264 (float-e): New name for `e'.
7265 (degrees-to-radians, radians-to-degrees):
7266 * calendar/solar.el (solar-longitude):
7267 * calculator.el (calculator-registers, calculator-funcall):
7268 * textmodes/artist.el (artist-spray-random-points):
7269 * play/bubbles.el (bubbles--initialize-images): Use new names.
7271 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
7273 Update to CEDET 1.0's version of EIEIO.
7275 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
7277 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
7278 (eieio-default-eval-maybe): Eval val instead of unquoting only.
7279 (class-precedence-list): If class is nil, return nil.
7280 (eieio-generic-call): If class of first input arg is nil, don't
7281 look up static methods, and do check for primary methods.
7282 (initialize-instance): See if the default needs to be evaluated
7283 during the constructor.
7284 (eieio-perform-slot-validation-for-default): Don't do the check
7285 for values that will eventually be evaluated.
7286 (eieio-eval-default-p): New function.
7287 (eieio-default-eval-maybe): Use it.
7289 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
7291 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
7292 method-invocation-order.
7293 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
7294 (eieio-class-precedence-dfs): Compute class precedence list using
7296 (eieio-class-precedence-bfs): Compute class precedence list using
7298 (eieio-class-precedence-c3): Compute class precedence list using
7300 (class-precedence-list): New function.
7301 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
7302 (inconsistent-class-hierarchy): New error symbol.
7303 (call-next-method): Stow the replacement argument list for future
7304 call-next-method invocations.
7306 2010-09-23 Glenn Morris <rgm@gnu.org>
7308 * calendar/appt.el (appt-check): If not displaying the diary,
7309 use (diary 1) to only get the entries we need.
7310 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
7311 that it is in day order. (Bug#7019)
7313 * calendar/appt.el (appt-check): Rather than showing the diary,
7314 just turn off invisible display, and only if needed.
7316 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
7318 2010-09-23 Glenn Morris <rgm@gnu.org>
7320 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7321 (byte-compile-defvar, byte-compile-cl-warn):
7322 Start warnings with lower-case, like the majority.
7324 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
7326 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
7328 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
7329 * files.el (auto-mode-alist): Move ld-script entries here, further down
7332 * vc/add-log.el: Don't require timezone when compiling.
7333 (timezone-make-date-sortable): Autoload it.
7334 (change-log-sortable-date-at): Don't require timezone.
7335 Use `ignore-errors'.
7337 * comint.el (comint-use-prompt-regexp-instead-of-fields):
7338 Move alias before definition, so it does not need autoloading.
7340 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
7341 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
7342 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
7343 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
7344 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
7345 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
7346 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
7347 * textmodes/tex-mode.el, textmodes/two-column.el:
7348 Remove leading `*' from docs of defcustoms etc.
7350 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
7352 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
7354 2010-09-22 Dan Christensen <jdc@uwo.ca>
7356 * calendar/time-date.el (date-to-time): Try using parse-time-string
7357 first before using the slower timezone-make-date-arpa-standard.
7359 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
7361 * calendar/time-date.el (format-seconds): Comment fix.
7363 2010-09-22 Glenn Morris <rgm@gnu.org>
7365 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
7366 is not automatically buffer-local.
7368 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7370 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
7371 (smie-indent-comment): Be more careful with comment-start-skip.
7372 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
7373 (smie-indent-functions): Use them.
7375 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
7377 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
7379 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
7381 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
7382 tool-bar-position. Don't modify frame parameters here.
7383 (menu-bar-options-save): Add tool-bar-position.
7385 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
7387 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7389 * textmodes/reftex-parse.el (reftex-what-macro)
7390 (reftex-context-substring): Let-bind forward-sexp-function to nil
7391 since we don't need/want to treat \begin...\end as a block (bug#7053).
7393 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
7395 * simple.el (blink-matching-open): Use syntax-class.
7397 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
7398 Set invisibility spec for pascal's outline mode.
7399 (pascal-outline-change): Clean up calling convention.
7400 (pascal-show-all, pascal-hide-other-defuns): Update callers.
7402 * progmodes/prolog.el (prolog-smie-forward-token)
7403 (prolog-smie-backward-token): New functions.
7404 (prolog-mode-variables): Use them to parse "!," correctly.
7405 Set up smie-blink-matching for ".".
7407 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
7409 (ispell-region, ispell-process-line): Update users.
7411 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
7414 * textmodes/ispell.el: Fix commenting convention.
7415 (ispell-parse-output): Simplify, use push.
7416 (ispell-region): Use match-string-no-properties.
7417 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
7418 (ispell-minor-mode): Use define-minor-mode.
7419 (ispell-message): Remove unused var `skip-regexp'.
7420 (ispell-add-per-file-word-list): Use dynamic let-binding.
7421 Try and use the proper comment marker.
7423 * mail/sendmail.el: Fix commenting convention.
7424 (sendmail-send-it): Use line-beginning-position.
7426 * help-fns.el (describe-variable): Add original value, if applicable.
7428 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
7430 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
7432 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
7434 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7436 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
7437 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
7438 (smie-prec2-levels): Use them to better diagnose precedence cycles.
7439 (smie-blink-matching-check): Don't signal a mismatch if car is t.
7440 (smie-blink-matching-open): Rewrite to remove assumptions, so that
7441 something like "." can also be a closer.
7442 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
7443 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
7444 Rename internal functions to use "--". Update callers.
7446 * frame.el (make-frame-names-alist): Don't list frames on other displays.
7448 * fringe.el (fringe-styles): New var.
7449 (fringe-mode, fringe-query-style): Use it.
7451 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
7453 * progmodes/sql.el: Version 2.8
7454 (sql-login-params): Update widget structure; changes still needed.
7455 (sql-product-alist): Add :list-all and :list-table features for
7456 SQLite, Postgres and MySQL products.
7457 (sql-redirect): Handle default value.
7458 (sql-execute, sql-execute-feature): New functions.
7459 (sql-read-table-name): New function.
7460 (sql-list-all, sql-list-table): New functions. User API.
7461 (sql-mode-map, sql-interactive-mode-map): Add key definitions
7462 for above functions.
7463 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
7464 for above functions.
7465 (sql-postgres-login-params): Add user and database defaults.
7466 (sql-buffer-live-p): Bug fix.
7467 (sql-product-history): New variable.
7468 (sql-read-product): New function. Use it.
7469 (sql-set-product, sql-product-interactive): Use it.
7470 (sql-connection-history): New variable.
7471 (sql-read-connection): New function. Use it.
7472 (sql-connect): New function.
7473 (sql-for-each-login): Redesign function interface.
7474 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
7475 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
7476 (sql-comint): Check for program. Existing live buffer.
7477 (sql-comint-postgres): Add port parameter.
7479 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7481 * emacs-lisp/warnings.el: Fix commenting convention.
7482 (display-warning): Use special mode and make the buffer read-only.
7484 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
7486 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
7487 empty string when it follows a repeated or optional pattern.
7489 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7491 * indent.el (indent-according-to-mode): Apply syntax-propertize.
7492 (indent-region): Use indent-according-to-mode.
7494 2010-09-18 Eli Zaretskii <eliz@gnu.org>
7496 * fringe.el (fringe-mode): Doc fix.
7498 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
7500 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
7501 refreshing the preview buffer.
7503 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7505 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
7506 (latex-syntax-propertize-rules): New consts; replace
7507 tex-font-lock-syntactic-keywords.
7508 (tex-env-mark, latex-env-before-change): New functions.
7509 (latex-electric-env-pair-mode): New minor mode.
7510 (tex-font-lock-verb): Change arguments; do move point.
7511 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
7512 representation as a form of comment.
7513 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
7514 (doctex-syntax-propertize-rules): New const; replaces
7515 doctex-font-lock-syntactic-keywords.
7516 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
7518 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
7519 (fortran-make-syntax-propertize-function): New function; replaces
7520 fortran-font-lock-syntactic-keywords.
7521 (fortran-mode): Use it.
7522 (fortran-line-length): Use it. Improve interactive spec.
7524 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
7525 (syntax-propertize-rules): Add var-ref case. Fix offset computation
7526 when adding surrounding \(..\).
7528 * progmodes/js.el (js-mode): Fix last change (bug#7054).
7530 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7532 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
7533 Use with-current-buffer.
7535 * isearch.el (isearch-face): Rename from `isearch'.
7536 (isearch-highlight): Use new name.
7538 2010-09-17 Eli Zaretskii <eliz@gnu.org>
7540 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
7541 5, for `half' width fringes. (Bug#6933)
7543 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7545 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
7546 (byte-compile-defvar): "foo/bar" does not lack a prefix.
7548 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
7550 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
7552 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
7553 in calculating new frame position. Add more space between new and
7554 parent on the left (Bug#7048).
7556 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
7558 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
7561 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
7563 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
7565 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
7566 obsolete alias for x-selection-value.
7568 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
7570 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
7572 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
7575 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
7577 * net/tramp-compat.el (tramp-compat-with-temp-message)
7578 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
7579 (tramp-compat-process-put): New defuns.
7581 * net/tramp.el (top):
7582 * net/tramp-gvfs.el (top):
7583 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
7585 * net/tramp.el (tramp-progress-reporter-update):
7586 Use `tramp-compat-funcall'.
7588 * net/tramp.el (tramp-process-actions):
7589 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7590 * net/tramp-sh.el (tramp-handle-vc-registered)
7591 (tramp-get-remote-stat, tramp-get-remote-readlink):
7592 Use `tramp-compat-with-temp-message'.
7594 * net/tramp-sh.el (top): Require 'cl.
7595 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
7596 (tramp-open-connection-setup-interactive-shell):
7597 Use `tramp-compat-process-put'.
7599 2010-09-15 Alan Mackenzie <acm@muc.de>
7601 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
7603 (c-forward-<>-arglist-recur): Fix an infinite recursion.
7605 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
7607 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
7608 `lexical' for warnings related to lexical scoping.
7609 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
7610 global vars which don't have a prefix and could hence affect lexical
7611 scoping in unrelated files.
7613 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7615 * net/imap.el: Revert back to version
7616 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
7619 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
7621 * obsolete/old-whitespace.el (whitespace-unload-function):
7622 Explicitly pass `obarray' to `unintern' to avoid a warning.
7624 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7626 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
7627 Add `when' argument. Update callers.
7629 * subr.el (unintern): Declare the obarray arg mandatory.
7631 2010-09-14 Glenn Morris <rgm@gnu.org>
7633 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
7636 * calendar/diary-lib.el (diary-included-files): New variable.
7637 (diary-list-entries): Maybe initialize diary-included-files.
7638 (diary-include-other-diary-files): Append to diary-included-files.
7639 * calendar/appt.el (appt-update-list): Also check the members of
7640 diary-included-files. (Bug#6999)
7641 (appt-check): Doc fix.
7643 2010-09-14 David Reitter <david.reitter@gmail.com>
7645 * simple.el (line-move-visual): Do not truncate goal column to
7646 integer size. (Bug#7020)
7648 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7650 * repeat.el (repeat): Allow repeating when the last event is a click.
7651 Suggested by Drew Adams (bug#6256).
7653 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
7655 * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
7656 Replace setting HGRCPATH to "" by some less invasive --config options.
7658 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7660 * font-lock.el (font-lock-beginning-of-syntax-function):
7663 2010-09-14 Glenn Morris <rgm@gnu.org>
7665 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
7666 and tool-bar modes. (Bug#6211)
7667 (menu-bar-mode): Move setting of standard-value after the
7668 minor-mode definition, otherwise it seems to have no effect.
7670 2010-09-14 Masatake YAMATO <yamato@redhat.com>
7672 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
7673 Fix typo. (Bug#6976)
7675 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7677 * whitespace.el: Allow cleaning up blanks without blank
7678 visualization (Bug#6651). Adjust help window for
7679 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7680 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
7681 (whitespace-style): Add new value 'face. Adjust docstring.
7682 (whitespace-space, whitespace-hspace, whitespace-tab):
7683 Adjust foreground property face.
7684 (whitespace-line-column): Adjust docstring and type declaration.
7685 (whitespace-style-value-list, whitespace-toggle-option-alist)
7686 (whitespace-help-text): Adjust const initialization.
7687 (whitespace-toggle-options, global-whitespace-toggle-options):
7689 (whitespace-display-window, whitespace-interactive-char)
7690 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7691 (whitespace-help-scroll): New fun.
7693 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
7695 * calendar/time-date.el (format-seconds): Comment fix.
7697 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
7699 * progmodes/sql.el: Version 2.7.
7700 (sql-buffer-live-p): Improve detection.
7701 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7702 (sql-set-sqli-buffer): Use it.
7703 (sql-product-interactive): Run `sql-set-sqli-hook'.
7704 (sql-rename-buffer): Code cleanup.
7705 (sql-redirect, sql-redirect-value): New functions. More to come.
7707 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
7709 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.
7710 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7711 (TRAMP_SRC): New macro.
7712 ($(lisp)/net/tramp-loaddefs.el): New target.
7714 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
7716 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
7718 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
7720 * net/tramp.el (top): Don't show loading message. Require just
7721 'tramp-compat, everything else is required there.
7722 Use `ignore-errors' where appropriate.
7723 (tramp-inline-compress-start-size, tramp-copy-size-limit)
7724 (tramp-terminal-type, tramp-end-of-output)
7725 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
7726 (tramp-completion-function-alist-ssh)
7727 (tramp-completion-function-alist-telnet)
7728 (tramp-completion-function-alist-su)
7729 (tramp-completion-function-alist-putty, tramp-remote-path)
7730 (tramp-remote-process-environment, tramp-sh-extra-args)
7731 (tramp-actions-before-shell, tramp-uudecode)
7732 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
7733 (tramp-perl-file-attributes)
7734 (tramp-perl-directory-files-and-attributes)
7735 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
7736 (tramp-perl-encode, tramp-perl-decode)
7737 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
7738 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
7739 (tramp-handle-make-symbolic-link, tramp-handle-load)
7740 (tramp-handle-file-name-as-directory)
7741 (tramp-handle-file-name-directory)
7742 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
7743 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
7744 (tramp-do-file-attributes-with-ls)
7745 (tramp-do-file-attributes-with-perl)
7746 (tramp-do-file-attributes-with-stat)
7747 (tramp-handle-set-visited-file-modtime)
7748 (tramp-handle-verify-visited-file-modtime)
7749 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
7750 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
7751 (tramp-handle-file-selinux-context)
7752 (tramp-handle-set-file-selinux-context)
7753 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
7754 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
7755 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
7756 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
7757 (tramp-handle-file-ownership-preserved-p)
7758 (tramp-handle-directory-file-name, tramp-handle-directory-files)
7759 (tramp-handle-directory-files-and-attributes)
7760 (tramp-do-directory-files-and-attributes-with-perl)
7761 (tramp-do-directory-files-and-attributes-with-stat)
7762 (tramp-handle-file-name-all-completions)
7763 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
7764 (tramp-handle-copy-file, tramp-handle-copy-directory)
7765 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
7766 (tramp-do-copy-or-rename-file-via-buffer)
7767 (tramp-do-copy-or-rename-file-directly)
7768 (tramp-do-copy-or-rename-file-out-of-band)
7769 (tramp-handle-make-directory, tramp-handle-delete-directory)
7770 (tramp-handle-delete-file)
7771 (tramp-handle-dired-recursive-delete-directory)
7772 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
7773 (tramp-handle-insert-directory)
7774 (tramp-handle-unhandled-file-name-directory)
7775 (tramp-handle-expand-file-name)
7776 (tramp-handle-substitute-in-file-name)
7777 (tramp-handle-executable-find, tramp-process-sentinel)
7778 (tramp-handle-start-file-process, tramp-handle-process-file)
7779 (tramp-handle-call-process-region, tramp-handle-shell-command)
7780 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7781 (tramp-handle-insert-file-contents)
7782 (tramp-handle-insert-file-contents-literally)
7783 (tramp-handle-find-backup-file-name)
7784 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7785 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7786 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7787 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7788 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7789 (tramp-find-file-exists-command, tramp-open-shell)
7790 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7791 (tramp-open-connection-setup-interactive-shell)
7792 (tramp-local-coding-commands, tramp-remote-coding-commands)
7793 (tramp-find-inline-encoding, tramp-call-local-coding-command)
7794 (tramp-inline-compress-commands, tramp-find-inline-compress)
7795 (tramp-compute-multi-hops, tramp-maybe-open-connection)
7796 (tramp-send-command, tramp-wait-for-output)
7797 (tramp-send-command-and-check, tramp-barf-unless-okay)
7798 (tramp-send-command-and-read, tramp-mode-string-to-int)
7799 (tramp-convert-file-attributes, tramp-check-cached-permissions)
7800 (tramp-file-mode-from-int, tramp-file-mode-permissions)
7801 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7802 (tramp-method-out-of-band-p, tramp-local-host-p)
7803 (tramp-get-remote-path, tramp-get-remote-tmpdir)
7804 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7805 (tramp-get-test-command, tramp-get-test-nt-command)
7806 (tramp-get-file-exists-command, tramp-get-remote-ln)
7807 (tramp-get-remote-perl, tramp-get-remote-stat)
7808 (tramp-get-remote-readlink, tramp-get-remote-trash)
7809 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7810 (tramp-get-local-uid, tramp-get-local-gid)
7811 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7813 (tramp-methods, tramp-default-method-alist)
7814 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7815 Move initialization to tramp-sh.el.
7816 (tramp-temp-name-prefix): Make it a defconst.
7817 (tramp-dissect-file-name): Don't check anymore for multi-hop
7819 (tramp-debug-outline-regexp): Add a docstring.
7820 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7821 (tramp-get-debug-buffer): Use it.
7823 * net/tramp-cache.el (top): Set tramp-autoload cookie for
7824 initialization forms.
7825 (tramp-set-connection-property): Don't protect `tramp-message'
7826 call, it isn't necessary any longer.
7827 (tramp-dump-connection-properties): Use `ignore-errors'.
7829 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7830 'password-cache and 'auth-source.
7832 * net/tramp-gvfs.el (top):
7833 * net/tramp-smb.el (top): Require 'tramp-sh.
7835 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7837 * net/tramp-sh.el: New file, derived from tramp.el.
7838 (top): Initialize `tramp-methods', `tramp-default-method-alist',
7839 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7840 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7841 Use `ignore-errors' where appropriate.
7842 (tramp-sh-file-name-handler-alist): Rename from
7843 `tramp-file-name-handler-alist'.
7844 (tramp-send-command-and-check): Return t or nil. Remove all
7845 `zerop' checks, where called.
7846 (tramp-handle-set-file-modes)
7847 (tramp-do-copy-or-rename-file-directly)
7848 (tramp-handle-delete-directory, tramp-handle-delete-file)
7849 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7850 (tramp-sh-file-name-handler, tramp-send-command-and-check)
7851 (tramp-get-remote-ln): Set tramp-autoload cookie.
7853 * net/tramp-fish.el: Remove file.
7855 2010-09-13 Daiki Ueno <ueno@unixuser.org>
7857 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7858 buffer-file-name to avoid file-locking. (Bug#7026)
7860 2010-09-13 Julien Danjou <julien@danjou.info>
7862 * notifications.el (notifications-notify): Add support for
7863 image-path and sound-name.
7864 (notifications-specification-version): Add this variable.
7866 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7868 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7870 2010-09-12 Leo <sdl.web@gmail.com>
7872 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7873 (rcirc-completion-start): New variables.
7874 (rcirc-nick-completions): Rename to rcirc-completions.
7875 (rcirc-nick-completion-start-offset): Delete.
7876 (rcirc-completion-at-point): New function for constructing
7877 completion data for both nicks and irc commands. Add to
7878 completion-at-point-functions in rcirc mode.
7879 (rcirc-complete): Rename from rcirc-nick-complete; use
7880 rcirc-completion-at-point.
7881 (defun-rcirc-command): Update rcirc-client-commands.
7883 2010-09-11 Glenn Morris <rgm@gnu.org>
7885 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7886 atomically, to avoid parallel build errors. (Bug#4196)
7888 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
7890 * progmodes/sql.el: Version 2.6
7891 (sql-dialect): Synonym for "sql-product".
7892 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7893 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7894 Set "sql-buffer" to buffer name not buffer object so multiple sql
7895 interactive buffers work properly. Reverts misguided changes in
7897 (sql-comint): Make sure different buffer name is used if "*SQL*"
7898 buffer is for a different product.
7899 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7901 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7902 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7903 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7904 Accept new buffer name or prompt for one.
7905 (sql-port): Default to zero.
7906 (sql-comint-mysql): Handle "sql-port" as a numeric.
7907 (sql-port-history): Delete unused variable.
7908 (sql-get-login): Default "sql-port" to a number.
7909 (sql-product-alist): Correct Postgres prompt and terminator regexp.
7910 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7911 "sqlite3" executables.
7912 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7913 (sql-buffer-live-p): New function.
7914 (sql-mode-menu, sql-send-string): Use it.
7915 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7917 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7918 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7920 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7922 * net/netrc.el (netrc-credentials): New convenience function.
7924 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7926 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7927 to replace texinfo-font-lock-syntactic-keywords.
7928 (texinfo-mode): Use it.
7930 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7931 Use syntax-propertize-function.
7933 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7934 replace sgml-font-lock-syntactic-keywords.
7935 (sgml-mode): Use it.
7937 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7938 since we don't use it.
7940 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7942 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7944 (vhdl-fontify-buffer): Adjust.
7946 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7947 replace tcl-font-lock-syntactic-keywords.
7950 * progmodes/simula.el (simula-syntax-propertize-function): New var to
7951 replace simula-font-lock-syntactic-keywords.
7952 (simula-mode): Use it.
7954 * progmodes/sh-script.el (sh-st-symbol): Remove.
7955 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7956 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7957 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7958 (sh-font-lock-paren): Set syntax-multiline.
7959 (sh-font-lock-syntactic-keywords): Remove.
7960 (sh-syntax-propertize-function): New function to replace it.
7963 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7964 Define while compiling.
7965 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7966 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7967 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7968 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7969 (ruby-here-doc-end-syntax): Only define when
7970 syntax-propertize is not available.
7971 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7973 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7974 (electric-indent-chars): Silence bytecompiler.
7975 (ruby-mode): Use prog-mode, syntax-propertize-function, and
7976 electric-indent-chars.
7978 * progmodes/python.el (python-syntax-propertize-function): New var to
7979 replace python-font-lock-syntactic-keywords.
7980 (python-mode): Use it.
7981 (python-quote-syntax): Simplify and adjust to new use.
7983 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7984 replace perl-font-lock-syntactic-keywords.
7985 (perl-syntax-propertize-special-constructs): New fun to replace
7986 perl-font-lock-special-syntactic-constructs.
7987 (perl-font-lock-syntactic-face-function): New fun.
7988 (perl-mode): Use it.
7990 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7991 to replace octave-font-lock-close-quotes.
7992 (octave-syntax-propertize-function): New function to replace
7993 octave-font-lock-syntactic-keywords.
7994 (octave-mode): Use it.
7996 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
7997 replaces mixal-font-lock-syntactic-keywords.
7998 (mixal-mode): Use it.
8000 * progmodes/make-mode.el (makefile-syntax-propertize-function):
8001 New var; replaces makefile-font-lock-syntactic-keywords.
8002 (makefile-mode): Use it.
8003 (makefile-imake-mode): Adjust.
8005 * progmodes/js.el (js--regexp-literal): Define while compiling.
8006 (js-syntax-propertize-function): New var; replaces
8007 js-font-lock-syntactic-keywords.
8010 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
8011 replaces gdb-script-font-lock-syntactic-keywords.
8012 (gdb-script-mode): Use it.
8014 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
8015 (fortran--font-lock-syntactic-keywords): New var.
8016 (fortran-line-length): Update syntax-propertize-function and
8017 fortran--font-lock-syntactic-keywords.
8019 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
8021 * progmodes/cfengine.el (cfengine-mode):
8022 Use syntax-propertize-function.
8023 (cfengine-font-lock-syntactic-keywords): Remove.
8025 * progmodes/autoconf.el (autoconf-mode):
8026 Use syntax-propertize-function.
8027 (autoconf-font-lock-syntactic-keywords): Remove.
8029 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
8030 (ada-after-change-function, ada-initialize-syntax-table-properties)
8031 (ada-handle-syntax-table-properties): Only define when
8032 syntax-propertize is not available.
8033 (ada-mode): Use syntax-propertize-function.
8035 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
8036 (font-lock-fontify-syntactic-keywords-region): Move handling of
8037 font-lock-syntactically-fontified to...
8038 (font-lock-default-fontify-region): ...here.
8039 Let syntax-propertize-function take precedence.
8040 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
8042 * emacs-lisp/syntax.el (syntax-propertize-function)
8043 (syntax-propertize-chunk-size, syntax-propertize--done)
8044 (syntax-propertize-extend-region-functions): New vars.
8045 (syntax-propertize-wholelines, syntax-propertize-multiline)
8046 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
8047 (syntax-propertize): New functions.
8048 (syntax-propertize-rules): New macro.
8049 (syntax-ppss-flush-cache): Set syntax-propertize--done.
8050 (syntax-ppss): Call syntax-propertize.
8052 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
8054 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
8056 * textmodes/ispell.el (ispell-init-process): Improve comments.
8057 XEmacs compatibility changes regarding (add-hook) 'local option
8058 and (set-process-query-on-exit-flag).
8060 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
8062 * net/tramp-cache.el (tramp-parse-connection-properties):
8063 Set tramp-autoload cookie.
8065 2010-09-09 Glenn Morris <rgm@gnu.org>
8067 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
8068 (imagemagick-register-types): Doc fix.
8070 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
8072 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
8074 * progmodes/js.el (require): Require is already "eval-and-compile".
8075 (js--re-search-forward): Avoid `eval'. Preserve the error data.
8076 (js--re-search-backward): Use js--re-search-forward.
8078 * progmodes/fortran.el (fortran-line-length): Don't recompute
8079 syntactic keywords redundantly a second time.
8081 * progmodes/ada-mode.el: Replace "(set '" with setq.
8082 (ada-mode): Simplify.
8083 (ada-create-case-exception, ada-adjust-case-interactive)
8084 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
8085 (ada-search-ignore-string-comment, ada-move-to-start)
8086 (ada-move-to-end): Use with-syntax-table.
8088 * font-lock.el (save-buffer-state): Remove `varlist' arg.
8089 (font-lock-unfontify-region, font-lock-default-fontify-region):
8090 Update usage correspondingly.
8091 (font-lock-fontify-syntactic-keywords-region):
8092 Set parse-sexp-lookup-properties buffer-locally here.
8093 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
8095 * simple.el (blink-matching-open): Don't burp if we can't find a match.
8097 2010-09-08 Glenn Morris <rgm@gnu.org>
8099 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
8100 Error if not compiled with -DBYTE_CODE_METER.
8102 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8103 Ignore dir-locals-file.
8105 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
8107 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8109 (compilation-error-regexp-alist-alist): Rule out ": " in file names
8110 for the `gnu' messages.
8111 (compilation-set-skip-threshold): New command.
8112 (compilation-start): Use \' rather than $.
8113 (compilation-forget-errors): Use clrhash.
8115 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
8117 * textmodes/ispell.el (ispell-valid-dictionary-list):
8120 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
8122 Migrate to Tramp 2.2. Rearrange load dependencies.
8123 (Bug#1529, Bug#5448, Bug#5705)
8125 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
8126 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
8127 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
8129 * net/tramp.el (top): Remove all other tramp-* loads except
8130 tramp-compat.el. Remove all changes to tramp-unload-hook for
8131 other tramp-* packages. Rearrange defun order. Change calls of
8132 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
8133 `tramp-compat-octal-to-decimal' to new function names.
8134 (tramp-terminal-type, tramp-initial-end-of-output)
8135 (tramp-methods, tramp-foreign-file-name-handler-alist)
8136 (tramp-tramp-file-p, tramp-completion-mode-p)
8137 (tramp-send-command-and-check, tramp-get-remote-path)
8138 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
8139 (tramp-shell-quote-argument): Set tramp-autoload cookie.
8140 (with-file-property, with-connection-property): Move to
8142 (tramp-local-call-process, tramp-decimal-to-octal)
8143 (tramp-octal-to-decimal): Move to tramp-compat.el.
8144 (tramp-handle-shell-command): Do not require 'shell.
8145 (tramp-compute-multi-hops): No special handling for tramp-gw-*
8147 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
8149 * net/tramp-cache.el (top): Require 'tramp. Add to
8150 `tramp-unload-hook'.
8151 (tramp-cache-data, tramp-get-file-property)
8152 (tramp-set-file-property, tramp-flush-file-property)
8153 (tramp-flush-directory-property, tramp-get-connection-property)
8154 (tramp-set-connection-property, tramp-flush-connection-property)
8155 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
8157 (with-file-property, with-connection-property): New defuns, moved
8159 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
8162 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
8163 (tramp-version): Set tramp-autoload cookie.
8165 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
8166 changes to tramp-unload-hook for other tramp-* packages. Add to
8167 `tramp-unload-hook'.
8168 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
8169 (tramp-compat-call-process): New defuns, moved from tramp.el.
8171 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
8172 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8173 Add to `tramp-unload-hook'. Change call of
8174 `tramp-compat-decimal-to-octal' to new function name.
8175 (tramp-fish-method): Make it a defconst.
8176 (tramp-fish-file-name-p): Make it a defsubst.
8177 (tramp-fish-method, tramp-fish-file-name-handler)
8178 (tramp-fish-file-name-p): Set tramp-autoload cookie.
8180 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
8181 `tramp-foreign-file-name-handler-alist'. Add to
8182 `tramp-unload-hook'.
8183 (tramp-ftp-method): Make it a defconst.
8184 (tramp-ftp-file-name-p): Make it a defsubst.
8185 (tramp-ftp-method, tramp-ftp-file-name-handler)
8186 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
8188 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
8189 `tramp-foreign-file-name-handler-alist'. Add to
8190 `tramp-unload-hook'. Change checks, whether package can be
8192 (tramp-gvfs-file-name-p): Make it a defsubst.
8193 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
8194 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
8195 (tramp-gvfs-handle-file-directory-p): New defun.
8196 (tramp-gvfs-file-name-handler-alist): Use it.
8198 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
8199 `tramp-foreign-file-name-handler-alist'. Add to
8200 `tramp-unload-hook'.
8201 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
8202 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
8204 (tramp-gw-tunnel-method, tramp-gw-socks-method)
8205 (tramp-gw-open-connection): Set tramp-autoload cookie.
8207 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
8208 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8209 Add to `tramp-unload-hook'. Change checks, whether package can be
8211 (tramp-imap-file-name-p): Make it a defsubst.
8212 (tramp-imap-method, tramp-imaps-method)
8213 (tramp-imap-file-name-handler)
8214 (tramp-imap-file-name-p): Set tramp-autoload cookie.
8216 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
8217 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8218 Add to `tramp-unload-hook'. Change checks, whether package can be
8219 loaded. Change call of `tramp-compat-decimal-to-octal' to new
8221 (tramp-smb-tunnel-method): Make it a defconst.
8222 (tramp-smb-file-name-p): Make it a defsubst.
8223 (tramp-smb-method, tramp-smb-file-name-handler)
8224 (tramp-smb-file-name-p): Set tramp-autoload cookie.
8226 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
8227 (tramp-uuencode-region): Set tramp-autoload cookie.
8229 * net/trampver.el (top) Add to `tramp-unload-hook'.
8230 (tramp-version, tramp-bug-report-address): Set tramp-autoload
8231 cookie. Update release number.
8233 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
8235 * textmodes/ispell.el (ispell-start-process): Make sure original
8236 arg list is properly initialized (Bug#6993, Bug#6994).
8238 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8240 * files.el (directory-abbrev-alist): Use \` as default regexp.
8242 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
8243 chars like - or ] (bug#6984).
8244 (rx-any-condense-range): Explode 2-char ranges.
8246 2010-09-06 Glenn Morris <rgm@gnu.org>
8248 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
8250 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8252 * textmodes/bibtex.el:
8253 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
8255 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8257 * net/imap.el (imap-message-map): Remove optional buffer parameter,
8258 since no callers use it.
8259 (imap-message-get): Ditto.
8260 (imap-message-put): Ditto.
8261 (imap-mailbox-map): Ditto.
8262 (imap-mailbox-put): Ditto.
8263 (imap-mailbox-get): Ditto.
8264 (imap-mailbox-get): Revert last change for this function.
8266 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8268 * net/imap.el (imap-fetch-safe): Remove function, and alter all
8269 callers to use `imap-fetch' instead. According to the comments, this
8270 should be safe, since all other IMAP clients use the 1:* syntax.
8271 (imap-enable-exchange-bug-workaround): Remove.
8272 (imap-debug): Remove -- doesn't seem very useful.
8274 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8276 * net/imap.el (imap-log): New convenience function used throughout
8277 instead of repeating the same code all over the place.
8279 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
8281 * mouse.el (mouse-save-then-kill): Save region to kill-ring
8282 when mouse-drag-copy-region is non-nil (Bug#6956).
8284 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
8286 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
8287 Improve regexps (Bug#6987).
8288 (dired-sort-toggle): Search more robustly for -t flag.
8290 * files.el (get-free-disk-space): Search more robustly for
8291 "available" column. Suggested by Ehud Karni
8292 <ehud@unix.mvs.co.il>.
8294 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
8296 * international/uni-bidi.el:
8297 * international/uni-category.el:
8298 * international/uni-combining.el:
8299 * international/uni-decimal.el:
8300 * international/uni-mirrored.el:
8301 * international/uni-name.el: Regenerate.
8303 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8305 * electric.el (electric-indent-post-self-insert-function):
8306 Don't reindent with a sloppy indentation function.
8308 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
8309 border case in change-log-mode.
8311 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
8313 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8314 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
8315 Recognize leading tab in gcc-include regexp. Ignore names with
8316 leading "from" or "in" in gnu regexp (Bug#6937).
8318 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8320 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
8321 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
8322 (ispell-start-process): Avoid setq and simplify logic.
8323 (ispell-init-process): Setup kill-buffer-hook locally when needed.
8324 (kill-buffer-hook): Don't use it globally with code that uses
8325 expand-file-name since that may call kill-buffer via
8326 code_conversion_restore.
8328 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
8330 * emacs-lisp/package.el (package-directory-list): Only call
8331 file-name-nondirectory on a string.
8333 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
8335 * emacs-lisp/package.el (package--download-one-archive):
8336 Ensure that archive-contents is valid before saving it.
8337 (package-activate-1, package-mark-obsolete, define-package)
8338 (package-compute-transaction, package-list-maybe-add): Use push.
8340 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8342 Use SMIE's blink-paren for octave-mode.
8343 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
8344 Backslashes do not escape single-quotes, single-quotes do.
8345 (octave-block-else-regexp, octave-block-end-regexp)
8346 (octave-block-match-alist): Remove.
8347 (octave-smie-bnf-table): New var, with old content.
8348 (octave-smie-op-levels): Use it.
8349 (octave-smie-closer-alist): New var.
8350 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
8351 (octave-blink-matching-block-open): Remove.
8352 (octave-reindent-then-newline-and-indent, octave-electric-semi)
8353 (octave-electric-space): Let self-insert-command run expand-abbrev and
8356 * electric.el (electricity): New group.
8357 (electric-indent-chars): New var.
8358 (electric-indent-post-self-insert-function): New fun.
8359 (electric-indent-mode): New minor mode.
8360 (electric-pair-skip-self): New custom.
8361 (electric-pair-post-self-insert-function): New function.
8362 (electric-pair-mode): New minor mode.
8364 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
8365 calcAlg-blink-matching-open.
8366 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
8367 (calc-do-alg-entry): Only touch the part of the keymap that varies.
8368 Use the new blink-matching-check-function.
8370 Provide blink-matching support to SMIE.
8371 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
8372 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
8373 (smie-blink-matching-check, smie-blink-matching-open): New functions.
8375 * simple.el (newline): Fix last change to properly remove itself from
8378 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8380 * simple.el (newline): Eliminate optimization.
8381 Use post-self-insert-hook to set hard-newline and things before
8382 running post-self-insert-hook.
8383 (blink-matching-check-mismatch): New function.
8384 (blink-matching-check-function): New variable.
8385 (blink-matching-open): Use them.
8386 Skip back forward over prefix chars skipped by forward-sexp.
8387 Don't check if the parens are backslash escaped.
8388 (blink-paren-post-self-insert-function): Check backslash escaping here.
8390 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
8392 * emacs-lisp/package.el (package-menu-mode-map):
8393 Change package-menu-revert bindings to revert-buffer.
8394 (package-menu-mode): Set revert-buffer-function.
8395 (package-menu-revert): Doc fix.
8397 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
8399 * textmodes/ispell.el (ispell-init-process): Use "~/" as
8400 `default-directory' unless using Ispell per-directory personal
8401 dictionaries and not in a mini-buffer under XEmacs.
8402 (kill-buffer-hook): Do not kill ispell process on exit when
8403 `ispell-process-directory' is "~/". (Bug#6143)
8405 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
8407 * simple.el (kill-new): Call interprogram-cut-function with only
8410 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
8411 Remove cut buffer from error message.
8413 * term/x-win.el (x-select-text):
8414 * term/pc-win.el (x-selection-value):
8415 * term/ns-win.el (x-selection-value):
8416 * eshell/em-term.el:
8417 * w32-fns.el (x-get-selection-value):
8418 * mouse-sel.el (mouse-sel-set-selection-function):
8419 * frame.el (display-selections-p): Remove cut-buffer in documentation.
8421 * term/x-win.el: Update documentation for x-last-selected-text-*.
8422 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
8423 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
8424 (x-select-text): Remove argument PUSH, update documentation.
8425 Remove cut-buffer code.
8426 (x-selection-value-internal): Was previously x-selection-value.
8427 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8428 Update documentation, remove cut-buffer code.
8429 Call x-selection-value-internal.
8430 (x-clipboard-yank): Call x-selection-value-internal.
8431 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
8433 * term/pc-win.el (x-last-selected-text):
8434 x-cut-buffer-or-selection-value renamed to x-selection-value
8435 (x-select-text): Remove argument PUSH, update documentation.
8437 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
8438 x-cut-buffer-or-selection-value renamed to x-selection-value
8439 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8440 (x-select-text): Remove argument PUSH, update documentation.
8442 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
8444 * w32-fns.el (x-last-selected-text):
8445 x-cut-buffer-or-selection-value renamed to x-selection-value.
8446 (x-cut-buffer-max): Remove.
8447 (x-select-text): Remove argument PUSH, update documentation.
8449 * simple.el (interprogram-cut-function): Remove mention of PUSH.
8451 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
8453 * mouse-sel.el (mouse-sel-get-selection-function):
8454 x-cut-buffer-or-selection-value renamed to x-selection-value.
8455 (x-select-text): Remove optional push.
8457 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8459 * simple.el (blink-paren-function): Move from C to here.
8460 (blink-paren-post-self-insert-function): New function.
8461 (post-self-insert-hook): Use it.
8463 * emacs-lisp/pcase.el (pcase-split-memq):
8464 Fix overenthusiastic optimisation.
8465 (pcase-u1): Handle the case of a lambda pred.
8467 2010-08-31 Kenichi Handa <handa@m17n.org>
8469 * international/mule-cmds.el (standard-display-european-internal):
8470 Setup standard-display-table for 8-bit characters by storing 8-bit
8471 characters in the element vector.
8473 * disp-table.el (standard-display-8bit):
8474 Setup standard-display-table for 8-bit characters by storing 8-bit
8475 characters in the element vector.
8476 (standard-display-european): Likewise.
8478 2010-08-31 Masatake YAMATO <yamato@redhat.com>
8480 * textmodes/nroff-mode.el (nroff-view): New command.
8481 (nroff-mode-map): Bind it to C-c C-c.
8483 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
8485 * emacs-lisp/smie.el (smie-down-list): New command.
8487 Remove old indentation and navigation code on octave-mode.
8488 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
8489 smie-down-list rather than add a binding for octave-down-block.
8490 (octave-mark-block, octave-blink-matching-block-open):
8491 Rely on forward-sexp-function.
8492 (octave-fill-paragraph): Don't narrow, so you can use
8493 indent-according-to-mode.
8494 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
8495 (octave-in-block-p, octave-re-search-forward-kw)
8496 (octave-re-search-backward-kw, octave-indent-calculate)
8497 (octave-end-as-array-index-p, octave-block-end-offset)
8498 (octave-scan-blocks, octave-forward-block, octave-backward-block)
8499 (octave-down-block, octave-backward-up-block, octave-up-block)
8500 (octave-before-magic-comment-p, octave-indent-line): Remove.
8502 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
8504 * emacs-lisp/package.el (package--read-archive-file): Just use
8505 `read', to avoid copying an additional string.
8506 (package-menu-mode): Set header-line-format here.
8507 (package-menu-refresh, package-menu-revert): Signal an error if
8508 not in the Package Menu.
8509 (package-menu-package-list): New var.
8510 (package--generate-package-list): Operate on the current buffer;
8511 don't assume that it is *Packages*, since the user may rename it.
8512 Allow persistent package listings and sort keys using
8513 package-menu-package-list and package-menu-package-sort-key.
8514 (package-menu--version-predicate): Fix version calculation.
8515 (package-menu-sort-by-column): Don't select the window.
8516 (package--list-packages): Create the *Packages* buffer.
8517 Set package-menu-package-list-key.
8518 (list-packages): Sorting by status is now the default.
8519 (package-buffer-info): Use match-string-no-properties.
8520 (define-package): Add a &rest argument for future proofing, but
8522 (package-install-from-buffer, package-install-buffer-internal):
8523 Merge into a single function, package-install-from-buffer.
8524 (package-install-file): Change caller.
8526 * finder.el: Load finder-inf using `require'.
8527 (finder-list-matches): Sorting by status is now the default.
8528 (finder-compile-keywords): Simpify printing.
8530 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8532 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8533 (octave-mode-map): Remove special bindings for forward/backward-block
8534 and octave-backward-up-block. Use smie-close-block.
8535 (octave-continuation-marker-regexp): New var.
8536 (octave-continuation-regexp): Use it.
8537 (octave-operator-table, octave-smie-op-levels)
8538 (octave-operator-regexp, octave-smie-indent-rules): New vars.
8539 (octave-smie-backward-token, octave-smie-forward-token): New funs.
8540 (octave-mode): Use SMIE.
8541 (octave-close-block): Delete.
8543 2010-08-30 Eli Zaretskii <eliz@gnu.org>
8545 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
8546 CLIPBOARD, not in PRIMARY. (Bug#6944)
8548 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8550 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
8552 (smie-indent-column): Allow indirection through variables.
8554 * composite.el (save-buffer-state): Delete, unused.
8555 * font-lock.el (save-buffer-state): Use with-silent-modifications.
8556 (font-lock-default-fontify-region): Use with-syntax-table.
8557 * jit-lock.el (with-buffer-unmodified): Remove.
8558 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
8560 Use `declare' in defmacros.
8561 * window.el (save-selected-window):
8562 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
8563 * progmodes/python.el (def-python-skeleton):
8564 * net/dbus.el (dbus-ignore-errors):
8565 * jka-cmpr-hook.el (with-auto-compression-mode):
8566 * international/mule.el (with-category-table):
8567 * emacs-lisp/timer.el (with-timeout):
8568 * emacs-lisp/lisp-mnt.el (lm-with-file):
8569 * emacs-lisp/eieio.el (with-slots):
8570 * emacs-lisp/easymenu.el (easy-menu-define):
8571 * emacs-lisp/debug.el (debugger-env-macro):
8572 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
8573 (Multiple-value-call, Multiple-value-prog1):
8574 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
8575 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
8576 edebug rule to definition.
8577 * emacs-lisp/lisp-mode.el (save-selected-window)
8578 (with-current-buffer, combine-after-change-calls)
8579 (with-output-to-string, with-temp-file, with-temp-buffer)
8580 (with-temp-message, with-syntax-table, read-if, eval-after-load)
8581 (dolist, dotimes, when, unless):
8582 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
8584 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8586 * finder.el: Require `package'.
8587 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
8588 (finder-package-info): Var deleted.
8589 (finder-keywords-hash, finder--builtins-alist): New vars.
8590 (finder-compile-keywords): Compute package--builtins and
8591 finder-keywords-hash instead of finder-keywords-hash, respecting
8592 the "Package" header.
8593 (finder-unknown-keywords, finder-list-matches):
8594 Use finder-keywords-hash and package--list-packages.
8595 (finder-mode): Don't set font-lock-defaults.
8596 (finder-exit): We don't use "*Finder-package*" and "*Finder
8597 Category*" buffers anymore.
8599 * emacs-lisp/package.el (package--builtins-base): Var deleted.
8600 (package--builtins): Set default value to nil.
8601 (package-initialize): Load precomputed value of package--builtins
8603 (package-alist, package-compute-transaction)
8604 (package-download-transaction): Improve docstring.
8605 (package-read-all-archive-contents): Do not change
8606 package--builtins here.
8607 (list-packages): Make package-list-packages an alias for this.
8608 Sort by status by default.
8609 (package--list-packages): Add optional PACKAGES arg.
8610 (describe-package-1): Use font-lock-face property. For built-in
8611 packages, insert file commentary.
8612 (package--generate-package-list): Rename from
8613 package-list-packages-internal; all callers changed. Add optional
8614 PACKAGES arg. Add alphabetical sort fallbacks.
8615 (package-menu--version-predicate, package-menu--status-predicate)
8616 (package-menu--description-predicate)
8617 (package-menu--name-predicate): New functions.
8619 * info.el (Info-finder-find-node): Search package-alist instead of
8620 finder-package-info.
8622 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8624 * subr.el (version-regexp-alist): Don't use "a" and "b" for
8626 (version-to-list): Handle versions like "10.3d".
8628 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8630 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
8631 (macroexp-accumulate): Use `declare'.
8633 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8635 * whitespace.el (whitespace-style): Adjust type declaration.
8637 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
8639 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
8641 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8643 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
8646 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
8648 * progmodes/js.el: Make indentation more customizable (Bug#6914).
8649 (js-paren-indent-offset, js-square-indent-offset)
8650 (js-curly-indent-offset): New options.
8651 (js--proper-indentation): Use them.
8653 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
8655 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
8656 instead of inspecting font-lock properties (Bug#6916).
8658 2010-08-26 David Reitter <david.reitter@gmail.com>
8660 * server.el (server-visit-files): Run pre-command-hook and
8661 post-command-hook for each buffer while it is current (Bug#6910).
8662 (server-execute): Do not run hooks here.
8664 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
8666 Sync with Tramp 2.1.19.
8668 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
8669 Protect deleting tmpfile.
8670 (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
8672 * net/tramp.el (tramp-handle-expand-file-name)
8673 (tramp-completion-handle-file-name-all-completions)
8674 (tramp-completion-handle-file-name-completion):
8675 Use `tramp-connectable-p'.
8677 * net/trampver.el: Update release number.
8679 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8681 * help.el (help-map): Bind `C-h P' to describe-package.
8683 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
8685 * emacs-lisp/package.el (package-refresh-contents): Catch errors
8686 when downloading archives.
8687 (describe-package-1): Add package commentary.
8688 (package-install-button-action): New function.
8689 (package-menu-mode-map): Bind ? to package-menu-describe-package.
8690 (package-menu-view-commentary): Function removed.
8691 (package-list-packages-internal): Hide the `package' package too.
8693 2010-08-25 Kenichi Handa <handa@m17n.org>
8695 * language/misc-lang.el ("Arabic"): New language environment.
8696 Setup composition-function-table for Arabic characters.
8698 * international/fontset.el (setup-default-fontset): Fix typo for
8699 arabic OTF spec (fini->fina).
8701 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
8703 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
8706 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8708 * whitespace.el: Allow cleaning up blanks without blank
8709 visualization (Bug#6651). Adjust help window for
8710 whitespace-toggle-options (Bug#6479). Allow to use fill-column
8711 instead of whitespace-line-column (from EmacsWiki). New version
8713 (whitespace-style): Add new value 'face. Adjust docstring.
8714 (whitespace-space, whitespace-hspace, whitespace-tab):
8715 Adjust foreground property face.
8716 (whitespace-line-column): Adjust docstring and type declaration.
8717 (whitespace-style-value-list, whitespace-toggle-option-alist)
8718 (whitespace-help-text): Adjust const initialization.
8719 (whitespace-toggle-options, global-whitespace-toggle-options):
8721 (whitespace-display-window, whitespace-interactive-char)
8722 (whitespace-style-face-p, whitespace-color-on): Adjust code.
8723 (whitespace-help-scroll): New fun.
8725 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8727 * emacs-lisp/package.el (list-packages): Alias for
8728 package-list-packages.
8730 2010-08-24 Kevin Ryde <user42@zip.com.au>
8732 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
8735 * progmodes/ruby-mode.el (ruby): Add defgroup.
8737 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8739 * progmodes/python.el: Add Ipython support (Bug#5390).
8740 (python-shell-prompt-alist)
8741 (python-shell-continuation-prompt-alist): New options.
8742 (python--set-prompt-regexp): New function.
8743 (inferior-python-mode, run-python, python-shell):
8744 Require ansi-color. Use python--set-prompt-regexp to set the comint
8745 prompt based on the Python interpreter.
8746 (python--prompt-regexp): New var.
8747 (python-check-comint-prompt)
8748 (python-comint-output-filter-function): Use it.
8749 (run-python): Use a pipe (Bug#5694).
8751 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
8753 * progmodes/python.el (python-send-region): Send a different
8754 Python command if Ipython is in use.
8755 (python-check-version): Use a Python command to find the version.
8757 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8759 * mouse.el (mouse-yank-primary): Avoid setting primary when
8760 deactivating the mark (Bug#6872).
8762 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
8764 * progmodes/python.el (python-block-pairs): Allow use of "finally"
8765 with "else" (Bug#3991).
8767 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
8769 * net/dbus.el: Accept UNIX domain sockets as bus address.
8770 (top): Don't initialize `dbus-registered-objects-table' anymore,
8771 this is done in dbusbind.c.
8772 (dbus-check-event): Adapt test for bus.
8773 (dbus-return-values-table, dbus-unregister-service)
8774 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
8777 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
8779 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8781 2010-08-22 Juri Linkov <juri@jurta.org>
8783 * simple.el (read-extended-command): New function with the logic
8784 for `completing-read' moved to Elisp from `execute-extended-command'.
8785 Use `function-called-at-point' in `minibuffer-default-add-function'
8786 to get a command name for M-n (bug#5364, bug#5214).
8788 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8790 * startup.el (command-line-1): Issue warning for ignored arguments
8791 --unibyte, etc (Bug#6886).
8793 2010-08-22 Leo <sdl.web@gmail.com>
8795 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8796 (ignore, bright, dim, keyword): Split list of nicknames before
8797 passing to rcirc-add-or-remove (Bug#6894).
8799 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8801 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8803 2010-08-22 Leo <sdl.web@gmail.com>
8805 Fix buffer-list rename&refresh after killing a buffer in ido.
8806 * ido.el: Revert Óscar's.
8807 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8808 Remember the buffers at head, rather than their name.
8809 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8811 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
8812 Stefan Monnier <monnier@iro.umontreal.ca>
8814 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8815 extra backslash added to each line (bug#6890).
8817 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8819 * subr.el (read-key): Don't echo keystrokes (bug#6883).
8821 2010-08-22 Glenn Morris <rgm@gnu.org>
8823 * menu-bar.el (menu-bar-games-menu): Add landmark.
8825 2010-08-22 Glenn Morris <rgm@gnu.org>
8827 * align.el (align-regexp): Make group and spacing arguments
8828 use the interactive defaults when non-interactive. (Bug#6698)
8830 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8831 expansion, so as not to need sendmail.
8832 (mail-text-start): Remove declaration.
8833 (rmail-retry-failure): Require sendmail.
8835 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8837 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8839 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
8841 * progmodes/flymake.el (flymake-start-syntax-check-process):
8842 Use `start-file-process' in order to let it run also on remote hosts.
8844 2010-08-22 Kenichi Handa <handa@m17n.org>
8846 * files.el: Add `word-wrap' as safe local variable.
8848 2010-08-22 Glenn Morris <rgm@gnu.org>
8850 * woman.el (woman-translate): Case matters. (Bug#6849)
8852 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8854 * simple.el (kill-region): Doc fix (Bug#6787).
8856 2010-08-22 Glenn Morris <rgm@gnu.org>
8858 * calendar/diary-lib.el (diary-header-line-format):
8859 Fit it to the window, not the frame.
8861 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
8863 * subr.el (ignore-errors): Add debug declaration.
8865 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
8867 * whitespace.el (whitespace-color-off): Remove post-command-hook
8870 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8872 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8874 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8876 * cus-edit.el (custom-group-value-create): Add extra newline
8877 before end line (Bug#6876).
8879 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8881 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8882 when extending it. Before killing on the second click, check if
8883 the buffer is the correct one. Doc fix.
8884 (mouse-secondary-save-then-kill): Allow usage without first
8885 calling mouse-start-secondary, by defaulting to point. Don't save
8886 an empty secondary selection. Doc fix.
8888 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8890 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
8891 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8893 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8894 Adjust initialization.
8895 (whitespace-bob-marker, whitespace-eob-marker)
8896 (whitespace-buffer-changed): New vars.
8897 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8898 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8899 (whitespace-post-command-hook, whitespace-display-char-on):
8901 (whitespace-looking-back, whitespace-buffer-changed): New funs.
8902 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8904 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8906 * files.el (locate-file-completion-table): Only list the .el and .elc
8907 extensions if there's no other choice (bug#5955).
8909 * facemenu.el (facemenu-self-insert-data): New var.
8910 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8912 (facemenu-add-face): Use them.
8914 * simple.el (blink-matching-open): Obey forward-sexp-function.
8916 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
8918 * simple.el (prog-mode-map): New var.
8919 (prog-indent-sexp): New command.
8921 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8923 * progmodes/prolog.el (smie): Require.
8925 * emacs-lisp/smie.el (smie-default-backward-token)
8926 (smie-default-forward-token): Strip properties.
8927 (smie-next-sexp): Be more careful with associative operators.
8928 (smie-forward-sexp-command): Generalize.
8929 (smie-backward-sexp-command): Simplify.
8930 (smie-closer-alist): New var.
8931 (smie-close-block): New command.
8932 (smie-indent-debug-log): New var.
8933 (smie-indent-offset-rule): Add a few more cases.
8934 (smie-indent-column): New function.
8935 (smie-indent-after-keyword): Use it.
8936 (smie-indent-keyword): Use it.
8937 Fix up the opener code's point position.
8938 (smie-indent-comment): Only applies at BOL.
8939 (smie-indent-debug): New command.
8941 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8942 declarations that are useful before running the macro.
8944 2010-08-18 Joakim Verona <joakim@verona.se>
8946 * image.el (imagemagick-types-inhibit): New variable.
8947 (imagemagick-register-types): New function.
8948 * image-mode.el (image-transform-properties): New function.
8949 (image-transform-set-scale, image-transform-fit-to-height)
8950 (image-transform-set-rotation, image-transform-set-resize)
8951 (image-transform-fit-to-width, image-transform-fit-to-height):
8953 (image-toggle-display-image): Support image transforms.
8955 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
8957 * image.el (create-animated-image): Don't add heuristic mask to image
8960 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
8962 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8963 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8965 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
8967 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8969 Font-lock '...' strings, plus various simplifications and fixes.
8970 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8971 (octave-font-lock-close-quotes): New function.
8972 (octave-font-lock-syntactic-keywords): New var.
8973 (octave-mode): Use it. Set beginning-of-defun-function.
8974 (octave-mode-map): Don't override the <foo>-defun commands.
8975 (octave-mode-menu): Pass it directly to easy-menu-define;
8976 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8977 (octave-block-match-alist): Fix up last change so that
8978 octave-close-block uses the more specific keyword.
8979 (info-lookup-mode): Silence byte-compiler.
8980 (octave-beginning-of-defun): Not interactive any more.
8982 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8983 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8984 (octave-completion-at-point-function): Make sure point is within
8986 (octave-reindent-then-newline-and-indent):
8987 Use reindent-then-newline-and-indent.
8988 (octave-add-octave-menu): Remove.
8990 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
8992 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8993 (report-emacs-bug-can-use-xdg-email): New functions.
8994 (report-emacs-bug): Set can-xdg-email to result of
8995 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
8996 \C-cm to report-emacs-bug-insert-to-mailer and add help text
8999 * net/browse-url.el (browse-url-default-browser): Add cond
9000 for browse-url-xdg-open.
9001 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
9003 2010-08-17 Glenn Morris <rgm@gnu.org>
9005 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
9006 (c-fontify-recorded-types-and-refs): Define for compiler.
9007 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
9010 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
9013 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
9015 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
9017 (tramp-handle-process-file): Call the program in a subshell, in
9018 order to preserve working directory.
9019 (tramp-action-password): Hide password prompt before next run.
9020 (tramp-process-actions): Widen connection buffer for the trace.
9022 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9024 * net/rcirc.el (rcirc-log-process-buffers): New option.
9025 (rcirc-print): Use it.
9026 (rcirc-generate-log-filename): New function.
9027 (rcirc-log-filename-function): Change default to
9028 rcirc-generate-log-filename (Bug#6828).
9030 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
9032 * simple.el (deactivate-mark): If select-active-regions is `only',
9033 only set selection for temporarily active regions.
9035 * cus-start.el: Change defcustom for select-active-regions.
9037 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
9039 * mouse.el (mouse--drag-set-mark-and-point): New function.
9040 (mouse-drag-track): Use LOCATION arg to push-mark.
9041 Use mouse--drag-set-mark-and-point to take click-count into
9042 consideration when updating point and mark (Bug#6840).
9044 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
9046 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9047 Give the Ruby rule a lower priority than Gnu (Bug#6778).
9049 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
9051 * font-lock.el (lisp-font-lock-keywords-2):
9052 Add combine-after-change-calls, condition-case-no-debug,
9053 with-demoted-errors, and with-silent-modifications (Bug#6025).
9055 2010-08-14 Kevin Ryde <user42@zip.com.au>
9057 * emacs-lisp/copyright.el (copyright-update-year)
9058 (copyright-update): Temporary switch-to-buffer to ensure the
9059 buffer change being queried is visible (Bug#5394).
9061 2010-08-14 Tom Tromey <tromey@redhat.com>
9063 * progmodes/etags.el (tags-file-name): Mark safe if stringp
9066 2010-08-14 Eli Zaretskii <eliz@gnu.org>
9068 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
9071 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
9073 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
9074 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9075 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9076 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
9077 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
9078 Call menu-bar-set-tool-bar-position.
9080 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9082 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
9083 comment style (bug#6834).
9084 * progmodes/scheme.el (scheme-mode-syntax-table):
9085 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
9086 "b" flag in "' 14b" syntax.
9088 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
9089 for (un)commenting the region and performing completion.
9090 (octave-mode-menu): Use standard commands for help and completion.
9091 (octave-mode-syntax-table): Support %{..%} comments (sort of).
9092 (octave-mode): Use define-derived-mode.
9093 Set completion-at-point-functions and don't set columns.
9094 Don't disable adaptive-fill-regexp.
9095 (octave-describe-major-mode, octave-comment-region)
9096 (octave-uncomment-region, octave-comment-indent)
9097 (octave-indent-for-comment): Remove.
9098 (octave-indent-calculate): Rename from calculate-octave-indent.
9099 (octave-indent-line, octave-fill-paragraph): Update caller.
9100 (octave-initialize-completions): No need to make an alist.
9101 (octave-completion-at-point-function): New function.
9102 (octave-complete-symbol): Use it.
9103 (octave-insert-defun): Use define-skeleton.
9105 * progmodes/octave-mod.el (octave-mode): Set comment-add.
9106 (octave-mode-map): Use comment-dwim (bug#6829).
9108 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com>
9110 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
9111 indentation of inserted comment.
9113 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
9115 * faces.el (region): Add type gtk that uses gtk colors.
9117 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
9118 Handle theme-name change.
9120 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
9122 * progmodes/sql.el: Version 2.5
9123 (sql-product-alist): Add :prompt-cont-regexp property for several
9125 (sql-prompt-cont-regexp): New variable.
9126 (sql-output-newline-count, sql-output-by-send):
9127 New variables. Record number of newlines in input text.
9128 (sql-send-string): Handle multiple filters and count newlines.
9129 (sql-send-magic-terminator): Count terminator newline.
9130 (sql-interactive-remove-continuation-prompt): Filters output to
9131 remove continuation prompts; one for each newline.
9132 (sql-interactive-mode): Set up new variables, prompt regexp and
9134 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
9135 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
9137 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9139 * emacs-lisp/pcase.el: New file.
9141 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
9143 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
9144 as here-document, otherwise the command could exceed maximum
9145 length of command line.
9146 (tramp-handle-vc-registered): Call script accordingly.
9147 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
9149 2010-08-10 Kenichi Handa <handa@m17n.org>
9151 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
9154 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
9156 * emacs-lisp/package.el (package-version-split)
9157 (package--version-first-nonzero, package-version-compare):
9159 (package-directory-list, package-load-all-descriptors)
9160 (package--built-in, package-activate, define-package)
9161 (package-installed-p, package-compute-transaction)
9162 (package-read-all-archive-contents)
9163 (package--add-to-archive-contents, package-buffer-info)
9164 (package-tar-file-info, package-list-packages-internal):
9165 Use version-to-list and version-list-*.
9167 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9168 Use version-to-list.
9169 (package-upload-buffer-internal): Use version-list-<=.
9171 2010-08-09 Kenichi Handa <handa@m17n.org>
9173 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
9176 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
9178 * tutorial.el (tutorial--default-keys): C-d is now bound to
9179 delete-forward-char (Bug#6826).
9181 * mouse.el (mouse-drag-track): Remove accidentally-removed check
9182 for `double' value of mouse-1-click-follows-link (Bug#6807).
9184 2010-08-08 Johan Bockgård <bojohan@gnu.org>
9186 * replace.el (replace-highlight): Bind isearch-forward and
9187 isearch-error, ensuring that highlighting is updated if the user
9188 switches the search direction (Bug#6808).
9190 * isearch.el (isearch-lazy-highlight-forward): New var.
9191 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9192 (isearch-lazy-highlight-update): Use it.
9194 2010-08-08 Kenichi Handa <handa@m17n.org>
9196 * international/mule.el (define-charset): Store NAME as :base property.
9197 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
9198 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
9199 current priority. Force using the designation of the specific
9200 charset by adding `charset' text property. Improve the whole algorithm.
9202 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9204 * emulation/pc-select.el (pc-selection-mode-hook)
9205 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
9206 (pc-selection-mode): Fix typos in docstrings.
9208 2010-08-08 Kenichi Handa <handa@m17n.org>
9210 * language/cyrillic.el: Don't add "microsoft-cp1251" to
9211 ctext-non-standard-encodings-alist here.
9213 * international/mule.el (ctext-non-standard-encodings-alist):
9214 Add "koi8-r" and "microsoft-cp1251".
9215 (ctext-standard-encodings): New variable.
9216 (ctext-non-standard-encodings-table): List only elements for
9217 non-standard encodings.
9218 (ctext-pre-write-conversion): Adjust for the above change.
9219 Check ctext-standard-encodings.
9221 * international/mule-conf.el (compound-text): Doc fix.
9222 (ctext-no-compositions): Doc fix.
9223 (compound-text-with-extensions): Doc fix.
9225 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9227 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
9229 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9231 * progmodes/which-func.el (which-func-format): Split help-echo text
9232 into lines, like other mode-line tooltips.
9234 * server.el (server-start): When using TCP sockets, force IPv4
9235 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
9237 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9239 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
9241 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9243 * term.el (term-delimiter-argument-list): Reflow docstring.
9244 (term-read-input-ring, term-write-input-ring, term-send-input)
9245 (term-bol, term-erase-in-display, serial-supported-or-barf):
9246 Fix typos in docstrings.
9248 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9250 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
9252 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9254 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
9256 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
9258 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
9259 Fix typo in docstring (bug#6747).
9261 2010-08-08 Leo <sdl.web@gmail.com>
9263 * eshell/esh-io.el (eshell-get-target): Better detection of
9264 read-only file (Bug#6762).
9266 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9268 * align.el (align-default-spacing): Doc fix.
9269 (align-region-heuristic, align-regexp): Fix typos in docstrings.
9271 2010-08-08 Stephen Peters <speters@itasoftware.com>
9273 * calendar/icalendar.el
9274 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
9275 (icalendar--get-weekday-numbers): New.
9276 (icalendar--convert-recurring-to-diary): Handle multiple byday
9277 values in weekly rules. (Bug#6766)
9279 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
9281 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
9282 (icalendar--create-uid, icalendar-export-region)
9283 (icalendar--parse-summary-and-rest): Code formatting.
9285 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
9287 * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
9288 to italicize headers.
9289 (calc-highlight-selections-with-faces): New variable.
9290 (calc-selected-face, calc-nonselected-face): New faces.
9292 * calc/calccomp.el (math-comp-highlight-string): Use
9293 `calc-highlight-selections-with-faces' to determine how to highlight
9296 * calc/calc-sel.el (calc-show-selections): Change message to when
9297 using faces to highlight selections.
9299 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
9301 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
9302 Add SQLite 3 keywords, functions and datatypes.
9303 (sql-interactive-mode): Remove `comint-process-echoes' set to t
9306 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
9308 * simple.el (select-active-regions): Move to keyboard.c.
9309 (deactivate-mark): Used saved-region-selection.
9310 (select-active-region): Function removed.
9311 (activate-mark, set-mark, push-mark-command)
9312 (handle-shift-selection): Don't call it.
9313 (keyboard-quit): Avoid adding the region to the window selection.
9315 * mouse.el (mouse-drag-track): Remove hacks to deal with old
9316 select-active-regions implementation.
9317 (mouse-yank-at-click): Doc fix.
9319 * cus-start.el: Add custom declaration for select-active-regions.
9321 2010-08-07 Eli Zaretskii <eliz@gnu.org>
9323 * simple.el (delete-forward-char): Doc fix.
9325 * tutorial.el (help-with-tutorial): Hack safe file-local variables
9326 after reading the tutorial.
9328 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
9330 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
9331 Fix for the case that a C style comment has its delimiters alone on
9332 their respective lines. (Bug#193)
9334 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
9336 * net/tramp.el (tramp-handle-start-file-process): Set connection
9338 (tramp-process-sentinel): Use it for flushing the cache.
9339 We cannot do it via the process buffer, the buffer could be deleted
9340 already when running the sentinel.
9342 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
9344 * comint.el (comint-mode): Make directory tracking functions
9345 functional on remote files. (Bug#6764)
9347 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
9349 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
9351 2010-08-05 Eli Zaretskii <eliz@gnu.org>
9353 * emacs-lisp/find-gc.el (find-gc-source-files):
9354 Rename unexec.c => unexcoff.c.
9356 * emacs-lisp/authors.el (authors-fixed-entries):
9357 Rename unexec.c => unexcoff.c.
9359 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
9361 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
9362 cache, not only file cache.
9363 (tramp-process-sentinel): New defun.
9364 (tramp-handle-start-file-process): Use it, in order to invalidate
9367 2010-08-03 Leo <sdl.web@gmail.com>
9369 * server.el (server-start): Simplify loop.
9371 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
9373 * frame.el (screen-height, screen-width, set-screen-width)
9374 (set-screen-height): Remove ancient compatibility aliases.
9376 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
9377 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
9379 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
9380 that change current buffer.
9382 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9384 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
9385 beginning of the string. Use `string-match-p'. (Bug#6765)
9387 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
9389 * cus-start.el (x-gtk-use-system-tooltips): New variable.
9391 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
9393 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
9394 (package--builtins): Tweak descriptions.
9395 (package-print-package): Upcase descriptions if necessary.
9396 Show all built-in packages in font-lock-builtin-face.
9397 (package-list-packages-internal): Omit "emacs" package.
9398 Show status of built-in packages as "built-in".
9400 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
9402 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
9403 before killing to preserve the primary selection (Bug#6701).
9405 * term/x-win.el (x-select-text): Doc fix.
9407 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
9409 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
9410 (objc-font-lock-extra-types):
9411 * progmodes/cc-mode.el (c-basic-common-init):
9412 * progmodes/cc-langs.el (c-make-mode-syntax-table)
9413 (c++-make-template-syntax-table)
9414 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
9415 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
9416 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
9417 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
9418 * progmodes/cc-fonts.el (c-make-inverse-face)
9419 (c-basic-matchers-after):
9420 * progmodes/cc-engine.el (c-forward-keyword-clause)
9421 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
9422 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
9423 (c-guess-continued-construct, c-guess-basic-syntax):
9424 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
9425 The above functions were modified or created.
9427 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
9429 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
9431 2010-07-31 Eli Zaretskii <eliz@gnu.org>
9433 * files.el (bidi-paragraph-direction): Define safe local values.
9435 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
9436 language-info-alist. Remove outdated FIXME in a comment.
9438 2010-07-31 Alan Mackenzie <acm@muc.de>
9440 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
9441 Auto-fill broken in C/C++ modes.
9443 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
9445 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9446 (menu-bar-showhide-tool-bar-menu-customize-disable)
9447 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9448 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
9449 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
9450 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
9451 make a menu for Options => toolbar that can move it.
9453 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
9455 * emacs-lisp/package-x.el (package--make-rss-entry):
9456 (package-maint-add-news-item, package--update-news)
9457 (package-upload-buffer-internal): New arg ARCHIVE-URL.
9459 * emacs-lisp/package.el (package-archive-url): Rename from
9461 (package-install): Doc fix.
9462 (package-download-single, package-download-tar, package-install)
9463 (package-menu-view-commentary): Callers changed.
9465 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
9467 * net/tramp.el (tramp-handle-start-file-process): Check only for
9468 `remote-tty' process property.
9469 (tramp-open-shell): Don't check for tty.
9470 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
9473 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
9476 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
9478 * emacs-lisp/package.el (package-load-list, package-archives)
9479 (package-archive-contents, package-user-dir)
9480 (package-directory-list, package--builtins, package-alist)
9481 (package-activated-list, package-obsolete-alist): Mark as risky.
9483 2010-07-28 Phil Hagelberg <phil@evri.com>
9485 Add support for non-default package repositories.
9486 * emacs-lisp/package.el (package-archive-base): Var deleted.
9487 (package-archives): New variable.
9488 (package-archive-contents): Doc fix.
9489 (package-load-descriptor): Do nothing if descriptor file is missing.
9490 (package--write-file-no-coding): New function.
9491 (package-unpack-single): Use it.
9492 (package-archive-id): New function.
9493 (package-download-single, package-download-tar)
9494 (package-menu-view-commentary): Use it.
9495 (package-installed-p): Make second argument optional.
9496 (package-read-all-archive-contents): New function.
9497 (package-initialize): Use it.
9498 (package-read-archive-contents): Add ARCHIVE argument.
9499 (package--add-to-archive-contents): New function.
9500 (package-install): Don't call package-read-archive-contents.
9501 (package--download-one-archive): Store archive file in a
9502 subdirectory of package-user-dir.
9503 (package-menu-execute): Remove spurious line movement.
9505 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
9507 * cus-start.el (tool-bar-style): Add text-image-horiz.
9509 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9511 * progmodes/gud.el (gud-common-init): Check for remoteness of
9512 `file', and not of `default-directory'.
9514 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9516 * net/tramp.el (tramp-methods): Move hostname to the end in all
9517 ssh `tramp-login-args'.
9518 (tramp-verbose): Describe verbose level 9.
9519 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
9520 (tramp-open-connection-setup-interactive-shell): Trace stty
9521 settings if `tramp-verbose' >= 9.
9522 (tramp-handle-start-file-process): Implement tty setting.
9523 (Bug#4604, Bug#6360)
9525 * net/tramp-cmds.el (tramp-bug): Recommend setting of
9526 `tramp-verbose' to 9.
9528 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
9530 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
9531 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
9532 Remove references to package `lisp-re' (bug#4369).
9534 2010-07-27 Tom Tromey <tromey@redhat.com>
9536 * progmodes/js.el (js-mode):
9537 * progmodes/make-mode.el (makefile-mode):
9538 * progmodes/simula.el (simula-mode):
9539 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
9541 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
9543 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
9545 * time.el (display-time-day-and-date): Remove spurious * in docstring.
9546 (display-time-world-buffer-name, display-time-world-mode-map):
9547 Fix typos in docstrings.
9549 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
9551 * image-mode.el (image-display-size): New function.
9552 (image-forward-hscroll, image-next-line, image-eol, image-eob)
9553 (image-mode-fit-frame): Use it (Bug#6639).
9555 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
9557 * dired.el (dired-buffers-for-dir): Handle list values of
9558 dired-directory (Bug#6636).
9560 2010-07-26 Sam Steingold <sds@gnu.org>
9562 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
9563 Do not call `x-get-selection' the second time, reuse the value.
9565 2010-07-26 Daiki Ueno <ueno@unixuser.org>
9567 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
9568 which consist of control chars only. Suggested by Richard Stallman.
9570 2010-07-25 Daiki Ueno <ueno@unixuser.org>
9572 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
9573 exists before passing an error to find-file-not-found-functions
9576 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
9578 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
9579 Remove leading nil element, adjust values.
9580 (tetris-shapes, tetris-shape-scores):
9581 Change representation of shapes and remove some redundancy.
9582 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
9583 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
9584 Adjust for working with new representation of shapes.
9585 (tetris-shape-rotations): New function.
9586 (tetris-move-bottom, tetris-move-left, tetris-move-right)
9587 (tetris-rotate-prev, tetris-rotate-next):
9588 Adjust for working with the new version of tetris-test-shape.
9590 2010-07-23 Markus Triska <markus.triska@gmx.at>
9592 * progmodes/ps-mode.el: Use comint (bug#5954).
9593 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
9594 (ps-mode-other-newline): Simplify.
9595 (ps-run-mode): Derive from comint-mode instead of
9596 fundamental-mode, yielding input history etc.
9597 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
9598 (ps-run-send-string): Adapt for comint-mode.
9599 (ps-run-newline): Remove now unneeded function.
9601 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9603 * net/tramp.el (tramp-methods): Move hostname to the end in all
9604 plink `tramp-login-args'.
9606 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9608 * net/tramp.el (tramp-open-shell): New defun.
9609 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9612 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9614 * net/tramp.el (tramp-file-name-regexp-unified)
9615 (tramp-completion-file-name-regexp-unified): On W32 systems, do
9616 not regard the volume letter as remote filename. (Bug#5447)
9618 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
9620 * custom.el (custom-declare-variable): Give a clearer error message
9621 when the docstring is missing (bug#6476).
9623 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
9625 * progmodes/sql.el: Version 2.4. Improved Login prompting.
9626 (sql-login-params): New widget definition.
9627 (sql-oracle-login-params, sql-mysql-login-params)
9628 (sql-solid-login-params, sql-sybase-login-params)
9629 (sql-informix-login-params, sql-ingres-login-params)
9630 (sql-ms-login-params, sql-postgres-login-params)
9631 (sql-interbase-login-params, sql-db2-login-params)
9632 (sql-linter-login-params): Use it.
9633 (sql-sqlite-login-params): Use it; Define "database" parameter as
9635 (sql-sqlite-program): Change to "sqlite3".
9636 (sql-comint-sqlite): Make sure database name is complete.
9637 (sql-for-each-login): New function.
9638 (sql-connect, sql-save-connection): Use it.
9639 (sql-get-login-ext): New function.
9640 (sql-get-login): Use it.
9641 (sql-make-alternate-buffer-name): Handle :file parameters.
9643 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
9645 * dired.el (dired-no-confirm): Document value t and fix defcustom to
9646 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
9648 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
9650 * dired.el (dired-mode-map): Use command remapping (bug#6632).
9652 2010-07-22 Lawrence Mitchell <wence@gmx.li>
9654 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
9656 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
9658 * net/tramp.el (tramp-get-ls-command)
9659 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
9662 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
9664 * progmodes/sql.el: Version 2.3.
9665 (sql-connection-alist): Change keys from symbols to strings;
9666 enhanced the widget definition.
9667 (sql-mode-menu): Add submenu to select connections.
9668 (sql-interactive-mode-menu): Add "Save Connection" item.
9669 (sql-add-product): Fix menu item.
9670 (sql-get-product-feature): Improved error handling.
9671 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
9672 (sql-make-alternate-buffer-name): Simplified.
9673 (sql-product-interactive): Handle missing product.
9674 (sql-connect): Support string keys, minor improvements.
9675 (sql-save-connection): New function.
9676 (sql-connection-menu-filter): New function.
9678 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9680 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
9681 (tramp-open-connection-setup-interactive-shell):
9682 Apply workaround for IRIX64 bug. Move argument of last
9683 `tramp-send-command' where it belongs to.
9685 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9687 * net/tramp.el (tramp-perl-file-attributes)
9688 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
9689 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
9690 front of `login-args'.
9692 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
9694 * time.el (display-time-world-mode): Define with `define-derived-mode'.
9695 Set `show-trailing-whitespace' to nil.
9696 (display-time-world-display): Simplify.
9698 2010-07-18 Alan Mackenzie <acm@muc.de>
9700 Enhance `c-file-style' in file/directory local variables.
9701 * progmodes/cc-mode.el (c-count-cfss): New function.
9702 (c-before-hack-hook): Call `c-set-style' differently according to
9703 whether c-file-style was set in file or directory local
9706 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
9708 * progmodes/sql.el: Version 2.2.
9709 (sql-product, sql-user, sql-database, sql-server, sql-port):
9710 Use defcustom :safe keyword rather than putting safe-local-variable
9712 (sql-password): Use defcustom :risky keyword rather than putting
9713 risky-local-variable property.
9714 (sql-oracle-login-params, sql-sqlite-login-params)
9715 (sql-solid-login-params, sql-sybase-login-params)
9716 (sql-informix-login-params, sql-ingres-login-params)
9717 (sql-ms-login-params, sql-postgres-login-params)
9718 (sql-interbase-login-params, sql-db2-login-params)
9719 (sql-linter-login-params): Add `port' option.
9720 (sql-get-product-feature): Add NO-INDIRECT parameter.
9721 (sql-comint-oracle, sql-comint-sybase)
9722 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
9723 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
9724 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
9725 (sql-comint-linter): Rename sql-connect-* functions to
9727 (sql-product-alist, sql-mode-menu): Rename as above and
9728 :sqli-connect-func to :sqli-comint-func.
9729 (sql-connection): New variable.
9730 (sql-interactive-mode): Set it.
9731 (sql-connection-alist): New variable.
9732 (sql-connect): New function.
9733 (sql--alt-buffer-part, sql--alt-if-not-empty)
9734 (sql-make-alternate-buffer-name): Improved alternative buffer name.
9736 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9738 * image-mode.el (image-bookmark-make-record): Do not set context
9739 in an image (Bug#6650).
9741 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9743 * simple.el (select-active-region): New function.
9744 (push-mark-command, set-mark, activate-mark)
9745 (handle-shift-selection): Use it.
9746 (deactivate-mark): Don't check for size of region.
9748 * mouse.el (mouse-drag-track): Use select-active-region.
9750 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
9752 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
9755 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9757 * term/x-win.el (x-select-enable-primary): Change default to nil.
9758 (x-select-enable-clipboard): Add :version keyword.
9760 * mouse.el (mouse-drag-copy-region):
9761 * simple.el (select-active-regions): Likewise.
9763 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
9765 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
9766 (vc-coding-system-for-diff): Use it to decide whether to inherit
9767 from the file the EOL format for reading the diffs of that file.
9770 2010-07-16 Eli Zaretskii <eliz@gnu.org>
9772 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
9773 unibyte, so compressed attachments are not compressed again.
9775 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
9777 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
9778 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9779 (tramp-find-shell): Simplify setting connection property.
9780 (tramp-get-ls-command): Make test for "--color=never" stronger.
9782 2010-07-15 Simon South <ssouth@member.fsf.org>
9784 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9785 blocks within record declarations (i.e. variant parts) correctly.
9787 2010-07-15 Simon South <ssouth@member.fsf.org>
9789 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9790 over literal tokens when parsing so newlines aren't "absorbed" by
9791 single-line comments. Corrects the indentation of case blocks
9792 that have a comment on the first line.
9794 2010-07-14 Karl Fogel <kfogel@red-bean.com>
9796 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9797 by Drew Adams (Bug#5504).
9799 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
9801 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9802 now that Unicode is used (Bug#6594).
9804 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
9806 * term/x-win.el (x-select-enable-clipboard): Default to t.
9807 (x-initialize-window-system): Don't overwrite Paste menu item.
9809 * simple.el (select-active-regions): Default to t.
9810 (push-mark-command): Don't overwrite primary with empty string.
9812 * mouse.el: Bind mouse-2 to mouse-yank-primary.
9813 (mouse-drag-copy-region): Default to nil.
9815 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9816 Cut/Copy/Paste menu bar items.
9818 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9820 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9821 Patch applied by Karl Fogel.
9823 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9824 and `bookmark-current-buffer' if they have been already set in
9825 another buffer (e.g gnus-art).
9827 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9828 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9830 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9832 * bookmark.el (bookmark-make-record-default): Allow unneeded
9833 information to be omitted from the record.
9835 Adjust declarations and calls:
9837 * info.el (bookmark-make-record-default): Adjust declaration.
9838 (Info-bookmark-make-record): Adjust call.
9840 * woman.el (bookmark-make-record-default): Adjust declaration.
9841 (woman-bookmark-make-record): Adjust call.
9843 * man.el (bookmark-make-record-default): Adjust declaration.
9844 (Man-bookmark-make-record): Adjust call.
9846 * image-mode.el (bookmark-make-record-default): Adjust declaration.
9848 * doc-view.el (bookmark-make-record-default): Adjust declaration.
9850 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9852 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9853 This is also from Thierry Volpiatto's patch in bug #6444. However,
9854 because it was extraneous to the functional change in that patch,
9855 and causes a re-indendation, I am committing it separately.
9857 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9859 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9860 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9861 Patch applied by Karl Fogel (Bug#6444).
9863 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
9865 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9867 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
9869 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9870 Dempsky; bug#5084). Remove incorrect binding for S-tab.
9871 (ns-alternatives-map): Change S-tab binding to backtab
9874 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9877 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
9879 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9882 * language/tv-util.el (tai-viet-re): Remove format.
9884 2010-07-12 Kenichi Handa <handa@m17n.org>
9886 * language/hebrew.el: Remove no-byte-compile declaration.
9887 Change coding: tag to utf-8. Register hebrew-shape-gstring in
9888 composition-function-table for 3-character looking back.
9889 (hebrew-font-get-precomposed): New function.
9890 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9892 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
9894 * mouse.el (mouse-drag-track): Handle select-active-regions
9897 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
9899 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9900 empty argument to gvfs-copy.
9902 2010-07-10 Glenn Morris <rgm@gnu.org>
9904 * calendar/calendar.el (calendar-week-end-day): New function.
9905 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9906 Respect calendar-week-start-day. (Bug#6606)
9907 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9908 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9909 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9910 respect calendar-week-start-day.
9912 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
9914 * simple.el (use-region-p): Doc fix (Bug#6607).
9916 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
9918 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9919 Add regexps for cucumber and ruby.
9921 2010-07-08 Daiki Ueno <ueno@unixuser.org>
9923 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9924 (epa-file-insert-file-contents): Hack to prevent
9925 find-file from opening empty buffer when decryption failed
9928 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
9930 * textmodes/ispell.el (ispell-alternate-dictionary):
9931 Use file-readable-p.
9932 Return nil if no word-list is found at default locations.
9933 (ispell-complete-word-dict): Default to nil.
9934 (ispell-command-loop): Use 'word-list' when using lookup-words.
9935 (lookup-words): Use ispell-complete-word-dict or
9936 ispell-alternate-dictionary. Check for word-list availability
9937 and handle errors if needed with better messages (Bug#6539).
9938 (ispell-complete-word): Use ispell-complete-word-dict or
9939 ispell-alternate-dictionary.
9941 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
9943 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9944 builtins (BufferError, BytesWarning, WindowsError; callables
9945 bin, bytearray, bytes, format, memoryview, next, print; __package__).
9947 2010-07-07 Glenn Morris <rgm@gnu.org>
9949 * play/zone.el (top-level): Do not require timer, tabify, or cl.
9950 (zone-shift-left): Ignore intangibility, and any errors from
9952 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
9953 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9954 deleting, and copying text properties.
9955 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9956 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9957 to point-max is hard.
9958 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9959 (zone-fill-out-screen): Ignore intangibility.
9961 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
9963 * menu-bar.el (menu-bar-mode):
9964 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9967 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9968 word/line selection (Bug#6565).
9970 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
9972 * net/dbus.el (dbus-send-signal): Declare function.
9974 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
9976 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9977 (dbus-register-property): New optional argument EMITS-SIGNAL.
9978 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9980 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
9982 * mouse.el (mouse-drag-overlay): Variable deleted.
9983 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9984 (mouse--remap-link-click-p): New function.
9985 (mouse-drag-track): Handle dragging by using temporary Transient
9986 Mark mode, instead of a special overlay.
9987 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9990 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9993 2010-07-02 Juri Linkov <juri@jurta.org>
9995 * autoinsert.el (auto-insert-alist): Fix readability
9996 by using dotted pair notation for lambda.
9998 2010-07-02 Juri Linkov <juri@jurta.org>
10000 * faces.el (read-face-name): Rename arg `string-describing-default'
10001 to `default'. Doc fix. Display the default value in quotes
10002 in the prompt. With empty input, return the `default' arg,
10003 unless the default value is a string (in which case return nil).
10004 (describe-face): Replace the string `default' arg of `read-face-name'
10005 with the symbol `default'.
10007 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
10009 * emulation/viper-cmd.el (viper-delete-backward-char)
10010 (viper-del-backward-char-in-insert)
10011 (viper-del-backward-char-in-replace, viper-change)
10012 (viper-backward-indent): Replace delete-backward-char with
10013 delete-char (Bug#6552).
10015 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
10017 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
10019 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
10021 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
10022 argument passed to frame-creation-function (Bug#5378).
10024 * faces.el (x-handle-named-frame-geometry)
10025 (x-handle-reverse-video, x-create-frame-with-faces)
10026 (face-set-after-frame-default, tty-create-frame-with-faces):
10027 Don't separately consult default-frame-alist. It is now passed as the
10028 PARAMETER argument.
10030 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
10032 * startup.el (command-line): Don't call tool-bar-setup in a
10035 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
10037 * ruler-mode.el (ruler--save-header-line-format): New fun.
10038 (ruler-mode): Use it as a setter function, so as not to overwrite
10039 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
10041 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
10043 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
10044 (vc-root-diff, vc-print-root-log, vc-log-incoming)
10045 (vc-log-outgoing): Use it.
10046 (vc-diff-internal): Set diff-vc-backend.
10048 * vc/diff-mode.el (diff-vc-backend): New var.
10050 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
10052 * dynamic-setting.el (font-setting-change-default-font):
10053 Remove call to message.
10055 2010-06-28 Kenichi Handa <handa@m17n.org>
10057 * international/quail.el (quail-insert-kbd-layout): Fix the
10058 showing of untranslated characters.
10060 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
10062 * simple.el (delete-active-region): New option.
10063 (delete-backward-char): Implement in Lisp.
10064 (delete-forward-char): New command.
10066 * mouse.el (mouse-region-delete-keys): Delete.
10067 (mouse-show-mark): Simplify.
10069 * bindings.el (global-map): Bind delete and DEL, the former to
10070 delete-forward-char.
10072 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
10074 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
10075 (ruby-mode): Bind indent-line-function (Bug#5119).
10077 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
10079 * startup.el (command-line): Recognize "0" X resource value.
10081 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
10083 * startup.el (command-line): Use X resources to set the value of
10084 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
10086 * menu-bar.el (menu-bar-mode):
10087 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
10088 Set init-value to t.
10090 * frame.el (frame-notice-user-settings): Don't change
10091 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
10092 vice versa (Bug#2249).
10094 2010-06-26 Eli Zaretskii <eliz@gnu.org>
10096 * w32-fns.el (w32-convert-standard-filename): Doc fix.
10098 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
10100 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
10101 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
10103 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
10104 default directories are expanded (Bug#6143).
10106 2010-06-24 Juri Linkov <juri@jurta.org>
10108 * minibuffer.el (completions-format): Change default from nil to
10109 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
10111 2010-06-24 Juri Linkov <juri@jurta.org>
10113 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
10114 buffer-locally to lambda that re-runs the vc diff command.
10117 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
10119 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
10120 echo area is in use (Bug#3412).
10122 2010-06-22 Glenn Morris <rgm@gnu.org>
10124 * textmodes/texinfmt.el (texinfo-format-region)
10125 (texinfo-raise-lower-sections, texinfo-format-separate-node)
10126 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
10127 (texinfo-format-option, texinfo-noindent):
10128 Use line-beginning-position and line-end-position.
10130 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
10131 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
10132 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
10135 2010-06-21 Karl Fogel <kfogel@red-bean.com>
10137 * play/zone.el (zone-fall-through-ws): Fix next-line ->
10138 forward-line fallout.
10140 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
10142 * mouse.el (mouse-appearance-menu): Add docstring.
10144 * help.el (describe-key): Print up-event using key-description.
10146 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
10148 * net/zeroconf.el (zeroconf-resolve-service)
10149 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
10150 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
10152 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
10154 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
10156 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
10158 Avoid displaying files with a nil state in vc-dir.
10159 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
10160 cases that cause insertion.
10161 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
10164 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
10166 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
10168 2010-06-29 Leo <sdl.web@gmail.com>
10170 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
10172 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10174 * generic-x.el (bat-generic-mode): Fix regexp for command line
10175 switches (Bug#5719).
10177 2010-06-27 Masatake YAMATO <yamato@redhat.com>
10179 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
10180 of nconc to avoid pure storage error (Bug#6239).
10182 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
10184 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
10185 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
10186 bindings of bookmark-automatically-show-annotations (Bug#6515).
10188 2010-06-25 Eli Zaretskii <eliz@gnu.org>
10190 * arc-mode.el (archive-zip-extract): Don't quote the file name on
10191 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
10193 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
10195 * comint.el (make-comint, make-comint-in-buffer): Mention return
10196 value in the docstrings. (Bug#6498)
10198 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
10200 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
10201 since it is not present when using some non-default switches.
10203 2010-06-23 Karl Fogel <kfogel@red-bean.com>
10205 * simple.el (compose-mail): Fix doc string to refer to
10206 `compose-mail-user-agent-warnings', instead of to the
10207 nonexistent `compose-mail-check-user-agent'.
10209 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
10211 Fix an indentation bug:
10213 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
10214 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
10215 of existing values.
10217 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
10218 (c-clear->-pair-props-if-match-before): now return t when they've
10219 cleared properties, nil otherwise.
10220 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
10221 by taking account of the existing value.
10223 * progmodes/cc-defs.el
10224 (c-clear-char-property-with-value-function): Fix this to clear the
10225 property rather than overwriting it with nil.
10227 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
10229 * emacs-lisp/package.el (package-print-package): Add link to
10230 package description via describe-package.
10231 (describe-package-1): List package requirements. Add button to
10232 perform installation.
10233 (package-menu-describe-package): New command.
10235 * help-mode.el (help-package): New button type.
10237 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
10239 * emacs-lisp/package.el: Move package-list-packages binding to
10241 (describe-package, describe-package-1, package--dir): New funs.
10242 (package-activate-1): Use package--dir.
10244 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
10246 * help-mode.el (help-package-def): New button type.
10248 * menu-bar.el: Move package-list-packages binding here from
10251 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
10253 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
10255 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10257 * emacs-lisp/edebug.el (edebug-read-list):
10258 Phase out old-style backquotes.
10260 2010-06-17 Juri Linkov <juri@jurta.org>
10262 * help-mode.el (help-mode): Set buffer-local variable
10263 revert-buffer-function to help-mode-revert-buffer.
10264 (help-mode-revert-buffer): New function.
10266 * info.el (Info-revert-find-node): Check for major-mode Info-mode
10267 before popping to "*info*" (like in other Info functions).
10268 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
10269 old-history-forward. Pop to old-buffer-name or "*info*" to
10270 recreate the killed buffer. Set Info-history-forward from
10271 old-history-forward.
10272 (Info-breadcrumbs-depth): Add :group and :version.
10274 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
10276 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
10278 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
10280 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
10281 for languages like Portuguese with pt_{BR,PT} and no plain pt.
10283 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
10285 * emacs-lisp/package.el (package-menu-mode-map):
10286 Move initialization into declaration.
10288 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
10290 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
10292 * emacs-lisp/package.el (package-archive-base): Point to
10294 (package-enable, package-load-list): New defcustoms.
10295 (package-user-dir, package-directory-list): Turn into defcustoms.
10296 Don't include package-user-dir in package-directory-list.
10297 (package--builtins-base): Don't include Emacs as a "package".
10298 (package-subdirectory-regexp): New var.
10299 (package-load-all-descriptors, package-compute-transaction)
10300 (package-download-transaction): Obey package-load-list.
10301 (package-activate-1): Rename from package-do-activate.
10302 (package-list-packages-internal): Check package-load-list.
10303 (package-load-descriptor, package-generate-autoloads)
10304 (package-unpack, package-unpack-single)
10305 (package--read-archive-file, package-delete):
10306 Use expand-file-name.
10308 * emacs-lisp/package-x.el: New file. Package uploading
10309 functionality split out from package.el.
10311 * startup.el (command-line): Load packages after reading init file.
10313 2010-06-17 Tom Tromey <tromey@redhat.com>
10315 * emacs-lisp/package.el: New file.
10317 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
10319 Fix vc-annotate for renamed files when using Git.
10320 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
10321 ls-files. Doe not pass the object as a file name to cat-file, it
10322 is not a file name.
10323 (vc-git-annotate-command): Pass the file name using -- to avoid
10324 ambiguity with the revision.
10325 (vc-git-previous-revision): Pass a relative file name.
10327 2010-06-22 Glenn Morris <rgm@gnu.org>
10329 * progmodes/js.el (js-mode-map): Use standard capitalization and
10330 ellipses for menu entries.
10332 * wid-edit.el (widget-complete): Doc fix.
10334 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
10336 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
10338 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
10340 Fix annotating other revisions for renamed files in vc-annotate.
10341 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
10342 VC backend. Use it when non-nil.
10343 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
10346 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
10347 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10348 Do not pass the file name to the 'previous-revision call when we
10349 don't want a file diff. (Bug#6489)
10351 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
10353 Fix finding revisions for renamed files in vc-annotate.
10354 * vc/vc.el (vc-find-revision): Add an optional argument for
10355 the VC backend. Use it when non-nil.
10356 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
10357 backend to vc-find-revision. (Bug#6487)
10359 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
10361 Fix reading file names in Git annotate buffers.
10362 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
10363 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
10365 2010-06-20 Alan Mackenzie <acm@muc.de>
10367 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
10368 in file local variables, set it first.
10370 2010-06-19 Glenn Morris <rgm@gnu.org>
10372 * descr-text.el (describe-char-unicode-data): Insert separating
10373 space when needed. (Bug#6422)
10375 * progmodes/idlwave.el (idlwave-action-and-binding):
10376 Fix typo in 2009-12-03 change. (Bug#6450)
10378 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10380 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
10381 handling for `lambda' (misunderstanding).
10383 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
10385 * calc/calc-poly.el (math-accum-factors): Make sure that
10386 constants aren't distributed after they are factored out.
10388 2010-06-16 Juri Linkov <juri@jurta.org>
10390 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
10391 `list-colors-print'. (Bug#6332)
10393 * subr.el (read-quoted-char): Fix up last change (bug#6290).
10395 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
10397 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
10398 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
10400 * font-lock.el (font-lock-major-mode): Rename from
10401 font-lock-mode-major-mode to distinguish it from
10402 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
10403 (font-lock-set-defaults):
10404 * font-core.el (font-lock-default-function): Adjust users.
10405 (font-lock-mode): Don't set it at all.
10407 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
10409 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
10411 2010-06-16 Glenn Morris <rgm@gnu.org>
10413 * calendar/appt.el (appt-time-msg-list): Doc fix.
10414 (appt-check): Let-bind appt-warn-time.
10415 (appt-add): Make the 3rd argument optional.
10416 Simplify argument names. Doc fix. Check for integer WARNTIME.
10417 Only add WARNTIME to the output list if non-nil.
10419 2010-06-16 Ivan Kanis <apple@kanis.eu>
10421 * calendar/appt.el (appt-check): Let the 3rd element of
10422 appt-time-msg-list specify the warning time.
10423 (appt-add): Add new argument with the warning time. (Bug#5176)
10425 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10427 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
10428 older than version 1.6. (Bug#6361)
10430 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
10432 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
10433 used by cl-do-arglist. (Bug#6408)
10435 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
10437 * textmodes/ispell.el (ispell-dictionary-base-alist):
10438 Fix portuguese casechars/not-casechars for missing 'çÇ'.
10439 Suggested by Rolando Pereira (bug#6434).
10441 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
10443 * facemenu.el (list-colors-sort): Doc fix.
10445 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10447 * progmodes/sql.el (sql-connect-mysql): Fix typo.
10449 2010-06-14 Juri Linkov <juri@jurta.org>
10451 Add sort option `list-colors-sort'. (Bug#6332)
10452 * facemenu.el (color-rgb-to-hsv): New function.
10453 (list-colors-sort): New defcustom.
10454 (list-colors-sort-key): New function.
10455 (list-colors-display): Doc fix. Sort list according to the option
10456 `list-colors-sort'.
10457 (list-colors-print): Add HSV values to `help-echo' property of
10460 2010-06-14 Juri Linkov <juri@jurta.org>
10462 * compare-w.el: Move to the "vc" subdirectory.
10464 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10466 * image-mode.el (image-mode-map): Remap left-char and right-char.
10468 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
10470 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
10472 * term/common-win.el (x-colors): Add all the color names defined
10473 in rgb.txt (Bug#6332).
10475 * facemenu.el (list-colors-print): Don't print extra names if it
10476 will overflow the window width.
10478 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
10481 2010-06-12 Eli Zaretskii <eliz@gnu.org>
10483 * files.el (make-directory): Doc fix (bug#6396).
10485 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
10487 * net/tramp.el (tramp-remote-process-environment): Protect version
10488 string by apostroph.
10489 (tramp-shell-prompt-pattern): Do not use a shy group in case of
10491 (tramp-file-name-for-operation): Add `call-process-region'.
10492 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
10494 * net/tramp-compat.el (top): Do not autoload
10495 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
10496 only when `start-file-process' is not bound.
10497 (tramp-advice-file-expand-wildcards): Do not use
10498 `tramp-handle-file-remote-p'.
10499 (tramp-compat-make-temp-file): Handle the case, that
10500 `make-temp-file' has no third argument EXTENSION.
10502 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
10504 * makefile.w32-in (WINS_BASIC): Include new directory vc.
10506 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
10508 2010-06-11 Juri Linkov <juri@jurta.org>
10510 * finder.el (finder-known-keywords): Add keyword "vc"
10511 for version control.
10513 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
10514 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
10515 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
10516 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
10518 2010-06-11 Juri Linkov <juri@jurta.org>
10520 Move version control related files to the "vc" subdirectory.
10521 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
10522 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
10523 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
10524 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
10525 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
10526 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
10527 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
10528 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
10529 Move files to the "vc" subdirectory.
10531 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
10533 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
10536 2010-06-11 Stephen Eglen <stephen@gnu.org>
10538 * shell.el: Bind `shell-resync-dirs' to M-RET.
10540 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
10542 * notifications.el: Move file from lisp/net, because it is
10543 supposed to talk locally to the user.
10545 2010-06-10 Julien Danjou <julien@danjou.info>
10547 * net/notifications.el (notifications-on-action-signal)
10548 (notifications-on-closed-signal): Pass notification id as first
10549 argument to the callback functions. Add docstrings.
10550 (notifications-notify): Fix docstring.
10552 2010-06-10 Glenn Morris <rgm@gnu.org>
10554 * emacs-lisp/authors.el (authors-ignored-files)
10555 (authors-valid-file-names): Add some files.
10557 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10559 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
10560 merge conflict, giving preference to the emacs-23 version of the code.
10562 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10564 * emacs-lisp/advice.el (ad-compile-function):
10565 Define warning-suppress-types before we let-bind it (bug#6275).
10567 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
10568 declare it, make it buffer-local and permanent-local (bug#6324).
10569 (vc-resynch-window): Adjust name.
10570 * vc-hooks.el (vc-find-file-hook): Adjust name.
10572 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
10574 * net/notifications.el (notifications-notify): Fix docstring.
10576 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10578 Update to Unicode 6.0.0 beta.
10579 * international/charprop.el: Update copyright.
10580 * international/mule-cmds.el (ucs-names): Update character ranges.
10581 * international/uni-bidi.el:
10582 * international/uni-category.el:
10583 * international/uni-combining.el:
10584 * international/uni-comment.el:
10585 * international/uni-decimal.el:
10586 * international/uni-decomposition.el:
10587 * international/uni-digit.el:
10588 * international/uni-lowercase.el:
10589 * international/uni-mirrored.el:
10590 * international/uni-name.el:
10591 * international/uni-numeric.el:
10592 * international/uni-old-name.el:
10593 * international/uni-titlecase.el:
10594 * international/uni-uppercase.el: Regenerate.
10596 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10598 * emacs-lisp/smie.el (comment-string-strip): Declare function.
10599 (smie-precs-precedence-table): Fix typo in docstring.
10601 * vc-mtn.el (log-edit-extract-headers): Declare function.
10603 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
10605 * net/notifications.el (dbus-register-signal): Declare function.
10606 (notifications-notify): Fix typos and reflow docstring.
10608 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10610 Improve VC create/retrieve tag/branch.
10611 * vc.el (vc-create-tag): Do not read the directory name for VCs
10612 with repository revision granularity. Adjust the tag/branch
10613 prompt. Reset VC properties.
10614 (vc-retrieve-tag): Do not read the directory name for VCs
10615 with repository revision granularity. Reset VC properties.
10617 2010-06-09 Julien Danjou <julien@danjou.info>
10619 * net/notifications.el: New file.
10621 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10623 Add optional support for resetting VC properties.
10624 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
10625 call vc-file-clearprops when true.
10626 (vc-resynch-buffer): Add new optional argument, pass it down.
10627 (vc-resynch-buffers-in-directory): Likewise.
10629 Improve support for special markup in the VC commit message.
10630 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
10631 * vc-hg.el (vc-hg-checkin): Add support for Date:.
10632 * vc-git.el (vc-git-checkin):
10633 * vc-bzr.el (vc-bzr-checkin): Likewise.
10635 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10637 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
10638 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
10640 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
10642 * iimage.el: Remove images as soon as the underlying text is modified.
10643 (iimage-modification-hook): New function.
10644 (iimage-mode-buffer): Use it.
10646 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10648 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
10649 smie-indent-offset-after. Add :prev case. Make a bit more generic.
10650 (smie-indent-virtual): Remove `virtual' arg. Update callers.
10651 (smie-indent-keyword): Add handling of open-paren keywords.
10652 (smie-indent-comment-continue): Don't assume comment-continue.
10654 2010-06-07 Martin Rudalics <rudalics@gmx.at>
10656 * window.el (pop-to-buffer): Remove the conditional that
10657 compares new-window and old-window, so it will reselect
10658 the selected window unconditionally.
10659 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
10661 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10663 * emacs-lisp/smie.el (smie-indent-offset-after)
10664 (smie-indent-forward-token, smie-indent-backward-token): New functions.
10665 (smie-indent-after-keyword): Use them.
10666 (smie-indent-fixindent): Only applies to the indentation of the BOL.
10667 (smie-indent-keyword): Tweak the black magic.
10668 (smie-indent-comment-continue): Strip comment-continue before use.
10669 (smie-indent-functions): Indent comments before keywords.
10671 2010-06-06 Juri Linkov <juri@jurta.org>
10673 * isearch.el (isearch-lazy-highlight-search): Fix looping
10674 by checking for empty match. This syncs this loop with the
10675 similar loop in `isearch-search'. (Bug#6362)
10677 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
10679 * net/dbus.el (dbus-register-method): Declare function.
10680 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
10681 (dbus-introspect): Doc fix.
10682 (dbus-event-bus-name, dbus-introspect-get-interface)
10683 (dbus-introspect-get-argument): Reflow docstrings.
10685 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
10687 vc-log-incoming/vc-log-outgoing fixes for Git.
10688 * vc-git.el (vc-git-log-view-mode): Fix font lock for
10689 incoming/outgoing logs.
10690 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
10691 instead of vc-git-compute-remote.
10692 (vc-git-compute-remote): Remove.
10694 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
10696 * term/common-win.el (x-colors): Add "dark green" and "dark
10697 turquoise" (Bug#6332).
10699 2010-06-04 Juri Linkov <juri@jurta.org>
10701 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
10702 Instead of setting `replace' to t and replacing the same string
10703 with itself, don't do certain actions when
10704 kill-do-not-save-duplicates is non-nil and string is equal to car
10705 of kill-ring: don't call menu-bar-update-yank-menu, don't push
10706 interprogram-paste strings to kill-ring, and don't push the input
10707 argument `string' to kill-ring.
10708 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
10710 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10712 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
10714 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
10716 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
10717 (tramp-gvfs-handler-mounted-unmounted)
10718 (tramp-gvfs-connection-mounted-p): Handle default-location.
10720 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
10721 move files to trash.
10723 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10725 * international/mule-cmds.el (nonascii-insert-offset)
10726 (nonascii-translation-table): Add obsolescence information.
10728 * international/mule.el (make-translation-table-from-vector): Doc fix.
10730 2010-06-03 Glenn Morris <rgm@gnu.org>
10732 * desktop.el (desktop-clear-preserve-buffers):
10733 Add "*Warnings*" buffer. (Bug#6336)
10735 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
10737 vc-log-incoming/vc-log-outgoing improvements for Git.
10738 * vc-git.el (vc-git-log-outgoing): Use the same format as the
10740 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
10742 Add bindings for vc-log-incoming and vc-log-outgoing.
10743 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
10744 and vc-log-outgoing.
10745 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
10746 and vc-log-outgoing.
10748 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10750 * net/rcirc.el (rcirc-sort-nicknames): Remove.
10751 (rcirc-handler-366): Always sort nicknames.
10753 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
10755 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
10757 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10759 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
10761 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10763 * net/rcirc.el (rcirc-sort-nicknames): Change default.
10764 (rcirc-sort-nicknames-join): Avoid setq.
10766 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10768 * net/rcirc.el (rcirc-sort-nicknames): New custom.
10769 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
10770 (rcirc-handler-366): Use them.
10772 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10774 Split smie-indent-calculate into more manageable chunks.
10775 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
10776 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
10777 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
10778 (smie-indent-exps): Extract from smie-indent-calculate.
10779 (smie-indent-functions): New var.
10780 (smie-indent-functions): Use them.
10782 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10784 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10785 (smie-indent-calculate): Simplify and cleanup.
10787 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
10789 * net/tramp-gvfs.el (top): Require url-util.
10790 (tramp-gvfs-mount-point): Remove.
10791 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10793 (with-tramp-dbus-call-method): Format trace message.
10794 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10795 Implement backup call, when operation on local files fails.
10796 Use progress reporter. Flush properties of changed files.
10797 (tramp-gvfs-handle-make-directory): Make more traces.
10798 (tramp-gvfs-url-file-name): Hexify file name in url.
10799 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10800 into account for the resulting file name.
10801 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10802 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
10803 (tramp-gvfs-handler-mounted-unmounted)
10804 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10805 attribute "default_location". Set "prefix" property.
10806 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10807 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10808 exists. Raise an error, if not (due to a corresponding answer
10809 "no" in interactive questions, for example).
10811 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
10813 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10815 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
10817 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10818 right-*. (Bug#6265)
10820 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
10822 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10823 * vc-git.el (vc-git-compute-remote): New function.
10824 (vc-git-log-outgoing): Use it instead of hard coding a value.
10825 (vc-git-log-incoming): New function.
10827 Improve state updating for VC tag commands.
10828 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10829 to update the state of all buffers in the directory.
10831 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10833 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10835 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10836 `file-directory-p' to the filename part rather than to the whole text.
10838 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10840 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10842 2010-05-31 Drew Adams <drew.adams@oracle.com>
10844 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10846 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
10848 * subr.el (momentary-string-display): Just use read-event to read
10849 the exit event (Bug#6238).
10851 2010-05-30 Eli Zaretskii <eliz@gnu.org>
10853 * international/mule.el (define-coding-system): Doc fix (bug#6313).
10855 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10857 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10858 Suggested by Eli Zaretskii <eliz@gnu.org>.
10860 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10862 * minibuffer.el (completion-file-name-table): Don't return a boundary
10863 past the end of `string' (bug#6299).
10864 (completion--file-name-table): Delegate to completion-file-name-table
10865 for the `boundaries' case.
10867 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10869 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10872 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10873 `path-separator', but maintain compatibility with Emacs 20.2.
10875 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10877 * server.el (server-process-filter): Receive parent-id argument
10879 (server-create-window-system-frame): New arg. Pass parent-id as
10882 2010-05-29 Eli Zaretskii <eliz@gnu.org>
10884 Bidi-sensitive word movement with arrow keys.
10885 * subr.el (right-arrow-command, left-arrow-command): Move to
10888 * bindings.el (right-char, left-char): Move from subr.el and
10889 rename from right-arrow-command and left-arrow-command.
10890 (right-word, left-word): New functions.
10891 (global-map) <right>: Bind to right-char.
10892 (global-map) <left>: Bind to left-char.
10893 (global-map) <C-right>: Bind to right-word.
10894 (global-map) <C-left>: Bind to left-word.
10896 * ls-lisp.el (ls-lisp-classify-file): New function.
10897 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10898 (ls-lisp-classify): Call ls-lisp-classify-file.
10899 (insert-directory): Remove blanks from switches.
10901 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10903 * ansi-color.el: Delete unused escape sequences (Bug#6085).
10904 (ansi-color-drop-regexp): New constant.
10905 (ansi-color-apply, ansi-color-filter-region)
10906 (ansi-color-apply-on-region): Delete unrecognized control sequences.
10907 (ansi-color-apply): Build string list before calling concat.
10909 2010-05-28 Juri Linkov <juri@jurta.org>
10911 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10912 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10915 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10917 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10918 to ignored backtrace functions.
10919 (with-progress-reporter): Expand docstring.
10920 (tramp-handle-delete-file): Implement TRASH argument.
10921 (tramp-get-remote-trash): New defun.
10923 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10925 * net/tramp-compat.el (tramp-compat-delete-file):
10926 Use `symbol-value' for backward compatibility.
10928 * net/tramp.el (tramp-handle-make-symbolic-link)
10929 (tramp-handle-load)
10930 (tramp-do-copy-or-rename-file-via-buffer)
10931 (tramp-do-copy-or-rename-file-directly)
10932 (tramp-do-copy-or-rename-file-out-of-band)
10933 (tramp-handle-process-file, tramp-handle-call-process-region)
10934 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10935 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10936 (tramp-delete-temp-file-function): Use `delete-file' instead
10937 of `tramp-compat-delete-file'.
10939 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10940 (tramp-fish-handle-make-symbolic-link)
10941 (tramp-fish-handle-process-file): Use `delete-file' instead
10942 of `tramp-compat-delete-file'.
10944 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10945 Use `delete-file' instead of `tramp-compat-delete-file'.
10947 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
10948 Use `delete-file' instead of `tramp-compat-delete-file'.
10950 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10951 Use `delete-file' instead of `tramp-compat-delete-file'.
10953 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10954 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10955 (tramp-smb-handle-write-region): Use `delete-file' instead of
10956 `tramp-compat-delete-file'.
10957 (tramp-smb-handle-delete-directory): Use 'trash as arg.
10959 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10961 * dired.el (dired-delete-file): New arg TRASH.
10962 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
10963 (dired-do-flagged-delete, dired-do-delete): Use trash.
10965 * speedbar.el (speedbar-item-delete): Allow trashing.
10967 * files.el (delete-directory): New arg TRASH.
10969 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10970 (ange-ftp-rename-remote-to-remote)
10971 (ange-ftp-rename-local-to-remote)
10972 (ange-ftp-rename-remote-to-local, ange-ftp-load)
10973 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10975 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10978 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10979 handle new TRASH arg of `delete-file'.
10981 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10982 (tramp-handle-make-symbolic-link, tramp-handle-load)
10983 (tramp-do-copy-or-rename-file-via-buffer)
10984 (tramp-do-copy-or-rename-file-directly)
10985 (tramp-do-copy-or-rename-file-out-of-band)
10986 (tramp-handle-process-file, tramp-handle-call-process-region)
10987 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10988 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10989 (tramp-delete-temp-file-function): Use null TRASH arg in
10990 tramp-compat-delete-file call.
10992 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10993 (tramp-fish-handle-delete-file)
10994 (tramp-fish-handle-make-symbolic-link)
10995 (tramp-fish-handle-process-file): Use null TRASH arg in
10996 `tramp-compat-delete-file' call.
10998 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
10999 arg in `tramp-compat-delete-file' call.
11001 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
11002 (tramp-gvfs-handle-write-region): Use null TRASH arg in
11003 `tramp-compat-delete-file' call.
11005 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
11006 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
11007 `tramp-compat-delete-file' call.
11009 * net/tramp-smb.el (tramp-smb-handle-copy-file)
11010 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11011 (tramp-smb-handle-write-region): Use null TRASH arg in
11012 tramp-compat-delete-file call.
11013 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
11014 (tramp-smb-handle-delete-file): Rename arg.
11016 * diff.el (diff-sentinel):
11017 * epg.el (epg--make-temp-file, epg-decrypt-string)
11018 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11019 * jka-compr.el (jka-compr-partial-uncompress)
11020 (jka-compr-call-process, jka-compr-write-region):
11021 * server.el (server-sentinel): Remove optional arg from
11022 delete-file, reverting 2010-05-03 change.
11024 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
11026 * progmodes/verilog-mode.el (verilog-type-font-keywords):
11027 Use font-lock-constant-face, not obsolete font-lock-reference-face.
11029 2010-05-27 Kenichi Handa <handa@m17n.org>
11031 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
11032 element of GSTRING is nil.
11034 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11036 * emacs-lisp/smie.el (smie-forward-token-function)
11037 (smie-backward-token-function): New vars.
11038 (smie-backward-sexp, smie-forward-sexp)
11039 (smie-indent-hanging-p, smie-indent-calculate): Use them.
11040 (smie-default-backward-token): Rename from smie-backward-token and
11042 (smie-default-forward-token): Rename from smie-forward-token and
11044 (smie-next-sexp): Handle nil results from next-token.
11045 (smie-indent-calculate): Add a new case for special `fixindent' comments.
11047 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
11049 * progmodes/verilog-mode.el (verilog-type-font-keywords):
11050 Use font-lock-constant-face, not obsolete font-lock-reference-face.
11052 2010-05-27 Masatake YAMATO <yamato@redhat.com>
11054 * htmlfontify.el (hfy-face-resolve-face): New function.
11055 (hfy-face-to-style): Use it (Bug#6279).
11057 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11059 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
11060 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
11062 2010-05-26 Glenn Morris <rgm@gnu.org>
11064 * emulation/edt.el (edt-load-keys): Use locate-library.
11066 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
11068 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
11069 (log-edit-changelog-entries): Doc fix.
11070 (log-edit-changelog-insert-entries): Args changed.
11071 Rename relative filenames in ChangeLog entries. Delete tabs.
11072 (log-edit-insert-changelog-entries): Reorganize return value of
11073 `log-edit-changelog-entries' to pass filenames to
11074 log-edit-changelog-insert-entries.
11076 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11078 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
11079 `image-dired-dired-insert-marked-thumbs' to
11080 `image-dired-dired-toggle-marked-thumbs'.
11082 * image-dired.el: Require cl when compiling.
11083 (image-dired-dired-toggle-marked-thumbs): Rename from
11084 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
11085 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
11086 to 'no-dir. Skip files whose names don't match
11087 `image-file-name-regexp'. When file has a thumbnail overlay,
11088 delete it. (Bug#5270)
11090 2010-05-25 Juri Linkov <juri@jurta.org>
11092 * image-mode.el (image-mode): Add image-after-revert-hook to
11094 (image-after-revert-hook): New function. (Bug#5669)
11096 2010-05-25 Juri Linkov <juri@jurta.org>
11098 * image.el (image-animated-p): When delay between animated images
11099 is 0, set it to 10 (0.1 sec). (Bug#6258)
11101 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
11103 * net/tramp.el (tramp-handle-insert-directory): Don't use
11104 `forward-word', its default syntax could be changed.
11106 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
11108 * net/tramp.el (tramp-progress-reporter-update): New defun.
11109 (with-progress-reporter): Use it.
11110 (tramp-process-actions):
11111 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
11112 Preserve current message, in order to let progress reporter continue
11113 afterwards. (Bug#6257)
11115 2010-05-25 Glenn Morris <rgm@gnu.org>
11117 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
11120 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
11122 * net/rcirc.el (rcirc-default-user-name): Change to "user".
11123 (rcirc-default-full-name): Change to "unknown".
11124 (rcirc-user-name-history): Add variable.
11126 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
11127 Jonathan Rockway <jon@jrock.us>
11129 * net/rcirc.el (rcirc-server-alist): Add :pass.
11130 (rcirc): When prompting for connection parameters, also prompt for
11131 username and password.
11132 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
11133 value to server when connecting.
11135 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11137 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
11138 (smie-merge-prec2s): Pass the tables as separate args.
11139 (smie-bnf-precedence-table): Adjust call accordingly.
11140 (smie-prec2-levels): Set levels at the end.
11142 Replace Lisp calls to delete-backward-char by delete-char.
11143 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
11144 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
11145 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
11146 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
11147 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
11148 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
11149 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
11150 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
11151 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
11152 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
11153 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
11154 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
11155 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
11156 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
11157 delete-backward-char by calls to delete-char.
11159 2010-05-25 Kenichi Handa <handa@m17n.org>
11161 * language/hebrew.el (hebrew-shape-gstring): New function.
11162 Register it in composition-function-table for all Hebrew combining
11165 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11167 * epa.el (epa--select-keys): Don't explicitly delete the window since
11168 that can fail (e.g. sole window in frame). Use dedication instead.
11170 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11172 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
11174 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
11176 * image.el (image-refresh): Define as an alias for image-flush.
11178 * image-mode.el (image-toggle-display-image): Caller changed.
11180 2010-05-21 Juri Linkov <juri@jurta.org>
11182 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
11183 Remove "all" from grep-files-aliases. Split grep-files-aliases by
11184 whitespace, call wildcard-to-regexp on substrings and concat them
11185 with "\\|". (Bug#6114)
11187 2010-05-21 Alan Mackenzie <acm@muc.de>
11189 * progmodes/cc-engine.el (c-parse-state-get-strategy):
11190 Replace parameter `here' with `here-' and `here-plus', which sandwich
11191 any pertinent CPP construct.
11192 (c-remove-stale-state-cache-backwards): Fix a bug which happens
11193 when doing (c-parse-state) in a CPP construct: Exclude any "new"
11194 CPP construct from taking part in the scanning.
11196 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
11198 * net/tramp.el (tramp-do-copy-or-rename-file)
11199 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
11200 Tune `with-progress-reporter' messages.
11201 (tramp-handle-vc-registered):
11202 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
11203 (tramp-fish-handle-insert-file-contents)
11204 (tramp-fish-maybe-open-connection):
11205 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11206 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
11207 (tramp-imap-handle-insert-file-contents)
11208 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
11210 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
11212 * add-log.el (change-log-font-lock-keywords):
11213 Highlight all authors in multi-author entries.
11215 * smerge-mode.el (smerge-refine-ignore-whitespace)
11216 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
11217 Fix typos in docstrings.
11218 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
11220 2010-05-21 Glenn Morris <rgm@gnu.org>
11222 * progmodes/fortran.el (fortran-mode):
11223 * progmodes/f90.el (f90-mode): Derive from prog-mode.
11225 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
11226 having a relative path in src/Makefile.in.
11228 2010-05-20 Kevin Ryde <user42@zip.com.au>
11230 * help-mode.el (help-make-xrefs): For Info node links turn
11231 newlines into spaces. Link node names with newlines are matched
11232 by help-xref-info-regexp and buttonized, this change ensures they
11233 can be followed successfully with RET. (Bug#6206)
11235 2010-05-20 Juri Linkov <juri@jurta.org>
11237 * locate.el (locate): Use pop-to-buffer instead of
11238 switch-to-buffer-other-window. (Bug#6204)
11240 2010-05-20 Juri Linkov <juri@jurta.org>
11242 * replace.el (replace-highlight): Fix lazy-highlighting
11243 for `M-s w str M-% str RET'.
11245 2009-12-15 Masatake YAMATO <yamato@redhat.com>
11247 * isearch.el (isearch-yank-word-or-char): Pull next subword
11248 when `subword-mode' is activated. (Bug#6220)
11250 2010-05-20 Mark A. Hershberger <mah@everybody.org>
11252 * isearch.el (isearch-update-post-hook): New hook.
11253 (isearch-update): Use the new hook. (Bug#6225)
11255 2010-05-20 Juri Linkov <juri@jurta.org>
11257 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
11258 [f1], [help], and (char-to-string help-char) instead of "\C-h".
11261 2010-05-20 Juri Linkov <juri@jurta.org>
11263 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
11266 2010-05-20 Juri Linkov <juri@jurta.org>
11268 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
11269 FILE-NAME to read from the minibuffer when called interactively
11270 with prefix argument instead of using buffer-file-name.
11271 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
11273 * dired.el: Update autoloads.
11275 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
11277 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
11278 nxml-finish-element, for consistency with SGML mode.
11280 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
11281 octave-close-block.
11283 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
11285 * composite.el: Require cl when compiling.
11286 (reference-point-alist, compose-gstring-for-graphic)
11287 (compose-gstring-for-terminal): Fix typos in docstrings.
11289 2010-05-19 Juri Linkov <juri@jurta.org>
11291 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
11292 set-window-parameter.
11294 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
11296 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
11298 (tramp-maybe-open-connection): Use it.
11300 2010-05-19 Eli Zaretskii <eliz@gnu.org>
11302 * simple.el (move-end-of-line): Make sure we are at line beginning
11303 before backing up to end of previous line.
11305 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
11307 * password-cache.el (password-cache-remove): Fix docstring.
11309 * net/secrets.el: Autoload the widget functions.
11310 (secrets-search-items, secrets-create-item)
11311 (secrets-get-attributes, secrets-expand-item): Attributes will be
11312 stored on the password database without leading ":", as all other
11313 clients do as well.
11314 (secrets-mode): Fix docstring.
11315 (secrets-show-secrets): Provide it as autoloaded command only when
11316 D-Bus support is available. Check existence of Secret Service API.
11318 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11320 * indent.el (indent-region): Deactivate region (bug#6200).
11322 2010-05-19 Glenn Morris <rgm@gnu.org>
11324 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
11326 2010-05-19 Kenichi Handa <handa@m17n.org>
11328 * composite.el: Register compose-gstring-for-graphic in
11329 composition-function-table only for combining characters (Mn, Mc, Me).
11331 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
11333 * calc/calc-trail.el (calc-trail-isearch-forward)
11334 (calc-trail-isearch-backward): Ensure that the new window
11335 point is set correctly.
11337 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11339 * subr.el (read-quoted-char): Resolve modifiers after key
11340 remapping (bug#6212).
11342 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
11344 Add visualization code for secrets.
11345 * net/secrets.el (secrets-mode): New major mode.
11346 (secrets-show-secrets, secrets-show-collections)
11347 (secrets-expand-collection, secrets-expand-item)
11348 (secrets-tree-widget-after-toggle-function)
11349 (secrets-tree-widget-show-password): New defuns.
11351 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11353 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
11354 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
11355 handled in smie-next-sexp.
11356 (smie-indent-calculate): Provide a starting indentation (so the
11357 recursion is well-founded ;-).
11359 Fix handling of non-associative equal levels.
11360 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
11361 when it's not needed.
11362 (smie-op-left, smie-op-right): New functions.
11363 (smie-next-sexp): New function, extracted from smie-backward-sexp.
11364 Better handle equal levels to distinguish the associative case from
11365 the "multi-keyword construct" case.
11366 (smie-backward-sexp, smie-forward-sexp): Use it.
11368 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
11370 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
11372 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
11373 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
11375 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11377 Provide a simple generic indentation engine and use it for Prolog.
11378 * emacs-lisp/smie.el: New file.
11379 * progmodes/prolog.el (prolog-smie-op-levels)
11380 (prolog-smie-indent-rules): New var.
11381 (prolog-mode-variables): Use them to configure SMIE.
11382 (prolog-indent-line, prolog-indent-level): Remove.
11384 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11386 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
11387 order before computing the averages.
11389 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
11391 * calc/calc-vec.el (calc-histogram):
11392 (calcFunc-histogram): Allow vectors as inputs.
11393 (math-vector-avg): New function.
11395 * calc/calc-ext.el (math-group-float): Have the number of digits
11396 being grouped depend on the radix (Bug#6189).
11398 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
11400 * version.el (emacs-copyright, emacs-version): Don't define here,
11401 now that emacs.c defines it.
11403 2010-05-15 Eli Zaretskii <eliz@gnu.org>
11405 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
11406 "Describe Language Environment" menu item.
11408 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
11410 Bidi-sensitive movement with arrow keys.
11411 * subr.el (right-arrow-command, left-arrow-command): New functions.
11413 * bindings.el (global-map): Bind them to right and left arrow keys.
11415 Don't override standard definition of convert-standard-filename.
11416 * files.el (convert-standard-filename):
11417 Call w32-convert-standard-filename and dos-convert-standard-filename on
11418 the corresponding systems.
11420 * w32-fns.el (w32-convert-standard-filename): Rename from
11421 convert-standard-filename. Doc fix.
11423 * dos-fns.el (dos-convert-standard-filename): Doc fix.
11424 (convert-standard-filename): Don't defalias.
11425 (register-name-alist, make-register, register-value)
11426 (set-register-value, intdos): Obsolete aliases for the
11427 corresponding dos-* functions and variables.
11428 (dos-intdos): Add a doc string.
11430 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
11432 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
11433 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
11434 (math-compose-tex-func):
11435 * calc/calccomp.el (math-compose-expr):
11436 * calc/calc-ext.el (math-format-flat-expr-fancy):
11437 * calc/calc-store.el (calc-read-var-name):
11438 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
11440 * calc/calc.el (var-π, var-φ, var-γ): New variables.
11441 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
11442 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
11443 (math-standard-units): Add units.
11445 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11447 * progmodes/asm-mode.el (asm-mode):
11448 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
11450 * pcomplete.el (pcomplete-completions-at-point): New function,
11451 extracted from pcomplete-std-complete.
11452 (pcomplete-std-complete): Use it.
11454 2010-05-15 Glenn Morris <rgm@gnu.org>
11456 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11457 Remove references to CVS, RCS and Old directories.
11459 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
11461 * calc/calc-bin.el (math-format-twos-complement): Group digits when
11464 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11466 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
11467 (sh-mode-syntax-table): Give it a default value instead.
11468 (sh-header-marker): Make buffer-local.
11469 (sh-mode): Move make-local-variable to the corresponding setq.
11470 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
11471 Use complete-with-action.
11473 * simple.el (prog-mode): New (abstract) major mode.
11474 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
11475 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
11477 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
11479 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
11480 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
11481 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
11482 (sql-make-alternate-buffer-name, sql-placeholders-filter)
11483 (sql-escape-newlines-filter, sql-input-sender)
11484 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
11486 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
11488 Add TeX open-block and close-block keybindings to SGML, and vice versa.
11490 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
11491 latex-open-block and C-c / to latex-close-block.
11493 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
11494 and C-c C-e to sgml-close-tag.
11496 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
11498 * net/tramp.el (with-progress-reporter): Create reporter object
11499 only when the message would be displayed. Handle nested calls.
11500 (tramp-handle-load, tramp-handle-file-local-copy)
11501 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11502 (tramp-maybe-send-script, tramp-find-shell):
11503 Use `with-progress-reporter'.
11504 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
11507 * net/tramp-smb.el (tramp-smb-handle-copy-file)
11508 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11509 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
11510 Use `with-progress-reporter'.
11512 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
11514 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
11515 process everytime when spellchecking from the minibuffer (bug#6143).
11517 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11519 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
11521 * dos-fns.el: Add "dos-" prefix for namespace control.
11522 (convert-standard-filename): Define as alias for
11523 dos-convert-standard-filename but only if applicable.
11525 2010-05-12 Alan Mackenzie <acm@muc.de>
11527 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
11528 Push the mark at the start of these functions when appropriate.
11530 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11532 * minibuffer.el (completion-cycle-threshold): New custom var.
11533 (completion--do-completion): Use it.
11534 (minibuffer-complete): Use cycling if appropriate.
11536 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
11538 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
11539 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
11541 2010-05-11 Juri Linkov <juri@jurta.org>
11543 * scroll-all.el (scroll-all-check-to-scroll):
11544 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
11546 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11548 * iimage.el (iimage-mode-map): Move initialization into declaration.
11549 (iimage-mode-buffer): Use with-silent-modifications.
11550 Simplify calling convention. Adjust callers.
11551 (iimage-mode): Don't run hook redundantly.
11553 * minibuffer.el (completion-pcm--pattern->regex):
11554 Fix last change (bug#6160).
11556 2010-05-10 Juri Linkov <juri@jurta.org>
11558 Remove nodes visited during Isearch from the Info history.
11559 * info.el (Info-isearch-initial-history)
11560 (Info-isearch-initial-history-list): New variables.
11561 (Info-isearch-start): Record initial values of
11562 Info-isearch-initial-history and Info-isearch-initial-history-list.
11563 Add Info-isearch-end to isearch-mode-end-hook.
11564 (Info-isearch-end): New function.
11566 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
11568 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
11569 format string, in order to work around a bug in pdksh.
11570 Reported by Gilles Pion <gpion@lfdj.com>.
11571 (tramp-handle-verify-visited-file-modtime): Do not send a command
11572 when the connection is not established.
11573 (tramp-handle-set-file-times): Simplify the check for utc.
11575 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
11577 Fix use of `filter-buffer-substring' (rework previous change).
11578 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
11579 (cua-repeat-replace-region):
11580 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
11581 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11582 (cua-cut-region-to-global-mark): Use it.
11584 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
11586 * progmodes/sql.el: Version 2.1.
11587 (sql-product-alist): Redesign structure of product info.
11588 (sql-product, sql-user, sql-server, sql-database): Safe variables.
11589 (sql-port, sql-port-history): New variables.
11590 (sql-interactive-product): New variable.
11591 (sql-send-terminator): New variable.
11592 (sql-imenu-generic-expression): Add "Types" imenu entry.
11593 (sql-oracle-login-params, sql-sqlite-login-params)
11594 (sql-mysql-login-params, sql-solid-login-params)
11595 (sql-sybase-login-params, sql-informix-login-params)
11596 (sql-ingres-login-params, sql-ms-login-params)
11597 (sql-postgres-login-params, sql-interbase-login-params)
11598 (sql-db2-login-params, sql-linter-login-params)
11599 (sql-oracle-scan-on): New variables.
11600 (sql-mode-map): Add C-c C-i to start interactive mode.
11601 (sql-mode-menu): Update existing menu entries.
11602 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
11603 (sql-mode-oracle-font-lock-keywords)
11604 (sql-mode-postgres-font-lock-keywords)
11605 (sql-mode-ms-font-lock-keywords)
11606 (sql-mode-sybase-font-lock-keywords)
11607 (sql-mode-informix-font-lock-keywords)
11608 (sql-mode-interbase-font-lock-keywords)
11609 (sql-mode-ingres-font-lock-keywords)
11610 (sql-mode-solid-font-lock-keywords)
11611 (sql-mode-mysql-font-lock-keywords)
11612 (sql-mode-sqlite-font-lock-keywords)
11613 (sql-mode-db2-font-lock-keywords)
11614 (sql-mode-linter-font-lock-keywords): Update initialization to
11615 reduce run-time complexity.
11616 (sql-add-product, sql-del-product): New functions.
11617 (sql-set-product-feature, sql-get-product-feature): New functions.
11618 (sql-product-font-lock): Update product API.
11619 (sql-add-product-keywords): New function.
11620 (sql-highlight-product): Update product API.
11621 (sql-help-list-products): New function.
11622 (sql-help): Dynamically lists free and non-free products.
11623 (sql-get-login): Correct bug in handling history and added
11625 (sql-copy-column): Copy without properties.
11626 (sqli-input-sender): Apply filters to SQLi input.
11627 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
11628 Implement as a filter.
11629 (sql-escape-newlines-filter): Implement as a filter.
11630 (sql-remove-tabs-filter): New function.
11631 (sql-send-magic-terminator): New function.
11632 (sql-send-string): Implement magic terminator.
11633 (sql-send-region): Use `sql-send-string'.
11634 (sql-interactive-mode): Use product API.
11635 (sql-product-interactive): Use product API.
11636 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
11637 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
11638 (sql-db2, sql-linter): Use `sql-product-interactive'.
11639 (sql-connect): New function.
11640 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
11641 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
11642 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
11643 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
11646 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11648 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
11649 New custom variable.
11650 (completion-pcm--string->pattern): Use it.
11651 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
11652 Make it handle any symbol as `any'.
11653 (completion-pcm--merge-completions): Extract common suffix for the new
11654 `prefix' symbol as well.
11655 (completion-substring--all-completions): Use the new `prefix' symbol.
11657 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
11659 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
11661 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
11662 (tramp-compat-funcall): New defmacro.
11663 (tramp-compat-line-beginning-position)
11664 (tramp-compat-line-end-position)
11665 (tramp-compat-temporary-file-directory)
11666 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
11667 (tramp-compat-copy-file, tramp-compat-copy-directory)
11668 (tramp-compat-delete-file, tramp-compat-delete-directory)
11669 (tramp-compat-number-sequence, tramp-compat-process-running-p)
11670 * net/tramp.el (top, with-progress-reporter)
11671 (tramp-rfn-eshadow-setup-minibuffer)
11672 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
11673 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
11674 (tramp-completion-mode-p, tramp-check-for-regexp)
11675 (tramp-open-connection-setup-interactive-shell)
11676 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
11677 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
11678 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
11679 * net/tramp-cmds.el (tramp-cleanup-all-connections)
11680 (tramp-reporter-dump-variable, tramp-load-report-modules)
11681 (tramp-append-tramp-buffers)
11682 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
11684 * net/tramp-imap.el (top): Autoload `epg-make-context'.
11686 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11688 * progmodes/compile.el (compilation-buffer-modtime): Rename from
11689 buffer-modtime. Adjust users.
11691 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11693 * international/mule.el (auto-coding-alist): Only purecopy
11694 car of each item, not the whole list (Bug#6083).
11696 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11698 * progmodes/js.el (js-mode): Make paragraph variables local before
11699 calling c-setup-paragraph-variables (Bug#6071).
11701 2010-05-08 Eli Zaretskii <eliz@gnu.org>
11703 * composite.el (compose-region, reference-point-alist): Fix typos
11704 in the doc strings.
11706 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11708 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
11709 gnuplot's "set" command.
11711 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11713 * abbrev.el (last-abbrev-text): Doc fix.
11714 (abbrev-prefix-mark): Don't escape parenthesis.
11716 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
11718 * composite.el (find-composition): Doc fix.
11720 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11722 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
11723 (sql-oracle-program, sql-sqlite-options)
11724 (sql-query-placeholders-and-send): Doc fixes.
11725 (sql-set-product, sql-interactive-mode): Reflow docstrings.
11726 (sql-imenu-generic-expression, sql-buffer)
11727 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
11728 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
11729 (sql-mode-sybase-font-lock-keywords)
11730 (sql-mode-informix-font-lock-keywords)
11731 (sql-mode-interbase-font-lock-keywords)
11732 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
11733 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
11734 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
11735 (sql-product-feature, sql-highlight-product)
11736 (comint-line-beginning-position, sql-rename-buffer)
11737 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
11738 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
11739 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
11740 Fix typos in docstrings.
11742 2010-05-08 Juri Linkov <juri@jurta.org>
11744 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
11745 property instead of `invisible' and `after-string' (bug#5998).
11747 2010-05-08 Juri Linkov <juri@jurta.org>
11749 * image-mode.el (image-mode-as-text): Fix typo in docstring.
11751 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11753 * filecache.el (file-cache-add-directory-list)
11754 (file-cache-add-directory-recursively): Fix typos in docstrings.
11756 2010-05-08 Kenichi Handa <handa@m17n.org>
11758 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
11759 (gujarati-composable-pattern): Fix typo.
11761 2010-05-08 Kenichi Handa <handa@m17n.org>
11763 * language/indian.el (oriya-composable-pattern)
11764 (tamil-composable-pattern, malayalam-composable-pattern):
11765 Add two-part vowels to "v" (vowel sign).
11767 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11769 * files.el (copy-directory): Handle symlinks (Bug#5982).
11771 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
11773 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
11774 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
11777 2010-05-08 Glenn Morris <rgm@gnu.org>
11779 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11781 * minibuffer.el (completion-at-point): Doc fix.
11783 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11785 * electric.el (Electric-command-loop): Minor tweak.
11787 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11788 better with dedicated windows.
11790 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
11792 * Version 23.2 released.
11794 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11795 Stefan Monnier <monnier@iro.umontreal.ca>
11797 Highlight vendor specific properties.
11798 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11799 (css-proprietary-property): New face.
11800 (css-font-lock-keywords): Use them.
11802 2010-05-07 Eli Zaretskii <eliz@gnu.org>
11804 * cus-start.el (all): Add native condition for tool-bar-* symbols.
11806 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11808 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11809 * files.el (auto-mode-alist): Remove redundant entries.
11811 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11812 * simple.el (auto-save-mode): Move from files.el.
11813 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11815 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
11817 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11819 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
11821 * mail/binhex.el (binhex-decode-region-internal)
11822 * mail/uudecode.el (uudecode-decode-region-internal)
11823 * net/dns.el (dns-read-string-name, dns-write, dns-read)
11824 (dns-read-type, dns-query)
11825 * pgg-parse.el (pgg-parse-armor)
11826 * pgg.el (pgg-verify-region)
11827 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11830 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11832 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
11834 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11836 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11837 * emulation/cua-base.el (cua-repeat-replace-region):
11838 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11839 (cua-cut-region-to-global-mark):
11840 Remove text properties with `set-text-properties'.
11842 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
11844 * net/tramp.el (top, with-progress-reporter):
11845 Use `symbol-function' inside `funcall'.
11847 * net/tramp-compat.el (tramp-compat-file-attributes)
11848 (tramp-compat-delete-file, tramp-compat-delete-directory):
11849 Handle only `wrong-number-of-arguments' error.
11851 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11852 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11855 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11857 * minibuffer.el (completion--sreverse, completion--common-suffix):
11859 (completion-pcm--merge-completions): Extract common suffix when safe.
11861 * emacs-lisp/easy-mmode.el (define-minor-mode):
11862 Make :variable more flexible.
11863 * files.el (auto-save-mode): Use it to define using define-minor-mode.
11865 2010-05-05 Juri Linkov <juri@jurta.org>
11867 Add `slow' and `history' tags to the desktop data.
11869 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11870 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11871 (Info-finder-find-node): Require `finder.el' to be able
11872 to restore node from the desktop.
11873 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
11874 data `Info-history' and `slow' tag in the assoc list.
11875 (Info-restore-desktop-buffer): Don't restore nodes with the
11876 `slow' tag. Restore `Info-history'.
11878 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
11880 Add FORCE argument to `delete-file'.
11882 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11883 forcing to delete the temporary file.
11884 (ange-ftp-delete-file): Add FORCE arg.
11885 (ange-ftp-rename-remote-to-remote)
11886 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11887 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11888 Force file deletion.
11890 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11892 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11893 (tramp-handle-make-symbolic-link, tramp-handle-load)
11894 (tramp-do-copy-or-rename-file-via-buffer)
11895 (tramp-do-copy-or-rename-file-directly)
11896 (tramp-do-copy-or-rename-file-out-of-band)
11897 (tramp-handle-process-file, tramp-handle-call-process-region)
11898 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11899 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11900 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11902 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11903 (tramp-fish-handle-make-symbolic-link)
11904 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11906 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11907 Use `tramp-compat-delete-file'.
11909 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11910 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11912 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11913 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11915 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11916 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11917 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11918 Use `tramp-compat-delete-file'.
11920 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11923 * subr.el (add-minor-mode): Use push.
11924 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11925 * emulation/edt.el (edt-select-mode): Simplify.
11927 Use define-minor-mode in more cases.
11928 * term/tvi970.el (tvi970-set-keypad-mode):
11929 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11930 (normal-erase-is-backspace-mode):
11931 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11932 (set-scroll-bar-mode-1): (Re)move to its sole caller.
11933 (get-scroll-bar-mode): New function.
11934 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11936 Use define-minor-mode for less obvious cases.
11937 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11938 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11939 * international/iso-ascii.el (iso-ascii-mode):
11940 * frame.el (auto-raise-mode, auto-lower-mode):
11941 * composite.el (global-auto-composition-mode): Use define-minor-mode.
11943 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
11945 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11946 in order to see error messages for failed logins.
11948 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
11950 * diff.el (diff-sentinel):
11952 * epg.el (epg--make-temp-file, epg-decrypt-string)
11953 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11955 * jka-compr.el (jka-compr-partial-uncompress)
11956 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11958 * server.el (server-sentinel): Use delete-file's new FORCE arg
11961 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11963 Use define-minor-mode where applicable.
11964 * view.el (view-mode):
11965 * type-break.el (type-break-query-mode)
11966 (type-break-mode-line-message-mode):
11967 * textmodes/reftex.el (reftex-mode):
11968 * term/vt100.el (vt100-wide-mode):
11969 * tar-mode.el (tar-subfile-mode):
11970 * savehist.el (savehist-mode):
11971 * ibuf-ext.el (ibuffer-auto-mode):
11972 * composite.el (auto-composition-mode):
11973 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11974 Use define-minor-mode.
11975 (vhdl-mode): Use static mode-line format.
11976 (vhdl-mode-line-update): Delete.
11977 (vhdl-create-mode-menu, vhdl-activate-customizations)
11978 (vhdl-hs-minor-mode): Don't bother calling it.
11980 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11982 * simple.el (with-wrapper-hook): Move.
11983 (buffer-substring-filters): Mark obsolete.
11984 (filter-buffer-substring-functions): New variable.
11985 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
11987 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
11988 Michael Albinus <michael.albinus@gmx.de>
11990 Implement compression for inline methods.
11992 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11993 (tramp-copy-size-limit): Allow also nil.
11994 (tramp-inline-compress-commands): New defconst.
11995 (tramp-find-inline-compress, tramp-get-inline-compress)
11996 (tramp-get-inline-coding): New defuns.
11997 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
11998 replaced by `tramp-get-inline-coding'.
11999 (tramp-handle-file-local-copy, tramp-handle-write-region)
12000 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
12002 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12004 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
12005 Remove unused functions.
12007 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
12008 Set find-tag-default-function as a variable rather than a property.
12010 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
12011 * progmodes/etags.el (tags-completion-at-point-function):
12012 Remove left over interactive spec. Add autoloading stub.
12013 (complete-tag): Use tags-completion-at-point-function.
12015 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
12017 * minibuffer.el (tags-completion-at-point-function): Fix return value.
12019 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
12021 * ido.el (ido-init-completion-maps): Remove C-v binding.
12022 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
12024 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
12026 * minibuffer.el (tags-completion-at-point-function): New function.
12027 (completion-at-point-functions): Use it.
12029 * progmodes/etags.el (complete-tag): Revert last change.
12031 2010-04-29 Alan Mackenzie <acm@muc.de>
12033 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
12034 off-by-one error (in end of macro position).
12036 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12038 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
12039 firefox is absent. Don't autoload.
12040 (browse-url-galeon-program): Don't autoload.
12042 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
12044 * bindings.el (complete-symbol): Move into minibuffer.el.
12046 * minibuffer.el (complete-tag): Move from etags.el. If tags
12047 completion cannot be performed, return nil instead of signalling
12049 (completion-at-point): Make it an alias for complete-symbol.
12050 (complete-symbol): Move from bindings.el, and replace with the
12051 body of completion-at-point.
12053 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
12055 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
12057 * net/tramp.el (tramp-remote-selinux-p): New defun.
12058 (tramp-handle-file-selinux-context)
12059 (tramp-handle-set-file-selinux-context): Use it.
12061 2010-04-28 Sam Steingold <sds@gnu.org>
12063 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
12064 `safe-local-variable' if the value is a string or a symbol with
12065 the property `bug-reference-url-format'.
12067 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
12069 * progmodes/bug-reference.el (bug-reference-url-format):
12070 Revert 2010-04-27 change due to security risk.
12072 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12074 Make it possible to locally disable a globally enabled mode.
12075 * simple.el (fundamental-mode): Run fundamental-mode-hook.
12076 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
12077 rather than kill-all-local-variables so it runs fundamental-mode-hook.
12078 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12079 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
12080 that subsequent hooks get a chance to disable it.
12082 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12084 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12085 Avoid re-enabling a minor mode after the user turned the minor mode
12086 off if MODE-enable-in-buffers is run twice (typically once from
12087 fundamental-mode's after-change-major-mode-hook and a second time from
12088 run-mode-hook's own after-change-major-mode-hook).
12090 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
12092 2010-04-27 Sam Steingold <sds@gnu.org>
12094 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
12095 `safe-local-variable' if the value is a string or a function, as
12096 documented and implemented on 2010-04-02.
12098 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
12100 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
12101 when method is 'kill.
12103 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
12105 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
12106 condition in default directory check.
12107 (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
12108 Kill ispell process when killing its associated buffer.
12110 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
12112 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
12113 but we aren't using it.
12115 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
12117 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
12118 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
12120 2010-04-24 Glenn Morris <rgm@gnu.org>
12122 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
12123 Ignore VCS-ignore files, and deleted nextstep preferences files.
12124 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
12125 (authors-ambiguous-files): New list.
12126 (authors-valid-file-names): Add some deleted files.
12127 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
12128 (authors-disambiguate-file-name): New function. (Bug#5501)
12129 (authors-canonical-file-name): Doc fix.
12130 Don't warn about obsolete files.
12131 (authors-canonical-file-name, authors-scan-el):
12132 Use authors-disambiguate-file-name.
12134 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
12135 Add autoload cookies.
12136 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
12137 (generated-autoload-file): Set file-local value to "htmlfontify.el".
12138 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
12139 They have definitions / compiler macros in cl.el.
12140 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
12141 Replace manual autoloads with generated ones.
12142 (htmlfontify-unload-rgb-file): Remove autoload.
12143 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
12145 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12147 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
12148 (byte-compile-setq-default): Optimize for the
12149 single-var case and don't call byte-compile-form in this case to avoid
12150 inf-loop with byte-compile-set-default.
12152 * progmodes/compile.el (compilation-start): Abbreviate default directory.
12154 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
12156 Implement SELINUX backends.
12158 * net/tramp.el (tramp-file-name-handler-alist):
12159 Add `file-selinux-context' and `set-file-selinux-context'.
12160 (tramp-handle-file-selinux-context)
12161 (tramp-handle-set-file-selinux-context): New defuns.
12162 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
12163 Handle PRESERVE-SELINUX-CONTEXT.
12165 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12166 Add `file-selinux-context' and `set-file-selinux-context'.
12167 (tramp-gvfs-handle-file-selinux-context)
12168 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
12169 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
12171 * net/ange-ftp.el (ange-ftp-copy-file):
12172 * net/tramp-fish.el (tramp-fish-handle-copy-file):
12173 * net/tramp-imap.el (tramp-imap-handle-copy-file):
12174 * net/tramp-smb.el (tramp-smb-handle-copy-file):
12175 Add PRESERVE-SELINUX-CONTEXT.
12177 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
12179 Synchronize with Tramp repository.
12181 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
12182 (tramp-action-process-alive, tramp-action-out-of-band)
12183 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
12184 (tramp-exists-file-name-handler): Fix docstring.
12185 (with-progress-reporter): New defmacro.
12186 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
12187 (tramp-maybe-open-connection): Use it.
12189 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
12191 Detect ssh 'ControlMaster' argument automatically in some cases.
12193 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
12194 (tramp-default-method): Use it.
12196 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
12198 * net/tramp.el (tramp-handle-copy-file): Add new optional
12199 parameter `preserve-selinux-context'.
12200 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
12202 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
12204 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
12205 Ensure, that non remote files are still checked. Oops.
12207 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
12211 * icomplete.el (icomplete-completions): Use `non-essential'.
12213 * net/tramp.el (tramp-connectable-p): New defun.
12214 (tramp-handle-expand-file-name)
12215 (tramp-completion-handle-file-name-all-completions)
12216 (tramp-completion-handle-file-name-completion): Use it.
12218 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
12220 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
12222 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
12224 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
12226 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
12228 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
12231 * info.el (info-tool-bar-map): Add labels.
12233 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
12235 * cus-edit.el (custom-commands): Add labels for tool bar.
12236 (custom-buffer-create-internal, Custom-mode): Adjust for
12237 labels in custom-commands.
12239 * dynamic-setting.el: Renamed from font-setting.el.
12241 2010-04-21 John Wiegley <jwiegley@gmail.com>
12243 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
12244 toggles the use of virtual buffers.
12245 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
12246 (ido-toggle-virtual-buffers): New function.
12248 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
12250 Use `define-derived-mode'; fix window selection; doc fixes.
12251 * play/tetris.el (tetris, tetris-update-speed-function)
12252 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
12253 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
12254 (tetris-rotate-next, tetris-end-game, tetris-start-game)
12255 (tetris-pause-game): Fix typos in docstrings.
12256 (tetris-mode-map, tetris-null-map):
12257 Move initialization into declaration.
12258 (tetris-mode): Define with `define-derived-mode';
12259 set show-trailing-whitespace to nil.
12260 (tetris): Prefer window already displaying the "*Tetris*" buffer.
12262 2010-04-21 Karel Klíč <kklic@redhat.com>
12264 * files.el (backup-buffer): Handle SELinux context, and return it
12265 if a backup was made by renaming.
12266 (backup-buffer-copy): Set SELinux context to the target file.
12267 (basic-save-buffer): Set SELinux context of the newly written file.
12268 (basic-save-buffer-1): Now it also returns any SELinux context.
12269 (basic-save-buffer-2): Set SELinux context of the newly created file,
12271 * net/tramp.el (tramp-file-name-for-operation):
12272 Add file-selinux-context.
12274 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
12276 Make the log-edit comments use RFC822 format throughout.
12278 * vc.el (vc-checkin, vc-modify-change-comment):
12279 Adjust to new vc-start/finish-logentry.
12280 (vc-find-conflicted-file): New command.
12281 (vc-transfer-file): Adjust to new vc-checkin.
12282 (vc-next-action): Improve scoping.
12284 * vc-hg.el (vc-hg-log-edit-mode): Remove.
12285 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
12287 * vc-git.el (vc-git-log-edit-mode): Remove.
12288 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
12289 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
12291 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
12292 (vc-start-logentry): Remove argument `extra'.
12293 (vc-finish-logentry): Remove extra args.
12295 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
12296 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
12297 (vc-bzr-conflicted-files): New function.
12299 * log-edit.el (log-edit-extra-flags)
12300 (log-edit-before-checkin-process): Remove.
12301 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
12302 (log-edit-headers-alist): New var.
12303 (log-edit-header-contents-regexp): New const.
12304 (log-edit-match-to-eoh): New function.
12305 (log-edit-font-lock-keywords): Use them.
12306 (log-edit): Insert a "Summary:" header as default.
12307 (log-edit-mode): Mark font-lock rules as case-insensitive.
12308 (log-edit-done): Cleanup headers.
12309 (log-view-process-buffer): Remove.
12310 (log-edit-extract-headers): New function to replace it.
12312 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
12314 * subr.el (default-direction-reversed): Remove obsolescence info.
12316 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12318 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
12321 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
12322 I.e. include text after point in the completion region.
12323 Also, return nil when we're not after/in a symbol.
12325 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
12326 default enable-multibyte-characters.
12328 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12330 * international/mule.el: Help the user choose a valid coding-system.
12331 (read-buffer-file-coding-system): New function.
12332 (set-buffer-file-coding-system): Use it. Prompt the user if the
12333 coding-system cannot encode all the chars.
12335 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
12336 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
12337 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
12338 Don't use *vc-bzr-shelve*.
12340 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
12342 Fix the version number for added files.
12343 * vc-hg.el (vc-hg-working-revision): Check if the file is
12344 registered after hg parent fails (Bug#5961).
12346 2010-04-19 Glenn Morris <rgm@gnu.org>
12348 * htmlfontify.el (htmlfontify-buffer)
12349 (htmlfontify-copy-and-link-dir): Autoload entry points.
12351 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
12353 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
12354 name relative to the project root (Bug#5960).
12356 2010-04-19 Glenn Morris <rgm@gnu.org>
12358 * vc-git.el (vc-git-print-log): Doc fix.
12360 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
12362 * ido.el (ido-file-internal): Fix 2009-12-02 change.
12364 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
12366 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
12367 default settings (Bug#5928).
12369 2010-04-19 Glenn Morris <rgm@gnu.org>
12371 * progmodes/fortran.el (fortran-match-and-skip-declaration):
12373 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
12375 2010-04-19 Kenichi Handa <handa@m17n.org>
12377 * language/indian.el (malayalam-composable-pattern): Fix previous
12378 change (add U+0D4D "SIGN VIRAMA").
12379 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
12380 (tamil-composable-pattern): Fix typo in the regexp.
12381 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
12382 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
12383 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
12385 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
12387 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
12388 paragraph-separate (Bug#5821).
12390 2010-04-19 Juri Linkov <juri@jurta.org>
12392 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
12394 * info.el (Info-find-node-2): Comment out code that skips
12396 (Info-mouse-follow-link): New command.
12397 (Info-link-keymap): New keymap.
12398 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
12399 Return a string with links instead of inserting breadcrumbs
12400 to the Info buffer.
12401 (Info-fontify-node): Comment out code that inserts breadcrumbs.
12402 Instead of putting the `invisible' text property over the Info
12403 header, make an overlay over the Info header with the `invisible'
12404 property and `after-string' set to the string returned by
12405 `Info-breadcrumbs'.
12407 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
12409 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
12410 Reported by monkey@sandpframing.com.
12412 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12414 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
12415 (tmm-get-keymap): Add key-binding shortcuts now that they're not
12416 available in the "keyseq cache" any more.
12418 * custom.el (defcustom): Add edebug spec.
12420 2010-04-18 Juri Linkov <juri@jurta.org>
12422 Test for special mode-class in view-buffer instead of view-file (bug#5513).
12424 * view.el (view-file, view-buffer): Move test for special mode-class
12425 from view-file to view-buffer.
12427 * tar-mode.el (tar-extract): Turn if's into one cond
12428 like in arc-mode.el.
12430 2010-04-18 Juri Linkov <juri@jurta.org>
12432 Add 7z archive format support (bug#5475).
12434 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
12435 (archive-7z-extract): New defcustom.
12436 (archive-find-type): Add magic string for 7z.
12437 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
12438 If `stderr-file' is non-nil, use `(t stderr-file)' for the
12439 `buffer' arg of `call-process'.
12440 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
12441 call the function `archive-7z-extract' with the variable
12442 `archive-7z-extract' let-bound to `archive-zip-extract'.
12443 (archive-7z-summarize, archive-7z-extract): New functions.
12445 * international/mule.el (auto-coding-alist):
12446 * files.el (auto-mode-alist): Add 7z file extension.
12448 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12450 * loadup.el: Setup hash-cons for pure data.
12452 Fix duplicate entries in cedet's loaddefs.el files.
12453 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
12454 Should make most file-local generated-autoload-file unnecessary.
12455 (print-readably): Silence warnings.
12456 (autoload-find-destination): Take load-name as an arg to make sure
12457 it's the same as the one that will be in the file.
12458 (autoload-generate-file-autoloads): Adjust to above changes.
12459 Try to make the dataflow a bit simpler.
12461 * cvs-status.el (cvs-refontify): Remove unused.
12463 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
12465 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
12467 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
12468 twos-complement mode.
12470 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
12472 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
12473 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
12474 (calc-inverse): Add "Option" to message, as appropriate.
12475 (calc-hyperbolic): Add "Option" to message, as appropriate.
12476 (calc-option, calc-is-option): New functions.
12478 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
12479 (calc-option-prefix-help): New function.
12481 * calc/calc-misc.el (calc-help): Add "Option" entry.
12483 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
12484 (calc-option-flag): New variable.
12485 (calc-do): Set `calc-option-flag to nil.
12486 (calc-set-mode-line): Add "Opt " as appropriate.
12488 2010-04-16 Juri Linkov <juri@jurta.org>
12490 Move scrolling commands from simple.el to window.el
12491 because their primitives are implemented in window.c.
12493 * simple.el (scroll-error-top-bottom)
12494 (scroll-up-command, scroll-down-command, scroll-up-line)
12495 (scroll-down-line, scroll-other-window-down)
12496 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12497 * window.el (scroll-error-top-bottom)
12498 (scroll-up-command, scroll-down-command, scroll-up-line)
12499 (scroll-down-line, scroll-other-window-down)
12500 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12501 Move from simple.el to window.el because their primitives are
12502 implemented in window.c.
12504 2010-04-16 Juri Linkov <juri@jurta.org>
12506 * isearch.el (isearch-lookup-scroll-key): Check both
12507 `isearch-scroll' and `scroll-command' properties.
12508 (scroll-up, scroll-down): Remove `isearch-scroll' property.
12510 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
12512 * simple.el (scroll-up-command, scroll-down-command)
12513 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
12515 2010-04-15 Juri Linkov <juri@jurta.org>
12517 * simple.el (scroll-up-command, scroll-down-command)
12518 (scroll-up-line, scroll-down-line): Put `scroll-command'
12519 property on the these symbols. Remove them from
12520 `scroll-preserve-screen-position-commands'.
12522 * mwheel.el (mwheel-scroll): Put `scroll-command' and
12523 `isearch-scroll' properties on the `mwheel-scroll' symbol.
12524 Remove it from `scroll-preserve-screen-position-commands'.
12526 * isearch.el (isearch-allow-scroll): Doc fix.
12528 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
12530 * net/tramp.el (tramp-error-with-buffer): Don't show the
12531 connection buffer when we are in completion mode.
12532 (tramp-file-name-handler): Catch the error for some operations
12533 when we are in completion mode. This gives the user the chance to
12534 correct the file name in the minibuffer.
12536 2010-04-15 Glenn Morris <rgm@gnu.org>
12538 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
12540 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
12542 Simplify by using `define-derived-mode'.
12543 * info.el (Info-mode):
12544 * calendar/todo-mode.el (todo-mode):
12545 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
12546 (gomoku-mode-map): Move initialization into declaration.
12548 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
12551 * ido.el (ido-file-name-all-completions-1):
12552 * minibuffer.el (minibuffer-completion-help):
12553 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
12555 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12557 * simple.el (non-essential): New var.
12559 Add a new field `location' to bookmarks for non-file bookmarks.
12560 * bookmark.el (bookmark-location): Use the new field, if present.
12561 (bookmark-insert-location): Undo last change, not needed any more.
12562 * man.el (Man-bookmark-make-record):
12563 * woman.el (woman-bookmark-make-record): Add `location' field.
12565 2010-04-14 Juri Linkov <juri@jurta.org>
12567 * simple.el (scroll-error-top-bottom): New defcustom.
12568 (scroll-up-command, scroll-down-command): Use it. Doc fix.
12570 * emulation/pc-select.el (pc-select-override-scroll-error):
12571 Obsolete in favor of `scroll-error-top-bottom'.
12573 2010-04-14 Juri Linkov <juri@jurta.org>
12575 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
12576 `scroll-up-command' and `M-v' to `scroll-down-command'.
12578 * emulation/cua-rect.el (cua--init-rectangles):
12579 * forms.el (forms--change-commands):
12580 * image-mode.el (image-mode-map):
12581 Remap scroll-down-command and scroll-up-command
12582 in addition to scroll-down and scroll-up.
12584 2010-04-14 Juri Linkov <juri@jurta.org>
12586 * mwheel.el (scroll-preserve-screen-position-commands):
12587 Add mwheel-scroll to this list of commands.
12589 * simple.el (scroll-preserve-screen-position-commands):
12590 Add scroll-up-command, scroll-down-command, scroll-up-line,
12591 scroll-down-line to this list of commands.
12593 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12595 * obsolete/complete.el: Move from lisp/complete.el.
12597 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
12599 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
12600 to the minor mode function now turns the mode ON unconditionally.
12602 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12604 * vc-dir.el (vc-dir-kill-line): New command.
12605 (vc-dir-mode-map): Bind it to C-k.
12607 * bookmark.el (bookmark-insert-location): Handle a nil filename.
12609 * woman.el: Add bookmark declarations to silence the compiler.
12610 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
12611 step to compatibility between man and woman bookmarks.
12612 Adjust for Man-default-bookmark-title renaming.
12613 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
12615 * man.el: Add bookmark declarations to silence the compiler.
12616 (Man-name-local-regexp): Make it match NAME as well.
12617 (Man-getpage-in-background): Return the buffer.
12618 (Man-notify-when-ready): Use `case'.
12619 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
12620 Don't hardcode "NAME". Simplify.
12621 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
12622 Rename from Man-bookmark-make-record.
12623 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
12624 we have the actual man-args. Use Man-getpage-in-background rather
12625 than `man' since the arg is already processed. Let bookmark.el do the
12626 window handling. Only wait for the relevant process.
12627 Don't forget to autoload.
12629 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
12631 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12633 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
12635 (woman-mode): Setup bookmark support.
12637 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
12638 (man-bookmark-jump): New functions.
12639 (Man-mode): Setup bookmark support.
12641 2010-04-10 Jari Aalto <jari.aalto@cante.net>
12643 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
12644 recognize ssh-keygen prompt (Bug#2817).
12646 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12648 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
12650 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12652 Synchronize with Tramp repository.
12654 * net/tramp.el (tramp-completion-function-alist)
12655 (tramp-file-name-regexp, tramp-chunksize)
12656 (tramp-local-coding-commands, tramp-remote-coding-commands):
12658 (tramp-remote-process-environment): Use `format' instead of `concat'.
12659 (tramp-handle-directory-files-and-attributes)
12660 (tramp-get-remote-path): Use `copy-tree'.
12661 (tramp-handle-file-name-all-completions): Backward/ XEmacs
12662 compatibility: Use `completion-ignore-case' if
12663 `read-file-name-completion-ignore-case' does not exist.
12664 (tramp-do-copy-or-rename-file-directly): Do not use
12665 `tramp-handle-file-remote-p'.
12666 (tramp-do-copy-or-rename-file-out-of-band):
12667 Use `tramp-compat-delete-directory'.
12668 (tramp-do-copy-or-rename-file-out-of-band)
12669 (tramp-compute-multi-hops, tramp-maybe-open-connection):
12670 Use `format-spec-make'.
12671 (tramp-find-foreign-file-name-handler)
12672 (tramp-advice-make-auto-save-file-name)
12673 (tramp-set-auto-save-file-modes): Remove superfluous check for
12674 `stringp'. This is done inside `tramp-tramp-file-p'.
12675 (tramp-debug-outline-regexp): New defconst.
12676 (tramp-get-debug-buffer): Use it.
12677 (tramp-check-for-regexp): Use (forward-line 1).
12678 (tramp-set-auto-save-file-modes): Adapt version check.
12680 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
12681 Wrap call of `featurep' for 2nd argument.
12682 (tramp-compat-make-temp-file): Simplify fallback implementation.
12683 (tramp-compat-copy-tree): Remove function.
12684 (tramp-compat-delete-directory): Provide implementation for older
12687 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
12688 Do not use `tramp-fish-handle-file-attributes.
12690 * net/trampver.el: Update release number.
12692 2010-04-10 Glenn Morris <rgm@gnu.org>
12694 * progmodes/compile.el (compilation-save-buffers-predicate):
12695 Add missing :version tag.
12697 2010-04-09 Sam Steingold <sds@gnu.org>
12699 * progmodes/compile.el (compilation-save-buffers-predicate):
12700 Remove the "autoload" cookie.
12702 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
12703 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
12704 and `bug-reference-prog-mode' can be used in hooks directly.
12706 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
12708 Add --author support to git commit.
12709 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
12710 (vc-git-log-edit-mode): New minor mode.
12711 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
12714 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
12716 * vc-hooks.el, vc-git.el: Improve documentation comments.
12718 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12720 Fix some of the problems in defsubst* (bug#5728).
12721 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
12722 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
12724 2010-04-07 Sam Steingold <sds@gnu.org>
12726 * progmodes/compile.el (compilation-save-buffers-predicate):
12727 New custom variable.
12728 (compile, recompile): Pass it to `save-some-buffers'.
12730 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
12732 * wid-edit.el (widget-choose): Move cursor to the second line of
12733 the buffer (Bug#5695).
12735 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12737 Add new VC methods: vc-log-incoming and vc-log-outgoing.
12738 * vc.el (vc-print-log-setup-buttons): New function split out from
12739 vc-print-log-internal.
12740 (vc-log-internal-common): New function, a parametrized version of
12741 vc-print-log-internal.
12742 (vc-print-log-internal): Just call vc-log-internal-common with the
12744 (vc-incoming-outgoing-internal):
12745 (vc-log-incoming, vc-log-outgoing): New functions.
12746 (vc-log-view-type): New permanent local variable.
12748 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
12750 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
12751 of the dynamic bound vc-short-log.
12752 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
12754 * vc-git.el (vc-git-log-outgoing): New function.
12755 (vc-git-log-view-mode): Use vc-log-view-type instead
12756 of the dynamic bound vc-short-log.
12758 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
12759 of the dynamic bound vc-short-log. Highlight the tag.
12760 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
12761 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
12762 (vc-hg-incoming-mode): Remove.
12763 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
12765 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12767 Fix default-directory for vc-root-diff.
12768 * vc.el (vc-root-diff): Bind default-directory to the root
12769 directory for the diff command.
12771 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
12773 * progmodes/verilog-mode.el (verilog-forward-sexp):
12774 (verilog-calc-1): Support "disable fork" and "fork wait" multi
12775 word keywords, suggested by Steve Pearlmutter.
12776 (verilog-pretty-declarations): Support lineup of declarations in
12778 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12779 fix bug for /* / comments.
12780 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12781 Speed up and simplfy as this is never called with a bound.
12782 (verilog-pretty-declarations): Enhance to line up declarations
12783 inside a parameter list, suggested by Alan Morgan.
12784 (verilog-pretty-expr): Tune assignment regular expression match
12785 string for corner cases; also use markers instead of character
12786 number as indent changes the later.
12788 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
12790 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12791 as missing keyword.
12792 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12793 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
12794 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12795 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
12797 (verilog-keywords):
12798 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12799 1800-2009 keywords, including "global.".
12801 2010-04-06 John Wiegley <jwiegley@gmail.com>
12803 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12804 appearing in buffer list (if a live buffer name matched a recentf
12805 file basename). Should use uniquify to offer a real solution.
12807 2010-04-06 John Wiegley <jwiegley@gmail.com>
12809 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12810 comment to code, and add a :version tag.
12811 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12813 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
12815 Enable recentf-mode if using virtual buffers.
12816 * ido.el (recentf-list): Declare for byte-compiler.
12817 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
12818 (ido-make-buffer-list): Simplify.
12819 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
12821 2010-04-05 Juri Linkov <juri@jurta.org>
12823 Scrolling commands which scroll a line instead of full screen.
12824 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12826 * simple.el (scroll-up-line, scroll-down-line): New commands.
12827 Put property isearch-scroll=t on them.
12829 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12832 2010-04-05 Juri Linkov <juri@jurta.org>
12834 Scrolling commands which do not signal errors at top/bottom.
12835 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12837 * simple.el (scroll-up-command, scroll-down-command): New commands.
12838 Put property isearch-scroll=t on them.
12840 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12841 `scroll-down-command' and [next] from `scroll-up' to
12842 `scroll-up-command'.
12844 * emulation/cua-base.el: Put property CUA=move on
12845 `scroll-up-command' and `scroll-down-command'.
12846 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12847 and `scroll-down-command' to `cua-scroll-down'.
12849 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
12851 * help.el (describe-mode): Return nil.
12853 2010-04-04 John Wiegley <jwiegley@gmail.com>
12855 * ido.el (ido-use-virtual-buffers): New variable to indicate
12856 whether "virtual buffer" support is enabled for IDO.
12857 (ido-virtual): Face used to indicate virtual buffers in the list.
12858 (ido-buffer-internal): If a buffer is chosen, and no such buffer
12859 exists, but a virtual buffer of that name does (which would be why
12860 it was in the list), recreate the buffer by reopening the file.
12861 (ido-make-buffer-list): If virtual buffers are being used, call
12862 `ido-add-virtual-buffers-to-list' before the make list hook.
12863 (ido-virtual-buffers): New variable which contains a copy of the
12864 current contents of the `recentf-list', albeit pared down for the
12865 sake of speed, and with proper faces applied.
12866 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12867 create a list of "virtual buffers" to present to the user in
12868 addition to the currently open set. Note that this logic could
12869 get rather slow if that list is too large. With the default
12870 `recentf-max-saved-items' of 200, there is little speed penalty.
12872 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
12874 * font-lock.el: Require CL when compiling.
12875 (font-lock-turn-on-thing-lock): Use `case'.
12877 2010-04-03 Eli Zaretskii <eliz@gnu.org>
12879 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12882 2010-04-02 Juri Linkov <juri@jurta.org>
12884 * ehelp.el (electric-help-orig-major-mode):
12885 New buffer-local variable.
12886 (electric-help-mode): Set it to original major-mode. Doc fix.
12887 (with-electric-help): Use `electric-help-orig-major-mode' instead
12888 of (default-value 'major-mode). Doc fix.
12889 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12891 2010-04-02 Sam Steingold <sds@gnu.org>
12893 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12894 `vc-hg-command' with a list of flags.
12896 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12897 Also accept "patch" and "RFE".
12898 (bug-reference-fontify): `bug-reference-url-format' can also be a
12899 function to be able to handle the bug kind.
12900 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12902 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
12904 * tmm.el (tmm-get-keymap): Check with symbolp before passing
12905 value to fboundp, it may not be a symbol.
12907 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12909 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12911 2010-03-31 Juri Linkov <juri@jurta.org>
12913 * simple.el (next-line, previous-line): Re-throw a signal
12914 with `signal' instead of using `ding'.
12915 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12917 2010-03-31 Juri Linkov <juri@jurta.org>
12919 * simple.el (keyboard-escape-quit): Raise deselecting the active
12920 region higher than exiting the minibuffer.
12921 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12923 2010-03-31 Juri Linkov <juri@jurta.org>
12925 * image.el (image-animated-p): Use `image-metadata' instead of
12926 `image-extension-data'. Get GIF extenstion data from metadata
12927 property `extension-data'.
12929 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12931 * simple.el (append-to-buffer): Simplify.
12933 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
12935 * textmodes/artist.el (artist-mode): Fix typo in docstring.
12936 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
12938 2010-03-31 Kenichi Handa <handa@m17n.org>
12940 * language/sinhala.el (composition-function-table): Fix regexp for
12941 the new Unicode specification.
12943 * language/indian.el (devanagari-composable-pattern)
12944 (tamil-composable-pattern, kannada-composable-pattern)
12945 (malayalam-composable-pattern): Adjust for the new Unicode
12947 (bengali-composable-pattern, gurmukhi-composable-pattern)
12948 (gujarati-composable-pattern, oriya-composable-pattern)
12949 (telugu-composable-pattern): New variables to cope with the new
12950 Unicode specification. Use them in composition-function-table.
12952 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12954 Make tmm-menubar work for the Buffers menu again (bug#5726).
12955 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12956 vectors rather than cons cells, as used in menu-bar-update-buffers.
12958 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12960 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12961 (js-insert-and-indent): Revert 2009-08-15 change, restoring
12962 electric punctuation for "{}();,:" (Bug#5586).
12964 * mail/sendmail.el (mail-default-directory): Doc fix.
12966 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12968 * mail/sendmail.el (mail-default-directory): Doc fix.
12970 2010-03-31 Eli Zaretskii <eliz@gnu.org>
12972 * subr.el (version-regexp-alist, version-to-list)
12973 (version-list-<, version-list-=, version-list-<=)
12974 (version-list-not-zero, version<, version<=, version=): Doc fix.
12977 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
12979 * vc.el (vc-root-diff): Doc fix.
12981 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12983 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12985 * simple.el (append-to-buffer): Fix last change.
12987 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12989 * simple.el (append-to-buffer): Ensure that point is preserved if
12990 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
12993 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12995 * files.el (auto-mode-case-fold): Change default to t.
12997 2010-03-30 Juri Linkov <juri@jurta.org>
12999 * dired-x.el (dired-omit-mode): Doc fix.
13001 2010-03-30 Juri Linkov <juri@jurta.org>
13003 * replace.el (occur-accumulate-lines): Move occur-engine related
13004 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
13005 to be located after `occur-engine'.
13007 2010-03-30 Juri Linkov <juri@jurta.org>
13009 Make occur handle multi-line matches cleanly with context.
13010 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
13012 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
13013 (occur-engine): Add local variables `ret', `prev-after-lines',
13014 `prev-lines'. Use more arguments for `occur-context-lines'.
13015 Set first elem of its returned list to `data', and the second elem
13016 to `prev-after-lines'. Don't print the separator line.
13017 In the end, print remaining context after-lines.
13018 (occur-context-lines): Add new arguments `begpt', `endpt',
13019 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
13020 after-lines of the previous match with before-lines of the
13021 current match and not overlap them. Return a list with two
13022 values: the output line and the list of context after-lines.
13024 2010-03-30 Juri Linkov <juri@jurta.org>
13026 * replace.el (occur-accumulate-lines): Fix a bug where the first
13027 context line at the beginning of the buffer was missing.
13029 2010-03-30 Eli Zaretskii <eliz@gnu.org>
13031 * files.el: Make bidi-display-reordering safe variable for boolean
13034 2010-03-29 Phil Hagelberg <phil@evri.com>
13035 Chong Yidong <cyd@stupidchicken.com>
13037 * subr.el: Extend progress reporters to perform "spinning".
13038 (progress-reporter-update, progress-reporter-do-update):
13039 Handle non-numeric value arguments.
13040 (progress-reporter--pulse-characters): New var.
13042 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
13044 * progmodes/compile.el (compilation-start): Fix regexp detection
13045 of initial cd command (Bug#5771).
13047 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
13049 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
13051 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
13053 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
13054 * progmodes/gdb-mi.el: Restore.
13055 * progmodes/gdb-ui.el: Remove.
13056 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
13058 2010-03-25 Glenn Morris <rgm@gnu.org>
13060 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
13061 all dired buffers, even tramp ones. (Bug#5755)
13063 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13065 Add "union tags" in mpc.el.
13066 * mpc.el: Remove backward compatibility code.
13067 (mpc-browser-tags): Change default.
13068 (mpc--find-memoize-union-tags): New var.
13069 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
13070 (mpc-cmd-find): Handle the case where the playlist does not exist.
13072 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
13073 (mpc-cmd-add): Use mpc-cmd-flush.
13074 (mpc-tagbrowser-tag-name): New fun.
13075 (mpc-tagbrowser-buf): Use it.
13076 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
13078 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13081 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
13082 Use replace-regexp-in-string.
13083 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
13084 (makefile-imake-mode-syntax-table): Move init into defvar.
13085 (makefile-mode): Use define-derived-mode.
13087 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
13088 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
13089 not be present any more.
13091 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
13093 * faces.el (set-face-attribute): Fix typo in docstring.
13094 (face-valid-attribute-values): Reflow docstring.
13096 2010-03-24 Glenn Morris <rgm@gnu.org>
13098 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
13100 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
13102 * indent.el (indent-for-tab-command): Doc fix.
13104 2010-03-24 Alan Mackenzie <acm@muc.de>
13106 * progmodes/cc-engine.el (c-remove-stale-state-cache):
13107 Fix off-by-one error. Fixes bug #5747.
13109 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
13111 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
13112 (image-dired-read-comment): Doc fix.
13114 * json.el (json-object-type, json-array-type, json-key-type)
13115 (json-false, json-null, json-read-number):
13116 * minibuffer.el (completion-in-region-functions):
13117 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
13118 (cal-tex-cursor-week):
13119 * emacs-lisp/trace.el (trace-function):
13120 * eshell/em-basic.el (eshell/printnl):
13121 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
13122 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
13123 * obsolete/levents.el (allocate-event, event-key, event-object)
13124 (event-point, event-process, event-timestamp, event-to-character)
13125 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
13126 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
13127 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
13128 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
13129 (reftex-highlight-selection): Fix typos in docstrings.
13131 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
13133 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
13135 2010-03-24 Glenn Morris <rgm@gnu.org>
13137 * mail/rmail.el (rmail-highlight-face): Restore option deleted
13138 2008-02-13 without comment; mark it obsolete.
13139 (rmail-highlight-headers): Use rmail-highlight-face once more.
13141 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
13143 * woman.el (woman2-process-escapes): Only consume the newline if
13144 the filler character is on a line by itself (Bug#5729).
13146 2010-03-24 Kenichi Handa <handa@m17n.org>
13148 * language/indian.el (devanagari-composable-pattern): Add more
13151 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
13153 * net/trampver.el: Update release number.
13155 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
13157 * net/tramp.el (tramp-find-executable):
13158 Use `tramp-get-connection-buffer'. Make the regexp for checking
13159 output of "wc -l" more robust.
13160 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
13161 (tramp-open-connection-setup-interactive-shell): Remove workaround
13162 for OpenSolaris bug, it is not needed anymore.
13164 2010-03-24 Glenn Morris <rgm@gnu.org>
13166 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
13168 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
13170 * files.el (auto-mode-alist): Accept more verilog file patterns.
13172 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13174 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
13176 2010-03-24 Glenn Morris <rgm@gnu.org>
13178 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
13179 log-edit-before-checkin-process.
13181 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
13183 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
13185 * vc-dispatcher.el (vc-start-logentry): Doc fix.
13186 (log-view-process-buffer, log-edit-extra-flags): Declare.
13188 * log-edit.el (log-edit-before-checkin-process): Doc fix.
13190 2010-03-23 Sam Steingold <sds@gnu.org>
13192 Fix bug#5620: recalculate all markers on compilation buffer
13193 modifications, not on file modifications.
13194 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
13195 variable: the buffer modification time, for buffers not associated with
13197 (compilation-mode): Create it.
13198 (compilation-filter): Update it.
13199 (compilation-next-error-function): Use it instead of
13200 `visited-file-modtime' for timestamp.
13202 2010-03-23 Juri Linkov <juri@jurta.org>
13204 Implement Occur multi-line matches.
13205 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
13207 * replace.el (occur): Doc fix.
13208 (occur-engine): Set `begpt' to the beginning of the first line.
13209 Set `endpt' to the end of the last match line. At first, count
13210 line numbers between `origpt' and `begpt'. Split out code from
13211 `out-line' variable to new let-bindings `match-prefix' and
13212 `match-str'. In `out-line' add non-numeric prefix to all
13213 non-first lines of multi-line matches. Finally, count lines
13214 between `begpt' and `endpt' and add to `lines'.
13216 2010-03-23 Juri Linkov <juri@jurta.org>
13218 * replace.el (occur-accumulate-lines, occur-engine):
13219 Use `occur-engine-line' instead of duplicate code.
13220 (occur-engine-line): New function created from duplicate code
13221 in `occur-accumulate-lines' and `occur-engine'.
13223 * replace.el (occur-engine-line): Add optional arg `keep-props'.
13224 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
13226 2010-03-23 Juri Linkov <juri@jurta.org>
13228 * finder.el: Remove TODO tasks.
13230 * info.el (Info-finder-find-node): Add node "all"
13231 with all package info. Handle a list of multiple keywords
13232 separated by comma.
13233 (info-finder): In interactive use with a prefix argument,
13234 use `completing-read-multiple' to read a list of keywords
13235 separated by comma.
13237 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
13239 Add a new completion style `substring'.
13240 * minibuffer.el (completion-basic--pattern): New function.
13241 (completion-basic-try-completion, completion-basic-all-completions):
13243 (completion-substring--all-completions)
13244 (completion-substring-try-completion)
13245 (completion-substring-all-completions): New functions.
13246 (completion-styles-alist): New style `substring'.
13248 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
13250 Get rid of .elc files after removal of the corresponding .el.
13251 * Makefile.in (compile-clean): New target.
13252 (compile-main): Use it.
13254 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
13256 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
13257 don't do make there. When compiling with separate object dir, there
13258 is no Makefile there.
13260 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
13262 Get rid of the ELCFILES abomination, again.
13263 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13264 (all, compile): Don't call compile-last.
13265 (compile-main): Build the "elcfiles" list dynamically.
13266 (compile-targets): New (internal) target.
13268 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
13270 * Makefile.in (top_srcdir): Define.
13271 (abs_top_builddir): Define.
13272 (srcdir): Don't append `/..'.
13273 (EMACS): Use ${abs_top_builddir}.
13274 (all, compile, compile-always, compile-last): Don't set emacswd.
13275 (update-subdirs, update-authors): Use $(top_srcdir) instead of
13277 (lisp): Use $(srcdir) instead of @srcdir@.
13279 2010-03-21 Juri Linkov <juri@jurta.org>
13281 Fix message of multi-line occur regexps and multi-buffer header lines.
13282 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
13284 * replace.el (occur-1): Don't display regexp if it is longer
13285 than window-width. Use `query-replace-descr' to display regexp.
13286 (occur-engine): Don't display regexp in the buffer header for
13287 multi-buffer occur. Display a separate header line with total
13288 match count and regexp for multi-buffer occur.
13289 Use `query-replace-descr' to display regexp.
13291 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
13293 * net/secrets.el: Fix parenthesis.
13294 (secrets-enabled): Fix parenthesis.
13296 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13298 Use more relative file and directory names.
13299 * Makefile.in (EMACS): Arrange for it to work when we chdir.
13300 (setwins, setwins_almost, setwins_for_subdirs):
13301 Don't `cd'; output relative names.
13302 (all, compile, compile-always, compile-last): Set emacswd.
13303 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
13304 Just cd to the lisp source dir so we can use relative file names.
13306 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
13308 2010-03-20 Glenn Morris <rgm@gnu.org>
13310 * textmodes/rst.el: Use faces for font-lock customization, and make the
13311 old -face variables obsolete.
13312 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
13313 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
13314 (rst-block-face, rst-external-face, rst-definition-face)
13315 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
13316 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
13318 (rst-font-lock-keywords-function): Update for above changes.
13320 2010-03-20 Juri Linkov <juri@jurta.org>
13323 * obsolete/s-region.el: Move to obsolete.
13325 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
13327 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
13329 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
13331 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
13333 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
13335 Add special markup processing for commit logs.
13336 * log-edit.el (log-edit-extra-flags): New variable.
13337 (log-edit): Add new argument MODE. Use that mode when non-nil
13338 instead of the log-view-mode.
13339 (log-view-process-buffer): New function.
13341 * vc.el: Document that the checkin method takes optional
13342 arguments. Document new backend specific method: log-view-mode.
13343 (vc-default-log-edit-mode): New function.
13344 (vc-checkin): Use a backend specific log-view-mode.
13345 Pass extra arguments to the checkin method.
13346 (vc-modify-change-comment): Pass a dummy extra argument.
13348 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
13350 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
13351 (vc-finish-logentry): Process the log buffer before passing it
13352 down. Pass log-edit-extra-flags.
13354 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
13356 (log-edit-extra-flags, log-edit-before-checkin-process):
13359 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
13361 (log-edit-extra-flags, log-edit-before-checkin-process):
13363 (vc-hg-log-edit-mode): New derived mode.
13365 * vc-arch.el (vc-arch-checkin):
13366 * vc-cvs.el (vc-cvs-checkin):
13367 * vc-git.el (vc-git-checkin):
13368 * vc-mtn.el (vc-mtn-checkin):
13369 * vc-rcs.el (vc-rcs-checkin):
13370 * vc-sccs.el (vc-sccs-checkin):
13371 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
13373 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13375 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
13378 2010-03-19 Glenn Morris <rgm@gnu.org>
13380 * password-cache.el (password-cache, password-cache-expiry): Autoload.
13382 2010-03-18 Glenn Morris <rgm@gnu.org>
13384 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
13386 * replace.el (query-replace-history): Give it a doc string.
13387 (map-query-replace-regexp): Use query-replace-from-history-variable
13388 and query-replace-to-history-variable.
13390 * mail/hashcash.el (declare-function): Remove duplicate definition.
13392 * mail/emacsbug.el (report-emacs-bug-pretest-address):
13393 Make it an obsolete alias for report-emacs-bug-address.
13394 (message-strip-special-text-properties): Declare.
13395 (report-emacs-bug): Remove test for a pretest bug address.
13396 Combine message-mode-specific code.
13398 * mail/supercite.el: Don't require sendmail.
13399 (mh-in-header-p): Declare rather than using with-no-warnings.
13400 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
13401 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
13403 * calendar/cal-french.el: Convert to utf-8.
13405 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
13408 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
13410 * net/secrets.el (secrets-enabled): New variable. Use it instead
13413 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
13415 * net/secrets.el (top): Register the D-Bus signals only when the
13416 service "org.freedesktop.secrets" can be pinged.
13417 Provide subfeature `enabled'.
13419 2010-03-14 Juri Linkov <juri@jurta.org>
13421 Add finder unknown keywords.
13423 * finder.el (finder-unknown-keywords): New function.
13425 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
13426 to create a Finder node with unknown keywords.
13428 2010-03-14 Juri Linkov <juri@jurta.org>
13430 * finder.el (finder-compile-keywords): Replace `princ' with
13431 `prin1' on a list of symbols interned from keyword strings.
13433 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
13434 a comma, then split keywords using a comma and optional whitespace.
13435 Otherwise, split by whitespace.
13443 * progmodes/mixal-mode.el: Fix keywords.
13445 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
13447 * Makefile.in (ELCFILES): Add net/secrets.elc.
13449 * net/secrets.el: New file.
13451 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13453 * facemenu.el (list-colors-display, list-colors-print): New arg
13454 callback. Use it to allow selecting colors.
13456 * wid-edit.el (widget-image-insert): Insert image prop even if the
13457 current display is non-graphic.
13458 (widget-field-value-set): New fun.
13459 (editable-field): Use it.
13460 (widget-field-value-get): Clean up unused var.
13461 (widget-color-value-create, widget-color--choose-action):
13462 New funs. Allow using list-colors-display to choose color.
13464 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13466 * cus-edit.el: Resort topmost custom groups.
13467 (custom-buffer-sort-alphabetically): Default to t.
13468 (customize-apropos): Use apropos-parse-pattern.
13469 (custom-search-field): New var.
13470 (custom-buffer-create-internal): Add custom-apropos search field.
13471 (custom-add-parent-links): Don't display parent doc.
13472 (custom-group-value-create): Don't sort top-level custom group.
13473 (custom-magic-value-create): Show visibility button before option name.
13475 (custom-variable-state): New fun, from custom-variable-state-set.
13476 (custom-variable-state-set): Use it.
13477 (custom-group-value-create): Hide options with standard values
13478 using the :hidden-states property. Use progress reporter.
13480 (custom-show): Simplify.
13481 (custom-visibility): Disable images by default.
13482 (custom-variable): New property :hidden-states.
13483 (custom-variable-value-create): Enable images for
13484 custom-visibility widgets. Use :hidden-states property to
13485 determine initial visibility.
13487 * wid-edit.el (widget-image-find): Give images center ascent.
13488 (visibility): Add :on-image and :off-image properties.
13489 (widget-visibility-value-create): Use them.
13491 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13493 * cus-edit.el (processes): Remove from development group.
13494 (oop, hypermedia): Delete group.
13495 (comm): Promote to top-level group.
13497 * net/browse-url.el (browse-url):
13498 * net/xesam.el (xesam):
13499 * net/tramp.el (tramp):
13500 * net/goto-addr.el (goto-address):
13501 * net/ange-ftp.el (ange-ftp): Put in comm group.
13503 * view.el (view): Remove from editing group.
13505 * uniquify.el (uniquify): Put in files group.
13507 * net/browse-url.el (browse-url):
13508 * ps-print.el (postscript): Put in external group.
13510 * cus-edit.el (outlines):
13511 * textmodes/text-mode.el (text-mode-hook):
13512 * textmodes/table.el (table):
13513 * textmodes/picture.el (picture):
13514 * outline.el (outlines): Put in wp group.
13516 * nxml/nxml-mode.el (nxml): Remove from wp group.
13518 * net/tramp-imap.el (tramp-imap): Put in tramp group.
13520 * mail/metamail.el (metamail): Remove from hypermedia group.
13522 * cus-edit.el (abbrev):
13523 * whitespace.el (whitespace):
13524 * vcursor.el (vcursor):
13525 * reveal.el (reveal):
13526 * hl-line.el (hl-line): Put in convenience group.
13528 * epg-config.el (epg): Put in data group.
13530 * emulation/pc-select.el (pc-select): Put in emulations group.
13532 * calculator.el (calculator): Put in applications group.
13534 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13536 Add .dir-locals.el support for file-less buffers.
13537 * files.el (hack-local-variables): Split out code to apply local
13538 variable settings ...
13539 (hack-local-variables-apply): ... here. New function.
13540 (hack-dir-local-variables): Use the default directory for when the
13541 buffer does not have an associated file.
13542 (hack-dir-local-variables-non-file-buffer): New function.
13543 * diff-mode.el (diff-mode):
13544 * vc-annotate.el (vc-annotate-mode):
13545 * vc-dir.el (vc-dir-mode):
13546 * log-edit.el (log-edit-mode):
13547 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
13549 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13551 Add support for shelving snapshots and for showing shelves.
13552 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
13553 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
13555 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13556 (vc-bzr-extra-menu-map): Map them.
13558 2010-03-11 Glenn Morris <rgm@gnu.org>
13560 * cus-edit.el (customize-changed-options-previous-release):
13563 * image.el (image-animate-max-time): Fix :version tag.
13565 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
13569 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
13571 * vc-git.el (vc-git-revision-table): Include remote branches.
13573 2010-03-10 Kim F. Storm <storm@cua.dk>
13575 Animated image API.
13576 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
13578 * image.el (image-animate-max-time): New defcustom.
13579 (image-animated-types): New defconst.
13580 (create-animated-image, image-animate-timer)
13581 (image-animate-start, image-animate-stop, image-animate-timeout)
13582 (image-animated-p): New functions.
13584 * image-mode.el (image-toggle-display-image):
13585 Replace `create-image' with `create-animated-image'.
13587 2010-03-09 Miles Bader <miles@gnu.org>
13589 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
13590 instead of "format:"; this ensures that the output is
13591 newline-terminated.
13593 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
13595 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
13596 that all errors are caught, and that the return value is always a
13599 2010-03-08 Kenichi Handa <handa@m17n.org>
13601 * language/misc-lang.el (windows-1256): New coding system.
13602 (cp1256): New alias of windows-1256 (bug#5690).
13604 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
13606 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
13607 call to rfc822-bad-address. (Bug#5692)
13609 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
13611 * vc-git.el (vc-git-annotate-extract-revision-at-line):
13612 Use vc-git-root as default directory for revision path (Bug#5657).
13614 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
13616 * calculator.el (calculator): Don't bind split-window-keep-point
13619 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
13621 * vc-git.el: Re-flow to fit into 80 columns.
13622 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
13623 Remove spurious `quote' element in each case alternative.
13624 (vc-git-show-log-entry): Use prog1.
13625 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
13627 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
13629 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
13631 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
13633 * macros.el (insert-kbd-macro): Look up keyboard macro using the
13634 definition, not the name (Bug#5481).
13636 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
13638 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
13639 argument with a local variable. (Bug#5670)
13641 2010-03-02 Juri Linkov <juri@jurta.org>
13643 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
13645 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
13647 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
13648 error when FILENAME and NEWNAME are existing remote directories.
13650 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
13651 parameter DIR-FLAG.
13653 2010-03-02 Glenn Morris <rgm@gnu.org>
13655 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
13656 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
13658 2010-03-01 Kenichi Handa <handa@m17n.org>
13660 * language/burmese.el (burmese-composable-pattern): Rename from
13661 myanmar-composable-pattern.
13663 * international/characters.el (script-list):
13664 * international/fontset.el (script-representative-chars):
13665 Change myanmar to burmese.
13666 (otf-script-alist): Likewise.
13667 (setup-default-fontset): Likewise. Re-fix :otf spec.
13669 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
13671 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
13673 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
13675 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
13677 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13679 * net/tramp.el (tramp-handle-write-region): START can be a string.
13680 Take care in the checks. Reported by Dan Davison
13681 <davison@stats.ox.ac.uk>.
13683 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13685 * net/dbus.el (dbus-introspect, dbus-get-property)
13686 (dbus-set-property, dbus-get-all-properties):
13687 Use `dbus-call-method' when noninteractive. (Bug#5645)
13689 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
13691 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
13692 * emacs-lisp/elint.el (elint-add-required-env):
13693 * calendar/icalendar.el (icalendar--add-diary-entry):
13694 * calc/calcalg2.el (math-tracing-integral):
13695 * files.el (recover-session-finish): Use with-current-buffer
13696 instead of save-excursion.
13698 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
13700 Fix in-buffer completion when after-change-functions modify the buffer.
13701 * minibuffer.el (completion--replace): New function.
13702 (completion--do-completion): Use it and use relative movement.
13704 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
13706 * international/fontset.el (setup-default-fontset): Fix :otf spec.
13708 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
13710 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
13711 Allow the characters _<> in the stack entry (Bug#5653).
13713 2010-02-26 Kenichi Handa <handa@m17n.org>
13715 * language/burmese.el: Fix entries in composition-function-table.
13716 (myanmar-composable-pattern): New variable.
13718 * international/fontset.el (setup-default-fontset): Add an entry
13721 * international/characters.el (script-list): Add Myanmar
13724 2010-02-26 Glenn Morris <rgm@gnu.org>
13726 * custom.el (custom-initialize-delay): Doc fix.
13728 * mail/sendmail.el (send-mail-function): Autoload the call
13729 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
13731 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
13733 * files.el (hack-local-variables-filter): For eval forms, also
13734 check safe-local-variable-p (Bug#5636).
13736 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
13738 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
13739 setting the modes by `ignore-errors'. It might fail, for example
13740 if the file is not owned by the user but the group.
13741 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
13743 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
13745 * files.el (directory-listing-before-filename-regexp):
13746 Use stricter matching for iso-style dates, to avoid false matches with
13747 date-like filenames (Bug#5597).
13749 * htmlfontify.el (htmlfontify): Doc fix.
13751 * eshell/eshell.el (eshell): Doc fix.
13753 * startup.el (fancy-about-screen): In mode-line, apply
13754 mode-line-buffer-id face only to the buffer name (Bug#5613).
13756 2010-02-20 Kevin Ryde <user42@zip.com.au>
13758 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13759 In `watcom' anchor regexp to start of line, to avoid slowness
13762 2010-02-20 Eli Zaretskii <eliz@gnu.org>
13764 * subr.el (remove-yank-excluded-properties): Explain in a comment
13765 why `category' property is removed.
13767 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
13769 * isearch.el (isearch-update-post-hook, isearch-update):
13770 Revert 2010-02-17 change.
13772 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
13774 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
13775 (icalendar--convert-weekly-to-ical)
13776 (icalendar--convert-yearly-to-ical)
13777 (icalendar--convert-block-to-ical)
13778 (icalendar--convert-cyclic-to-ical)
13779 (icalendar--convert-anniversary-to-ical): Take care of time
13780 specifications where hour has 1-digit only (Bug#5549).
13782 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
13784 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13785 of disassemble output in GDB 7.1.
13787 2010-02-19 Glenn Morris <rgm@gnu.org>
13789 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13790 property. (Bug#5593)
13792 2010-02-18 Sam Steingold <sds@gnu.org>
13794 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13796 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
13798 Use abbreviated file names in bookmarks (bug#5591).
13799 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13800 calls to expand-file-name.
13801 (bookmark-relocate): Use abbreviated file names in bookmarks.
13802 (bookmark-load): Use abbreviated file names in messages.
13804 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13806 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13807 expand "." and "..". Reported by Thierry Volpiatto
13808 <thierry.volpiatto@gmail.com>.
13810 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13812 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13813 permissions of the temporary file to "0600". In case the remote
13814 file has no read permissions for the owner, there might be
13815 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
13817 22010-02-18 Glenn Morris <rgm@gnu.org>
13819 * emacs-lisp/authors.el (authors-renamed-files-alist):
13820 Add entries for INSTALL.CVS.
13822 2010-02-17 Mark A. Hershberger <mah@everybody.org>
13824 * vc-bzr.el: Fix typo in Known Bugs section.
13826 * isearch.el (isearch-update-post-hook): New hook.
13827 (isearch-update): Use the new hook.
13829 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
13831 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13832 Fix errors in copying directories.
13833 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13834 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13835 (tramp-handle-delete-file)
13836 (tramp-handle-dired-recursive-delete-directory)
13837 (tramp-handle-write-region): Flush also the cache for the upper
13840 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
13842 * simple.el (save-interprogram-paste-before-kill): Doc fix.
13844 * cus-edit.el (hardware): Doc fix.
13846 * man.el (man): Add to external custom group.
13848 * delim-col.el (columns): Move to wp custom group.
13850 * doc-view.el (doc-view): Add to data custom group.
13852 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13854 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13855 by ispell-parse-output (Bug#5575).
13857 2010-02-16 Kenichi Handa <handa@m17n.org>
13859 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13860 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13861 (skkdic-convert): Use `euc-japan' coding system for writing.
13863 2010-02-16 Glenn Morris <rgm@gnu.org>
13865 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13866 tex-main-file before using it. (Bug#5562)
13868 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
13870 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13871 warnings, since it is annoying for the user to see them each time he
13874 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
13876 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13877 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13878 instead of PROC for caching "first-password-request". Otherwise,
13879 new processes would not profit from passwords already entered.
13881 * net/tramp-cache.el (tramp-dump-connection-properties):
13882 Don't save "first-password-request" property.
13884 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
13886 * outline.el (outline-head-from-level):
13887 * simple.el (with-wrapper-hook):
13888 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13889 (elint-defun, elint-buffer-env, elint-top-form-logged)
13890 (elint-unbound-variable):
13891 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13892 Fix typos in docstrings.
13894 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
13896 * files.el (insert-directory): When WILDCARD-REGEXP and
13897 FULL-DIRECTORY-P are nil, insert the file entry instead of the
13898 whole directory. (Bug#5551)
13900 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
13901 dired's alignment sanity. (Bug#5516)
13903 2010-02-14 Juri Linkov <juri@jurta.org>
13905 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13906 Remove remaining ^H with their preceding chars. (Bug#5566)
13908 2010-02-13 Glenn Morris <rgm@gnu.org>
13910 * simple.el (transpose-subr): Give it a doc-string.
13912 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13915 2010-02-12 Juri Linkov <juri@jurta.org>
13917 * arc-mode.el (archive-unique-fname): Make directories for nested
13918 archives. (Bug#5540)
13920 2010-02-12 Juri Linkov <juri@jurta.org>
13922 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
13924 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
13926 * subr.el (copy-overlay): Handle deleted overlays.
13928 * man.el (Man-completion-table): Don't signal an error if we can't run
13929 manual-program (bug#4056).
13931 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
13933 * textmodes/artist.el (artist-mt): Fix typos in docstring.
13935 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13937 * info.el (Info-bookmark-jump): Simplify.
13939 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13940 (bookmark-default-handler): Accept new bookmark field `buffer'.
13942 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
13944 * iswitchb.el (iswitchb-completions): Revert last change.
13946 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
13948 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13949 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13950 This prevents file names like "~/" being listed literally.
13952 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
13954 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13955 Remove dead code. (Bug#5546)
13957 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
13959 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13960 correctly (Bug#5548).
13962 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
13964 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13965 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13967 2010-02-08 Kenichi Handa <handa@m17n.org>
13969 * international/mule-util.el (with-coding-priority): Add autoload
13970 cookie for putting `lisp-indent-function'.
13972 2010-02-07 Glenn Morris <rgm@gnu.org>
13974 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13975 Move F2003 named interfaces from keywords-2 to keywords-1, and
13976 use function-name-face rather than constant-face.
13977 Simplify "abstract interface" regexp.
13979 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
13981 * eshell/esh-util.el (eshell-file-attributes): New optional arg
13982 ID-FORMAT. Pass it to `file-attributes'.
13984 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13986 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
13988 * faces.el (set-face-attribute): Allow calling
13989 internal-set-lisp-face-attribute with 'unspecified family and
13990 foundry argument (Bug#5536).
13992 2010-02-07 Glenn Morris <rgm@gnu.org>
13994 * progmodes/f90.el (f90-font-lock-keywords-2)
13995 (f90-looking-at-type-like, f90-looking-at-program-block-end):
13996 Handle F2003 named interfaces.
13998 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
14000 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
14001 beg and end before calling c-get-state-before-change-functions.
14003 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
14005 * vc-bzr.el (vc-bzr-dir-extra-headers):
14006 Disable the pending merges header.
14008 2010-02-05 Juri Linkov <juri@jurta.org>
14010 * doc-view.el (doc-view-mode):
14011 * image-mode.el (image-mode): Put property mode-class=special.
14014 2010-02-05 Mark A. Hershberger <mah@everybody.org>
14016 * vc-svn.el (vc-svn-revision-table): New function.
14018 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
14020 * net/ange-ftp.el (ange-ftp-insert-directory):
14021 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
14022 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
14023 Handle also directories. (Bug#5478)
14025 2010-02-05 Glenn Morris <rgm@gnu.org>
14027 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
14029 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
14031 * startup.el (command-line-1): Convert options beginning with a
14032 single dash as well (Bug#5519).
14034 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
14036 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
14037 * minibuffer.el (completion-initials-expand): Only check the presence
14038 of delims *within* the boundaries, since otherwise the / delim is
14039 always found for files.
14041 Fix up various corner case problems.
14042 * doc-view.el (doc-view-last-page-number): New function.
14043 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
14044 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
14045 (doc-view-kill-proc): Avoid inf-loop in freak cases.
14046 (doc-view-reconvert-doc): Use the new recursive delete-directory.
14047 (doc-view-convert-current-doc): Don't create the resolution.el file
14049 (doc-view-pdf/ps->png): Do it here instead.
14050 (doc-view-already-converted-p): Check that resolution.el is present.
14051 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
14052 windows that are not yet showing images.
14054 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
14056 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
14057 `dired-uncache' for every elemnt which is an absolute file name.
14059 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
14060 directory, handle its directory component.
14061 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
14062 function is called permanently and creates noise, otherwise.
14064 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
14065 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
14066 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
14068 2010-02-04 David Burger <dburger@google.com> (tiny change)
14070 * macros.el (apply-macro-to-region-lines):
14071 Minor simplification. (Bug#5485)
14073 2010-02-04 Glenn Morris <rgm@gnu.org>
14075 * mail/rmail.el (rmail-show-message-1): Handle malformed
14076 quoted-printable text. (Bug#5441)
14078 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
14080 * simple.el (visual-line-mode): Capitalize lighter.
14082 2010-02-03 John Wiegley <jwiegley@gmail.com>
14084 * iswitchb.el (iswitchb-completions): Add bookmark files to the
14085 list of files considered for "virtual buffer" completions.
14087 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
14089 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
14090 also in case of (and (not full) (not wildcard)). This is needed
14091 when dired is called with a list of files, which are not in
14092 `default-directory'. (Bug#5478)
14094 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
14096 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
14098 2010-02-02 Juri Linkov <juri@jurta.org>
14100 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
14101 from unidiff to allow function-line after @@.
14103 2010-02-02 Juri Linkov <juri@jurta.org>
14105 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
14106 '(RCS SCCS) with inverted condition.
14108 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
14110 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
14113 2010-02-01 Juri Linkov <juri@jurta.org>
14115 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
14116 compare with "pkunzip" and "pkzip" instead of only "pkzip".
14117 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
14118 only when (car archive-zip-extract) is "unzip". (Bug#5475)
14120 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
14122 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
14123 (doc-view-revert-buffer): New command.
14124 (doc-view-mode-map): Use it.
14126 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
14128 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
14129 pending merge is detected.
14131 2010-01-31 Juri Linkov <juri@jurta.org>
14133 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
14134 beginning of interactive spec like all other grep commands do.
14135 Put "all" in front of "gz". (Bug#5260)
14137 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
14139 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
14141 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
14143 * dirtrack.el (dirtrack): Warn instead of signalling error if the
14144 regexp is incorrect (Bug#5476).
14146 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
14148 * net/tramp.el (tramp-handle-insert-directory): Handle also
14149 symlinks, when FILENAME is not in `default-directory'.
14151 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
14153 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
14154 FILE is not in `default-directory'. (Bug#5478)
14156 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
14157 of SWITCHES. Handle the case, FILENAME is not in
14158 `default-directory'. (Bug#5478)
14159 (tramp-register-file-name-handlers): Add safe-magic property.
14161 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
14163 * arc-mode.el (archive-zip-extract): Quote the argument passed to
14166 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
14168 * progmodes/flymake.el (flymake-allowed-file-name-masks)
14169 (flymake-master-make-header-init): Add other C++ filename masks.
14170 (flymake-find-possible-master-files)
14171 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
14173 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
14175 Fix some busybox annoyances.
14177 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
14178 not responding." string.
14179 (tramp-open-connection-setup-interactive-shell): Dump stty
14180 settings. Enable "neveropen" arg for all `tramp-send-command'
14181 calls. Handle "=" in variable values properly.
14182 (tramp-find-inline-encoding): Raise an error, when no encoding is
14184 (tramp-wait-for-output): Check, whether PROC buffer is available.
14185 Remove spurious " ^H" sequences, sent by busybox.
14186 (tramp-get-ls-command): Suppress coloring, if possible.
14188 2010-01-28 Glenn Morris <rgm@gnu.org>
14190 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
14192 * log-edit.el (log-edit-strip-single-file-name): Add missing
14193 :safe, :group, and :version tags.
14195 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
14197 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
14198 buffers. (Bug#5477)
14200 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
14202 * files.el (delete-directory): Handle moving to trash without
14203 first doing recursion (Bug#5436).
14205 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
14207 * vc-hooks.el (vc-path): Mark as obsolete.
14209 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
14211 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
14214 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
14216 (vc-bzr-log-view-mode): Adjust regexp for the above change.
14218 2010-01-25 Mark A. Hershberger <mah@everybody.org>
14220 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
14222 * vc-bzr.el (vc-bzr-revision-table): New function.
14224 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
14226 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
14227 diff-index command. This requires at least git-1.5.5. (Bug#1589).
14229 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
14231 Remove support for adding --signoff on commit.
14232 Future support will use an incompatible generic mechanism.
14233 * vc-git.el (vc-git-add-signoff): Remove variable.
14234 (vc-git-toggle-signoff): Remove function.
14235 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
14237 * term/xterm.el (xterm-maybe-set-dark-background-mode):
14238 Rename from xterm-set-background-mode. Return t if the background mode
14240 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
14241 earlier, call it again in case the background mode has changed.
14243 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
14245 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
14248 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
14250 * emacs-lisp/assoc.el (aelement): Doc fix.
14251 (aput, adelete, amake): Use lexical-let (Bug#5450).
14253 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
14255 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
14256 is the same as subprogram call, not declaration. (Bug#5435).
14258 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
14260 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
14261 (tramp-smb-maybe-open-connection): Use it.
14263 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
14265 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
14267 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
14269 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
14270 just because we see "encoding: 8bit".
14271 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
14273 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
14275 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
14277 2010-01-22 Eli Zaretskii <eliz@gnu.org>
14279 * jka-compr.el (jka-compr-load): If load-file is not in
14280 load-history, try its file-truename version. (bug#5447)
14282 2010-01-21 Alan Mackenzie <acm@muc.de>
14284 Fix a situation where deletion of a cpp construct throws an error.
14285 * progmodes/cc-engine.el (c-invalidate-state-cache):
14286 Before invoking c-with-all-but-one-cpps-commented-out, check that the
14287 special cpp construct is still in the buffer.
14288 (c-parse-state): Record the special cpp with markers, not numbers.
14290 2010-01-21 Kenichi Handa <handa@m17n.org>
14292 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
14293 process last-command-event, as it is now decoded first (Bug#5380).
14295 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
14297 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
14299 2010-01-20 Glenn Morris <rgm@gnu.org>
14301 * indent.el (tab-always-indent): Fix custom-type.
14303 2010-01-19 Alan Mackenzie <acm@muc.de>
14305 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
14306 buffer throws "args out of range".
14307 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
14308 playing the role of delimiter.
14310 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
14312 * progmodes/ada-mode.el: Fix bug#5400.
14313 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
14314 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
14315 changed. Delete RECURSIVE parameter; never used. Improve doc string.
14316 Improve comments in "is" portion. Handle null procedure declaration.
14317 (ada-move-to-end): Improve doc string.
14319 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
14321 * ido.el (ido-cur-list): Initialize to nil.
14322 Remove obsolete information from commentary.
14323 (ido-choice-list): Initialize to nil.
14324 (ido-get-bufname): Reject minibuffers.
14325 (ido-make-buffer-list): If "default" is a nonexistent
14326 buffer, ignore it, as per the function's comment.
14327 (ido-kill-buffer-internal): New function.
14328 (ido-kill-buffer-at-head): Use it.
14329 (ido-visit-buffer): Likewise.
14331 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
14333 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
14335 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
14337 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
14338 Fix typos in chart titles.
14340 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
14341 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
14342 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
14343 (describe-class, eieio-describe-generic, describe-generic):
14344 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
14345 (eieio-speedbar-expand):
14346 * emulation/viper-cmd.el (viper-exec-form-in-vi)
14347 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
14348 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
14349 (viper-del-backward-char-in-replace, viper-backward-indent)
14350 (viper-brac-function, viper-register-to-point, viper-submit-report):
14351 * net/tramp.el (tramp-remote-coding-commands):
14352 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
14353 Fix typos in docstrings.
14355 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
14357 * mail/sendmail.el (mail-yank-original): Set the mark if the
14358 specified function for yanking does not do it.
14360 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
14362 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
14364 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
14365 resyncing a directory.
14367 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
14369 * progmodes/ada-mode.el: Fix bug#1920.
14370 (ada-ident-re): Delete ., allow multibyte characters.
14371 (ada-goto-label-re): New; matches goto labels.
14372 (ada-block-label-re): New; matches block labels.
14373 (ada-label-re): New; matches both.
14374 (ada-named-block-re): Delete; callers changed to use
14375 `ada-block-label-re' instead.
14376 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
14377 Use `ada-block-label-re'.
14378 (ada-indent-on-previous-lines): Improve handling of goto labels.
14379 (ada-get-indent-block-start): Special-case block label.
14380 (ada-get-indent-label): Split into `ada-indent-block-label' and
14381 `ada-indent-goto-label'.
14382 (ada-goto-stmt-start, ada-goto-next-non-ws):
14383 Optionally ignore goto labels.
14384 (ada-goto-next-word): Simplify.
14385 (ada-indent-newline-indent-conditional): Insert newline before
14386 trying to fix indentation; doc fix.
14388 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
14390 * calc/calc.el (calc-command-flags): Give it an initial value.
14392 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
14394 * files.el (minibuffer-with-setup-hook):
14395 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
14396 (artist-key-draw-continously, artist-key-do-continously-continously)
14397 (artist-key-set-point-continously, artist-mouse-draw-continously):
14398 Fix typos in docstrings.
14400 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
14402 * nxml/nxml-mode.el (nxml-extend-after-change-region):
14403 Never return t (Bug#3898).
14405 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
14407 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
14408 can parse the output of the external commands (Bug#5279).
14410 2010-01-16 Jari Aalto <jari.aalto@cante.net>
14412 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
14414 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
14416 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
14418 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
14420 * startup.el (command-line): Remove unused --icon-type arg.
14421 Handle --display arg, passing it to command-line-1 (Bug#5392).
14423 2010-01-16 Mario Lang <mlang@delysid.org>
14425 * emacs-lisp/chart.el (chart-translate-namezone):
14426 * textmodes/artist.el (artist-compute-popup-menu-table):
14427 Remove duplicated words in doc-strings.
14429 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
14431 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
14432 to mairix-search to suppress threading (Bug#5342).
14434 2010-01-15 Kenichi Handa <handa@m17n.org>
14436 * international/mule-cmds.el (canonicalize-coding-system-name):
14437 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
14439 2010-01-15 Glenn Morris <rgm@gnu.org>
14441 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
14443 * wid-edit.el (widget-keymap): Doc fix.
14445 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
14446 former seems to be more widely accepted by various svn versions.
14448 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14450 * find-cmd.el (find-constituents):
14451 * vc-arch.el (vc-arch-root):
14452 * window.el (window-body-height, pop-up-frames):
14453 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
14454 * progmodes/ada-stmt.el (ada-if):
14455 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
14456 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
14457 (ispell-encoding8-command, ispell-aspell-supports-utf8)
14458 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
14460 * progmodes/flymake.el (flymake-post-syntax-check):
14461 Fix typo in error message.
14463 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14465 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
14466 which is always a string. (Bug#5313)
14468 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14470 * progmodes/ada-xref.el (ada-default-prj-properties):
14471 Simplify previous change.
14473 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14475 * progmodes/ada-xref.el (ada-default-prj-properties):
14476 Default ada_project_path to $ADA_PROJECT_PATH.
14478 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14480 * progmodes/ada-mode.el (ada-create-keymap):
14481 Override `narrow-to-defun' with `ada-narrow-to-defun'.
14483 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14485 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
14486 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
14487 (ada-get-current-indent, ada-imenu-generic-expression)
14488 (ada-which-function): Check for it.
14490 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14492 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
14493 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
14495 2010-01-14 Glenn Morris <rgm@gnu.org>
14497 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
14499 2010-01-14 Kenichi Handa <handa@m17n.org>
14501 * composite.el (auto-composition-mode): Make it a buffer local
14502 variable (permanent-local).
14503 (auto-composition-function): Set the default value to
14504 auto-compose-chars.
14505 (auto-composition-mode): Make it a simple function, not a minor mode.
14506 (global-auto-composition-mode): Likewise.
14507 (turn-on-auto-composition-if-enabled): Delete it.
14509 2010-01-13 Karl Fogel <kfogel@red-bean.com>
14511 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
14513 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
14515 * files.el (copy-directory): Compute target for recursive
14516 directories with identical names. (Bug#5343)
14518 2010-01-12 Glenn Morris <rgm@gnu.org>
14520 * mail/emacsbug.el (report-emacs-bug-pretest-address):
14521 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
14523 2010-01-11 Sam Steingold <sds@gnu.org>
14525 * imenu.el (imenu-default-create-index-function): Detect infinite
14526 loops caused by imenu-prev-index-position-function.
14528 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14530 * htmlfontify.el (htmlfontify-load-rgb-file)
14531 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
14532 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
14533 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
14534 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
14535 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
14536 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
14537 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
14538 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
14539 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
14540 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
14541 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
14542 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
14543 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
14544 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
14545 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
14546 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
14547 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
14548 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
14549 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
14550 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
14551 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
14552 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
14553 backslash-quoting from parentheses, etc.
14555 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
14557 * progmodes/js.el: Autoload javascript-mode alias.
14559 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14561 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
14562 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
14563 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
14564 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
14565 Fix typos in docstrings.
14566 (ffap-url-regexp): Doc fix.
14567 (ffap-at-mouse): Fix typo in message.
14569 2010-01-11 Glenn Morris <rgm@gnu.org>
14571 * version.el (emacs-copyright): Set copyright year to 2010.
14573 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
14575 * format.el (format-annotate-function): Only set
14576 write-region-post-annotation-function after running to-fn so as not to
14577 affect nested write-region calls (bug#5273).
14579 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
14581 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
14584 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14586 * man.el (Man-goto-section): Signal error if the section is not
14589 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
14591 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
14592 URLs with a leading triple slash in the file: scheme. (Bug#5345)
14594 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14596 * progmodes/compile.el: Don't treat compile-command as safe if
14597 compilation-read-command might be nil (Bug#4218).
14599 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
14601 * startup.el (command-line-1): Use orig-argi to check for ignored X and
14604 2010-01-08 Kenichi Handa <handa@m17n.org>
14606 * international/fontset.el (build-default-fontset-data):
14607 Exclude characters in scripts kana, hangul, han, or cjk-misc.
14609 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
14611 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
14612 to `create-file-buffer' as it expects, not just a buffer name.
14613 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
14614 to help uniquify. (Bug#3224)
14616 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
14618 * font-setting.el (font-setting-change-default-font): Use user-spec
14621 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
14623 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
14625 2010-01-05 Tom Tromey <tromey@redhat.com>
14627 * progmodes/python.el (python-font-lock-keywords):
14628 Handle qualified decorators (Bug#881).
14630 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14632 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
14633 in a lightweight checkout.
14635 2010-01-05 Kenichi Handa <handa@m17n.org>
14637 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
14639 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14641 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
14643 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
14645 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
14646 checkouts. (Bug#618)
14647 (vc-bzr-log-view-mode): Also highlight the author.
14648 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
14649 (vc-bzr-shelve-menu-map):
14650 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
14651 (vc-bzr-shelve-apply): Make prompt more explicit.
14653 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
14655 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
14656 They are valid characters in URL paths (rfc3986), and at least
14657 Firefox does not understand the encoded version (Bug#3166).
14659 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
14661 * progmodes/octave-mod.el (octave-end-keywords)
14662 (octave-block-begin-or-end-regexp, octave-block-match-alist):
14663 Add "end" keyword (Bug#3061).
14664 (octave-end-as-array-index-p): New function.
14665 (calculate-octave-indent): Use it.
14667 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14669 * bookmark.el: Consistently put the text property on the bookmark name.
14670 (bookmark-bmenu-marks-width): Bump back to 2, to include
14672 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
14673 property on the bookmark name, instead of not putting it at all.
14674 (bookmark-bmenu-list): Fix where we put the text property.
14676 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14678 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
14679 for showing buffer modified state (as added in the previous change).
14681 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14683 * bookmark.el: Show modified state of bookmark buffer more accurately.
14684 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
14685 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
14686 (with-buffer-modified-unmodified): New macro.
14687 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14688 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
14689 Use new macro to preserve the buffer modified state.
14691 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14693 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
14694 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
14695 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
14696 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
14697 (bookmark-bmenu-rename, bookmark-bmenu-locate)
14698 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
14699 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
14701 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14703 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14704 Make the lines in the generated doc string shorter. (Bug#4668)
14706 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
14708 * net/rcirc.el: Add follow-link binding (Bug#4738).
14710 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14712 * Makefile.in (bzr-update): Rename from cvs-update.
14713 (cvs-update): New target for backward compatibility.
14715 * makefile.w32-in (bzr-update): Rename from cvs-update.
14716 (cvs-update): New target for backward compatibility.
14718 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14720 * bookmark.el: Remove gratuitous gratitude.
14722 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14724 * bookmark.el (bookmark-bmenu-any-marks): New function.
14725 (bookmark-bmenu-save): Clear buffer modification if no marks.
14727 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14729 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
14730 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
14731 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
14732 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
14734 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
14735 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
14736 To: emacs-devel {_AT_} gnu.org
14737 Subject: bookmark.el bug report
14738 Date: Mon, 28 Dec 2009 14:19:16 +0800
14739 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
14741 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14743 * bookmark.el: Improvements suggested by Drew Adams:
14744 (bookmark-bmenu-ensure-position): New name for
14745 `bookmark-bmenu-check-position'. Just ensure the position,
14746 don't return any meaningful value.
14747 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
14750 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
14752 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
14753 (bookmark-yank-point, bookmark-bmenu-check-position):
14754 Fix typos in docstrings.
14755 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
14756 (bookmark-name-from-full-record, bookmark-get-position)
14757 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
14758 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
14759 Remove useless quoting of parenthesis, etc. in docstrings.
14761 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
14762 (ediff-append-custom-diff): Fix typo in error message.
14763 (ediff-meta-mark-equal-files): Fix typos in messages.
14765 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
14767 * net/imap-hash.el (imap-hash-make): Doc fix.
14768 (imap-hash-test): Fix typo in error message; reflow docstring.
14769 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
14770 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
14771 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
14772 Fix typos in docstrings.
14773 (imap-hash-open-connection): Fix typo in error message.
14775 * play/gomoku.el (gomoku): Fix typos in docstring.
14777 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
14778 (gdb-jsonify-buffer): Fix typos in docstring.
14779 (gdb-goto-breakpoint): Fix typo in error message.
14780 ("Display Other Windows"): Fix typo in help message.
14781 (gdb-speedbar-expand-node): Fix typo in question.
14783 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14784 (idlwave-html-system-help-location, idlwave-html-help-location)
14785 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14786 (idlwave-help-browser-generic-args, idlwave-help-directory)
14787 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14788 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14789 (idlwave-online-help, idlwave-help-html-link)
14790 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14791 Fix typos in docstrings.
14792 (idlwave-help-with-source, idlwave-help-find-routine-definition):
14794 (idlwave-help-assistant-start): Fix typo in error message.
14796 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14797 (octave-electric-space): Fix typos in docstrings.
14799 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
14801 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14803 2010-01-01 Juri Linkov <juri@jurta.org>
14805 * comint.el (comint-input-ring-size): Make it a defcustom and
14806 increase the default to 500 (Bug#5148).
14808 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
14810 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14811 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14812 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14814 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
14816 Show working revision correctly for mercurial.
14817 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14818 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14820 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
14822 Declare some functions for the byte-compiler.
14823 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14824 (speedbar-timer-fn, speedbar-change-expand-button-char)
14825 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14827 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
14829 This changeset reverts GDB Graphical Interface to use annotations.
14830 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14832 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
14834 Make vc-dir work on subdirectories of the bzr root.
14835 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14836 Return file names relative to it.
14837 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14838 relative directory to vc-bzr-after-dir-status.
14840 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
14842 * font-lock.el (font-lock-refresh-defaults): New function, which
14843 can be used to let font-lock react to external changes in
14844 variables like font-lock-defaults and keywords.
14845 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14847 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
14849 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14851 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14853 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
14855 Supersede color.diff settings in git log (bug#5211).
14857 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14858 escape chars in its output when the user has color.diff set to `always'.
14859 This fix works on git 1.4.2 and newer (released on 2006-08-13).
14861 2009-12-26 Kevin Ryde <user42@zip.com.au>
14863 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14864 node. Keep previous "Index" name to work with past coreutils too.
14866 * man.el (man): Revise docstring a bit to show -a and -l as
14867 examples. Add -k description since support for it has otherwise
14868 been a secret. (Further to bug#3717.)
14869 (Man-bgproc-sentinel): When "-k foo" produces no output show error
14870 "no matches" rather than "Can't find manpage", as the latter reads
14871 like -k was interpreted as a page name, which is not so. (Bug#5431)
14873 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
14875 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14876 switches. Check also for //SUBDIRED// line.
14878 2009-12-25 Kenichi Handa <handa@m17n.org>
14880 * language/indian.el (devanagari-composable-pattern): Fix to
14881 handle ZWNJ and ZWJ. Use it in composition-function-table for
14883 (malayalam-composable-pattern): Fix previous change.
14885 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14887 * ps-print.el (ps-face-attributes): It was not returning the
14888 attribute face for faces specified as string. Reported by harven
14889 <harven@free.fr>. (Bug#5254)
14890 (ps-print-version): New version 7.3.5.
14892 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
14894 * calendar/icalendar.el (icalendar--convert-tz-offset):
14895 Fix timezone names.
14896 (icalendar--convert-tz-offset): Fix the "last-day-problem".
14897 (icalendar--add-diary-entry): Remove the trailing blank that
14898 diary-make-entry inserts.
14900 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
14902 Make `file-expand-wildcards' work for remote files.
14904 * files.el (file-expand-wildcards): In case of remote files, check
14905 only local file name part for wildcards. Provide feature 'files
14906 and subfeature 'remote-wildcards. (Bug#5198)
14908 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14909 if there is already an established connection.
14910 (tramp-advice-file-expand-wildcards): Remove it.
14912 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14913 (tramp-advice-file-expand-wildcards): Move from tramp.el.
14914 Activate advice for older GNU Emacs versions. (Bug#5237)
14916 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
14918 Some doc fixes (more needed).
14920 * find-cmd.el (find-constituents): Reflow docstring.
14921 (find-cmd, find-prune, find-command): Fix typos in docstrings.
14922 (find-generic): Doc fix.
14924 2009-12-17 Juri Linkov <juri@jurta.org>
14926 Fix regression from 23.1 to allow multiple modes in Local Variables.
14928 * files.el (hack-local-variables-filter): While ignoring duplicates,
14929 don't take `mode' into account.
14930 (hack-local-variables-filter, hack-dir-local-variables):
14931 Don't remove duplicate `mode' from local-variables-alist (like `eval').
14933 2009-12-17 Juri Linkov <juri@jurta.org>
14935 Make `dired-diff' safer. (Bug#5225)
14937 * dired-aux.el (dired-diff): Signal an error when `file' equals to
14938 `current' or when `file' is a directory of the `current' file.
14940 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
14942 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14943 unconditionally preloaded files.
14945 2009-12-16 Juri Linkov <juri@jurta.org>
14947 Revert to old 23.1 logic of using the file at the mark as default.
14948 * dired-aux.el (dired-diff): Use the file at the mark as default
14949 if it's not the same as the current file, and the target dir is
14950 the current dir or the mark is active. Add the current file
14951 as the arg of `dired-dwim-target-defaults'. Use the default file
14952 in the prompt. (Bug#5225)
14954 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
14956 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14957 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14958 (tramp-check-for-regexp): Check also, when an echoing shell stops
14959 to echo sent commands.
14961 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14963 * Makefile.in: Revert last change (Bug#5191).
14965 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
14967 * vc-hg.el (vc-hg-print-log): Fix argument order.
14968 (vc-hg-working-revision): Make sure the command is executed in a
14969 known environment so that we can parse the output. (Bug#4417)
14971 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14973 * progmodes/python.el (python-symbol-completions): Remove text
14974 properties from symbol string before calling python-send-receive.
14976 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
14978 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14979 when there are values for both file and line. (Bug#5060)
14981 2009-12-14 Juri Linkov <juri@jurta.org>
14983 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14984 whitespace after the file name of the first line of unified format,
14985 because git-diff doesn't output whitespace and file modification time
14986 after the file name.
14988 2009-12-14 David Kastrup <dak@gnu.org>
14990 * info.el (Info-hide-cookies-node): Before hiding a cookie,
14991 check if it already has the `display' property added by
14992 `Info-display-images-node', and not put the `invisible' property
14995 2009-12-13 Glenn Morris <rgm@gnu.org>
14997 * mail/emacsbug.el (message-sort-headers): Define for compiler.
14998 (report-emacs-bug): In message-mode, sort manually before storing
14999 original report text. (Bug#5178)
15000 Remove superfluous save-excursion.
15002 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
15004 * net/dbus.el (dbus-property-handler): Filter lambda forms out
15005 when responding to "GetAll" properties.
15007 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
15009 * simple.el (compose-mail): Remove mail-setup-with-from from
15010 customization checks.
15012 2009-12-12 Eli Zaretskii <eliz@gnu.org>
15014 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
15015 RAR archives created on Unix systems.
15017 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
15019 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
15020 the varalias that was accidentally removed by the 2009-11-19 change
15023 2009-12-12 Kenichi Handa <handa@m17n.org>
15025 * language/indian.el (indian-compose-regexp): New function.
15026 (malayalam-composable-pattern): Fix the pattern.
15027 (composition-function-table): Set malayalam-composable-pattern for
15028 Malayalam characters.
15030 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
15032 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
15033 rather than down-mouse-1, based on follow-link conventions.
15035 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
15038 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
15040 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
15041 (verilog-vmm-statement-re, verilog-ovm-statement-re)
15042 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
15043 (verilog-leap-to-head, verilog-backward-token):
15044 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
15046 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
15048 * progmodes/verilog-mode.el (verilog-auto-lineup)
15049 (verilog-nameable-item-re): Cleanup user-visible spelling and
15050 documentation errors. One reported by Gary Delp.
15051 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
15052 (verilog-read-decls): Fix AUTOWIRE with types declared in a
15053 package, bug195. Reported by Pierre-David Pfister.
15055 2009-12-11 Glenn Morris <rgm@gnu.org>
15057 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
15059 * mail/emacsbug.el: No longer require sendmail.
15060 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
15061 (report-emacs-bug-orig-text): Doc fix.
15062 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
15063 New local variables, to adapt to different mail-user-agents.
15064 (report-emacs-bug): Fix test for a gnu.org address.
15065 Use overlays for emphasis, since font-lock defeats 'face property.
15066 Pretest bugs also end up at the newsgroup these days.
15067 Stop message-mode stripping text properties.
15068 Set and use the new buffer-local variables.
15069 (report-emacs-bug-hook): Add doc-string.
15070 Remove some unnecessary save-excursions and simplify.
15071 Use the appropriate hook and send-command.
15073 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
15074 capitalization of some menu entries.
15076 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15078 * whitespace.el (whitespace-display-char-on):
15079 Ensure `buffer-display-table' is unique when two or more windows are
15080 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
15083 2009-12-10 Eli Zaretskii <eliz@gnu.org>
15085 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
15086 characters in the Attribute field.
15088 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
15090 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
15092 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
15094 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
15095 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15096 Disregard autoload-excludes.
15097 (update-directory-autoloads): Obey autoload-excludes here instead.
15098 But don't store its contents in no-autoloads and remove entries that
15099 refer to excludes files.
15101 2009-12-10 Glenn Morris <rgm@gnu.org>
15103 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
15104 (expand-mail-aliases): Define for compiler.
15106 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
15107 Define for compiler.
15109 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
15110 appropriate for the mail-user-agent in use.
15112 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
15114 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
15116 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
15118 Fix short log parsing and fontification.
15119 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
15120 Fix fontification for the [merge] label.
15122 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
15124 Drop some properties to avoid surprises (bug#5002).
15125 * htmlfontify.el (hfy-ignored-properties): New defcustom.
15126 (hfy-fontify-buffer): Use it.
15128 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
15131 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
15132 Adjust all callers.
15133 (ffap-locate-file): Remove unused arg `dir-ok' and make other
15134 args compulsory. Adjust callers.
15135 (ffap-gopher-at-point): Remove unused var `name'.
15137 Get rid of the ELCFILES abomination.
15138 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
15139 (compile-elcfiles): New phony target.
15140 (compile-main): Compute ELCFILES dynamically.
15141 (compile-clean): New target to remove left-over elc files.
15142 (compile, all): Use it.
15144 2009-12-09 Kenichi Handa <handa@etlken>
15146 * international/mule-diag.el: Require help-mode instead of help-fns.
15148 2009-12-09 Kenichi Handa <handa@m17n.org>
15150 * international/mule-cmds.el (ucs-names): Supply sufficiently
15151 fine ranges instead of pre-calculating accurate ranges.
15152 Iterate with bigger gc-cons-threshold.
15154 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
15156 Add support for stashing a snapshot of the current tree.
15157 * vc-git.el (vc-git-stash-snapshot): New function.
15158 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
15160 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
15162 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
15163 instead of `(beginning|end)-of-line'.
15165 2009-12-08 Glenn Morris <rgm@gnu.org>
15167 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
15169 * Makefile.in (ELCFILES): Regenerate.
15171 2009-12-07 Juri Linkov <juri@jurta.org>
15173 Don't lazy-highlight the comint output in history Isearch mode.
15175 * comint.el (comint-history-isearch-search): Instead of
15176 `comint-line-beginning-position', use `comint-after-pmark-p'
15177 to check if point if before the process mark, and go to
15178 `process-mark' in this case.
15180 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15182 * textmodes/tex-mode.el (latex-complete)
15183 (latex-indent-or-complete): Remove.
15184 (latex-mode): Set completion-at-point-functions instead.
15186 Provide a standard completion command and hook it into TAB.
15187 * minibuffer.el (completion-at-point-functions): New var.
15188 (completion-at-point): New command.
15189 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
15190 * progmodes/python.el (python-mode-map): Use completion-at-point.
15191 (python-completion-at-point): Rename from python-partial-symbol and
15192 adjust for use in completion-at-point-functions.
15193 (python-mode): Setup completion-at-point for Python completion.
15194 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
15195 extracted from lisp-complete-symbol.
15196 (lisp-complete-symbol): Use it.
15197 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
15198 setup completion-at-point for Elisp completion.
15199 (emacs-lisp-mode-map, lisp-interaction-mode-map):
15200 Use completion-at-point.
15201 * ielm.el (ielm-map): Use completion-at-point.
15202 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
15203 * progmodes/sym-comp.el: Move to...
15204 * obsolete/sym-comp.el: Move from progmodes.
15206 2009-12-07 Eli Zaretskii <eliz@gnu.org>
15208 Prevent save-buffer in Rmail buffers from using the coding-system
15209 of the current message, and from clobbering the encoding mnemonics
15210 in the mode line (Bug#4623).
15212 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
15214 (rmail-message-encoding): New variable.
15215 (rmail-write-region-annotate): Record the encoding of the current
15216 message in rmail-message-encoding.
15217 (rmail-after-save-hook): New function, restores the encoding of
15218 the current message after the message collection is saved.
15220 2009-12-07 Juri Linkov <juri@jurta.org>
15222 * progmodes/grep.el (grep-read-files): Use `completing-read'
15223 instead of `read-string'. Set its `collection' arg to
15224 `read-file-name-internal'. (Bug#4301)
15226 2009-12-07 Juri Linkov <juri@jurta.org>
15228 Correctly restore original Isearch point. (Bug#4994)
15230 * isearch.el (isearch-mode): Move `isearch-push-state' after
15231 `(run-hooks 'isearch-mode-hook)'.
15232 (isearch-cancel): When `isearch-push-state-function' is defined,
15233 let-bind `isearch-cmds' to the first state (the last element of
15234 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
15235 function and restores the original point). Otherwise, move point
15236 to `isearch-opoint'.
15238 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15240 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
15241 chars that don't have names, so the table can be built much faster at
15244 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
15246 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
15247 change. Suggested by David Kastrup.
15249 * simple.el (compose-mail): Check for incompatibilities and warn.
15250 (compose-mail-user-agent-warnings): New option.
15252 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15254 Support showing a single log entry from vc-annotate.
15255 * vc.el (print-log): Add a new argument: START-REVISION.
15256 (vc-print-log-internal): Add a new optional argument and
15257 pass it to the backend.
15258 (vc-print-log, vc-print-root-log): Adjust callers.
15259 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
15260 buffer already displays the requested log entry, use it.
15261 Otherwise display only the log entry in question.
15262 * vc-svn.el (vc-svn-print-log):
15263 * vc-mtn.el (vc-mtn-print-log):
15264 * vc-hg.el (vc-hg-state):
15265 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
15266 (vc-git-show-log-entry): Return t on success.
15267 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
15268 (vc-bzr-show-log-entry): Return t on success.
15269 * vc-rcs.el (vc-rcs-print-log):
15270 * vc-sccs.el (vc-sccs-print-log):
15271 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
15273 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15275 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
15276 Add menus to the meta mode. (Bug#5043)
15278 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
15280 * ediff-init.el (ediff-event-key): Use event-to-character instead of
15283 * ediff.el (ediff-buffers-internal): Add unwind-protect.
15285 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
15287 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
15288 Berbain <raphael.berbain@gmail.com>.
15290 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
15292 (tramp-initial-end-of-output): New defconst.
15293 (tramp-methods, tramp-find-shell)
15294 (tramp-open-connection-setup-interactive-shell)
15295 (tramp-maybe-open-connection): Use it.
15296 (tramp-shell-prompt-pattern, tramp-wait-for-output):
15297 Handle existence of `#' and `$'.
15299 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
15300 Use `tramp-initial-end-of-output'.
15302 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15304 Get the background mode from the terminal for xterm, and set
15306 * term/xterm.el (xterm-set-background-mode): New function.
15307 (terminal-init-xterm): Use it in case xterm supports background
15308 color queries. Recompute faces after getting the background
15311 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
15313 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
15314 number comment back on its own line, for easier parsing.
15316 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15318 Make it work for non-file buffers (bug#5102).
15319 * doc-view.el (doc-view-current-cache-dir):
15320 Use doc-view-buffer-file-name rather than buffer-file-name.
15321 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
15323 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
15325 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
15326 author field is too short.
15328 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
15330 * vc-git.el (vc-git-print-log): Handle a limit argument.
15331 Display the short log in graph form and with labels.
15332 (vc-git-log-view-mode): Handle labels.
15334 Make vc-revert change VC state from 'added to 'unregistered.
15335 * vc-git.el (vc-git-revert): Call git reset first.
15337 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
15339 * net/newst-backend.el, net/newst-plainview.el:
15340 * net/newst-reader.el, net/newst-ticker.el:
15341 * net/newst-treeview.el, net/newsticker.el:
15342 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
15344 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
15346 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
15348 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
15349 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
15350 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
15351 Update annotation regexp.
15353 * simple.el (beginning-of-visual-line): Constrain to field
15354 boundaries (Bug#5106).
15356 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
15358 * xml.el (xml-substitute-numeric-entities):
15359 Move newsticker--decode-numeric-entities in newst-backend.el to
15360 xml-substitute-numeric-entities in xml.el. (Bug#5008)
15361 * net/newst-backend.el (newsticker--parse-generic-feed)
15362 (newsticker--parse-generic-items)
15363 (newsticker--decode-numeric-entities):
15364 Move newsticker--decode-numeric-entities in newst-backend.el to
15365 xml-substitute-numeric-entities in xml.el. (Bug#5008)
15367 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
15369 * progmodes/js.el (js--js-not): Add null to the list of values.
15371 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
15373 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
15375 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15377 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
15378 delimiter if it is at the end of the current line.
15379 (bibtex-generate-url-list): Fix docstring.
15381 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15383 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
15384 minibuffer's content with itself.
15385 Fold the confirm-after-completion case into the `confirm' case.
15386 (completion-pcm-word-delimiters): Add : and / to the delimiters.
15388 2009-12-06 Kevin Ryde <user42@zip.com.au>
15390 * ffap.el (ffap-rfc-path): Make this a defcustom since
15391 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
15393 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
15394 manuals, similar to existing setup for help-mode. (Bug#3913.)
15396 2009-12-05 Juri Linkov <juri@jurta.org>
15398 Save and restore dired buffer's point positions too. (Bug#4880)
15400 * dired.el (dired-save-positions): Return in the first element
15401 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
15403 (dired-restore-positions): First restore buffer's position.
15404 While restoring window's positions, check if window still displays
15405 the original buffer.
15407 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
15409 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
15412 * shell.el (shell): Require ansi-color (Bug#5113).
15414 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
15416 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
15418 2009-12-05 Alan Mackenzie <acm@muc.de>
15420 * progmodes/cc-mode.el (c-before-hack-hook)
15421 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
15422 `c-file-style' to work again. This reversion restores the current
15423 software to its state in Emacs 23.1. (Bug#4146)
15425 2009-12-05 Kevin Ryde <user42@zip.com.au>
15427 * textmodes/sgml-mode.el (sgml-lexical-context):
15428 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
15430 2009-12-05 Juri Linkov <juri@jurta.org>
15432 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
15433 for virtual nodes. (Bug#4147)
15434 (Info-find-node-2): Set `Info-current-node-virtual' to nil
15435 when moving from a virtual node.
15436 (Info-mode-menu): Add `Info-virtual-index' to the menu.
15437 (Info-mode): Add `Info-virtual-index' to the docstring.
15439 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15441 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
15442 track of the buffer position of the end of a BibTeX entry as this
15443 position may change during reformatting.
15444 (bibtex-format-entry): Remove whitespace before processing
15445 numerical fields so that we recognize the latter properly.
15446 (bibtex-reformat): Do not use push which changes the global value
15447 of bibtex-entry-format.
15448 (bibtex-field-braces-alist, bibtex-field-strings-alist)
15449 (bibtex-field-re-init): Replace only space characters by regexp
15451 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
15452 (bibtex-initialize): Also update bibtex-strings.
15453 (bibtex-kill-field): Preserve white space at end of entry.
15454 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
15455 Update bibtex-reference-keys.
15457 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
15459 * minibuffer.el (completion-pcm--merge-try): Also consider placing
15460 point after a star, if that's the only place where modifications can
15463 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
15465 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
15468 2009-12-04 Juri Linkov <juri@jurta.org>
15470 * proced.el (proced): Call `(proced-update t)' to update process
15471 information instead of only running proced-post-display-hook.
15472 (proced-send-signal): Add a leading space to the buffer name
15473 " *Marked Processes*" to make this buffer ephemeral.
15475 2009-12-04 Juri Linkov <juri@jurta.org>
15477 * dired.el (dired-auto-revert-buffer): New defcustom.
15478 (dired-internal-noselect): Use it.
15480 2009-12-04 Juri Linkov <juri@jurta.org>
15482 Change roles of modes and functions in image-mode.el (Bug#5062).
15484 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
15485 in `auto-mode-alist'.
15486 (image-mode-previous-major-mode): New variable.
15487 (image-minor-mode-map): Rename from `image-mode-text-map'.
15488 (image-mode): Move graceful error-handling code from
15489 `image-minor-mode' to here. On errors call `image-mode-as-text'.
15490 (image-minor-mode): Remove all image-handling code.
15491 Replace `image-mode-text-map' with `image-minor-mode-map'.
15492 Check for `image-type' in mode-line format string.
15493 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
15494 (image-mode-as-text): New function with most code from
15495 `image-mode-maybe'.
15496 (image-toggle-display-text): Move code that removes image
15497 properties from `image-toggle-display' to here.
15498 (image-toggle-display-image): New function with code that adds
15499 image properties copied from `image-toggle-display'.
15500 (image-toggle-display): Remove most code with leaving only code
15501 that toggles between `image-mode-as-text' and `image-mode'.
15503 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
15505 * net/newst-treeview.el
15506 (newsticker--treeview-list-highlight-start): Restored call to
15507 save-excursion: Selected item was stuck.
15508 (newsticker--treeview-list-select): New.
15509 (newsticker--treeview-item-show-text)
15510 (newsticker--treeview-item-show)
15511 (newsticker--treeview-item-update): Use new
15512 newsticker-treeview-item-mode.
15513 (newsticker-treeview-update): Keep current item.
15514 (newsticker-treeview-next-new-or-immortal-item): Doc change.
15515 (newsticker--treeview-first-feed): Doc change.
15516 (newsticker-treeview-list-menu)
15517 (newsticker-treeview-item-menu): Add menu entries.
15518 (newsticker-treeview-item-mode): New.
15520 * net/newst-backend.el (newsticker-customize): Delete other
15523 2009-12-04 Sam Steingold <sds@gnu.org>
15525 * log-view.el (log-view-mode-map): "q" calls quit-window,
15526 like in all the other non-self-insert buffers.
15528 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
15531 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
15532 key decoding rather than do it manually via last-input-event +
15534 (term-exec): Use delete-and-extract-region.
15535 (term-handle-ansi-terminal-messages): Remove unused var `end'.
15536 (term-process-pager): Remove unused var `i'.
15537 (term-dynamic-simple-complete): Make obsolete.
15538 (serial-update-config-menu): Remove unused vars `y' and `str'.
15539 (term-update-mode-line): Remove unused var `temp'.
15541 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15543 Limit the number of log entries displayed by default.
15544 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
15545 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
15546 using a prefix argument.
15548 2009-12-03 Glenn Morris <rgm@gnu.org>
15550 * progmodes/idlwave.el (class): Restore still useful declaration.
15552 2009-12-03 Alan Mackenzie <acm@muc.de>
15554 Enhance `c-parse-state' to run efficiently in "brace deserts".
15556 * progmodes/cc-mode.el (c-basic-common-init):
15557 Call c-state-cache-init.
15558 (c-neutralize-syntax-in-and-mark-CPP): Rename from
15559 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
15560 placing `category' properties value 'c-cpp-delimiter at its boundaries.
15562 * progmodes/cc-langs.el (c-before-font-lock-function):
15563 c-extend-and-neutralize-syntax-in-CPP has been renamed
15564 c-neutralize-syntax-in-and-mark-CPP.
15566 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
15567 with `category' properties now, not `syntax-table' ones.
15569 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
15570 enhanced (but slower) version of c-end-of-macro that won't land
15571 inside a literal or on another awkward character.
15572 (c-state-cache-too-far, c-state-cache-start)
15573 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
15574 (c-state-nonlit-pos-cache-limit, c-state-point-min)
15575 (c-state-point-min-lit-type, c-state-point-min-lit-start)
15576 (c-state-min-scan-pos, c-state-brace-pair-desert)
15577 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
15578 buffer local variables.
15579 (c-state-literal-at, c-state-lit-beg)
15580 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
15581 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
15582 (c-state-cache-top-paren, c-state-cache-after-top-paren)
15583 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
15584 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
15585 (c-renarrow-state-cache)
15586 (c-append-lower-brace-pair-to-state-cache)
15587 (c-state-push-any-brace-pair, c-append-to-state-cache)
15588 (c-remove-stale-state-cache)
15589 (c-remove-stale-state-cache-backwards, c-state-cache-init)
15590 (c-invalidate-state-cache-1, c-parse-state-1)
15591 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
15592 (c-parse-state): Enhance and refactor.
15593 (c-debug-parse-state): Amend to deal with all the new variables.
15595 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
15596 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
15597 modify to use category text properties rather than syntax-table ones.
15598 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
15599 to switch off/on the syntactic paren property of C++ template
15600 delimiters using the category property.
15601 (c-with-<->-as-parens-suppressed): Macro to invoke code with
15602 template delims suppressed.
15603 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
15604 New constant/macros which apply category properties to the start
15605 and end of preprocessor constructs.
15606 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
15607 "comment out" the syntactic value of characters in preprocessor
15609 (c-with-cpps-commented-out)
15610 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
15611 with characters in all or all but one preprocessor constructs
15614 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15616 * proced.el (proced-filter-alist): Use regexp-quote.
15618 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
15621 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
15622 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
15623 arguments. Expand `default-directory'.
15625 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
15626 the benefit of returning an expanded localname.
15627 (tramp-tramp-file-p): Handle the case NAME is not a string.
15629 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15631 Add support for bzr shelve/unshelve.
15632 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
15633 (vc-bzr-extra-menu-map): New variables.
15634 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
15635 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
15636 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
15637 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
15638 (vc-bzr-dir-extra-headers): Display shelves.
15640 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
15642 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15644 * textmodes/bibtex.el (bibtex-complete-internal):
15645 Use completion-in-region.
15646 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
15648 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15650 Support applying stashes. Improve UI.
15651 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
15652 (vc-git-stash-apply, vc-git-stash-pop)
15653 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
15654 (vc-git-stash-menu): New functions.
15655 (vc-git-stash-menu-map): New variable.
15656 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
15658 2009-12-03 Glenn Morris <rgm@gnu.org>
15660 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
15661 (vc-print-log-internal): Fix previous change.
15662 (vc-revert): Correct pluralization.
15664 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15666 * progmodes/make-mode.el (makefile-special-targets-list): No need for
15667 it to be an alist any more.
15668 (makefile-complete): Use completion-in-region.
15670 * progmodes/octave-mod.el (octave-complete-symbol):
15671 Use completion-in-region.
15674 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
15675 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
15676 (idlwave-complete-class): Don't quote lambda.
15677 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
15678 (idlwave-mode-map): Move initialization into declaration.
15679 (idlwave-action-and-binding): Use backquotes.
15680 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
15682 (idlwave-is-pointer-dereference): Remove unused var `pos'.
15683 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
15684 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
15685 `parts', and `all-parts'.
15686 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
15687 (idlwave-convert-xml-system-routine-info): Remove unused string
15689 (idlwave-display-user-catalog-widget): Use dolist.
15690 (idlwave-scanning-lib): Declare dynamically-scoped var.
15691 (idlwave-scan-library-catalogs): Remove unused var `flags'.
15692 (completion-highlight-first-word-only): Declare to silence bytecomp.
15693 (idlwave-popup-select): Tighten scope of `resp'.
15694 (idlwave-find-struct-tag): Remove unused var `beg'.
15695 (idlwave-after-load-rinfo-hook): Declare.
15696 (idlwave-sintern-class-info): Remove unused var `taglist'.
15697 (idlwave-find-class-definition): Remove unused var `list'.
15698 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
15699 (idlwave-what-module-find-class): Remove unused var `classes'.
15701 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
15703 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
15705 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15707 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
15708 buffers visited. Remove redundant current-buffer-saving.
15710 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15712 Use completion-in-buffer and remove uses of dynamic scoping.
15713 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
15714 (pascal-buffer-to-use, pascal-flag): Don't declare.
15715 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
15716 (pascal-get-completion-decl, pascal-keyword-completion):
15717 Add `pascal-str' argument, save-excursion,
15718 return the found completions, and don't filter with pascal-pred.
15719 (pascal-completion-cache): New var.
15720 (pascal-completion): Don't switch buffer any more (it was never
15721 necessary). Don't save-excursion any more (it's done by the called
15722 subroutines). Use a cache to avoid redundant computations.
15723 Use complete-with-action rather than pascal-completion-response and
15724 let it apply the predicate as well.
15725 (pascal-complete-word): Use completion-in-buffer when
15726 pascal-toggle-completions is nil.
15727 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
15729 (pascal-comp-defun): Don't change buffer any more.
15730 Use complete-with-action rather than pascal-completion-response and
15731 let it apply the predicate as well.
15732 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
15735 2009-12-02 Kenichi Handa <handa@m17n.org>
15737 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
15738 shape for all Indic scripts.
15740 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15742 Use completion-in-buffer.
15743 * wid-edit.el (widget-field-text-end): New function.
15744 (widget-field-value-get): Use it.
15745 (widget-string-complete, widget-file-complete)
15746 (widget-color-complete): Use it and completion-in-region.
15747 (widget-complete): Don't narrow the buffer.
15749 2009-12-02 Glenn Morris <rgm@gnu.org>
15751 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
15752 (rmail-select-summary): Use rmail-pop-to-buffer.
15753 * mail/rmailsum.el: Replace all pop-to-buffer calls with
15754 rmail-pop-to-buffer, to prevent horizontal splits.
15756 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
15757 save-excursion with save-current-buffer.
15758 Widen before searching. (Bug#5093)
15759 (diary-list-sexp-entries): Remove superfluous save-excursion.
15761 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
15763 * woman.el (woman-make-bufname): Handle man-pages with "." in the
15766 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
15768 * ido.el (ido-file-internal): Handle filenames at point that do
15769 not have a directory part. (Bug#5049)
15771 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
15773 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
15774 (mpc-songs-jump-to, mpc-resume): Doc fixes.
15776 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
15778 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15779 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15782 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15784 * comint.el (comint-insert-input): Ignore clicks to the right of
15785 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15787 * vc.el (vc-print-log-internal): Don't wait for the process to
15788 terminate before setting up the major mode.
15790 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15793 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15796 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15798 2009-12-01 Glenn Morris <rgm@gnu.org>
15800 * window.el (window--display-buffer-2): Fix previous changes.
15802 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
15804 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15806 2009-12-01 Glenn Morris <rgm@gnu.org>
15808 * Makefile.in (ELCFILES): Add mpc.elc.
15810 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15812 * mpc.el: New file.
15814 2009-12-01 Glenn Morris <rgm@gnu.org>
15816 * window.el (window-to-use): Define for compiler.
15818 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15819 consistent with others (no final period).
15821 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15822 (rmail-mime-show): Downcase the encoding. (Bug#5070)
15824 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
15826 Make vc-print-log buttons work.
15827 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15829 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
15831 * savehist.el (savehist-autosave-interval): Allow setting to nil
15832 through customize. (Bug#5056)
15834 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
15836 Fix references to jit-lock properties.
15837 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15838 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15839 (perl-font-lock-special-syntactic-constructs):
15840 Quote jit-lock-defer-multiline property.
15842 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
15844 * vc-git.el (vc-git-registered): Call vc-git-root only once.
15846 2009-11-30 Juri Linkov <juri@jurta.org>
15848 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15849 value `buffer' of `multi-isearch-next-buffer-current-function'.
15850 Use `(current-buffer)' when `buffer' is nil.
15851 (multi-isearch-next-buffer-from-list): Don't fallback to
15852 `(current-buffer)' when `buffer' is nil. (Bug#4947)
15854 2009-11-30 Juri Linkov <juri@jurta.org>
15856 * misearch.el (multi-isearch-read-buffers): Move canonicalization
15857 of buffers with `get-buffer' to `multi-isearch-buffers'.
15858 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15859 Canonicalize BUFFERS with `get-buffer'. Doc fix.
15860 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15861 FILES with `expand-file-name' converting relative file names
15862 to absolute. Doc fix. (Bug#4727)
15864 2009-11-30 Juri Linkov <juri@jurta.org>
15866 * misearch.el (multi-isearch-read-buffers)
15867 (multi-isearch-read-matching-buffers): New functions.
15868 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15869 Use them in the `interactive' spec. Doc fix.
15870 (multi-isearch-read-files, multi-isearch-read-matching-files):
15872 (multi-isearch-files, multi-isearch-files-regexp):
15873 Use them in the `interactive' spec. Doc fix. (Bug#4725)
15875 2009-11-30 Juri Linkov <juri@jurta.org>
15877 * doc-view.el (doc-view-continuous):
15878 Rename from `doc-view-continuous-mode'.
15879 (doc-view-menu): Move "Toggle display" to the top.
15880 Add submenu "Continuous" with radio buttons "Off"/"On"
15881 and "Save as Default".
15882 (doc-view-scroll-up-or-next-page)
15883 (doc-view-scroll-down-or-previous-page)
15884 (doc-view-next-line-or-next-page)
15885 (doc-view-previous-line-or-previous-page):
15886 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
15888 2009-11-30 Juri Linkov <juri@jurta.org>
15890 * comint.el (comint-mode-map): Rebind `M-r' from
15891 `comint-previous-matching-input' to
15892 `comint-history-isearch-backward-regexp'.
15893 Unbind `M-s' to allow global key binding `M-s'.
15894 Add menu items for `comint-history-isearch-backward' and
15895 `comint-history-isearch-backward-regexp'. (Bug#3746)
15897 2009-11-30 Juri Linkov <juri@jurta.org>
15899 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15900 For def=recenter, replace `recenter' with `recenter-top-bottom'
15901 that is called with `this-command' and `last-command' let-bound
15902 to `recenter-top-bottom'. When the last `def' was not `recenter',
15903 set `recenter-last-op' to nil. (Bug#4981)
15905 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
15907 Minor cleanup and simplification.
15908 * filecache.el (file-cache-add-directory)
15909 (file-cache-add-directory-recursively)
15910 (file-cache-add-from-file-cache-buffer)
15911 (file-cache-delete-file-regexp, file-cache-delete-directory)
15912 (file-cache-files-matching-internal, file-cache-display): Use dolist.
15913 (file-cache-temp-minibuffer-message): Delete function.
15914 (file-cache-minibuffer-complete): Use minibuffer-message instead.
15916 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15917 Don't signal an error when bumping into EOB in tr, s, or y.
15919 2009-11-29 Juri Linkov <juri@jurta.org>
15921 * startup.el (fancy-about-text): Fix wording of Guided Tour.
15924 * descr-text.el (describe-char-unidata-list): Use lowercase name
15925 for "Unicode name" like in other tags.
15927 2009-11-29 Juri Linkov <juri@jurta.org>
15929 * ediff-util.el (ediff-minibuffer-with-setup-hook):
15930 New compatibility macro.
15931 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15933 2009-11-29 Juri Linkov <juri@jurta.org>
15935 Add defcustom to define the cycling order of `recenter-top-bottom'.
15938 * window.el (recenter-last-op): Doc fix.
15939 (recenter-positions): New defcustom.
15940 (recenter-top-bottom): Rewrite to use `recenter-positions'.
15941 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15943 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
15945 Improve integration of Tramp and ange-ftp in eshell.
15947 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15948 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
15949 (eshell/sudo): Flatten args. Let-bind `default-directory'.
15951 * eshell/esh-util.el (top): Require also Tramp when compiling.
15952 (eshell-directory-files-and-attributes): Check for FTP remote
15954 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15955 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15956 (eshell-file-attributes): Handle ".". Return `entry'.
15958 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15959 (ange-ftp-directory-files-and-attributes)
15960 (ange-ftp-real-directory-files-and-attributes): New defuns.
15962 * net/tramp.el (tramp-maybe-open-connection): Open the remote
15963 shell with "exec" when possible. This prevents trailing prompts
15964 in `start-file-process'.
15966 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15968 Try and remove assumptions about point-min==1.
15969 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15970 (rng-compute-mode-line-string): Show the validation percentage in
15971 terms of the narrowed text, not the widened text.
15972 (rng-do-some-validation): Don't catch internal errors when debugging.
15973 (rng-first-error): Simplify.
15974 (rng-after-change-function): Remove work around. AFAIK the bug has
15975 been fixed a while ago.
15977 * image-mode.el (image-minor-mode): Exit more gracefully when the image
15978 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15980 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15982 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15983 `cd' doesn't always do it for us (bug#5067).
15985 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15986 on 2009-10-25 as part of some other change (bug#5067).
15988 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15990 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15992 (byte-compile-warnings): Use byte-compile-warning-types.
15993 (byte-compile-save-excursion): Warn about use of set-buffer right
15994 after save-excursion.
15996 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
15997 the excursion as well.
15999 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
16001 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
16002 providing a Tramp related implementation of "su" and "sudo".
16003 (eshell-unix-initialize): Add "su" and "sudo".
16005 2009-11-27 Daiki Ueno <ueno@unixuser.org>
16007 * net/socks.el (socks-send-command): Convert binary request to
16008 unibyte before sending. This fixes mishandling of some port
16009 numbers such as 129.
16011 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
16013 * help.el (describe-bindings-internal): Remove `interactive'.
16015 * man.el (Man-completion-table): Trim a terminating "(".
16016 Remove the space between name page a section.
16017 Add the command's description on the `help-echo' property.
16018 Remove `process-connection-type' binding since it's unused by
16020 Provide completion for the "<section> <name>" format as well.
16021 (Man-default-man-entry): Remove spurious var shadowing the argument.
16023 2009-11-26 Kevin Ryde <user42@zip.com.au>
16025 * log-view.el: Add "Keywords: tools", since its other keywords
16026 aren't in finder-known-keywords, and following vc.el.
16028 * sha1.el (sha1-string-external): default-directory "/" in case
16029 otherwise non-existent. process-connection-type pipe for touch of
16030 efficiency recommended by elisp manual. (An aside in Bug#3911.)
16032 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
16034 Misc coding convention cleanups.
16035 * htmlfontify.el (hfy-init-kludge-hook): Rename from
16036 hfy-init-kludge-hooks.
16037 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
16038 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
16039 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
16041 (hfy-slant, hfy-weight): Use tables rather than code.
16042 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
16043 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
16044 (hfy-face-attr-for-class): Initialize `face-spec' directly.
16045 (hfy-face-to-css): Remove `nconc' with single arg.
16046 (hfy-p-to-face-lennart): Use `or'.
16047 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
16048 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
16049 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
16050 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
16051 (hfy-force-fontification): Use run-hooks.
16053 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
16055 Various minor fixes.
16056 * htmlfontify.el (hfy-default-header): Add toggle_invis since
16057 Javascript belongs in the header, not the body.
16058 (hfy-javascript): Remove.
16059 (hfy-fontify-buffer): Don't insert it any more.
16060 (hfy-face-at): Handle (face0 face1 face2) style face properties.
16061 Fix bug in invis handling when there were no invis props in a chunk.
16063 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
16065 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
16067 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
16069 * finder.el (finder-mode-map): Add a menu.
16071 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
16073 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
16074 "unsigned" structs.
16076 (verilog-leap-to-head, verilog-backward-token): Handle "disable
16077 fork" statement better.
16079 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
16081 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
16082 (verilog-delete-auto, verilog-delete-empty-auto-pair)
16083 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
16084 Reported by Clay Douglass.
16086 (verilog-auto-inst, verilog-auto-star-safe)
16087 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
16088 Fix removing "// Interfaces" when saving .* expansions.
16089 Reported by Pierre-David Pfister.
16091 2009-11-26 Glenn Morris <rgm@gnu.org>
16093 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
16096 2009-11-25 Johan Bockgård <bojohan@gnu.org>
16098 * vc-annotate.el (vc-annotate-revision-previous-to-line):
16099 Really use previous revision.
16101 2009-11-25 Kevin Ryde <user42@zip.com.au>
16103 * man.el (Man-completion-table): default-directory "/" in case
16104 doesn't otherwise exist. process-environment COLUMNS=999 so as
16105 not to truncate long names. process-connection-type pipe to avoid
16106 any chance of hitting the pseudo-tty TIOCGWINSZ.
16107 (man): completion-ignore-case t for friendliness and since man
16108 itself is case-insensitive on the command line.
16109 Further to Bug#3717.
16111 * arc-mode.el: Add "Keywords: files", so the details in its
16112 commentary can be reached from finder-by-keyword.
16113 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
16114 editing mode, but it's comms related and sgml-mode.el has "comm"
16116 * textmodes/bibtex-style.el: Add "Keywords: tex".
16117 * international/isearch-x.el, international/ja-dic-cnv.el:
16118 * international/ja-dic-utl.el, international/kkc.el:
16119 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
16121 2009-11-25 Juri Linkov <juri@jurta.org>
16123 * man.el (Man-completion-table): Modify regexp to include
16124 section names to completion strings. (Bug#3717)
16126 2009-11-25 Juri Linkov <juri@jurta.org>
16128 Search recursively in gzipped files. (Bug#4982)
16130 * progmodes/grep.el (grep-highlight-matches): Add new options
16131 `always' and `auto'. Doc fix.
16132 (grep-process-setup): Check `grep-highlight-matches' for
16133 `auto-detect' to determine the need to compute grep defaults.
16134 Move Windows/DOS specific --colors settings handling
16135 to `grep-compute-defaults'. Check `grep-highlight-matches'
16136 to get the value of "--color=".
16137 (grep-compute-defaults): Compute `grep-highlight-matches' when it
16138 has the value `auto-detect'. Move Windows/DOS specific settings
16139 from `grep-process-setup'.
16140 (zrgrep): New command with alias `rzgrep'.
16142 2009-11-25 Juri Linkov <juri@jurta.org>
16144 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
16145 to nil instead of switching off view-mode. (Bug#4896)
16147 2009-11-25 Juri Linkov <juri@jurta.org>
16149 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
16151 * mwheel.el (mwheel-scroll-up-function)
16152 (mwheel-scroll-down-function): New defvars.
16153 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
16154 `scroll-up', and `mwheel-scroll-down-function' instead of
16157 * doc-view.el (doc-view-scroll-up-or-next-page)
16158 (doc-view-scroll-down-or-previous-page): Add optional ARG.
16159 Use this ARG in the call to image-scroll-up/image-scroll-down.
16160 Change `interactive' spec to "P". Goto next/previous page only
16161 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
16162 SPC/DEL case). Doc fix.
16163 (doc-view-next-line-or-next-page)
16164 (doc-view-previous-line-or-previous-page): Rename arg to ARG
16166 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
16167 `doc-view-scroll-up-or-next-page', and buffer-local
16168 `mwheel-scroll-down-function' to
16169 `doc-view-scroll-down-or-previous-page'.
16171 2009-11-25 Juri Linkov <juri@jurta.org>
16173 Provide additional default values (directories at other Dired
16174 windows) via M-n in the minibuffer of some Dired commands.
16176 * dired-aux.el (dired-diff, dired-compare-directories)
16177 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
16178 `minibuffer-default' in `minibuffer-with-setup-hook'.
16179 (dired-dwim-target-directory): Find a window that displays Dired
16180 buffer instead of failing when the next window is not Dired.
16181 Use `get-window-with-predicate' to find for the next Dired window.
16182 (dired-dwim-target-defaults): New function.
16184 * ediff-util.el (ediff-read-file-name):
16185 Use `dired-dwim-target-defaults' to set `minibuffer-default'
16186 in `minibuffer-with-setup-hook'.
16188 2009-11-25 Juri Linkov <juri@jurta.org>
16190 Provide additional default values (file name at point or at the
16191 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
16193 * minibuffer.el (read-file-name-defaults): New function.
16194 (read-file-name): Reset `minibuffer-default' to nil when
16195 it duplicates initial input `insdef'.
16196 Bind `minibuffer-default-add-function' to lambda that
16197 calls `read-file-name-defaults' in `minibuffer-selected-window'.
16198 (minibuffer-insert-file-name-at-point): New command.
16200 * files.el (file-name-at-point-functions): New defcustom.
16201 (find-file-default): Remove defvar.
16202 (find-file-read-args): Don't use `find-file-default'.
16203 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
16204 to `read-file-name'.
16205 (find-file-literally): Use `read-file-name' with
16206 `confirm-nonexistent-file-or-buffer'.
16208 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
16210 * dired.el (dired-read-dir-and-switches):
16211 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
16212 to `read-file-name'.
16213 (dired-file-name-at-point): New function.
16214 (dired-mode): Add hook `dired-file-name-at-point' to
16215 `file-name-at-point-functions'.
16217 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
16219 Really make the *Completions* window soft-dedicated (bug#5030).
16220 * window.el (window--display-buffer-2): Add `dedicated' argument.
16221 (display-buffer): Pass it when needed so the dedicated flag is set
16222 after calling set-window-buffer, which would otherwise reset it.
16224 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
16226 * progmodes/meta-mode.el (meta-complete-symbol):
16227 * progmodes/etags.el (complete-tag):
16228 * mail/mailabbrev.el (mail-abbrev-complete-alias):
16229 Use completion-in-region.
16231 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
16232 (dabbrev-completion): Use completion-in-region.
16233 (dabbrev--abbrev-at-point): Simplify regexp.
16235 * abbrev.el (abbrev--before-point): Use word-motion functions
16236 if :regexp is not specified (bug#5031).
16238 * subr.el (string-prefix-p): New function.
16240 * man.el (Man-completion-cache): New var.
16241 (Man-completion-table): Use it.
16243 * vc.el (vc-print-log-internal): Make `limit' optional for better
16244 compatibility (e.g. with vc-annotate.el).
16246 2009-11-24 Kevin Ryde <user42@zip.com.au>
16248 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
16249 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
16251 * emacs-lisp/elint.el (elint-add-required-env): Better error message
16252 when .el source file not found or other error.
16254 2009-11-24 Markus Triska <markus.triska@gmx.at>
16256 * linum.el (linum-update-window): Ignore intangible (bug#4996).
16258 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
16260 Handle the [back] button properly (bug#4979).
16261 * descr-text.el (describe-text-properties): Add a `buffer' argument.
16262 Use help-setup-xref, help-buffer, and with-help-window.
16263 (describe-char): Add `buffer' argument.
16264 Pass proper command to help-setup-xref. Don't meddle with
16265 help-xref-stack-item directly.
16266 (describe-text-category): Use with-help-window and help-buffer.
16268 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
16269 for the displayed buffer (bug#4887).
16271 * man.el (Man-completion-table): New function.
16274 2009-11-24 David Reitter <david.reitter@gmail.com>
16276 * vc-git.el (vc-git-registered): Use checkout directory (where
16277 .git is) rather than the file's directory and a relative path spec
16278 to work around a bug in git.
16280 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
16282 Improve handling of processes on remote hosts.
16284 * eshell/esh-util.el (eshell-path-env): New defvar.
16285 (eshell-parse-colon-path): New defun.
16286 (eshell-file-attributes): Use `eshell-parse-colon-path'.
16288 * eshell/esh-ext.el (eshell-search-path):
16289 Use `eshell-parse-colon-path'.
16290 (eshell-remote-command): Remove argument HANDLER.
16291 (eshell-external-command): Check for FTP remote connection.
16293 * eshell/esh-proc.el (eshell-gather-process-output):
16294 Use `file-truename', in order to start also symlinked files.
16295 Apply `start-file-process' instead of `start-process'.
16296 Shorten `command' to the local file name part.
16298 * eshell/em-cmpl.el (eshell-complete-commands-list):
16299 Use `eshell-parse-colon-path'.
16301 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
16303 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
16304 to `eshell-directory-change-hook'.
16306 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
16308 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
16309 because it could be enabled automatically if view-read-only is non-nil.
16311 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
16313 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
16314 made on 2009-11-22.
16316 2009-11-24 Glenn Morris <rgm@gnu.org>
16318 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
16319 deleted variable bookmark-bmenu-bookmark-column.
16321 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
16323 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
16325 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
16327 * net/browse-url.el (browse-url-filename-alist): On Windows, add
16328 two slashes to the "file:" prefix.
16329 (browse-url-file-url): De-munge Cygwin filenames before passing
16330 them to Windows browser.
16331 (browse-url-default-windows-browser): Use call-process.
16333 2009-11-23 Juri Linkov <juri@jurta.org>
16335 Implement DocView Continuous mode. (Bug#4896)
16336 * doc-view.el (doc-view-continuous-mode): New defcustom.
16337 (doc-view-mode-map): Bind C-n/<down> to
16338 `doc-view-next-line-or-next-page', C-p/<up> to
16339 `doc-view-previous-line-or-previous-page'.
16340 (doc-view-next-line-or-next-page)
16341 (doc-view-previous-line-or-previous-page): New commands.
16343 2009-11-23 Juri Linkov <juri@jurta.org>
16345 Implement Isearch in comint input history. (Bug#3746)
16346 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
16347 `isearch-mode-hook'.
16348 (comint-history-isearch): New defcustom.
16349 (comint-history-isearch-backward)
16350 (comint-history-isearch-backward-regexp): New commands.
16351 (comint-history-isearch-message-overlay): New buffer-local variable.
16352 (comint-history-isearch-setup, comint-history-isearch-end)
16353 (comint-goto-input, comint-history-isearch-search)
16354 (comint-history-isearch-message, comint-history-isearch-wrap)
16355 (comint-history-isearch-push-state)
16356 (comint-history-isearch-pop-state): New functions.
16358 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
16360 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
16362 (tramp-handle-make-symbolic-link)
16363 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
16365 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
16366 (tramp-handle-process-file): Use it.
16368 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
16370 * window.el (move-to-window-line-last-op): Remove.
16371 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
16373 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
16375 Make M-r mirror the new cycling behavior of C-l.
16376 * window.el (move-to-window-line-last-op): New var.
16377 (move-to-window-line-top-bottom): New command.
16378 (global-map): Bind M-r move-to-window-line-top-bottom.
16380 2009-11-23 Sven Joachim <svenjoac@gmx.de>
16382 * dired-x.el (dired-guess-shell-alist-default):
16383 Support xz format. (Bug#4953)
16385 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
16387 * emulation/viper-cmd.el: Use viper-last-command-char instead of
16388 last-command-char/last-command-event.
16389 (viper-prefix-arg-value): Do correct conversion of event-char for
16392 * emulation/viper-util.el, emulation/viper.el:
16393 Use viper-last-command-char instead of
16394 last-command-char/last-command-event.
16396 * ediff-init.el, ediff-mult.el, ediff-util.el:
16397 Replace last-command-char and last-command-event
16398 with (ediff-last-command-char) everywhere.
16400 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
16401 created in fundamental mode.
16403 * ediff.el (ediff-version): Revert the change of interactive-p to
16404 called-interactively-p.
16406 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
16408 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
16409 generation from word-movement command names.
16411 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
16413 * cus-start.el (all): Add native condition for font-use-system-font.
16415 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
16417 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
16418 Correct the patch from 2009-11-18. (Bug#3910)
16420 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
16422 * progmodes/subword.el: Rename from lisp/subword.el.
16424 * subword.el: Rename to progmodes/subword.el.
16426 * Makefile.in (ELCFILES): Adapt to subword.el move.
16428 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16429 Stefan Monnier <monnier@iro.umontreal.ca>
16431 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
16432 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
16433 (bookmark-bmenu-show-filenames): Use push.
16434 (bookmark-bmenu-hide-filenames): Use local var instead of
16435 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
16436 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
16437 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
16438 filenames now that the bookmark names are always available.
16440 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16442 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
16443 (bookmark-search-pattern): Move and leave unbound.
16444 (bookmark-bmenu-mode-map): Change binding.
16445 (bookmark-read-search-input): Simplify.
16446 Don't use text-char-description. Don't error on non-char events.
16447 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
16448 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
16449 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
16450 Use a local var for the timer.
16451 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
16452 (i.e. bookmark-bmenu-search).
16454 2009-11-21 Glenn Morris <rgm@gnu.org>
16456 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
16458 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
16460 * net/browse-url.el (browse-url-default-windows-browser):
16461 Use cygstart for cygwin.
16463 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
16465 * bookmark.el: Formatting and doc fixes only:
16466 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
16467 (bookmark-bmenu-search): Wrap to fit within 80 columns.
16468 Minor grammar and punctuation fixes in doc string.
16469 (bookmark-read-search-input): Adjust to fit within 80 columns.
16471 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16473 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
16474 (c-backward-into-nomenclature): Adapt to subword renaming.
16476 * subword.el (subword-forward, subword-backward, subword-mark)
16477 (subword-kill, subword-backward-kill, subword-transpose)
16478 (subword-downcase, subword-upcase, subword-capitalize)
16479 (subword-forward-internal, subword-backward-internal):
16480 Rename from forward-subword, backward-subword, mark-subword,
16481 kill-subword, backward-kill-subword, transpose-subwords,
16482 downcase-subword, upcase-subword, capitalize-subword,
16483 forward-subword-internal, backward-subword-internal.
16485 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16487 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
16489 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
16491 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
16492 (bookmark-bmenu-filter-alist-by-regexp)
16493 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
16494 (bookmark-bmenu-search): New command.
16495 (bookmark-bmenu-mode-map): Bind it.
16497 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16499 * progmodes/cc-cmds.el: declare-functioned forward-subword and
16500 backward-subword to quit the byte-compiler.
16502 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
16504 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
16506 * progmodes/cc-cmds.el (c-update-modeline)
16507 (c-forward-into-nomenclature, c-backward-into-nomenclature):
16508 Refer to subword.el functions instead of cc-subword.el.
16510 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
16511 subword.el functions instead of cc-subword.el.
16513 * progmodes/cc-subword.el: Rename to subword.el.
16514 * subword.el: Rename from progmodes/cc-subword.el.
16515 (subword-mode-map): Rename from c-subword-mode-map.
16516 (subword-mode): Rename from c-subword-mode.
16517 (global-subword-mode): New global minor mode.
16518 (forward-subword): Rename from c-forward-subword.
16519 (backward-subword): Rename from c-backward-subword.
16520 (mark-subword): Rename from c-mark-subword.
16521 (kill-subword): Rename from c-kill-subword.
16522 (backward-kill-subword): Rename from c-backward-kill-subword.
16523 (transpose-subwords): Rename from c-tranpose-subword.
16524 (downcase-subword): Rename from c-downcase-subword.
16525 (capitalize-subword): Rename from c-capitalize-subword.
16526 (forward-subword-internal): Rename from c-forward-subword-internal.
16527 (backward-subword-internal): Rename from c-backward-subword-internal.
16529 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
16531 * vc.el (vc-deduce-fileset): Allow non-state changing operations
16532 from a dired buffer.
16533 (vc-dired-deduce-fileset): New function.
16534 (vc-root-diff, vc-print-root-log): Use it.
16536 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
16537 nil LIMIT argument to vc-print-log-internal.
16539 2009-11-20 Glenn Morris <rgm@gnu.org>
16541 * Makefile.in (ELCFILES): Regenerate.
16543 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
16545 * calc/calc.el (calc-set-mode-line):
16546 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16547 (math-format-number): Rename `math-format-complement-signed' to
16548 `math-format-twos-complement'.
16550 * calc/calc-bin.el (math-format-twos-complement): Rename from
16551 math-format-complement-signed.
16552 (calc-radix): Rename `calc-complement-signed-mode' to
16553 `calc-twos-complement-mode'.
16554 (calc-octal-radix, calc-hex-radix): Add an argument for
16557 * calc/calc-embed.el (calc-embedded-mode-vars):
16558 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16560 * calc/calc-ext.el (calc-init-extensions):
16561 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16562 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
16564 * calc/calc-units.el (math-build-units-table-buffer):
16565 Let `calc-twos-complement-mode' be nil.
16567 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
16570 * calc/calc-vec.el (calcFunc-vunpack):
16571 * calc/calc-aent.el (calc-do-calc-eval):
16572 * calc/calc-forms.el (math-format-date):
16573 * calc/calc-graph.el (calc-graph-plot):
16574 * calc/calc-math.el (math-use-emacs-fn):
16575 * calc/calccomp.el (math-compose-expr):
16576 Let `calc-twos-complement-mode' be nil.
16578 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16580 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
16581 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
16582 * minibuffer.el (completion-in-region-functions): New hook.
16583 (completion-in-region): New function.
16584 * emacs-lisp/lisp.el (lisp-complete-symbol):
16585 * pcomplete.el (pcomplete-std-complete): Use it.
16587 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16589 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
16590 (latex-complete-alist): New vars.
16591 (latex-string-prefix-p, latex-complete-bibtex-keys)
16592 (latex-complete-envnames, latex-complete-refkeys)
16593 (latex-complete-data): New functions.
16594 (latex-complete, latex-indent-or-complete): New commands.
16596 * window.el (display-buffer-mark-dedicated): New var.
16597 (display-buffer): Obey it.
16598 * minibuffer.el (minibuffer-completion-help): Use it.
16600 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
16602 * filecache.el (file-cache-add-file): Use push and cons.
16603 (file-cache-delete-file-regexp): Use push.
16604 (file-cache-complete): Use completion-in-region.
16606 * simple.el (with-wrapper-hook): Fix thinko.
16608 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
16609 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
16610 Use with-current-buffer and string-to-number.
16611 (hfy-fallback-colour-values): Use assoc-string.
16612 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
16613 (hfy-face-at): Remove unused var `found-face'.
16614 (hfy-compile-stylesheet): Remove unused var `css'.
16615 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
16617 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
16618 Use with-current-buffer.
16619 (hfy-text-p): Use expand-file-name and fewer setq.
16621 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
16623 * htmlfontify.el, hfy-cmap.el: New files.
16625 2009-11-19 Juri Linkov <juri@jurta.org>
16627 * minibuffer.el (completions-format): New defcustom.
16628 (completion--insert-strings): Implement vertical format.
16630 * simple.el (switch-to-completions): Move point to the first
16631 completion when point was at the beginning of the buffer.
16633 2009-11-19 Juri Linkov <juri@jurta.org>
16635 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
16637 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
16639 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
16641 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
16642 (mail-signature): Change default to t.
16643 (mail-from-style): Deprecate `system-default' value.
16644 (mail-insert-from-field): For default value of mail-from-style,
16645 default to `angles' unless `angles' needs quoting and `parens'
16647 (mail-citation-prefix-regexp): Use citation regexp from
16650 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
16652 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
16653 Set variables for computing the prompt for reading password.
16655 2009-11-19 Glenn Morris <rgm@gnu.org>
16657 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
16659 * textmodes/flyspell.el (sgml-lexical-context): Declare.
16661 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
16662 (newsticker-treeview-listwindow-height): Fix custom type.
16664 2009-11-19 Kenichi Handa <handa@m17n.org>
16666 * descr-text.el (describe-char-padded-string): Compose with TAB
16667 only if there's a font for CH.
16668 (describe-char): Fix the condition for detecting a trivial composition.
16670 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
16672 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
16673 more accurate version of the regexp. (Bug#3910)
16675 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16677 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
16679 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
16681 * font-setting.el (font-use-system-font): Declare for byte-compiler.
16682 (font-setting-change-default-font): Fix typo in docstring.
16684 2009-11-18 Alan Mackenzie <acm@muc.de>
16686 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
16688 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16690 * font-setting.el (font-use-system-font): Move ...
16692 * cus-start.el (all): ... to here.
16694 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
16696 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
16697 Don't set `ad-return-value' if `ad-do-it' doesn't.
16699 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
16702 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16704 * menu-bar.el: Put "Use system font" in Option-menu.
16705 (menu-bar-options-save): Add font-use-system-font.
16707 * loadup.el: If feature system-font-setting or font-render-setting is
16708 there, load font-setting.
16710 * Makefile.in (ELCFILES): Add font-settings.el.
16711 * font-setting.el: New file.
16713 2009-11-17 Glenn Morris <rgm@gnu.org>
16715 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
16717 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
16718 Preserve point in the list buffer. (Bug#4939)
16720 (newsticker--treeview-list-update-highlight)
16721 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
16723 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16725 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
16728 * calc/calc-ext.el (calc-init-extensions): Remove references to
16731 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
16733 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
16734 * calc/calc-help.el (calc-b-prefix-help): Remove references to
16737 2009-11-16 Kevin Ryde <user42@zip.com.au>
16739 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16740 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
16742 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
16743 (lm-keywords-list): Allow comma-only separator like "foo,bar".
16744 Ignore trailing spaces by omit-nulls to split-string (fixing
16745 regression from Emacs 21 due to the incompatible split-string
16746 change). (Bug #4928.)
16748 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
16750 * vc.el (vc-log-show-limit): Default to 2000.
16751 (vc-print-log-internal): Insert buttons to request more entries
16752 when limiting the output.
16754 * vc-sccs.el (vc-sccs-print-log):
16755 * vc-rcs.el (vc-rcs-print-log):
16756 * vc-cvs.el (vc-cvs-print-log):
16757 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
16760 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16762 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
16763 error when `tramp-gvfs-dbus-event-vector' is set.
16764 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
16766 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16768 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
16770 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16772 * net/dbus.el (dbus-unregister-service): New defun.
16773 (dbus-register-property): Register the handlers of
16774 "org.freedesktop.DBus.Properties" for SERVICE.
16775 (dbus-property-handler): Fix docstring.
16777 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16779 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16780 Quote doc string reference in defvaralias as it is not in special form.
16781 (byte-compile-output-docform): Doc fix.
16783 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16785 * calc/calc.el (math-2-word-size, math-half-2-word-size)
16786 (calc-complement-signed-mode): New variables.
16787 (calc-set-mode-line): Add indicator for twos-complements.
16788 (math-format-number): Format twos-complement notation.
16790 * calc/calc-bin.el (calc-word-size): Reset the variables
16791 `math-2-word-size' and `math-half-2-word-size'.
16792 (math-format-complement-signed, math-symclip, calcFunc-symclip)
16793 (calc-symclip): New functions.
16795 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16797 * calc/calc-embed.el (calc-embedded-mode-vars):
16798 Add `calc-complement-signed-mode' to the list of modes.
16800 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16801 (calc-b-oper-keys): Add `calc-symclip' to list.
16803 * calc/calc-ext.el (math-read-number-fancy): Read complement
16805 (calc-init-extensions): Add binding for `calc-symclip'.
16806 Add autoload for `calcFunc-symclip' and `calc-symclip'.
16808 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16810 (calc-modes-menu): Add item for twos complement mode.
16812 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16814 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16816 * register.el (jump-to-register, insert-register): Handle Semantic
16817 tags. From commented-out advice in semantic/senator.el.
16819 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
16821 * vc.el (vc-log-show-limit): New variable.
16822 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
16823 when using a prefix argument.
16824 (vc-print-log-internal): Add new argument LIMIT.
16826 * vc-svn.el (vc-svn-print-log):
16827 * vc-mtn.el (vc-mtn-print-log):
16828 * vc-hg.el (vc-hg-print-log):
16829 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16830 pass it to the log command when set. Make the BUFFER argument
16833 * vc-sccs.el (vc-sccs-print-log):
16834 * vc-rcs.el (vc-rcs-print-log):
16835 * vc-git.el (vc-git-print-log):
16836 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16837 ignore it. Make the BUFFER argument non-optional.
16839 * bindings.el (mode-line-buffer-identification): Do not purecopy.
16841 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16843 * dired.el (dired-mode-map): Move encryption items to "Operate"
16846 * strokes.el (strokes-update-window-configuration): Make strokes
16847 buffer current before erasing (Bug#4906).
16849 2009-11-15 Juri Linkov <juri@jurta.org>
16851 * simple.el (set-mark-default-inactive): Add :type, :group
16852 and :version. (Bug#4876)
16854 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
16856 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16857 (archive-unique-fname): ... here. (Bug#4929)
16859 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
16861 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16864 * novice.el (disabled-command-function): Add useful args.
16865 Setup the help buffer so that [back] works.
16866 Remove redundant call to help-mode.
16867 (disabled-command-function): Use `case'.
16868 (en/disable-command): New function extracted from enable-command.
16869 (enable-command, disable-command): Use it.
16871 2009-11-14 Glenn Morris <rgm@gnu.org>
16873 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16874 constants. (Bug#4913)
16876 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16878 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
16880 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16881 defined in C that have no doc-strings. (Bug#1063)
16883 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
16885 * cus-edit.el (data, files):
16886 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
16888 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
16890 * simple.el (shell-command): Doc fix (Bug#4891).
16892 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16894 2009-11-14 Glenn Morris <rgm@gnu.org>
16896 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16897 statements for vc-diff, emerge-quit, and rmail-cease-edit.
16898 If they are already loaded, eval-after-load will do the right thing.
16900 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16903 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16905 * simple.el (x-selection-owner-p): Declare.
16906 (read-mail-command): Use custom radio type rather than choice.
16907 (completion-no-auto-exit): Doc fix.
16909 * custom.el (defgroup):
16910 * epg-config.el (epg): Doc fixes.
16912 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
16914 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16915 * international/ccl.el (define-ccl-program): Do not purecopy the
16916 docstring, defconst does it anyway.
16918 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16920 * add-log.el (add-change-log-entry): Avoid displaying the changelog
16923 * x-dnd.el (x-dnd-maybe-call-test-function):
16924 * window.el (split-window-vertically):
16925 * whitespace.el (whitespace-help-on):
16926 * vc-rcs.el (vc-rcs-consult-headers):
16927 * userlock.el (ask-user-about-lock-help)
16928 (ask-user-about-supersession-help):
16929 * type-break.el (type-break-force-mode-line-update):
16930 * time-stamp.el (time-stamp-conv-warn):
16931 * terminal.el (te-set-output-log, te-more-break, te-filter)
16932 (te-sentinel, terminal-emulator):
16933 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16934 (term-write-input-ring, term-check-source, term-start-output-log):
16935 (term-display-buffer-line, term-dynamic-list-completions):
16936 (term-ansi-make-term, serial-term):
16937 * subr.el (selective-display):
16938 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16939 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16940 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16941 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16942 (speedbar-remove-localized-speedbar-support)
16943 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16944 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16945 (speedbar-buffers-line-directory):
16946 * simple.el (shell-command-on-region, append-to-buffer)
16947 (prepend-to-buffer):
16948 * shadowfile.el (shadow-save-todo-file):
16949 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16950 (scroll-bar-maybe-set-window-start):
16951 * sb-image.el (speedbar-image-dump):
16952 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16953 (load-save-place-alist-from-file):
16954 * ps-samp.el (ps-print-message-from-summary):
16955 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16956 (ps-background-image, ps-begin-job, ps-do-despool):
16957 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16958 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16959 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16960 (pr-call-process, pr-file-list, pr-interface-save):
16961 * novice.el (disabled-command-function)
16962 (enable-command, disable-command):
16963 * mouse.el (mouse-buffer-menu-alist):
16964 * mouse-copy.el (mouse-kill-preserving-secondary):
16965 * macros.el (kbd-macro-query):
16966 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16967 * informat.el (batch-info-validate):
16968 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16969 * hippie-exp.el (try-expand-dabbrev-visible):
16970 * help-mode.el (help-make-xrefs):
16971 * help-fns.el (describe-variable):
16972 * generic-x.el (bat-generic-mode-run-as-comint):
16973 * finder.el (finder-mouse-select):
16974 * find-dired.el (find-dired-sentinel):
16975 * filesets.el (filesets-file-close):
16976 * files.el (list-directory):
16977 * faces.el (list-faces-display, describe-face):
16978 * facemenu.el (list-colors-display):
16979 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16980 * epg.el (epg--process-filter, epg-cancel):
16981 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16982 (epa--read-signature-type):
16983 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16984 (emerge-file-names):
16985 * ehelp.el (electric-helpify):
16986 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
16987 * ediff-vers.el (rcs-ediff-view-revision):
16988 * ediff-util.el (ediff-setup):
16989 * ediff-mult.el (ediff-append-custom-diff):
16990 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16992 * echistory.el (Electric-command-history-redo-expression):
16993 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
16994 * disp-table.el (describe-display-table):
16995 * dired.el (dired-find-buffer-nocreate):
16996 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
16997 * dabbrev.el (dabbrev--same-major-mode-p):
16998 * chistory.el (list-command-history):
16999 * apropos.el (apropos-documentation):
17000 * allout.el (allout-obtain-passphrase):
17001 (allout-copy-exposed-to-buffer):
17002 (allout-verify-passphrase): Use with-current-buffer.
17004 2009-11-13 Glenn Morris <rgm@gnu.org>
17006 * Makefile.in (ELCFILES): Regenerate.
17008 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
17010 * net/dbus.el (dbus-registered-objects-table): Rename from
17011 `dbus-registered-functions-table', because it contains also properties.
17012 (dbus-unregister-object): Unregister also properties.
17013 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
17014 Use a timeout of 500 msec, in order to not block.
17015 (dbus-register-property, dbus-property-handler): New defuns.
17017 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
17019 * simple.el (minibuffer-default-add-completions): Drop deprecated
17022 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
17024 * textmodes/artist.el (artist-mouse-choose-operation):
17025 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
17026 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
17027 (artist-compute-up-event-key): New function.
17028 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
17030 2009-11-13 Kenichi Handa <handa@m17n.org>
17032 * language/japan-util.el: Make sure that the value of jisx0208
17033 property is jisx0208 character.
17035 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
17037 * international/mule.el (auto-coding-regexp-alist): Only purecopy
17038 car or each item, not the whole list.
17040 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
17042 * minibuffer.el (minibuffer-completion-help):
17043 Use minibuffer-hide-completions.
17045 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
17047 * dired.el (dired-save-positions, dired-restore-positions): New funs.
17048 (dired-revert): Use them (bug#4880).
17050 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
17052 * tooltip.el (tooltip-frame-parameters): Undo previous change.
17054 2009-11-12 Juri Linkov <juri@jurta.org>
17056 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
17058 (find-file-literally-at-point): Alias of `ffap-literally'.
17060 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
17062 * textmodes/ispell.el (ispell-skip-region-alist):
17063 * textmodes/css-mode.el (auto-mode-alist):
17064 * progmodes/compile.el (auto-mode-alist):
17065 * international/mule.el (ctext-non-standard-encodings-alist)
17066 (ctext-non-standard-encodings-regexp):
17067 * simple.el (shell-command-switch, text-read-only):
17068 * replace.el (occur-mode-map):
17069 * paths.el (rmail-file-name):
17070 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
17071 * find-file.el (ff-special-constructs):
17072 * files.el (file-name-handler-alist):
17073 * composite.el: Purecopy strings.
17075 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
17077 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
17079 * widget.el (define-widget): Purecopy the docstring.
17080 * international/mule-cmds.el (charset): Do not purecopy the
17081 docstring here, define-widget does it.
17083 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
17084 * textmodes/bibtex-style.el (auto-mode-alist):
17085 * progmodes/inf-lisp.el (inferior-lisp-prompt):
17086 * progmodes/compile.el (compile-command):
17087 * language/korea-util.el (default-korean-keyboard):
17088 * international/mule-conf.el (file-coding-system-alist):
17089 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
17090 * tooltip.el (tooltip-frame-parameters):
17091 * newcomment.el (comment-end, comment-padding):
17092 * dired.el (dired-trivial-filenames):
17093 * comint.el (comint-file-name-prefix): Purecopy initial values.
17095 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
17097 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
17098 (tramp-advice-minibuffer-electric-tilde): Unload advices via
17100 (tramp-advice-make-auto-save-file-name)
17101 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
17102 after removing the advice.
17104 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
17106 * progmodes/grep.el (grep-regexp-alist):
17107 * international/mule-cmds.el (iso-2022-control-alist):
17108 * emacs-lisp/timer.el (timer-duration-words):
17109 * subr.el (version-separator, version-regexp-alist):
17110 * minibuffer.el (completion-styles-alist):
17111 * faces.el (face-attribute-name-alist, list-faces-sample-text):
17112 Change defvars to defconsts.
17114 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
17115 * loadup.el ("international/mule-conf"): Load the byte compiled version.
17116 * international/mule-conf.el: Allow to be byte compiled.
17118 * international/mule.el (define-charset): Purecopy props.
17119 (load-with-code-conversion): Purecopy doc string and file name.
17120 (put-charset-property): Purecopy strings.
17121 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
17123 * international/mule-cmds.el (register-input-method): Purecopy arguments.
17124 (define-char-code-property): Correctly purecopy the table.
17126 * international/ccl.el (define-ccl-program): Purecopy the docstring.
17128 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
17130 * subr.el (add-hook): Purecopy strings.
17131 (eval-after-load): Purecopy load-history-regexp and the form.
17133 * custom.el (custom-declare-group): Purecopy load-file-name.
17135 * subr.el (menu-bar-separator): New defconst.
17136 * net/eudc.el (eudc-tools-menu):
17137 * international/mule-cmds.el (set-coding-system-map)
17138 (mule-menu-keymap):
17139 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17140 * vc-hooks.el (vc-menu-map):
17141 * replace.el (occur-mode-map):
17142 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
17143 (menu-bar-edit-menu, menu-bar-goto-menu)
17144 (menu-bar-custom-menu, menu-bar-showhide-menu)
17145 (menu-bar-options-menu, menu-bar-tools-menu)
17146 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
17147 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
17148 (menu-bar-help-menu):
17149 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
17150 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
17152 * term/x-win.el (x-gtk-stock-map):
17153 * progmodes/vera-mode.el (auto-mode-alist):
17154 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
17155 (inferior-lisp-program, inferior-lisp-load-command):
17156 * progmodes/hideshow.el (hs-special-modes-alist):
17157 * progmodes/gud.el (same-window-regexps):
17158 * progmodes/grep.el (grep-program, find-program, xargs-program):
17159 * net/telnet.el (same-window-regexps):
17160 * net/rlogin.el (same-window-regexps):
17161 * language/ethiopic.el (font-ccl-encoder-alist):
17162 * vc-sccs.el (vc-sccs-master-templates):
17163 * vc-rcs.el (vc-rcs-master-templates):
17164 * subr.el (cl-assertion-failed):
17165 * simple.el (next-error-overlay-arrow-position):
17166 * lpr.el (lpr-command):
17167 * locate.el (locate-ls-subdir-switches):
17168 * info.el (same-window-regexps, info)
17169 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
17170 * image-mode.el (image-mode, auto-mode-alist):
17171 * hippie-exp.el (hippie-expand-ignore-buffers):
17172 * format.el (format-alist):
17173 * find-dired.el (find-ls-subdir-switches, find-grep-options)
17175 * facemenu.el (facemenu-keybindings):
17176 * dired.el (dired-listing-switches, dired-chown-program):
17177 * diff.el (diff-switches, diff-command):
17178 * cus-edit.el (same-window-regexps):
17179 * bindings.el (mode-line-mule-info)
17180 (mode-line-buffer-identification): Purecopy strings.
17182 2009-11-11 Juri Linkov <juri@jurta.org>
17184 * simple.el (dired-get-filename) <declare-function>:
17185 Tell the byte-compiler about dired-get-filename.
17186 (shell-command): In Dired mode, get filename from the current line
17187 as the default value.
17189 2009-11-10 Glenn Morris <rgm@gnu.org>
17191 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
17192 * calendar/holidays.el, progmodes/cperl-mode.el:
17193 Update x-popup-menu declarations.
17195 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
17196 (list-load-path-shadows): Use dolist.
17197 (list-load-path-shadows): Use with-current-buffer.
17199 2009-11-10 Juri Linkov <juri@jurta.org>
17201 * minibuffer.el (read-file-name): Support a list of default values
17202 in `default-filename'. Use the first file name where only one
17203 element is required. Doc fix.
17205 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
17207 * net/dbus.el (dbus-unregister-object): Release service, if no
17208 other method is registered for it.
17210 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
17212 * bookmark.el (bookmark-completing-read): Sort bookmark names if
17213 bookmark-sort-flag is non-nil (Bug#4653).
17215 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
17217 * emulation/cua-base.el: Add CUA property to some CC mode commands
17220 2009-11-08 Kevin Ryde <user42@zip.com.au>
17222 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
17223 at end of sentence (Bug#4818).
17225 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
17227 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17228 Handle "see declaration of" MSFT statements (Bug#4100).
17230 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
17232 * net/tramp.el (tramp-advice-make-auto-save-file-name)
17233 (tramp-advice-file-expand-wildcards): Unload via
17234 `ad-remove-advice'.
17236 * net/trampver.el: Update release number.
17238 2009-11-08 Kevin Ryde <user42@zip.com.au>
17240 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
17243 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
17245 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
17246 in order to keep context in SELinux.
17248 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
17250 * dired-aux.el (dired-query): Place cursor in echo area and allow
17253 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
17254 menu item if not on a directory (Bug#4701).
17256 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
17258 Sync with Tramp 2.1.17.
17260 * net/tramp.el (tramp-handle-copy-directory): Don't use
17261 `file-remote-p' (due to compatibility).
17263 * net/tramp-compat.el (tramp-compat-copy-directory)
17264 (tramp-compat-delete-directory): New defuns.
17266 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17267 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17268 Use `tramp-compat-delete-directory'.
17270 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
17271 (tramp-smb-handle-delete-directory):
17272 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
17274 * net/trampver.el: Update release number.
17276 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
17278 * tar-mode.el (tar-copy): Call write-region on the right buffer
17281 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
17282 by hand, if necessary (Bug#4878).
17284 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
17286 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
17287 align size column (Bug#4839).
17289 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
17292 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
17294 * progmodes/ld-script.el (auto-mode-alist):
17295 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
17297 * cus-face.el (custom-declare-face): Purecopy face spec.
17299 2009-11-06 Kenichi Handa <handa@m17n.org>
17301 * international/uni-bidi.el: Re-generated.
17302 * international/uni-category.el: Re-generated.
17303 * international/uni-combining.el: Re-generated.
17304 * international/uni-mirrored.el: Re-generated.
17306 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
17308 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
17309 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
17310 (tex-start-options, slitex-run-command, latex-run-command)
17311 (tex-run-command, tex-directory):
17312 * textmodes/ispell.el (ispell-html-skip-alists)
17313 (ispell-tex-skip-alists, ispell-tex-skip-alists):
17314 * textmodes/fill.el (adaptive-fill-first-line-regexp):
17315 (adaptive-fill-regexp):
17316 * textmodes/dns-mode.el (auto-mode-alist):
17317 * progmodes/python.el (interpreter-mode-alist):
17318 * progmodes/etags.el (tags-compression-info-list):
17319 * progmodes/etags.el (tags-file-name):
17320 * net/browse-url.el (browse-url-galeon-program)
17321 (browse-url-firefox-program):
17322 * mail/sendmail.el (mail-signature-file)
17323 (mail-citation-prefix-regexp):
17324 * international/mule-conf.el (eight-bit):
17325 * international/latexenc.el (latex-inputenc-coding-alist):
17326 * international/fontset.el (x-pixel-size-width-font-regexp):
17327 * emacs-lisp/warnings.el (warning-type-format):
17328 * emacs-lisp/trace.el (trace-buffer):
17329 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
17330 (emacs-lisp-mode-map):
17331 * calendar/holidays.el (holiday-solar-holidays)
17332 (holiday-bahai-holidays, holiday-islamic-holidays)
17333 (holiday-christian-holidays, holiday-hebrew-holidays)
17334 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
17335 (hebrew-holidays-1, holiday-oriental-holidays)
17336 (holiday-general-holidays):
17337 * x-dnd.el (x-dnd-known-types):
17338 * tool-bar.el (tool-bar):
17339 * startup.el (site-run-file):
17340 * shell.el (shell-dumb-shell-regexp):
17341 * rfn-eshadow.el (file-name-shadow-tty-properties)
17342 (file-name-shadow-properties):
17343 * paths.el (remote-shell-program, news-directory):
17344 * mouse.el ([C-down-mouse-3]):
17345 * menu-bar.el (menu-bar-tools-menu):
17346 * jka-cmpr-hook.el (jka-compr-load-suffixes)
17347 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
17348 (jka-compr-compression-info-list):
17349 * isearch.el (search-whitespace-regexp):
17350 * image-file.el (image-file-name-extensions):
17351 * find-dired.el (find-ls-option):
17352 * files.el (directory-listing-before-filename-regexp)
17353 (directory-free-space-args, insert-directory-program)
17354 (list-directory-brief-switches, magic-fallback-mode-alist)
17355 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
17356 (automount-dir-prefix):
17357 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
17358 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
17359 (face-font-registry-alternatives, face-font-registry-alternatives)
17360 (face-font-family-alternatives):
17361 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
17362 (facemenu-foreground-menu, facemenu-face-menu):
17363 * epa-hook.el (epa-file-name-regexp):
17364 * dnd.el (dnd-protocol-alist):
17365 * textmodes/rst.el (auto-mode-alist):
17366 * button.el (default-button): Purecopy strings.
17368 2009-11-06 Glenn Morris <rgm@gnu.org>
17370 * Makefile.in (ELCFILES): Update.
17372 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
17374 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
17375 * emacs-lisp/levents.el: Move to obsolete/levents.el.
17377 * nxml/xsd-regexp.el (xsdre-gen-categories):
17378 * nxml/xmltok.el (xmltok-parse-entity):
17379 * nxml/rng-parse.el (rng-parse-validate-file):
17380 * nxml/rng-maint.el (rng-format-manual)
17381 (rng-manual-output-force-new-line):
17382 * nxml/rng-loc.el (rng-save-schema-location-1):
17383 * nxml/rng-cmpct.el (rng-c-parse-file):
17384 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
17385 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
17387 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
17389 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
17390 Remove extra save-excursions and make-variable-buffer-local's.
17391 Suggested by Stefan Monnier.
17393 (verilog-getopt-file, verilog-module-inside-filename-p)
17394 (verilog-set-define): Merge GNU 1.35 and repair changes from
17395 switching to using with-current-buffer.
17397 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
17398 being treated as a number and confusing AUTORESET.
17399 Reported by Dan Dever.
17401 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
17402 Add verilog-auto-ignore-concat to fix backward compatibility with
17403 older verilog-modes. Reported by Dan Katz.
17405 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
17406 containing closing anchors "...$".
17408 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
17409 Reported by Wade Smith.
17411 (verilog-batch-execute-func): Comment on function usage.
17413 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
17415 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
17418 (verilog-label-re, verilog-calc-1): Support proper indent of named
17421 (verilog-backward-token, verilog-basic-complete-re)
17422 (verilog-beg-of-statement, verilog-indent-re): Support proper
17423 indent of the assert statement at the beginning of a block of text.
17425 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
17426 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
17429 2009-11-05 Glenn Morris <rgm@gnu.org>
17431 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
17432 Emacs 19. (Bug#1531)
17433 (byte-compile-fix-header): Update for the above change.
17434 Drop test for epoch::version.
17436 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
17437 * cus-dep.el (custom-make-dependencies):
17438 * finder.el (finder-compile-keywords):
17439 Use autoload-rubric's feature argument.
17441 * calendar/diary-lib.el (top-level): Make load behave more like require.
17443 * vc-git.el (vc-git-stash-map): Move definition before use.
17445 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
17447 * custom.el (custom-declare-group): Purecopy standard-value.
17448 (custom-declare-group): Purecopy custom-prefix.
17450 * international/mule.el (load-with-code-conversion):
17451 Call do-after-load-evaluation unconditionally.
17453 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
17455 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
17457 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
17459 2009-11-04 Glenn Morris <rgm@gnu.org>
17461 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
17462 (byte-compile-compatibility): Remove option.
17463 (byte-compile-close-variables, byte-compile-fix-header)
17464 (byte-compile-insert-header, byte-compile-output-docform)
17465 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
17466 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
17467 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
17468 (byte-compile-insert, byte-compile-defun):
17469 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
17470 (byte-defop-compiler19): Remove.
17471 Without byte-compile-compatibility, the 'emacs19-opcode property is not
17472 used by anything. Replace all calls with byte-defop-compiler.
17474 2009-11-04 Juri Linkov <juri@jurta.org>
17476 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
17477 (menu-bar-options-menu): Don't quote the `prop' arg of
17478 `menu-bar-make-mm-toggle'.
17480 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
17482 * calendar/calendar.el (cal-loaddefs):
17483 * calendar/diary-lib.el (diary-loaddefs):
17484 * calendar/holidays.el (hol-loaddefs):
17485 * eshell/esh-module.el (esh-groups): Load rather than require.
17487 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17489 * calendar/todo-mode.el (todo-add-category): Don't hardcode
17491 (todo-top-priorities): Only display-buffer when called interactively.
17492 (todo-item-start): Don't save excursion point.
17493 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
17494 (todo-insert-item-here, todo-file-item, todo-remove-item):
17495 Adjust uses of todo-item-start and todo-item-end.
17497 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
17498 (autoload-rubric): Don't use any more.
17500 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
17501 and only put a prop if it is non-nil.
17503 2009-11-03 Juri Linkov <juri@jurta.org>
17505 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
17506 (menu-bar-options-menu): Fix list quoting (Bug#4429).
17508 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
17509 and "Menu" to make top-level menu item visually one unit (like
17510 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
17511 multi-word menu items). Fix :help string for quit-window.
17513 2009-11-03 Glenn Morris <rgm@gnu.org>
17515 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
17516 (byte-compile-file-form-define-abbrev-table)
17517 (byte-compile-file-form-custom-declare-variable)
17518 (byte-compile-variable-ref, byte-compile-defvar):
17519 Whether or not a warning is enabled should only affect whether we issue
17520 the warning, not whether or not we collect the relevant data.
17521 Eg warnings can be turned on and off throughout the course of a file.
17523 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
17524 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
17526 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17528 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
17529 * play/mpuz.el (mpuz-create-buffer):
17530 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
17531 (lm-print-y,s,noise, lm-print-w0, lm-init):
17532 * play/gomoku.el (gomoku-prompt-for-move):
17533 * play/fortune.el (fortune-in-buffer):
17534 * play/dissociate.el (dissociated-press):
17535 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
17536 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
17537 * mail/supercite.el (sc-eref-show):
17538 * mail/smtpmail.el (smtpmail-send-it):
17539 * mail/rmailsum.el (rmail-summary-next-labeled-message)
17540 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
17541 (rmail-summary-undelete-many, rmail-summary-rmail-update)
17542 (rmail-summary-goto-msg, rmail-summary-expunge)
17543 (rmail-summary-get-new-mail, rmail-summary-search-backward)
17544 (rmail-summary-add-label, rmail-summary-output-menu)
17545 (rmail-summary-output-body):
17546 * mail/rfc822.el (rfc822-addresses):
17547 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
17548 * mail/mailpost.el (post-mail-send-it):
17549 * mail/hashcash.el (hashcash-generate-payment):
17550 * mail/feedmail.el (feedmail-run-the-queue)
17551 (feedmail-queue-send-edit-prompt-help-first)
17552 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
17553 (feedmail-deduce-address-list):
17554 * eshell/esh-ext.el (eshell-remote-command):
17555 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
17556 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
17557 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
17558 (viper-save-string-in-file, viper-valid-marker):
17559 * emulation/viper-keym.el (viper-toggle-key):
17560 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
17561 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
17562 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
17563 * emulation/viper-cmd.el (viper-exec-form-in-vi)
17564 (viper-exec-form-in-emacs, viper-brac-function):
17565 * emulation/viper.el (viper-delocalize-var):
17566 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
17567 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
17568 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
17569 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
17570 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
17571 * emulation/edt.el (edt-electric-helpify):
17572 * emulation/cua-rect.el (cua--rectangle-aux-replace):
17573 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
17574 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
17575 (cua-indent-to-global-mark-column):
17576 * calendar/diary-lib.el (calendar-mark-1):
17577 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
17578 Use with-current-buffer.
17579 * emulation/viper.el (viper-delocalize-var): Use dolist.
17581 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
17583 * comint.el (comint-replace-by-expanded-history-before-point):
17584 Replace !! with the previous input string literally (Bug#1795).
17586 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
17588 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
17589 to be made up of whitespace.
17591 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
17593 * minibuffer.el (read-file-name): Don't use file dialogs for
17594 remote directories (Bug#99).
17596 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
17598 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
17600 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
17602 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
17603 instead of deleting the window or frame.
17605 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17607 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
17608 Support face colors.
17610 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
17611 New function. Support face colors (Bug#1168).
17612 (tex-common-initialization): Use it.
17614 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
17615 mode allows it (Bug#1168).
17617 2009-10-31 Juri Linkov <juri@jurta.org>
17619 * facemenu.el (list-colors-display): Don't mark buffer as
17620 modified (Bug#3948).
17622 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17624 * international/mule-diag.el (list-character-sets-1):
17625 Minor message fix (Bug#3526).
17627 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
17628 Fix face property (Bug#4834).
17629 (etags-list-tags, etags-tags-apropos-additional)
17630 (etags-tags-apropos, tags-select-tags-table): Add follow-link
17633 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
17636 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
17638 * textmodes/two-column.el (2C-split):
17639 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
17640 * textmodes/tex-mode.el (tex-set-buffer-directory):
17641 * textmodes/spell.el (spell-region, spell-string):
17642 * textmodes/reftex.el (reftex-erase-buffer):
17643 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
17644 * textmodes/reftex-toc.el (reftex-toc-promote-action):
17645 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
17646 (reftex-select-item):
17647 * textmodes/reftex-ref.el (reftex-label-info-update)
17648 (reftex-offer-label-menu):
17649 * textmodes/reftex-index.el (reftex-index-change-entry)
17650 (reftex-index-phrases-info):
17651 * textmodes/reftex-global.el (reftex-create-tags-file)
17652 (reftex-save-all-document-buffers, reftex-ensure-write-access):
17653 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
17654 (reftex-view-crossref-from-bibtex):
17655 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
17656 (reftex-extract-bib-entries-from-thebibliography)
17657 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
17658 * textmodes/refbib.el (r2b-capitalize-title):
17659 (r2b-convert-buffer, r2b-help):
17660 * textmodes/page-ext.el (pages-directory)
17661 (pages-directory-goto-with-mouse):
17662 * textmodes/bibtex.el (bibtex-validate-globally):
17663 * textmodes/bib-mode.el (bib-capitalize-title):
17664 * textmodes/artist.el (artist-clear-buffer, artist-system):
17665 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
17666 (local-set-scheme-interaction-buffer, xscheme-process-filter)
17667 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
17668 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
17669 (xscheme-send-control-g-interrupt, xscheme-start-process)
17670 (xscheme-process-sentinel, xscheme-cd):
17671 * progmodes/verilog-mode.el (verilog-read-always-signals)
17672 (verilog-set-define, verilog-getopt-file)
17673 (verilog-module-inside-filename-p):
17674 * progmodes/sh-script.el:
17675 * progmodes/python.el (python-pdbtrack-get-source-buffer)
17676 (python-pdbtrack-grub-for-buffer, python-execute-file):
17677 * progmodes/octave-inf.el (inferior-octave):
17678 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
17679 (idlwave-shell-compile-helper-routines, idlwave-set-local)
17680 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
17681 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
17682 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
17683 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
17684 (idlwave-shell-filter, idlwave-shell-examine-highlight)
17685 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
17686 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
17687 (idlwave-shell-examine-display, idlwave-shell-run-region)
17688 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
17689 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
17690 * progmodes/idlw-help.el (idlwave-help-get-special-help)
17691 (idlwave-help-get-help-buffer):
17692 * progmodes/gud.el (gud-basic-call, gud-find-class)
17693 (gud-tooltip-activate-mouse-motions-if-enabled):
17694 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
17695 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
17696 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
17697 (ebrowse-tags-next-file):
17698 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
17699 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
17700 (ebnf-eps-finish-and-write):
17701 * progmodes/cpp.el (cpp-edit-save):
17702 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
17703 * progmodes/cc-defs.el (c-emacs-features):
17704 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
17705 (antlr-directory-dependencies):
17706 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
17707 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
17708 (ada-find-any-references, ada-make-filename-from-adaname)
17709 (ada-make-body-gnatstub):
17710 * obsolete/rnews.el (news-list-news-groups):
17711 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
17712 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
17713 * net/rcirc.el (rcirc-debug):
17714 * net/newst-treeview.el (newsticker--treeview-list-add-item)
17715 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
17716 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
17717 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
17718 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
17719 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
17720 (newsticker--treeview-list-clear-highlight)
17721 (newsticker--treeview-list-update-highlight)
17722 (newsticker--treeview-list-highlight-start)
17723 (newsticker--treeview-tree-update-highlight)
17724 (newsticker--treeview-get-selected-item)
17725 (newsticker-treeview-mark-list-items-old)
17726 (newsticker--treeview-set-current-node):
17727 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
17728 * net/newst-backend.el (newsticker--get-news-by-funcall)
17729 (newsticker--get-news-by-wget, newsticker--image-get)
17730 (newsticker--image-sentinel):
17731 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
17732 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
17733 (eudc-ph-close-session):
17734 * net/eudc.el (eudc-save-options):
17735 * language/thai-word.el (thai-update-word-table):
17736 * language/japan-util.el (japanese-string-conversion):
17737 * international/titdic-cnv.el (tsang-quick-converter)
17738 (ziranma-converter, ctlau-converter):
17739 * international/mule-cmds.el (describe-language-environment):
17740 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
17741 (skkdic-convert-postfix, skkdic-convert-prefix):
17742 (skkdic-convert-okuri-nasi, skkdic-convert):
17743 * emacs-lisp/re-builder.el (reb-update-overlays):
17744 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
17745 * emacs-lisp/gulp.el (gulp-send-requests):
17746 * emacs-lisp/find-gc.el (trace-call-tree):
17747 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
17748 (eieio-describe-generic):
17749 * emacs-lisp/eieio-base.el (eieio-persistent-read):
17750 * emacs-lisp/edebug.el (edebug-outside-excursion):
17751 * emacs-lisp/debug.el (debugger-make-xrefs):
17752 * emacs-lisp/cust-print.el (custom-prin1-to-string):
17753 * emacs-lisp/chart.el (chart-new-buffer):
17754 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
17755 Use with-current-buffer.
17756 * textmodes/artist.el (artist-system): Don't call
17757 copy-sequence on a fresh string.
17758 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
17760 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
17762 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
17763 is no item to edit. (Bug#4820)
17764 (todo-top-priorities): Restore point and restore narrowing in Todo
17767 2009-10-31 Glenn Morris <rgm@gnu.org>
17769 * net/ange-ftp.el (top-level): Don't require dired when compiling.
17770 (comint-last-output-start, comint-last-input-start)
17771 (comint-last-input-end): Don't defvar when compiling.
17772 (ange-ftp-process-file): Use bound-and-true-p.
17774 * pcmpl-rpm.el (top-level): Move provide statement to end.
17775 (pcmpl-rpm): Remove unused custom group.
17777 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17779 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17781 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17782 (byte-compile-warnings): Add `constants' as an option.
17783 (byte-compile-callargs-warn, byte-compile-arglist-warn)
17784 (display-call-tree): Update for byte-compile-fdefinition possibly
17785 returning `(macro lambda ...)'. (Bug#4778)
17786 (byte-compile-variable-ref, byte-compile-setq-default):
17787 Respect `constants' member of byte-compile-warnings.
17789 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17791 * vc-bzr.el (vc-bzr-revision-keywords): New var.
17792 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17795 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
17797 * textmodes/ispell.el (ispell-skip-region-alist):
17798 * international/mule-conf.el (eight-bit):
17799 * international/fontset.el (font-encoding-alist):
17800 * startup.el (pure-space-overflow-message):
17801 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17802 * paths.el (gnus-nntp-service, rmail-spool-directory)
17803 (term-file-prefix):
17804 * files.el (save-some-buffers-action-alist):
17805 * cmuscheme.el (same-window-buffer-names):
17806 * ielm.el (same-window-buffer-names):
17807 * shell.el (same-window-buffer-names):
17808 * mail/sendmail.el (same-window-buffer-names):
17809 * progmodes/inf-lisp.el (same-window-buffer-names):
17810 * bindings.el (mode-line-client)
17811 (mode-line-column-line-number-mode-map):
17812 * language/tibetan.el (tibetan-precomposition-rule-regexp)
17813 (tibetan-precomposed-regexp): Purecopy string arguments.
17815 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17817 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17818 (calcDigit-nondigit):
17819 * calc/calc-yank.el (calc-copy-to-buffer):
17820 * calc/calc-units.el (calc-invalidate-units-table):
17821 * calc/calc-trail.el (calc-trail-yank):
17822 * calc/calc-store.el (calc-insert-variables):
17823 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17824 * calc/calc-prog.el (calc-read-parse-table):
17825 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17826 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17827 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17828 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17829 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17830 (calc-graph-name, calc-graph-find-command, calc-graph-view)
17831 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17832 * calc/calc-ext.el (calc-realign):
17833 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17834 (calc-embedded-finish-edit, calc-embedded-make-info)
17835 (calc-embedded-finish-command, calc-embedded-stack-change):
17836 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17838 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17839 shell-dynamic-complete-filename in preference to
17840 comint-dynamic-complete-filename.
17842 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17843 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17844 Don't consider whether the display supports colors.
17845 (bookmark-import-new-list): Use dolist.
17846 (bookmark-bmenu-mode-map): Move initialization into declaration.
17847 (bookmark-bmenu-list): Use dolist, simplify.
17848 (bookmark-show-all-annotations): Use save-selected-window and dolist.
17849 (menu-bar-final-items): Use push.
17851 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
17853 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17854 it works on remote files.
17855 (vc-hg-diff): Don't pass any `--cwd' argument.
17857 2009-10-27 Kevin Ryde <user42@zip.com.au>
17859 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17860 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17861 (Further to Bug#3921).
17863 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
17865 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17866 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17867 calling `tramp-imap-put-file'. Add file size to the call.
17868 (tramp-imap-get-file-entries): Compute also user name, file size,
17870 (tramp-imap-handle-insert-directory): Insert uid and gid.
17871 (tramp-imap-handle-file-attributes): Transform uid and gid
17872 according to `id-format'.
17873 (tramp-imap-put-file): New optional parameter SIZE. Encode file
17874 size in header X-Size.
17876 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
17878 * simple.el (transpose-subr): Give clearer error when the mark
17879 is not set. (Bug#4807)
17881 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
17883 * net/tramp.el (tramp-perl-file-truename): New defconst.
17884 Perl code contributed by yary <not.com@gmail.com> (tiny change).
17885 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17886 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17887 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17889 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17890 Ignore `dired-call-process'.
17891 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17893 2009-10-26 Julian Scheid <julians37@gmail.com>
17895 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17896 (tramp-get-remote-readlink): New defun.
17897 (tramp-handle-file-truename): Use it.
17898 (tramp-handle-file-exists-p): Check file-attributes cache, assume
17899 file exists if cache value present.
17900 (tramp-check-cached-permissions): New defun.
17901 (tramp-handle-file-readable-p): Use it.
17902 (tramp-handle-file-writable-p): Likewise.
17903 (tramp-handle-file-executable-p): Likewise.
17904 (tramp-handle-file-name-all-completions): Try using Perl to get
17905 partial completions. When perl not available, combine `cd' and
17906 `ls' into single remote operation and use shell expansion to get
17907 partial remote directory contents. Set `file-exists-p' cache for
17908 directory and any files returned by ls. Change cache handling to
17909 support partial directory contents. Use error message emitted by
17910 remote `cd' or Perl code for local tramp-error.
17911 (tramp-do-copy-or-rename-file-directly): Avoid separate
17912 tramp-send-command-and-check call.
17913 (tramp-handle-process-file): Merge three remote ops into one.
17914 Do not flush all caches when `process-file-side-effects' is set.
17915 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17916 file-attributes shows uid/gid to be set already.
17918 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
17920 * textmodes/tex-mode.el (tex-dvi-view-command)
17921 (tex-show-queue-command, tex-open-quote):
17922 * progmodes/ruby-mode.el (auto-mode-alist)
17923 (interpreter-mode-alist): Purecopy strings.
17925 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17927 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17928 string for the hook, keymap and abbrev table.
17930 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17932 * x-dnd.el (x-dnd-xdnd-to-action):
17933 * startup.el (fancy-startup-text, fancy-about-text): Change to
17934 defconst from defvar.
17936 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17938 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17939 Purecopy initialization strings.
17941 * mail/sendmail.el (mail-header-separator)
17942 (mail-personal-alias-file):
17943 * mail/rmail.el (rmail-default-dont-reply-to-names)
17944 (rmail-ignored-headers, rmail-retry-ignored-headers)
17945 (rmail-highlighted-headers, rmail-secondary-file-directory)
17946 (rmail-secondary-file-regexp):
17947 * files.el (null-device, file-name-invalid-regexp)
17948 (locate-dominating-stop-dir-regexp)
17949 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17950 (interpreter-mode-alist): Use mapcar instead of mapc.
17952 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17954 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17955 (completion-ignored-extensions):
17956 (debug-ignored-errors): Purecopy strings.
17958 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17960 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17961 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17962 (pcomplete--here): Use push.
17964 * subr.el (all-completions): Declare the 4th arg obsolete.
17966 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17968 * pcomplete.el (pcomplete-unquote-argument-function): New var.
17969 (pcomplete-unquote-argument): New function.
17970 (pcomplete--common-suffix): Always pay attention to case.
17971 (pcomplete--table-subvert): Quote and unquote the text.
17972 (pcomplete--common-quoted-suffix): New function.
17973 (pcomplete-std-complete): Use it and pcomplete-begin.
17975 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17976 we're inside a dedicated or minibuffer window.
17978 2009-10-24 Karl Fogel <kfogel@red-bean.com>
17980 * bookmark.el: Update documentation, especially documentation
17981 of `bookmark-alist' and of the bookmark file format.
17982 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
17984 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
17986 * mail/emacsbug.el (report-emacs-bug): Clarify that the
17987 keybindings apply to the mail buffer (Bug#4003). Shrink help
17990 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17991 (global-whitespace-mode, global-whitespace-newline-mode)
17992 (whitespace-toggle-options, global-whitespace-toggle-options):
17993 Doc fix (Bug#3660).
17995 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
17996 of xmltok-start before the end tag was inserted (Bug#2840).
17998 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
17999 patterns that are preceded by an open-paren (Bug#1320).
18001 2009-10-24 Sven Joachim <svenjoac@gmx.de>
18003 * files.el (delete-directory): Delete symlinks to directories with
18004 delete-file (Bug#4739).
18006 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
18008 * vc.el (vc-backend-for-registration): Rename from
18009 vc-get-backend-for-registration. Update callers.
18011 * international/mule-cmds.el (set-language-info-alist):
18013 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
18014 (charset): Purecopy the name.
18015 (define-char-code-property): Purecopy string arguments.
18017 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18018 Purecopy string arguments.
18020 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
18021 * ediff-hook.el (menu-bar-ediff-menu):
18022 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
18023 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
18025 2009-10-24 Glenn Morris <rgm@gnu.org>
18027 * comint.el (comint-dynamic-list-completions):
18028 * term.el (term-dynamic-list-completions): Use choose-completion rather
18029 than obsolete alias mouse-choose-completion.
18031 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
18032 file-cache-choose-completion.
18033 (file-cache-choose-completion): Handle an optional event argument.
18034 (file-cache-mouse-choose-completion): Make it an obsolete alias.
18036 * progmodes/octave-mod.el (octave-complete-symbol):
18037 Use choose-completion if mouse-choose-completion is ever removed.
18039 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
18042 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
18045 * vc-hooks.el (vc-responsible-backend): Fix declaration.
18047 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
18049 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
18050 Ignore `pred' now that we receive one.
18051 Handle test-completion specially.
18053 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
18055 * vc.el (vc-responsible-backend): Throw an error if not backend is
18056 found. Remove the REGISTER argument. Move the code dealing with
18058 (vc-get-backend-for-registration): ... here. New function.
18059 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
18060 of vc-responsible-backend, pass the file name instead of the
18063 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
18065 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
18067 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
18068 (pcomplete-comint-setup): Don't modify a global var via
18069 accidental side-effects.
18070 (pcomplete-shell-setup): Adjust call accordingly.
18071 (pcomplete-parse-comint-arguments): Use push.
18073 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
18075 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
18076 Allow uncapitalized info node names (Bug#3921).
18078 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
18079 to the DEBUG file (Bug#3781).
18081 2009-10-23 Jari Aalto <jari.aalto@cante.net>
18083 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
18084 dictionary entry (Bug#4579).
18086 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
18088 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
18089 from `rfn-eshadow-update-overlay-hook' when unloading.
18090 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
18091 "rsyncc". Adjust doc string.
18092 (tramp-temp-buffer-file-name): New buffer-local defvar.
18093 (tramp-handle-insert-file-contents, tramp-handle-write-region):
18094 Keep temporary file when indicated by method ("rsync" and
18096 (tramp-handle-write-region): Handle APPEND.
18097 (tramp-delete-temp-file-function): New defun. Added to
18098 `kill-buffer-hook'.
18100 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
18102 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
18104 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
18106 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
18107 (color-name-rgb-alist, tty-standard-colors)
18108 (tty-color-mode-alist): Change to defconst.
18110 * simple.el (mark-inactive): Purecopy message.
18112 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
18113 (global-map, yank-menu):
18114 * textmodes/ispell.el (ispell-menu-map):
18115 * net/eudc.el (eudc-tools-menu):
18116 * international/mule-cmds.el (describe-language-environment-map)
18117 (setup-language-environment-map, set-coding-system-map)
18118 (mule-menu-keymap):
18119 * vc-hooks.el (vc-menu-entry, vc-menu-map):
18120 * replace.el (occur-mode-map):
18121 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
18123 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
18125 * calc/calc.el (math-read-number, math-read-number-simple):
18126 Use `save-match-data'.
18128 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
18130 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
18131 rather than fiddling with global-map bindings, since it should only
18132 affect per-terminal settings.
18133 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
18135 * minibuffer.el (completion-table-with-terminator): Allow to specify
18136 the terminator-regexp.
18138 * simple.el (switch-to-completions): Look for *Completions* in other
18141 * pcomplete.el: Allow the use of completion-tables.
18142 (pcomplete-std-complete): New command.
18143 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
18144 (pcomplete--here): Use a function for `form' rather than an expression,
18145 so it can be byte-compiled.
18146 (pcomplete-here, pcomplete-here*): Adjust accordingly.
18147 Add edebug declaration.
18148 (pcomplete-show-completions): Remove unused var `curbuf'.
18149 (pcomplete-do-complete, pcomplete-stub):
18150 Don't assume `completions' is a list of strings any more.
18152 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
18154 * find-dired.el (find-name-arg): Fix typo in docstring.
18156 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
18158 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
18159 (pcmpl-linux-fs-types): Same, and update to new modules layout.
18161 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
18164 * comint.el (comint-read-input-ring, comint-write-input-ring)
18165 (comint-substitute-in-file-name)
18166 (comint-dynamic-complete-as-filename)
18167 (comint-dynamic-simple-complete)
18168 (comint-dynamic-list-filename-completions)
18169 (comint-dynamic-list-completions)
18170 (comint-redirect-results-list-from-process): Minor simplifications.
18172 2009-10-21 Kevin Ryde <user42@zip.com.au>
18174 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
18175 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
18176 the first form. And insert a blank line after ";;; Code" since
18177 that's usual style. (Bug#4612)
18179 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
18181 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
18183 * minibuffer.el (completion-table-with-terminator): Properly implement
18184 boundaries, in case `terminator' appears in the suffix.
18185 (completion--embedded-envvar-table): Don't return boundaries if
18186 there's no valid completion. Simplify.
18187 (completion-file-name-table): New completion table extracted from
18188 completion--file-name-table.
18189 (completion--file-name-table): Use it.
18190 (read-file-name-predicate): Declare obsolete.
18191 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
18192 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
18193 completion-file-name-table, and use the `pred' argument.
18194 * files.el (locate-file-completion-table): Use the `pred' arg rather
18195 than read-file-name-predicate.
18196 (abbreviate-file-name): Use \` rather than ^ for BOS.
18198 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
18200 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
18201 vc-responsible-backend to register, it causes problems.
18203 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
18205 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
18207 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
18209 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
18210 (tramp-smb-handle-file-attributes): Use it.
18211 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
18212 (tramp-smb-handle-insert-directory): Use `mapc' rather than
18213 `mapcar'. Use `tramp-smb-get-stat-capability'.
18214 Add `dired-filename' text properties.
18215 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
18216 (tramp-smb-maybe-open-connection): Simplify check for smbclient
18219 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
18221 * subr.el (read-key-delay): Reduce to 0.01.
18222 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
18225 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
18227 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
18229 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
18230 (Info-menu): Remove unused vars `last' and `completions'.
18231 (Info-index-nodes): Remove unused var `node'.
18233 * info.el (Info-complete-menu-item): Use complete-with-action.
18235 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
18237 Make vc-annotate work through copies and renames.
18238 * vc-annotate.el (vc-annotate-extract-revision-at-line):
18239 Return the file name too.
18240 (vc-annotate-revision-at-line)
18241 (vc-annotate-find-revision-at-line)
18242 (vc-annotate-revision-previous-to-line)
18243 (vc-annotate-show-log-revision-at-line): Update to get the file
18244 name from vc-annotate-extract-revision-at-line.
18245 (vc-annotate-show-diff-revision-at-line-internal): Change the
18246 argument to mean whether to show a file diff or not. Get the file
18247 name from vc-annotate-extract-revision-at-line.
18248 (vc-annotate-show-diff-revision-at-line):
18249 Update vc-annotate-show-diff-revision-at-line call.
18250 (vc-annotate-warp-revision): Add an optional file argument.
18252 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
18253 (vc-git-annotate-extract-revision-at-line): Also return the file
18256 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
18257 command. Remove unused code.
18258 (vc-hg-annotate-re): Update to match --follow output.
18259 (vc-hg-annotate-extract-revision-at-line): Also return the file
18262 * vc.el: Update annotate-extract-revision-at-line documentation.
18264 2009-10-18 Kevin Ryde <user42@zip.com.au>
18266 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
18267 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
18269 * net/browse-url.el (browse-url): Identify alist with "consp and
18270 not functionp" and let all other things go down the `apply' leg,
18271 as suggested by Stefan. (Further to bug#4531.)
18273 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
18275 * minibuffer.el (read-file-name): Check for repeat before putting
18276 a default argument in file-name-history (Bug#4657).
18278 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
18279 read syntax (Bug#4737).
18281 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
18283 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18285 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
18286 (html-tag-alist, html-tag-help): Add descriptions for undocumented
18287 entries and make note of obsolete tags.
18289 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
18291 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
18293 2009-10-18 Glenn Morris <rgm@gnu.org>
18295 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
18296 grep, so that binary files (eg international/uni-bidi.el) can match.
18297 Remove test for "UnicodeData" files, since it is hopefully unnecessary
18298 now, and in any case the file header format has changed.
18300 2009-10-17 Glenn Morris <rgm@gnu.org>
18302 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
18303 (flyspell-get-word, flyspell-large-region)
18304 (flyspell-auto-correct-previous-word): Doc/error message fixes.
18306 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
18308 * Makefile.in (ELCFILES): Add ede/shell.
18310 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
18312 * term/common-win.el (x-colors): Purecopy it.
18314 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18316 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
18317 permissive for when the buffer is empty.
18318 (tar-header-block-tokenize): Decode the username and groupname.
18319 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
18321 2009-10-17 Eric Ludlam <zappo@gnu.org>
18323 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
18324 contains multibyte characters, choose first applicable coding
18325 system automatically.
18327 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18329 * international/mule-cmds.el (select-safe-coding-system): If the file
18330 has a coding cookie, use it regardless of any other setting (bug#4712).
18332 2009-10-17 Glenn Morris <rgm@gnu.org>
18334 * foldout.el (foldout-mouse-swallow-events):
18335 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
18337 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
18338 (dired-keep-marker-copy, dired-keep-marker-hardlink)
18339 (dired-keep-marker-symlink, dired-dwim-target)
18340 (dired-copy-preserve-time): Do not autoload these defcustoms.
18342 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
18343 messages from messing up the file coding. (Bug#4623)
18345 2009-10-17 Jari Aalto <jari.aalto@cante.net>
18347 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
18348 if no match is found for the current dictionary. (Bug#4578)
18350 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
18351 optional, since that is how it is documented, and this is often called
18352 with a nil argument. (Bug#4577)
18353 (flyspell-external-point-words, flyspell-auto-correct-word)
18354 (flyspell-correct-word-before-point, flyspell-word-search-forward)
18355 (flyspell-word-search-backward): Remove nil argument in calls to
18356 flyspell-get-word, since it is not needed now.
18358 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
18360 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
18362 2009-10-16 Glenn Morris <rgm@gnu.org>
18364 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
18366 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
18368 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
18369 (ange-ftp-file-size): New function.
18370 (ange-ftp-file-attributes): Use it.
18372 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
18374 * net/tramp-smb.el (tramp-smb-version): New defvar.
18375 (tramp-smb-maybe-open-connection): Use it, in order to avoid
18378 2009-10-16 Glenn Morris <rgm@gnu.org>
18380 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
18381 Maybe copy some custom properties from old to new name. (Bug#4706)
18383 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
18385 * subr.el (error, sit-for, start-process-shell-command)
18386 (start-file-process-shell-command): Set the calling convention
18387 after the function definition.
18389 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
18391 * subr.el (error, sit-for, start-process-shell-command)
18392 (start-file-process-shell-command): Use the new
18393 set-advertised-calling-convention feature.
18395 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
18397 * international/ucs-normalize.el (ucs-normalize-version):
18399 (check-range): Adjust for Unicode 5.2.
18401 2009-10-15 Juri Linkov <juri@jurta.org>
18403 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
18404 to the `menu-item' format.
18406 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
18408 * net/tramp.el (tramp-replace-environment-variables): Do not fail
18409 if the environment variable does not exist.
18411 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18412 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
18414 (tramp-smb-handle-add-name-to-file)
18415 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18416 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18417 (tramp-smb-handle-file-attributes)
18418 (tramp-smb-do-file-attributes-with-stat)
18419 (tramp-smb-handle-file-local-copy)
18420 (tramp-smb-handle-insert-directory)
18421 (tramp-smb-handle-make-directory)
18422 (tramp-smb-handle-make-directory-internal)
18423 (tramp-smb-handle-make-symbolic-link)
18424 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
18425 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
18426 (tramp-smb-maybe-open-connection): Apply the changed parameters.
18427 (tramp-smb-read-file-entry): Read Disk names in compressed format.
18428 Handle long file names.
18429 (tramp-smb-get-cifs-capabilities): Check, whether the connection
18430 process is running.
18431 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
18432 Read share names with "-g" option.
18434 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
18436 * net/rcirc.el (rcirc-view-log-file): New command.
18437 (rcirc-track-minor-mode-map): Remove C-c ` binding.
18438 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
18441 2009-10-15 Glenn Morris <rgm@gnu.org>
18443 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
18444 from the second command-line argument.
18445 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
18446 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
18447 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
18448 w32-batch-update-autoloads.
18449 * emacs-lisp/autoload.el (autoload-make-program): New variable.
18450 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
18452 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
18453 the headers cannot be located. Simplify, subtracting superflous
18456 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
18458 Replace completion-base-size by completion-base-position to fix bugs
18459 such as (bug#4699).
18460 * simple.el (completion-base-position): New var.
18461 (completion-base-size): Mark as obsolete.
18462 (choose-completion): Make it work for mouse events as well.
18463 Pass the new base-position to choose-completion-string.
18464 (choose-completion-guess-base-position): New function, extracted from
18465 choose-completion-delete-max-match.
18466 (choose-completion-delete-max-match): Use it. Make obsolete.
18467 (choose-completion-string): Use the new base-position info.
18468 (completion-root-regexp): Delete.
18469 (completion-setup-function): Preserve completion-base-position.
18470 Eliminate obsolete base-size manipulation.
18471 * minibuffer.el (display-completion-list): Don't mess with base-size.
18472 (minibuffer-completion-help): Set completion-base-position instead.
18473 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
18475 * textmodes/bibtex.el (bibtex-complete):
18476 * emacs-lisp/crm.el (crm--choose-completion-string):
18477 Adjust to new calling convention.
18478 * complete.el (partial-completion-mode): Use minibufferp to avoid
18479 bumping into incompatible change to choose-completion-string-functions.
18480 * ido.el (ido-choose-completion-string): Make its calling convention
18482 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
18483 base-size manipulation.
18484 (comint-dynamic-list-input-ring): Use dotimes and push.
18485 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
18486 fundamental-mode. Use `or'.
18488 2009-10-14 Juri Linkov <juri@jurta.org>
18490 * misearch.el (multi-isearch-next-buffer-from-list)
18491 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
18493 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18495 * Makefile.in (compile-onefile): Load `bytecomp' rather than
18498 * minibuffer.el (completion-pcm--merge-completions): Make sure the
18499 string we return is all made up of text from the completions rather
18500 than part from the completions and part from the input (bug#4219).
18502 * ido.el (ido-everywhere): Use define-minor-mode.
18504 * buff-menu.el (list-buffers, ctl-x-map):
18505 Mark the entry points with ;;;###autoload cookies.
18507 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
18509 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
18510 correctly in the detached head case.
18511 (vc-git-print-log): Remove unused binding.
18513 * vc.el (vc-responsible-backend): When a directory is passed for
18514 for registration create a VC repository if no backend is
18515 responsible for the directory argument.
18516 (vc-deduce-fileset): Tell vc-responsible-backend to register.
18518 * vc.el: Move comments about RCS and SCCS ...
18520 * vc-sccs.el: ... here, respectively.
18522 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18524 * minibuffer.el (completion--file-name-table): Return nil if there's
18525 no file completion, even if substitute-in-file-name changed
18526 the string (bug#4708).
18528 2009-10-13 Juri Linkov <juri@jurta.org>
18530 * files-x.el (read-file-local-variable-value): Don't filter out
18531 minor modes from mode name completion (bug#4664).
18533 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18535 * international/mule-cmds.el (ucs-names): Remove exclusion of
18536 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
18538 2009-10-13 Kenichi Handa <handa@m17n.org>
18540 * international/uni-name.el: Regenerated.
18542 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18544 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
18545 should be automatically buffer-local, but isn't.)
18547 2009-10-12 Sam Steingold <sds@gnu.org>
18549 * progmodes/compile.el (compilation-next-error-function): Fix the
18550 timestamps if the buffer has been visited before.
18551 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
18552 non-anchored patterns, like the perl one (bug#3928).
18554 2009-10-12 Glenn Morris <rgm@gnu.org>
18556 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
18559 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
18561 * proced.el (proced-unload-function): New function.
18563 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
18564 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
18567 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
18569 2009-10-11 Juri Linkov <juri@jurta.org>
18571 * files-x.el (read-file-local-variable-value):
18572 Provide default value only for bound variables (bug#4664).
18574 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
18576 * net/tramp.el (tramp-local-host-p): Function shall return nil for
18577 connection methods like smb.
18579 * net/tramp-cache.el (tramp-flush-connection-property): The hash
18582 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18583 (tramp-smb-file-name-handler-alist): Add handlers for
18584 `add-name-to-file', `make-symbolic-link'.
18585 (tramp-smb-handle-add-name-to-file)
18586 (tramp-smb-do-file-attributes-with-stat)
18587 (tramp-smb-handle-make-symbolic-link)
18588 (tramp-smb-get-cifs-capabilities): New defuns.
18589 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18590 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18591 (tramp-smb-handle-file-local-copy)
18592 (tramp-smb-handle-make-directory-internal)
18593 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
18594 The file name syntax depends on cifs capabilities.
18595 (tramp-smb-handle-file-attributes):
18596 Call `tramp-smb-do-file-attributes-with-stat' if possible.
18597 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
18598 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
18600 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
18602 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
18603 (eieio-defclass): Apply deftype handler and setf-method properties
18605 (eieio-add-new-slot): Avoid union function from cl library.
18606 (eieio--typep): New function.
18607 (eieio-perform-slot-validation): Use it.
18609 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18611 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
18612 Update documentation to refer to the variables documented in r1.135.
18615 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18617 * bookmark.el (Info-suffix-list): Remove this unused variable.
18618 (bookmark-current-point): Remove this obsolete variable.
18619 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
18620 Adjust for removal of bookmark-current-point.
18622 (bookmarks-already-loaded, bookmark-current-buffer)
18623 (bookmark-yank-point): Document. (Bug#4188)
18625 2009-10-10 Glenn Morris <rgm@gnu.org>
18627 * frame.el (frame-height): Doc fix.
18629 * calendar/calendar.el (calendar-split-width-threshold): New option.
18630 (calendar-basic-setup): Use calendar-split-width-threshold.
18632 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
18634 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
18635 Ideographic Supplement" range (U+1F200..U+1F2FF).
18637 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18639 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
18640 since the list will have been rebuilt anyway. (Bug#4349)
18642 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18644 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
18645 (bookmark-bmenu-execute-deletions): Don't save here, as
18646 bookmark-delete will now do so if necessary.
18647 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
18650 2009-10-09 Glenn Morris <rgm@gnu.org>
18652 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
18654 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18656 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
18657 (bookmark-jump-other-window): Just invoke bookmark-jump with new
18658 argument now, so the two function's behaviors will match. (Bug#3645)
18660 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
18662 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
18663 (tramp-file-name-real-host, tramp-file-name-port):
18664 Apply `save-match-data'.
18666 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
18667 case both directories are remote.
18668 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
18669 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
18671 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18673 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
18675 2009-10-07 Glenn Morris <rgm@gnu.org>
18677 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
18680 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
18682 * files-x.el (read-file-local-variable): Include some
18683 non-user-variables in the completion table (bug#4664).
18685 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
18687 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
18690 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18691 (tramp-smb-file-name-handler-alist): Add handler for
18692 `copy-directory', `expand-file-name', `set-file-modes'.
18693 (tramp-smb-handle-copy-directory)
18694 (tramp-smb-handle-expand-file-name)
18695 (tramp-smb-handle-set-file-modes): New defuns.
18696 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
18697 (tramp-smb-handle-file-attributes): Simplify check for retrieving
18699 (tramp-smb-handle-insert-directory): Don't flush the cache.
18700 (tramp-smb-maybe-open-connection): Check for samba client and
18703 2009-10-07 Eli Zaretskii <eliz@gnu.org>
18705 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
18706 to not error out of search for "^lisp=" fails.
18708 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18710 * makefile.w32-in (WINS_UPDATES): New macro.
18711 (custom-deps, finder-data, autoloads): Use it.
18713 2009-10-07 Glenn Morris <rgm@gnu.org>
18715 * Makefile.in (autoloads): Revert previous change.
18716 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
18717 the list of preloaded files passed on the command-line, get
18718 it from src/Makefile.
18720 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
18721 show the original buffer rather than a random one.
18723 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
18725 * help.el (describe-no-warranty): Place point in a slightly better
18726 position in the GPLv3 text.
18728 2009-10-06 Sam Steingold <sds@gnu.org>
18730 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
18731 the comm attribute is present before calling regexp-quote.
18733 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
18735 * play/animate.el (animate-string): For good effect, make sure
18736 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
18738 * play/animate.el (animate-sequence, animate-birthday-present):
18739 * misc.el (butterfly): Don't set `indent-tabs-mode'.
18741 2009-10-06 Glenn Morris <rgm@gnu.org>
18743 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
18745 * emacs-lisp/autoload.el (autoload-excludes): New variable.
18746 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
18747 (batch-update-autoloads): Process a string value of autoload-excludes,
18748 set during the build process.
18749 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
18751 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
18752 inside with-parsed... macro so that `v' is defined.
18754 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
18755 * progmodes/fortran.el (fortran-end-of-block)
18756 (fortran-beginning-of-block):
18757 Also push mark in the macro case.
18759 * emerge.el (emerge-show-file-name):
18760 * calc/calc.el (calc-quit):
18761 * calc/calc-misc.el (calc-big-or-small):
18762 * calc/calc-graph.el (calc-graph-view):
18763 * calc/calc-ext.el (calc-reset):
18764 * calendar/calendar.el (calendar-basic-setup):
18765 Use window-full-height-p.
18767 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
18768 header we don't understand, don't insert another. (Bug#4624)
18769 If changing mime charset, insert the new one in the right place.
18771 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
18773 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
18774 (cal-tex-cursor-month): Correctly increment the end date for diary and
18775 holiday listing. (Bug#4626)
18777 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18779 * help-fns.el (describe-function-1): Don't burp if the function is not
18782 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
18784 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18785 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18786 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18787 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18789 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18790 (eieio-default-superclass): Reflow docstrings.
18791 (this, class-option-assoc, defclass, eieio-class-un-autoload)
18792 (eieio-unbind-method-implementations, defmethod)
18793 (eieio-validate-slot-value, eieio-validate-class-slot-value)
18794 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18795 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18796 (eieio-slot-originating-class-p, eieio-slot-name-index)
18797 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18798 (constructor, initialize-instance, no-next-method, object-print)
18799 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18800 Fix typos in docstrings.
18801 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18802 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18803 (next-method-p): Doc fixes.
18804 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18805 Fix typos in error messages.
18806 (eieio-defmethod): Fix typo in description of generic method.
18808 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18809 (eieio-persistent-save-interactive, slot-missing):
18810 Fix typos in docstrings.
18811 (eieio-instance-inheritor-slot-boundp): Doc fix.
18813 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18814 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18816 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18817 (eieio-custom-object-apply-reset):
18818 Fix typos in docstrings and error messages.
18820 * emacs-lisp/eieio-datadebug.el (data-debug-show):
18821 Fix typo in docstring.
18823 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18824 (eieio-browse-tree): Doc fix.
18825 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18826 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18827 Fix typos in docstrings.
18829 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18830 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18831 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18832 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18835 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
18837 * vc-hg.el (log-view-vc-backend): Declare for compiler.
18838 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18839 Set log-view-vc-backend so that diff can work.
18841 * log-view.el (log-view-diff): Use vc-diff-internal instead of
18843 (vc-diff-internal): Autoload this instead of vc-version-diff.
18845 2009-10-05 Eli Zaretskii <eliz@gnu.org>
18847 * simple.el (eval-expression): Doc fix.
18849 * progmodes/cwarn.el (cwarn-mode): Doc fix.
18851 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
18853 * files.el (directory-files-no-dot-files-regexp): New defconst.
18854 (delete-directory): Use it.
18855 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
18857 * net/tramp.el (tramp-verbose): Fix docstring.
18858 (tramp-methods): Add recursive option to `tramp-copy-args'.
18859 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
18860 "scp1_old", "scp2_old", "rsync", "rsyncc".
18861 (tramp-default-method): Check also for `auth-source-user-or-password'.
18862 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18863 Add handler for `copy-directory'.
18864 (tramp-handle-copy-directory): New defun.
18865 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18866 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18867 Optimize sent command.
18869 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18871 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18872 window if necessary.
18874 * calendar/calendar.el (calendar-basic-setup): Don't call
18875 switch-to-buffer in a dedicated window.
18877 2009-10-05 Karl Fogel <kfogel@red-bean.com>
18879 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18880 don't do anything related to relocating, just return nil.
18881 (bookmark-error-no-filename): New error.
18882 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18883 bookmark has no file. Don't even attempt to handle things that
18884 are not files; the whole point of custom handlers is to keep that
18885 knowledge elsewhere anyway. Tighten some comments.
18886 (bookmark-file-or-variation-thereof): Remove now-unused function.
18887 (bookmark-location): Doc string fix.
18890 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18892 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18893 don't use a file dialog, because they usually don't know how to read
18894 a directory target from the user. (Bug#4230)
18895 Also, make sure the prompt can display directories as well as files.
18897 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18899 * bookmark.el (bookmark-set, bookmark-buffer-name):
18900 Improve doc strings. (Bug#1193)
18902 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18904 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18905 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18906 (bookmark-get-annotation, bookmark-set-annotation)
18907 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18908 (bookmark-set-position, bookmark-get-front-context-string)
18909 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18910 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18911 (bookmark-jump-other-window, bookmark-handle-bookmark)
18912 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18913 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18914 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18915 Improve doc strings to say whether bookmark can be a string or
18916 a record or both, and make other consistency and clarity fixes.
18917 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18918 (bookmark-default-annotation-text, bookmark-yank-word)
18919 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18920 (bookmark-import-new-list, bookmark-maybe-rename)
18921 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18922 (bookmark-bmenu-bookmark): Give these doc strings.
18923 (bookmark-bmenu-check-position): Give this a doc string, but also
18924 add a FIXME comment about how the function may be pointless.
18925 (bookmark-default-handler): Rework doc string and change a
18926 parameter name, to clarify that this takes a bookmark record
18927 not a bookmark name.
18928 (bookmark-set): Change a parameter name to indicate its meaning,
18929 and improve the doc string a bit.
18932 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18934 * bookmark.el (bookmark-alist): Document the new `handler' element
18935 in the param alist.
18936 (bookmark-make-record-function): Adjust documentation for above.
18939 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18941 * info.el (Info-bookmark-make-record): Document this function.
18942 (Info-bookmark-jump): Document with a doc string, not just a comment.
18945 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
18947 * files.el (copy-directory): New defun.
18949 * dired-aux.el (dired-copy-file-recursive): Use it.
18951 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
18953 * files-x.el (modify-dir-local-variable)
18954 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18957 * recentf.el (recentf-unload-function): New function.
18959 2009-10-04 Glenn Morris <rgm@gnu.org>
18961 * window.el (window-full-height-p): Add doc string.
18963 2009-10-04 Martin Rudalics <rudalics@gmx.at>
18965 * window.el (window-full-height-p): New function. (Bug#4543)
18967 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
18969 * vc.el: Remove commented out code.
18970 (vc-derived-from-dir-mode): Remove, unused.
18971 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18973 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
18975 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18976 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
18977 there could be recursive loading when `default-directory' is a
18978 remote file name. (Bug#4614)
18980 2009-10-03 Glenn Morris <rgm@gnu.org>
18982 * calendar/calendar.el (calendar-basic-setup): Handle the case where
18984 (calendar-generate-window): Test for shrinkability rather than width.
18986 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
18987 reusing existing buffers, in case we happen to visit two files with the
18988 same basename. (Bug#4593)
18990 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18992 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18993 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
18994 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
18995 subdirs of cedet as well.
18996 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
18998 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
19000 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
19001 Obey advertised-signature-table.
19003 * help-fns.el (help-function-arglist): Don't check
19004 advertised-signature-table.
19005 (describe-function-1): Do it here instead so it also applies to subrs.
19007 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
19009 * simple.el (start-file-process): Say in the doc-string, that file
19010 handlers might not support pty association, if PROGRAM is nil.
19012 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
19013 HOST and USER are strings. They are nil, when there are
19014 incomplete entries in ~/.netrc, for example.
19015 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
19016 root directory ("device busy" error otherwise).
19018 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
19019 Flush file properties of created directory.
19021 2009-10-02 Eli Zaretskii <eliz@gnu.org>
19023 * makefile.w32-in (WINS_BASIC): Remove cedet.
19024 (WINS_CEDET): Add cedet.
19025 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
19027 2009-10-02 Kevin Ryde <user42@zip.com.au>
19029 * net/browse-url.el (browse-url): Pass any symbol in
19030 browse-url-browser-function to `apply', since if you've mistakenly put
19031 an unbound symbol then the error is clearer. (Bug#4531)
19033 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
19035 * allout.el (allout-init, allout-back-to-current-heading)
19036 (allout-beginning-of-current-entry, allout-ascend-to-depth)
19037 (allout-ascend, allout-up-current-level, allout-end-of-level)
19038 (allout-previous-visible-heading, allout-forward-current-level)
19039 (allout-backward-current-level, allout-show-children):
19040 * apropos.el (apropos-describe-plist):
19041 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
19042 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
19043 * completion.el (add-completion, add-permanent-completion):
19044 * descr-text.el (describe-text-category, describe-char):
19045 * desktop.el (desktop-lazy-abort):
19046 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
19047 * dired.el (dired-build-subdir-alist):
19048 * ediff.el (ediff-version):
19049 * elide-head.el (elide-head, elide-head-show):
19050 * emerge.el (emerge-version):
19052 * face-remap.el (variable-pitch-mode):
19053 * faces.el (describe-face):
19054 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
19056 * files.el (find-file-existing, auto-save-mode):
19057 * font-lock.el (font-lock-fontify-buffer):
19058 * help-fns.el (describe-function, describe-variable)
19059 (describe-syntax, describe-categories):
19060 * help.el (view-lossage, describe-bindings, describe-key)
19062 * hexl.el (hexl-current-address):
19063 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
19064 * info.el (Info-goto-emacs-key-command-node):
19065 * log-edit.el (log-edit-insert-cvs-template)
19066 (log-edit-insert-cvs-rcstemplate):
19067 * menu-bar.el (menu-bar-mode):
19068 * mouse.el (mouse-appearance-menu):
19069 * newcomment.el (comment-indent-new-line):
19070 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
19071 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
19072 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
19073 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
19074 * recentf.el (recentf-mode):
19075 * savehist.el (savehist-mode, savehist-save):
19076 * shadowfile.el (shadow-copy-files):
19077 * simple.el (kill-ring-save, next-line, previous-line)
19078 (normal-erase-is-backspace-mode):
19079 * strokes.el (strokes-update-window-configuration)
19080 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
19081 (strokes-xpm-for-stroke):
19082 * time.el (emacs-uptime, emacs-init-time):
19083 * tutorial.el (tutorial--describe-nonstandard-key)
19084 (tutorial--detailed-help):
19085 * type-break.el (type-break-mode)
19086 (type-break-mode-line-message-mode, type-break-query-mode)
19087 (type-break-guesstimate-keystroke-threshold):
19088 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
19089 * version.el (emacs-version):
19090 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
19091 * winner.el (winner-mode):
19092 * calendar/timeclock.el (timeclock-in, timeclock-out)
19093 (timeclock-status-string, timeclock-change)
19094 (timeclock-workday-remaining-string)
19095 (timeclock-workday-elapsed-string)
19096 (timeclock-when-to-leave-string):
19097 * calendar/todo-mode.el (todo-add-category):
19098 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
19099 * emacs-lisp/autoload.el (update-file-autoloads):
19100 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
19101 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
19102 (checkdoc-message-text, checkdoc-defun):
19103 * emacs-lisp/debug.el (debugger-list-functions):
19104 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
19105 * emacs-lisp/eieio-opt.el (eieio-describe-class)
19106 (eieio-describe-generic):
19107 * emacs-lisp/lisp-mnt.el (lm-synopsis):
19108 * emacs-lisp/shadow.el (list-load-path-shadows):
19109 * emulation/cua-base.el (cua-mode):
19110 * emulation/edt.el (edt-set-scroll-margins):
19111 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
19112 (tpu-toggle-regexp, tpu-toggle-search-direction)
19113 (tpu-toggle-rectangle, tpu-toggle-control-keys):
19114 * emulation/tpu-extras.el (tpu-set-scroll-margins):
19115 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
19116 (viper-set-parsing-style-toggling-macro)
19117 (viper-set-emacs-state-searchstyle-macros):
19118 * emulation/viper.el (viper-set-hooks):
19119 * eshell/esh-mode.el (eshell-truncate-buffer):
19120 * international/mule-cmds.el (prefer-coding-system)
19121 (describe-input-method, describe-language-environment):
19122 * international/mule-diag.el (list-character-sets)
19123 (describe-character-set, describe-coding-system)
19124 (describe-fontset, list-fontsets, list-input-methods):
19125 * mail/sendmail.el (mail-signature):
19126 * net/ange-ftp.el (ange-ftp-copy-file):
19127 * net/browse-url.el (browse-url):
19128 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
19129 * net/quickurl.el (quickurl-add-url):
19130 * net/rcirc.el (names, topic):
19131 * net/xesam.el (xesam-mode):
19132 * play/5x5.el (5x5-new-game):
19133 * play/yow.el (apropos-zippy):
19134 * progmodes/ada-mode.el (ada-mode-version):
19135 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
19137 (f90-beginning-of-block):
19138 * progmodes/fortran.el (fortran-end-of-block)
19139 (fortran-beginning-of-block):
19140 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
19141 * progmodes/python.el (python-describe-symbol, python-shell):
19142 * term/ns-win.el (ns-print-buffer):
19143 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
19144 * textmodes/flyspell.el (flyspell-mode-on):
19145 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
19146 (pages-directory-for-addresses):
19147 * textmodes/table.el (table-recognize-cell)
19148 (table-query-dimension, table-generate-source)
19149 (table-insert-sequence, table--warn-incompatibility):
19150 * textmodes/tex-mode.el (tex-validate-buffer):
19151 * textmodes/texinfmt.el (texinfmt-version)
19152 (texinfo-format-buffer):
19153 Use `called-interactively-p' instead of `interactive-p'.
19155 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
19157 * image-mode.el (image-toggle-display):
19158 * emacs-lisp/elp.el (elp-instrument-function):
19159 * emacs-lisp/advice.el (ad-make-advised-definition):
19160 * emacs-lisp/easy-mmode.el (define-minor-mode):
19161 * net/browse-url.el (browse-url-maybe-new-window):
19162 * progmodes/sh-script.el (sh-learn-buffer-indent):
19163 Pass new argument 'any to `called-interactively-p'.
19165 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
19167 * international/uni-bidi.el:
19168 * international/uni-category.el:
19169 * international/uni-combining.el:
19170 * international/uni-comment.el:
19171 * international/uni-decimal.el:
19172 * international/uni-decomposition.el:
19173 * international/uni-digit.el:
19174 * international/uni-lowercase.el:
19175 * international/uni-mirrored.el:
19176 * international/uni-name.el:
19177 * international/uni-numeric.el:
19178 * international/uni-old-name.el:
19179 * international/uni-titlecase.el:
19180 * international/uni-uppercase.el:
19181 Regenerate from Unicode 5.2.0 data.
19183 2009-10-01 Glenn Morris <rgm@gnu.org>
19185 * Makefile.in (ELCFILES): Regenerate.
19187 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
19189 * subr.el (interactive-p): Mark obsolete.
19190 (called-interactively-p): Make the optional-ness of `kind' obsolete.
19191 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
19192 advertised-signature-table for subroutines as well.
19194 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
19195 (set-advertised-calling-convention): New function.
19196 (make-obsolete, define-obsolete-function-alias)
19197 (make-obsolete-variable, define-obsolete-variable-alias):
19198 Make the optional-ness of `when' obsolete.
19199 (define-obsolete-face-alias): Make `when' non-optional.
19200 * help-fns.el (help-function-arglist):
19201 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
19202 Use advertised-signature-table.
19204 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
19206 * files.el (delete-directory): New defun. The original function
19207 in fileio.c has been renamed to `delete-directory-internal'.
19209 * dired.el (dired-delete-file): Call `delete-directory' with
19210 RECURSIVE parameter.
19212 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
19213 parameter RECURSIVE. Implementation is missing.
19215 * net/tramp.el (tramp-handle-make-directory): Flush upper
19216 directory's file properties.
19217 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
19218 (tramp-handle-dired-recursive-delete-directory): Flush directory
19219 properties after the remove command only.
19221 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
19222 Handle optional parameter RECURSIVE.
19224 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
19225 Handle optional parameter RECURSIVE.
19227 * net/tramp-smb.el (tramp-smb-errors): Add error message for
19228 connection timeout.
19229 (tramp-smb-handle-delete-directory): Handle optional parameter
19232 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
19234 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
19235 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
19236 (byte-compile-defmacro): Use backquotes.
19238 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
19240 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
19241 has no associated file.
19242 (vc-resynch-buffer): Use vc-dir-buffers.
19244 2009-10-01 Glenn Morris <rgm@gnu.org>
19246 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
19247 (chart-file-count):
19248 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
19249 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
19250 * emacs-lisp/eieio-opt.el (eieio-describe-class):
19251 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
19252 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
19253 (eieio-copy-parents-into-subclass, make-instance, class-children)
19254 (eieio-generic-form):
19256 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
19257 match-data. (Bug#4555).
19259 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
19260 rather than parsing it as a regexp. This relaxes the layout
19261 requirements and makes errors easier to detect.
19262 (check-declare-verify): Check file is regular.
19263 (check-declare-directory): Doc fix.
19264 * subr.el (declare-function): Doc fix.
19266 * ibuffer.el (ibuffer-format-qualifier):
19267 * isearch.el (hi-lock-regexp-okay):
19268 * calc/calc.el (math-zerop):
19269 * mail/uce.el (rmail-msgbeg, rmail-msgend):
19270 * term/w32-win.el (setup-default-fontset, set-fontset-font):
19271 Remove unused declarations.
19273 2009-09-30 Eric Ludlam <zappo@gnu.org>
19275 * emacs-lisp/eieio.el (boolean-p): Delete.
19277 2009-09-30 Glenn Morris <rgm@gnu.org>
19279 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
19281 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
19282 filename is not a string.
19284 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
19286 * files.el (safe-local-eval-forms): Fix typo.
19288 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
19290 * vc-hooks.el (vc-dir-buffers): New var.
19291 (vc-state-refresh): New function.
19292 (vc-state): Use it.
19293 (vc-after-save): Always ask the backend to recompute the new state.
19294 Always call vc-dir if necessary, using vc-dir-buffers.
19295 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
19296 Use vc-dir-buffers.
19297 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
19298 (vc-dir-prepare-status-buffer, vc-dir-update)
19299 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
19300 Don't call expand-file-name on default-directory.
19302 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
19304 * speedbar.el (speedbar-item-delete):
19305 * calc/calc-prog.el (calc-kbd-if):
19306 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
19308 * epa.el (epa-key-list-mode-map):
19309 * hi-lock.el (hi-lock-menu): Fix typos in menus.
19311 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
19312 (hs-show-hook): Fix typo in docstring.
19314 2009-09-29 Glenn Morris <rgm@gnu.org>
19316 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
19317 file-name-nondirectory call preventing location of cedet files.
19318 (check-declare-verify): Use literal search rather than re-search.
19319 Add basic defmethod and defclass, and define-overloadable-function.
19321 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
19322 Use tramp-compat-file-attributes rather than nonexistent
19323 tramp-compat-handle-file-attributes.
19325 * Makefile.in (lisptagsfiles4): New.
19326 (AUTOGENEL): Add cedet loaddefs files.
19327 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
19328 (update-elclist, compile-always, backup-compiled-files)
19329 (bootstrap-clean): Add yet another directory level.
19330 (update-elclist): Use LC_COLLATE rather than COLLATE.
19331 (ELCFILES): Update, via `make update-elclist'.
19333 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
19335 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
19336 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
19337 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
19339 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
19341 * Makefile.in (lisptagsfiles3): Define.
19342 (TAGS, TAGS-LISP): Use it.
19343 (update-elclist): Add third directory level to look for elc files.
19344 (compile-always): Likewise.
19345 (backup-compiled-files): Likewise.
19346 (bootstrap-clean): Likewise.
19347 (ELCFILES): Update.
19349 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
19351 * Makefile.in (ELCFILES): Add CEDET files.
19353 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
19355 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
19357 * net/tramp.el (top): Require tramp-imap.
19359 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
19360 Use `tramp-compat-handle-file-attributes'.
19362 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
19364 * net/tramp-imap.el: New package.
19366 2009-09-28 Eric Ludlam <zappo@gnu.org>
19368 * emacs-lisp/chart.el:
19369 * emacs-lisp/eieio-base.el:
19370 * emacs-lisp/eieio-comp.el:
19371 * emacs-lisp/eieio-custom.el:
19372 * emacs-lisp/eieio-datadebug.el:
19373 * emacs-lisp/eieio-opt.el:
19374 * emacs-lisp/eieio-speedbar.el:
19375 * emacs-lisp/eieio.el: New files.
19377 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19379 * whitespace.el (whitespace-trailing-regexp)
19380 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
19383 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
19385 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
19388 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
19389 menu-bar-ediff-menu.
19391 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
19392 define-overloadable-function.
19394 * progmodes/autoconf.el: Provide autoconf as well, so that this
19395 file can be `require'd.
19397 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
19399 * emacs-lisp/autoload.el (generated-autoload-feature)
19400 (generated-autoload-load-name): New vars.
19401 (autoload-rubric, autoload-generate-file-autoloads): Use them.
19402 (make-autoload): Recognize define-overloadable-function and
19403 defclass forms (for EIEIO).
19405 * Makefile.in (update-subdirs): Exclude cedet directory.
19407 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
19409 * term/ns-win.el: Don't set the region face background. (Bug#4381)
19411 * faces.el: Default light-background background for region face to
19412 ns_selection_color under NS.
19414 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
19416 * net/imap-hash.el: New library, see NEWS.
19418 * Makefile.in (ELCFILES): Add imap-hash.el.
19420 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
19422 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
19423 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
19424 * help-macro.el (make-help-screen): Avoid using an ambiguous function
19425 definition where the docstring could be taken for the return value.
19427 2009-09-26 Glenn Morris <rgm@gnu.org>
19429 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
19430 Add option to only show images below a certain size.
19431 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
19432 save-excursion calls.
19434 2009-09-26 Eli Zaretskii <eliz@gnu.org>
19436 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
19437 subdirectories) and eieio.
19439 2009-09-26 Alan Mackenzie <acm@muc.de>
19441 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19442 Correct buggy bracketing. (Bug#4289)
19444 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
19445 character constants (as case labels). (Bug#4289)
19447 2009-09-25 Juri Linkov <juri@jurta.org>
19449 * files.el (safe-local-eval-forms): Allow time-stamp in
19450 before-save-hook (Bug#4554).
19452 2009-09-25 Drew Adams <drew.adams@oracle.com>
19454 * menu-bar.el (list-buffers-directory): Doc fix.
19456 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
19458 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
19459 Try and avoid copying twice the same paragraph.
19460 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
19461 Remove save-excursion.
19462 (log-edit-changelog-entry): Do it here instead.
19464 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
19466 * bs.el (bs--get-file-name): Use `list-buffers-directory'
19467 when available, instead of hardcoding mode names. Doc fix.
19469 * menu-bar.el (list-buffers-directory): Add docstring.
19470 Make automatically buffer-local.
19472 * dired.el (dired-mode):
19473 * files.el (cd-absolute):
19474 * pcvs.el (cvs-temp-buffer):
19475 * pcvs-util.el (cvs-get-buffer-create):
19476 * shell.el (shell-mode):
19477 * vc-dir.el (vc-dir-mode):
19478 Don't make `list-buffers-directory' buffer local.
19480 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
19482 * comint.el (comint-exec, comint-run, make-comint):
19483 Doc fixes (Bug#4542).
19485 2009-09-25 Glenn Morris <rgm@gnu.org>
19487 * mail/rmailmm.el (rmail-mime): New custom group.
19488 Move all defcustoms in this file into this group.
19489 (rmail-mime-media-type-handlers-alist): Revert previous change.
19490 (rmail-mime-show-images): New option.
19491 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
19492 references to it, since it wasn't actually used for anything.
19493 (rmail-mime-insert-image): New function.
19494 (rmail-mime-image): Use rmail-mime-insert-image.
19495 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
19496 obey the value of `rmail-mime-show-images' option. Print the size of
19499 2009-09-25 David Engster <deng@randomsample.de>
19501 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
19503 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19505 * whitespace.el: Does not highlight trailing spaces While point is
19506 at end of line. Does not highligt spaces at beginning of buffer
19507 while point is at beginning of buffer. Does not highlight spaces
19508 at end of buffer while point is at end of buffer. (Bug#4177)
19510 (whitespace-display-mappings): Adjust initialization.
19511 (whitespace-point, whitespace-font-lock-refontify): New vars.
19512 (whitespace-color-on, whitespace-color-off): Adjust code.
19513 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
19514 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
19515 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
19517 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
19519 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
19521 * textmodes/sgml-mode.el: Remove xml-mode alias.
19523 * files.el (auto-mode-alist, conf-mode-maybe)
19524 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
19526 2009-09-24 Alan Mackenzie <acm@muc.de>
19528 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
19529 c-forward-conditionals, but it doesn't move point and doesn't set
19531 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
19532 (c-down-conditional-with-else, c-backward-conditional)
19533 (c-forward-conditional): Refactor to use c-scan-conditionals.
19535 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19537 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
19538 (help-default-arg-highlight): Remove.
19539 (help-highlight-arg): New function.
19540 (help-do-arg-highlight): Use it.
19541 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
19543 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19545 * term.el (term-set-scroll-region, term-handle-ansi-escape):
19546 Undo last change, which didn't fix the problem and introduced others.
19548 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
19550 * progmodes/gdb-mi.el: Don't require speedbar.
19551 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
19553 2009-09-24 Glenn Morris <rgm@gnu.org>
19555 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
19557 * term/ns-win.el (ns-reg-to-script): Define for compiler.
19559 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
19560 there is no newline after the final mime boundary. (Bug#4539)
19561 Move markers on insertion so that any buttons inserted don't end up in
19562 the next part of a multipart message.
19563 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
19564 (rmail-mime-bulk-handler): Optionally handle images.
19565 (rmail-mime-image): New button action.
19566 (rmail-mime-image-handler): New function.
19567 (rmail-mime-mode): New mode.
19568 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
19570 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19572 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
19573 than just dropping elements from it (bug#4504).
19575 * term.el (term-set-scroll-region): Don't move cursor any more.
19576 (term-handle-ansi-escape): Call term-goto here instead.
19577 Suggested by Ivan Kanis <apple@kanis.eu>.
19579 * term.el: Require CL.
19580 (term-ansi-reset): New function.
19581 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
19582 (term-handle-colors-array): Simplify.
19584 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19586 * allout.el (allout-overlay-interior-modification-handler)
19587 (allout-obtain-passphrase):
19588 * epa-file.el (epa-file-write-region):
19589 * ps-print.el (ps-begin-job):
19590 * vc-hooks.el (vc-toggle-read-only):
19591 * vc-rcs.el (vc-rcs-rollback):
19592 * vc-sccs.el (vc-sccs-rollback):
19593 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
19594 (vc-version-diff, vc-revert, vc-rollback):
19595 * wdired.el (wdired-check-kill-buffer):
19596 * emacs-lisp/authors.el (authors):
19597 * net/socks.el (socks-open-connection):
19598 * net/zeroconf.el (zeroconf-service-add-hook):
19599 * obsolete/vc-mcvs.el (vc-mcvs-register):
19600 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
19601 (gdb-select-frame):
19602 * progmodes/grep.el (lgrep, rgrep):
19603 * progmodes/idlw-help.el (idlwave-help-check-locations)
19604 (idlwave-help-html-link, idlwave-help-assistant-open-link):
19605 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
19606 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
19607 (reftex-toc-rename-label): Fix typos in error messages.
19609 * dired-aux.el (dired-do-shell-command): Reflow docstring.
19610 (dired-copy-how-to-fn): Doc fix.
19611 (dired-files-attributes, dired-read-shell-command):
19612 Fix typos in docstrings.
19614 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
19615 (dired-x-find-file-other-window): Reflow docstrings.
19616 (dired-omit-marker-char, dired-read-shell-command)
19617 (dired-x-submit-report): Fix typos in docstrings.
19619 * shell.el (shell-mode-hook):
19620 * view.el (View-scroll-line-forward):
19621 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
19622 Fix typos in docstrings.
19624 * net/dig.el (dig-invoke): Fix typo in docstring.
19625 (query-dig): Reflow docstring.
19627 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
19628 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
19629 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
19630 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
19631 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
19632 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
19633 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
19634 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
19635 (idlwave-completion-map, idlwave-current-indent)
19636 (idlwave-custom-ampersand-surround, idlwave-customize)
19637 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
19638 (idlwave-define-abbrev, idlwave-determine-class-special)
19639 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
19640 (idlwave-end-block-reg, idlwave-end-of-statement)
19641 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
19642 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
19643 (idlwave-explicit-class-listed, idlwave-file-header)
19644 (idlwave-fill-paragraph, idlwave-find-class-definition)
19645 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
19646 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
19647 (idlwave-in-quote, idlwave-indent-action-table)
19648 (idlwave-indent-expand-table, idlwave-indent-line)
19649 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
19650 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
19651 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
19652 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
19653 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
19654 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
19655 (idlwave-outlawed-buffers, idlwave-popup-select)
19656 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
19657 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
19658 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
19659 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
19660 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
19661 (idlwave-statement-type, idlwave-struct-skip)
19662 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
19663 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
19664 (idlwave-what-module-find-class): Fix typos in docstrings.
19665 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
19666 (idlwave-calculate-cont-indent, idlwave-expand-equal)
19667 (idlwave-find-module, idlwave-find-structure-definition)
19668 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
19669 (idlwave-list-load-path-shadows, idlwave-next-statement)
19670 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
19671 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
19672 (idlwave-template): Reflow docstrings.
19674 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
19675 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
19676 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
19677 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
19678 (idlwave-shell-display-line, idlwave-shell-display-wframe)
19679 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
19680 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
19681 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
19682 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
19683 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
19684 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
19685 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
19686 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
19687 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
19688 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
19689 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
19690 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
19691 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
19692 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
19693 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
19694 Fix typos in docstrings.
19695 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
19696 (idlwave-shell-hide-output, idlwave-shell-mode)
19697 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
19700 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
19702 2009-09-24 Ivan Kanis <apple@kanis.eu>
19704 * term.el (term-bold-attribute): New var.
19705 (term-handle-colors-array): Use it.
19707 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
19709 * progmodes/gdb-mi.el (gdb-version): New variable.
19710 (gdb-non-stop-handler): Set gdb-version.
19711 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
19712 Condition "--thread" option on gdb-version.
19713 (gdb-invalidate-threads): Remove unused argument.
19715 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19717 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
19718 to looking-back to avoid ridiculous slow down in large files (bug#4511).
19720 2009-09-23 Glenn Morris <rgm@gnu.org>
19722 * mail/rmail.el (rmail-reply): Don't try to add a References header when
19723 replying to mail without References or Message-Id. (Bug#4525)
19725 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
19727 * term/ns-win.el (ns-reg-to-script): New variable.
19729 2009-09-23 Daiki Ueno <ueno@unixuser.org>
19731 * epg.el (epg-wait-for-status): Preserve existing 'error results.
19733 2009-09-22 Sam Steingold <sds@gnu.org>
19735 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
19736 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
19737 to 1 because hg returns status 1 when nothing is found.
19738 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
19740 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
19742 * textmodes/fill.el: Convert to utf-8 encoding.
19743 (fill-french-nobreak-p): Remove redundant » and « inherited from our
19746 * add-log.el (change-log-fill-forward-paragraph): New function.
19747 (change-log-mode): Use it so fill-region DTRT.
19748 Set fill-indent-according-to-mode here rather than in
19749 change-log-fill-paragraph.
19750 (change-log-fill-paragraph): Remove.
19752 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
19754 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
19755 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
19757 2009-09-22 Glenn Morris <rgm@gnu.org>
19759 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
19760 the scroll-bar scroll the calendar window rather than the buffer.
19762 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
19763 commands that move point (as opposed to scrolling).
19765 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
19767 * emacs-lisp/elint.el (elint): New custom group.
19768 (elint-log-buffer): Make it a defcustom.
19769 (elint-scan-preloaded, elint-ignored-warnings)
19770 (elint-directory-skip-re): New options.
19771 (elint-builtin-variables): Doc fix.
19772 (elint-preloaded-env): New variable.
19773 (elint-unknown-builtin-args): Add an entry for encode-time.
19774 (elint-extra-errors): Make it a variable rather than a constant.
19775 (elint-preloaded-skip-re): New constant.
19776 (elint-directory): Skip files matching elint-directory-skip-re.
19777 (elint-features): New variable, local to linted buffers.
19778 (elint-update-env): Initialize elint-features. Possibly add
19779 elint-preloaded-env to the buffer's environment.
19780 (elint-get-top-forms): Bind elint-current-pos, for log messages.
19782 (elint-init-form): New function, extracted from elint-init-env.
19783 Make non-list forms a warning rather than an error.
19784 Add the mode-map for define-derived-mode. Handle define-minor-mode,
19785 easy-menu-define, put that adds an error-condition, and provide.
19786 When requiring cl, also require cl-macs. Really require cl, to handle
19787 some cl macros. Store required libraries in the list elint-features,
19788 so as not to re-load them. Treat cc-require like require.
19789 (elint-init-env): Call elint-init-form to do the work.
19790 Handle eval-and-compile and such like.
19791 (elint-add-required-env): Do not clear messages.
19792 (elint-special-forms): Add handlers for function, defalias, if, when,
19794 (elint-form): Add optional argument to ignore elint-special-forms,
19795 useful to prevent recursive calls from handlers. Doc fix.
19796 Respect elint-ignored-warnings.
19797 (elint-form): Respect elint-ignored-warnings.
19798 (elint-bound-variable, elint-bound-function): New variables.
19799 (elint-unbound-variable): Respect elint-bound-variable.
19800 (elint-get-args): Respect elint-bound-function.
19801 (elint-check-cond-form): Add some simple handling for (f)boundp and
19803 (elint-check-defalias-form): New handler.
19804 (elint-check-let-form): Make an empty let a warning rather than an
19806 (elint-check-setq-form): Make an empty setq a warning rather than an
19807 error. Respect elint-ignored-warnings.
19808 (elint-check-defvar-form): Accept null doc-strings.
19809 (elint-check-conditional-form): New handler. Does some simple-minded
19810 checking of featurep and (f)boundp tests.
19811 (elint-put-function-args): New function.
19812 (elint-initialize): Use elint-scan-doc-file rather than
19813 elint-find-builtin-variables. Use elint-put-function-args.
19814 Possibly scan preloaded-file-list.
19815 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19816 extend to handle functions as well.
19818 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
19820 * linum.el (linum-delete-overlays, linum-update-window):
19821 Do not modify the right margin. (Bug#3971)
19823 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
19825 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19826 Use nxml-mode instead of xml-mode.
19828 2009-09-21 Kevin Ryde <user42@zip.com.au>
19830 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
19832 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19834 * net/dig.el (dig-mode): Use define-derived-mode.
19836 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
19838 * vc-dispatcher.el (vc-do-command): Return the process object in
19839 the asynchronous case. Use when instead of if. Do not run
19840 vc-exec-after to display a message if not enabled. (Bug#4463)
19842 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19843 properties to the stash strings.
19844 (vc-git-stash-list): Return a list of strings.
19845 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19846 (vc-git-stash-show-at-point): New functions.
19847 (vc-git-stash-map): New keymap.
19849 * register.el (ctl-x-r-map): Define the keys here instead of
19852 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
19854 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19855 list, to workaround performance problem (bug#4485).
19857 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
19859 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19861 2009-09-20 Daiki Ueno <ueno@unixuser.org>
19863 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19864 Document that this option is not recommended to use.
19866 2009-09-19 Glenn Morris <rgm@gnu.org>
19868 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19871 * calc/calc-alg.el (var):
19872 * calc/calcalg2.el (var): Define for compiler.
19874 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
19876 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19877 Doc fix (Bug#3932).
19879 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19881 * time-stamp.el (time-stamp-month-dd-yyyy)
19882 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19883 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19884 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19885 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19886 Remove functions that have been obsolete since 1995 (Bug#4436).
19888 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19889 indent buffer only if called interactively (Bug#4452).
19891 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
19892 Eli Zaretskii <eliz@gnu.org>
19894 This fixes bug#4197 (merged to bug#865, though not identical).
19895 * server.el (server-auth-dir): Add docstring note about FAT32.
19896 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19897 but warn against using them.
19899 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
19901 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19902 older GDB where there is no has_more field.
19904 2009-09-19 Glenn Morris <rgm@gnu.org>
19906 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19908 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
19910 * files.el (auto-mode-alist): Change default for XML files to nXML
19913 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
19915 * server.el (server-ensure-safe-dir): Pass 'integer
19916 to `file-attributes', as suggested.
19918 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
19920 * dired-aux.el (dired-query-alist): Remove spurious backslash.
19921 (dired-query): Use read-key.
19923 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
19925 * cus-start.el (ns-use-qd-smoothing): Remove.
19927 2009-09-18 Glenn Morris <rgm@gnu.org>
19929 * allout.el (top-level): Remove unnecessary progn.
19931 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19933 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19934 definition of abbrev table.
19936 * speedbar.el (speedbar-track-mouse):
19937 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19938 * net/eudc.el (eudc-expand-inline):
19939 * net/newst-backend.el (newsticker--cache-read-feed):
19940 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19941 condition-case handlers.
19943 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
19945 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19946 (gdb-var-list): Add an element for has_more field.
19947 (gdb-non-stop-handler): Enable pretty printing for STL containers.
19948 (gdb-var-create-handler, gdb-var-list-children-handler-1)
19949 (gdb-var-update-handler-1): Parse output of dynamic variable
19950 objects (STL containers).
19951 (gdb-var-delete-1): Pass var1 as an explicit second argument.
19952 (gdb-get-field): Delete alias. Use bindat-get-field directly.
19954 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19956 (gud-speedbar-buttons): Make node expandable if expression "has more"
19959 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
19961 * startup.el (emacs-quick-startup): Remove variable and all uses.
19962 (command-line): Set `inhibit-x-resources' instead.
19963 (command-line-1): Use `inhibit-x-resources' instead.
19965 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
19967 * subr.el: Fix last change to avoid using the `unless' macro,
19968 which breaks bootstrapping.
19970 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19972 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19973 extended definitions, in case we reload subr.el after having
19975 (eval-next-after-load): Mark as obsolete.
19977 2009-09-17 Juri Linkov <juri@jurta.org>
19979 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19980 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19981 (menu-bar-showhide-menu, menu-bar-tools-menu)
19982 (menu-bar-describe-menu, menu-bar-help-menu)
19983 (minibuffer-local-completion-map, minibuffer-local-map):
19986 2009-09-17 Glenn Morris <rgm@gnu.org>
19988 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
19989 arguments, whether or not it has a handler.
19991 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19993 * simple.el (hard-newline): Give it a doc-string.
19995 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19996 (lisp-mode-syntax-table): Give them doc-strings.
19998 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
20000 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
20001 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
20002 (menu-bar-options-menu, menu-bar-showhide-menu)
20003 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
20004 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
20005 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
20006 (menu-bar-options-menu, menu-bar-tools-menu)
20007 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
20008 (menu-bar-help-menu):
20009 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
20012 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
20013 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
20014 calls for the menu names and :help.
20016 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
20018 * mouse.el (minor-mode-menu-from-indicator): Pay attention
20019 to :minor-mode-function (bug#4455).
20021 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
20023 * startup.el (command-line): Initialize the window-system after
20024 processing the command-line.
20026 * textmodes/page.el (what-page): Make sure we don't inf-loop if
20027 page-delimiter matches the empty string.
20029 2009-09-16 Glenn Morris <rgm@gnu.org>
20031 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
20032 byte-compile-not-obsolete-var. It's a list now.
20033 (byte-compile-not-obsolete-funcs): New variable.
20034 (byte-compile-warn-obsolete): Don't warn about functions if they are in
20035 byte-compile-not-obsolete-funcs.
20036 (byte-compile-variable-ref, byte-compile-defvar): Update for
20037 byte-compile-not-obsolete-vars name-change and list nature.
20038 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
20039 and variables behind (f)boundp tests.
20040 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
20042 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
20044 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
20046 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
20048 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
20049 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
20052 2009-09-15 Stephen Eglen <stephen@gnu.org>
20054 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
20055 the virtual-buffers, use the name of the buffer specified by
20056 find-file-noselect, as the match may be a symlink. (This was a
20057 problem if the target and the symlink had different names.)
20059 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
20061 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
20063 * desktop.el (desktop-path): Check user-emacs-directory.
20065 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
20067 * loadup.el: Use after-load-functions to GC after loading each file.
20068 Remove the explicit GC calls that used to be sprinkled around.
20070 * subr.el (after-load-functions): New hook.
20071 (do-after-load-evaluation): Run it. Use string-match-p to detect
20072 `obsolete' packages, rather than painfully extracting the relevant
20075 2009-09-15 Glenn Morris <rgm@gnu.org>
20077 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
20078 free variable `doc'.
20080 * dired.el (dired-mode-map): Add menu entry for async shell command.
20082 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
20083 variables, also consider the .elc files, since the .el files are
20084 normally gzipped (subsequent code locates the .el.gz from the .elc).
20086 * calc/calc-prog.el (arglist): Define for compiler.
20088 * calendar/diary-lib.el (diary-display-function): Change the default to
20090 (body): Define for compiler.
20092 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
20093 (byte-compile-file-form, byte-compile-lambda)
20094 (byte-compile-top-level-body, byte-compile-form)
20095 (byte-compile-variable-ref, byte-compile-setq)
20096 (byte-compile-setq-default, byte-compile-body)
20097 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
20098 (batch-byte-compile): Give some more local variables with common names
20099 a "bytecomp-" prefix to avoid masking warnings about free variables.
20101 * startup.el (command-line-1): Give local variables with common names a
20102 distinguishing prefix, so as not to hide free variable warnings during
20105 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
20106 clever and add a suffix to make a unique name, just let the user decide
20107 whether or not to overwrite it. If the input is a directory, write the
20108 default filename to that directory. (Bug#4388)
20109 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
20110 is a filename-as-a-directory.
20112 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
20114 * textmodes/page.el (what-page): Don't move to beginning of line.
20115 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
20117 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
20119 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
20121 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
20123 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
20124 * help.el (help-for-help-internal): Add purecopy calls for text.
20126 * vc.el (top): print-log method now takes an optional SHORTLOG
20127 argument. Add a new method: root.
20128 (vc-root-diff, vc-print-root-log): New functions.
20129 (vc-log-short-style): New variable.
20130 (vc-print-log-internal): Add support for showing short logs.
20132 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
20133 vc-print-root-log and vc-print-root-diff.
20135 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
20136 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
20137 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
20140 * vc-cvs.el (vc-cvs-print-log):
20141 * vc-mtn.el (vc-mtn-print-log):
20142 * vc-rcs.el (vc-rcs-print-log):
20143 * vc-sccs.el (vc-sccs-print-log):
20144 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
20145 that is ignored for now.
20147 * vc-mtn.el (vc-mtn-annotate-command):
20148 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
20150 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20152 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
20153 to function-key-map, and give them ascii-character property.
20154 * term/x-win.el (x-alternatives-map):
20155 * term/ns-win.el (ns-alternatives-map):
20156 * term/internal.el (msdos-key-remapping-map):
20157 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
20159 2009-09-14 Glenn Morris <rgm@gnu.org>
20161 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
20162 temp-buffers (2009-09-12).
20164 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
20166 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
20167 the new read-key function.
20169 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
20171 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
20172 is defined (Bug#4405).
20174 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
20176 * recentf.el (recentf-cleanup): Use a hash table to find
20177 duplicates (Bug#4407).
20179 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
20181 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
20182 kp-0 to ascii equivalents (Bug#4325).
20184 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
20186 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
20188 * eshell/em-hist.el:
20189 * eshell/em-dirs.el (eshell-complete-user-reference):
20190 Declare pcomplete functions and variables to avoid compiler warnings.
20192 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
20194 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
20195 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
20196 * eshell/em-alias.el (eshell-aliases-file):
20197 * eshell/em-hist.el (eshell-history-file-name):
20198 Use expand-file-name instead of concat to make file names (Bug#4308).
20200 2009-09-13 Glenn Morris <rgm@gnu.org>
20202 * ediff-merg.el (ediff-do-merge):
20203 * filesets.el (filesets-run-cmd):
20204 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
20205 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
20206 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
20207 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
20208 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
20209 Replace empty `let's with `progn'.
20211 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
20213 * mail/sendmail.el (send-mail-function):
20214 * tooltip.el (tooltip-mode):
20215 * simple.el (transient-mark-mode):
20216 * rfn-eshadow.el (file-name-shadow-mode):
20217 * frame.el (blink-cursor-mode):
20218 * font-core.el (global-font-lock-mode):
20219 * files.el (temporary-file-directory)
20220 (small-temporary-file-directory, auto-save-file-name-transforms):
20221 * epa-hook.el (auto-encryption-mode):
20222 * composite.el (global-auto-composition-mode):
20223 Use custom-initialize-delay.
20224 * startup.el (command-line): Don't explicitly call
20225 custom-reevaluate-setting for all the above vars.
20226 * custom.el (custom-initialize-safe-set)
20227 (custom-initialize-safe-default): Delete.
20229 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20231 * term/x-win.el (x-initialize-window-system):
20232 * term/w32-win.el (w32-initialize-window-system):
20233 * term/ns-win.el (ns-initialize-window-system): Don't call
20234 mouse-wheel-mode since it's enabled globally by default already.
20236 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
20237 actually define the variable, but only silences the byte-compiler.
20238 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
20239 before looking it up.
20240 (mouse-wheel-scroll-amount): Also reset the bindings if this value
20243 2009-09-12 Glenn Morris <rgm@gnu.org>
20245 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
20247 (elint-add-required-env): Don't beep on error.
20248 (elint-forms): In case of error, return ENV unchanged.
20249 (elint-init-env): Skip non-list forms.
20250 (elint-log): Handle unknown file positions.
20252 2009-09-12 Daiki Ueno <ueno@unixuser.org>
20254 * epg.el (epg-make-context): Add autoload cookie.
20255 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
20256 (epg-decrypt-string, epg-start-verify, epg-verify-file)
20257 (epg-verify-string, epg-start-sign, epg-sign-file)
20258 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
20259 (epg-encrypt-string, epg-start-export-keys)
20260 (epg-export-keys-to-file, epg-export-keys-to-string)
20261 (epg-start-import-keys, epg-import-keys-from-file)
20262 (epg-import-keys-from-string, epg-start-receive-keys)
20263 (epg-receive-keys, epg-import-keys-from-server)
20264 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
20265 (epg-sign-keys, epg-start-generate-key)
20266 (epg-generate-key-from-file, epg-generate-key-from-string):
20267 Remove autoload cookie.
20269 2009-09-12 Eli Zaretskii <eliz@gnu.org>
20271 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
20272 reevaluation of trash-directory.
20274 * mwheel.el: Fix last change.
20275 (mouse-wheel-mode): New defvar.
20276 (mouse-wheel-mode): Remove autoload cookie.
20278 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20280 * mwheel.el (mwheel-installed-bindings): New var.
20281 (mouse-wheel-mode): Use it, so as to make sure we really remove all
20282 the bindings we set last time. Use custom-initialize-delay.
20283 * loadup.el: Load mwheel after term/*-win.el.
20284 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
20285 and mouse-wheel-up-event now that their first evaluation is done
20286 sufficiently late to be correct.
20288 * startup.el (tutorial-directory): Make it a defcustom.
20289 Use custom-initialize-delay rather than eval-at-startup to set it.
20290 * image.el (image-load-path): Make it a defcustom.
20291 Use custom-initialize-delay rather than eval-at-startup to set it.
20292 * subr.el (eval-at-startup): Remove.
20293 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
20295 * subr.el (do-after-load-evaluation): Warn the user after loading an
20298 2009-09-12 Glenn Morris <rgm@gnu.org>
20300 * proced.el (proced-mark-alt): Remove alias.
20301 (proced-mode-map): Remove proced-mark-alt.
20303 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
20304 Elint file and directory. Remove initialization entry.
20306 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
20308 (elint-current-buffer): Set mode-line-process.
20309 (elint-init-env): Handle define-derived-mode.
20310 Fix declare-function with unspecified arglist. Guard against odd
20311 defalias statements (eg iso-insert's 8859-1-map).
20312 (elint-add-required-env): Use a temp buffer.
20313 (elint-form): Just print the function/macro name, not the whole form.
20314 Return env unchanged if we fail to parse a macro.
20315 (elint-forms): Guard against parse errors.
20316 (elint-output): New function, to handle batch mode.
20317 (elint-log-message): Add optional argument. Use elint-output.
20318 (elint-set-mode-line): New function.
20320 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
20322 * emacs-lisp/elp.el (elp-not-profilable): Add more
20323 functions (Bug#4233).
20325 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
20327 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
20328 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
20330 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
20332 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
20333 (gdb-var-list-children): Use json parsing.
20335 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
20337 * progmodes/js.el (js--proper-indentation): Handle the case where
20338 char-before is null. Reported by Deniz Dogan.
20340 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
20342 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
20344 2009-09-11 Daiki Ueno <ueno@unixuser.org>
20346 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
20347 (epg-digest-algorithm-alist): Add SHA224.
20348 (epg-context-set-passphrase-callback)
20349 (epg-context-set-progress-callback): Add description about
20352 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20354 * custom.el (custom-delayed-init-variables): New var.
20355 (custom-initialize-delay): New function.
20356 * startup.el (command-line): "Re"evaluate all vars in
20357 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
20358 explicitly any more.
20359 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
20360 to avoid creating a ~/.emacs.d at build-time (bug#4347).
20362 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
20364 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
20366 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
20367 (gdb-var-update-handler): Use json parsing.
20369 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
20371 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
20372 decode annotated text, regardless of language environment. (Bug#2741)
20374 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20376 * Makefile.in (autoloads): Make rmail.el writable as well.
20378 2009-09-11 Glenn Morris <rgm@gnu.org>
20380 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
20382 * dired.el: Regenerate with extracted autoloads.
20383 * Makefile.in (autoloads): Make dired.el writable.
20385 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
20386 * ibuffer.el: Regenerate with extracted autoloads.
20387 * Makefile.in (autoloads): Make ibuffer.el writable.
20389 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
20390 * version.el (emacs-copyright, emacs-major-version)
20391 (emacs-minor-version): Reformat doc-strings for make-docfile.
20393 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
20394 functions and variables, since they must be stuff specific to some other
20396 (apropos-print): Make mouse-click message less specific about button.
20398 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
20399 that records where a macro was defined.
20400 * help-fns.el (describe-function-1): Mention if a function has a
20402 * help-mode.el (help-function-cmacro): New button.
20404 * locate.el (top-level): Always require dired.
20405 (locate-mode-map): Initialize inside the defvar.
20407 * net/ange-ftp.el (dired-compress-file): Declare.
20408 (ange-ftp-dired-compress-file): Add doc string.
20410 * term/ns-win.el (x-display-name, x-setup-function-keys):
20411 Unify doc-strings with X versions.
20413 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20415 * emulation/crisp.el (crisp-mode-map): Move initialization
20417 (crisp-mode): Use define-minor-mode.
20419 * progmodes/xscheme.el (xscheme-evaluation-commands):
20420 Put a :advertised-binding property rather than using
20421 advertised-xscheme-send-previous-expression.
20422 (advertised-xscheme-send-previous-expression): Declare obsolete.
20423 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
20425 (crisp-mode): Add corresponding bindings to
20426 undo's :advertised-binding instead.
20427 * dired.el (dired-mode-map): Put a :advertised-binding property rather
20428 than using dired-advertised-find-file.
20429 (dired-advertised-find-file):
20430 * simple.el (advertised-undo):
20431 * wid-edit.el (advertised-widget-backward): Declare obsolete.
20432 (widget-keymap): Put a :advertised-binding property rather
20433 than using advertised-widget-backward.
20434 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
20435 than using advertised-undo.
20436 * tutorial.el (tutorial--default-keys): Adjust accordingly.
20438 2009-09-10 Simon South <ssouth@slowcomputing.org>
20440 * progmodes/delphi.el (delphi-tab): Indent region when Transient
20441 Mark mode is enabled and region is active; otherwise indent or
20442 insert TAB as usual.
20443 (delphi-mode): Update description of TAB-key binding.
20445 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
20447 * subr.el (define-key-rebound-commands): Mark obsolete.
20448 * startup.el (precompute-menubar-bindings): Remove.
20449 (normal-top-level): Remove obsolete code that tried to precompute
20451 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
20452 define-key-rebound-commands and precompute-menubar-bindings.
20454 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
20456 * net/imap.el (imap-interactive-login): Better messages.
20457 (imap-open): Fix bug with renamed buffer on reconnect.
20458 (imap-authenticate): Add buffer-local imap-last-authenticator variable
20459 for easier debugging and cleaner code. On successful (guessed based on
20460 server capabilities) secondary authentication, set imap-state
20462 (imap-last-authenticator): Define imap-last-authenticator as a variable
20465 2009-09-10 Glenn Morris <rgm@gnu.org>
20467 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
20469 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
20470 (byte-compile-file-form-autoload): Don't warn about unknown functions
20471 where the autoload statement comes after the use.
20472 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
20473 that any handlers inside the body (eg require) are in turn respected.
20475 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
20478 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
20479 and syntax and abbrev tables basic docs, if they don't have any.
20481 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
20483 * international/mule-cmds.el (top-level): Require cl when compiling.
20484 (view-hello-file): Use default-value rather than
20485 default-enable-multibyte-characters.
20487 * progmodes/fortran.el: Move all safe and risky properties into the
20490 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
20491 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
20492 * mail/undigest.el:
20493 Put autoloads in rmail.el rather than loaddefs.el.
20494 * mail/rmail.el: Regenerate with extracted autoloads.
20496 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
20497 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
20499 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
20501 Reported in thread for Bug#4375.
20502 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
20503 "-data-evaluate-expression" instead of print.
20504 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
20505 (gdb-tooltip-print): Parse output from above MI command.
20506 (gdb): Revert 2009-08-11 change. User should detach inferior
20509 Remove the word "separate" from IO functions as inferior
20510 output is now never displayed in the GUD buffer.
20512 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
20514 * startup.el (command-line-normalize-file-name): On Windows and
20515 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
20517 2009-09-10 Juri Linkov <juri@jurta.org>
20519 * isearch.el (isearch-text-char-description): Propertize escape
20520 character sequences with the `escape-glyph' face. (Bug#4344)
20522 * simple.el (shell-command): Set asynchronous process filter to
20523 `comint-output-filter'. (Bug#4343)
20525 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
20526 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
20527 the list. Move "asm" to the bottom.
20528 (grep-find-ignored-directories): Add `choice' with nil value
20529 to empty the list easily.
20530 (grep-find-ignored-files): New option.
20531 (grep-files-history): Set to nil by default instead of '("ch" "el").
20532 (grep-compute-defaults): Add "<X>" to `grep-template'.
20533 (grep-read-files): Bind new local variables `default-alias' and
20534 `default-extension'. Use a list of default values for the file prompt.
20535 (lgrep): Add `--exclude=' command line options composed from
20536 `grep-find-ignored-files'.
20537 (rgrep): Add `-name' command line options composed from
20538 `grep-find-ignored-files'. (Bug#4301)
20540 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
20542 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
20545 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
20547 * calendar/time-date.el (autoload):
20548 Expand define-obsolete-function-alias into defalias and make-obsolete
20549 for old Emacsen that Gnus supports.
20550 (with-no-warnings): Define it for old Emacsen.
20551 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
20553 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
20554 float-time is available; suppress compile warning for time-to-seconds.
20556 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
20558 * net/imap.el (imap-message-map): Docstring fix.
20560 2009-09-09 Glenn Morris <rgm@gnu.org>
20562 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
20563 line numbers too. (Bug#4374)
20565 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
20567 * smerge-mode.el (smerge-remove-props, smerge-refine):
20568 Use with-silent-modifications (bug#4342).
20570 * subr.el (with-silent-modifications): New macro.
20572 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
20574 * files.el (top-level): Require `cl' when compiling.
20576 2009-09-07 Glenn Morris <rgm@gnu.org>
20578 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
20580 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
20581 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
20583 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
20585 * vc-git.el (vc-git-annotate-command): Use separator to parse
20586 arguments correctly.
20588 2009-09-06 Eli Zaretskii <eliz@gnu.org>
20590 * proced.el (proced-mode): Doc fix.
20592 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
20594 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
20596 (tramp-do-file-attributes-with-ls): Check for file existence at
20598 (tramp-do-file-attributes-with-stat): Likewise.
20599 (tramp-convert-file-attributes): Return nil when attr is nil.
20601 2009-09-05 Glenn Morris <rgm@gnu.org>
20603 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
20604 properties to this button.
20605 (diary-fancy-display): Don't extend the button to the final newline.
20606 (diary-fancy-display-mode): Continue to define "q" as a local key.
20608 * calendar/cal-china.el (holiday-chinese): Make it slightly more
20611 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
20613 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
20614 (byte-compile-dest-file-function): New option.
20615 (byte-compile-dest-file): Doc fix.
20616 Obey byte-compile-dest-file-function.
20617 (byte-compile-cl-file-p): New function.
20618 (byte-compile-eval): Only suppress noruntime warnings about cl functions
20619 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
20620 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
20621 than for file being previously loaded.
20622 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
20623 (byte-compile-file-form-require): Handle the case where requiring a file
20624 indirectly causes CL to be loaded.
20626 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20628 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
20629 before killing the old buffer, since by the time `kill-buffer' is
20630 run so many buffer variables have been set to nil that it may not
20631 behave as expected. (Bug#4061)
20633 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20635 * files.el (find-alternate-file): If the old buffer is modified
20636 and visiting a file, behave similarly to `kill-buffer' when
20637 killing it, thus reverting to the pre-1.878 behavior; see
20638 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
20639 for discussion. Also, consult `buffer-file-name' as a variable
20640 not as a function, for consistency with the rest of the code.
20642 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
20644 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
20645 also when adding a new directory.
20647 * net/tramp-compat.el (tramp-compat-line-beginning-position):
20650 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
20652 * files.el (locate-file-completion-table): Make it provide boundary
20653 information, so partial-completion works better.
20655 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
20657 * mail/footnote.el (Footnote-text-under-cursor):
20658 Check footnote-text-marker-alist before using it (bug#4324).
20660 2009-09-04 Glenn Morris <rgm@gnu.org>
20662 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
20663 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
20664 * play/solitaire.el, play/tetris.el:
20665 Remove leading * from defcustom and defface docs.
20667 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
20669 (diary-fancy-overriding-map): New variable.
20670 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
20673 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
20676 2009-09-03 Glenn Morris <rgm@gnu.org>
20678 * arc-mode.el (archive-mode):
20679 * dos-fns.el (set-default-process-coding-system):
20680 * man.el (Man-getpage-in-background):
20681 * menu-bar.el (menu-bar-describe-menu):
20682 * server.el (server-process-filter):
20683 * startup.el (command-line):
20684 * tar-mode.el (tar-header-block-tokenize, tar-extract):
20685 * w32-fns.el (set-default-process-coding-system):
20686 * x-dnd.el (x-dnd-handle-file-name):
20687 * international/mule-cmds.el (mule-menu-keymap)
20688 (set-default-coding-systems, language-info-alist, set-language-info)
20689 (set-language-environment, standard-display-european-internal)
20690 (set-locale-environment):
20691 * international/mule-diag.el (mule-diag):
20692 * mail/emacsbug.el (report-emacs-bug):
20693 * mail/rmail.el (rmail-mode):
20694 * mail/sendmail.el (mail-setup):
20695 Use default-value rather than default-enable-multibyte-characters.
20697 * progmodes/f90.el: Move all safe properties into the defcustoms.
20698 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
20700 * calendar/appt.el (appt-check):
20701 * calendar/diary-lib.el (diary-set-header, diary-live-p)
20702 (diary-check-diary-file, diary-list-entries)
20703 (diary-include-other-diary-files, diary-simple-display)
20704 (diary-fancy-display, diary-print-entries)
20705 (diary-mark-included-diary-files, diary-make-entry):
20706 Don't call substitute-in-file-name on diary-file.
20708 2009-09-03 Eduard Wiebe <usenet@pusto.de>
20709 Stefan Monnier <monnier@iro.umontreal.ca>
20711 * mail/footnote.el (footnote-prefix): Make it a defcustom.
20712 (footnote-mode-map): Move initialization into the declaration.
20713 (footnote-minor-mode-map): Define it rather than changing global-map.
20714 (footnote-mode): Use define-minor-mode.
20716 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
20718 * net/tramp.el (tramp-handle-file-attributes-with-ls)
20719 (tramp-do-file-attributes-with-perl)
20720 (tramp-do-file-attributes-with-stat): Rename from
20721 `tramp-handle-file-attributes-with-*'.
20722 (tramp-handle-file-attributes): Use them.
20723 (tramp-do-directory-files-and-attributes-with-perl)
20724 (tramp-do-directory-files-and-attributes-with-stat): Rename from
20725 `tramp-handle-directory-files-and-attributes-with-*'.
20726 (tramp-handle-directory-files-and-attributes): Use them.
20727 (tramp-method-out-of-band-p): Additional parameter SIZE.
20728 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
20729 (tramp-handle-write-region): Use it.
20730 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
20731 (tramp-handle-vc-registered): Check, whether the first run did
20732 return files to be tested.
20733 (tramp-advice-make-auto-save-file-name): Do not call directly
20734 `tramp-handle-make-auto-save-file-name', because this would bypass
20735 the locking mechanism.
20737 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
20738 (file-remote-p, process-file, start-file-process, set-file-times)
20739 (tramp-compat-file-attributes): Compatibility functions shall not
20740 call directly `tramp-handle-*', because this would bypass the
20742 (tramp-compat-number-sequence): New defun.
20744 2009-09-02 Glenn Morris <rgm@gnu.org>
20746 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
20747 alias for float-time.
20748 (time-to-number-of-days): In Emacs, use float-time.
20749 * net/newst-backend.el (time-add): Suppress warnings from compat
20751 * time.el (emacs-uptime, emacs-init-time):
20752 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
20753 Use float-time rather than time-to-seconds.
20755 * minibuffer.el (completion-initials-expand): Fix typo.
20757 * faces.el (modeline, modeline-inactive, modeline-highlight)
20758 (modeline-buffer-id):
20759 * info.el (info-menu-5): Mark these face aliases as obsolete.
20761 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20763 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
20765 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
20766 no "--thread" option.
20767 (gdb-stopped): Don't print "Switched to thread" message when it is
20770 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
20772 * minibuffer.el (completion-try-completion)
20773 (completion-all-completions): Remove ill-defined (and
20774 mistakenly installed and luckily never used nor documented)
20775 `completion-styles' property.
20776 (completion-initials-expand, completion-initials-all-completions)
20777 (completion-initials-try-completion): New functions.
20778 (completion-styles-alist): Add doc to each entry.
20779 Add new `initials' entry.
20781 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20783 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20784 MI command -var-evaluate-expression.
20785 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20786 and tweak for case of string child.
20787 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20789 2009-09-01 Glenn Morris <rgm@gnu.org>
20791 * add-log.el (change-log-date-face, change-log-name-face)
20792 (change-log-email-face, change-log-file-face, change-log-list-face)
20793 (change-log-conditionals-face, change-log-function-face)
20794 (change-log-acknowledgement-face):
20795 * cus-edit.el (custom-invalid-face, custom-rogue-face)
20796 (custom-modified-face, custom-set-face, custom-changed-face)
20797 (custom-saved-face, custom-button-face, custom-button-pressed-face)
20798 (custom-documentation-face, custom-state-face, custom-comment-face)
20799 (custom-comment-tag-face, custom-variable-tag-face)
20800 (custom-variable-button-face, custom-face-tag-face)
20801 (custom-group-tag-face-1, custom-group-tag-face):
20802 * diff-mode.el (diff-header-face, diff-file-header-face)
20803 (diff-index-face, diff-hunk-header-face, diff-removed-face)
20804 (diff-added-face, diff-changed-face, diff-function-face)
20805 (diff-context-face, diff-nonexistent-face):
20806 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20807 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20808 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20809 (Info-title-4-face):
20810 * isearch.el (isearch-lazy-highlight-face):
20811 * log-view.el (log-view-file-face, log-view-message-face):
20812 * paren.el (show-paren-match-face, show-paren-mismatch-face):
20813 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20814 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20816 * smerge-mode.el (smerge-mine-face, smerge-other-face)
20817 (smerge-base-face, smerge-markers-face):
20818 * wid-edit.el (widget-documentation-face, widget-button-face)
20819 (widget-field-face, widget-single-line-field-face)
20820 (widget-inactive-face, widget-button-pressed-face):
20821 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20822 (woman-addition-face):
20823 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20824 (eshell-ls-executable-face, eshell-ls-readonly-face)
20825 (eshell-ls-unreadable-face, eshell-ls-special-face)
20826 (eshell-ls-missing-face, eshell-ls-archive-face)
20827 (eshell-ls-backup-face, eshell-ls-product-face)
20828 (eshell-ls-clutter-face):
20829 * eshell/em-prompt.el (eshell-prompt-face):
20830 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20831 * obsolete/old-whitespace.el (whitespace-highlight-face):
20832 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20833 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20834 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20835 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20836 (antlr-font-lock-literal-face):
20837 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20838 (ebrowse-root-class-face, ebrowse-file-name-face)
20839 (ebrowse-default-face, ebrowse-member-attribute-face)
20840 (ebrowse-member-class-face, ebrowse-progress-face):
20841 * progmodes/make-mode.el (makefile-space-face):
20842 * progmodes/sh-script.el (sh-heredoc-face):
20843 * textmodes/flyspell.el (flyspell-incorrect-face)
20844 (flyspell-duplicate-face):
20845 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20846 * textmodes/texinfo.el (texinfo-heading-face):
20847 Mark face aliases with "-face" suffix as obsolete.
20849 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20852 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20853 (eudc-bob-sound-menu): Use defvar rather than defconst, since
20854 easy-menu-define wants to modify these.
20856 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20858 * net/browse-url.el (browse-url-file-url):
20859 * term/internal.el (dos-codepage-setup):
20860 Use default-value rather than default-enable-multibyte-characters.
20862 * progmodes/etags.el (etags-goto-tag-location):
20863 * progmodes/flymake.el (flymake-highlight-line)
20864 (flymake-goto-file-and-line, flymake-goto-line):
20865 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20866 (gdb-goto-breakpoint):
20867 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20868 * progmodes/python.el (python-find-function)
20869 (python-pdbtrack-track-stack-file):
20870 * progmodes/verilog-mode.el (verilog-surelint-off):
20871 * term/ns-win.el (ns-open-file-select-line):
20872 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20873 Use forward-line rather than goto-line.
20875 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20876 * textmodes/reftex-index.el (reftex-display-index):
20877 * textmodes/reftex-ref.el (reftex-offer-label-menu):
20878 * textmodes/reftex-toc.el (reftex-toc):
20879 Remove unnecessary bindings of default-major-mode (all are followed by
20880 major-mode check and possible mode switch).
20882 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20884 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20885 Handle watchpoints (bug#4282).
20886 (def-gdb-thread-buffer-command): Enable thread to be selected by
20887 clicking without selecting threads buffer first.
20888 (gdb-current-context-command): Use selected frame so that "up",
20889 "down" etc work in the GUD buffer.
20890 (gdb-update): Find selected frame before rendering stack buffer.
20891 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20893 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
20895 * progmodes/sym-comp.el (displayed-completions): Remove.
20896 (symbol-complete): Use minibuffer-complete.
20898 2009-08-31 Glenn Morris <rgm@gnu.org>
20900 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20902 * apropos.el (apropos-symbols-internal):
20903 Handle (obsolete) face aliases.
20905 * faces.el (describe-face): Adjust the output format to be more like
20906 describe-variable, and to mention (obsolete) face aliases.
20907 Adjust the whitespace so that help-setup-xref works.
20909 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20910 * calendar/diary-lib.el (diary-button-face):
20911 Mark these face aliases as obsolete.
20913 * calendar/calendar.el (calendar-today): Doc fix.
20915 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20917 * progmodes/gdb-mi.el (gdb-control-all-threads)
20918 (gdb-control-current-thread): Force tool bar update.
20919 (gdb-non-stop-handler): New function.
20920 (gdb-init-1): Use it to test if non-stop mode is supported.
20921 Remove unused gdbmi buffer type.
20923 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
20925 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20926 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
20928 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
20930 * comint.el (comint-exec-1): Check command is non-null first.
20931 Part of gdb-mi.el change (2009-08-28).
20933 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20935 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20937 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
20939 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20940 instead of `dolist' to avoid a recursive require when bootstrapping.
20942 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20944 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20946 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20948 * net/imap.el (imap-send-command): Simplify.
20949 (imap-wait-for-tag): point-max -> buffer-size.
20951 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20953 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20954 with constant argument.
20956 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20958 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20960 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20961 Change default, since most of our files don't have a history.
20962 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20965 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20968 * calc/calc.el: Improve commenting convention.
20969 (calc-digit-map, toplevel): Simplify.
20971 * comint.el (comint-insert-input): Be careful to only set point if we
20972 don't delegate to some other command.
20974 * proced.el (proced-signal-list): Make it an alist.
20975 (proced-grammar-alist): Capitalize names.
20976 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20977 Disable undo manually and make it read-only.
20978 Use completion-annotate-function.
20980 * minibuffer.el (minibuffer-message): If the current buffer is not
20981 a minibuffer, insert the message in the echo area rather than at the
20983 (completion-annotate-function): New variable.
20984 (minibuffer-completion-help): Use it.
20985 (completion--embedded-envvar-table): Environment vars are
20986 always case-sensitive.
20988 2009-08-30 Glenn Morris <rgm@gnu.org>
20990 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20991 from fortran-current-defun.
20992 (fortran-beginning-of-subprogram): Be more precise about finding the
20993 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
20994 (fortran-end-of-subprogram): Simplify.
20995 (fortran-current-defun): Use fortran-start-prog-re.
20997 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
20999 * subr.el (do-after-load-evaluation): Simplify.
21001 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
21003 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
21005 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
21006 (vc-rcs-print-log): Use it.
21008 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
21010 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
21012 * paths.el (abbrev-file-name): Move to abbrev.el.
21013 * abbrev.el (abbrev-file-name): Move from paths.el.
21014 Obey user-emacs-directory.
21015 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
21016 user-emacs-directory.
21017 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
21018 abbrev-file-name and calc-settings-file any more.
21019 * startup.el (command-line): Recompute abbrev-file-name and
21020 abbreviated-home-dir.
21021 (normal-no-mouse-startup-screen): Improve the generic code and get rid
21022 of the special code for when C-h bindings haven't been changed.
21023 (display-startup-echo-area-message): Use with-current-buffer.
21024 (command-line-1): Use a list of strings, rather than a list of lists
21025 of strings for longopts.
21027 * files.el (get-free-disk-space): Use / for default-directory.
21029 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
21030 Use with-current-buffer.
21032 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
21033 Recognize immutable variables like most-positive-fixnum.
21034 (byte-compile-setq-default): Check and warn if trying to assign
21035 to an immutable variable, or a non-variable.
21037 * progmodes/cc-vars.el (c-comment-continuation-stars):
21038 * progmodes/cc-engine.el (c-looking-at-bos):
21039 * progmodes/cc-cmds.el (c-toggle-auto-state)
21040 (c-forward-into-nomenclature, c-backward-into-nomenclature)
21041 (c-comment-line-break-function): Add version of obsolescence.
21043 2009-08-28 Juri Linkov <juri@jurta.org>
21045 * files.el (magic-fallback-mode-alist): Add ZIP magic number
21046 associated with `archive-mode'.
21048 * image.el (image-type-header-regexps): Use only JPEG magic number
21049 to determine JPEG images, and don't use `image-jpeg-p' because
21050 Emacs can display non-JFIF non-Exif JPEG images.
21052 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
21054 * arc-mode.el (archive-mode):
21055 * emacs-lisp/re-builder.el (re-builder-unload-function):
21056 Protect against the default value of `major-mode' being nil.
21058 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
21060 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
21061 Fix typos in docstrings.
21063 * progmodes/js.el (js--macro-decl-re): Doc fix.
21064 (js--plain-method-re, js--split-name): Refloc docstring.
21065 (js--class-styles, js--make-merged-item, js--splice-into-items):
21066 Fix typos in docstrings; reflow docstrings.
21067 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
21068 (js--variable-decl-matcher, js--inside-pitem-p)
21069 (js--parse-state-at-point, js--get-all-known-symbols)
21070 (js--symbol-history, js-find-symbol, js--js-references)
21071 (js--moz-interactor, js--js-encode-value, js--read-tab):
21072 Fix typos in docstrings.
21074 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21076 * textmodes/reftex.el (reftex-get-file-buffer-force):
21077 * progmodes/verilog-mode.el (verilog-batch-execute-func):
21078 * emulation/viper.el (viper-go-away, viper-set-hooks):
21079 * emacs-lisp/re-builder.el (re-builder-unload-function):
21080 * emacs-lisp/bytecomp.el (byte-compile-file):
21081 * ses.el (ses-unload-function):
21082 * hexl.el (hexl-find-file):
21083 * files.el (normal-mode):
21084 * ehelp.el (with-electric-help):
21085 * autoinsert.el (auto-insert-alist):
21086 * arc-mode.el (archive-mode):
21087 Use (default-value 'major-mode) instead of default-major-mode.
21089 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
21090 * international/mule.el (load-with-code-conversion):
21091 * emacs-lisp/debug.el (debug):
21092 * ediff-vers.el (ediff-rcs-get-output-buffer):
21093 * dired.el (dired-internal-noselect): Don't let-bind
21094 default-major-mode around code that doesn't use it.
21095 E.g. buffer creation via get-buffer-create doesn't use it.
21097 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
21099 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
21100 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
21101 when writing the temp file. Otherwise, epa-file gets confused.
21102 (tramp-register-file-name-handlers): Make it a defun. Move also
21103 `epa-file-handler' to the front of `file-name-handler-alist'.
21105 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21107 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
21108 start right after a ^M.
21109 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
21110 (tramp-completion-file-name-regexp-separate)
21111 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
21112 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
21113 Don't modify last-coding-system-used by accident.
21114 (tramp-completion-file-name-handler): Apply the checks here,
21115 instead during registration.
21116 (tramp-register-file-name-handlers): Rename from
21117 `tramp-register-file-name-handler'. Register both
21118 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
21119 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
21121 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
21123 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
21124 Remove variable ...
21125 (gdb-init-1, gdb-display-separate-io-buffer)
21126 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
21128 (gdb-inferior-io-mode): Use make-comint-in-buffer.
21129 (gdb-inferior-filter): Use comint-output-filter to stop
21130 echoing and remove ^M characters.
21132 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21134 * emulation/viper-init.el (viper-restore-cursor-type):
21135 * emulation/cua-base.el (cua--update-indications):
21136 Replace default-cursor-type with (default-value 'cursor-type).
21138 * mail/sendmail.el (mail-recover-1):
21139 * international/mule-diag.el (describe-current-coding-system-briefly)
21140 (describe-current-coding-system):
21141 * international/mule-cmds.el (select-safe-coding-system)
21142 (select-message-coding-system)
21143 (set-language-environment-coding-systems, set-locale-environment):
21144 * hexl.el (hexl-insert-multibyte-char):
21145 * dos-w32.el (find-buffer-file-type-coding-system):
21146 * simple.el (what-cursor-position):
21147 Replace uses of default-buffer-file-coding-system
21148 with (default-value 'buffer-file-coding-system).
21150 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
21151 Replace uses of default-cursor-in-non-selected-windows
21152 with (default-value 'cursor-in-non-selected-windows).
21153 Use with-current-buffer.
21155 * mail/feedmail.el: Use CL macros.
21156 (feedmail-run-the-queue, feedmail-send-it-immediately):
21157 * dos-w32.el (find-buffer-file-type): Replace uses of
21158 default-buffer-file-type with (default-value 'buffer-file-type).
21160 2009-08-28 Glenn Morris <rgm@gnu.org>
21162 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
21163 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
21164 Use default-value of major-mode rather than default-major-mode.
21166 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
21168 * Makefile.in (update-elcfiles): Report left over elc files.
21170 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
21171 expand-file-name and with-current-buffer.
21172 (mail-get-names, mail-directory): Use with-current-buffer.
21174 * vc.el (vc-read-revision): New function.
21175 (vc-version-diff, vc-merge): Use it.
21177 2009-08-27 Sam Steingold <sds@gnu.org>
21179 * simple.el (kill-do-not-save-duplicates): New user option.
21180 (kill-new): When it is non-nil, and the new string is the same as
21181 the latest kill, set replace to t to avoid duplicates in kill-ring.
21183 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
21185 * net/tramp.el (tramp-handle-process-file): Do not flush all
21186 caches when `process-file-side-effects' is set.
21187 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
21188 instead of `tramp-find-file-exists-command'.
21189 Unset `process-file-side-effects'.
21191 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
21193 * net/tramp.el (tramp-methods): New method "rsyncc".
21194 (top): Add completion function for "rsyncc".
21195 (tramp-message-show-message): New defvar.
21196 (tramp-message, tramp-error): Use it.
21197 (tramp-do-copy-or-rename-file-directly): Extend check for direct
21199 (tramp-do-copy-or-rename-file-out-of-band): Handle new
21200 `tramp-methods' entry `copy-env' of "rsyncc".
21201 (tramp-vc-registered-read-file-names): New defconst.
21202 (tramp-vc-registered-file-names): New defvar.
21203 (tramp-handle-vc-registered): Implement optimization strategy.
21204 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
21205 (tramp-vc-file-name-handler): New defun.
21206 (tramp-get-ls-command, tramp-get-test-command)
21207 (tramp-get-file-exists-command, tramp-get-remote-ln)
21208 (tramp-get-remote-perl, tramp-get-remote-stat)
21209 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
21211 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
21212 (tramp-cache-inhibit-cache): Extend doc string. It allows also
21214 (tramp-get-file-property): Check for timestamps in
21215 `tramp-cache-inhibit-cache'.
21216 (tramp-set-file-property): Write timestamp.
21218 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21220 * language/japan-util.el (japanese-symbol-table): Add entries for
21223 * international/characters.el: Add category `j' to cp932-2-byte.
21225 2009-08-27 Kenichi Handa <handa@m17n.org>
21227 * international/fontset.el (build-default-fontset-data): New macro.
21228 (setup-default-fontset): Use build-default-fontset-data for CJK,
21229 tibetan, ethiopic, and ipa.
21231 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
21233 * cus-start.el (default-major-mode): Customize `major-mode' instead.
21234 (enable-multibyte-characters): Not customizable any more.
21236 * subr.el (default-mode-line-format, default-header-line-format)
21237 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
21238 (default-direction-reversed, default-truncate-lines)
21239 (default-left-margin, default-tab-width, default-case-fold-search)
21240 (default-left-margin-width, default-right-margin-width)
21241 (default-left-fringe-width, default-right-fringe-width)
21242 (default-fringes-outside-margins, default-scroll-bar-width)
21243 (default-vertical-scroll-bar, default-indicate-empty-lines)
21244 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
21245 (default-fringe-cursor-alist, default-scroll-up-aggressively)
21246 (default-scroll-down-aggressively, default-fill-column)
21247 (default-cursor-type, default-buffer-file-type)
21248 (default-cursor-in-non-selected-windows)
21249 (default-buffer-file-coding-system, default-major-mode)
21250 (default-enable-multibyte-characters): Mark as obsolete.
21252 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
21254 * vc-dir.el (vc-dir-update): Remove debug helper.
21256 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
21258 2009-08-26 Sam Steingold <sds@gnu.org>
21260 * simple.el (save-interprogram-paste-before-kill): New user option.
21261 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
21262 save the interprogram-paste into kill-ring before overriding it
21263 with the Emacs kill.
21265 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
21267 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
21268 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
21269 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
21270 and move to vc-rcs.el.
21271 (vc-default-next-revision): Rename to vc-rcs-next-revision and
21273 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
21274 (vc-rcs-update-changelog): Remove.
21275 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
21276 and move to vc-rcs.el.
21278 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
21279 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
21281 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
21282 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
21283 vc.el, renamed to be RCS specific.
21285 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
21287 (vc-cvs-update-changelog): Move here from vc.el.
21289 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
21292 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
21294 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
21296 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
21298 * vc-git.el (vc-git-register): Use "git add" for directories.
21299 (vc-git-stash, vc-git-stash-show): New functions.
21300 (vc-git-extra-menu-map): Bind them.
21302 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
21303 directory correctly in case the item is a directory itself.
21305 * vc.el: Document the desired behavior for reverted files in the
21307 (vc-default-prettify-state-info): Remove function, unused.
21309 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
21311 2009-08-26 Glenn Morris <rgm@gnu.org>
21313 * bindings.el (standard-mode-line-format): Reposition dashes in
21314 which-func entry. (Bug#4217)
21316 * files.el (enable-local-variables, enable-local-eval)
21317 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
21319 (auto-mode-alist, ignored-local-variables)
21320 (save-some-buffers-action-alist): Move risky declarations to the
21322 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
21323 (font-lock-defaults, format-alist, imenu--index-alist)
21324 (imenu-generic-expression, input-method-alist, minor-mode-alist)
21325 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
21326 (mode-line-modified, mode-line-mule-info, mode-line-position)
21327 (mode-line-process, mode-line-remote, outline-level)
21328 (parse-time-rules, rmail-output-file-alist)
21329 (special-display-buffer-names, vc-mode):
21330 Move risky declarations to the relevant files.
21331 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
21332 (mode-line-modified, mode-line-process, mode-line-position)
21333 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
21334 * font-core.el (font-lock-defaults):
21335 * format.el (format-alist):
21336 * vc-hooks.el (vc-mode):
21337 * window.el (special-display-buffer-names):
21338 * international/mule-cmds.el (input-method-alist):
21339 Define riskiness here (dumped file) rather than in files.el.
21340 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
21341 * imenu.el (imenu-generic-expression, imenu--index-alist):
21342 * outline.el (outline-level):
21343 * time.el (display-time-string):
21344 * calendar/parse-time.el (parse-time-rules):
21345 * mail/rmailout.el (rmail-output-file-alist):
21346 Autoload riskiness here, rather than placing in files.el.
21348 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
21350 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
21352 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
21354 * simple.el (process-file-side-effects): New defvar.
21356 * dired-aux.el (dired-show-file-type):
21357 * vc.el (vc-diff-internal):
21358 * vc-arch.el (vc-arch-diff):
21359 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
21360 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
21361 * vc-git.el (vc-git-registered, vc-git-working-revision)
21362 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
21363 (vc-git--empty-db-p):
21364 * vc-hooks.el (vc-user-login-name):
21365 * vc-svn.el (vc-svn-registered, vc-svn-state)
21366 (vc-svn-dir-extra-headers, vc-svn-find-revision):
21367 * progmodes/grep.el (grep-probe): Let-bind
21368 `process-file-side-effects' with nil.
21370 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
21372 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
21373 daemon. Replace ping by checking for running service for bluez
21374 and zeroconf. (Bug#4239)
21376 2009-08-25 Kevin Ryde <user42@zip.com.au>
21378 * net/dig.el (dig): Add autoload cookie.
21380 2009-08-25 Glenn Morris <rgm@gnu.org>
21382 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
21383 load-history for absolute file-names.
21384 (byte-compile-file-form-require): Warn about use of the cl package.
21386 * format.el (format-alist): Doc fix.
21388 * play/bubbles.el (top-level): Don't require cl at run-time.
21390 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
21393 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
21395 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
21397 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
21399 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
21401 * calc/calc-alg.el (math-trig-rewrite)
21402 (math-hyperbolic-trig-rewrite): New functions.
21403 (calc-simplify): Simplify trig functions when asked.
21405 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21407 * diff-mode.el (diff-find-source-location): Avoid goto-line.
21409 2009-08-24 Kenichi Handa <handa@m17n.org>
21411 * language/ind-util.el (mapthread): Delete it.
21412 (combinatorial): New function.
21413 (indian--puthash-cv): Use combinatorial instead of mapthread.
21415 2009-08-22 Kevin Ryde <user42@zip.com.au>
21417 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
21418 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
21419 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
21420 Clarify docstring that the value is strings not symbols.
21421 (checkdoc-list-of-strings-p): New function.
21423 2009-08-22 Glenn Morris <rgm@gnu.org>
21425 * files.el (auto-mode-alist):
21426 * hippie-exp.el (he-concat-directory-file-name):
21427 * lpr.el (lpr-windows-system, printer-name):
21428 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
21429 * ps-print.el (ps-windows-system):
21430 * startup.el (command-line):
21431 * emulation/viper-ex.el (viper-glob-function):
21432 * international/mule-cmds.el (set-language-environment-coding-systems):
21433 * net/ange-ftp.el (ange-ftp-write-region):
21434 * obsolete/fast-lock.el (fast-lock-cache-name):
21435 Remove code for defunct system-types emx, macos, mswindows, next-mach,
21436 unisoft-unix, vax-vms, win32, w32.
21438 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
21439 given name if the pattern is not more specific.
21441 * calendar/lunar.el (lunar-phase-names): New option.
21442 (lunar-phase): Doc fix.
21443 (lunar-cycles-per-year): New constant.
21444 (lunar-index): New function.
21445 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
21446 (lunar-phase-name): Use lunar-phase-names.
21447 (calendar-lunar-phases): Use format.
21448 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
21450 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
21451 Copy imenu-example--name-and-position function here for own use.
21452 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
21454 * bs.el (bs--redisplay):
21455 * cus-edit.el (custom-redraw):
21456 * ibuffer.el (ibuffer-bury-buffer):
21457 * server.el (server-goto-line-column):
21458 * startup.el (command-line-1):
21459 * strokes.el (strokes-xpm-for-stroke):
21460 * term.el (term-display-buffer-line):
21461 * view.el (View-goto-line):
21462 * calc/calc.el (calc-do, calc-trail-buffer):
21463 * play/gamegrid.el (gamegrid-add-score-insecure):
21464 * progmodes/ada-mode.el (ada-compile-goto-error):
21465 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
21466 (ebrowse-select-1st-to-9nth):
21467 * progmodes/cperl-mode.el (cperl-time-fontification):
21468 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
21469 * progmodes/gud.el (gud-display-line):
21470 (idlwave-shell-display-line):
21471 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
21472 * progmodes/make-mode.el (makefile-browser-toggle):
21473 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
21474 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
21475 * textmodes/picture.el (picture-draw-rectangle):
21476 * textmodes/reftex-index.el (reftex-index-goto-letter):
21477 (reftex-select-jump-to-previous):
21478 * textmodes/reftex-sel.el (reftex-find-start-point)
21479 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
21480 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
21481 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
21482 * textmodes/tex-mode.el (tex-compilation-parse-errors):
21483 * textmodes/two-column.el (2C-associated-buffer):
21484 Use forward-line rather than goto-line.
21486 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
21489 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
21490 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
21491 (quick-check-list-to-regexp): Declare.
21493 * progmodes/make-mode.el (makefile-browser-insert-selection):
21494 Use goto-char rather than goto-line.
21496 * progmodes/prolog.el (compilation-error-regexp-alist)
21497 (compilation-forget-errors): Declare.
21499 2009-08-22 Juri Linkov <juri@jurta.org>
21501 * progmodes/grep.el (lgrep, rgrep): At the beginning
21502 set `dir' to `default-directory' unless `dir' is a non-nil
21503 readable directory. (Bug#4052)
21504 (lgrep, rgrep): Change a weird way to report an error
21505 from using `read-string' to using `error'.
21506 Instead of using interactive arguments in the function body,
21507 add new argument `confirm'.
21509 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
21511 * textmodes/remember.el (remember-buffer):
21512 * progmodes/cperl-mode.el (cperl-vc-header-alist):
21513 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
21514 (icalendar-extract-ical-from-buffer):
21515 * net/newst-treeview.el (newsticker-groups-filename):
21516 * net/newst-backend.el (newsticker-cache-filename):
21517 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
21518 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
21519 (speedbar-add-ignored-path-regexp, speedbar-line-path)
21520 (speedbar-buffers-line-path, speedbar-path-line)
21521 (speedbar-buffers-line-path):
21522 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
21524 * epa.el (epa-display-verify-result):
21525 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
21527 2009-08-21 Glenn Morris <rgm@gnu.org>
21529 * progmodes/js.el (inferior-moz-process): Fix declaration.
21531 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
21533 * obsolete/rnewspost.el (news-mail-reply):
21534 Use goto-char rather than goto-line.
21536 * term/ns-win.el (ns-open-file-select-line):
21537 Use line-beginning-position rather than goto-line.
21539 * apropos.el (apropos-command):
21540 * ehelp.el (electric-helpify):
21541 * printing.el (pr-show-setup):
21542 * strokes.el (strokes-help):
21543 * tutorial.el (tutorial--describe-nonstandard-key)
21544 (tutorial--detailed-help):
21545 * woman.el (woman-mini-help, woman-display-extended-fonts):
21546 * calc/calc-help.el (calc-describe-key):
21547 * emulation/edt.el (edt-electric-helpify):
21548 * international/mule-diag.el (mule-diag):
21549 * play/yow.el (apropos-zippy):
21550 * progmodes/python.el (python-describe-symbol):
21551 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
21552 * textmodes/table.el (*table--cell-describe-mode)
21553 (*table--cell-describe-bindings):
21554 Use help-print-return-message rather than the now obsolete alias.
21556 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
21557 (calendar-cursor-to-visible-date):
21558 * play/5x5.el (5x5-position-cursor):
21559 * play/decipher.el (decipher):
21560 * play/gomoku.el (gomoku-goto-xy):
21561 * play/landmark.el (lm-goto-xy):
21562 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
21563 (mpuz-paint-digit):
21564 Use forward-line, not goto-line.
21566 * mail/rmail.el (rmail-obsolete): Delete custom group.
21567 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
21568 (rmail-remote-password, rmail-remote-password-required):
21569 Remove unneeded :set-after and :set properties.
21571 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
21573 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
21575 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
21577 * loadup.el: Remove leftover macos code.
21579 * vc-git.el (vc-git-annotate-command): Run asynchronously.
21580 Explicitly pass the date format to git blame so that user local
21581 so that the output format can be parsed.
21583 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
21585 * net/dbus.el (top): Don't check for (getenv
21586 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
21588 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
21590 * log-edit.el (log-edit-strip-single-file-name): New var.
21591 (log-edit-insert-changelog): Use it. Bug#3571.
21593 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21595 * subr.el (read-passwd): Use read-key so keypad keys work as well.
21598 * help.el (help-print-return-message): Rename from
21599 print-help-return-message.
21601 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
21602 cvs-mode-map parent hack.
21603 (log-view-mode): Derive from special-mode.
21605 * linum.el (linum-mode): window-size-change-functions is redundant.
21606 Adapt to new window-configuration-change-hook behavior.
21607 (linum-after-size, linum-after-config): Remove.
21609 * imenu.el (imenu-example--name-and-position)
21610 (imenu-example--lisp-extract-index-name)
21611 (imenu-example--create-lisp-index, imenu-example--create-c-index):
21614 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
21615 (inferior-prolog-mode): Use it.
21616 (inferior-prolog-load-file): Reset list of errors.
21618 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21620 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
21622 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
21624 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
21626 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
21627 is running already.
21629 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21631 * subr.el (listify-key-sequence-1): Use normal syntax since those
21632 integers are nowadays always represented by the same (positive) number
21634 (read-key-empty-map): New const.
21635 (read-key-delay): New var.
21636 (read-key): New function.
21637 (force-mode-line-update): Use with-current-buffer.
21638 (locate-user-emacs-file): Don't forget to abbreviate the file name.
21639 (start-process-shell-command, start-file-process-shell-command):
21640 Discourage the use of command-args.
21642 2009-08-19 Glenn Morris <rgm@gnu.org>
21644 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
21646 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21648 * simple.el (choose-completion-string): Don't rely on
21649 minibuffer-completing-file-name and ad-hoc checks to decide whether
21650 to continue completion or not.
21652 * minibuffer.el (minibuffer-hide-completions): New function.
21653 (completion--do-completion): Use it.
21654 (completions-annotations): New face.
21655 (completion--insert-strings): Use it.
21656 (completion-pcm--delim-wild-regex): Add docstring.
21657 (completion-pcm--string->pattern): Add support for 0-width delimiters
21658 in completion-pcm--delim-wild-regex.
21660 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
21662 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
21663 Remove unused var `buffer-modified-p'.
21665 * minibuffer.el (completion--do-completion): Move point for the #b001
21666 case as well (bug#4176).
21667 (minibuffer-complete, minibuffer-complete-word): Don't move point.
21669 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
21671 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
21672 and :session buses.
21674 2009-08-18 Kenichi Handa <handa@m17n.org>
21676 * international/ucs-normalize.el (ucs-normalize-version):
21678 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
21679 (utf-8-hfs): Make it perform normalization on encoding too.
21681 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
21682 (sentence-end-without-space): Delete duplicated chars.
21683 (sentence-end-base): Likewise.
21685 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
21686 (html-mode): Delete duplicated chars from sentence-end-base.
21688 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
21689 (texinfo-mode): Delete duplicated chars from sentence-end-base.
21691 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
21693 * files.el (hack-one-local-variable): If the mode function is for
21694 a minor mode, pass it an argument (Bug#4148).
21696 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
21698 * net/tramp.el (tramp-register-completion-file-name-handler):
21699 Check also for (member 'partial-completion completion-styles).
21701 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21703 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
21706 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
21708 * progmodes/cperl-mode.el: Merge upstream 6.2.
21709 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
21710 (cperl-forward-re): Check cperl-brace-recursing.
21711 (cperl-highlight-charclass): New function.
21712 (cperl-find-pods-heres): Use it.
21713 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
21714 (cperl-beautify-regexp-piece): Fix column calculation.
21715 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
21716 (cperl-beautify-level): Don't process entire regexp.
21717 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
21719 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
21720 (cperl-init-faces): Build a list in the normal way.
21722 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21724 * calendar/parse-time.el (parse-time-string-chars): Save match
21727 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
21729 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
21730 (sql-product): Use it.
21731 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
21732 (sql-set-product): Add completion.
21733 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
21734 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
21735 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
21736 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
21737 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
21738 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
21739 (sql-highlight-db2-keywords): Remove.
21740 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
21741 (sql-highlight-product): Use derived-mode-p.
21742 (sql-set-sqli-buffer): Use with-current-buffer.
21743 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
21746 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
21748 * term.el: Fix commenting convention, turn comments into docstrings.
21750 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21752 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
21754 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
21756 * calendar/parse-time.el (parse-time-string-chars): Compute using
21757 character classes, to handle non-ascii characters (Bug#3190).
21759 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21761 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
21762 another heredoc if the user adds another < (Bug#3226).
21764 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
21765 Don't initialize based on window-system (Bug#4124).
21767 * facemenu.el (facemenu-read-color): Use a completion function
21768 that accepts any defined color, such as RGB triplets (Bug#3677).
21770 * files.el (get-free-disk-space): Change fallback default
21771 directory to /. Expand DIR argument before switching to fallback.
21772 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
21774 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21776 * files.el (load-library): Doc fix.
21778 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
21780 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21781 (viper-if-string): Redefine C-s in the minibuffer to insert the last
21782 incremental search string.
21784 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21787 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21788 (ediff-merge-region-is-non-clash)
21789 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21790 Also check if the job is really a merge job.
21792 * ediff.el (ediff-current-file): New function.
21794 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21796 * progmodes/js.el: Edit docstrings throughout to follow Emacs
21798 (js-insert-and-indent): Delete function.
21799 (js-mode-map): Don't bind keys to js-insert-and-indent.
21800 (js-beginning-of-defun): Rename from js--beginning-of-defun.
21801 (js-end-of-defun): Rename from js--end-of-defun.
21802 (js-auto-indent-flag): Delete variable.
21804 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
21806 * progmodes/js.el: Remove proclaim statement.
21807 Defvar which-func-imenu-joiner-function to silence compiler.
21809 * files.el (auto-mode-alist): Use js-mode for .js files.
21811 * progmodes/js2-mode.el: Remove file.
21813 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21815 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21817 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21819 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
21820 Karl Landstrom <karl.landstrom@brgeight.se>
21822 * progmodes/js.el: New file.
21824 2009-08-14 Mark A. Hershberger <mah@everybody.org>
21826 * timezone.el (timezone-parse-date): Add ability to understand ISO
21827 basic format (minimal separators) dates in addition to the
21828 already-supported extended format dates.
21830 2009-08-14 Eli Zaretskii <eliz@gnu.org>
21832 * international/ucs-normalize.el: Add a `coding' file variable.
21834 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21836 2009-08-14 Sam Steingold <sds@gnu.org>
21838 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21840 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
21842 * faces.el (help-argument-name): Define it here instead of
21843 help-fns.el, because in daemon mode help-fns.el may be loaded when
21844 faces are still uninitialized (Bug#1078).
21846 * help-fns.el (help-argument-name): Move defface to faces.el.
21848 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
21850 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21851 create buffer with a pty but no process so that GDB can make the
21852 inferior the controlling process.
21854 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
21856 * international/ucs-normalize.el: New file.
21858 2009-08-13 Richard Stallman <rms@gnu.org>
21860 * mail/rmail.el (rmail-get-attr-names):
21861 Accept an attribute header that is too short.
21863 * mail/rmail.el (rmail-forget-messages):
21864 Ignore nil elt in rmail-message-vector. Use dotimes.
21866 * progmodes/compile.el (compilation-goto-locus):
21867 Use next-error-move-function.
21869 * simple.el (next-error-move-function): New variable.
21871 2009-08-12 Juri Linkov <juri@jurta.org>
21873 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21874 always non-nil. (Bug#4052)
21876 * replace.el (read-regexp): Return empty string when
21877 `default-value' is nil.
21878 (keep-lines-read-args): Don't use empty string as the
21879 default value for `read-regexp'. (Bug#2495)
21881 2009-08-12 Juri Linkov <juri@jurta.org>
21883 * international/mule-cmds.el (ucs-insert): Change arguments
21884 from `arg' to `character', `count', `inherit' to be the same
21885 as in `insert-char'. Doc fix. (Bug#4039)
21887 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21889 2009-08-12 Juri Linkov <juri@jurta.org>
21891 * files-x.el: New file.
21893 * files.el: Move code that deals with adding/deleting
21894 file/directory-local variables to files-x.el.
21896 * Makefile.in (ELCFILES): Add files-x.elc.
21898 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
21900 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21901 to use `goto-line'.
21902 (gdb-place-breakpoints, gdb-get-location): Rewritten without
21904 (gdb-invalidate-disassembly): Do not refresh upon receiving
21905 'update signal. Instead, update all disassembly buffers only after
21907 (gdb): Send -target-detach when buffer is killed (Bug#3794).
21908 (gdb-starting): Move -data-list-register-names...
21909 (gdb-stopped): ...here so it's sent when first thread stops.
21910 (gdb-registers-handler-custom): Do nothing if register names are
21913 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21914 from `gdb-mi.el' to avoid extra tangling.
21916 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21917 change which breaks `gud-def' definitions used in `gdb'.
21918 (gdb-update-gud-running): No extra fuss for updating frame number.
21920 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
21922 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21923 (describe-language-environment-map, setup-language-environment-map)
21924 (set-coding-system-map): Move initialization into declaration.
21925 (set-language-info-alist): Last arg to define-key-after can be skipped.
21927 * international/quail.el (quail-completion-1): Simplify.
21928 (quail-define-rules): Use slightly more compact code.
21929 (quail-insert-decode-map): Propertize keys, compact columns.
21931 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21934 2009-08-10 Miles Bader <miles@gnu.org>
21936 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21937 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21938 (js2-instance-member, js2-private-member, js2-private-function-call)
21939 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21940 (js2-magic-paren, js2-external-variable):
21941 Remove "-face" suffix from face names.
21942 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21943 (js2-highlight-undeclared-vars, js2-peek-token)
21944 (js2-parse-function-params, js2-mode-show-errors)
21945 (js2-mode-show-warnings, js2-make-magic-delimiter)
21946 (js2-mode-highlight-magic-parens): Update to use new face names.
21948 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
21950 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21951 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
21953 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
21955 * subr.el: Provide hashtable-print-readable.
21957 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21958 hs-c-like-adjust-block-beginning.
21959 (hs-hide-block-at-point): Stop hiding at the beginning of
21960 hs-block-end-regexp (Bug#700).
21962 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
21964 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21966 (gdb-registers-handler-custom): Do not fail when register names
21969 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21971 * progmodes/gdb-mi.el (gdb-control-all-threads)
21972 (gdb-control-current-thread): Interactive setters for
21973 `gdb-gud-control-all-threads' to use in menu.
21974 (gdb-show-run-p): Show «Go» when process is not active.
21975 (gud-tool-bar-map): Add non-stop/A,T indicator.
21976 Uses gud/thread.xpm and gud/all.xpm.
21978 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
21980 * net/net-utils.el (net-utils-font-lock-keywords): New var.
21981 (nslookup-font-lock-keywords): Make it a variable.
21982 (net-utils-mode): New mode for viewing diagnostic network output.
21983 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21984 (net-utils-run-simple): New function.
21985 (ifconfig, iwconfig, netstat, arp, route): Use it.
21987 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21989 * progmodes/gdb-mi.el (gdb-read-memory-custom)
21990 (gdb-memory-set-address, def-gdb-set-positive-number)
21991 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21992 after changing settings.
21993 (gdb-invalidate-disassembly): Update when first shown.
21994 (gdb-edit-locals-value): Fix.
21995 (gdb-registers-handler-custom): Print registers in right order and
21996 allow changing register values (only for current thread yet).
21997 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
21998 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
21999 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
22000 (gdb-locals-handler-custom, gdb-registers-handler-custom):
22001 Thread info in mode name.
22002 (gdb-registers-mode-map): TAB to switch to locals.
22004 2009-08-08 Eli Zaretskii <eliz@gnu.org>
22006 * mail/rmail.el (rmail-add-mbox-headers)
22007 (rmail-set-message-counters-counter): Search for
22008 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
22010 2009-08-08 Glenn Morris <rgm@gnu.org>
22012 * Makefile.in (ELCFILES): Update.
22014 2009-08-07 Eli Zaretskii <eliz@gnu.org>
22016 * mail/sendmail.el (mail-yank-original):
22017 Set buffer-file-coding-system from the one used by the message whose
22020 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
22021 to "windows" when "pgnuplot" is used.
22022 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
22023 Don't call accept-process-output if "pgnuplot" is used.
22024 (calc-graph-init): Don't send -display and -geometry to
22025 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
22026 running "pgnuplot -V" with shell-command-to-string.
22028 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
22031 2009-08-07 Eli Zaretskii <eliz@gnu.org>
22033 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
22036 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
22038 * vc-dispatcher.el (vc-resynch-window): Update comment.
22040 * term.el (term-handle-ansi-escape): Add comments with the
22041 terminfo capabilities implemented.
22043 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
22045 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
22046 (gdb-var-create-handler): Rewritten using JSON parser.
22047 (gdb-propertize-header): Move earlier.
22048 (gdb-set-header): Remove to avoid duplication.
22049 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
22050 Refresh disassembly buffers only after threads list have been
22052 (gdb-threads-header, gdb-registers-header): Per-buffer header line
22055 2009-08-04 Juri Linkov <juri@jurta.org>
22057 * files.el: Commands to add/delete file/directory-local variables.
22058 (read-file-local-variable, read-file-local-variable-value)
22059 (read-file-local-variable-mode, modify-file-local-variable)
22060 (modify-file-local-variable-prop-line)
22061 (modify-dir-local-variable): New functions.
22062 (add-file-local-variable, delete-file-local-variable)
22063 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
22064 (add-dir-local-variable, delete-dir-local-variable)
22065 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
22066 (copy-dir-locals-to-file-locals-prop-line): New commands.
22068 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
22070 * abbrev.el (insert-abbrev-table-description): Prettify output.
22071 Suggested by Karl Chen.
22073 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
22075 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
22076 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
22077 (gdb-overlay-arrow-position, gdb-thread-position)
22078 (gdb-disassembly-position): Declare variables.
22079 (gdb-wait-for-pending): Function now.
22080 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
22081 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
22082 compilation goes smoothly.
22083 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
22084 (gdb-non-stop-setting): New customization setting which replaces
22085 `gdb-non-stop' so changing it doesn't break active GDB session.
22086 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
22087 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
22088 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
22089 (gdb-show-threads-by-default): New customization options.
22090 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
22092 (gdb-get-buffer-create): Send buffers update signal when they are
22094 (gdb-invalidate-locals, gdb-invalidate-registers)
22095 (gdb-invalidate-breakpoints)
22096 (gdb-invalidate-threads, gdb-invalidate-disassembly)
22097 (gdb-invalidate-memory): Accept update signal.
22098 (gdb-current-context-command): Use --frame option.
22099 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
22100 Implement `gdb-frame-number' selection logic.
22101 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
22102 whether to show GUD toolbar buttons.
22103 (gdb-thread-exited): Unselect current thread when it exits.
22104 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
22105 (gdb-mark-line): Routine which sets overlay arrow or inverses
22106 video on fringeless displays.
22107 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
22108 to build aligned columns of data in GDB buffers and set text
22109 properties line-by-line.
22110 (gdb-invalidate-breakpoints)
22111 (gdb-breakpoints-list-handler-custom)
22112 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
22113 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
22114 (gdb-registers-handler-custom): Align data columns.
22115 (gdb-locals-handler-custom): Now prints data like in variable
22117 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
22118 Remove confusing buttons.
22119 (gdb-invalidate-threads): Append --frame.
22120 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
22121 between breakpoints/threads buffers.
22122 (gdb-set-window-buffer): Now can ignore dedicated windows.
22123 (gdb-propertize-header): Use `gdb-set-window-buffer'.
22124 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
22125 (def-gdb-thread-buffer-gud-command): Replaces
22126 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
22127 for fine thread control.
22128 (gdb-preempt-existing-or-display-buffer): New function used to
22129 display bound buffers without breaking window layout.
22130 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
22131 (gdb-select-frame): New version of `gdb-frames-select' which now
22132 sets `gdb-frame-number' so commands may use --frame option instead
22133 of inner debugger state.
22134 (gdb-frame-handler): Do not set `gdb-frame-number'.
22135 (gdb-threads-mode-map): Select threads with mouse.
22137 * progmodes/gud.el (gdb-gud-context-call): Declare function to
22138 avoid compilation warning.
22139 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
22142 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
22143 Argument `key' renamed to `buffer-type'.
22144 (gdb-current-context-buffer-name): Do not add thread info to
22145 buffer name when no thread is selected.
22146 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
22147 command (bug 3794).
22148 (gdb-thread-selected): Handle `=thread-selected' notification.
22149 (gdb-wait-for-pending): New macro to deal with congestion problems.
22150 (gdb-breakpoints-list-handler-custom): Don't fail on pending
22152 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
22153 This fixes problem similar to one described in bug 3947.
22154 (gud-menu-map): More menu items.
22155 (gdb-init-1): Reset `gdb-thread-number' to nil.
22157 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
22160 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
22161 (gdb-current-context-command): Do not append --thread if
22162 `gdb-thread-number' is nil.
22163 (gdb-running-threads-count, gdb-stopped-threads-count):
22165 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
22166 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
22167 New customization options.
22168 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
22170 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
22171 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
22172 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
22173 set `gdb-thread-number' and update `gud-running' properly.
22174 (gdb-running): Update threads list when new threads appear.
22175 (gdb-stopped): Support non-stop operation and new thread switching
22177 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
22178 (gdb-json-partial-output): New set of JSON routines.
22179 (def-gdb-auto-update-trigger): New `signal-list' optional
22181 (gdb-thread-list-handler-custom): Update `gud-running',
22182 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
22183 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
22184 (gdb-continue-thread, gdb-step-thread): New commands for fine
22185 thread execution control.
22186 (gud-menu-map): New menu items to switch non-stop options.
22187 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
22188 (gdb-send): Mimic RET properly (bug 3794).
22190 * progmodes/gdb-mi.el (gdb-rules-name-maker)
22191 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
22193 (def-gdb-auto-update-handler): New nopreserve optional argument.
22194 (gdb-stack-list-frames-custom): Print stack from top to bottom.
22196 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
22197 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
22198 (gdb-parent-mode): New mode to derive other GDB modes from.
22199 (gdb-display-disassembly-for-thread)
22200 (gdb-frame-disassembly-for-thread): New commands for threads
22203 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
22204 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
22205 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
22206 (gdb-update): We now store all GDB buffers in a list so that they
22207 can be updated by traversing a list instead of calling invalidate
22208 triggers explicitly.
22209 (def-gdb-trigger-and-handler): New macro to define trigger-handler
22210 pair for GDB buffer.
22211 (gdb-stack-buffer-name): Add thread information.
22212 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
22213 handle pending triggers.
22214 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
22215 (def-gdb-thread-buffer-simple-command)
22216 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
22217 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
22218 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
22219 New commands which show buffers bound to thread.
22220 (gdb-stack-list-locals-regexp): Remove unused regexp.
22222 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
22223 (gdb-locals-buffer-name, gdb-registers-buffer-name)
22224 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
22225 to (gud-comint-buffer) in *-buffer-name functions
22226 because (gdb-get-target-string) already does that.
22227 (gdb-locals-handler-custom, gdb-registers-handler-custom)
22228 (gdb-changed-registers-handler): Rewritten without regexps.
22230 * progmodes/gdb-mi.el: Basic thread selection support.
22231 (gdb-thread-number): New variable.
22232 (gdb-current-context-command): New macro which adds --thread
22234 (gdb-threads-mode-map): Select thread with SPC.
22235 (gdb-thread-list-handler-custom): Mark current thread with overlay
22236 arrow. Synchronize GDB thread and Emacs thread.
22237 (gdb-select-thread): New command which selects current thread.
22238 (gdb-invalidate-frames, gdb-invalidate-locals)
22239 (gdb-invalidate-registers): Use --thread option.
22241 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
22243 * net/tramp.el (top): Make check for tramp-gvfs loading more
22245 (tramp-handle-insert-file-contents): `unwind-protect' must be
22246 inside `with-parsed-tramp-file-name'.
22248 * net/tramp-gvfs.el (top): Remove superfluous message when loading
22251 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
22253 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
22254 directory if CLASSPATH is not set.
22256 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
22258 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
22260 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
22262 2009-08-02 Kevin Ryde <user42@zip.com.au>
22264 * net/newst-backend.el (newsticker--raw-url-list-defaults):
22265 Update freshmeat link. Delete newsforge.com as it seems gone.
22267 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
22269 * select.el (x-set-selection): Doc fix (Bug#4021).
22271 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
22273 * help-fns.el (describe-variable): Treat list return values from
22274 dir-locals-find-file properly (Bug#4005).
22276 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
22278 * net/tramp.el (tramp-debug-message): Print also microseconds.
22280 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
22282 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
22284 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
22285 (tramp-get-debug-buffer): Change `outline-regexp' according to new
22288 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
22289 (tramp-get-file-property): Use it.
22291 * autorevert.el (auto-revert-handler):
22292 Allow `auto-revert-tail-mode' for remote files.
22294 2009-08-02 Jason Rumney <jasonr@gnu.org>
22296 * minibuffer.el (read-file-name): Treat confirm options to
22297 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
22299 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
22301 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
22302 (font-lock-variable-name-face, font-lock-constant-face):
22303 Darken the colors for light backgrounds.
22305 2009-08-01 Eli Zaretskii <eliz@gnu.org>
22307 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
22308 month names. (Bug#3987)
22310 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
22312 * simple.el (line-move-finish): Pass whole number to
22313 line-move-to-column.
22314 (line-move-visual): Perform hscroll to the recorded position.
22316 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
22318 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
22320 2009-07-29 Alan Mackenzie <acm@muc.de>
22322 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
22324 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
22326 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
22327 (gdb-place-breakpoints): Use full path when setting breakpoints.
22329 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
22331 * calc/calc.el (calc-mode-map): Add keybinding for
22332 `calc-transpose-lines'.
22334 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
22336 * calc/calc-misc.el (calc-transpose-lines): New function.
22338 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
22340 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
22341 Simplify check for out-of-band methods.
22342 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
22343 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
22345 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
22347 * vc-git.el (vc-git-checkin): Fix typo.
22349 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
22351 * progmodes/js2-mode.el: New file.
22353 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
22355 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
22356 (gud-menu-map): Adjust tooltip accordingly.
22358 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
22360 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
22361 (vc-bzr-log-view-mode): Adjust log-view-file-re.
22363 * add-log.el (change-log-mode-map): Add a menu.
22365 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
22367 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
22368 function returns nil.
22369 (dbus-handle-event): Handle special return value :ignore.
22370 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
22372 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
22374 * view.el (view-mode-enable): Don't define Helper-return-blurb if
22377 2009-07-25 Eli Zaretskii <eliz@gnu.org>
22381 * w32-vars.el (x-select-enable-clipboard): Doc fix.
22383 * term/pc-win.el (x-display-name, x-colors)
22384 (x-select-enable-clipboard, x-select-text): Doc fix.
22386 * term/common-win.el (x-display-name, x-colors): Doc fix.
22388 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
22389 (xw-defined-colors): Doc fix.
22391 * w32-fns.el (x-select-text, x-setup-function-keys)
22392 (x-get-selection, x-set-selection): Doc fix.
22394 * term/x-win.el (x-select-text, x-setup-function-keys)
22395 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
22397 * select.el (x-set-selection): Doc fix.
22399 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
22401 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
22402 instead of "IsNSSSupportAvailable". Avahi ought to work also when
22403 "IsNSSSupportAvailable" method is not available.
22404 Reported by Steve Youngs <steve@sxemacs.org>.
22406 2009-07-24 Kenichi Handa <handa@m17n.org>
22408 * international/characters.el: Fix setting of category ?C, ?|, ?K,
22409 and ?H. Fix setting of case for Latin Extended and Greek Extended.
22410 (build-unicode-category-table): Fix range checks.
22412 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
22414 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
22415 the buffer we try to sync is current when calling
22418 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
22419 not show up to date files.
22421 2009-07-24 Glenn Morris <rgm@gnu.org>
22423 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
22424 Add autoload cookies. If necessary, initialize.
22425 (elint-log): Handle non-file buffers.
22426 (elint-initialize): Add optional argument to reinitialize.
22427 (elint-find-builtin-variables): Save excursion.
22429 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
22431 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
22434 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
22436 * vc.el (vc-print-log-internal): New function, split out from ...
22437 (vc-print-log): ... here.
22438 (vc-dir-move-to-goal-column): Declare.
22440 * vc-git.el (vc-git-add-signoff): New variable.
22441 (vc-git-checkin): Use it.
22442 (vc-git-toggle-signoff): New function.
22443 (vc-git-extra-menu-map): Bind it to menu.
22444 (vc-git--run-command-string): Accept a nil FILE argument.
22445 (vc-git-stash-list): New function.
22446 (vc-git-dir-extra-headers): Use it.
22448 2009-07-23 Glenn Morris <rgm@gnu.org>
22450 * help-fns.el (describe-variable): Describe ignored and risky local
22451 variables in a similar way to that in which we describe safe ones.
22453 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
22454 (byte-compile-output-file-form, byte-compile-output-docform)
22455 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
22456 Give some more local variables with common names a "bytecomp-" prefix,
22457 so as not to shadow things during compilation.
22458 * emacs-lisp/cl-macs.el (load-time-value)
22459 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
22460 `outbuffer' to `bytecomp-outbuffer'.
22462 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
22463 since the next two variables cover them automatically now.
22464 (elint-builtin-variables, elint-autoloaded-variables): New.
22465 (elint-unknown-builtin-args): Remove all members, since they can be
22466 parsed automatically now.
22467 (elint-extra-errors): New.
22468 (elint-env-add-env, elint-env-add-macro): Use cadr.
22469 (elint-current-buffer): Use or. Change final message.
22470 (elint-get-top-forms): Use line-end-position.
22471 (elint-init-env): Use cadr. Handle autoload, declare-function,
22473 (elint-add-required-env): Doc fix. Use or. Standardize error.
22474 (regexp-assoc): Remove unused function.
22475 (elint-top-form): Set elint-current-pos, to record the start of the
22476 top-level form, for compilation-mode.
22477 (elint-form): Trap errors in macro expansion. Use dolist.
22478 (elint-unbound-variable): Use elint-builtin-variables and
22479 elint-autoloaded-variables.
22480 (elint-get-args): Use cadr, or.
22481 (elint-check-cond-form): Use dolist, cadr.
22482 (elint-check-condition-case-form): Doc fix. Use cadr.
22483 Use elint-extra-errors.
22484 (elint-log): New function.
22485 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
22486 Distinguish errors and warnings.
22487 (elint-log-message): Use with-current-buffer. Inhibit read-only.
22488 Use a bytecomp-style format.
22489 (elint-clear-log): Preserve default-directory. Inhibit read-only.
22490 (elint-get-log-buffer): Use compilation mode. Disable undo.
22491 Don't truncate lines.
22492 (elint-initialize): Set builtin and autoloaded variable lists.
22493 Only process elint-unknown-builtin-args if non-nil.
22494 (elint-find-builtin-variables, elint-find-autoloaded-variables):
22496 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
22498 2009-07-22 Kevin Ryde <user42@zip.com.au>
22500 * net/newst-backend.el (newsticker--parse-atom-1.0)
22501 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
22502 (newsticker--parse-rss-1.0):
22503 * progmodes/idlwave.el (idlwave-mode):
22504 * progmodes/idlw-shell.el (idlwave-shell-mode):
22505 * progmodes/vera-mode.el (vera-mode):
22506 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
22507 * progmodes/vhdl-mode.el (vhdl-mode):
22508 * textmodes/table.el (table-generate-source)
22509 (table--warn-incompatibility):
22510 Hyperlink urls in docstrings with URL `...'.
22512 2009-07-22 Glenn Morris <rgm@gnu.org>
22514 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
22515 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
22516 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
22517 Remove leading * from defcustom docs.
22519 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
22521 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
22523 (list-load-path-shadows): Optionally, just return shadows as a string.
22525 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
22527 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
22529 * mail/rmailedit.el (rmail-edit-mode):
22530 Use auto-save-include-big-deletions.
22532 * mail/rmail.el (rmail-variables):
22533 Use auto-save-include-big-deletions.
22535 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
22538 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
22540 * calc/calc.el (calc-undo-length): New variable.
22541 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
22543 2009-07-21 Richard Stallman <rms@gnu.org>
22545 * files.el (auto-save-mode): Handle buffer-save-size = -2
22548 2009-07-21 Glenn Morris <rgm@gnu.org>
22550 * textmodes/ispell.el (ispell-looking-back): Update declaration.
22552 * calendar/todo-mode.el (calendar-current-date): Update declaration.
22554 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
22555 silence compiler. Instead...
22556 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
22557 (ps-print-ensure-fontified): Update for above function name changes.
22559 * printing.el (pr-mh-get-msg-num, pr-mh-show)
22560 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
22561 silence compiler. Instead...
22562 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
22563 (mh-show-buffer): Only define for compiler.
22564 (pr-mh-current-message): Update for above function name changes.
22566 * files.el (abort-if-file-too-large): Explicitly pass `filename'
22568 (find-file-noselect, insert-file-1): Update for above change.
22570 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
22572 * mail/mailclient.el (mailclient-send-it): Fix message.
22574 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
22575 (edebug-eval): Check cl-debug-env is bound.
22576 (print-level, print-circle): Don't redefine built-in variables.
22578 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
22579 (custom-print-vectors): Remove old comments from doc.
22581 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
22582 (emerge-version): Make the variable an obsolete alias for the
22583 emacs-version variable. Make the function obsolete.
22584 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
22585 Emerge options, rather than merging in into the main Options menu.
22586 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
22587 and auto advance modes. Disable edit/fast items when not relevant.
22589 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
22591 * term/vt420.el (terminal-init-vt420): Fix typo.
22593 2009-07-20 Sam Steingold <sds@gnu.org>
22595 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
22596 variable (removed from compile.el on 2004-03-11).
22598 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
22600 * files.el (hack-local-variables-filter): Fix last change.
22602 2009-07-19 Juri Linkov <juri@jurta.org>
22604 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
22605 (dir-local-variables-alist): New buffer-local variable.
22606 (hack-local-variables-filter): If variable is not dir-local,
22607 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
22608 because file-local overrides dir-local.
22609 (c-postprocess-file-styles) <declare-function>:
22610 Remove obsolete declaration.
22611 (hack-dir-local-variables): Add dir-local variable/value pair to
22612 `dir-local-variables-alist' and remove duplicates. Doc fix.
22614 * help-fns.el (describe-variable): Add information about
22615 file-local and dir-local variables.
22617 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
22619 * files.el (hack-local-variables-filter): Rewrite.
22621 2009-07-19 Glenn Morris <rgm@gnu.org>
22623 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
22624 Silence compiler by only defining on XEmacs.
22626 * international/mule.el (auto-coding-regexp-alist): Only match
22627 BABYL... at the start of buffer, not of lines. (Bug#3790)
22629 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
22630 non-calendar buffers (Bug#3862). Restore "not on a date" message.
22631 (cal-menu-context-mouse-menu): Doc fix.
22633 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
22635 * simple.el (mail-user-agent): Doc fix. Set :version tag.
22637 2009-07-18 Juri Linkov <juri@jurta.org>
22639 * info.el: Virtual Info keyword finder.
22640 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
22641 (Info-finder-file): New variable.
22642 (Info-finder-find-file): New function.
22643 (finder-known-keywords, finder-package-info)
22644 (find-library-name, lm-commentary): Use defvar and
22645 declare-function to silence compiler warnings.
22646 (Info-finder-find-node): New function.
22647 (info-finder): New command.
22649 * subr.el (process-kill-buffer-query-function): New function.
22650 (add-hook)<kill-buffer-query-functions>: Add hook
22651 `process-kill-buffer-query-function'.
22653 2009-07-18 Alan Mackenzie <acm@muc.de>
22655 * progmodes/cc-mode.el (c-before-hack-hook)
22656 (c-postprocess-file-styles): Give invocation of `c-set-style'
22657 DONT-OVERRIDE parameter of t. Already set style variables will
22658 thus not be overridden by style settings given by `c-file-syle'.
22660 * files.el (hack-local-variables-filter): Remove entries with
22661 duplicate keys from `file-local-variables-alist'.
22663 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22665 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
22666 x-set-selection if display-selections-p returns nil for the
22669 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
22671 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
22673 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22675 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
22676 Accept nil in addition to a regexp.
22677 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
22678 Accept nil in addition to a regexp.
22679 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
22680 buffers that have an associated file. Handle nil values of
22681 desktop-buffers-not-to-save and desktop-files-not-to-save.
22684 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
22685 (x-disown-selection-internal): New functions.
22687 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
22689 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
22691 (gdb-breakpoints-header): Move forward to avoid compiler warning.
22692 (gdb-make-header-line-mouse-map): Remove duplicate definition.
22694 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
22696 * simple.el (set-mark): Revert last change.
22698 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
22700 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
22701 rendering of pngs is not possible instead of messaging a long
22704 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
22706 * w32-fns.el (x-selection-owner-p): New function.
22708 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
22709 (mouse-yank-at-click, mouse-yank-primary):
22710 If select-active-regions is non-nil, deactivate the mark before
22713 * simple.el (deactivate-mark, set-mark): Only save selection if we
22716 2009-07-17 Kenichi Handa <handa@m17n.org>
22718 * case-table.el (describe-buffer-case-table): Fix for the case
22719 that KEY is a cons.
22721 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
22723 * vc-rcs.el (vc-rcs-find-file-hook):
22724 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
22726 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
22728 * net/tramp.el (tramp-wait-for-output): Handle the case when
22729 commands do not return a newline but a null byte before the shell
22732 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22734 * term/ns-win.el (ns-set-alpha): Don't declare.
22735 (ns-set-background-alpha): Remove function.
22737 2009-07-16 Kevin Ryde <user42@zip.com.au>
22739 * emacs-lisp/copyright.el (copyright-update): Save match-data across
22740 y-or-n-p, for safety.
22742 2009-07-16 Richard Stallman <rms@gnu.org>
22744 * files.el (auto-save-mode): If buffer-saved-size is -2,
22747 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
22748 (rmail-retry-ignored-headers): Add more uninteresting fields.
22750 2009-07-15 Jari Aalto <jari.aalto@cante.net>
22752 * net/rcirc.el (rcirc): Use history variables.
22753 (rcirc-server-name-history, rcirc-nick-name-history)
22754 (rcirc-server-port-history): New variables.
22756 2009-07-15 Kenichi Handa <handa@m17n.org>
22758 * international/mule-cmds.el (set-language-environment-charset):
22759 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
22762 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
22763 Delete unibyte-display.
22765 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22767 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
22769 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22771 * simple.el (deactivate-mark): Optional argument FORCE.
22772 (set-mark): Use deactivate-mark.
22774 * info.el (Info-search): No need to check transient-mark-mode
22775 before calling deactivate-mark.
22777 * select.el (x-set-selection): Doc fix.
22778 (x-valid-simple-selection-p): Allow buffer values.
22779 (xselect--selection-bounds): Handle buffer values.
22780 Suggested by David De La Harpe Golden.
22782 * mouse.el (mouse-set-region, mouse-drag-track):
22783 Call copy-region-as-kill before setting the mark, to let
22784 select-active-regions work.
22786 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
22788 * simple.el (deactivate-mark): If select-active-regions is
22789 non-nil, copy the selection data into a string.
22790 (activate-mark): If select-active-regions is non-nil, set the
22791 selection to the current buffer.
22792 (set-mark): Update selection if select-active-regions is non-nil.
22794 * select.el (x-valid-simple-selection-p): Allow buffer values.
22796 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
22798 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22799 and more featureful message-mode.
22801 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
22803 * select.el (x-set-selection): Doc fix.
22804 (x-valid-simple-selection-p): Disallow selection data consisting
22805 of a list or cons of integers, since that is not used.
22806 (xselect--selection-bounds, xselect--int-to-cons): New functions.
22807 (xselect-convert-to-string, xselect-convert-to-length)
22808 (xselect-convert-to-filename, xselect-convert-to-charpos)
22809 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22811 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
22813 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22814 output in -break-info command (Emacs bug #3794).
22816 2009-07-14 Glenn Morris <rgm@gnu.org>
22818 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22819 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22820 (edebug-print-length, edebug-print-level, edebug-print-circle)
22821 (edebug-sit-for-seconds, edebug-view-outside)
22822 (edebug-bounce-point, edebug-set-global-break-condition)
22823 (edebug-Go-nonstop-mode, edebug-trace-mode)
22824 (edebug-Trace-fast-mode, edebug-continue-mode)
22825 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22826 (edebug-visit-eval-list): Doc fixes.
22828 * subr.el (def-edebug-spec): Doc fix.
22830 2009-07-14 Kenichi Handa <handa@m17n.org>
22832 * international/characters.el: Fix setting of category ?C.
22834 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
22836 * term/ns-win.el (x-select-font): defalias x-select-font to
22837 ns-popup-font-panel instead of generate-fontset-menu.
22839 2009-07-12 Eli Zaretskii <eliz@gnu.org>
22841 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
22843 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
22845 * arc-mode.el (archive-find-type): Allow for a PK00 string before
22846 the PK\003\004 header (Bug#3770).
22848 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
22850 * pcomplete.el (pcomplete-comint-setup): Check for
22851 shell-dynamic-complete-filename too.
22853 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
22855 * simple.el (temporary-goal-column): Change the value for
22856 line-move-visual to a cons cell.
22857 (line-move-visual): Record or set the window hscroll, if
22858 necessary (Bug#3494).
22859 (line-move-1): Handle cons value of temporary-goal-column.
22861 2009-07-11 Kenichi Handa <handa@m17n.org>
22863 * international/mule-diag.el (describe-character-set): Don't show
22866 2009-07-10 Sam Steingold <sds@gnu.org>
22868 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22869 Omake sometimes indents the errors it prints, so allow all
22870 regexps to start with spaces.
22872 2009-07-10 Eli Zaretskii <eliz@gnu.org>
22874 * cus-edit.el (customize-changed-options-previous-release):
22875 Bump value to 22.1. (Bug#3804)
22877 2009-07-08 Sam Steingold <sds@gnu.org>
22879 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22880 to be a cons cell (test . ignored-directory) to selectively ignore
22881 some directories depending on the location of the search.
22883 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
22885 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22886 remote user is root, on the local host.
22887 (tramp-local-host-p): Either the local user or the remote user
22888 must be root. (Bug#3771)
22890 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22892 * progmodes/gdb-mi.el (gdb): Remove description of
22893 gdb-use-separate-io-buffer.
22894 (menu): Don't allow toggling of or enable
22895 gdb-use-separate-io-buffer from menubar.
22897 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
22899 * mail/unrmail.el (unrmail): Make sure the message ends with two
22900 newlines (Bug#3769).
22902 2009-07-08 Glenn Morris <rgm@gnu.org>
22904 * calendar/calendar.el (calendar-current-date): Rework previous change.
22906 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
22908 * calendar/calendar.el (calendar-current-date):
22909 Add an optional argument giving an offset from today.
22911 2009-07-08 Glenn Morris <rgm@gnu.org>
22913 * tutorial.el (tutorial--describe-nonstandard-key):
22914 Adjust the message for when a key has been unbound.
22915 (help-with-tutorial): Hide the arch-tag.
22917 2009-07-08 Kenichi Handa <handa@m17n.org>
22919 * international/fontset.el (setup-default-fontset): For each
22920 script, append (not set) font-specs.
22922 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22925 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22927 * progmodes/gdb-mi.el (gdb-init-1): Move sending
22928 -data-list-register-names to ...
22929 (gdb-starting): ... here because GDB 7.0 requires execution to
22930 have started when using this MI command.
22931 (gdb-set-header): New function to distinguish select and
22932 unselected tabs in gdb buffers.
22933 (gdb-propertize-header): New macro that uses gdb-set-header.
22934 (gdb-breakpoints-header, gdb-locals-header): Use it.
22935 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22937 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
22939 * Makefile.in (ELCFILES): Remove fadr.elc.
22941 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
22943 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22944 may contain frame information, so `string-match' should be used.
22945 (gdb-update): Disassembly is invalidated through
22946 `gdb-get-selected-frame'.
22947 (gdb-pad-string): New function to pad string with spaces.
22948 (gdb-invalidate-disassembly): Invalidate only if the buffer
22950 (gdb-disassembly-handler-custom): Column alignment.
22951 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22953 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22955 (gdb-frame-handler): Match convention to for disassembly buffer
22957 (gdb-stack-list-frames-handler): Rewritten without regexps.
22958 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22959 not highlight breakpoints without line information.
22960 (gdb-input): Add trailing newline to command.
22962 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22964 (gdb-breakpoints-list-handler-custom): Replacement for
22965 `gdb-break-list-handler'. Using real parser instead of regexps
22967 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22968 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22969 to place breakpoints.
22970 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22972 (gdb-disassembly-handler-custom): Show overlay arrow.
22973 (gdb-disassembly-place-breakpoints): Show breakpoints in
22974 disassembly buffer.
22975 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22976 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22977 instead of parsing breakpoints buffer. Fixed old menu references
22982 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22983 (gdb-memory-address): New variable which holds top address of
22984 memory page shown in memory buffer.
22985 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22986 New customization variables.
22988 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
22989 display the memory buffer.
22990 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22991 buffer display parameters.
22992 (def-gdb-memory-format, gdb-memory-format-binary)
22993 (gdb-memory-format-octal, gdb-memory-format-unsigned)
22994 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
22995 Functions for setting memory buffer format.
22996 (gdb-memory-unit-word, gdb-memory-unit-halfword)
22997 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
22998 unit size used in memory buffer.
22999 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
23000 Switch to next/previous page of memory buffer.
23001 Now using (bindat-get-field) instead of fadr functions.
23003 2009-07-07 Sam Steingold <sds@gnu.org>
23005 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
23006 non-top-level files.
23008 2009-07-07 Kenichi Handa <handa@m17n.org>
23010 * international/mule-cmds.el (reset-language-environment):
23011 Put the highset priority to the charset iso-8859-1.
23013 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
23015 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
23016 to the end of the line when locating the block (Bug#700).
23018 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
23020 * net/tramp.el (tramp-handle-write-region): Flush file properties
23021 in case of short track.
23023 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
23025 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
23026 Coded custom representation of verilog error regular expressions
23027 to work with Emacs-22's new format.
23028 (verilog-error-regexp-xemacs-alist): Coded custom representation
23029 of verilog error regular expressions to work with XEmacs format.
23030 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
23031 error recognition into XEmacs.
23032 (verilog-error-regexp-add-emacs): Hook routine to install verilog
23033 error recognition into Emacs-22.
23035 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
23037 * woman.el: Remove stand-alone closing parentheses.
23038 (woman-file-name, woman2-format-paragraphs)
23039 (woman-leave-blank-lines): Code cleanup.
23040 (woman-use-own-frame): Change default to nil.
23041 (woman-italic, woman-bold, woman-unknown, woman-addition):
23042 Change defaults to inherit from default faces.
23043 (woman2-process-escapes): Consume the newline after a stand-alone
23044 filler character (Bug#3651).
23046 2009-07-06 Glenn Morris <rgm@gnu.org>
23048 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
23049 (top-level): Move provide to the end.
23050 (ffap): Remove defunct URL from custom group.
23052 * subr.el (eval-after-load): Doc fix.
23054 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
23056 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
23057 `calc-embedded-word' is called twice.
23059 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23061 * files.el (find-alternate-file-other-window, find-alternate-file):
23062 Obey confirm-nonexistent-file-or-buffer.
23064 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
23066 * dired-aux.el (dired-show-file-type): Handle remote files.
23068 2009-07-05 Jari Aalto <jari.aalto@cante.net>
23070 * desktop.el (desktop-globals-to-save):
23071 Add file-name-history (Bug#2750).
23073 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
23075 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
23077 2009-07-04 Johan Bockgård <bojohan@gnu.org>
23079 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
23080 property on entire argument since this is what eshell-lisp-command
23083 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
23085 * net/tramp-gvfs.el (tramp-gvfs-methods)
23086 (tramp-gvfs-zeroconf-domain)
23087 (tramp-bluez-discover-devices-timeout): Add version flag.
23088 (tramp-gvfs-handler-mounted-unmounted)
23089 (tramp-gvfs-connection-mounted-p): Polish handling of
23090 incompatibilities between GVFS 0.2 and 1.0.
23092 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
23094 * cus-start.el (all): Add make-pointer-invisible.
23096 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
23098 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
23099 formatted correctly.
23101 2009-07-02 Juri Linkov <juri@jurta.org>
23103 * info.el: Virtual Info files and nodes.
23104 (Info-virtual-files, Info-virtual-nodes): New variables.
23105 (Info-current-node-virtual): New variable.
23106 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
23108 (Info-file-supports-index-cookies): Use Info-virtual-file-p
23109 to check for a virtual file instead of checking a fixed list
23111 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
23112 instead of ad-hoc processing of "dir" and (apropos history toc).
23113 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
23114 instead of ad-hoc processing of "dir" and (apropos history toc).
23115 Reread a file when moving from a virtual node.
23116 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
23117 (Info-directory-toc-nodes, Info-directory-find-file)
23118 (Info-directory-find-node): New functions.
23119 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
23120 (Info-history): Move part of code to
23121 `Info-history-find-node'.
23122 (Info-history-toc-nodes, Info-history-find-file)
23123 (Info-history-find-node): New functions.
23124 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
23125 (Info-toc): Move part of code to `Info-toc-find-node'.
23126 (Info-toc-find-node): New function.
23127 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
23128 the current Info file name to references because now the node
23129 "*TOC*" belongs to the same Info manual.
23130 (Info-toc-build): Rename from `Info-build-toc'.
23131 (Info-toc-nodes): Rename input argument `file' to `filename'.
23132 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
23133 instead of ad-hoc processing of ("dir" apropos history toc).
23134 (Info-index-nodes): Use Info-virtual-file-p
23135 to check for a virtual file instead of checking a fixed list
23137 (Info-index-node): Add check for `Info-current-node-virtual'.
23138 Raise `save-match-data' higher up the tree to contain
23139 `search-forward' too (bug fix).
23140 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
23141 (Info-virtual-index-nodes): New variable.
23142 (Info-virtual-index-find-node, Info-virtual-index): New functions.
23143 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
23144 (Info-apropos-file, Info-apropos-nodes): New variables.
23145 (Info-apropos-toc-nodes, Info-apropos-find-file)
23146 (Info-apropos-find-node, Info-apropos-matches): New functions.
23147 (info-apropos): Move part of code to `Info-apropos-find-node' and
23148 `Info-apropos-matches'.
23149 (Info-mode-map): Bind "I" to `Info-virtual-index'.
23150 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
23151 for a virtual file instead of checking a fixed list of node names.
23153 * simple.el (async-shell-command): New command.
23155 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
23157 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
23158 instead of `mount-info'.
23160 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
23162 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
23163 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
23165 2009-07-02 Kenichi Handa <handa@m17n.org>
23167 * international/mule.el (set-keyboard-coding-system): Force *-unix
23168 coding-system to avoid eol conversion.
23170 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
23172 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
23173 Add handler for `process-file', `shell-command' and
23174 `start-file-process'.
23175 (tramp-gvfs-handle-shell-command)
23176 (tramp-gvfs-handle-start-file-process)
23177 (tramp-gvfs-handle-process-file): New defuns.
23178 (tramp-synce-list-devices): Simplify check for existence of property.
23180 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
23182 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
23184 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
23186 * language/korean.el (set-language-info-alist): Add korean-cp949,
23189 2009-07-01 Kenichi Handa <handa@m17n.org>
23191 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
23193 * international/encoded-kb.el: Deleted.
23195 * international/mule.el (set-keyboard-coding-system): Perform the
23196 necessary setup here instead of calling encoded-kbd-setup-display.
23198 2009-07-01 Glenn Morris <rgm@gnu.org>
23200 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
23202 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
23204 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
23206 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
23208 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
23209 Handle also the 'rename case, when setting file modes. (Bug#3712)
23210 (tramp-default-file-modes): Remove execute permissions.
23212 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
23213 (top): Add a default for "synce" in `tramp-default-user-alist'.
23214 Add completion function for "synce" method.
23215 (tramp-hal-service, tramp-hal-path-manager)
23216 (tramp-hal-interface-manager, tramp-hal-interface-device):
23218 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
23219 (tramp-synce-list-devices, tramp-synce-parse-device-names):
23222 * net/trampver.el: Update release number.
23224 2009-06-30 Kenichi Handa <handa@m17n.org>
23226 * international/fontset.el (setup-default-fontset): Add CJK fonts
23227 for symbols and the other miscellaneous characters.
23229 * language/korea-util.el (setup-korean-environment-internal):
23230 Make char-width-table suitable for Korean environments.
23231 (exit-korean-environment): Cancel above.
23233 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
23234 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
23235 setup-function to make char-width-table suitable for respective
23236 environments, and an exit-function to cancel that.
23238 * language/japan-util.el (setup-japanese-environment-internal):
23239 Call use-cjk-char-width-table with arg `ja_JP'.
23241 * international/characters.el (cjk-char-width-table): Delete it.
23242 (cjk-char-width-table-list): New variable.
23243 (use-cjk-char-width-table): New arg local-name.
23244 (use-default-char-width-table): Fix for the case that Emacs is
23245 already using the default char-width-table.
23247 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
23249 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
23250 modes mandatory. (Bug#3712)
23252 2009-06-29 Alan Mackenzie <acm@muc.de>
23254 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
23255 correction between the visible width of TABs and their number of bytes.
23257 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
23259 * server.el (server-buffer-done): Prevent kill-buffer from
23260 prompting by clearing the buffer modification flag (Bug#3696).
23262 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
23264 * progmodes/verilog-mode.el (verilog-beg-of-statement)
23265 (verilog-endcomment-reason-re): Support unique case and priority case.
23266 (verilog-basic-complete-re): Support localparam lineup.
23267 (verilog-beg-of-statement-1): Fix for robustness, unique case.
23268 (verilog-set-auto-endcomments): Fix for unique case, always_comb
23270 (verilog-leap-to-case-head): Now support *nested* unique &
23271 priority case statements.
23272 (verilog-auto-lineup): Make just declarations the default (as it
23274 (verilog-leap-to-case-head): Support priority/unique case statements.
23275 (verilog-auto-lineup): Rework to give users radio buttons to
23276 select the various styles of automatic lineup.
23277 (verilog-error-regexp-alist): Rework to support the XEmacs style
23278 of error regular expressions from compilers, lint tools &
23279 simulators. Note that GNU Emacs has made it impossible for a mode
23280 to load such things.
23281 (electric-verilog-terminate-line, verilog-indent-declaration)
23282 (verilog-auto-wiure): Rework for radio button selection of
23283 auto-lineup selection of specification of auto lineup.
23284 (verilog-beg-of-statement-1): Redesign to support proper operation
23285 in additional code, based on testing with auto-lineup.
23286 (verilog-calculate-indent, assignments & declarations)
23287 (verilog-backward-token): Enhance to support auto-lineup of
23288 assignments & declarations.
23289 (verilog-in-directive-p, verilog-at-struct-p): New function for
23290 easy test of whether we are.
23291 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
23292 to support safe execution at almost anyline.
23293 (verilog-calc-1): Properly support indenting deep inside generate
23295 (verilog-init-font): Remove definition & use of verilog-init-font,
23296 as it is redundant with font-lock-defaults.
23297 (verilog-mode): Alter the definition of verilog-font-lock-defaults
23298 to avoid circular calls if syntax-ppss is a function (as is the
23299 case now in 22.x GNU Emacs) as that function would sometimes call
23300 itself, leading to (nearly) infinite recursion.
23301 (verilog-ovm-begin-re, verilog-ovm-end-re)
23302 (verilog-ovm-statement-re, verilog-leap-to-head)
23303 (verilog-backward-token): Add support for OVM macros. Some are
23304 complete statements, and others open and close scopes like begin
23306 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
23307 (verilog-defun-level-generate-only-re): Really fix the defun-list
23309 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
23310 coverpoint, constraint and cross statements.
23311 (verilog-defun-level-list, verilog-generate-defun-level-list)
23312 (verilog-all-defun-level-list): Redo these specifications - it is
23313 too hard to support eval-when compile aggregation of lists also
23314 built at when-compile time.
23315 (verilog-defun-level-list): Place defconsts of variables used in
23316 building regular expressions which are built in eval-when-compile
23317 bodies in the same eval-when-compile body to facilitate compile
23319 (verilog-beg-block-re-ordered): Support indenting
23320 virtual/protected tasks and functions.
23321 (verilog-defun-level-list, verilog-in-generate-region-p)
23322 (verilog-backward-ws&directives, verilog-calc-1): Speed up
23323 indentation of some module items (generate items).
23324 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
23325 across virtual/protected tasks and functions.
23327 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
23329 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
23330 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
23331 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
23332 in concatenations. Reported by Yishay Belkind.
23333 (verilog-auto-ascii-enum): Support one-hot state machines in
23334 AUTOASCIIENUM. Suggested by Lloyd Gomez.
23335 (verilog-auto-inst, verilog-auto-inst-port): Include interface
23336 modport in AUTOINST and add vl-modport for users.
23337 Reported by David Rogoff.
23338 (verilog-auto-inout-module, verilog-auto-inst)
23339 (verilog-decls-get-interfaces, verilog-insert-definition)
23340 (verilog-insert-one-definition, verilog-read-decls)
23341 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
23342 (verilog-sig-modport, verilog-signals-combine-bus)
23343 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
23344 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
23345 Suggested by David Rogoff.
23346 (verilog-repair-open-comma): Fix non-insertion of comma when
23347 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
23348 (verilog-make-width-expression): Simplify [A-1:0] expression
23349 widths to just {A{1'b0}}.
23350 (verilog-mode): Cleanup checkdoc warnings.
23351 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
23352 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
23353 inputs/outputs or data type. Suggested by Vasu Kandadi.
23354 (next-error-last-buffer): Fix byte-compiler warning.
23355 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
23356 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
23357 or shell command text during AUTO expansion. Suggested by Tad Truex.
23358 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
23359 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
23360 Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
23361 in AUTOINOUT. Reported by Matthew Lovell.
23362 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
23363 causing use of <= assignments. Reported by Alex Reed.
23364 (verilog-read-decls): Fix triand, trior, wand, wor to be
23365 recognized by AUTOWIRE. Reported by Spencer Isaacson.
23366 (verilog-extended-complete-re): Support import "DPI-C" functions.
23367 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
23368 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
23369 (verilog-insert-date, verilog-insert-year)
23370 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
23371 Windows systems. Reported by Michael Potts.
23372 (verilog-read-module-name): Fix AUTOINST when the child module
23373 declaration's name is a tick define. Reported by Elliot Mednick.
23374 (verilog-read-decls): Fix V2K parameter bit subscripts getting
23375 passed to next parameter's definition. Reported by Bruce T.
23376 (verilog-read-decls): Fix detecting "parameter int" when using
23377 AUTOINSTPARAM. Reported by Bruce T.
23378 (verilog-goto-defun): Fix goto not finding modules unless first
23379 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
23380 (verilog-mode): Expand -f flag arguments on entry to mode so
23381 verilog-goto-defun will work. Reported by Lawrence Butcher.
23382 (verilog-getopt): Expand environment variables in -f file
23383 arguments. Suggested by Lawrence Butcher.
23384 (verilog-set-define): Fix "Symbol's value as variable is void"
23385 when reading enumerations.
23386 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
23387 Suggested by Stephen Peltan.
23388 (verilog-read-defines): Fix reading of enumerations in include
23389 files. Reported by Steve Peltan.
23391 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
23393 * files.el (trash-directory): Fix defcustom type.
23395 2009-06-28 Juri Linkov <juri@jurta.org>
23397 * help-fns.el (describe-function-1): Correctly locate adviced
23398 functions in hyperlink (Bug#2438).
23400 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
23402 * files.el (trash-directory): Change default to nil.
23403 (move-file-to-trash): If trash-directory is nil and
23404 system-move-file-to-trash is unbound, perform freedesktop-style
23407 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
23409 * files.el (move-file-to-trash): Add freedesktop trash
23412 2009-06-28 Glenn Morris <rgm@gnu.org>
23414 * autorevert.el (global-auto-revert-non-file-buffers)
23415 (global-auto-revert-mode): Doc fixes.
23417 2009-06-27 Johan Bockgård <bojohan@gnu.org>
23419 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
23421 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
23423 * faces.el (x-handle-named-frame-geometry): Ensure that we have
23424 opened an X connection before calling x-get-resource (Bug#3194).
23426 * play/doctor.el: Remove reference to obsolete website.
23427 (make-doctor-variables): Correct grammar mistake (Bug#2633).
23429 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
23431 Remove find-file-not-found-hook VC method. (Bug#2757)
23432 * vc-hooks.el (vc-file-not-found-hook)
23433 (vc-default-find-file-not-found-hook): Remove functions.
23434 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
23435 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
23438 * vc-git.el: Do not mention find-file-not-found-hook VC method.
23440 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
23442 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
23443 compatibility function for `looking-back'.
23445 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
23446 Use `ispell-looking-back'.
23448 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
23450 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
23451 rather than `filename'.
23453 2009-06-23 Miles Bader <miles@gnu.org>
23455 * face-remap.el (text-scale-set): New function.
23457 2009-06-23 Glenn Morris <rgm@gnu.org>
23459 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
23461 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
23463 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
23465 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
23467 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
23468 Simplify Persian conditionals.
23470 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
23471 variable `filename'.
23473 * comint.el (comint-insert-input): Doc fix.
23475 * Makefile.in (ELCFILES): Fix typo in previous change.
23477 2009-06-23 Miles Bader <miles@gnu.org>
23479 * cus-start.el: Add entry for `recenter-redisplay'.
23481 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23483 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
23484 Add an optional argument for the backend, use it instead of
23485 calling vc-backend.
23486 (vc-mode-line): Add an optional argument for the backend.
23487 Pass the backend to vc-state and vc-working-revision. Move code for
23488 special handling for vc-state being a buffer to ...
23490 * vc-rcs.el (vc-rcs-find-file-hook):
23491 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
23493 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
23494 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
23495 vc-stay-local-p and vc-mode-line calls.
23497 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
23498 (vc-cvs-diff, vc-cvs-annotate-command)
23499 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
23500 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
23501 vc-mode-line calls.
23503 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
23505 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
23506 backend when calling vc-mode-line.
23507 (vc-register): Do not create a closure for calling the vc register
23508 function, call it directly.
23510 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23512 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
23513 to make it obvious item can be clicked.
23515 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
23517 2009-06-23 Kenichi Handa <handa@m17n.org>
23519 * language/korea-util.el (korean-key-bindings): Change the binding
23520 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
23523 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
23525 Sync with Tramp 2.1.16.
23527 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
23529 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
23530 when a loading of a package fails. Completion function for rsync
23531 is `tramp-completion-function-alist-ssh'.
23532 (all): Replace all calls of `split-string' and
23533 `tramp-split-string' by `tramp-compat-split-string'.
23534 (tramp-default-method): Use `tramp-compat-process-running-p'.
23535 (tramp-default-proxies-alist): Allow also Lisp forms.
23536 (tramp-remote-path): Add choice "Private Directories".
23537 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
23538 (tramp-domain-regexp): Allow also "-", "_" and ".".
23539 (tramp-end-of-output): Remove newlines, and add "$" at the end.
23540 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
23541 (tramp-debug-message): Insert header line in debug buffer.
23542 (tramp-handle-directory-files-and-attributes-with-stat):
23543 Care about filenames with spaces, or starting with "-".
23544 (tramp-handle-dired-uncache): New defun.
23545 (tramp-handle-insert-directory): Don't flush the directory from
23546 cache, this is handled by `dired-uncache' now.
23547 (tramp-handle-insert-file-contents): Improve error handling.
23548 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
23549 Quote `tramp-end-of-output'.
23550 (tramp-action-password): Improve trace message.
23551 (tramp-check-for-regexp): Both echoes must be present, before removing.
23552 (tramp-open-connection-setup-interactive-shell): Trace coding system.
23553 (tramp-compute-multi-hops): Eval cons cells of
23554 `tramp-default-proxies-alist'.
23555 (tramp-maybe-open-connection): Use the same command pattern for
23556 first hop and further hops.
23557 (tramp-wait-for-output): Remove handling of newlines.
23558 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
23559 (tramp-split-string): Remove function. It is handled in
23562 * net/tramp-cmds.el (tramp-bug):
23563 Recommend `tramp-cleanup-all-connections' in the bug mail.
23565 * net/tramp-compat.el (tramp-compat-split-string)
23566 (tramp-compat-process-running-p): New defuns.
23568 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
23569 for `dired-uncache'.
23571 * net/tramp-gvfs.el: New package.
23573 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
23574 Add handler for `dired-uncache'.
23575 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
23577 * net/trampver.el: Update release number. Make version check fit
23580 2009-06-22 Jim Meyering <meyering@redhat.com>
23582 Automatically handle .xz suffix (XZ-compressed files), too.
23583 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
23584 XZ is the successor to LZMA: <http://tukaani.org/xz/>
23586 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
23587 Nick Roberts <nickrob@snap.net.nz>
23589 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
23590 repository (http://sphinx.net.ru/hg/gdb-mi/).
23592 2009-06-22 Glenn Morris <rgm@gnu.org>
23594 * files.el (dir-locals-collect-mode-variables): Allow for any number of
23595 `mode' and `eval' entries. (Bug#3430)
23597 * Makefile.in (ELCFILES): Add fadr.elc.
23599 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
23600 differing behavior of \n and ^ in strings. (Bug#3385)
23602 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
23604 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
23606 (lisp-indent-function): Make it a defcustom.
23608 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
23610 * progmodes/gdb-ui.el: Replace with ...
23611 * progmodes/gdb-mi.el: ... this file.
23612 * progmodes/gud.el: Modify for gdb-mi.el.
23614 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
23616 * fadr.el: New file.
23618 See ChangeLog.14 for earlier changes.
23620 ;; Local Variables:
23624 Copyright (C) 2009-2011 Free Software Foundation, Inc.
23626 This file is part of GNU Emacs.
23628 GNU Emacs is free software: you can redistribute it and/or modify
23629 it under the terms of the GNU General Public License as published by
23630 the Free Software Foundation, either version 3 of the License, or
23631 (at your option) any later version.
23633 GNU Emacs is distributed in the hope that it will be useful,
23634 but WITHOUT ANY WARRANTY; without even the implied warranty of
23635 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23636 GNU General Public License for more details.
23638 You should have received a copy of the GNU General Public License
23639 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.