1 2011-04-05 Deniz Dogan <deniz@dogan.se>
3 * net/rcirc.el: Update my e-mail address.
4 (rcirc-mode-map): Remove M-o binding.
6 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
8 * startup.el (command-line): Save the cursor's theme-face
9 directly, instead of using face-override-spec.
11 * custom.el (load-theme): Minor optimization in assigning faces.
13 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
15 * help-fns.el (describe-variable): Complete all variables having
16 documentation, including keywords.
17 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
21 Convert to lexical-binding.
23 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
24 (bs--get-marked-string, bs--get-modified-string)
25 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
26 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
27 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
29 * ehelp.el (electric-help-execute-extended)
30 (electric-help-ctrl-x-prefix):
31 * hexl.el (hexl-revert-buffer-function):
32 * linum.el (linum-after-change, linum-after-scroll):
33 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
35 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
37 2011-04-04 Daiki Ueno <ueno@unixuser.org>
44 * epg.el: Use lexical binding.
46 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
48 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
50 * textmodes/flyspell.el (flyspell-word): Recognize default
51 dictionary case for flyspell-mark-duplications-exceptions. Use
52 regexp matching for languages.
53 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
54 default dictionary (Bug#7926).
56 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
58 * emacs-lisp/package.el (package--with-work-buffer): Recognize
61 * net/network-stream.el: Move from gnus/proto-stream.el. Change
62 prefix to network-stream throughout.
63 (open-protocol-stream): Merge into open-network-stream, leaving
64 open-protocol-stream as an alias. Handle nil BUFFER args.
66 * subr.el (open-network-stream): Move to net/network-stream.el.
68 2011-04-02 Glenn Morris <rgm@gnu.org>
70 * find-dired.el (find-exec-terminator): New option.
71 (find-ls-option): Test for -ls support.
72 (find-ls-subdir-switches): Test for -b in find-ls-option.
73 (find-dired, find-grep-dired): Doc fixes.
74 (find-dired): Use find-exec-terminator.
76 * find-dired.el (find-ls-option, find-ls-subdir-switches)
77 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
78 (find-name-arg): Remove purecopy.
80 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
81 (grep-compute-defaults): Check for `-exec COMMAND +' support.
82 Set grep-find-use-xargs, grep-find-command, and grep-find-template
83 accordingly. Don't add the null-device if not needed.
85 * files.el (save-some-buffers): Doc fix.
87 2011-04-02 Eli Zaretskii <eliz@gnu.org>
89 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
91 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
93 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
94 Use `dolist' rather than `mapcar'.
96 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
100 * subr.el (apply-partially): Use new closures rather than CL.
101 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
102 (dolist, dotimes): Use slightly different expansion for lexical code.
103 (functionp): Move to C.
105 (with-wrapper-hook): Use it and apply-partially instead of CL.
106 (eval-after-load): Preserve lexical-binding.
107 (save-window-excursion, with-output-to-temp-buffer): Turn them
110 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
112 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
114 (help-add-fundoc-usage): Don't add `Not documented'.
115 (help-function-arglist): Handle closures, subroutines, and new
117 (help-make-usage): Remove leading underscores.
118 (describe-function-1): Handle closures.
119 (describe-variable): Use special-variable-p for completion.
121 * files.el (lexical-binding): Declare safe.
123 * emacs-lisp/pcase.el: Don't use destructuring-bind.
124 (pcase--memoize): Rename from pcase-memoize. Change weakness.
125 (pcase): Add `let' pattern.
126 Change memoization so it actually works.
127 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
128 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
131 * emacs-lisp/macroexp.el: Use lexical binding.
132 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
133 Don't convert ' to #' without checking that it's indeed quoting
136 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
137 Use eval-sexp-add-defvars.
138 (eval-sexp-add-defvars): New fun.
140 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
142 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
144 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
145 than the internal `byte-compile-lambda'.
146 (defmethod): Don't hide code under quotes.
147 (eieio-defmethod): New `code' argument.
149 * emacs-lisp/eieio-comp.el: Remove.
151 * emacs-lisp/edebug.el (edebug-eval-defun)
152 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
153 (edebug-toggle): Avoid `eval'.
155 * emacs-lisp/disass.el (disassemble-internal): Handle new
157 (disassemble-1): Handle new byte codes.
159 * emacs-lisp/cl.el (pushnew): Silence warning.
161 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
162 (cl-byte-compile-throw): Remove.
163 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
165 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
168 * emacs-lisp/cconv.el: New file.
170 * emacs-lisp/bytecomp.el: Use lexical binding instead of
171 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
172 (byte-compile-initial-macro-environment):
173 Handle declare-function here.
174 (byte-compile--lexical-environment): New var.
175 (byte-stack-ref, byte-stack-set, byte-discardN)
176 (byte-discardN-preserve-tos): New lap codes.
177 (byte-interactive-p): Don't use any more.
178 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
180 (byte-compile-lapcode): Use them and handle new lap codes.
181 (byte-compile-obsolete): Remove.
182 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
183 (byte-compile-arglist-warn): Check late def of inlinable funs.
184 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
185 since they should have been expanded by now.
186 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
187 (byte-compile-from-buffer): Remove unused second arg.
188 (byte-compile-preprocess): New function.
189 (byte-compile-toplevel-file-form): New function to distinguish
190 file-form calls from outside from file-form calls from hunk-handlers.
191 (byte-compile-file-form): Simplify.
192 (byte-compile-file-form-defsubst): Remove.
193 (byte-compile-file-form-defmumble): Simplify now that
194 byte-compile-lambda always returns a byte-code-function.
195 (byte-compile): Preprocess.
196 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
197 Remove, not used any more.
198 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
199 (byte-compile-make-args-desc): New funs.
200 (byte-compile-lambda): Handle lexical functions. Always return
201 a byte-code-function.
202 (byte-compile-reserved-constants): New var, to make up room for
203 closed-over variables.
204 (byte-compile-constants-vector): Obey it.
205 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
206 (byte-compile-macroexpand-declare-function): New function.
207 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
209 (byte-compile-form): Check obsolescence here.
210 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
211 (byte-compile-variable-ref): Remove.
212 (byte-compile-dynamic-variable-op): New fun.
213 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
214 (byte-compile-variable-set): New funs.
215 (byte-compile-discard): Add 2 args.
216 (byte-compile-stack-ref, byte-compile-stack-set)
217 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
218 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
219 macroexpand-all instead.
220 (byte-compile-quote-form): Remove.
221 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
222 (byte-compile-bind, byte-compile-unbind): New funs.
223 (byte-compile-let): Handle let* and lexical binding.
224 (byte-compile-let*): Remove.
225 (byte-compile-catch, byte-compile-unwind-protect)
226 (byte-compile-track-mouse, byte-compile-condition-case):
227 Handle a new :fun-body form, used for lexical scoping.
228 (byte-compile-save-window-excursion)
229 (byte-compile-with-output-to-temp-buffer): Remove.
230 (byte-compile-defun): Simplify.
231 (byte-compile-stack-adjustment): New fun.
232 (byte-compile-out): Use it.
233 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
235 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
238 * emacs-lisp/byte-opt.el: Use lexical binding.
239 (byte-inline-lapcode): Remove (to bytecomp).
240 (byte-compile-inline-expand): Pay attention to inlining to/from
241 lexically bound code.
242 (byte-compile-unfold-lambda): Don't handle byte-code-functions
244 (byte-optimize-form-code-walker): Don't handle save-window-excursion
245 any more and don't call compiler-macros.
246 (byte-compile-splice-in-already-compiled-code): Remove.
247 (byte-code): Don't inline any more.
248 (disassemble-offset): Receive `bytes' as argument rather than via
250 (byte-compile-tag-number): Declare before first use.
251 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
252 `return' even if make-spliceable.
253 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
254 obsolete interactive-p.
255 (byte-optimize-lapcode): Optimize new lap-codes.
256 Don't trip up on new form of `byte-constant' lap code.
258 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
260 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
262 * custom.el (custom-initialize-default, custom-declare-variable):
265 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
267 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
268 (COMPILE_FIRST): Add macroexp and cconv.
269 * makefile.w32-in: Mirror changes in Makefile.in.
276 * textmodes/bibtex-style.el:
285 * emacs-lisp/smie.el:
288 * abbrev.el: Use lexical binding.
290 2011-04-01 Eli Zaretskii <eliz@gnu.org>
292 * info.el (info-display-manual): New function.
294 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
296 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
298 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
300 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
301 an entry for that server in rcirc-authinfo. (Bug#8385)
303 2011-03-31 Glenn Morris <rgm@gnu.org>
305 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
307 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
309 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
311 * progmodes/python.el (python-default-interpreter)
312 (python-python-command-args, python-jython-command-args)
313 (python-which-shell, python-which-args, python-which-bufname)
314 (python-file-queue, python-comint-output-filter-function)
315 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
316 variables and functions.
318 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
320 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
321 (completion-in-region-mode): New minor mode.
322 (completion-in-region): Use it.
323 (completion-in-region--data, completion-in-region-mode-map): New vars.
324 (completion-in-region--postch): New function.
325 (completion--capf-misbehave-funs, completion--capf-safe-funs):
327 (completion--capf-wrapper): New function.
328 (completion-at-point): Use it to track well-behavedness of
330 (completion-help-at-point): New command.
332 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
334 * vc/add-log.el (add-change-log-entry): Don't use whitespace
335 syntax class to search for whitespace on a single line
336 (Message-ID: <4D938140.4030905@redhat.com>).
338 2011-03-30 Leo Liu <sdl.web@gmail.com>
340 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
342 (edit-abbrevs-map): Bind them here.
343 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
345 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
347 * allout.el (allout-hide-by-annotation, allout-flag-region):
348 Reduce possibility of overlay leakage by making them volatile.
350 * allout-widgets.el (allout-widgets-tally): Define as nil so the
351 hash is not shared between buffers. Mode initialization is
352 responsible for giving it a useful starting value.
353 (allout-item-span): Reduce possibility of overlay leakage by
354 making them volatile.
355 (allout-widgets-count-buttons-in-region): Add diagnostic function
356 for tracking down button overlay leaks.
358 2011-03-29 Leo Liu <sdl.web@gmail.com>
360 * ido.el (ido-read-internal): Use the default history var
361 minibuffer-history if no HISTORY is specified.
363 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
365 * net/imap.el (imap-shell-open, imap-process-connection-type):
366 Use imap-process-connection-type for 'shell' streams as well as
367 Kerberos, SSL, other subprocesses.
369 2011-03-28 Leo Liu <sdl.web@gmail.com>
371 * abbrev.el (abbrev-table-empty-p): New function.
372 (prepare-abbrev-list-buffer): Place empty abbrev tables after
373 nonempty ones. (Bug#5937)
375 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
377 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
379 2011-03-27 Leo Liu <sdl.web@gmail.com>
381 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
382 for foreground and background colors.
383 (ansi-color-make-color-map): Adapt.
385 2011-03-25 Leo Liu <sdl.web@gmail.com>
387 * midnight.el (midnight-time-float): Remove. Note it calculates
388 the microsecond component incorrectly and seconds-to-time does the
390 Remove redundant (require 'timer).
392 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
393 (ido-completions): Remove unused arguments. (Bug#8329)
395 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
397 * minibuffer.el (completion--flush-all-sorted-completions):
398 Remove itself from hook.
399 (completion-at-point): Let the functions perform the completion
400 immediately and return nil or t.
401 * comint.el (comint-dynamic-complete-functions): Now identical to
402 completion-at-point-functions.
403 (comint-dynamic-list-input-ring): Remove unused var `index'.
404 (comint--match-partial-filename, comint--unquote&expand-filename):
405 New funs, split from comint-match-partial-filename.
406 (comint-dynamic-complete): Use completion-at-point.
407 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
409 2011-03-24 Drew Adams <drew.adams@oracle.com>
411 * thingatpt.el: Support `defun'.
413 2011-03-23 Leo Liu <sdl.web@gmail.com>
415 * abbrevlist.el: Move to obsolete/abbrevlist.el.
417 * help-mode.el (help-mode-finish): Tweak regexp.
419 2011-03-23 Glenn Morris <rgm@gnu.org>
421 * eshell/esh-opt.el (eshell-eval-using-options):
422 Do not bind unused local variable `eshell-option-stub'.
424 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
426 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
428 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
429 keymap variable in `with-no-warnings' to avoid a warning when the
430 keymap has been already `defconst'ed.
432 2011-03-22 Leo Liu <sdl.web@gmail.com>
434 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
435 encode all chars in abbrevs; otherwise use emacs-mule or
436 utf-8-emacs. (Bug#8308)
438 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
440 * simple.el (backward-delete-char-untabify):
441 Avoid warning about using `delete-backward-char'.
443 * image.el (image-type-file-name-regexps): Make it variable.
444 `imagemagick-register-types' modifies it, and the user may want
445 to add new extensions for known image types.
446 (imagemagick-register-types): Throw error if not using ImageMagick.
448 2011-03-22 Leo Liu <sdl.web@gmail.com>
450 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
451 located before rcirc-prompt-end-marker.
452 (rcirc-complete): Error if point is not after rcirc prompt.
453 Handle the case when table is nil.
454 (rcirc-user-authenticated): Define to fix compiler warning.
456 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
458 * custom.el (custom--inhibit-theme-enable): Make it affect only
459 custom-theme-set-variables and custom-theme-set-faces.
460 (provide-theme): Ignore custom--inhibit-theme-enable.
461 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
462 (custom-enabling-themes): Delete variable.
463 (enable-theme): Accept only loaded themes as arguments.
464 Ignore the special custom-enabled-themes variable.
465 (custom-enabled-themes): Forbid themes from setting this.
466 Eliminate use of custom-enabling-themes.
467 (custom-push-theme): Quote "changed" custom var entry.
469 2011-03-21 Leo Liu <sdl.web@gmail.com>
471 * ido.el (ido-read-internal): Add ido-selected to history instead
474 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
476 * subr.el (deferred-action-list, deferred-action-function):
479 2011-03-21 Leo Liu <sdl.web@gmail.com>
481 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
482 change on 2011-02-13 (bug#8309).
484 * minibuffer.el (read-file-name-function): Change default value.
485 (read-file-name--defaults): Rename from read-file-name-defaults.
486 (read-file-name-default): Rename from read-file-name.
487 (read-file-name): Call read-file-name-function.
489 2011-03-21 Glenn Morris <rgm@gnu.org>
491 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
494 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
496 * cus-theme.el: Add missing provide statement.
497 (customize-create-theme): Extract theme value correctly.
498 (custom-theme-visit-theme): Autoload.
499 (customize-create-theme): Prompt before inserting default faces.
501 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
503 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
504 units and musical notes.
506 2011-03-20 Leo <sdl.web@gmail.com>
508 * ido.el (ido-read-internal): Use completing-read-default.
509 (ido-completing-read): Fix compatibility with completing-read.
511 2011-03-20 Christian Ohler <ohler@gnu.org>
513 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
514 (ert-delete-all-tests): Use `called-interactively-p' rather than
516 (ert--make-xrefs-region): Respect END.
518 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
520 * dired-aux.el (dired-create-directory): Signal an error if the
521 directory already exists (Bug#8246).
523 * facemenu.el (list-colors-display): Call list-faces-display
524 inside with-help-window.
525 (list-colors-print): Use display property to align the final
526 column, instead of checking window-width.
528 2011-03-19 Eli Zaretskii <eliz@gnu.org>
530 * emerge.el (emerge-metachars): Separate value for ms-dos and
532 (emerge-protect-metachars): Quote correctly for ms-dos and
535 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
537 * info.el (info-initialize): Replace all uses of `:' with
538 path-separator for compatibility with non-Unix systems.
539 Cache quoting of path-separator. (Bug#8258)
541 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
543 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
544 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
545 (mouse-avoidance-mode): Fix typos in docstrings.
547 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
549 * startup.el (package-subdirectory-regexp): Move from package.el.
550 Omit \\` and \\', and let callers add them.
552 * emacs-lisp/package.el (package-strip-version)
553 (package-load-all-descriptors): Add \\` and \\' to
554 package-subdirectory-regexp before using it.
555 (package-untar-buffer): New arg DIR; ensure that file untars only
556 into this expected directory. Remove superfluous delete-region.
557 (package-unpack): Caller changed.
558 (package-tar-file-info): Use package-subdirectory-regexp.
560 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
562 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
563 diff-mode-shared-map (bug#8284).
564 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
566 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
568 * calendar/time-date.el (format-seconds): Use assoc instead of
569 assoc-string, since assoc-string doesn't exist in XEmacs.
571 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
573 * custom.el (custom-known-themes): Reflow docstring.
574 (custom-theme-load-path): Fix typo in docstring.
575 (load-theme): Fix typo in error message.
576 (custom-available-themes, custom-variable-theme-value):
577 Use `let', not `let*'.
579 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
581 * calc/README: Mention inclusion of musical notes.
583 * calc/calc-units.el (calc-lu-quant): Rename from
584 `calc-logunits-quantity'.
585 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
586 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
587 (calc-db): Rename from `calc-dblevel'.
588 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
589 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
590 (calc-np): Rename from `calc-nplevel'.
591 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
592 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
593 (calc-lu-plus): Rename from `calc-logunits-add'.
594 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
595 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
596 (calc-lu-minus): Rename from `calc-logunits-sub'.
597 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
598 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
599 (calc-lu-times): Rename from `calc-logunits-mul'.
600 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
601 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
602 (calc-lu-divide): Rename from `calc-logunits-div'.
603 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
604 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
606 * calc/calc-ext.el (calc-init-extensions): Update the names of the
607 functions being autoloaded.
609 * calc/calc.el (calc-lu-power-reference): Rename from
610 `calc-logunits-power-reference'.
611 (calc-lu-field-reference): Rename from
612 `calc-logunits-field-reference'.
614 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
616 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
618 * minibuffer.el (completion-all-sorted-completions):
619 Use :completion-cycle-penalty text property if present.
621 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
623 * allout.el (allout-yank-processing): Adjust for new rebulleting
624 regime so bullet being yanked is used without prompting the user
627 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
629 * startup.el (command-line): Warn the user that _emacs is deprecated.
631 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
633 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
634 (delphi-verbose, delphi-comment-face, delphi-string-face)
635 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
636 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
637 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
638 (delphi-new-comment-line, delphi-font-lock-defaults)
639 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
640 Fix typos in docstrings.
642 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
644 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
645 Invert the roles of character and string values for INSTEAD, so a
646 string is used for the more common case of a defaulting prompt.
648 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
650 * progmodes/ruby-mode.el (ruby-backward-sexp):
651 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
652 * play/gamegrid.el (gamegrid-make-face):
653 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
654 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
655 * notifications.el (notifications-notify):
656 * net/xesam.el (xesam-search-engines):
657 * net/quickurl.el (quickurl-list-insert):
658 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
660 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
662 * startup.el (command-line): Update package subdirectory regexp.
664 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
666 * allout.el (allout-abbreviate-flattened-numbering)
667 (allout-mode-deactivate-hook): Fix up obsolescence "date".
669 * subr.el (read-char-choice): Only show the cursor after the prompt,
670 not after the answer.
672 2011-03-15 Kevin Ryde <user42@zip.com.au>
674 * help-fns.el (variable-at-point): Skip leading quotes, if any
677 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
679 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
682 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
684 * shell.el (shell): When called interactively, offer to change the
685 shell file name on remote hosts.
687 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
689 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
690 integration for LDAP parameters. The host, base, user or binddn,
691 and secret tokens can be specified in a netrc file, for instance.
692 This is optional because an `auth-source' parameter must be
693 specified in the search attributes.
695 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
697 * help.el (describe-mode): Link to the mode's definition (bug#8185).
699 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
701 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
702 into declaration. Remove redundant and harmful binding.
704 2011-03-12 Eli Zaretskii <eliz@gnu.org>
706 * files.el (file-ownership-preserved-p): Pass `integer' as an
707 explicit 2nd argument to `file-attributes'. If the file's owner
708 is the Administrators group on Windows, and the current user is
709 Administrator, consider that a match.
711 * server.el (server-ensure-safe-dir): Consider server directory
712 safe on MS-Windows if its owner is the Administrators group while
713 the current Emacs user is Administrator. Use `=' to compare
714 numerical UIDs, since they could be integers or floats.
716 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
718 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
720 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
722 Sync with Tramp 2.2.1.
724 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
726 * net/trampver.el: Update release number.
728 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
730 * progmodes/compile.el (compilation--previous-directory): Fix up
731 various nil/dead-marker mismatches (bug#8014).
732 (compilation-directory-properties, compilation-error-properties):
733 Don't call it at a position past the one we're about to change.
735 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
736 Disable obsolescence warnings in the file that declares it.
738 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
740 * allout-widgets.el (allout-widgets-tally): Initialize
741 allout-widgets-tally as a hash table rather than nil to prevent
742 mode-line redisplay warnings.
743 Also, clarify the module description and fix a comment typo.
745 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
747 * help-fns.el (describe-variable): Don't complete keywords.
748 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
750 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
752 * emacs-lisp/package.el (package-version-join): Impose a standard
753 string representation for pre/alpha/beta version lists.
754 (package-unpack-single): Standardize the directory name by passing
755 it through package-version-join.
756 (package-strip-rcs-id): Accept any version string that does not
757 signal an error in version-to-list.
759 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
761 * simple.el (delete-trailing-whitespace): Return nil for the
762 benefit of `write-file-functions'.
764 2011-03-10 Glenn Morris <rgm@gnu.org>
766 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
768 * vc/vc-git.el (vc-git-program): New option.
769 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
770 (vc-git--call): Use it.
772 * eshell/esh-util.el (eshell-condition-case): Doc fix.
774 * cus-edit.el (Custom-newline): If no button at point, look
775 for a subgroup button at start-of-line. (Bug#2298)
777 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
779 2011-03-10 Julien Danjou <julien@danjou.info>
781 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
782 `cursor-type' is nil.
784 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
786 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
788 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
790 * allout.el Summary: Change so yank of distinctive-bullet items
791 preserves the existing header prefix, rebulleting it if necessary,
792 rather than replacing it. This is necessary for proper operation
793 of cooperative addons like allout-widgets.
794 (allout-make-topic-prefix, allout-rebullet-heading): Change
795 SOLICIT arg to INSTEAD, and interpret additionally a string value
796 as alternate bullet to be used, instead of prompting the user for
799 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
801 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
802 Do not use `tramp-file-name-port', because this returns also
803 `tramp-default-port'.
805 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
807 * net/rcirc.el (rcirc-handler-001): Remove useless
808 with-rcirc-process-buffer.
809 (rcirc-check-auth-status): Swap arguments to string-match.
811 2011-03-09 Glenn Morris <rgm@gnu.org>
813 * shell.el (shell-mode):
814 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
816 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
817 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
819 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
821 * emacs-lisp/package.el (package-refresh-contents)
822 (package-menu-execute): Use condition-case-no-debug.
824 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
826 * simple.el (shell-command-to-string): Use `process-file'.
828 * emacs-lisp/package.el (package-tar-file-info): Handle also
831 * emacs-lisp/package-x.el (package-upload-buffer-internal):
832 Use `equal' for upload base check.
834 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
836 * textmodes/texinfo.el (texinfo-environments):
837 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
839 2011-03-08 Glenn Morris <rgm@gnu.org>
841 * cus-start.el (cursor-in-non-selected-windows):
842 Fix :set quoting oddness. (Bug#8192)
844 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
845 in some setf expressions. (Bug#2159)
847 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
849 * custom.el (custom-available-themes): Return themes in
852 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
854 * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
855 application of patch from Alan Mackenzie (Bug#7595).
857 2011-03-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
859 * net/rcirc.el (rcirc-connect): Fix PASS bug.
861 2011-03-07 Glenn Morris <rgm@gnu.org>
863 * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
864 Give an explicit error if failed to make writable. (Bug#6146)
866 2011-03-07 Ed Reingold <reingold@emr.cs.iit.edu>
868 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
869 Add optional `after-sunset' argument. (Bug#8190)
871 2011-03-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
873 * play/morse.el (nato-alphabet, nato-region, denato-region):
874 New variable and functions. (Bug#2288)
875 (morse-region, unmorse-region): Barf if read-only.
877 2011-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
879 * progmodes/gud.el (gdb-script-syntax-propertize-function):
880 Don't change the syntax of a \n that closes a comment (bug#8169).
882 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
884 * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
886 (package--update-file): Doc fix. Accept relative file names.
887 (package--archive-contents-from-file): Remove the argument, since
888 it's necessarily always "archive-contents".
889 (package-maint-add-news-item): Pass relative file name args to
890 package--update-file.
891 (package-upload-buffer-internal): Prompt for a destination if
892 package-archive-upload-base is invalid. Create the directory if
894 (package-upload-buffer, package-upload-file): Doc fix.
896 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
898 * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
899 and move isearch-yank-line to M-s C-e (Bug#8183).
901 2011-03-06 Alan Mackenzie <acm@muc.de>
903 * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
904 (c-guess-basic-syntax): Move CASE 19 to a different place,
905 correctly to process template-args-cont lines.
907 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
909 * calc/calc-ext.el (calc-init-extensions):
910 Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
911 and calc-nplevel, respectively. Add keybindings for calc-spn,
912 calc-midi and calc-freq. Add autoloads for calcFunc-spn,
913 calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
915 * calc/calc-units.el (calc-dblevel): Rename from
916 calc-logunits-dblevel.
917 (calc-nplevel): Rename from calc-logunits-nplevel.
918 (math-midi-round, math-freqp, math-midip, math-spnp)
919 (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
920 (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
921 (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
922 (math-notes): New variable.
924 * calc/calc.el (calc-note-threshold): New variable.
926 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
928 * emacs-lisp/package.el (package-archives): Accept either ordinary
929 directory names, in addition to HTTP URLs.
930 (package--with-work-buffer): New macro. Handle normal directories.
931 (package-handle-response): Don't display the failing buffer.
932 (package-download-single, package-download-tar)
933 (package--download-one-archive): Use package--with-work-buffer.
934 (package-archive-base): Rename from package-archive-url.
936 2011-03-06 Glenn Morris <rgm@gnu.org>
938 * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
939 (xmodmap-generic-mode): Respect generic-extras-enable-list.
941 2011-03-06 Daniel Clemente <dcl441-bugs@yahoo.com> (tiny change)
943 * generic-x.el (xmodmap-generic-mode): New. (Bug#2065)
945 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
947 * allout.el (allout-init, allout-prefixed-keybindings)
948 (allout-unprefixed-keybindings):
949 * progmodes/prolog.el (prolog-find-term):
950 Fix typos in docstrings.
952 2011-03-06 Nikolaj Schumacher <me@nschum.de> (tiny change)
954 * emacs-lisp/elp.el (elp-results): Fix off-by-one in header. (Bug#2746)
956 2011-03-06 Kevin Ryde <user42@zip.com.au>
958 * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc. (Bug#5326)
960 2011-03-06 Michael Shields <shields@msrl.com> (tiny change)
962 * window.el (one-window-p, walk-windows, display-buffer):
963 Doc fixes. (Bug#5567)
965 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
967 * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
968 of the variable if it exists.
970 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
977 * net/tramp-cache.el:
978 * obsolete/fast-lock.el:
979 * textmodes/reftex.el:
980 Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
982 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
984 * files.el (delete-directory, copy-directory, list-directory):
985 Use read-directory-name.
987 * find-file.el (ff-find-the-other-file):
988 * net/ange-ftp.el (ange-ftp-make-directory):
989 * printing.el (pr-interactive-dir):
990 * progmodes/ada-prj.el (ada-prj-load-directory):
991 * progmodes/ebnf2ps.el (ebnf-print-directory)
992 (ebnf-spool-directory, ebnf-eps-directory)
993 (ebnf-syntax-directory):
995 * speedbar.el (speedbar-create-directory):
996 * vc/emerge.el (emerge-merge-directories):
997 * vc/vc-dir.el (vc-dir):
998 * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
1000 2011-03-05 Chong Yidong <cyd@stupidchicken.com>
1002 * help-mode.el (help-buffer): If we are to return the current
1003 buffer, signal an error if it's not in Help mode (Bug#8147).
1005 2011-03-05 Reuben Thomas <rrt@sc3d.org>
1007 * files.el (file-name-version-regexp): Handle backup files of the
1008 form `foo.js.~HEAD~1~' (Bug#8159).
1010 2011-03-05 Glenn Morris <rgm@gnu.org>
1012 * eshell/esh-var.el: Don't require esh-test when compiling.
1013 * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
1014 * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
1015 * eshell/esh-test.el: Move to ../../test/eshell.el.
1017 2011-03-05 David Engster <deng@randomsample.de>
1019 * files.el (save-some-buffers): Report the names of buffers saved
1020 automatically due to buffer-save-without-query (Bug#8134).
1022 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1024 * net/rcirc.el: Add QuakeNet authentication support.
1025 (rcirc-authinfo, rcirc-check-auth-status)
1026 (rcirc-authenticate): Support QuakeNet.
1028 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1030 * net/rcirc.el: Add functionality to authenticate before
1031 autojoining channels.
1032 (rcirc-authenticate-before-join): New option.
1033 (rcirc-authenticated-hook): New variable.
1034 (rcirc-connect): Make local variable rcirc-user-authenticated.
1035 (rcirc-handler-001): Respect rcirc-authenticate-before-join.
1036 (rcirc-check-auth-status, rcirc-join-channels-post-auth):
1038 (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
1039 Call rcirc-check-auth-status.
1041 2011-03-05 Alex Harsanyi <AlexHarsanyi@gmail.com>
1043 * net/soap-client.el (soap-namespace-put-link): Check if the target
1044 name is fully qualified -- use only the name part.
1045 (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
1046 types, treated the same as xsd:sequence. (Bug#8166)
1048 2011-03-05 Eli Zaretskii <eliz@gnu.org>
1050 * files.el (find-file-noselect): Don't ask about re-visiting
1051 non-literally if the file is already visited in image-mode.
1054 2011-03-05 Glenn Morris <rgm@gnu.org>
1056 * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
1057 (eshell-mode): Use eshell-kill-buffer-function.
1058 Run the -initialize functions independently of the -load-hooks.
1059 * eshell/esh-proc.el (eshell-kill-process-function): New function.
1060 (eshell-gather-process-output, eshell-sentinel)
1061 (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
1062 Use eshell-kill-process-function.
1063 * eshell/em-alias.el (eshell-alias-load-hook):
1064 * eshell/em-banner.el (eshell-banner-load-hook):
1065 * eshell/em-cmpl.el (eshell-cmpl-load-hook):
1066 * eshell/em-dirs.el (eshell-dirs-load-hook):
1067 * eshell/em-glob.el (eshell-glob-load-hook):
1068 * eshell/em-hist.el (eshell-hist-load-hook):
1069 * eshell/em-pred.el (eshell-pred-load-hook):
1070 * eshell/em-prompt.el (eshell-prompt-load-hook):
1071 * eshell/em-rebind.el (eshell-rebind-load-hook):
1072 * eshell/em-script.el (eshell-script-load-hook):
1073 * eshell/em-smart.el (eshell-smart-load-hook):
1074 * eshell/em-term.el (eshell-term-load-hook):
1075 * eshell/em-unix.el (eshell-unix-load-hook):
1076 * eshell/esh-arg.el (eshell-arg-load-hook):
1077 * eshell/esh-cmd.el (eshell-cmd-load-hook):
1078 * eshell/esh-ext.el (eshell-ext-load-hook):
1079 * eshell/esh-io.el (eshell-io-load-hook):
1080 * eshell/esh-mode.el (eshell-exit-hook):
1081 * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
1082 * eshell/esh-var.el (eshell-var-load-hook):
1083 Set default hook values to nil. (Bug#5375)
1085 * eshell/esh-module.el (eshell-module-unload-hook)
1086 (eshell-modules-list): Remove leading * from defcustom docs.
1088 * eshell/esh-util.el (eshell-for): Make it obsolete.
1089 * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
1090 * eshell/em-dirs.el (eshell-save-some-last-dir):
1091 * eshell/em-hist.el (eshell-save-some-history)
1092 (eshell-hist-parse-modifier):
1093 * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
1094 (eshell-ls-entries):
1095 * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
1096 * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
1098 * eshell/esh-ext.el (eshell-find-interpreter):
1099 * eshell/esh-mode.el (eshell-mode):
1100 * eshell/esh-module.el (eshell-unload-extension-modules):
1101 * eshell/esh-proc.el (eshell-process-interact):
1102 * eshell/esh-test.el (eshell-test):
1103 * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
1104 * eshell/esh-var.el (eshell/env, eshell-environment-variables)
1105 (eshell-variables-list):
1106 * eshell/eshell.el (eshell-unload-all-modules):
1107 Replace eshell-for with dolist.
1109 2011-03-04 Glenn Morris <rgm@gnu.org>
1111 * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0. (Bug#8170)
1113 2011-03-04 Tom Tromey <tromey@redhat.com>
1115 * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
1117 2011-03-04 Glenn Morris <rgm@gnu.org>
1119 * outline.el (outline-regexp): No longer allow nil.
1120 (outline-heading-end-regexp): Add safety predicate. (Bug#7619)
1122 * net/browse-url.el (browse-url):
1123 Handle deleted default-directory. (Bug#6077)
1125 * recentf.el (recentf-include-p): In case of a buggy predicate,
1126 err on the side of including, not excluding. (Bug#5843)
1128 2011-03-04 Jay Belanger <jay.p.belanger@gmail.com>
1130 * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
1133 2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
1135 * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
1136 if there is no node. (Bug#3261)
1138 2011-03-04 Leo <sdl.web@gmail.com>
1140 * vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
1142 * time.el (display-time-world-list): Fix typo. (Bug#7571)
1144 2011-03-04 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
1146 * cus-edit.el (custom-buffer-create-internal):
1147 Split search string before passing it to `customize-apropos' (bug#8136).
1149 2011-03-04 Drew Adams <drew.adams@oracle.com>
1151 * image-dired.el (image-dired-cmd-read-exif-data-options):
1152 Fix typo in docstring (bug#8156).
1154 2011-03-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1156 * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
1158 2011-03-03 Christian Ohler <ohler@gnu.org>
1160 * emacs-lisp/ert.el (ert--explain-equal): New function.
1161 (ert--explain-equal-rec): Rename from `ert--explain-not-equal'.
1162 All callers changed.
1163 (ert--explain-equal-including-properties): Rename from
1164 `ert--explain-not-equal-including-properties'. All callers
1167 2011-03-03 Christian Ohler <ohler@gnu.org>
1169 * emacs-lisp/ert.el (ert--stats-set-test-and-result)
1170 (ert-char-for-test-result, ert-string-for-test-result)
1171 (ert-run-tests-batch, ert--print-test-for-ewoc):
1172 Handle `ert-test-quit'.
1174 2011-03-03 David Abrahams <dave@boostpro.com> (tiny change)
1176 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1177 Move ediff-defvar-local calls after defcustoms. (Bug#1821)
1179 2011-03-03 Glenn Morris <rgm@gnu.org>
1181 * files.el (file-truename): Doc fix. (Bug#2341)
1183 2011-03-03 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1185 * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
1187 2011-03-03 Vagn Johansen <gonz808@hotmail.com> (tiny change)
1189 * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
1190 programs output backslashes. (Bug#7663)
1192 2011-03-03 Glenn Morris <rgm@gnu.org>
1194 * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
1195 (mail-mode): Remove mail-sent-via from the doc.
1196 (mail-sent-via): Make it obsolete. (Bug#1776)
1198 * progmodes/grep.el (grep-highlight-matches): Doc fix.
1199 (grep-process-setup): No highlighting without font-lock. (Bug#8084)
1201 * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
1202 with no parents. (Bug#8025)
1204 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
1206 * password-cache.el (password-in-cache-p): Add autoload.
1208 2011-03-02 Glenn Morris <rgm@gnu.org>
1210 * man.el (Man-support-local-filenames): Also handle Red Hat's man.
1211 * dired-x.el (Man-support-local-filenames): Autoload it.
1212 (dired-guess-shell-alist-default): Also handle Red Hat's man.
1214 * dired-x.el (dired-default-directory-alist, dired-default-directory):
1216 (dired-smart-shell-command): Just call dired-current-directory.
1218 * dired-x.el (dired-jump-other-window): Add autoload.
1219 (dired-default-directory-alist, dired-default-directory): Doc fixes.
1220 (dired-default-directory-alist): Mark as risky.
1222 * dired-x.el (dired-omit-here-always): Make it obsolete.
1224 2011-03-02 Chong Yidong <cyd@stupidchicken.com>
1226 * textmodes/artist.el (artist-curr-go): Default to pen-line.
1227 (artist-select-op-pen-line): New function.
1228 (artist-menu-map): New variable.
1229 (artist-mode-map): Add a menu to the menu-bar.
1231 2011-03-02 Jay Belanger <jay.p.belanger@gmail.com>
1233 * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
1236 * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
1238 (math-logunits-add, math-logunits-mul, math-logunits-divide):
1239 (math-logunits-quant, math-logunits-level):
1240 Use `math-conditional-apply' and `math-conditional-pow' to evaluate
1242 (math-logunits-level): Extract units from ratio.
1244 2011-03-01 Juanma Barranquero <lekktu@gmail.com>
1246 * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
1248 2011-03-01 Glenn Morris <rgm@gnu.org>
1250 * calendar/cal-hebrew.el (calendar-hebrew-birthday)
1251 (diary-hebrew-birthday): Rename and rework functions added
1254 2011-03-01 Ed Reingold <reingold@emr.cs.iit.edu>
1256 * calendar/cal-hebrew.el (hebrew-calendar-birthday)
1257 (diary-hebrew-birthday): New functions.
1259 2011-03-01 Glenn Morris <rgm@gnu.org>
1261 * dired.el (dired-safe-switches-p): Beef it up.
1262 (dired-actual-switches): Use it for the safe-local prop. (Bug#3230)
1264 2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
1266 * dired.el (dired-safe-switches-p): New function.
1268 2011-03-01 Glenn Morris <rgm@gnu.org>
1270 * files.el (dir-locals-collect-variables):
1271 Add the ability to exclude subdirectories. (Bug#8100)
1273 * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
1275 2011-02-28 Christoph Scholtes <cschol2112@googlemail.com>
1277 * ido.el (ido-everywhere): Doc fix.
1278 (ido-mode): Doc fix.
1280 2011-02-28 Glenn Morris <rgm@gnu.org>
1282 * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
1284 2011-02-28 Michael Albinus <michael.albinus@gmx.de>
1286 * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
1289 2011-02-28 Antoine Levitt <antoine.levitt@gmail.com>
1291 * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
1293 2011-02-28 Juanma Barranquero <lekktu@gmail.com>
1295 * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
1296 Fix typos in docstrings.
1298 2011-02-28 Stephen Berman <stephen.berman@gmx.net>
1300 * dired-aux.el (dired-update-file-line):
1301 Fix 2010-11-09 change. (Bug#8131)
1303 2011-02-28 Eli Zaretskii <eliz@gnu.org>
1305 * international/mule-cmds.el (set-default-coding-systems): Use the
1306 -unix variant of encoding in default-keyboard-coding-system.
1309 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
1311 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
1313 2011-02-27 Prestoo Ten <prestooten@gmail.com> (tiny change)
1315 * term/screen.el: New file (Bug#2650).
1317 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
1319 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
1320 (pcase-mutually-exclusive-predicates): New var.
1321 (pcase--split-consp, pcase--split-pred): Use it.
1322 (pcase--split-equal, pcase--split-member): When splitting against
1323 a pure predicate, run it to know the outcome.
1324 (pcase--u1): Mark vars that are actually used.
1325 (pcase--q1): Avoid introducing unused vars.
1327 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
1329 * calc/calc-ext.el (calc-init-extensions):
1330 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
1332 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
1335 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
1336 argument is a variable.
1338 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1340 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
1341 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
1342 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
1344 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
1346 * password-cache.el (password-in-cache-p): Convenience function to
1347 check if a key is in the cache, even if the value is nil.
1349 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
1351 * emacs-lisp/package-x.el (package--archive-contents-from-url)
1352 (package--archive-contents-from-file): New functions.
1353 (package-update-news-on-upload): New var.
1354 (package-upload-buffer-internal): Extract archive-contents from
1355 package-archive-upload-base if it is not found at archive-url.
1356 Obey package-update-news-on-upload.
1357 (package-upload-buffer, package-upload-file): Doc fix.
1359 2011-02-24 Glenn Morris <rgm@gnu.org>
1361 * files-x.el (modify-dir-local-variable): Handle dir-locals from
1362 the cache, and from non-file sources.
1364 * help-fns.el (describe-variable): Return consistent results when a
1365 dir-local from a file came from the cache or did not. (Bug#8095)
1366 If a dir-local has no associated file, say it came from a "directory".
1368 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
1369 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
1371 * files.el (dir-locals-find-file): Doc fix.
1372 Fix the check for cache elements that have no associated file,
1373 and the mtime check for those that do. (Bug#8095)
1375 * dired-x.el (dired-hack-local-variables):
1376 Handle interrupts during hacking local variables. (Bug#5216)
1378 * emacs-lisp/autoload.el (autoload-save-buffers)
1379 (autoload-find-destination, update-directory-autoloads):
1380 Avoid prompts when updating autoloads.
1382 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1384 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
1386 2011-02-23 Kenichi Handa <handa@m17n.org>
1388 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
1389 error when a multipart boundary in the nested multipart is found.
1391 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
1394 2011-02-23 Glenn Morris <rgm@gnu.org>
1396 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
1397 * dired-x.el (dired-omit-mode): Safe if boolean.
1398 (dired-enable-local-variables): Fix doc and custom type.
1399 (dired-enable-local-variables, dired-local-variables-file)
1400 (dired-hack-local-variables): Make obsolete.
1401 (dired-omit-here-always): Use dir-locals.el instead.
1403 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
1405 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
1407 * help-fns.el (describe-function-1): Don't signal an error just because
1408 the DOC file disappeared.
1410 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
1412 * eshell/esh-ext.el (eshell-external-command): Do not restrict
1413 remote check to "ftp". (Bug#8089)
1415 2011-02-21 Alan Mackenzie <acm@muc.de>
1418 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
1419 in macros finding their way into c-state-nonlit-pos-cache.
1420 Strengthen the comments.
1421 (c-state-dump): New commented out diagnostic routine.
1423 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
1425 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
1426 `field' property of `rfn-eshadow-overlay'.
1428 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
1430 * net/netrc.el (netrc-parse): Comment fix.
1432 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
1434 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
1435 Autoload. Add optional arg FRAME, and pass it to color-values.
1436 (color-complement): Caller changed. Doc fix.
1437 (color-gradient): Rewrite for better clarity and efficiency.
1439 * faces.el (color-values): Use cond for clarity. Doc fix.
1441 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
1443 (list-colors-sort-key, list-colors-print):
1444 Use color-normalized-values.
1446 2011-02-20 Drew Adams <drew.adams@oracle.com>
1448 * color.el: First part of merge from hexrgb.el.
1449 (color-rgb-to-hex): Rename from color-rgb->hex.
1450 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
1451 saturation to zero if the value is too small.
1452 (color-rgb-to-hsl): Rename from color-rgb->hsl.
1453 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
1454 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
1455 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
1456 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
1457 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
1458 (color-cie-de2000): Doc fix.
1460 2011-02-20 Alan Mackenzie <acm@muc.de>
1462 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
1463 locating the beginning of a macro. (Bug#7595)
1465 2011-02-20 Glenn Morris <rgm@gnu.org>
1467 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
1470 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1471 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
1473 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
1474 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
1476 * progmodes/hideshow.el (hs-find-block-beginning)
1477 (hs-hide-level-recursive): Ignore comments when parsing braces
1480 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1482 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
1483 (vc-bzr-pull): Use it.
1485 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1487 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
1488 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
1489 but returning an alist. Ignore comments in bzr conffile.
1490 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
1491 (vc-bzr-error-regex-alist): New var.
1492 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
1494 * vc/vc-dispatcher.el (vc-do-async-command):
1495 Bind inhibit-read-only to t.
1497 * progmodes/compile.el (compilation--flush-directory-cache):
1498 Handle the case where cdr of compilation--flush-directory-cache
1499 points to no buffer, which can occur if we previously switched to
1500 compilation-mode in a pregenerated buffer.
1502 2011-02-19 Kenichi Handa <handa@m17n.org>
1504 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
1505 get the header copy into the temporary buffer.
1506 (rmail-mime-insert-decoded-text): Ignore us-ascii.
1507 (rmail-show-mime): When rmail-mime-coding-system is nil, set
1508 buffer-file-coding-system to undecided.
1510 2011-02-19 Eli Zaretskii <eliz@gnu.org>
1512 * international/mule-cmds.el (read-char-by-name, ucs-insert):
1513 Document completion with asterisk and a substring.
1515 2011-02-19 Glenn Morris <rgm@gnu.org>
1517 * files.el (find-file-literally): Doc fix.
1519 * simple.el (rfc822-goto-eoh): Give it a doc-string.
1521 * log-edit.el (log-edit-insert-changelog):
1522 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
1524 2011-02-19 Glenn Morris <rgm@gnu.org>
1526 * dired-x.el: Don't require dired-aux.
1527 (dired-do-create-files, dired-mark-read-regexp)
1528 (dired-do-create-files-regexp): Autoload from dired-aux.
1530 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
1531 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
1533 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
1534 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
1536 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
1537 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
1538 (dired-clean-up-buffers-too): Declare.
1540 * dired-x.el (dired-initial-position): Merge into dired.el's version.
1541 * dired.el (dired-initial-position): Merge dired-x's version here.
1542 (dired-find-subdir): Declare.
1544 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
1545 * dired-aux.el (dired-add-entry): Give it a doc-string.
1546 Merge dired-x's dired-omit handling here.
1547 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
1549 * international/mule-diag.el (list-input-methods-1):
1550 Indent all lines of multi-line doc-strings. (Bug#8066)
1552 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
1554 Fix 2011-02-02 changes.
1556 * apropos.el (apropos-print): Call apropos-mode before setting up
1557 buffer variables. Use inhibit-read-only.
1559 * emacs-lisp/package.el (package--list-packages):
1560 Call package-menu-mode before setting up buffer variables.
1562 * play/solitaire.el (solitaire): Call solitaire-mode before
1563 setting up buffer variables. Use inhibit-read-only.
1565 2011-02-18 Lawrence Mitchell <wence@gmx.li>
1567 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
1568 Bind case-fold-search to nil when looking for end of here-doc.
1570 2011-02-18 Eli Zaretskii <eliz@gnu.org>
1572 * image-mode.el (image-toggle-display-image):
1573 Set find-file-literally non-nil in buffers visiting binary image
1576 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1578 * files.el (cd): Make completion obey cd-path (bug#7924).
1580 2011-02-18 Glenn Morris <rgm@gnu.org>
1582 * progmodes/prolog.el: Don't require compile when compiling.
1583 (compilation-shell-minor-mode, compilation-error-regexp-alist)
1584 (compilation-forget-errors, compilation-fake-loc)
1585 (compilation-parse-errors-function, compilation-error-list): Declare.
1586 (prolog-inferior-mode): Require 'compile.
1588 * emulation/cua-base.el (pc-selection-mode): Declare.
1590 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
1591 (customize-object): Add autoload cookie.
1592 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
1593 (eieio-browse, describe-class, eieio-describe-class)
1594 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
1595 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
1596 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
1597 * Makefile.in (autoloads): Make eieio.el writable.
1599 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
1600 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
1601 (dired-hack-local-variables): Use inhibit-read-only.
1602 (dired-guess-default): Simplify.
1603 (dired-make-relative-symlink): Use dotimes.
1604 (dired-simultaneous-find-file): Use dolist.
1605 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
1606 (dired-x-hands-off-my-keys): Doc fix.
1607 (dired-x-bind-find-file): Doc fix. Use remapping.
1608 (after-init-hook): No need to add dired-x-bind-find-file.
1609 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
1610 No need to call expand-file-name.
1611 (dired-filename-at-point): Remove unused locals `end', `filename'.
1613 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1615 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
1617 2011-02-18 Christian Ohler <ohler@gnu.org>
1619 * emacs-lisp/ert.el (ert--setup-results-buffer)
1620 (ert-results-pop-to-backtrace-for-test-at-point)
1621 (ert-results-pop-to-messages-for-test-at-point)
1622 (ert-results-pop-to-should-forms-for-test-at-point)
1623 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
1624 were incorrect and unnecessary. This should make `make check'
1627 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
1629 * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
1630 (allout-widgets-icons-dark-subdir): Track relocations of icons.
1631 * lisp/allout.el: Remove commentary about remove encryption
1632 passphrase mnemonic support and verification.
1633 (allout-encrypt-string): Recognize epg failure to decrypt gpg2
1634 armored text using gpg1, and indicate that the gpg version *might*
1635 be the problem in the error message.
1637 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1639 * net/rcirc.el (rcirc-float-time): New function.
1640 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
1641 (rcirc-ctcp-sender-PING): Use it.
1643 2011-02-17 Glenn Morris <rgm@gnu.org>
1645 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
1646 (speedbar-update-flag, speedbar-fetch-etags-command)
1647 (speedbar-fetch-etags-arguments):
1648 * term.el (term-buffer-maximum-size, term-input-chunk-size)
1649 (term-completion-autolist, term-completion-addsuffix)
1650 (term-completion-recexact, term-completion-fignore):
1651 * term/sup-mouse.el (sup-mouse-fast-select-window):
1652 * term/x-win.el (x-select-request-type):
1653 Convert some defvars with "*" to defcustoms.
1655 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
1657 * vc/vc.el (vc-default-previous-version):
1658 Remove alias that points nowhere. (Bug#4496)
1660 * dired-x.el (dired-clean-up-after-deletion):
1661 kill-buffer does not need save-excursion.
1662 (dired-do-run-mail): Doc fix.
1663 (dired-filename-at-point): Doc fix.
1664 Use looking-at, and skip-chars rather than re search.
1666 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
1668 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
1670 * allout-widgets.el: New allout extension that shows allout
1671 outline structure with graphical widgets. 'allout-widgets'
1672 customize group is an 'allout' subgroup, for easy discovery.
1674 * allout.el: Include PGP and GnuPG in Keywords, and other
1675 commentary refinements.
1676 (allout-abbreviate-flattened-numbering): Rename to
1677 allout-flattened-numbering-abbreviation, and
1678 define-obsolete-variable-alias the old name.
1679 (allout-flattened-numbering-abbreviation): Rename from
1680 allout-abbreviate-flattened-numbering.
1681 (allout-mode-p): Include among autoloads, for use by other modes
1683 (allout-listify-exposed):
1684 Use allout-flattened-numbering-abbreviation.
1685 (allout-encrypt-string): Use set-buffer-multibyte directly.
1686 (allout-set-buffer-multibyte): Remove.
1688 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1690 * simple.el (just-one-space): Remove useless `or' call.
1692 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1694 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
1695 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
1696 (soap-decoded-multi-refs, soap-current-wsdl)
1697 (soap-encoded-namespaces): Rename CL-style *...* variables.
1699 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
1701 * net/soap-client.el: Add "comm" and "hypermedia" to the
1702 keywords. Reflow too long lines.
1704 * net/soap-inspect.el: Ditto. Require 'cl.
1706 2011-02-16 Bastien Guerry <bzg@altern.org>
1708 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
1709 in a `doctor-type' argument.
1711 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1713 * net/soap-client.el:
1714 * net/soap-inspect.el: New files.
1716 2011-02-16 Leo <sdl.web@gmail.com>
1718 * dired-x.el (dired-mode-map, dired-extra-startup):
1719 Remove dired-copy-filename-as-kill since it's already in dired.el.
1721 2011-02-16 Glenn Morris <rgm@gnu.org>
1723 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
1724 Doc fixes. Add :set property, replacing top-level calls.
1725 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
1726 (dired-guess-shell-gnutar): Test tar version rather than system-type.
1727 (dired-extra-startup, dired-man, dired-info): Doc fixes.
1728 (dired-clean-up-after-deletion): Use when and dolist.
1729 (dired-jump): Use unless and when.
1730 (dired-virtual): Use line-end-position.
1731 (dired-default-directory-alist): Rename from default-directory-alist.
1732 (dired-default-directory): Update for above name change.
1733 (dired-vm): Drop VM < 5 and simplify.
1734 (dired-buffer-more-recently-used-p): Rewrite.
1735 (dired-filename-at-point): Use when and or.
1736 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
1739 2011-02-15 Glenn Morris <rgm@gnu.org>
1741 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
1743 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
1745 * vc/vc-git.el (vc-git-root-log-format): New option for
1746 customizing log format.
1747 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
1748 (vc-git-log-view-mode): Use it.
1749 (vc-git-expanded-log-entry): New function.
1750 (vc-git-log-view-mode): Use it. Truncate lines in root log.
1752 * vc/vc-hg.el (vc-hg-root-log-template): New option for
1753 customizing log format.
1754 (vc-hg-print-log): Use it.
1755 (vc-hg-expanded-log-entry): New function.
1756 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
1757 vc-hg-expanded-log-entry. Truncate lines in root log.
1759 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
1761 * vc/log-view.el (log-view-mode-menu):
1762 Add log-view-toggle-entry-display.
1764 2011-02-14 Glenn Morris <rgm@gnu.org>
1766 * dired-x.el: Don't require man when compiling.
1767 (dired-omit-extensions, dired-local-variables-file)
1768 (dired-x-hands-off-my-keys): Make them defcustoms.
1769 (Man-support-local-filenames, Man-getpage-in-background): Declare.
1770 (vm-visit-folder): Declare rather than defining.
1771 (dired-x-help-address, dired-x-variable-list): Remove.
1772 (dired-x-submit-report): Make it an obsolete alias.
1774 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
1776 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
1778 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1780 * net/imap.el: Bring it back.
1782 2011-02-13 Alan Mackenzie <acm@muc.de>
1784 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
1785 narrow-to-region call that cuts context off the end (Bug#7722).
1787 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1788 Refactor nested if-forms with a simple cond.
1789 (c-forward-<>-arglist): Revert 2011-01-31 change.
1791 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1793 * vc/log-view.el: New command log-view-toggle-entry-display for
1794 toggling log entries between concise and detailed forms.
1795 (log-view-toggle-entry-display): New command.
1796 (log-view-mode-map): Bind RET to it.
1797 (log-view-expanded-log-entry-function): New variable.
1798 (log-view-current-entry, log-view-inside-comment-p)
1799 (log-view-current-tag): New functions.
1800 (log-view-toggle-mark-entry): Use log-view-current-entry and
1801 log-view-end-of-defun instead of searching directly with
1802 log-view-message-re.
1803 (log-view-end-of-defun): Likewise. Add optional ARG for
1804 compatibility with end-of-defun.
1805 (log-view-end-of-defun): Ignore comments and VC buttons.
1807 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
1808 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
1810 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1812 * net/imap.el: Remove file. All the functionality is in nnimap.el.
1814 * net/imap-hash.el: Remove file.
1816 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
1818 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
1820 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
1823 * net/tramp-imap.el: Remove file.
1825 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1827 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
1828 widget library for buttons, just use button.el.
1830 * vc/log-view.el (log-view-mode-map): Don't inherit from
1833 2011-02-12 Glenn Morris <rgm@gnu.org>
1835 * emacs-lisp/cl-seq.el (union, nunion, intersection)
1836 (nintersection, set-difference, nset-difference)
1837 (set-exclusive-or, nset-exclusive-or): Doc fix.
1839 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1841 * faces.el (face-attr-match-p): Handle the obsolete :bold and
1842 :italic props, so that frame-set-background-mode works. (Bug#7966)
1844 * simple.el (next-error): Doc fix.
1846 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1848 * dired-aux.el (dired-create-files): Adapt destination name to
1849 match the new behavior of copy-directory.
1851 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
1853 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1854 from rmail-dont-reply-to-names. Callers changed.
1855 (mail-dont-reply-to): Rename from mail-dont-reply-to.
1856 (rmail-dont-reply-to): Make it an obsolete alias.
1858 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1859 nil, and make obsolete (Bug#7888).
1860 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1862 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1864 * mail/rmailsort.el (rmail-sort-by-correspondent)
1865 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
1867 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1869 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1871 * files.el (copy-directory): New argument COPY-CONTENTS for
1872 copying directory contents into another existing directory.
1874 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
1876 * minibuffer.el (completion-table-case-fold): New function for
1877 creating a case-insensitive completion table.
1879 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1881 * net/tramp.el (tramp-default-method): Also check if
1882 `auth-source-search' is bound.
1883 (tramp-read-passwd): Use `auth-source-search' instead of
1884 `auto-source-user-or-password'.
1886 * net/tramp-imap.el: Autoload `auto-source-search' instead of
1887 `auto-source-user-or-password.
1888 (tramp-imap-passphrase-callback-function): Use it.
1890 * net/imap-hash.el: Autoload `auto-source-search' instead of
1891 `auto-source-user-or-password.
1892 (imap-hash-open-connection): Use it.
1894 * mail/smtpmail.el: Autoload `auto-source-search' instead of
1895 `auto-source-user-or-password.
1896 (smtpmail-try-auth-methods): Use it.
1898 2011-02-12 Phil Hagelberg <phil@hagelb.org>
1900 * emacs-lisp/package.el: Allow packages to be reinstalled.
1901 (package--write-file-no-coding): Remove EXCL arg.
1902 (package-unpack-single): Don't use it.
1904 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
1906 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1907 in each sub directory.
1908 (vc-svn-registered): Use vc-svn-root.
1909 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
1910 (vc-svn-repository-hostname): Use "svn info".
1912 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1914 * simple.el (delete-trailing-whitespace): New optional buffer
1917 2011-02-11 Bastien Guerry <bzg@altern.org>
1919 * files.el (basic-save-buffer): save unmodified buffers when
1920 the file pointed by buffer-file-name doesn't exist.
1922 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1924 * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1926 2011-02-11 Glenn Morris <rgm@gnu.org>
1928 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1930 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
1932 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1934 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
1936 * server.el (server-process-filter): Use pcase.
1938 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1940 (smie-indent--parent): Extend to "parent of arg".
1941 (smie-indent-inside-string): New function.
1942 (smie-indent-functions): Use it.
1944 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1945 bzr locking race condition.
1947 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1948 still valid before using it.
1950 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1951 `message' -> `compilation-message' rename (bug#8004).
1953 Move keymap initialization into declaration.
1954 * textmodes/enriched.el (enriched-mode-map):
1955 * textmodes/bib-mode.el (bib-mode-map):
1956 * term/lk201.el (lk201-function-map):
1957 * tar-mode.el (tar-mode-map):
1958 * replace.el (occur-mode-map):
1959 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1960 * progmodes/idlw-help.el (idlwave-help-mode-map):
1961 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1962 * play/solitaire.el (solitaire-mode-map):
1963 * play/snake.el (snake-mode-map, snake-null-map):
1964 * play/pong.el (pong-mode-map):
1965 * play/handwrite.el (menu-bar-handwrite-map):
1966 * play/gametree.el (gametree-mode-map):
1967 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1968 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1969 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1970 (newsticker--url-keymap):
1971 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1972 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1973 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1974 (menu-bar-edit-menu, menu-bar-custom-menu)
1975 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1976 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1977 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1978 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1979 (menu-bar-tools-menu, menu-bar-describe-menu)
1980 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1981 (menu-bar-help-menu):
1982 * mail/rmailsum.el (rmail-summary-mode-map):
1983 * kmacro.el (kmacro-step-edit-map):
1984 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1985 (ibuffer-mode-operate-map):
1986 * hi-lock.el (hi-lock-menu, hi-lock-map):
1987 * emulation/vip.el (vip-mode-map):
1988 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1989 * bookmark.el (bookmark-bmenu-mode-map):
1990 * help-mode.el (help-mode-map): Move initialization into declaration.
1992 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1994 * net/rcirc.el: Add PRIVMSG and CTCP functions.
1995 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1996 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1997 (rcirc-cmd-me, rcirc-authenticate): Use them.
1999 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
2001 * allout.el: Synopsis: Change allout user configuration so
2002 auto-activation is controlled solely by customization
2003 `allout-auto-activation'.
2005 (allout-auto-activation-helper, allout-setup): New autoloads
2006 implement new custom set procedure for allout-auto-activation.
2007 Also, explicitly invoke (allout-setup) after allout-auto-activation
2008 is custom-defined, to affect the settings in emacs sessions besides
2009 the few where allout-auto-activation customization is done.
2010 (allout-auto-activation): Use allout-auto-activation-helper to
2011 :set. Revise the docstring.
2012 (allout-init): Reduce functionality to just customizing
2013 allout-auto-activation, and mark obsolete.
2014 (allout-mode): Respect string values for allout-auto-activation.
2015 Run allout-after-copy-or-kill-hook without any args.
2016 (allout-mode, allout-layout, allout-default-layout)
2017 (outlineify-sticky): Adjust docstring for new scheme.
2018 (allout-after-copy-or-kill-hook): No arguments - hook implementers
2019 should concentrate on the kill ring.
2021 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
2023 * password-cache.el (password-cache-remove): Accept secrets that are
2026 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2028 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
2029 of here-doc that immediately follows a comment.
2031 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2033 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
2035 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
2037 (rcirc-ctcp-sender-PING): New function.
2039 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
2041 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
2042 Remove the mark/nomark handling, and activate shift-select-mode instead.
2044 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
2046 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
2048 * calc/calc-units.el (math-logunits-quant): Add support for
2049 non-logarithmic units.
2051 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
2053 * allout.el (allout-after-copy-or-kill-hook): New hook for
2054 extension-specific processing of killed text.
2055 (allout-mode): Include new allout-after-copy-or-kill-hook among
2057 (allout-kill-line, allout-kill-topic): Ensure that processing
2058 after kill happens even if barf-if-buffer-read-only is raised.
2059 Include new allout-after-copy-or-kill-hook among that subsequent
2061 (allout-deannotate-hidden): Actually remove the annotation text
2064 * allout.el (allout-listify-exposed): Copy text sans text properties.
2066 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
2068 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
2070 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2072 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
2074 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
2076 * calc/calc.el (calc-logunits-field-reference): Rename from
2077 `calc-default-field-reference-level'.
2078 (calc-logunits-power-reference): Rename from
2079 `calc-default-power-reference-level'.
2081 * calc/calc-units.el (math-logunits-quant): Rename from
2082 `math-logunits-level'
2083 (math-logunits-plus): Rename from math-logcombine.
2084 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
2085 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
2086 (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
2088 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
2089 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
2090 (calc-logunits-quantity): Rename from `calc-level'.
2091 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
2092 (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
2093 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
2094 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
2095 (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
2098 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
2099 (calc-ul-prefix-help): Remove.
2100 (calc-l-prefix-help): New function.
2101 (calc-full-help): Add reference to `calc-l-prefix-help'.
2103 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
2105 * calc/README: Mention logarithmic units.
2107 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
2109 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
2110 non-ASCII characters (Bug#7925).
2112 2011-02-05 Glenn Morris <rgm@gnu.org>
2114 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
2116 * calendar/diary-lib.el (diary-font-lock-keywords):
2117 Tweak diary-time-regexp match. (Bug#7891)
2119 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
2120 (f90-mode): Use it for mode's `find-tag-default-function' property.
2122 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
2124 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
2126 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2128 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
2131 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
2133 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
2134 font-lock-syntax-table remappings.
2135 (sh-here-doc-markers, sh-here-doc-re): Remove.
2136 (sh-font-lock-close-heredoc): Remove.
2137 (sh-syntax-propertize-here-doc): New function.
2138 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
2139 instead of the sh-here-doc-re.
2140 (sh-font-lock-paren): Don't do anything in comments or strings.
2141 Handle line continuations. Accept a few more chars.
2142 Don't rely on the font-lock-syntax-table remappings.
2143 `esac' is not a valid pattern.
2144 (sh-syntax-propertize-function): Handle here-docs differently, so we
2145 don't bother syntax-propertizing the insides.
2147 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
2148 Handle new bashisms ";&" and ";;&" (bug#7947).
2150 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
2152 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
2153 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
2155 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
2157 * net/tramp.el (tramp-postfix-method-format)
2158 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
2159 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
2160 (tramp-postfix-user-regexp, tramp-prefix-port-format)
2161 (tramp-prefix-port-regexp, tramp-postfix-host-format)
2162 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
2165 2011-02-04 Sam Steingold <sds@gnu.org>
2167 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
2169 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
2171 * international/mule-util.el (with-coding-priority): Doc fix.
2173 2011-02-04 Eli Zaretskii <eliz@gnu.org>
2175 * arc-mode.el (archive-mode-map): Fix a typo in last change.
2177 2011-02-03 Sam Steingold <sds@gnu.org>
2179 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2180 Do not error out when `func' is nil.
2182 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
2184 * net/tramp-sh.el (tramp-remote-path): Add default settings for
2185 `tramp-default-remote-path' to the docstring.
2186 (tramp-get-remote-path): Suppress error message when `getconf
2189 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
2191 2011-02-03 Glenn Morris <rgm@gnu.org>
2193 * vc/vc-hg.el (vc-hg-command): Doc fix.
2195 * term/w32-win.el (libpng-version): Declare for compiler.
2197 * msb.el: No need to load dired while compiling.
2199 * emacs-lisp/elint.el (elint-standard-variables):
2200 Remove a couple of built-ins that now have doc-strings.
2202 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
2203 `require' is automatically `eval-and-compile'd.
2205 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
2206 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
2208 * strokes.el (strokes-fill-current-buffer-with-whitespace):
2209 Move definition before use.
2210 (strokes-report-bug): Make it obsolete.
2212 2011-02-02 Sam Steingold <sds@gnu.org>
2214 * apropos.el (apropos-print): Now that `apropos-mode' inherits
2215 from `special-mode', entering it makes the buffer read-only, so
2216 call it only when everything has been already inserted.
2217 * emacs-lisp/ert.el (ert--setup-results-buffer)
2218 (ert-results-pop-to-backtrace-for-test-at-point)
2219 (ert-results-pop-to-messages-for-test-at-point)
2220 (ert-results-pop-to-timings): Ditto.
2221 * emacs-lisp/package.el (package--list-packages): Ditto.
2222 * play/solitaire.el (solitaire): Ditto.
2224 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
2226 * progmodes/compile.el: Make all faces inherit.
2227 (compilation-warning): Inherit from font-lock-variable-name-face.
2228 (compilation-info): Inherit from font-lock-type-face.
2229 (compilation-line-number): Reassign to font-lock-keyword-face.
2230 (compilation-column-number): Reassign to font-lock-doc-face.
2231 (compilation-leave-directory-face): Reassign to
2232 font-lock-builtin-face.
2234 2011-02-02 Eli Zaretskii <eliz@gnu.org>
2236 * dired.el (dired-insert-directory): Don't invoke `ls' when
2237 ls-lisp.el is used to emulate it.
2239 2011-02-01 Julien Danjou <julien@danjou.info>
2241 * color.el (color-gradient): Add a color-gradient function.
2243 2011-02-01 Sam Steingold <sds@gnu.org>
2245 * simple.el (special-mode-map): Bind "h" to `describe-mode';
2246 bind "z" to `kill-this-buffer'.
2247 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
2248 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
2249 (apropos-mode): Inherit from `special-mode'.
2250 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
2251 * bookmark.el (bookmark-bmenu-mode): Define using
2252 `define-derived-mode' inheriting from `special-mode'.
2253 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
2254 * image-mode.el (image-mode-map): Ditto.
2255 * replace.el (occur-mode): Define using
2256 `define-derived-mode' inheriting from `special-mode'.
2257 * tar-mode.el (tar-mode): Inherit from `special-mode'.
2258 * calendar/diary-lib.el (diary-fancy-display-mode):
2259 Inherit from `special-mode-map'.
2260 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
2261 Inherit from `special-mode'.
2262 * emacs-lisp/package.el (package-menu-mode-map): Copy from
2264 (package-menu-mode): Define using `define-derived-mode'
2265 inheriting from `special-mode'.
2266 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
2267 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
2268 (xesam-mode-map): Define separately.
2269 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
2270 * progmodes/compile.el (compilation-minor-mode-map)
2271 (compilation-mode-map): Inherit from `special-mode-map'.
2272 * vc/diff-mode.el (diff-mode-shared-map):
2273 Inherit from `special-mode-map'.
2274 * vc/log-view.el (log-view-mode-map): Add a comment.
2276 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
2278 * custom.el (load-theme): Define return value. Drop use of
2279 unsafep; call custom-theme-load-confirm for non-known-safe themes.
2280 (custom-theme-load-confirm): Scroll in the correct window.
2281 (custom-enabled-themes): Add custom-safe-themes to :set-after.
2283 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
2284 checkbox if load-theme fails.
2286 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2288 * progmodes/compile.el (compilation-next-error): Check there's
2289 a message before using it (bug#7941).
2291 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
2293 * calc/calc-mtx.el (math-lud-pivot-check): New function.
2294 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
2295 of potential pivots.
2297 2011-01-31 Alan Mackenzie <acm@muc.de>
2299 * progmodes/cc-cmds.el (c-forward-over-illiterals):
2300 Continue parsing if we encounter a naked # (Bug#7595).
2301 (c-beginning-of-statement): Avoid loop in locating the beginning
2302 of a macro. (Not actually committed until 2011-02-20, see above).
2304 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2306 * files.el (copy-directory): Fix arguments to recursive call.
2308 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2310 * files.el (copy-directory): If destination is an existing
2311 directory, copy into a subdirectory there.
2313 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
2315 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
2318 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2320 * image-dired.el (image-dired-mouse-display-image): No-op if no
2321 file is found (Bug#7817).
2323 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
2325 2011-01-31 Kenichi Handa <handa@m17n.org>
2327 * international/quail.el (quail-keyboard-layout-alist):
2328 Remove superfluous SPC for "pc105-uk" (bug#7927).
2330 2011-01-31 Glenn Morris <rgm@gnu.org>
2332 * msb.el (msb-menu-bar-update-buffers): Update for changed
2333 argument handling of menu-bar-select-frame. (Bug#7902)
2335 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2337 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
2338 to the recursion depth (Bug#7722).
2340 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
2342 * term/ns-win.el (ns-find-file): Expand ns-input-file with
2343 command-line-default-directory (Bug#7872).
2345 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2347 * progmodes/compile.el (compilation--flush-directory-cache):
2348 New function, extracted from compilation--remove-properties.
2349 (compilation--remove-properties, compilation--parse-region): Use it.
2350 (compilation--previous-directory): Handle one more case.
2351 (compilation-enable-debug-messages): Remove.
2352 (compilation-parse-errors, compilation--flush-parse): Just remove the
2353 left over debug messages.
2355 2011-01-31 Sam Steingold <sds@gnu.org>
2357 * progmodes/compile.el (compilation-enable-debug-messages):
2358 Add a variable to make the parsing messages introduced in
2359 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
2360 (compilation-parse-errors, compilation--flush-parse): Use it.
2362 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2364 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
2365 (rcirc-nick-completion-format): New defcustom.
2366 (rcirc-complete): Use it.
2368 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2370 * net/rcirc.el: Clean log filenames (Bug#7933).
2371 (rcirc-log-write): Use convert-standard-filename.
2372 (rcirc-log-filename-function): Documentation updates.
2374 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
2376 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
2377 Check report-emacs-bug-can-use-osx-open and use that if t.
2378 (report-emacs-bug-can-use-osx-open): New function.
2379 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
2380 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
2382 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
2384 * vc/vc-dispatcher.el (vc-set-async-update): New function for
2385 updating Dired or VC-dir buffers after async command completes.
2387 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
2388 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
2390 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
2391 completions if it exists. Use vc-set-async-update.
2392 (vc-git-pull): Use vc-set-async-update.
2394 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
2395 read-shell-command. Use vc-set-async-update.
2396 (vc-hg-merge-branch): Use vc-set-async-update.
2398 2011-01-29 Daiki Ueno <ueno@unixuser.org>
2400 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
2401 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
2404 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
2406 * progmodes/compile.el: Avoid an N² behavior in grep.
2407 (compilation--previous-directory): New fun.
2408 (compilation--previous-directory-cache): New var.
2409 (compilation--remove-properties): Flush it.
2410 (compilation-directory-properties, compilation-error-properties):
2411 Use the new fun to speed up looking for the current directory.
2413 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
2415 * vc/vc-hg.el (vc-hg-history): New var.
2416 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
2417 (vc-hg-merge-branch): New function.
2419 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
2420 the other way around.
2422 * vc/vc-git.el (vc-git-branches, vc-git-pull)
2423 (vc-git-merge-branch): New functions.
2424 (vc-git-history): New var.
2426 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2428 * vc/vc-dispatcher.el (vc-do-async-command): New function.
2430 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
2431 vc-do-async-command.
2433 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
2436 2011-01-28 Leo <sdl.web@gmail.com>
2438 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
2439 highlighting to the "this function is advised" message.
2441 * help-mode.el (help-mode-finish): Apply highlighting here, to
2442 avoid clobbering by substitute-command-keys (Bug#6304).
2444 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2446 * woman.el (woman0-roff-buffer): Process roff escape sequences
2447 occurring prior to the first request (Bug#7843).
2449 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2451 * progmodes/compile.el: Don't use font-lock any more.
2452 (compilation-error-regexp-alist-alist): Change handling of makepp
2453 so it preserves the warning/error distinction on subsequent files.
2454 Simplify various rules.
2455 (compilation-directory-properties): Use font-lock-face.
2456 Add a compilation-message property.
2457 (compilation-internal-error-properties): Use font-lock-face.
2458 Don't set the compilation-debug property here.
2459 (compilation--put-prop, compilation--remove-properties)
2460 (compilation--parse-region, compilation--ensure-parse)
2461 (compilation--ensure-parse): New functions.
2462 (compilation-parse-errors): New function, largely inspired of
2463 compilation-mode-font-lock-keywords. Set compilation-debug here.
2464 (compilation--parsed): New var.
2465 (compilation--flush-parse): Use compilation--ensure-parse.
2466 (compilation-start): Don't call font-lock.
2467 (compilation-turn-on-font-lock): Remove.
2468 (compilation-setup): Don't set font-lock-extra-managed-props not change
2469 other font-lock settings, other than keywords.
2470 Don't activate font-lock-mode.
2471 Set change-major-mode-hook and before-change-functions.
2472 (compilation--unsetup): Remove properties and hooks.
2473 (compilation-next-single-property-change): New function.
2474 (compilation-next-error): Use it to parse when needed.
2475 (compile-goto-error): Parse buffer as needed.
2476 (compilation--compat-error-properties): Don't need a dummy `face'
2479 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2481 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
2482 (compilation-process-setup-function): Fix docstring's false promises.
2483 (compilation-error-regexp-alist-alist): Catch omake's continuous
2484 recompilation message and avoid reuse of old markers.
2485 (compilation-parse-errors-function): Declare obsolete.
2486 (compilation-buffer-modtime): Remove.
2487 (compilation--make-cdrloc, compilation--loc->col)
2488 (compilation--loc->line, compilation--loc->file-struct)
2489 (compilation--loc->marker, compilation--loc->visited)
2490 (compilation--make-file-struct, compilation--file-struct->file-spec)
2491 (compilation--file-struct->formats)
2492 (compilation--file-struct->loc-tree): New macros. Use them.
2493 (compilation--message): New defstruct. Use them.
2494 (compilation-next-error-function): Don't mess with timestamps to try
2495 and guess when to reparse.
2497 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2499 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
2500 (tex-old-error-file-name): New function,
2501 extracted from tex-compilation-parse-errors.
2502 (tex-compilation-parse-errors): Remove.
2503 (tex-error-regexp-alist): New var.
2504 (tex-shell): Use it to avoid compilation-parse-errors-function.
2506 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
2507 (grep-mode-font-lock-keywords): Remove regexp that seems like
2508 a left-over from before we used compile.el.
2509 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
2510 modifying the buffer within with-silent-modifications.
2512 * progmodes/compile.el: Cleanup text-properties namespace by using
2513 `compilation-message' instead of `message', `compilation-directory'
2514 instead of `directory', and `compilation-debug' instead of `debug'.
2515 (compilation-last-buffer, compilation-parsing-end)
2516 (compilation-error-list, compilation-old-error-list): Move to the
2517 compatibility part of the code.
2518 (compilation-error-properties): If `file' is a function, let it return
2520 (compilation-mode-font-lock-keywords): Be more conservative with the
2521 omake "^ *" pattern prefix, to try and minimize the risk of
2522 pathologically slow regexp matching.
2523 (compilation-start): Use inhibit-read-only.
2524 (compilation--unsetup): New function.
2525 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
2526 (compilation-filter): Minor tweaks.
2527 (compilation-next-error-function): Try and avoid abusing variables.
2528 (compilation--flush-file-structure): New fun.
2529 (compilation-fake-loc): Use it to improve behavior when file is reused.
2530 (debug-ignored-errors): Add "Moved past last ...".
2531 (compilation--compat-error-properties)
2532 (compilation--compat-parse-errors): Rename by doubling the "-".
2534 Port features from the previous prolog.el to the new one.
2535 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
2536 (prolog-program-name, prolog-program-switches, prolog-consult-string)
2537 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
2538 variable and use a function to compute the value dynamically.
2539 (prolog-prompt-regexp): Add regexp for GNU Prolog.
2540 (prolog-continued-prompt-regexp): Remove, unused.
2541 (prolog-find-value-by-system): Try and use the value of prolog-system
2542 in the *prolog* buffer if it helps.
2543 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
2544 (prolog-zip-on): ..and check prolog-system and version here instead.
2545 (prolog-inferior-self-insert-command): New command.
2546 (prolog-inferior-mode-map): Use it.
2547 (prolog-inferior-error-regexp-alist): New var.
2548 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
2549 (prolog-input-filter): Use derived-mode-p.
2550 (prolog-inferior-guess-flavor): New function.
2551 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
2552 make-comint to avoid running comint-mode twice.
2553 (prolog-inferior-buffer): New fun.
2554 (prolog-old-process-region, prolog-old-process-file):
2555 Don't call prolog-bsts here...
2556 (prolog-build-prolog-command): ...do it here instead.
2557 (prolog-old-process-region, prolog-old-process-file):
2558 Use compilation-fake-loc and compilation-forget-errors.
2559 (prolog-consult-compile-region): Use bolp.
2561 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2563 * image-mode.el (image-display-size): Doc fix (Bug#7820).
2565 2011-01-27 Sam Steingold <sds@gnu.org>
2567 * midnight.el (clean-buffer-list-kill-never-buffer-names):
2568 Remove "*server*" which is never created by emacs server.
2570 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2572 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
2573 there are some diff switches.
2575 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
2577 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2578 Copy change made to ruby-font-lock-syntactic-keywords.
2580 * htmlfontify.el: Make it obey the font-lock-face text property.
2581 Miscellaneous cleanup such as:
2582 - Don't hide expressions after a closing paren.
2583 - Move initial setq into let.
2584 - Hoist common parts out of ifs.
2585 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
2586 (hfy-face-at): Use get-text-property instead.
2587 (hfy-prop-invisible-p): Use invisible-p if available.
2588 (htmlfontify-manual): Use \\[...].
2589 (hfy-html-quote-regex): Use [...].
2590 (hfy-combined-face-spec): Simplify.
2591 (hfy-compile-face-map): Don't presume point-min==1.
2592 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
2593 match end of string.
2594 (hfy-text-p): η-reduce.
2595 (hfy-tags-for-file): Receive cache-hash directly.
2596 (hfy-mark-tag-names): Adjust call.
2598 2011-01-27 Glenn Morris <rgm@gnu.org>
2600 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
2601 (msb-after-load-hook): Remove eval-after-load wackiness.
2603 2011-01-25 Sam Steingold <sds@gnu.org>
2605 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
2606 literal "diff" (important for windows-nt).
2608 2011-01-25 Glenn Morris <rgm@gnu.org>
2610 * emacs-lisp/copyright.el (copyright-at-end-flag)
2611 (copyright-names-regexp): Add safety properties.
2612 (copyright-year-ranges): New option.
2613 (copyright-find-end): New function, split from copyright-update-year.
2614 (copyright-update-year): Use copyright-find-end.
2615 (copyright-fix-years): Optionally, convert years to ranges.
2616 Handle years continued over comment lines.
2617 Do not mess with the fill-prefix.
2618 Do not call copyright-update.
2619 (copyright-update-directory): Optionally, fix years rather than update.
2620 Skip directories. Find files with only safe local vars.
2622 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
2624 * files.el (file-name-non-special): Only change buffer-file-name after
2625 insert-file-contents if it's `visit'ing the file (bug#7854).
2627 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
2629 * dired.el (dired-revert): Doc fix (Bug#7758).
2631 * simple.el (line-move-visual): Doc fix (Bug#7594).
2633 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
2635 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
2636 here-doc which ends with an underscore.
2637 (ruby-mode-set-encoding): Skip shebang line always.
2638 (ruby-mode-map): Bind C-c C-c to comment-region.
2639 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
2640 (ruby-forward-sexp): Stop after literal hash key labels.
2641 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
2644 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
2646 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
2647 the correct buffer (Bug#7650).
2649 2011-01-25 Glenn Morris <rgm@gnu.org>
2651 * comint.el (comint-mode): Doc fix. (Bug#7897)
2653 * simple.el (do-auto-fill): Give it a doc string.
2655 * button.el (make-text-button): Doc fix. (See bug#7881)
2657 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
2659 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2660 Don't move backward, so as not to fall in an inf-loop (bug#7736).
2662 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
2663 Handle ?" and friends differently (e.g. don't use backrefs).
2665 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
2667 * calc/calc.el (calc-default-power-reference-level)
2668 (calc-default-field-reference-level): New variables.
2669 * calc/calc-units.el (math-standard-units): Add dB and Np.
2670 (math-logunits): New variable.
2671 (math-extract-logunits, math-logcombine, calcFunc-luplus)
2672 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
2673 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
2675 (math-find-base-units-rec): Add entry for ln(10).
2676 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
2677 (calc-ul-prefix-help): New function.
2678 * calc/calc-ext.el (calc-init-extensions): Autoload new units
2679 functions. Add keybindings for new units functions.
2681 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
2683 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
2684 rcirc buffers. (Bug#4940)
2686 2011-01-22 Glenn Morris <rgm@gnu.org>
2688 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
2689 split out from copyright-update-year.
2690 (copyright-update): Don't mess with the GPL version if we don't own the
2691 copyright. Update license regexp, and remove no longer needed
2693 (copyright-fix-years): Use copyright-find-copyright.
2695 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2697 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
2699 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2701 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
2702 (lm): Rename to landmark.
2703 (lm-test-run): Rename to landmark-test-run.
2705 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2707 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
2708 "Case sensitive" menu item.
2710 2011-01-22 Roland McGrath <roland@frob.com>
2712 * comint.el (comint-replace-by-expanded-history-before-point): Fix
2713 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
2715 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2717 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
2719 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2721 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2722 Assume foo(bar) is a manpage reference rather than some unquoted
2725 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2727 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
2728 Suggested by Flo <sensorflo@gmail.com>.
2730 2011-01-22 Glenn Morris <rgm@gnu.org>
2732 * progmodes/compile.el (compilation-error-regexp-alist):
2733 Fix custom type. (Bug#7812)
2735 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
2737 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
2738 allout-number-siblings, in keeping with what obtained due to
2739 (now-defunct) allout-keybindings-list. Ditch repeat binding to
2741 (allout-before-change-handler): Better expose spots affected by
2744 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2746 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
2748 2011-01-22 Phil Hagelberg <phil@evri.com>
2750 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
2751 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
2752 (pcmpl-ssh-config-hosts): New function.
2753 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
2754 pcmpl-ssh-known-hosts.
2756 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2758 * calc/calc-undo.el (calc-undo): Autoload it.
2759 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
2760 and autoload for `calc-undo'.
2761 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
2762 * calc/calc-prog.el:
2763 * calc/calc-graph.el:
2764 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2766 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
2768 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
2769 keybindings to `calc-undo'.
2771 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2773 Don't mess with *temp*.
2774 * obsolete/spell.el: Move from textmodes/spell.el.
2776 * term.el (term-read-input-ring):
2777 * startup.el (display-startup-echo-area-message):
2778 * progmodes/antlr-mode.el (antlr-directory-dependencies):
2779 * comint.el (comint-read-input-ring): Use with-temp-buffer.
2780 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
2783 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
2785 * allout.el (allout-institute-keymap): Use fset instead of
2786 reapplying defalias.
2788 (allout-hotspot-key-handler): Check for non-control-modified
2789 bindings for hotspot characters if there are no control-modified
2792 * allout.el: Summary - migrate to defining allout mode using
2793 define-minor-mode instead of defun. Significantly clean-up
2794 internal keymap provisions, refactoring and, in the process,
2795 removing a lot of accumulated cruft.
2797 allout-mode-map is now a keymap by virtue of being a defalias to
2798 allout-mode-map-value, which contains the actual keymap structure.
2800 (allout-mode): Use define-minor-mode rather than defun.
2801 Remove now-unnecessary minor-mode setup activities from the body.
2802 Specify :keymap as allout-mode-map so the minor-mode-map-alist
2803 entry will be '(allout-mode . allout-mode-map) - see
2804 allout-mode-map-value, below. Adjust docstring to track changes.
2805 (allout-minor-mode): Remove this defalias, now that we're using
2807 (allout-mode-map): Set value to be 'allout-mode-map. The actual
2808 keymap is allout-mode-map-value, via defalias.
2809 (allout-mode-map-value): The variable holding the actual mode
2810 keymap structure, by virtue of defalias from allout-mode-map.
2811 (allout-compose-and-institute-keymap): Rename from
2812 allout-bind-keys, and including the binding-composition
2813 functionality of the former produce-allout-mode-map and
2814 allout-setup-mode-map.
2815 (allout-institute-keymap): Take over the "setup" part of the former
2816 allout-setup-mode-map. Reassign allout-mode-map-value value and
2817 update the defalias.
2818 (allout-command-prefix, allout-prefixed-keybindings)
2819 (allout-unprefixed-keybindings):
2820 Use allout-compose-and-institute-keymap to process the bindings.
2821 (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
2822 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
2823 user can customize if they want to use that binding.
2824 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
2825 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
2826 elided that, previously, instead of the one for \C-h.)
2827 (allout-hotspot-key-handler): Remove attempt to resolve the key
2828 through the literal key-string lookup on allout-keybindings-list.
2829 That probably hasn't worked for a Long Time, and removal of
2830 allout-keybindings-list further simplifies the keybindings situation.
2831 (allout-pre-command-business): Use allout-mode-map-value instead
2833 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
2834 the bindings if they want to use a keybinding having a trailing
2835 \C-h. No deprecation needed since this feature was never in a release.
2836 (allout-keybindings-list): Remove. It's not been useful for a
2837 while. (See allout-hotspot-key-handler changes, above.)
2838 (produce-allout-mode-map): Remove. Consolidate into
2839 allout-compose-and-institute-keymap.
2840 (allout-mode-map-adjustments): Remove. No longer necessary with
2841 removal of allout-preempt-trailing-ctrl-h.
2842 (allout-setup-mode-map): Remove. Consolidate into
2843 allout-compose-and-institute-keymap and allout-institute-keymap.
2845 2011-01-20 Glenn Morris <rgm@gnu.org>
2847 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2849 * simple.el (read-expression-history): Remove, it's in minibuf.c.
2851 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
2853 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2855 * files.el (find-alternate-file, basic-save-buffer)
2856 (basic-save-buffer-2, revert-buffer, recover-file)
2857 (kill-buffer-ask, abort-if-file-too-large)
2858 (set-visited-file-name, write-file, backup-buffer)
2859 (basic-save-buffer, save-some-buffers):
2860 * dired-aux.el (dired-compress-file): Callers changed.
2862 2011-01-19 Glenn Morris <rgm@gnu.org>
2864 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2865 Also check the property status. (Bug#7861)
2867 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
2869 * net/tramp.el (tramp-debug-message): Extend function exclude
2870 list. Use `regexp-opt'.
2872 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2874 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2875 highlighting doesn't spill over subsequent lines.
2877 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2878 keymap expression. Improve docstring.
2880 * electric.el (electric-indent-post-self-insert-function):
2881 Don't auto-indent for indent-to-left-margin, it's too often
2884 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
2886 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2887 spaces if the frame was resized, so that the full visible buffer
2888 serves as canvas for strokes.
2890 2011-01-16 Glenn Morris <rgm@gnu.org>
2892 * info-xref.el (info-xref-docstrings): Replace cl function.
2893 Also skip directories.
2895 2011-01-16 Kevin Ryde <user42@zip.com.au>
2897 * info-xref.el: Version 3.
2898 (info-xref-check, info-xref-check-all): Move commentary details
2899 into docstrings for better visibility.
2900 Use compilation-mode for the results buffer.
2901 (info-xref-output, info-xref-output-error, info-xref-with-output)
2902 (info-xref-filename, info-xref-in-progress):
2903 New internals for this.
2904 (info-xref-check-list, info-xref-check-buffer)
2905 (info-xref-check-all-custom): Use those.
2906 (info-xref-output-buffer): Rename from info-xref-results-buffer.
2907 (info-xref-output-heading): Rename from info-xref-filename-heading.
2908 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2909 (info-xref-filename-heading): Move to output managing section.
2910 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2911 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2912 (info-xref-subfile-p): Move to generic section with those two.
2913 (info-xref-check-node): New function split from
2914 info-xref-check-buffer, shared by info-xref-docstrings.
2915 (info-xref-goto-node-p): Move to a checking section with that func.
2916 (info-xref-unavail): New counter.
2917 (info-xref-check-node): Use it.
2918 (info-xref-with-output): Show count of unavailables at end of output.
2919 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
2920 symlinks. Exclude .texi files. Exclude Emacs backup files.
2921 (info-xref-check-all-custom): Fix quietening viper-mode and
2922 gnus-registry-install -- use setq not let so as not to unbind
2925 2011-01-16 Juri Linkov <juri@jurta.org>
2927 * isearch.el (isearch-abort): Don't quit if search has
2928 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
2930 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
2932 * files.el (backup-buffer): Make last-resort backup file in
2933 .emacs.d (Bug#6953).
2935 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2936 make it with permission 700.
2938 2011-01-15 Kenichi Handa <handa@m17n.org>
2940 * mail/rmailmm.el (rmail-mime-insert-header):
2941 Set rmail-mime-coding-system to a cons whose car is the last coding
2942 system used to decode the header.
2943 (rmail-mime-find-header-encoding): New function.
2944 (rmail-mime-insert-decoded-text):
2945 Override rmail-mime-coding-system if it is a cons.
2946 (rmail-show-mime): If only a header part was decoded, find the
2947 coding system while ignoring mm-charset-override-alist.
2949 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
2951 * subr.el (event-start, event-end): Doc fix (Bug#7826).
2953 2011-01-15 Kenichi Handa <handa@m17n.org>
2955 * mail/rmailmm.el (rmail-mime-next-item)
2956 (rmail-mime-previous-item): Delete them.
2957 (rmail-mime-shown-mode): Recursively call for children.
2958 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2960 (rmail-mime-raw-mode): Recursively call for children.
2961 (rmail-mode-map): Change mapping of tab and backtab to
2962 forward-button and backward-button respectively.
2963 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2965 (rmail-mime-update-tagline): New function.
2966 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2967 body display is changed.
2968 (rmail-mime-toggle-button): Rename from rmail-mime-image.
2969 (rmail-mime-image): Delete this button type.
2970 (rmail-mime-toggle): New button type.
2971 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2972 body display is changed. Change the save button label to "Save".
2973 Don't process show/hide button here.
2974 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2975 the body display is changed. Unconditionally call
2976 rmail-mime-insert for children.
2977 (rmail-mime-handle): Update `display' vector of the just inserted
2979 (rmail-mime-process): If mail-header-parse-content-type returns
2980 nil, use "text/plain" as the fallback type.
2981 (rmail-mime-insert): For raw-mode, recursively call
2982 rmail-mim-insert for children.
2983 (rmail-mime): Handle the case that the current buffer is not rmail
2984 buffer (e.g. in summary buffer).
2986 2011-01-15 Kenichi Handa <handa@m17n.org>
2988 * mail/rmailmm.el (rmail-mime-next-item)
2989 (rmail-mime-previous-item): Skip the body of a non-multipart
2990 entity if a tagline is shown.
2992 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2994 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2995 (tmm-prompt): Simplify.
2996 (tmm-add-prompt): Remove unused var `win'.
2998 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2999 to minor mode which used nil accidentally to mean "turn off".
3001 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
3003 * net/tramp-sh.el (tramp-find-inline-compress)
3004 (tramp-get-inline-coding): Quote command after pipe symbol for
3005 local calls under W32. (Bug#6784)
3007 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
3009 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
3010 only when running under W32.
3012 2011-01-15 Eli Zaretskii <eliz@gnu.org>
3014 * progmodes/grep.el (grep-compute-defaults): Quote the program
3015 file name after the pipe symbol in Grep templates. (Bug#6784)
3016 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
3018 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
3020 * buff-menu.el (Buffer-menu-buffer-list): New var.
3021 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
3022 restricted buffer list is not lost on revert (Bug#7749).
3024 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
3026 * net/ldap.el (ldap-search-internal): Discard stderr output.
3028 2011-01-15 Eli Zaretskii <eliz@gnu.org>
3030 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
3032 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
3034 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
3036 2011-01-15 Kenichi Handa <handa@m17n.org>
3038 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
3039 part as a plain text.
3040 (rmail-mime-process-multipart): Set the default content-type to
3041 nil for unknown multipart subtypes (bug#7651).
3043 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3045 * hexl.el (hexl-mode-old-*): Remove.
3046 (hexl-mode--old-var-vals): New var to replace them.
3047 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
3048 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
3049 Use them to set local vars (bug#7846).
3050 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
3051 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
3052 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
3054 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
3055 (smerge-resolve--normalize-re): New var.
3056 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
3057 (smerge-resolve): Use them.
3058 * newcomment.el (comment-only-p): New function.
3059 (comment-or-uncomment-region): Use it.
3061 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
3063 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
3064 table, get the value before switching to the output buffer. (Bug#7733)
3066 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3068 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
3070 2011-01-14 Kim F. Storm <storm@cua.dk>
3072 * emulation/cua-base.el (cua--init-keymaps):
3073 Remap exchange-point-and-mark in cua-global-keymap.
3075 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
3077 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
3080 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3082 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
3084 (easy-menu-create-menu, easy-menu-convert-item-1):
3085 Use :label rather than nil for labels. Use `case'.
3086 Add :enable as alias for :active.
3087 (easy-menu-binding): Obey :label.
3089 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3091 Use run-mode-hooks for major mode hooks (bug#513).
3092 * textmodes/reftex-toc.el (reftex-toc-mode-map):
3093 Rename from reftex-toc-map.
3094 (reftex-toc-mode): Use define-derived-mode.
3095 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
3096 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
3097 Rename from reftex-select-(label|bib)-map. Move init into declaration.
3098 (reftex-select-label-mode, reftex-select-bib-mode):
3099 Use define-derived-mode.
3100 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
3101 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
3102 Move init into delcaration.
3103 (reftex-index-mode, reftex-index-phrases-mode):
3104 Use define-derived-mode.
3105 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
3106 speedbar-syntax-table. Move init into declaration.
3107 (speedbar-mode-map): Rename from speedbar-key-map.
3108 Move init into declaration.
3109 (speedbar-file-key-map): Move init into declaration.
3110 (speedbar-mode): Use define-derived-mode.
3111 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
3112 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
3113 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
3114 (chart-face-list): Move initialization into declaration.
3115 (chart-mode): Use define-derived-mode.
3116 * calculator.el (calculator-mode-map): Move init into declaration.
3117 (calculator-mode): Use define-derived-mode.
3119 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
3120 work for nested comments.
3122 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
3123 (prolog-use-prolog-tokenizer-flag): Change default when
3124 syntax-propertize can be used.
3125 (prolog-syntax-propertize-function): New var.
3126 (prolog-mode-variables): Move make-local-variable into `set'.
3127 Don't make comment-column local since we don't set it.
3128 Set comment-add (as it was in previous prolog.el). Use dolist.
3129 Set syntax-propertize-function.
3130 (prolog-mode, prolog-inferior-mode):
3131 Call prolog(-inferior)-menu directly, not through the mode-hook.
3132 (prolog-buffer-module, prolog-indent-level)
3133 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
3134 (prolog-comment-limits, prolog-goto-comment-column):
3135 Use line-(end|beginning)-position.
3136 (prolog-build-prolog-command): Tighten up regexp.
3137 (prolog-consult-compile): Move make-local-variable into `set'.
3138 (prolog-consult-compile-filter, prolog-goto-next-paren)
3139 (prolog-help-on-predicate, prolog-clause-info)
3140 (prolog-mark-predicate): Don't let+setq.
3141 (prolog-indent-line): Use indent-line-to.
3142 Only call prolog-goto-comment-column if necessary.
3143 (prolog-indent-level): Use bobp.
3144 (prolog-first-pos-on-line): Remove, not used any more.
3145 (prolog-in-string-or-comment): Use syntax-ppss if available.
3146 (prolog-help-on-predicate): Use read-string.
3147 (prolog-goto-predicate-info): Simplify.
3148 (prolog-read-predicate): Use `default' rather than `initial'.
3149 (prolog-temporary-file): Use make-temp-file to close a security hole.
3150 (prolog-toggle-sicstus-sd): New command.
3151 (prolog-electric-underscore, prolog-variables-to-anonymous):
3152 Use dynamic-scoping as it was meant.
3153 (prolog-menu): Move menu definitions to top-level.
3154 Use a toggle-button for Sicstus's source debugger.
3155 Change "Code" to the more usual "Prolog", and hence change "Prolog"
3157 (prolog-inferior-menu): Reuse prolog-menu's help menu.
3158 Move other menu definition to top-level.
3160 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
3162 * doc-view.el (doc-view-open-text): Use meaningful text buffer
3163 name. Keep original document's directory as default-directory
3165 (doc-view-initiate-display): Fall back to normal mode when
3166 doc-view-mode cannot be enabled, also when extracting the document
3167 text into a separate buffer (bug#6446).
3169 * simple.el (shell-command): Don't error out if shell command
3170 buffer contains text with non-nil read-only property when erasing
3173 2011-01-13 Kim F. Storm <storm@cua.dk>
3175 * ido.el (ido-may-cache-directory): Move "too-big" check later.
3176 (ido-next-match, ido-prev-match): Fix stray reordering of matching
3177 items when cycling through the matches.
3179 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
3181 * dired-x.el (dired-omit-verbose): New defcustom that allows
3182 disabling the omit messages.
3183 (dired-omit-expunge): Use it.
3185 2011-01-13 Christian Ohler <ohler@gnu.org>
3187 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
3189 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
3191 * font-lock.el (font-lock-verbose): Default to nil.
3193 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
3195 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
3196 (compose-mail): New arg RETURN-ACTION.
3197 (compose-mail-other-window, compose-mail-other-frame): Likewise.
3199 * mail/sendmail.el (mail-return-action): New var.
3200 (mail-mode): Make it buffer-local.
3201 (mail-bury): Obey it. Move special Rmail window handling to
3203 (mail, mail-setup): New arg RETURN-ACTION.
3204 (sendmail-user-agent-compose): Move from simple.el.
3206 * mail/rmail.el (rmail-mail-return): New function.
3207 (rmail-start-mail): Pass it to compose-mail.
3209 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
3211 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
3212 menus. Add menu item for customize-themes.
3214 * cus-theme.el (customize-themes):
3215 * emacs-lisp/package.el (package--list-packages):
3216 Use switch-to-buffer.
3218 2011-01-11 Johan Bockgård <bojohan@gnu.org>
3220 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
3222 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
3224 * progmodes/prolog.el: Fix up coding convention and such.
3225 (prolog-indent-width): Use the same default as in
3226 previous prolog.el rather than tab-width which depends on which buffer
3227 is current when the file is loaded.
3228 (prolog-electric-newline-flag): Only enable if electric-indent-mode
3230 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
3231 (prolog-known-systems): Remove.
3232 (prolog-mode-syntax-table, prolog-inferior-mode-map):
3233 Move initialization into declaration.
3234 (prolog-mode-map): Move initialization into declaration.
3235 Remove system-specific mode-map vars, since they referred to the same
3237 (prolog-mode-variables): Obey the user's preference w.r.t
3238 adaptive-fill-mode. Prefer symbol-value to `eval'.
3239 (prolog-mode-keybindings-edit): Add compatibility bindings.
3240 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
3241 (mercury-mode-map): New var.
3242 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
3243 (prolog-ensure-process, prolog-process-insert-string)
3244 (prolog-consult-compile): Use with-current-buffer.
3245 (prolog-guess-fill-prefix): Simplify data flow.
3246 (prolog-replace-in-string): New function to use instead of
3248 (prolog-enable-sicstus-sd): Don't abuse `eval'.
3249 (prolog-uncomment-region): Use `uncomment-region' when available.
3250 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
3251 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
3252 of int-to-char and char-to-int.
3253 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
3255 2011-01-11 Stefan Bruda <stefan@bruda.ca>
3257 * progmodes/prolog.el: Replace by a whole new file.
3259 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
3261 * subr.el (eval-after-load): Fix timing for features (bug#7769).
3262 (declare-function, undefined, insert-for-yank)
3263 (replace-regexp-in-string): Follow checkdoc's recommendations.
3265 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3267 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
3268 refreshing the diary buffer.
3270 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
3272 * allout.el: Add 2011 to the file copyright.
3273 (allout-encrypt-string): Prevent encryption from adding an extra
3274 newline at the end of the topic body.
3275 (allout-version): Increment to 2.3.
3277 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
3279 * net/dbus.el (dbus-unregister-service): Complete doc.
3280 Fix call of dbus-error signal.
3281 (dbus-register-property): Use `dont-register' keyword.
3283 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
3285 * net/dbus.el (dbus-unregister-service): Translate returned
3286 integer into a symbol.
3287 (dbus-register-property): Use `dbus-register-service' to do the
3290 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
3292 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
3293 Suggested by Joakim Verona.
3295 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
3297 * wid-edit.el (visibility): Replace :on-image and :off-image
3298 widget properties with :on-glyph and :off-glyph, for consistency
3299 with the `visibility' widget.
3300 (widget-toggle-value-create, widget-visibility-value-create):
3301 Merge into a single function `widget-toggle-value-create'.
3303 * cus-edit.el (custom-variable-value-create, custom-visibility)
3304 (custom-face-edit-value-create, custom-face-value-create):
3305 Replace :on-image and :off-image widget properties with :on-glyph and
3306 :off-glyph, for consistency with the `visibility' widget.
3308 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
3310 * net/ldap.el (ldap-search-internal): Don't use eval.
3312 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
3314 * subr.el (read-char-choice): Use read-key.
3316 * custom.el (custom-safe-themes): Rename from
3317 custom-safe-theme-files. Add :risky tag.
3318 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
3319 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
3321 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
3323 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
3324 from Search and add a label to Undo.
3326 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
3327 inappropriate buttons and adding :vert-only tags.
3329 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
3330 removal of Help tool-bar button. Remove Undo button for space.
3332 * info.el (info-tool-bar-map): Add :vert-only tags.
3334 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
3336 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
3337 image backend support. Either of them is fine.
3339 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
3341 * subr.el (y-or-n-p): Doc fix.
3343 * custom.el (custom-safe-theme-files): New defcustom.
3344 (custom-theme-load-confirm): New function.
3345 (load-theme): Load theme using `load', confirming with
3346 custom-theme-load-confirm if necessary.
3348 * subr.el (read-char-choice): New function, factored out from
3349 dired-query and hack-local-variables-confirm.
3351 * dired-aux.el (dired-query):
3352 * files.el (hack-local-variables-confirm): Use it.
3354 * dired-aux.el (dired-compress-file):
3355 * files.el (abort-if-file-too-large, find-alternate-file)
3356 (set-visited-file-name, write-file, backup-buffer)
3357 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
3358 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
3359 Use new format string args for y-or-n-p and yes-or-no-p.
3361 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
3363 * progmodes/compile.el (compilation-error-regexp-alist-alist)
3364 [gcc-include]: Tighten file name match, add match for column
3366 [gnu]: Remove unused group.
3368 2011-01-08 Glenn Morris <rgm@gnu.org>
3370 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
3372 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
3374 2011-01-07 Sam Steingold <sds@gnu.org>
3376 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
3377 the `explicit-shell-file-name' because that is the
3378 non-interactive shell.
3380 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
3382 * subr.el (y-or-n-p): Accept format string args.
3384 2011-01-07 Glenn Morris <rgm@gnu.org>
3386 * Makefile.in (EMACSOPT): Add --no-site-lisp.
3388 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
3390 * allout.el (allout-back-to-current-heading): Ensure return to
3391 the visible containing topic, rather than a collapsed one.
3392 (allout-view-change-hook): Remove hook that was deprecated long ago.
3393 (allout-exposure-change-hook): Remove documentation remarks
3394 concerning removed allout-view-change-hook.
3395 (allout-flag-region): Remove invocation of and documentation
3396 remarks concerning allout-view-change-hook.
3398 2011-01-06 Glenn Morris <rgm@gnu.org>
3400 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
3401 (vc-bzr-annotate-extract-revision-at-line):
3402 Handle authors with embedded spaces. (Bug#7792)
3404 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
3406 * doc-view.el (doc-view-image-width): New variable.
3407 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
3408 backend for PNG images, and do dynamic rescaling instead of
3409 reconverting the whole doc.
3411 2011-01-05 Glenn Morris <rgm@gnu.org>
3413 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
3415 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
3417 * allout.el: Reconcile with changes in line movement behavior for
3418 long text lines that cross more than a single physical window
3419 line, ie when truncate-lines is nil.
3420 (allout-next-visible-heading): Provide for change in line-move
3421 behavior on long lines when truncate-lines is nil. In that case,
3422 line-move can wind up on the same textual line when it moves to
3423 the next window line, and moving to the bullet position after the
3424 move yields zero advancement. Add logic to detect and compensate
3425 for the lack of progress.
3426 (allout-current-topic-collapsed-p): move-end-of-line respect for
3427 field boundaries is different when operating with body lines
3428 shorter than window width versus ones greater than window width,
3429 which can yield false negatives in this function. Avoid
3430 difference by applying move-end-of-line while field-text-motion is
3433 2011-01-04 Glenn Morris <rgm@gnu.org>
3435 * textmodes/rst.el (rst-compile-toolsets):
3436 Add pdf and s5 to option alist.
3438 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
3440 * net/dbus.el (dbus-register-property): Add optional parameter
3441 dont-register-service. Updated docstring accordingly.
3443 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
3445 * textmodes/rst.el (rst-compile-pdf-preview)
3446 (rst-compile-slides-preview): Remove extra line.
3448 2011-01-04 Glenn Morris <rgm@gnu.org>
3450 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
3451 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
3452 default to `prog' without a .py extension.
3453 (rst-compile-pdf-preview, rst-compile-slides-preview):
3454 Use program names from rst-compile-toolsets, rather than hard-coding.
3455 (rst-portable-mark-active-p): Fix presumed typo.
3457 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3459 * term/w32-win.el (dynamic-library-alist): Set up correctly for
3460 libpng versions both before and after 1.4.0. (Bug#7716)
3462 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3464 * time.el (display-time-mode): Mention display-time-interval in
3465 the doc string. (Bug#7713)
3467 2011-01-02 Kenichi Handa <handa@m17n.org>
3469 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
3470 condition-case and return an error message string if something
3472 (rmail-show-mime): Adjust for the above change. Insert the
3473 header by rmail-mime-insert-header.
3475 2011-01-02 Kenichi Handa <handa@m17n.org>
3477 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
3478 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
3479 (rmail-mime-mbox-buffer)
3480 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
3481 (rmail-mime-entity): Argument changed. All codes handling an
3482 entity object are changed.
3483 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
3485 (rmail-mime-entity-children, rmail-mime-entity-handler)
3486 (rmail-mime-entity-tagline): New functions.
3487 (rmail-mime-message-p): New function.
3488 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
3489 (rmail-mime-entity-segment, rmail-mime-next-item)
3490 (rmail-mime-previous-item, rmail-mime-shown-mode)
3491 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
3492 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
3493 (rmail-mime-insert-tagline, rmail-mime-insert-header):
3495 (rmail-mime-text-handler): Call rmail-mime-insert-text.
3496 (rmail-mime-insert-decoded-text): New function.
3497 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
3498 (rmail-mime-insert-image): Argument changed. Caller changed.
3499 (rmail-mime-image): Call rmail-mime-toggle-hidden.
3500 (rmail-mime-set-bulk-data): New function.
3501 (rmail-mime-insert-bulk): Argument changed.
3502 (rmail-mime-multipart-handler): Return t.
3503 (rmail-mime-process-multipart): Argument changed.
3504 Handle "multipart/alternative" here.
3505 (rmail-mime-process): Argument changed.
3506 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
3507 (rmail-mime-insert): Argument changed. Handle raw display mode.
3508 (rmail-mime): Argument changed. Handle toggling of raw display
3510 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
3511 rmail-mime-view-buffer.
3512 (rmail-insert-mime-forwarded-message): Likewise.
3513 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
3515 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
3516 non-nil, handle the header in rmail-show-mime-function.
3518 2011-01-02 Leo <sdl.web@gmail.com>
3520 * help-fns.el (describe-variable): Fix previous change.
3522 2011-01-02 Juri Linkov <juri@jurta.org>
3524 * isearch.el (isearch-lazy-highlight-error): New variable.
3525 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
3526 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
3527 to the current value of `isearch-error' (Bug#7468).
3529 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3531 * help-fns.el (describe-variable): Don't emit trailing whitespace
3534 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3536 * textmodes/rst.el (rst-compile-pdf-preview)
3537 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
3539 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3541 * emulation/edt-mapper.el: Override mapping of function keys so
3542 that the later call to read-key-sequence works.
3544 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3546 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
3547 Unix EOLs. (Bug#7589)
3549 2011-01-02 Leo <sdl.web@gmail.com>
3551 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
3552 if point is not behind eshell-last-output-end (Bug#7585).
3554 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
3556 * files.el (file-local-variables-alist):
3557 Make permanent-local (bug#7767).
3559 2011-01-02 Glenn Morris <rgm@gnu.org>
3561 * version.el (emacs-copyright): Set short copyright year to 2011.
3563 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3565 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
3566 an existing temp buffer. (Bug#7746)
3568 2011-01-02 Glenn Morris <rgm@gnu.org>
3570 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
3571 multiple addresses. (Bug#7760)
3573 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
3575 * allout.el (allout-auto-fill): Do not infinitely recurse - use
3576 do-auto-fill if everything points back to allout-auto-fill.
3577 (allout-mode-deactivate-hook): Declare obsolete, in favor of
3578 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
3580 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
3582 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
3585 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3587 * doc-view.el (doc-view-set-doc-type): New function refactored
3589 (doc-view-fallback-mode): New function.
3590 (doc-view-mode): Use it.
3591 (doc-view-mode-maybe): New function that checks if doc-view-mode
3592 can be used and falls back to the next best mode otherwise.
3594 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
3595 DVI, OpenDocument, and MS Office files.
3597 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
3599 * emacs-lisp/rx.el (rx-syntax): Fix typo.
3601 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3603 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
3604 on a copy of auto-mode-alist, because that deletes with side
3607 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3609 * doc-view.el (doc-view-mode, doc-view-toggle-display):
3610 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
3611 fallback instead of hard coding fundamental mode.
3613 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3615 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
3616 Office) files also for searching.
3618 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3620 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
3621 Office) files. Not yet enabled via auto-mode-list.
3622 (doc-view-unoconv-program): New custom variable.
3623 (doc-view-mode-p): Handle new odf document type.
3624 (doc-view-odf->pdf): New conversion function.
3625 (doc-view-convert-current-doc): Call it for odf files.
3626 (doc-view-mode): Recognize newly supported file extensions.
3628 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
3630 * net/tramp.el (tramp-default-method-alist)
3631 (tramp-default-user-alist)
3632 (tramp-local-host-regexp, tramp-prefix-domain-format)
3633 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
3636 * net/tramp-gvfs.el:
3638 * net/tramp-imap.el:
3640 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
3641 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
3643 2010-12-29 Karl Fogel <kfogel@red-bean.com>
3645 * saveplace.el (save-place-alist-to-file): Save list sorted and
3646 pretty-printed, so that it is mergeable by line-based text merging,
3647 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
3649 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
3651 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
3652 (allout-mode): Argument "toggle" => "force".
3653 Refine the docstring.
3654 Remove special provisions for reactivation, besides the 'force'
3656 Consolidate layout provisions coce directly into the activation
3657 condition branch, now that we've removed those provisions.
3658 (allout-unload-function): Explicitly activate the mode before
3659 deactivating, if it's initially deactivated.
3660 (allout-set-buffer-multibyte): Properly prevent byte-compiler
3661 warnings for version of function used only where
3662 set-buffer-multibyte is unavailable.
3664 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
3666 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
3667 are handled by the menu-bar entries. As before, don't use
3668 :visibile to avoid changing the tool-bar.
3670 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3672 * net/secrets.el (secrets-delete-alias): New defun.
3674 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3676 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
3677 methods, otherwise ~/.ssh/config would be ignored.
3679 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
3681 * emacs-lisp/rx.el: Make it a superset of sregex.
3682 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
3683 of args, add `regex' alias.
3684 (rx-info): Add arg to distinguish head and standalone forms.
3685 (rx-check, rx-form): Pass the corresponding arg.
3687 (rx-repeat): Make it work for any number of args.
3688 (rx-syntax): Make it accept syntax chars as is.
3689 * obsolete/sregex.el: Move from emacs-lisp/.
3690 * emacs-lisp/re-builder.el: Remove sregex support.
3691 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
3693 2010-12-25 Eli Zaretskii <eliz@gnu.org>
3695 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
3696 PRIMARY first, then the clipboard. (Bug#7699)
3698 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3700 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
3703 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
3705 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
3706 .emacs.elc (Bug#7530).
3708 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
3709 image spec (Bug#7480).
3711 2010-12-21 Daiki Ueno <ueno@unixuser.org>
3713 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
3714 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
3717 2010-12-20 Leo <sdl.web@gmail.com>
3719 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
3720 always be performed (Bug#7680).
3722 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
3724 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
3725 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
3728 * color.el: Move from gnus/.
3730 * vc/diff.el (diff-better-file-name): Function deleted.
3731 abbreviating file names causes problems with shell-quote-argument.
3732 (diff-no-select): Just use expand-file-name.
3734 * tool-bar.el (tool-bar--image-expression): New function.
3735 (tool-bar-local-item, tool-bar--image-exp): Use it.
3736 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
3737 Use :enable instead of :visible to avoid changing the tool-bar
3738 configuration unnecessarily.
3740 * info.el (info-tool-bar-map): Add separators.
3742 2010-12-17 Ken Brown <kbrown@cornell.edu>
3744 * loadup.el: Use version numbers in Cygwin build.
3746 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
3748 * ido.el (ido-file-internal): Ask for confirmation before
3749 overwriting an existing file (Bug#1238).
3751 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
3753 * tool-bar.el (tool-bar-setup): Add separators.
3755 * menu-bar.el (featurep): Use menu-bar-separator.
3757 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
3759 Migrate allout encryption provisions from pgg to epg.
3761 * allout.el (allout-toggle-current-subtree-encryption)
3762 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
3763 defaulting policy and other changes. Change fetch-pass to keymode-cue,
3764 for simpler universal argument interpretation.
3765 (allout-toggle-subtree-encryption): Adjust docstring to describe
3766 changed encryption provisions. Change fetch-pass to keymode-cue, for
3767 simpler universal argument interpretation. Remove provisions for
3768 handling key type and identity - they'll all be within
3769 allout-encrypt-string or epg/epg or even contained all the way in gpg.
3770 (allout-encrypt-string): Include keymode-cue, for optionally prompting
3771 for keypair recipients (universal argument > 1) and, in addition,
3772 associating the specified recipients with the outline (universal
3773 argument > 4) using a file local variable setting for
3774 'epa-file-encrypt-to'.
3775 Require epa, for recipients handling.
3776 Change how regexp filtering elements are named.
3777 Describe the problem with caching of incorrect symmetric-decryption
3779 Use the epa-passphrase-callback-function, in case the user is using
3781 Support saving of the selected keypair recipients when invoked with a
3783 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
3785 Establish epg-context with armoring and default epg-protocol.
3786 Remove all passphrase cache, verification, and hinting code.
3787 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
3788 No longer used, delete.
3789 (allout-mode): Adjust docstring to describe changed encryption
3790 provisions. Describe the problem with caching of incorrect
3791 symmetric-decryption keys.
3792 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
3793 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
3794 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
3795 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
3798 2010-12-16 Daiki Ueno <ueno@unixuser.org>
3800 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
3801 key selection prompt; make 'silent as default (Bug#7487).
3803 2010-12-16 Leo <sdl.web@gmail.com>
3805 * eshell/eshell.el (eshell-directory-name):
3806 Use locate-user-emacs-file (Bug#7578).
3808 2010-12-15 Glenn Morris <rgm@gnu.org>
3810 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
3812 2010-12-15 Jari Aalto <jari.aalto@cante.net>
3813 Scott Evans <gse@antisleep.com>
3815 * rect.el (rectange--default-line-number-format)
3816 (rectangle-number-line-callback): New functions.
3817 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
3819 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
3821 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
3822 Delete unused variables.
3823 (move-to-column-force): Remove function obsolete since 21.2.
3825 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
3827 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
3828 (tramp-handle-insert-file-contents): Do not set permanent-local
3831 * net/tramp-cache.el (tramp-persistency-file-name):
3832 Use `locate-user-emacs-file' if fboundp.
3834 * net/tramp-sh.el (tramp-methods): Add "ksu".
3835 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
3838 2010-12-14 Glenn Morris <rgm@gnu.org>
3840 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3841 (find-tag-marker-ring): Declare.
3842 (js-find-symbol): Require etags.
3844 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3846 (mail-alias-file): Don't autoload. Doc fix.
3847 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3848 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
3849 Mark as obsolete, and risky.
3850 (mail-setup): Simplify.
3852 * mail/mailalias.el (build-mail-aliases): Make it interactive.
3853 * mail/sendmail.el (build-mail-aliases): Update autoload.
3855 * dired.el (dired-trivial-filenames, dired-chown-program)
3856 (dired-auto-revert-buffer): Remove autoload cookies.
3857 * mail/sendmail.el (mail-recover-1): Require 'dired.
3859 * dired.el (dired-subdir-switches, dired-chown-program)
3860 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3861 Make into defcustoms.
3862 (dired-chown-program): Simplify initialization.
3864 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3866 2010-12-13 Romain Francoise <romain@orebokech.com>
3868 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3870 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3872 * net/netrc.el (netrc-point-at-eol): Remove the unused
3873 netrc-point-at-old and netrc-bound-and-true-p bindings.
3874 (netrc-parse): Cache the netrc contents.
3876 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3878 * subr.el (posn-col-row): Evaluate header-line-format in the
3879 context of the POSITION window's buffer.
3881 2010-12-13 Glenn Morris <rgm@gnu.org>
3883 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3884 (with-silent-modifications): Doc fixes.
3886 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3888 * net/tramp.el (tramp-action-password, tramp-process-actions):
3889 Revert previous from. Use `save-restriction'.
3891 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
3893 * calendar/diary-lib.el (diary-list-sexp-entries):
3894 Handle case of no newline at end of file. (Bug#7536)
3896 2010-12-13 Glenn Morris <rgm@gnu.org>
3898 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3900 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3902 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3903 (tramp-process-actions): Do not widen.
3905 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3906 Protect buffer-modified value. (Bug#7557)
3908 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
3910 * log-edit.el (log-edit-changelog-entries):
3911 Regexp quote filename. (Bug#7505)
3913 2010-12-13 Tom Breton <tehom@panix.com>
3915 * cus-edit.el (custom-save-all):
3916 Bind print-length and print-level to nil. (Bug#7581)
3918 2010-12-13 Glenn Morris <rgm@gnu.org>
3920 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3921 Run hooks to update menu contents. (Bug#7586)
3923 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3924 file names, for the sake of MS Windows. (Bug#7588)
3926 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3928 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3929 empty lines without a leading space.
3931 2010-12-13 Leo <sdl.web@gmail.com>
3933 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3934 while mapping over marks (Bug#6810).
3936 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3938 * image-dired.el (image-dired-db-file)
3939 (image-dired-temp-image-file, image-dired-gallery-dir)
3940 (image-dired-temp-rotate-image-file): Set default values relative
3941 to image-dired-dir (Bug#7518).
3943 2010-12-13 Lawrence Mitchell <wence@gmx.li>
3945 * format.el (format-decode-run-method): Pass args FROM and TO, not
3946 point-min and point-max, to shell-command-on-region (Bug#7488).
3948 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
3950 * frame.el (blink-cursor-mode): Make default t for ns.
3952 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3954 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3956 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3958 * comint.el (comint-dynamic-list-input-ring)
3959 (comint-dynamic-complete-filename)
3960 (comint-replace-by-expanded-filename)
3961 (comint-dynamic-simple-complete)
3962 (comint-dynamic-list-filename-completions)
3963 (comint-dynamic-list-completions): Doc fix (Bug#7499).
3965 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3968 2010-12-13 Martin Rudalics <rudalics@gmx.at>
3970 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3973 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
3975 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3978 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3980 * files.el (file-relative-name): Handle UNC file names on
3981 DOS/Windows. (Bug#4674)
3983 2010-12-13 Daiki Ueno <ueno@unixuser.org>
3985 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3986 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3987 (epg-context-set-passphrase-callback): Mention that the callback
3988 is not called when used with GnuPG 2.x.
3990 2010-12-13 Glenn Morris <rgm@gnu.org>
3992 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3993 Ensure ps-footer-font-size-internal is initialized.
3994 Call ps-get-page-dimensions before trying to use ps-font-for-text.
3996 2010-12-13 Kenichi Handa <handa@m17n.org>
3998 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3999 within condition-case.
4000 (rmail-show-mime): Don't use condition-case.
4001 (rmail-search-mime-message): New function.
4002 (rmail-search-mime-message-function): Set to
4003 rmail-search-mime-message.
4005 2010-12-13 Leo <sdl.web@gmail.com>
4007 * ido.el (ido-common-initialization): New function. (bug#3274)
4009 (ido-completing-read): Call it.
4011 2010-12-12 Karl Fogel <kfogel@red-bean.com>
4013 * bookmark.el (bookmark-name-from-full-record): Rename back to
4014 this original name from `bookmark-name-from-record' reverting part
4015 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
4016 As Drew Adams pointed out, there was no reason to cause churn for
4017 third-party callers. (Bug#7609)
4019 2010-12-12 Alan Mackenzie <acm@muc.de>
4021 * progmodes/cc-engine.el (c-forward-type): Before scanning a
4022 template arglist, check that the current language supports this.
4024 2010-12-11 Glenn Morris <rgm@gnu.org>
4026 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
4027 state of the file matches. (Bug#7544)
4028 (vc-bzr-register, vc-bzr-checkin)
4029 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
4030 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
4032 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
4034 2010-12-11 Karel Klíč <kklic@redhat.com>
4036 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
4038 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4040 Derive from prog-mode, use derived-mode-p, and fix up various
4041 minor style issues in lisp/progmodes.
4043 * progmodes/vhdl-mode.el (vhdl-mode):
4044 * progmodes/verilog-mode.el (verilog-mode):
4045 * progmodes/vera-mode.el (vera-mode):
4046 * progmodes/sql.el (sql-mode):
4047 * progmodes/scheme.el (scheme-mode):
4048 * progmodes/perl-mode.el (perl-mode):
4049 * progmodes/octave-inf.el (inferior-octave-mode):
4050 * progmodes/autoconf.el (autoconf-mode):
4051 * progmodes/m4-mode.el (m4-mode):
4052 * progmodes/inf-lisp.el (inferior-lisp-mode):
4053 * progmodes/idlwave.el (idlwave-mode):
4054 * progmodes/icon.el (icon-mode):
4055 * progmodes/idlw-help.el (idlwave-help-mode):
4056 * progmodes/dcl-mode.el (dcl-mode):
4057 * progmodes/idlw-shell.el (idlwave-shell-mode):
4058 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
4059 (ebrowse-member-mode, ebrowse-electric-position-mode):
4060 Use define-derived-mode.
4062 * progmodes/xscheme.el (exit-scheme-interaction-mode)
4063 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
4064 (xscheme-debugger-mode-p, xscheme-send-string-1):
4065 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
4066 (tcl-load-file, tcl-restart-with-file):
4067 * progmodes/ps-mode.el (ps-run-running):
4068 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
4069 * progmodes/js.el (js--get-all-known-symbols):
4070 * progmodes/inf-lisp.el (inferior-lisp-proc):
4071 * progmodes/idlwave.el (idlwave-beginning-of-statement)
4072 (idlwave-template, idlwave-update-buffer-routine-info)
4073 (idlwave-update-current-buffer-info)
4074 (idlwave-get-routine-info-from-buffers, idlwave-choose)
4075 (idlwave-scan-class-info, idlwave-fix-keywords)
4076 (idlwave-list-buffer-load-path-shadows):
4077 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
4078 (idlwave-toolbar-remove):
4079 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
4080 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
4081 (idlwave-shell-menu-def):
4082 * progmodes/idlw-complete-structtag.el
4083 (idlwave-prepare-structure-tag-completion):
4084 * progmodes/gud.el (gud-set-buffer):
4085 * progmodes/f90.el (f90-backslash-not-special):
4086 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
4088 * progmodes/xscheme.el (xscheme-start)
4089 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
4090 * progmodes/which-func.el (which-function):
4091 * progmodes/vhdl-mode.el (vhdl-set-style):
4092 * progmodes/verilog-mode.el (verilog-set-compile-command)
4093 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
4094 (verilog-set-define, verilog-auto-reeval-locals):
4095 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
4096 * progmodes/simula.el (simula-mode):
4097 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
4098 * progmodes/python.el (python-check, python-mode):
4099 * progmodes/prolog.el (prolog-mode-variables):
4100 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
4101 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
4102 * progmodes/delphi.el (delphi-mode):
4103 * progmodes/cc-styles.el (c-setup-paragraph-variables):
4104 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
4105 (c-font-lock-init): Move make-local-variable to their setq.
4107 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
4108 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
4110 * progmodes/sh-script.el (sh-require-final-newline): Remove.
4111 (sh-set-shell): Don't set require-final-newline since it's already done
4113 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
4114 since we never set it.
4115 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
4116 Use read-string and standard prompt.
4117 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
4118 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
4119 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
4120 (meta-common-mode-map): Rename from meta-mode-map.
4121 Remove C-m binding, which is a user preference, not mode specific.
4122 (meta-common-mode): New major mode; replace meta-common-initialization.
4123 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
4124 around with font-lock.
4125 * progmodes/etags.el (select-tags-table-mode):
4126 Derive from special-mode.
4127 * progmodes/octave-mod.el (octave-mode):
4128 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
4129 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
4130 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
4131 Let define-derived-mode do its job.
4132 * progmodes/cpp.el (cpp-edit-mode-map):
4133 Move initialization into declaration.
4134 (cpp-edit-mode): Use define-derived-mode.
4135 (cpp-edit-load): Use derived-mode-p.
4136 * progmodes/mixal-mode.el (mixal-mode):
4137 * progmodes/f90.el (f90-mode):
4138 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
4139 require-final-newline since prog-mode does it already.
4140 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
4141 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
4142 * progmodes/antlr-mode.el: Require cc-mode upfront.
4143 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
4145 (antlr-directory-dependencies, antlr-show-makefile-rules):
4147 (antlr-language-option): Don't assume point-min==1.
4148 (antlr-mode): Use define-derived-mode.
4149 * progmodes/ada-mode.el: Use derived-mode-p.
4150 (ada-mode): Use define-derived-mode.
4151 Use hack-local-variables-hook.
4153 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4155 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
4156 (texinfo-mode): Don't disable adaptive-fill-mode.
4157 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
4158 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
4159 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
4160 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
4161 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
4162 (texinfo-insert-@quotation, texinfo-insert-@samp)
4163 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
4164 (texinfo-insert-@uref): Use define-skeleton.
4165 (texinfo-insert-@-with-arg): Delete.
4167 2010-12-10 Eli Zaretskii <eliz@gnu.org>
4169 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
4170 nil, do quote archive member names. (Bug#6144)
4172 2010-12-10 Glenn Morris <rgm@gnu.org>
4174 * files.el (diff-no-select): Declare.
4176 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
4177 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
4179 * comint.el (comint-input-ring-file-name): Doc fix.
4181 2010-12-09 Eli Zaretskii <eliz@gnu.org>
4183 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
4185 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
4186 Use them instead of `nil' and `>', respectively.
4187 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
4189 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
4190 and menu-bar-positive-p instead of `nil' and `>', respectively.
4193 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4195 * whitespace.el (whitespace-newline-mode): Code fix.
4197 2010-12-09 Glenn Morris <rgm@gnu.org>
4199 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
4200 Rename functions without commas, update callers.
4202 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
4204 * whitespace.el (whitespace-cleanup-region):
4205 Clean up spaces before tabs. (Bug#7582)
4207 2010-12-08 Karl Fogel <kfogel@red-bean.com>
4209 * bookmark.el: Adjust parameter names and doc strings to resolve
4210 confusion over whether "bookmark" meant a bookmark name or a
4211 bookmark record. Along the way, shorten one function's name for
4212 similar reasons. (Issue #7548)
4213 (bookmark-name-from-record): New name for
4214 `bookmark-name-from-full-record'. All callers changed.
4215 (bookmark-get-bookmark, bookmark-get-bookmark-record)
4216 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
4217 (bookmark-get-annotation, bookmark-set-annotation)
4218 (bookmark-get-filename, bookmark-set-filename)
4219 (bookmark-get-position, bookmark-set-position)
4220 (bookmark-get-front-context-string, bookmark-set-front-context-string)
4221 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
4222 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
4223 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
4224 Rename `bookmark' parameter to `bookmark-name-or-record', to
4225 clearly show its role, and shorten or adjust doc strings accordingly.
4226 (bookmark-set-name): Same, and pass the parameter directly to
4227 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
4228 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
4229 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
4230 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
4231 and in some cases shorten doc string accordingly.
4232 (bookmark-rename): Change `old' and `new' parameters to `old-name'
4233 and `new-name', and adjust an internal variable to avoid confusion.
4234 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
4235 parameter in doc string.
4237 2010-12-08 Glenn Morris <rgm@gnu.org>
4239 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
4240 from gdb's history file. (Bug#7575)
4242 * mail/emacsbug.el (report-emacs-bug):
4243 Try to handle some other mail clients.
4245 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4247 * files.el (dir-locals-collect-variables): Don't let errors stop us.
4248 Use string-prefix-p.
4249 (file-name-version-regexp): New var.
4250 (file-name-sans-versions):
4251 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
4252 (jka-compr-get-compression-info): Use dolist.
4253 (jka-compr-compression-info-list): Don't bother specifying
4254 version/backup regexps.
4256 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
4258 * simple.el (just-one-space): Make argument n default to 1 if
4261 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4263 * electric.el (electric-indent-post-self-insert-function):
4264 Delete trailing newlines even if we don't reindent.
4266 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4268 * minibuffer.el (completion-at-point): Remove the `arg'.
4269 * bindings.el (complete-symbol): Move back from minibuffer.el.
4271 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4273 * simple.el (just-one-space): Delete newlines for negative arg.
4275 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4277 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
4278 (ansi-color-filter-apply): Simplify.
4279 (ansi-color-apply): Use `font-lock-face' rather than `face'.
4281 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
4283 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
4285 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
4287 * dired.el (dired-use-ls-dired): Set default to a special
4288 "unspecified" value.
4289 (dired-insert-directory): When called the first time, check
4290 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
4292 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
4294 * replace.el: Add "collect" feature to occur.
4295 (occur-collect-regexp-history): New var.
4296 (occur-read-primary-args): Return a replace string for nlines,
4298 (occur): Extend the meaning of nlines.
4300 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4302 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
4303 (which-func-update-1): Distinguish symbols from strings.
4304 (which-function): Stay within 80 columns.
4306 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4308 * subr.el (with-demoted-errors): Distinguish symbols from strings.
4310 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
4312 (comment-style): Use comment-styles's docs to describe values.
4314 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
4316 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
4317 and ns-show-prefs (Bug#7535).
4319 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
4320 bindings (Bug#7535).
4322 2010-12-03 Glenn Morris <rgm@gnu.org>
4324 * nxml/nxml-mode.el: Require rng-nxml.
4325 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
4326 Remove declarations.
4328 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
4329 * nxml/rng-nxml.el, nxml/rng-valid.el:
4330 Remove leading `*' from defcustom docs.
4332 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
4333 (normal-top-level-add-to-load-path, tty-handle-args):
4334 Convert comments to basic doc-strings.
4336 * net/browse-url.el (browse-url-url-at-point)
4337 (browse-url-default-browser): Remove autoload cookies.
4339 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4340 Remove more undefined cl functions.
4342 * vc/diff.el (diff-sentinel): Make new arguments optional.
4343 * ibuf-ext.el (diff-sentinel): Update declaration.
4345 2010-12-03 Daiki Ueno <ueno@unixuser.org>
4347 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
4348 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
4349 (epg-context-set-passphrase-callback): Mention that the callback
4350 is not called when used with GnuPG 2.x.
4352 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
4354 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
4355 (tramp-file-name-port): Check also for `tramp-default-port'.
4356 (tramp-get-connection-name): New defun.
4357 (tramp-get-connection-process): Use it.
4358 (tramp-debug-message): Extend function exclude list.
4359 (tramp-drop-volume-letter): Fix doc string.
4361 * net/tramp-cmds.el: Remove solved todo item.
4364 * net/tramp-gvfs.el:
4366 * net/tramp-imap.el:
4367 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
4368 and `tramp-default-user-alist', respectively.
4370 * net/tramp-gw.el (tramp-gw-open-connection):
4371 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
4373 * net/tramp-imap.el (tramp-imap-make-iht): Use just
4374 `tramp-file-name-port'.
4376 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
4377 and "psftp". Exchange "%k" marker with options.
4378 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
4379 Compute size of link target.
4380 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
4381 `tramp-current-*' up due to gateway methods. Optimize computing of
4382 copy arguments. Use `tramp-get-connection-name' and
4383 `tramp-get-connection-buffer'. Improve debug messages.
4384 (tramp-compute-multi-hops): Remove port determination.
4385 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
4387 * net/trampver.el: Update release number.
4389 2010-12-02 Glenn Morris <rgm@gnu.org>
4391 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4392 Avoid infinite loop over windows. (Bug#7492)
4394 * progmodes/flymake.el (flymake-check-file-limit):
4395 Allow nil to mean "no limit".
4396 (flymake-check-patch-master-file-buffer): Update for above change.
4397 Allow a .tex file-name extension to be optional.
4398 (flymake-master-tex-init): Also match \include statements.
4400 2010-11-30 Sam Steingold <sds@gnu.org>
4402 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
4403 (nxml-parent-document-set): A function to set `nxml-parent-document'.
4404 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
4405 (nxml-mode-hook): Remove `defcustom' (auto-defined by
4406 define-derived-mode').
4407 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
4408 users who want to call `nxml-parent-document-set'.
4410 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4412 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
4413 stand-alone lines, since that is handled by log-edit-match-to-eoh
4416 2010-11-27 Eduard Wiebe <usenet@pusto.de>
4418 * dired.el (dired-get-filename): Replace backslashes with slashes
4419 in file names on MS-Windows, needed by `locate'. (Bug#7308)
4420 * locate.el (locate-default-make-command-line): Don't consider
4421 drive letter and root directory part of
4422 `directory-listing-before-filename-regexp'. (Bug#7308)
4423 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
4425 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4427 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
4428 of :smie-open/close-alist.
4429 (smie-next-sexp): Make it accept a "start token" as argument.
4430 (smie-indent-keyword): Be careful not to misidentify tokens that span
4431 more than one line, as empty lines. Add argument `token'.
4433 2010-11-27 Kenichi Handa <handa@m17n.org>
4435 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
4436 multipart subtypes, insert all as usual.
4438 * mail/rmail.el: Require rfc2047.
4440 2010-11-27 Kenichi Handa <handa@m17n.org>
4442 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
4443 (rmail-mime-entity-disposition)
4444 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
4445 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
4446 (rmail-mime-save): Handle the case that the button's `data' is a
4448 (rmail-mime-insert-text): New function.
4449 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
4450 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
4451 (rmail-mime-insert-bulk): New function mostly copied from the old
4452 rmail-mime-bulk-handler.
4453 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
4454 (rmail-mime-process-multipart): New function mostly copied from
4455 the old rmail-mime-multipart-handler.
4456 (rmail-mime-show): Just call rmail-mime-process.
4457 (rmail-mime-process): New function mostly copied from the old
4459 (rmail-mime-insert-multipart, rmail-mime-parse)
4460 (rmail-mime-insert, rmail-show-mime)
4461 (rmail-insert-mime-forwarded-message)
4462 (rmail-insert-mime-resent-message): New functions.
4463 (rmail-insert-mime-forwarded-message-function): Set to
4464 rmail-insert-mime-forwarded-message.
4465 (rmail-insert-mime-resent-message-function): Set to
4466 rmail-insert-mime-resent-message.
4468 * mail/rmailsum.el: Require rfc2047.
4469 (rmail-header-summary): Handle multiline Subject: field.
4470 (rmail-summary-line-decoder): Change the default to
4471 rfc2047-decode-string.
4473 * mail/rmail.el (rmail-enable-mime): Change the default to t.
4474 (rmail-mime-feature): Change the default to `rmailmm'.
4475 (rmail-quit): Delete the specifal code for rmail-enable-mime.
4476 (rmail-display-labels): Likewise.
4477 (rmail-show-message-1): Check rmail-enable-mime, and use
4478 rmail-show-mime-function for a MIME message. Decode the headers
4479 according to RFC2047.
4481 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4483 * progmodes/which-func.el (which-func-imenu-joiner-function):
4484 Return a string, as expected.
4485 (which-function-mode): Make sure we stop any previous timer before
4488 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
4490 * net/tramp.el (tramp-default-method-alist)
4491 (tramp-default-user-alist, tramp-default-proxies-alist):
4492 Adapt custom options type. (Bug#7445)
4494 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4496 * progmodes/python.el: Add Ipython support (Bug#5390).
4497 (python-shell-prompt-alist)
4498 (python-shell-continuation-prompt-alist): New options.
4499 (python--set-prompt-regexp): New function.
4500 (inferior-python-mode, run-python, python-shell):
4501 Require ansi-color. Use python--set-prompt-regexp to set the comint
4502 prompt based on the Python interpreter.
4503 (python--prompt-regexp): New var.
4504 (python-check-comint-prompt)
4505 (python-comint-output-filter-function): Use it.
4506 (run-python): Use a pipe (Bug#5694).
4508 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4510 * progmodes/python.el (run-python): Doc fix.
4511 (python-keep-current-directory-in-path): New var (Bug#7454).
4513 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4515 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4516 Prompt user before actually printing.
4518 2010-11-27 Glenn Morris <rgm@gnu.org>
4520 * startup.el (package-enable-at-startup, package-initialize):
4521 Remove unnecessary declarations.
4523 2010-11-27 Eli Zaretskii <eliz@gnu.org>
4525 * international/characters.el (glyphless-char-display-control):
4526 Exclude newline and TAB from the c0-control group.
4528 2010-11-27 Glenn Morris <rgm@gnu.org>
4530 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
4531 (expand-mail-aliases): Remove unnecessary autoload.
4533 * allout.el (allout-command-prefix, allout-mode-map): Declare.
4535 * shell.el (shell-dir-cookie-re): Move definition before use.
4537 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4538 Replace undefined CL functions.
4540 2010-11-26 Eli Zaretskii <eliz@gnu.org>
4542 * simple.el (prog-mode): Set bidi-paragraph-direction to
4545 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
4547 2010-11-26 Glenn Morris <rgm@gnu.org>
4549 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
4550 diary-outlook-formats can be sensitive to calendar-date-style.
4551 (diary-outlook-formats): Simplify the default setting.
4552 (diary-from-outlook-internal): Pass subject and body as arguments.
4553 Use dolist rather than dotimes. Don't save the diary buffer.
4554 (diary-from-outlook-gnus, diary-from-outlook-rmail):
4555 Pass subject and body as explicit arguments to the -internal function.
4557 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4559 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
4560 parsing them. This makes mailto:...?subject=foo\nbar work.
4562 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4564 * vc/diff.el (diff): Fix last change.
4566 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4568 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
4569 (pcase--dontcare-upats): New var.
4570 (pcase-let, pcase-let*): Generate better code.
4571 Accept the same bodies as `let'.
4572 (pcase-dolist): New macro.
4573 (pcase--trivial-upat-p): New helper function.
4574 (pcase--expand): Strip leading "(let nil" if any.
4576 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4578 * mail/mailclient.el (browse-url): Require.
4579 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
4580 use the external browser function to send the mail (bug#7469).
4582 * net/browse-url.el (browse-url-browser-function): Revert the
4583 default back to the previous value, since the new value broke
4585 (browse-url-mailto-function): New variable for mailto: URLs.
4586 (browse-url): Use the new variable for mailto: URLs.
4588 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4590 * eshell/esh-cmd.el (eshell-parse-command):
4591 * eshell/esh-arg.el (eshell-parse-arguments):
4592 * eshell/em-script.el (eshell-source-file):
4593 Use with-silent-modifications.
4595 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4597 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
4598 for a merge location.
4600 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
4601 (vc-bzr-merge-branch): Always prompt.
4602 (vc-bzr-async-command): Use the full branch filename.
4604 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4606 * shell.el (shell): Use current-buffer by default if it's already
4607 a shell mode buffer and its process is dead.
4608 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
4610 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
4612 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4613 Mention that the keywords should be comma separated.
4615 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4617 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
4618 Accept optional prefix arg meaning to prompt for a command.
4619 (vc-update): Use vc-BACKEND-pull if available. Accept optional
4620 prefix arg meaning to prompt for a command.
4621 (vc-pull): Alias for vc-update.
4623 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
4624 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
4625 (vc-bzr-merge-branch): New functions, implementing merge-branch
4626 and pull operations.
4628 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4630 * Makefile.in: Fix up last merge.
4632 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
4633 (diff-sentinel): Get them as arguments instead.
4634 (diff-old-file, diff-new-file, diff-extra-args): Remove.
4635 (diff-file-local-copy, diff-better-file-name): New funs.
4636 (diff-no-select): Rename from diff-into-buffer.
4637 Support buffers additionally to files. Move `buf' arg. Don't display buf.
4638 Prefer closures to buffer-local variables.
4639 (diff): Adjust accordingly.
4640 (diff-buffer-with-file): Move from files.el.
4641 * files.el (diff-buffer-with-file): Move to vc/diff.el.
4642 (diff-buffer-internal): Remove.
4643 (diff-buffer-buffer): Remove.
4644 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
4645 the buffer name used, and so as not to mess up windows and frames.
4647 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
4649 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
4650 (diff-buffer-internal): New function extracted from diff-buffer-with-file
4651 (diff-buffer-with-file): Use it.
4652 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
4655 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
4657 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
4658 \ref's or \pageref's value as default instead of initial input.
4660 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
4662 * files.el (backup-by-copying-when-mismatch): The default value is
4665 * startup.el (normal-top-level):
4666 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4667 `backup-by-copying-when-mismatch'.
4669 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4671 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
4673 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4675 * progmodes/python.el (python-font-lock-keywords):
4676 Highlight top-level augmented assignments (Bug#6445).
4678 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4680 * term/ns-win.el (ns-right-control-modifier)
4681 (ns-right-command-modifier): Defvar them.
4683 * cus-start.el (all): Add ns-right-control-modifier and
4684 ns-right-command-modifier (Bug#7458).
4686 2010-11-20 Glenn Morris <rgm@gnu.org>
4688 * emacs-lisp/authors.el (authors-ignored-files)
4689 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
4691 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4693 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
4694 (report-emacs-bug-parse-query-results)
4695 (report-emacs-bug-create-existing-bugs-buffer): Pass through
4696 keywords used for querying the bug database to show them in the
4697 existing bugs buffer.
4699 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
4701 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
4703 * info.el (info-tool-bar-map): Add some :vert-only keywords.
4705 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4707 * international/characters.el (glyphless-char-display-control):
4708 Make it a defcustom, with update-glyphless-char-display as its
4710 (top level): Don't call update-glyphless-char-display.
4712 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
4714 Sync with Tramp 2.2.0.
4716 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
4717 `file-remote-p' (due to compatibility).
4719 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
4720 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
4722 * net/trampver.el: Update release number.
4724 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4726 * faces.el (glyphless-char): Define value for `pc'.
4728 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4730 Implemented a bug querying mechanism.
4731 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
4732 (report-emacs-bug-create-existing-bugs-buffer)
4733 (report-emacs-bug-parse-query-results)
4734 (report-emacs-bug-query-existing-bugs): New functions.
4736 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
4738 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
4739 a \ref{} or \pageref{} macro, then use its value as initial input.
4741 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4743 * calc/calc-units.el (math-build-units-table-buffer):
4744 calc/README: Mention that the TeX specific units won't use the
4745 `tex' prefix in TeX mode.
4746 calc/calc-lang.el (math-variable-table): Don't use the `tex'
4747 prefix for units in TeX mode.
4749 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4751 * simple.el (kill-new, kill-append, kill-region):
4752 * comint.el (comint-kill-region): Make the yank-handler argument
4755 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4757 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
4758 that are both openers (resp. closers) and something else.
4759 (smie-grammar): Loosen definition of valid values.
4760 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
4761 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
4762 (smie-indent-after-keyword): Adjust users.
4763 (smie-indent-keyword): Don't indent empty lines.
4765 * vc-hg.el (vc-hg-program): New var.
4766 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
4767 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
4769 2010-11-18 Glenn Morris <rgm@gnu.org>
4771 * emacs-lisp/autoload.el (autoload-find-destination): The function
4772 coding-system-eol-type may return non-numeric values. (Bug#7414)
4774 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
4776 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
4778 2010-11-18 Eli Zaretskii <eliz@gnu.org>
4780 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
4782 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
4784 * textmodes/picture.el (picture-mouse-set-point): Don't use
4785 posn-col-row; explicitly compute the motion based on the posn at
4786 the window-start (Bug#7390).
4788 2010-11-18 Glenn Morris <rgm@gnu.org>
4790 * novice.el (disabled-command-function):
4791 Fix 2009-11-15 change. (Bug#7384)
4793 2010-11-18 Glenn Morris <rgm@gnu.org>
4795 * calendar/calendar.el (diary-iso-date-forms): Make elements
4796 mutually exclusive. (Bug#7377)
4798 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4800 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
4801 when filling the remaining "unconstrained" values.
4803 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4805 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
4808 * files.el (safe-local-variable-p): Gracefully handle errors.
4810 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
4811 Use smie-indent-virtual when indenting relative to an opener.
4812 (smie-rule-separator): Use smie-rule-parent.
4813 (smie-indent-keyword): Consult rules, even for openers at bol.
4814 (smie-indent-comment-close): Try to align closer's content.
4816 2010-11-18 Glenn Morris <rgm@gnu.org>
4818 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4820 2010-11-18 Glenn Morris <rgm@gnu.org>
4822 * printing.el (pr-menu-bind): Doc fix.
4824 * speedbar.el (speedbar-toggle-images): Doc fix.
4826 * progmodes/python.el (python-shell): Doc fix.
4828 * wid-edit.el (widget-field-use-before-change)
4829 (widget-use-overlay-change): Doc fixes.
4831 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4833 Minor cleanup to improve style.
4834 * textmodes/rst.el (rst-update-section): Use point-marker.
4835 (rst-get-decoration): Eliminate unneeded assignment.
4836 (rst-promote-region, rst-straighten-decorations)
4837 (rst-section-tree, rst-adjust): Use point-marker.
4838 (rst-toc-mode-mouse-goto): Avoid setq.
4839 (rst-shift-region-guts, rst-shift-region-left)
4840 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4841 (rst-convert-bullets-to-enumeration): Use copy-marker.
4843 * minibuffer.el (completion-fail-discreetly): New var.
4844 (completion--do-completion): Use it.
4846 * electric.el (electric-pair-pairs): New var.
4847 (electric-pair-post-self-insert-function): Use it.
4848 (electric-layout-post-self-insert-function): Don't insert a before
4849 newline unless it's actually needed.
4851 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4853 * progmodes/python.el (run-python): Explain why we remove the current
4854 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
4856 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4858 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4860 * progmodes/octave-mod.el: Rely on elecric-*-modes.
4861 (octave-mode-map): Don't bind ;, SPC, and LF.
4862 (octave-auto-indent, octave-auto-newline): Remove.
4863 (electric-layout-rules): Declare.
4864 (octave-mode): Set electric-layout-rules.
4865 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4866 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4867 (octave-electric-space): Remove.
4869 * electric.el (electric-layout-mode): New minor mode.
4870 (electric--after-char-pos): New function.
4871 (electric-indent-post-self-insert-function): Use it.
4872 (electric-layout-rules): New var.
4873 (electric-layout-post-self-insert-function): New function.
4874 (electric-indent-mode): Make them interact better.
4876 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4878 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4879 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4880 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4882 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
4884 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4885 Make sure to check inside the word (Bug#6761).
4887 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
4889 * startup.el (command-line): If the cursorColor resource is set,
4890 change the cursor face-spec (Bug#7392).
4892 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
4894 The main features of the following allout.el changes are:
4895 - implement user customization for the allout key bindings
4896 - add a customization control by which the user can inhibit use of
4897 a trailing Ctrl-H, so by default it's reserved for use with
4898 describe-prefix-bindings
4899 - adapt to new version of called-interactively-p, while
4900 maintaining backwards compatibility with old version
4901 - fix hotspot navigation so i works properly with meta-modified keys.
4903 * allout.el (allout-keybindings, allout-bind-keys)
4904 (allout-keybindings-binding, allout-prefixed-keybindings)
4905 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4906 (allout-keybindings-list, allout-mode-map-adjustments)
4907 (allout-setup-mode-map): Establish allout-mode keymaps as user
4908 customizable settings, and also establish a customizable setting which
4909 regulates whether or not a trailing control-h is reserved for use with
4910 describe-prefix-bindings - and inhibit it by default, so that control-h
4911 *is* reserved for describe-prefix-bindings unless the user changes it.
4913 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4914 and accurately between modified and unmodified events, and handle
4915 modified events more comprehensively.
4917 * allout.el (allout-substring-no-properties):
4918 Alias to use or provide version of `substring-no-properties'.
4919 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4921 * allout.el (allout-next-single-char-property-change):
4922 Alias to use or provide version of `next-single-char-property-change'.
4923 (allout-annotate-hidden, allout-hide-by-annotation):
4924 Use `allout-next-single-char-property-change'.
4926 * allout.el (allout-select-safe-coding-system):
4927 Alias to use or provide version of `select-safe-coding-system'.
4928 (allout-toggle-subtree-encryption):
4929 Use `allout-select-safe-coding-system'.
4931 * allout.el (allout-set-buffer-multibyte):
4932 Alias to use or provide version of `set-buffer-multibyte'.
4933 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4935 * allout.el (allout-called-interactively-p): Macro for using the
4936 different versions of called-interactively-p identically, depending on
4937 the subroutine's argument signature.
4938 (allout-back-to-current-heading, allout-beginning-of-current-entry):
4939 Use `(interactive "p")' instead of `(called-interactively-p)'.
4941 * allout.el (allout-init, allout-ascend, allout-end-of-level)
4942 (allout-previous-visible-heading, allout-forward-current-level)
4943 (allout-backward-current-level, allout-show-children):
4944 Use `allout-called-interactively-p' instead of `called-interactively-p'.
4946 * allout.el (allout-before-change-handler):
4947 Exempt edits to the (overlaid) character after the allout outline
4948 bullet from edit confirmation prompt.
4950 * allout.el (allout-add-resumptions):
4951 Ensure that it respects correct buffer for keybindings.
4953 * allout.el (allout-beginning-of-line):
4954 Use `allout-previous-single-char-property-change' alias for the sake of
4955 diverse compatibility.
4957 * allout.el (allout-end-of-line):
4958 Use `allout-mark-active-p' to encapsulate respect for mark activity.
4960 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
4962 * frame.el (frame-notice-user-settings): Don't clobber other
4963 user-set parameters when calling face-set-after-frame-default in
4964 response to background-color parameter (Bug#7373).
4966 2010-11-13 Eli Zaretskii <eliz@gnu.org>
4968 * international/characters.el (glyphless-char-display-control):
4969 Rename from glyphless-char-control; all users changed. Doc fix.
4970 Signal an error if display method is not one of the recognized
4973 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
4975 * net/tramp-compat.el (tramp-compat-line-beginning-position)
4976 (tramp-compat-line-end-position): Remove them.
4978 * net/tramp.el (tramp-parse-rhosts-group)
4979 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4980 (tramp-parse-hosts-group, tramp-parse-passwd-group)
4981 (tramp-parse-netrc-group, tramp-parse-putty-group)
4982 * net/tramp-cmds.el (tramp-append-tramp-buffers)
4983 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4984 (tramp-sh-handle-file-selinux-context)
4985 (tramp-sh-handle-file-name-all-completions)
4986 (tramp-sh-handle-insert-directory)
4987 (tramp-sh-handle-expand-file-name, tramp-find-executable)
4988 (tramp-wait-for-output, tramp-send-command-and-read)
4989 * net/tramp-smb.el (tramp-smb-read-file-entry)
4990 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4992 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4994 (tramp-remote-coding-commands): Add an alternative using "base64
4995 -d -i". This is needed for older base64 versions from GNU
4996 coreutils. Reported by Klaus Reichl
4997 <Klaus.Reichl@thalesgroup.com>.
4999 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
5001 * simple.el (count-words-region): New function.
5003 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5005 * shell.el (shell-dir-cookie-re): New custom variable.
5006 (shell-dir-cookie-watcher): New function.
5008 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
5009 and compilation-mode (bug#7350).
5011 * vc/smerge-mode.el (smerge-refine): Choose better default part to
5012 highlight when one of them is empty.
5014 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
5016 (skeleton-newline): New function.
5017 (skeleton-internal-1): Use it.
5019 * simple.el (open-line): `newline' may strip trailing space.
5021 2010-11-12 Kevin Ryde <user42@zip.com.au>
5023 * international/mule-cmds.el (princ-list): Use mapc.
5025 2010-11-12 Glenn Morris <rgm@gnu.org>
5027 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
5028 Use it to replace all instances of "*Compile-Log*".
5030 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5032 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
5035 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5037 * progmodes/modula2.el: Use SMIE and skeleton.
5038 (m2-mode-syntax-table): (*..*) can be nested.
5039 Add //...\n. Fix paren syntax.
5040 (m2-mode-map): Remove LF and TAB bindings.
5041 (m2-indent): Add safety property.
5042 (m2-smie-grammar): New var.
5043 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
5044 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
5045 (m2-mode): Use define-derived-mode.
5046 (m2-newline, m2-tab): Remove.
5047 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
5048 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
5049 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
5050 (m2-import): Use define-skeleton.
5052 2010-11-11 Glenn Morris <rgm@gnu.org>
5054 * obsolete/lucid.el: Don't warn about any CL functions in this file.
5056 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
5057 (ls-lisp-verbosity): Add custom :set-after property.
5058 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
5059 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
5060 (ls-lisp-insert-directory): Update caller.
5061 (ls-lisp-set-options): New function.
5062 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
5065 * play/landmark.el (lm-prompt-for-move):
5066 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
5068 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
5070 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
5071 (idlwave-study-twins): Prefix dynamic local variable `name'.
5072 (idlwave-routine-twin-compare): Update for above change.
5074 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
5075 Prefix dynamic local variables `name', `kwd', and `link'.
5076 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
5077 * progmodes/idlw-complete-structtag.el
5078 (idlwave-complete-structure-tag-help):
5079 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
5080 (idlwave-complete-sysvar-tag-help)
5081 (idlwave-complete-class-structure-tag-help):
5082 Update for above name changes.
5084 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5086 * net/browse-url.el (browse-url-browser-function): Change the
5087 default to use `browse-url-mail' on mailto: URLs.
5089 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
5091 * emacs-lisp/package.el (package-read-all-archive-contents):
5092 Reset package-archive-contents to nil before re-reading.
5094 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
5096 * textmodes/flyspell.el (flyspell-word): Do not re-check words
5097 already found as misspellings by (flyspell-large-region), just
5098 do highlighting (bug#7322).
5100 2010-11-10 Glenn Morris <rgm@gnu.org>
5102 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
5104 * emulation/edt.el (edt-with-position): New macro.
5105 (edt-find-forward, edt-find-backward, edt-find-next-forward)
5106 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
5107 (edt-paragraph-forward, edt-paragraph-backward): Use it.
5109 * emulation/tpu-extras.el (tpu-with-position): New macro.
5110 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
5112 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
5114 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
5115 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
5116 (texinfo-master-menu, texinfo-insert-node-lines)
5117 (texinfo-multiple-files-update):
5118 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
5119 Use line-beginning-position.
5121 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
5122 No recent Emacs supports system-type `emx'.
5124 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
5125 (ada-command-separator, ada-default-prj-properties)
5126 (ada-find-any-references): Update for above name change.
5128 * dirtrack.el (dirtrack-directory-function)
5129 (dirtrack-canonicalize-function):
5130 * filecache.el (file-cache-completion-ignore-case)
5131 (file-cache-case-fold-search, file-cache-ignore-case):
5132 * term.el (serial-port-is-file-p): Cosmetic change.
5134 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
5135 Remove non-existent `windows-95' system-type.
5136 * dired.el (dired-chown-program): Remove non-existent `linux'
5139 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
5140 (ping-program-options): Remove non-existent `linux' system-type.
5142 * startup.el (package-initialize): Update declaration.
5144 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
5145 (ls-lisp-handle-switches): Use time-less-p.
5146 (ls-lisp-format-time): Use float-time.
5148 * textmodes/remember.el (remember-time-to-seconds): Remove.
5149 (remember-store-in-mailbox): Use float-time.
5151 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
5153 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
5154 never a real function.
5155 (with-no-warnings): Remove compat stub, now unused.
5156 (time-less-p): Doc fix.
5157 (time-to-number-of-days): Simplify.
5159 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
5161 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
5162 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
5163 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
5164 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
5165 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
5167 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
5168 (eshell-shuffle-files, eshell-shorthand-tar-command)
5169 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
5170 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
5171 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
5172 Prefix dynamic local variable `matches'.
5174 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
5175 Prefix dynamic local variable `skeleton'.
5177 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
5179 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
5180 in mail buffer; make yank-action always a command that yanks original
5183 2010-11-09 Glenn Morris <rgm@gnu.org>
5185 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
5187 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5189 * minibuffer.el (minibuffer-completion-help): Specify the end of the
5190 completion field (bug#7211).
5192 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
5193 Fix handling of backslash escapes.
5194 (python-quote-syntax): Adjust accordingly.
5196 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
5198 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
5199 (vc-mtn-workfile-branch): Adjust to new output format.
5201 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5203 * international/mule-cmds.el (princ-list): Mark as obsolete.
5205 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5207 * emacs-lisp/smie.el: New package.
5209 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
5211 * files.el (backup-by-copying-when-mismatch):
5212 Set `permanent-local' property.
5214 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
5215 `permanent-local' property for `backup-by-copying-when-mismatch'.
5217 2010-11-09 Eli Zaretskii <eliz@gnu.org>
5219 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
5221 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
5223 * progmodes/verilog-mode.el (verilog-insert-one-definition)
5224 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
5225 AUTOINOUT for SV style multidimensional arrays, bug294.
5226 Reported by Eric Mastromarchi.
5227 (verilog-preprocess): Use with-current-buffer and
5228 font-lock-fontify-buffer to cleanup style issues.
5230 2010-11-09 Glenn Morris <rgm@gnu.org>
5232 * locate.el (locate, locate-mode): Doc fixes.
5234 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
5236 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
5237 user for confirmation.
5238 (server-force-stop): Use it.
5239 (server-start): Use server-force-stop for kill-emacs-hook, to
5240 avoid user interaction while killing Emacs.
5242 2010-11-09 Glenn Morris <rgm@gnu.org>
5244 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
5245 (meta-indent-line): Simplify.
5247 * vc/emerge.el (emerge-line-number-in-buf):
5248 * textmodes/ispell.el (ispell-region):
5249 * textmodes/fill.el (current-fill-column):
5250 * progmodes/xscheme.el (xscheme-send-current-line):
5251 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
5252 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
5253 * progmodes/sh-script.el (sh-handle-prev-do):
5254 * progmodes/meta-mode.el (meta-indent-line):
5255 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
5257 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
5258 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
5259 * progmodes/fortran.el (fortran-looking-at-if-then):
5260 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
5261 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
5262 (cperl-find-pods-heres):
5263 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
5264 * net/quickurl.el (quickurl-list-insert):
5265 * net/ldap.el (ldap-search-internal):
5266 * net/eudc.el (eudc-expand-inline):
5267 * mail/sendmail.el (sendmail-send-it):
5268 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
5269 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
5270 (viper-brac-function):
5271 * calc/calc-yank.el (calc-do-grab-region):
5272 * calc/calc-keypd.el (calc-keypad-press):
5273 * term.el (term-move-columns, term-insert-spaces):
5274 * speedbar.el (speedbar-highlight-one-tag-line):
5275 * simple.el (current-word):
5276 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
5277 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
5279 * hippie-exp.el (he-line-beg):
5280 * epa.el (epa--marked-keys):
5281 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
5282 (dired-update-file-line, dired-add-entry, dired-remove-entry)
5283 (dired-relist-entry):
5284 * buff-menu.el (Buffer-menu-buffer):
5285 * array.el (current-line):
5286 * allout.el (allout-resolve-xref)
5287 (allout-latex-verbatim-quote-curr-line):
5288 Replace yet more uses of end-of-line etc with line-end-position, etc.
5290 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5292 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
5293 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
5294 (checkdoc-syntax-table): Initialize in the declaration.
5295 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
5296 the mode on unconditionally.
5298 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
5299 (extent-end-position, extent-start-position): Remove setf method for
5300 non-existing functions (bug#7319).
5302 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5304 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
5305 (smie-precs->prec2): Rename from smie-precs-precedence-table.
5306 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
5307 (smie-prec2->grammar): Rename from smie-prec2-levels.
5308 (smie-grammar): Rename from smie-op-levels.
5309 (smie-indent--hanging-p): Rename from smie-hanging-p.
5310 (smie-rule-hanging-p): New alias.
5311 (smie-indent--bolp): Rename from smie-bolp.
5312 (smie-indent--hanging-p): New alias.
5313 (smie--token): New dynamically bound variable.
5314 (smie-indent--parent): New function.
5315 (smie-rule-parent-p): Use it; rename from smie-parent-p.
5316 (smie-rule-next-p): Rename from smie-next-p.
5317 (smie-rule-prev-p): Rename from smie-prev-p.
5318 (smie-rule-sibling-p, smie-rule-parent)
5319 (smie-indent--separator-outdent, smie-rule-separator): New functions.
5320 (smie-rule-separator-outdent): New var.
5321 (smie-indent--rule): Merge with smie-indent--column.
5322 (smie-indent-forward-token, smie-indent-backward-token):
5323 Also recognize close parens.
5324 (smie-indent-keyword): Don't use smie-indent--column any more.
5325 (smie-indent-after-keyword): Ignore closers by default.
5326 (smie-indent-line): Use with-demoted-errors.
5327 * progmodes/octave-mod.el (octave-smie-grammar):
5328 Rename from octave-smie-op-levels.
5329 (octave-smie-rules): Adjust to new behavior.
5330 * progmodes/prolog.el (prolog-smie-grammar):
5331 Rename from prolog-smie-op-levels.
5333 2010-11-07 Glenn Morris <rgm@gnu.org>
5335 * eshell/esh-util.el (subst-char-in-string)
5336 (directory-files-and-attributes): These compatibility definitions are
5337 not needed on any version of Emacs since at least 21.4.
5339 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
5340 (verilog-get-end-of-line): Remove.
5341 (verilog-within-string, verilog-re-search-forward-substr)
5342 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
5343 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
5344 Use point-at-bol, point-at-eol.
5345 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
5347 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
5348 (electric-pascal-terminate-line, pascal-set-auto-comments)
5349 (pascal-indent-paramlist, pascal-indent-declaration)
5350 (pascal-get-lineup-indent, pascal-func-completion)
5351 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
5352 Use point-at-bol, point-at-eol.
5353 * progmodes/flymake.el (flymake-line-beginning-position)
5354 (flymake-line-end-position): Remove.
5355 (flymake-highlight-line): Use point-at-bol, point-at-eol.
5356 * eshell/esh-util.el (line-end-position, line-beginning-position):
5357 Remove compat definitions.
5359 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
5361 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
5362 Use line-end-position.
5364 * emacs-lisp/chart.el (chart-zap-chars):
5365 * play/decipher.el (decipher-set-map):
5366 * progmodes/ada-mode.el (ada-get-current-indent)
5367 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
5368 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
5369 * progmodes/ada-xref.el (ada-initialize-runtime-library)
5370 (ada-get-all-references):
5371 * progmodes/cperl-mode.el (cperl-electric-paren)
5372 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
5373 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
5374 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
5375 (cperl-word-at-point-hard):
5376 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
5377 (idlwave-shell-filename-string, idlwave-shell-batch-command)
5378 (idlwave-shell-display-line):
5379 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
5380 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
5381 * progmodes/js.el (js--re-search-forward-inner)
5382 (js--re-search-backward-inner):
5383 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
5384 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
5385 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
5386 * textmodes/flyspell.el (flyspell-process-localwords):
5387 * textmodes/ispell.el (ispell-buffer-local-parsing)
5388 (ispell-buffer-local-dict, ispell-buffer-local-words):
5389 Use point-at-bol and point-at-eol.
5391 * speedbar.el (speedbar-generic-item-info)
5392 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
5393 (speedbar-add-indicator, speedbar-check-vc-this-line)
5394 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
5395 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
5396 Replace more uses of end-of-line etc with line-end-position.
5398 2010-11-06 Glenn Morris <rgm@gnu.org>
5400 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
5401 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
5402 (texinfo-delete-existing-pointers, texinfo-find-pointer)
5403 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
5404 (texinfo-multiple-files-update):
5405 * textmodes/table.el (table--probe-cell-left-up)
5406 (table--probe-cell-right-bottom):
5407 * textmodes/picture.el (picture-tab-search):
5408 * textmodes/page-ext.el (pages-copy-header-and-position)
5409 (pages-directory-for-addresses):
5410 * progmodes/vera-mode.el (vera-get-offset):
5411 * progmodes/simula.el (simula-calculate-indent):
5412 * progmodes/python.el (python-pdbtrack-overlay-arrow):
5413 * progmodes/prolog.el (end-of-prolog-clause):
5414 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
5415 * progmodes/icon.el (indent-icon-exp):
5416 * progmodes/etags.el (tag-re-match-p):
5417 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
5418 * progmodes/ebnf2ps.el (ebnf-begin-file):
5419 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
5420 (dcl-save-local-variable):
5421 * play/life.el (life-setup):
5422 * play/gametree.el (gametree-looking-at-ply):
5423 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
5424 * mail/sendmail.el (mail-mode-auto-fill):
5425 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
5426 * emacs-lisp/edebug.el (edebug-overlay-arrow):
5427 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
5428 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
5429 (woman-tab-to-tab-stop, WoMan-warn-ignored):
5430 * type-break.el (type-break-file-keystroke-count):
5431 * term.el (term-replace-by-expanded-history-before-point)
5432 (term-skip-prompt, term-extract-string):
5433 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
5434 (speedbar-contract-line, speedbar-toggle-line-expansion)
5435 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
5436 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
5437 * sort.el (sort-skip-fields):
5438 * skeleton.el (skeleton-internal-list):
5439 * simple.el (line-move-finish, line-move-to-column):
5440 * shell.el (shell-forward-command):
5441 * misc.el (copy-from-above-command):
5442 * makesum.el (double-column):
5443 * ebuff-menu.el (electric-buffer-update-highlight):
5444 * dired.el (dired-move-to-end-of-filename):
5445 * dframe.el (dframe-popup-kludge):
5446 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
5447 * arc-mode.el (archive-get-lineno):
5448 Use line-end-position and line-beginning-position.
5450 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
5451 (idlwave-study-twins): Prefix dynamic local `class'.
5452 (idlwave-routine-twin-compare): Update for above name change.
5454 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
5455 Use boundp tests to silence compiler. Update for changed name of
5456 bytecomp-filename variable.
5458 * emulation/viper-cmd.el (viper-read-string-with-history):
5459 Prefix dynamic local `initial'.
5460 (viper-minibuffer-standard-hook): Update for above name change.
5462 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
5463 (elint-init-form): Update for above name change.
5465 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
5466 local variables `cbeg' and `cend' a prefix.
5467 (mail-extr-voodoo): Update for above name change.
5469 * textmodes/reftex-toc.el (reftex-toc-do-promote)
5470 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
5471 (reftex-toc-promote-action): Doc fix.
5473 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
5474 `prompt', `data' a prefix.
5475 (reftex-select-post-command-hook, reftex-select-callback)
5476 (reftex-select-mouse-accept, reftex-select-read-cite):
5477 Update for above name changes.
5479 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
5480 `refstyle' to reftex-refstyle.
5481 (reftex-offer-label-menu): Update for above name change.
5482 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
5483 `refstyle' name change.
5485 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
5486 with with-current-buffer.
5487 (diff, template): Give dynamic local variables a prefix.
5488 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
5489 (emerge-line-number-in-buf): Update for above name change.
5490 (emerge-combine-versions-internal): Rename local `template' to
5491 emerge-combine-template.
5492 (emerge-combine-versions-edit): Update for above name change.
5494 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
5496 * textmodes/reftex-cite.el
5497 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
5498 entries with whitespace after \bibitem.
5499 (reftex-create-bibtex-file): Match entries containing numbers and
5500 symbol constituents. Make sure that entries with whitespace at
5501 various places are found.
5503 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
5505 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
5507 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
5509 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
5511 2010-11-05 Glenn Morris <rgm@gnu.org>
5513 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
5514 (woman2-roff-buffer): Give local variable `request' a prefix.
5515 (woman0-macro): Rename argument `request' in the same way.
5516 (woman-request): New name for `request' dynamic variable.
5517 (woman-unquote, woman-forward-arg): Update for above name change.
5518 (woman1-roff-buffer): Give local variable `unquote' a prefix.
5519 (woman1-unquote): New name for `unquote' dynamic variable.
5520 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
5521 (woman-translations): Rename from `translations'. No longer global.
5522 (woman2-tr, woman-translate): Update for above name change.
5523 (woman-translate): Check for bound variable.
5524 (woman2-roff-buffer): Give local variable `translations' a prefix.
5526 * play/doctor.el: Give all local variables a prefix. Update callers.
5527 (doc$, doctor-put-meaning): Use backquote.
5529 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
5530 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
5532 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
5533 variables bytes, ptr, op a prefix.
5534 (disassemble-offset): Update for above change.
5536 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5538 * emacs-lisp/package.el (package-unpack): Remove no-op.
5539 (package--builtins, package--dir): Doc fix.
5540 (package-activate-1, package-activate, package-install)
5541 (package-compute-transaction): Fix error message.
5542 (package-delete): Use delete-directory. Omit system packages.
5543 (package-initialize): Set package-alist to nil first.
5544 (package-menu-mark-delete, package-menu-mark-install): Don't add
5545 symbols that are inconsistent with the package state.
5546 (package-menu-execute): Perform deletions and installations as
5547 single batch operations.
5549 2010-11-03 Glenn Morris <rgm@gnu.org>
5551 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
5552 (props): Remove unnecessary declaration.
5554 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
5555 set-process-query-on-exit-flag.
5557 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
5558 (reftex-toc-do-promote): Remove unused local `mpos'.
5559 (reftex-toc-restore-region): Make `mpos' local to this function.
5561 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
5563 * play/landmark.el (lm-losing-threshold): Correct spelling.
5564 (lm-human-plays): Use new name.
5566 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
5567 (gomoku-human-plays): Use new name.
5569 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
5570 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
5571 (gomoku-score-trans-table, gomoku-winning-threshold)
5572 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
5574 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5576 * emacs-lisp/package.el: Don't put built-in packages in
5577 package-alist, to avoid loading inefficiencies.
5578 (package-built-in-p): Make VERSION optional, and treat it as a
5579 minimum acceptable version.
5580 (package-activate): Search separately for built-in packages.
5581 Emit a warning if a dependency fails.
5582 (define-package): Handle most common case, where there is no
5583 obsolete package, first.
5584 (package-compute-transaction): Print required version in error.
5585 (package--initialized): New variable.
5586 (list-packages): Use it.
5587 (package-initialize): Optional arg NO-ACTIVATE. Don't put
5588 built-in packages in packages-alist; keep it separate.
5589 Set package--initialized.
5590 (describe-package): Avoid activating packages as a side-effect.
5591 Search separately for built-in packages.
5592 (describe-package-1): Handle the case where an elpa package is
5593 simultaneously built-in and available/installed.
5594 (package-installed-p, package--generate-package-list):
5595 Search separately for built-in packages.
5596 (package-load-descriptor): Doc fix.
5598 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5600 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5601 Handle __DATA__ and __END__.
5603 2010-11-02 Noah Friedman <friedman@splode.com>
5605 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
5606 nil, do not ask to recompile files that are not already compiled,
5607 and do not recompile them.
5609 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
5611 * emacs-lisp/package.el (package-initialize): Ensure that
5612 obsoleted built-in packages are not in package-activated-list
5614 (describe-package-1): Make the "installed" status override
5617 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5619 * subr.el (version-separator, version-regexp-alist): Remove '*'
5621 (version-list-<=, version<=, version=): Doc fix.
5623 2010-11-01 Kenichi Handa <handa@m17n.org>
5625 * faces.el (glyphless-char): Inherit underline for tty.
5627 2010-11-01 Kenichi Handa <handa@m17n.org>
5629 Implement various display methods for glyphless characters.
5631 * international/characters.el (char-acronym-table): New variable.
5632 (glyphless-char-control): New variable.
5633 (update-glyphless-char-display): New function.
5635 * faces.el (glyphless-char): New face.
5637 2010-11-01 Glenn Morris <rgm@gnu.org>
5639 * calendar/holidays.el (general-holidays, oriental-holidays)
5640 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
5641 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
5642 the definitions of their targets.
5644 * emacs-lisp/smie.el (smie): New custom group.
5645 (smie-blink-matching-inners, smie-indent-basic): Add :group.
5647 * faces.el (xw-defined-colors, x-setup-function-keys):
5648 * mouse-sel.el (x-select-text):
5649 * term/w32console.el (x-setup-function-keys): Update declarations.
5651 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
5653 * textmodes/ispell.el (comment-add): Declare.
5655 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
5658 * info.el (finder-keywords-hash, package-alist): Declare.
5660 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5662 * finder.el (finder-compile-keywords): Don't use intern-soft,
5663 since package names may not yet exist in the obarray.
5665 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5667 * vc/vc-arch.el (vc-arch-checkin):
5668 * vc/vc-cvs.el (vc-cvs-checkin):
5669 * vc/vc-mtn.el (vc-mtn-checkin):
5670 * vc/vc-rcs.el (vc-rcs-checkin):
5671 * vc/vc-sccs.el (vc-sccs-checkin):
5672 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
5673 since 2010-04-21 commit by Stefan Monnier.
5675 2010-11-01 Glenn Morris <rgm@gnu.org>
5677 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
5679 * startup.el (package-enable-at-startup, package-initialize):
5682 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
5685 2010-10-31 Julien Danjou <julien@danjou.info>
5687 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
5688 (byte-recompile-directory):
5689 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
5690 Use `byte-recompile-file'.
5692 2010-10-31 Glenn Morris <rgm@gnu.org>
5694 * cus-start.el: Handle standard values via a keyword.
5695 Only set version property if specified.
5696 (cursor-in-non-selected-windows, menu-bar-mode)
5697 (tool-bar-mode, show-trailing-whitespace):
5698 Do not specify standard values.
5699 (transient-mark-mode, temporary-file-directory): Use :standard.
5701 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
5703 * term/x-win.el (x-get-selection-value): New function that gets
5704 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
5706 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
5708 * net/tramp.el (tramp-handle-insert-file-contents): For root,
5709 preserve owner and group when editing files. (Bug#7289)
5711 2010-10-31 Glenn Morris <rgm@gnu.org>
5713 * speedbar.el (speedbar-mode):
5714 * play/fortune.el (fortune-in-buffer, fortune):
5715 * play/gomoku.el (gomoku-mode):
5716 * play/landmark.el (lm-mode):
5717 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
5718 Replace inappropriate uses of toggle-read-only. (Bug#7292)
5720 * select.el (x-selection): Mark it as an obsolete alias.
5722 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5724 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
5725 major-mode (bug#7284).
5727 2010-10-31 Glenn Morris <rgm@gnu.org>
5729 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
5730 rather than just an unused variable that inherits from the real one.
5732 2010-10-31 Alan Mackenzie <acm@muc.de>
5734 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
5735 This fixes bug #7185.
5737 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
5739 * startup.el (command-line): Search for package directories, and
5740 don't load package.el if none are found.
5742 * emacs-lisp/package.el (describe-package, list-packages):
5743 Call package-initialize if it has not been called yet.
5745 2010-10-30 Alan Mackenzie <acm@muc.de>
5747 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
5748 which fontifies the tail of an enum.
5749 (c-basic-matchers-after): Insert a call to the above new function.
5750 This fixes bug #7264.
5752 2010-10-30 Glenn Morris <rgm@gnu.org>
5754 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
5755 tool-bar-mode, transient-mark-mode. (Bug#7306)
5756 Include the :set property in the dumped Emacs.
5758 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5760 SMIE: change indent rules format, improve smie-setup.
5761 * emacs-lisp/smie.el (smie-precs-precedence-table)
5762 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
5763 Mark them pure so the tables gets built at compile time.
5764 (smie-bnf-precedence-table): Store the closer-alist in the table.
5765 (smie-prec2-levels): Preserve the closer-alist.
5766 (smie-blink-matching-open): Be more forgiving in case of indentation.
5767 (smie-hanging-p): Rename from smie-indent--hanging-p.
5768 (smie-bolp): Rename from smie-indent--bolp.
5769 (smie--parent, smie--after): New dynamic vars.
5770 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
5771 (smie-indent-rules): Remove.
5772 (smie-indent--offset-rule): Remove fun.
5773 (smie-rules-function): New var.
5774 (smie-indent--rule): New fun.
5775 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
5776 (smie-indent-exps): Use it.
5777 (smie-setup): Setup paren blinking; add keyword args for token
5778 functions; extract closer-alist from op-levels.
5779 (smie-indent-debug-log): Remove var.
5780 (smie-indent-debug): Remove fun.
5781 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
5782 (prolog-smie-rules): New fun to replace it.
5783 (prolog-mode-variables): Simplify.
5784 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
5785 it's setup automatically.
5786 (octave-smie-indent-rules): Remove.
5787 (octave-smie-rules): New fun to replace it.
5788 (octave-mode): Simplify.
5790 2010-10-29 Glenn Morris <rgm@gnu.org>
5792 * files.el (temporary-file-directory): Remove (already defined in C).
5793 * cus-start.el: Add temporary-file-directory.
5795 * abbrev.el (abbrev-mode):
5796 * composite.el (auto-composition-mode):
5797 * menu-bar.el (menu-bar-mode):
5798 * simple.el (transient-mark-mode):
5799 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5800 that they do not define the associated variables twice.
5801 * simple.el (transient-mark-mode): Remove defvar.
5802 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5803 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5804 Handle multiple groups, and also custom-delayed-init-variables.
5805 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5807 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5809 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5810 (pcase-if): Add one minor optimization.
5811 (pcase-split-equal): Rename from pcase-split-eq.
5812 (pcase-split-member): Rename from pcase-split-memq.
5813 (pcase-u1): Add strings to the member optimization.
5814 Add `guard' variant of predicates.
5815 (pcase-q1): Add string patterns.
5817 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5819 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5821 2010-10-28 Glenn Morris <rgm@gnu.org>
5823 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5824 Move menu-bar related settings to ../menu-bar.el.
5825 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5826 Move ns-specific settings here from term/ns-win.el.
5828 * simple.el (x-selection-owner-p): Remove unused declaration.
5830 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5832 * minibuffer.el (completion-cycling): New var (bug#7266).
5833 (minibuffer-complete, completion--do-completion):
5834 Use completion--flush-all-sorted-completions.
5835 (minibuffer-complete): Only cycle if completion-cycling is set.
5836 (completion--flush-all-sorted-completions): Unset completion-cycling.
5837 (minibuffer-force-complete): Set completion-cycling.
5838 (completion-all-sorted-completions): Move declaration before first use.
5840 2010-10-28 Leo <sdl.web@gmail.com>
5842 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5843 which changes the order of matches seen by users (bug#7231).
5845 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
5847 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5848 Don't confuse -omega as "-o mega".
5850 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
5852 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5853 (log-edit-author): New dynamic var.
5854 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5855 to return the author if different from committer.
5856 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5858 * play/landmark.el: Adjust commenting convention.
5859 (lm-nil-score): Rename from nil-score.
5860 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5861 (OOOOscore): Move into a let in lm-score-trans-table.
5862 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5864 * electric.el (electric-indent-chars): Autoload.
5865 * progmodes/octave-mod.el (octave-mode):
5866 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5867 (ruby-mode-abbrev-table): Merge initialization and declaration.
5869 2010-10-27 Glenn Morris <rgm@gnu.org>
5871 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5874 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5876 * term/ns-win.el: Restore require of cl when compiling.
5877 (menu-bar-final-items): Remove non-existent `windows' menu.
5878 (ns-handle-nxopen): Optionally handle the temp-case.
5879 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5880 (ns-insert-file, ns-find-file): Use `pop'.
5882 2010-10-26 Glenn Morris <rgm@gnu.org>
5884 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5886 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
5888 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5890 * term/common-win.el (x-setup-function-keys): Remove most of the
5891 keymappings. Comment on the remaining ones.
5893 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
5895 * server.el (server-port): New option. (Bug#854)
5896 (server-start): Use server-port.
5898 2010-10-26 Glenn Morris <rgm@gnu.org>
5900 * term/ns-win.el (ns-version-string): Remove unused declaration.
5901 (ns-invocation-args): Change to x-invocation-args.
5902 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5903 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5904 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5905 Use x-invocation-args instead of ns-invocation-args.
5906 (ns-initialize-window-system, handle-args-function-alist):
5907 Use x-handle-args instead of ns-handle-args.
5908 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5909 * startup.el (command-line-ns-option-alist): Replace
5910 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5911 ns-handle-iconic with the x- equivalents.
5913 * term/common-win.el (x-select-enable-clipboard):
5914 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5916 * term/ns-win.el: No need to require cl when compiling.
5917 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5918 (xw-defined-colors): Use the common-win definitions.
5919 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5920 (ns-handle-iconic): Make it an alias for x-handle-iconic.
5921 * term/common-win.el (x-select-text, x-alternatives-map)
5922 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5923 * loadup.el [ns]: Load common-win.
5925 2010-10-26 Daiki Ueno <ueno@unixuser.org>
5927 * epa-mail.el (epa-mail-encrypt): Handle local-part only
5928 recipients; expand mail aliases (Bug#7280).
5930 2010-10-25 Glenn Morris <rgm@gnu.org>
5932 * term/common-win.el (x-handle-switch): Simplify with pop.
5933 Optionally handle numeric switches.
5934 (x-handle-numeric-switch): Just call x-handle-switch.
5935 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5936 (x-handle-name-switch, x-handle-display, x-handle-args):
5939 * term/ns-win.el: Do not require easymenu.
5940 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5941 <spell>: Move adjustments to menu-bar.el.
5942 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5943 <separator-undo, spell>: Move ns-win's adjustments here.
5944 * loadup.el [ns]: Do not load easymenu.
5946 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5948 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5951 * startup.el (fancy-startup-tail): Instead of using inline images,
5952 refer to image files from etc/.
5954 * wid-edit.el (checkbox): Likewise.
5955 (widget-image-find): Center image specs.
5957 2010-10-24 Glenn Morris <rgm@gnu.org>
5959 * term/ns-win.el (x-select-text): Doc fix.
5960 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5961 (x-select-text): Move to term/common-win.
5962 * term/w32-win.el (xw-defined-colors): Move to common-win.
5963 * term/x-win.el (xw-defined-colors, x-alternatives-map)
5964 (x-setup-function-keys, x-select-text): Move to common-win.
5965 * term/common-win.el (x-select-text, x-alternatives-map)
5966 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5969 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
5971 * net/mairix.el (mairix-searches-mode-map):
5972 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5974 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
5976 * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5977 auto-built for efficiency of execution and updating.
5978 (verilog-extended-complete-re): Support 'pure' fucntion & task
5979 declarations (these have no bodies).
5980 (verilog-beg-of-statement): General cleanup to enable support of
5981 'pure' fucntion & task declarations (these have no bodies).
5982 These efforts together fix Verilog bug210 from veripool; which was also
5983 noticed by Steve Pearlmutter.
5984 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5985 (verilog-directive-nest-re, verilog-set-auto-endcomments):
5986 Support `elsif. Reported by Shankar Giri.
5987 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5988 attribute handling for lining up declarations and assignments.
5989 (verilog-beg-of-statement-1): Fix issue where continued declaration
5990 is indented differently if it is after a begin..end clock.
5991 (verilog-in-attribute-p, verilog-skip-backward-comments)
5992 (verilog-skip-forward-comment-p): Support proper treatment of
5993 attributes by indent code. Reported by Jeff Steele.
5994 (verilog-in-directive-p): Fix comment to correctly describe function.
5995 (verilog-backward-up-list, verilog-in-struct-region-p)
5996 (verilog-backward-token, verilog-in-struct-p)
5997 (verilog-in-coverage-p, verilog-do-indent)
5998 (verilog-pretty-declarations): Use verilog-backward-up-list as
5999 wrapper around backward-up-list inorder to properly skip comments.
6000 Reported by David Rogoff.
6001 (verilog-property-re, verilog-endcomment-reason-re)
6002 (verilog-beg-of-statement, verilog-set-auto-endcomments)
6003 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
6004 of if). Reported by Max Bjurling and
6005 (verilog-calc-1): Fix for clocking block in modport
6006 declaration. Reported by Brian Hunter.
6008 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
6010 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
6011 (verilog-gate-keywords, verilog-read-sub-decls)
6012 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
6013 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
6014 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
6015 (verilog-read-decls): Fix spaces in V2K module parameters causing
6016 mis-identification as interfaces, bug287.
6017 (verilog-read-decls): Fix not treating "parameter string" as a
6018 parameter in AUTOINSTPARAM.
6019 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
6020 treating `elsif similar to `endif inside AUTOSENSE.
6021 (verilog-do-indent): Implement correct automatic or static task or
6022 function end comment highlight. Reported by Steve Pearlmutter.
6023 (verilog-font-lock-keywords-2): Fix highlighting of single
6024 character pins, bug264. Reported by Michael Laajanen.
6025 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
6026 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
6027 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
6028 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
6029 (verilog-pretty-expr): Fix interactive arguments, bug272.
6030 Reported by Mark Johnson.
6031 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
6032 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
6033 bug269. Suggested by Gary Delp.
6034 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
6035 (verilog-preprocessor, verilog-set-compile-command):
6036 Create verilog-preprocess and verilog-preprocessor to show
6037 preprocessed output.
6038 (verilog-get-beg-of-line, verilog-get-end-of-line)
6039 (verilog-modi-file-or-buffer, verilog-modi-name)
6040 (verilog-modi-point, verilog-within-string): Move defmacro's
6041 before first use to avoid warning. Reported by Steve Pearlmutter.
6042 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
6043 (verilog-colorize-region, verilog-highlight-buffer)
6044 (verilog-highlight-includes, verilog-highlight-modules)
6045 (verilog-highlight-region, verilog-mode): Rename colorize to
6046 highlight to match other packages. Disable module highlighting,
6047 as received speed complaints, reenable for experimentation only
6048 using new verilog-highlight-modules.
6049 (verilog-read-decls): Fix regexp stack overflow in very large
6050 AUTO_TEMPLATEs, bug250.
6051 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
6052 (verilog-scan): Create verilog-save-buffer-state to standardize
6053 making insignificant changes that shouldn't call hooks.
6054 (verilog-save-no-change-functions, verilog-save-scan-cache)
6055 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
6056 Create verilog-save-no-change-functions to wrap verilog-scan
6057 preservation, and fix to work with nested preserved calls.
6058 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
6059 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
6060 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
6061 (verilog-submit-bug-report): Update variable list to be complete.
6062 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
6063 breaking on-the-fly font-locking.
6064 (verilog-colorize-buffer, verilog-colorize-include-files)
6065 (verilog-colorize-include-files-buffer, verilog-colorize-region)
6066 (verilog-load-file-at-mouse, verilog-load-file-at-point)
6067 (verilog-mode, verilog-read-inst-module-matcher): With point on a
6068 AUTOINST cell instance name, middle mouse button now finds-file on
6069 it. Suggested by Brad Dobbie.
6070 (verilog-alw-get-temps, verilog-auto-reset)
6071 (verilog-auto-sense-sigs, verilog-read-always-signals)
6072 (verilog-read-always-signals-recurse): Fix loop indexes being
6073 AUTORESET. AUTORESET now assumes any variables in the
6074 initialization section of a for() should be ignored.
6075 Reported by Dan Dever.
6076 (verilog-error-font-lock-keywords)
6077 (verilog-error-regexp-emacs-alist)
6078 (verilog-error-regexp-xemacs-alist): Fix error detection of
6079 Cadence HAL, reported by David Asher. Repair drift between the
6080 three similar error variables.
6081 (verilog-modi-lookup, verilog-modi-lookup-cache)
6082 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
6083 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
6084 Fix slow verilog-auto expansion on very large files.
6085 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
6086 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
6087 "{1*2{...". Broke in last revision.
6088 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
6089 submodule connections with replications "{#{a},#{b}}".
6091 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
6093 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
6094 Fix typo in docstring.
6096 2010-10-24 Kenichi Handa <handa@m17n.org>
6098 * face-remap.el (text-scale-adjust): Call read-event with a proper
6101 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6103 * emacs-lisp/unsafep.el: Don't mark functions that display
6104 messages as safe. Suggested by Johan Bockgård.
6106 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6108 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
6109 Turn comments into docstrings.
6111 * minibuffer.el (completion--replace): Move point where it belongs
6112 when there's a common suffix (bug#7215).
6114 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6116 Merge read-color and facemenu-read-color (Bug#7242).
6118 * faces.el (read-color): Use the completion code from
6119 facemenu-read-color. Require match in completion. Doc fix.
6121 * facemenu.el (facemenu-read-color): Alias for read-color.
6122 (facemenu-set-foreground, facemenu-set-background):
6125 * frame.el (set-background-color, set-foreground-color)
6126 (set-cursor-color, set-mouse-color, set-border-color):
6129 2010-10-24 Leo <sdl.web@gmail.com>
6131 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
6132 argument of delete-file and delete-directory (Bug#7011).
6134 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6136 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
6139 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
6141 * emacs-lisp/package.el (package--generate-package-list): Make the
6142 *Packages* buffer read-only.
6144 2010-10-24 Alan Mackenzie <acm@muc.de>
6146 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
6147 result of `c-beginning-of-decl-1' between invocations of a lambda
6148 function (Bug #7265).
6150 2010-10-24 Daiki Ueno <ueno@unixuser.org>
6152 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
6153 executable is not available on the system (Bug#7268).
6155 2010-10-24 Glenn Morris <rgm@gnu.org>
6157 * select.el (selection-coding-system, next-selection-coding-system):
6158 Sync doc with C versions.
6160 * w32-vars.el (x-select-enable-clipboard):
6161 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
6162 * term/common-win.el (x-select-enable-clipboard): Move here.
6164 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
6165 definition of C variable.
6167 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
6168 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
6169 Don't redefine things that are defined in C.
6170 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
6171 (show-trailing-whitespace, auto-hscroll-mode)
6172 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
6173 Set up the appropriate custom properties.
6175 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6178 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
6179 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
6180 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
6181 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
6183 2010-10-23 Glenn Morris <rgm@gnu.org>
6185 * textmodes/flyspell.el (flyspell-mode): If there was an error,
6188 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
6189 Sync docs with C version.
6191 * term/ns-win.el (xw-defined-colors):
6192 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
6194 * term/pc-win.el (x-select-enable-clipboard):
6195 * term/x-win.el (x-select-enable-clipboard):
6196 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
6198 * comint.el (comint-password-prompt-regexp): Make it less vague.
6201 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
6203 * help.el (finder-by-keyword): Remove unnecessary autoload.
6205 2010-10-22 Glenn Morris <rgm@gnu.org>
6207 * loadup.el: Unconditionally load float-sup.
6208 * paren.el (show-paren-delay):
6209 * emacs-lisp/float-sup.el:
6210 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
6211 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
6212 (lazy-lock-stealth-verbose): Assume float support.
6213 * ps-print.el: Assume float support on Emacs.
6214 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
6215 Remove non-float branch.
6217 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
6218 src/Makefile no longer being pre-processed.
6220 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6222 * emacs-lisp/find-func.el (find-library): Use test-completion.
6224 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6226 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
6228 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
6230 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
6231 space in stat format string.
6232 (tramp-send-command): Unset $PS1 when using here documents, in
6233 order not to get several prompts.
6234 (tramp-get-inline-coding): Return `nil' in case of errors.
6236 2010-10-21 Daiki Ueno <ueno@unixuser.org>
6238 * hexl.el (hexl-mode, hexl-mode-exit):
6239 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
6240 (hexl-revert-buffer-function): New function.
6241 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
6243 2010-10-19 Alan Mackenzie <acm@muc.de>
6245 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
6246 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
6247 that these keywords aren't wrongly matched as identifiers.
6249 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
6250 setting of c-new-BEG and c-new-END from c-before-change to
6251 c-after-change. (Bug#7181)
6253 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
6255 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
6258 * custom.el (custom-theme-set-variables): Likewise.
6259 (load-theme): Add custom-theme-set-faces and
6260 custom-theme-set-variables to safe-functions while loading.
6261 (custom-enabled-themes): Mark as risky.
6263 2010-10-18 Julien Danjou <julien@danjou.info>
6265 * bindings.el: Remove end dashes in default mode-line-format.
6267 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
6269 * bindings.el (global-map): Bind C-d to delete-char and deletechar
6270 to delete-forward-char.
6272 * simple.el (normal-erase-is-backspace-mode): Remap delete to
6273 deletechar, and hence delete-forward-char.
6275 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6277 * repeat.el (repeat): Use read-key (bug#6256).
6279 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
6281 * emacs-lisp/unsafep.el: Don't mark functions that display
6282 messages as safe. Suggested by Johan Bockgård.
6284 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6286 * minibuffer.el (completion--replace): Move point where it belongs
6287 when there's a common suffix (bug#7215).
6289 2010-10-19 Kenichi Handa <handa@m17n.org>
6291 * international/characters.el: Add category '|' (word breakable)
6292 to fullwidth characters.
6294 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
6296 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
6297 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
6298 order to make stat results a float. Patch by Andreas Schwab
6299 <schwab@linux-m68k.org>.
6301 2010-10-18 Julien Danjou <julien@danjou.info>
6303 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
6304 hidden by `make-pointer-invisible'.
6306 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6308 * files.el (locate-file-completion-table): Strip non-matching elements
6309 before checking length of list (bug#7238).
6311 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
6313 * custom.el (custom-theme-set-variables): Mark as a safe function.
6314 (load-theme): Check forms using unsafep.
6316 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
6318 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
6320 * textmodes/ispell.el (ispell-aspell-find-dictionary):
6321 Fix aspell data file searching (bug#7230).
6323 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6325 * cus-theme.el (custom-theme--migrate-settings): New var.
6326 (customize-create-theme): Allow editing the `user' theme.
6327 (custom-theme-add-variable, custom-theme-add-var-1)
6328 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
6329 to the front of each variable or face widget.
6330 (custom-theme-write): Save theme settings in the correct order.
6331 Optionally, remove saved settings from user customizations.
6332 (custom-theme-write-variables, custom-theme-write-faces):
6333 Save only the checked widgets.
6334 (customize-themes): Add a link for migrating custom settings.
6336 * custom.el (custom-declare-theme, provide-theme):
6337 Use custom-theme-name-valid-p.
6338 (custom-theme-name-valid-p): Remove checks that are now
6339 unnecessary since themes no longer obey load-path.
6341 * cus-edit.el (custom-variable-value-create): For the simple
6342 style, hide documentation string when hidden.
6344 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6346 * cus-edit.el (custom-variable, custom-face): Combine the
6347 :inhibit-magic and :display-style properties into a single
6348 :custom-style property.
6349 (custom-toggle-hide-variable, custom-toggle-hide-face):
6350 New functions. If hiding an edited value, save it to :shown-value.
6351 (custom-variable-value-create, custom-face-value-create): Use them.
6352 (custom-magic-reset): Allow magic property to be unset.
6354 * custom.el: Custom themes no longer use load-path.
6355 (custom-theme-load-path): New option. Change built-in theme
6357 (custom-enabled-themes): Add custom-theme-load-path dependency.
6358 (custom-theme--load-path): New function.
6359 (load-theme, custom-available-themes): Use it.
6361 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
6362 (customize-themes): Link to custom-theme-load-path variable.
6363 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
6364 :custom-style property.
6366 * themes/*.el: Moved to etc/.
6368 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
6370 * textmodes/reftex-cite.el
6371 (reftex-extract-bib-entries-from-thebibliography): Do not move
6372 point when searching for \bibitem entries. Match entries with
6373 spaces or tabs in front of arguments.
6375 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6377 * cus-theme.el (customize-create-theme): Delete overlays after
6378 erasing. If given a THEME arg, display only the faces of that arg
6379 instead of custom-theme--listed-faces.
6380 (custom-theme-variable-menu, custom-theme-variable-action)
6381 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
6382 (custom-theme-add-variable, custom-theme-add-face): Apply value
6383 from the theme settings, instead of the current value.
6384 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
6385 (custom-theme-visit-theme): Allow calling outside theme buffers.
6386 (custom-theme-merge-theme): Don't enable the theme when merging.
6387 (custom-theme-write-variables, custom-theme-write-faces): Use the
6388 :shown-value properties to save buffer values, not global ones.
6389 (customize-themes): Display a warning about user customizations.
6391 * cus-edit.el (custom-variable-value-create)
6392 (custom-face-value-create): Obey new special properties
6393 :shown-value and :inhibit-magic.
6395 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
6397 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6398 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
6401 2010-10-14 Kenichi Handa <handa@m17n.org>
6403 * mail/rmail.el (rmail-show-message-1): Catch an error of
6404 base64-decode-region and just show an error message (bug#7165).
6406 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
6407 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
6408 a font-spec (bug#7197).
6410 2010-10-14 Glenn Morris <rgm@gnu.org>
6412 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
6414 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
6416 * international/mule.el (define-coding-system):
6417 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
6418 * composite.el (compose-region): Fix typo in docstring.
6420 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
6422 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
6423 only after checking the theme-face property.
6425 * faces.el (face-spec-reset-face): Reset all attributes in one
6426 single call to set-face-attribute.
6427 (face-spec-match-p): Make it a defsubst.
6428 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
6429 (x-create-frame-with-faces, tty-create-frame-with-faces)
6430 (tty-set-up-initial-frame-faces): Don't recompute face specs in
6431 frame-set-background-mode, since they are recomputed immediately
6432 afterwards in face-set-after-frame-default.
6433 (face-set-after-frame-default): Minor optimization.
6434 (cursor): Provide non-trivial defface spec.
6436 * custom.el (custom-theme-recalc-face): Simplify.
6438 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
6440 * calc/calc-alg.el (math-var): Rename from `var'.
6441 (math-is-polynomial, math-is-poly-rec): Replace `var'
6444 * calc/calcalg2.el (math-var): Rename from `var'.
6445 (calcFunc-table, math-scan-for-limits): Replace `var'
6448 2010-10-13 Glenn Morris <rgm@gnu.org>
6450 * subr.el (last): Deal with dotted lists (reported in bug#7174).
6452 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
6454 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
6456 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6458 * net/tls.el (tls-program): Remove spurious %s from openssl.
6459 (tls-starttls-switches): Remove starttls hack.
6460 (open-tls-stream): Ditto.
6461 (tls-find-starttls-argument): Ditto.
6463 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
6465 * image.el (image-library-alist): Declare as obsolete alias.
6466 (image-type-available-p): Use `dynamic-library-alist'.
6468 * term/w32-win.el (dynamic-library-alist):
6469 Use instead of `image-library-alist'.
6471 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
6473 * subr.el (last): Make it faster. (Bug#7174)
6475 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
6477 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
6479 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6481 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
6482 (describe-theme-1): Extract doc from unloaded themes.
6484 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
6486 * themes/tango-theme.el:
6487 * themes/tango-dark-theme.el:
6488 * themes/wheatgrass-theme.el: New files.
6490 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6492 * cus-theme.el (describe-theme, customize-themes)
6493 (custom-theme-save): New commands.
6494 (custom-new-theme-mode-map): Bind C-x C-s.
6495 (custom-new-theme-mode): Use custom--initialize-widget-variables.
6496 (customize-create-theme): New optional arg THEME.
6497 (custom-theme-revert): Use it.
6498 (custom-theme-visit-theme): Remove dead code.
6499 (custom-theme-merge-theme): Use custom-available-themes.
6500 (custom-theme-write): Make interactive.
6501 (custom-theme-write): Use custom-theme-name-valid-p.
6502 (describe-theme-1, custom-theme-choose-revert)
6503 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
6505 (custom-theme-allow-multiple-selections): New option.
6506 (custom-theme-choose-mode): New major mode.
6508 * custom.el (custom-theme-set-variables): Remove dead code.
6509 Obey custom--inhibit-theme-enable.
6510 (custom--inhibit-theme-enable): New var.
6511 (provide-theme): Obey it.
6512 (load-theme): Replace load with manual read/eval, in order to
6513 check for correctness. Use custom-theme-name-valid-p.
6514 (custom-theme-name-valid-p): New function.
6515 (custom-available-themes): Use it.
6517 * cus-edit.el (custom--initialize-widget-variables): New function.
6518 (Custom-mode): Use it.
6520 * cus-face.el (custom-theme-set-faces): Remove dead code.
6521 Obey custom--inhibit-theme-enable.
6523 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
6525 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
6527 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
6529 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
6531 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
6532 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
6533 (mac-right-option-modifier): New alias for ns-right-option-modifier.
6535 * cus-start.el (all): ns-right-alternate-modifier is new.
6537 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6539 * emacs-lisp/lisp.el (lisp-completion-at-point):
6540 Use emacs-lisp-mode-syntax-table for the whole function.
6542 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
6544 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
6545 instead of font-lock-mode before adding keywords.
6546 Remove hi-lock-mode off code. Remove inhibit hack.
6547 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
6548 non-nil; removed hook inhibit hack.
6550 2010-10-12 Glenn Morris <rgm@gnu.org>
6552 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
6553 (load-path-shadows-find): ... to this.
6554 (list-load-path-shadows): Update for above change.
6556 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
6558 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
6560 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
6561 Fix comment for declare-function.
6563 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
6565 * custom.el (custom-fix-face-spec): New function; code moved from
6566 custom-face-edit-fix-value.
6567 (custom-push-theme): Use it when checking if a face has been
6568 changed outside customize.
6569 (custom-available-themes): New function.
6570 (load-theme): Use it.
6572 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
6574 * custom.el (custom-push-theme): Cleanup (use cond).
6575 (disable-theme): Recompute the saved-face property.
6576 (custom-theme-recalc-face): Follow face alias before setting prop.
6578 * image.el (image-checkbox-checked, image-checkbox-unchecked):
6579 New variables, containing checkbox images.
6581 * startup.el (fancy-startup-tail):
6582 * wid-edit.el (checkbox): Use them.
6584 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
6586 * shell.el (shell-mode-map):
6587 * progmodes/modula2.el (m2-mode-map):
6588 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
6589 * play/mpuz.el (mpuz-mode-map):
6590 * play/landmark.el (lm-mode-map):
6591 * play/decipher.el (decipher-mode-map):
6592 * play/5x5.el (5x5-mode-map):
6593 * net/telnet.el (telnet-mode-map):
6594 * net/quickurl.el (quickurl-list-mode-map):
6595 * net/mairix.el (mairix-searches-mode-map):
6596 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
6597 * net/dig.el (dig-mode-map):
6598 * mail/mspools.el (mspools-mode-map):
6599 * hexl.el (hexl-mode-map):
6600 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
6601 (wordstar-C-o-map, wordstar-C-q-map):
6602 * emacs-lisp/edebug.el (edebug-eval-mode-map):
6603 * emacs-lisp/chart.el (chart-map):
6604 * edmacro.el (edmacro-mode-map):
6605 * erc/erc-list.el (erc-list-menu-mode-map):
6606 * array.el (array-mode-map): Declare and define in one step.
6608 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
6610 2010-10-10 Daiki Ueno <ueno@unixuser.org>
6612 * epa.el (epa-passphrase-callback-function): Display filename
6613 passed as the 3rd arg.
6614 * epa-file.el (epa-file-passphrase-callback-function):
6615 Pass filename to epa-passphrase-callback-function.
6617 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
6619 * cus-edit.el (custom-face-widget-to-spec)
6620 (custom-face-get-current-spec, custom-face-state): New functions.
6621 (custom-face-set, custom-face-mark-to-save)
6622 (custom-face-value-create, custom-face-state-set): Use them.
6624 * cus-theme.el (custom-theme--listed-faces): New var.
6625 (customize-create-theme): Use *Custom Theme* as the buffer name.
6626 Set revert-buffer-function. Optional arg BUFFER. Insert all
6627 faces listed in custom-theme--listed-faces.
6628 (custom-theme-revert): New function.
6629 (custom-theme-add-variable, custom-theme-add-face): Insert at the
6631 (custom-theme-write): Prompt for theme name if empty.
6632 (custom-theme-write-variables): Use dolist.
6633 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
6635 2010-10-09 Alan Mackenzie <acm@muc.de>
6637 Enhance fontification of declarators to take account of the
6638 presence/absence of "typedef".
6640 * cc-engine.el (c-forward-type): New &optional param
6642 (c-forward-decl-or-cast-1): cdr of return value now indicates the
6643 presence of either or both of a "struct"-like keyword and "typedef".
6645 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
6646 fontification of declarators which follow a "}".
6647 (c-font-lock-declarations): Fontify declarators according to the
6648 presence/absence of "typedef".
6650 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
6652 (c-typedef-decl-key): New lang variable built from
6653 c-typedef-decl-kwds.
6655 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
6657 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
6658 since that's too annoying. Move the filter groups commands to
6661 * epa.el (epa-passphrase-callback-function): Say what we're
6662 querying the password for.
6664 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
6665 behaviour, don't bury the ibuffer buffer when visiting other buffers.
6667 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6669 * cus-edit.el (custom-commands, custom-buffer-create-internal)
6670 (custom-magic-value-create): Pad button tags with spaces.
6671 (custom-face-edit): New variable.
6672 (custom-face-value-create): Determine whether to use the usual
6673 face editor here, instead of using custom-face-selected.
6674 Pass face defaults to custom-face-edit widget.
6675 (custom-face-selected, custom-display-unselected): Delete widgets.
6676 (custom-display-unselected-match): Function removed.
6677 (custom-face-set, custom-face-mark-to-save):
6678 Accept custom-face-edit widgets as the direct widget child.
6680 * wid-edit.el (widget--completing-widget): New var.
6681 (widget-default-complete): Bind it when doing completion.
6682 (widget-string-complete, widget-file-complete): Use it.
6684 2010-10-09 Glenn Morris <rgm@gnu.org>
6686 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
6687 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
6688 (holiday-hebrew-misc): Small simplifications.
6690 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
6692 * net/browse-url.el: Don't require thingatpt, term, dired,
6693 executable, or w3-auto when compiling.
6694 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
6696 (browse-url-text-emacs): Require term.
6698 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
6700 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
6702 2010-10-08 Glenn Morris <rgm@gnu.org>
6704 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
6706 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
6707 (shadows-compare-text-p): Make it an obsolete alias for...
6708 (load-path-shadows-compare-text): ... new name.
6709 (find-emacs-lisp-shadows): Update for above name change.
6710 (load-path-shadows-same-file-or-nonexistent): New name for the old
6711 shadow-same-file-or-nonexistent.
6713 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6715 * minibuffer.el (completion--some, completion--do-completion)
6716 (minibuffer-complete-and-exit, minibuffer-completion-help)
6717 (completion-basic-try-completion)
6718 (completion-basic-all-completions)
6719 (completion-pcm--find-all-completions): Use lexical-let to
6720 avoid some false matches in variable completion (Bug#7056)
6722 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
6724 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
6726 2010-10-08 Leo <sdl.web@gmail.com>
6728 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
6729 return non-nil if the file exists (Bug#7090).
6731 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6733 * minibuffer.el (completion--replace):
6734 Better preserve markers (bug#7138).
6736 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
6738 * server.el (server-process-filter): Doc fix.
6740 2010-10-08 Drew Adams <drew.adams@oracle.com>
6742 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
6744 2010-10-08 Glenn Morris <rgm@gnu.org>
6746 * vc/ediff-wind.el (ediff-setup-control-frame):
6747 * vc/ediff-ptch.el (ediff-default-backup-extension):
6748 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
6749 (ediff-exec-process): Remove system-types emx, windows-95.
6751 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
6753 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
6755 * cus-edit.el (custom-variable, custom-face): Doc fix.
6756 (custom-face-edit): Add value-create attribute.
6757 (custom-face-edit-value-create)
6758 (custom-face-edit-value-visibility-action): New functions.
6759 Hide unused face attributes by default, and add a visibility toggle.
6760 (custom-face-edit-deactivate): Show empty values with shadow face.
6761 (custom-face-selected): Only use this for face specs with default
6763 (custom-face-value-create): Cleanup.
6765 * wid-edit.el (widget-checklist-value-create): Use dolist.
6766 (widget-checklist-match-find): Make second arg optional.
6768 2010-10-07 Glenn Morris <rgm@gnu.org>
6770 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
6773 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
6774 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
6775 load-path-shadows-mode, update references.
6776 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
6777 Rename variable and button.
6778 (list-load-path-shadows): Update button caller.
6780 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6782 * emacs-lisp/smie.el (smie-bnf-classify): New function.
6783 (smie-bnf-precedence-table): Use it to remember the closers/openers.
6784 (smie-merge-prec2s): Handle those new entries.
6785 (smie-prec2-levels): Only set precedence to nil for actual
6787 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
6788 that is now unnecessary.
6790 2010-10-07 Miles Bader <miles@gnu.org>
6792 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
6794 2010-10-07 Glenn Morris <rgm@gnu.org>
6796 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6797 (mail-position-on-field): Remove declarations.
6798 (mail-position-on-field): Autoload it.
6799 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6800 and mail-header-end. Don't require sendmail.
6802 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6803 (shadow-mode): New mode.
6804 (shadow-find-file): New button.
6805 (list-load-path-shadows): Use shadow-mode and buttons.
6807 * iimage.el (iimage-version): Remove.
6808 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6809 Turn into defcustoms.
6810 (iimage-mode-map): Give it a doc string.
6812 * calendar/appt.el (appt-activate): Give a warning rather than an error
6813 if there is no diary-file.
6815 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
6817 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6818 Use `tramp-handle-find-backup-file-name'.
6820 2010-10-06 Glenn Morris <rgm@gnu.org>
6822 * font-core.el (font-lock-defaults-alist): Remove variable.
6823 (font-lock-mode): Doc fix.
6824 (font-lock-default-function): Do not consult font-lock-defaults-alist.
6825 * font-lock.el (font-lock-refresh-defaults): Doc fix.
6826 (font-lock-set-defaults): Doc fix.
6827 Do not consult font-lock-defaults-alist.
6829 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6831 * emacs-lisp/cl.el: No longer provide cl-19.
6833 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
6835 * net/tramp.el (tramp-handle-directory-files-and-attributes)
6836 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6837 New defuns, taken from tramp-smb.el.
6838 (tramp-coding-system-change-eol-conversion)
6839 (tramp-set-process-query-on-exit-flag): Remove.
6841 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6842 (tramp-compat-coding-system-change-eol-conversion)
6843 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6846 * net/tramp-gvfs.el:
6847 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6848 by `tramp-compat-set-process-query-on-exit-flag'.
6850 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6851 Use `tramp-handle-directory-files-and-attributes',
6852 `tramp-handle-file-exists-p' and
6853 `tramp-handle-file-newer-than-file-p'.
6854 (tramp-imap-handle-file-exists-p)
6855 (tramp-imap-handle-file-executable-p)
6856 (tramp-imap-handle-file-readable-p)
6857 (tramp-imap-handle-directory-files-and-attributes)
6858 (tramp-imap-handle-file-newer-than-file-p): Remove.
6860 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6861 by `tramp-compat-set-process-query-on-exit-flag' and
6862 `tramp-coding-system-change-eol-conversion' by
6863 `tramp-compat-coding-system-change-eol-conversion'.
6865 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6866 Use `tramp-handle-directory-files-and-attributes',
6867 `tramp-handle-file-exists-p' and
6868 `tramp-handle-file-newer-than-file-p'.
6869 (tramp-smb-handle-directory-files-and-attributes)
6870 (tramp-smb-handle-file-exists-p)
6871 (tramp-smb-handle-file-newer-than-file-p): Remove.
6872 (tramp-smb-maybe-open-connection):
6873 Replace `tramp-set-process-query-on-exit-flag' by
6874 `tramp-compat-set-process-query-on-exit-flag'.
6876 2010-10-05 Glenn Morris <rgm@gnu.org>
6878 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6880 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
6882 Continue reorganization of load dependencies. (Bug#7156)
6884 * net/tramp.el (tramp-handle-file-local-copy-hook)
6885 (tramp-delete-temp-file-function): Move down.
6886 (tramp-exists-file-name-handler): Move up.
6887 (tramp-register-file-name-handlers): Simplify autoload.
6888 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6889 (tramp-handle-directory-files, tramp-handle-dired-uncache)
6890 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6891 (tramp-handle-file-name-completion)
6892 (tramp-handle-file-name-directory)
6893 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6894 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6895 (tramp-handle-find-backup-file-name)
6896 (tramp-handle-insert-file-contents, tramp-handle-load)
6897 (tramp-handle-substitute-in-file-name)
6898 (tramp-handle-unhandled-file-name-directory)
6899 (tramp-mode-string-to-int, tramp-local-host-p)
6900 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6902 * net/tramp-gvfs.el (top):
6903 * net/tramp-smb.el (top): Do not require 'tramp-sh.
6905 * net/tramp-sh.el (all): Move several objects to tramp.el, see
6906 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6908 2010-10-04 Glenn Morris <rgm@gnu.org>
6910 * calendar/appt.el (appt-add): Ensure reminders are enabled.
6911 (appt-activate): Give status messages.
6913 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6915 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
6916 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6917 `gnutls-negotiate' (formerly `starttls-negotiate').
6918 Remove trivial wrapper `starttls-open-stream'.
6920 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
6922 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6923 log-outgoing commands.
6924 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6925 to create a buffer local revert-buffer-function variable.
6926 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6927 revert-buffer-function lambda.
6929 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6931 * net/gnutls.el (starttls-negotiate): Use the plist interface to
6932 `gnutls-boot'. Make TYPE the only required parameter.
6933 Allow TRUSTFILES and KEYFILES to be lists.
6934 (open-ssl-stream): Use it.
6936 2010-10-03 Glenn Morris <rgm@gnu.org>
6938 * subr.el (directory-sep-char): Remove obsolete variable.
6939 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6942 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6943 * vc/vc.el (vc-static-header-alist): Doc fix.
6944 * vc/vc-cvs.el (vc-cvs-header):
6945 * vc/vc-rcs.el (vc-rcs-header):
6946 * vc/vc-sccs.el (vc-sccs-header):
6947 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6948 * obsolete/vc-mcvs.el (vc-mcvs-header):
6949 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6952 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6954 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6955 Remove obsolete use of binary-overwrite-mode (Bug#7001).
6957 2010-10-03 Glenn Morris <rgm@gnu.org>
6959 * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6961 * textmodes/rst.el (rst-font-lock-keywords-function):
6964 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6966 * printing.el: Drop Emacs 20 code.
6968 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6969 without having used appt.el already).
6971 * subr.el (make-local-hook): Remove function obsolete since 21.1.
6972 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6973 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6975 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6976 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6978 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6979 (charset-width, find-charset-region, chars-in-region, forward-point)
6980 (encode-coding-string, coding-system-p, ccl-execute-on-string)
6981 (define-ccl-program, multibyte-string-p, string-make-multibyte):
6982 Remove compatibility cruft (none of these are used by ps*.el).
6984 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6986 * subr.el (booleanp): Return t instead of a list (Bug#7086).
6988 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6990 * server.el (server-process-filter, server-return-error):
6991 Give emacsclient time to shut down after receiving an error string.
6993 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
6995 * files.el (remote-file-name-inhibit-cache): New defcustom.
6997 * time.el (display-time-file-nonempty-p):
6998 Use `remote-file-name-inhibit-cache'.
7000 * net/tramp.el (tramp-completion-reread-directory-timeout):
7003 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
7004 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
7005 `remote-file-name-inhibit-cache'. Check also for an integer
7006 value. Add/increase counter when `tramp-verbose' >= 10.
7007 (tramp-set-file-property): Add/increase counter when
7008 `tramp-verbose' >= 10.
7010 * net/tramp-cmds.el (tramp-cleanup-all-connections)
7011 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
7012 (tramp-bug): Set tramp-autoload cookie. Report all interned
7013 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
7014 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
7015 characters only in strings.
7017 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
7018 to backward compatibility.
7020 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
7021 (tramp-handle-file-name-all-completions)
7022 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
7023 (tramp-open-connection-setup-interactive-shell):
7024 Call `tramp-cleanup-connection' directly.
7026 2010-10-02 Glenn Morris <rgm@gnu.org>
7028 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
7030 * subr.el (char-bytes): Remove obsolete function.
7032 * isearch.el (isearch-return-char): Remove obsolete function.
7034 * mouse.el: No longer provide mldrag.
7035 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
7036 Remove obsolete aliases.
7038 * comint.el (comint-kill-output): Remove obsolete alias.
7040 * composite.el (decompose-composite-char): Remove obsolete function.
7041 * ps-def.el (decompose-composite-char): Remove unused function.
7043 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
7045 * outline.el (outline-visible): Remove obsolete function.
7047 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
7048 * faces.el (internal-find-face, internal-get-face)
7049 (frame-update-faces, frame-update-face-colors)
7050 (x-frob-font-weight, x-frob-font-slant)
7051 (internal-frob-font-weight, internal-frob-font-slant)
7052 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
7053 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
7054 (x-make-font-bold-italic): Remove functions and aliases, obsolete
7056 * emulation/viper-util.el (viper-get-face):
7057 * obsolete/lucid.el (find-face, get-face): Use facep.
7058 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
7059 Remove unused functions.
7060 * vc/ediff-util.el (ediff-submit-report): Doc fix.
7062 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
7063 delete tempfile if interrupted during compilation.
7065 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7067 * net/tls.el (tls-starttls-switches): Give up on using starttls with
7069 (tls-program): Add --insecure to be consistent with the defaults from
7070 openssl s_client. Now all three commands are insecure.
7072 2010-10-01 Eli Zaretskii <eliz@gnu.org>
7074 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
7075 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
7076 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
7078 2010-10-01 Glenn Morris <rgm@gnu.org>
7080 * obsolete/sc.el: Remove file.
7082 * files.el (temporary-file-directory): On darwin, also try
7083 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
7085 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
7087 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
7088 Let's not break compatibility gratuitously, shall we?
7090 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7092 * net/tls.el (tls-starttls-switches): New variable.
7093 (tls-find-starttls-argument): Use it.
7094 (open-tls-stream): Ditto.
7096 * net/netrc.el (netrc-credentials): Return the value of the "default"
7098 (netrc-machine): Ditto.
7100 2010-09-30 Eli Zaretskii <eliz@gnu.org>
7102 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
7104 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
7106 * server.el (server-start): Don't write pid to the authentication file.
7107 (server-create-tty-frame): Don't send pid.
7108 (server-process-filter): Send pid at the start of every connection.
7110 2010-09-30 Glenn Morris <rgm@gnu.org>
7112 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
7113 (show-all-diary-entries): Remove obsolete function aliases.
7115 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
7116 Remove options, obsolete since 22.1.
7117 (appt-display-format, appt-display-message):
7118 Remove backwards-compatibility code.
7119 (appt-check): No longer check appt-issue-message.
7120 (appt-make-list): No longer autoload it. Doc fix. No longer
7121 activate the package.
7123 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7125 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
7126 (starttls-negotiate): Just call boot, and let the handshake be
7127 triggered from the read loop.
7129 2010-09-29 Glenn Morris <rgm@gnu.org>
7131 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
7132 not displaying the diary.
7133 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
7134 * calendar/appt.el (appt-check): No longer need to kill diary.
7136 * calendar/diary-lib.el (diary-list-entries): Move the
7137 "Preparing..." message entirely here.
7138 (diary-simple-display, diary-fancy-display): Move "Preparing..."
7139 messages to diary-list-entries.
7140 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
7141 diary-display-function.
7143 * calendar/diary-lib.el (diary-include-other-diary-files):
7144 Trap some recursive includes.
7146 * calendar/appt.el (appt-activate): Check diary file.
7148 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
7150 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
7153 * calendar/time-date.el: No need to require cl for Emacs 21.
7155 2010-09-28 Glenn Morris <rgm@gnu.org>
7157 * calendar/appt.el (appt-check): Minor simplification.
7159 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
7161 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
7164 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
7166 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7167 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
7169 2010-09-27 Kenichi Handa <handa@m17n.org>
7171 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
7174 2010-09-27 Kenichi Handa <handa@m17n.org>
7176 * international/mule.el (define-coding-system): Docstring fixed.
7178 * international/mule-diag.el (describe-character-set): Use princ
7179 with proper print-length and print-level instead of insert.
7181 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
7183 * window.el (walk-windows): Doc fix (bug#7105).
7185 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7187 * emacs-lisp/float-sup.el (e): Remove.
7189 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
7191 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
7193 (starttls-negotiate): Use it.
7195 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7197 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
7200 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
7202 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
7204 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7206 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
7208 * net/netrc.el (netrc-store-data): New function.
7210 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
7212 * net/gnutls.el: GnuTLS glue code to set up a connection.
7214 2010-09-25 Julien Danjou <julien@danjou.info>
7216 * notifications.el: Call dbus-register-signal only if it is bound.
7218 2010-09-25 Glenn Morris <rgm@gnu.org>
7220 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7221 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
7222 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
7223 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
7224 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
7225 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
7226 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
7227 * eshell/esh-util.el, eshell/esh-var.el:
7228 Remove leading `*' from docs of faces and defcustoms.
7230 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
7232 * eshell/em-ls.el (eshell-ls-archive-regexp):
7233 * eshell/esh-util.el (eshell-tar-regexp):
7234 * ibuffer.el (ibuffer-compressed-file-name-regexp):
7235 * info.el (Info-suffix-list):
7236 * international/mule.el (auto-coding-alist):
7237 * woman.el (woman-file-regexp, woman-file-compression-regexp):
7238 * progmodes/etags.el (tags-compression-info-list):
7239 Support xz compression.
7241 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
7243 * files.el (get-free-disk-space): Don't assume the "df" output
7244 columns line up (Bug#6995).
7246 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
7248 * finder.el (finder-unknown-keywords):
7249 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
7250 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
7252 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
7254 * server.el (server-start): Revert part of 2010-08-08 change. Using
7255 address 127.0.0.1 for local host is now done in Fmake_network_process.
7257 2010-09-24 Glenn Morris <rgm@gnu.org>
7259 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
7260 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
7261 * textmodes/css-mode.el, textmodes/dns-mode.el:
7262 Move autoloaded auto-mode-alist entries to files.el.
7263 * files.el (auto-mode-alist): Move entries here.
7265 2010-09-23 Glenn Morris <rgm@gnu.org>
7267 * isearch.el (isearch-lazy-highlight-cleanup)
7268 (isearch-lazy-highlight-initial-delay)
7269 (isearch-lazy-highlight-interval)
7270 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
7271 * net/net-utils.el (ipconfig-program-options):
7272 Move aliases to options before the associated definitions.
7274 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7276 * newcomment.el (comment-normalize-vars): Better test validity of
7279 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7281 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
7282 (float-e): New name for `e'.
7283 (degrees-to-radians, radians-to-degrees):
7284 * calendar/solar.el (solar-longitude):
7285 * calculator.el (calculator-registers, calculator-funcall):
7286 * textmodes/artist.el (artist-spray-random-points):
7287 * play/bubbles.el (bubbles--initialize-images): Use new names.
7289 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
7291 Update to CEDET 1.0's version of EIEIO.
7293 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
7295 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
7296 (eieio-default-eval-maybe): Eval val instead of unquoting only.
7297 (class-precedence-list): If class is nil, return nil.
7298 (eieio-generic-call): If class of first input arg is nil, don't
7299 look up static methods, and do check for primary methods.
7300 (initialize-instance): See if the default needs to be evaluated
7301 during the constructor.
7302 (eieio-perform-slot-validation-for-default): Don't do the check
7303 for values that will eventually be evaluated.
7304 (eieio-eval-default-p): New function.
7305 (eieio-default-eval-maybe): Use it.
7307 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
7309 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
7310 method-invocation-order.
7311 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
7312 (eieio-class-precedence-dfs): Compute class precedence list using
7314 (eieio-class-precedence-bfs): Compute class precedence list using
7316 (eieio-class-precedence-c3): Compute class precedence list using
7318 (class-precedence-list): New function.
7319 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
7320 (inconsistent-class-hierarchy): New error symbol.
7321 (call-next-method): Stow the replacement argument list for future
7322 call-next-method invocations.
7324 2010-09-23 Glenn Morris <rgm@gnu.org>
7326 * calendar/appt.el (appt-check): If not displaying the diary,
7327 use (diary 1) to only get the entries we need.
7328 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
7329 that it is in day order. (Bug#7019)
7331 * calendar/appt.el (appt-check): Rather than showing the diary,
7332 just turn off invisible display, and only if needed.
7334 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
7336 2010-09-23 Glenn Morris <rgm@gnu.org>
7338 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7339 (byte-compile-defvar, byte-compile-cl-warn):
7340 Start warnings with lower-case, like the majority.
7342 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
7344 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
7346 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
7347 * files.el (auto-mode-alist): Move ld-script entries here, further down
7350 * vc/add-log.el: Don't require timezone when compiling.
7351 (timezone-make-date-sortable): Autoload it.
7352 (change-log-sortable-date-at): Don't require timezone.
7353 Use `ignore-errors'.
7355 * comint.el (comint-use-prompt-regexp-instead-of-fields):
7356 Move alias before definition, so it does not need autoloading.
7358 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
7359 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
7360 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
7361 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
7362 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
7363 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
7364 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
7365 * textmodes/tex-mode.el, textmodes/two-column.el:
7366 Remove leading `*' from docs of defcustoms etc.
7368 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
7370 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
7372 2010-09-22 Dan Christensen <jdc@uwo.ca>
7374 * calendar/time-date.el (date-to-time): Try using parse-time-string
7375 first before using the slower timezone-make-date-arpa-standard.
7377 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
7379 * calendar/time-date.el (format-seconds): Comment fix.
7381 2010-09-22 Glenn Morris <rgm@gnu.org>
7383 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
7384 is not automatically buffer-local.
7386 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7388 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
7389 (smie-indent-comment): Be more careful with comment-start-skip.
7390 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
7391 (smie-indent-functions): Use them.
7393 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
7395 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
7397 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
7399 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
7400 tool-bar-position. Don't modify frame parameters here.
7401 (menu-bar-options-save): Add tool-bar-position.
7403 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
7405 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7407 * textmodes/reftex-parse.el (reftex-what-macro)
7408 (reftex-context-substring): Let-bind forward-sexp-function to nil
7409 since we don't need/want to treat \begin...\end as a block (bug#7053).
7411 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
7413 * simple.el (blink-matching-open): Use syntax-class.
7415 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
7416 Set invisibility spec for pascal's outline mode.
7417 (pascal-outline-change): Clean up calling convention.
7418 (pascal-show-all, pascal-hide-other-defuns): Update callers.
7420 * progmodes/prolog.el (prolog-smie-forward-token)
7421 (prolog-smie-backward-token): New functions.
7422 (prolog-mode-variables): Use them to parse "!," correctly.
7423 Set up smie-blink-matching for ".".
7425 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
7427 (ispell-region, ispell-process-line): Update users.
7429 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
7432 * textmodes/ispell.el: Fix commenting convention.
7433 (ispell-parse-output): Simplify, use push.
7434 (ispell-region): Use match-string-no-properties.
7435 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
7436 (ispell-minor-mode): Use define-minor-mode.
7437 (ispell-message): Remove unused var `skip-regexp'.
7438 (ispell-add-per-file-word-list): Use dynamic let-binding.
7439 Try and use the proper comment marker.
7441 * mail/sendmail.el: Fix commenting convention.
7442 (sendmail-send-it): Use line-beginning-position.
7444 * help-fns.el (describe-variable): Add original value, if applicable.
7446 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
7448 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
7450 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
7452 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7454 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
7455 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
7456 (smie-prec2-levels): Use them to better diagnose precedence cycles.
7457 (smie-blink-matching-check): Don't signal a mismatch if car is t.
7458 (smie-blink-matching-open): Rewrite to remove assumptions, so that
7459 something like "." can also be a closer.
7460 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
7461 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
7462 Rename internal functions to use "--". Update callers.
7464 * frame.el (make-frame-names-alist): Don't list frames on other displays.
7466 * fringe.el (fringe-styles): New var.
7467 (fringe-mode, fringe-query-style): Use it.
7469 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
7471 * progmodes/sql.el: Version 2.8
7472 (sql-login-params): Update widget structure; changes still needed.
7473 (sql-product-alist): Add :list-all and :list-table features for
7474 SQLite, Postgres and MySQL products.
7475 (sql-redirect): Handle default value.
7476 (sql-execute, sql-execute-feature): New functions.
7477 (sql-read-table-name): New function.
7478 (sql-list-all, sql-list-table): New functions. User API.
7479 (sql-mode-map, sql-interactive-mode-map): Add key definitions
7480 for above functions.
7481 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
7482 for above functions.
7483 (sql-postgres-login-params): Add user and database defaults.
7484 (sql-buffer-live-p): Bug fix.
7485 (sql-product-history): New variable.
7486 (sql-read-product): New function. Use it.
7487 (sql-set-product, sql-product-interactive): Use it.
7488 (sql-connection-history): New variable.
7489 (sql-read-connection): New function. Use it.
7490 (sql-connect): New function.
7491 (sql-for-each-login): Redesign function interface.
7492 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
7493 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
7494 (sql-comint): Check for program. Existing live buffer.
7495 (sql-comint-postgres): Add port parameter.
7497 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7499 * emacs-lisp/warnings.el: Fix commenting convention.
7500 (display-warning): Use special mode and make the buffer read-only.
7502 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
7504 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
7505 empty string when it follows a repeated or optional pattern.
7507 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7509 * indent.el (indent-according-to-mode): Apply syntax-propertize.
7510 (indent-region): Use indent-according-to-mode.
7512 2010-09-18 Eli Zaretskii <eliz@gnu.org>
7514 * fringe.el (fringe-mode): Doc fix.
7516 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
7518 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
7519 refreshing the preview buffer.
7521 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7523 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
7524 (latex-syntax-propertize-rules): New consts; replace
7525 tex-font-lock-syntactic-keywords.
7526 (tex-env-mark, latex-env-before-change): New functions.
7527 (latex-electric-env-pair-mode): New minor mode.
7528 (tex-font-lock-verb): Change arguments; do move point.
7529 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
7530 representation as a form of comment.
7531 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
7532 (doctex-syntax-propertize-rules): New const; replaces
7533 doctex-font-lock-syntactic-keywords.
7534 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
7536 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
7537 (fortran-make-syntax-propertize-function): New function; replaces
7538 fortran-font-lock-syntactic-keywords.
7539 (fortran-mode): Use it.
7540 (fortran-line-length): Use it. Improve interactive spec.
7542 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
7543 (syntax-propertize-rules): Add var-ref case. Fix offset computation
7544 when adding surrounding \(..\).
7546 * progmodes/js.el (js-mode): Fix last change (bug#7054).
7548 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7550 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
7551 Use with-current-buffer.
7553 * isearch.el (isearch-face): Rename from `isearch'.
7554 (isearch-highlight): Use new name.
7556 2010-09-17 Eli Zaretskii <eliz@gnu.org>
7558 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
7559 5, for `half' width fringes. (Bug#6933)
7561 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7563 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
7564 (byte-compile-defvar): "foo/bar" does not lack a prefix.
7566 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
7568 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
7570 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
7571 in calculating new frame position. Add more space between new and
7572 parent on the left (Bug#7048).
7574 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
7576 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
7579 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
7581 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
7583 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
7584 obsolete alias for x-selection-value.
7586 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
7588 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
7590 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
7593 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
7595 * net/tramp-compat.el (tramp-compat-with-temp-message)
7596 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
7597 (tramp-compat-process-put): New defuns.
7599 * net/tramp.el (top):
7600 * net/tramp-gvfs.el (top):
7601 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
7603 * net/tramp.el (tramp-progress-reporter-update):
7604 Use `tramp-compat-funcall'.
7606 * net/tramp.el (tramp-process-actions):
7607 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7608 * net/tramp-sh.el (tramp-handle-vc-registered)
7609 (tramp-get-remote-stat, tramp-get-remote-readlink):
7610 Use `tramp-compat-with-temp-message'.
7612 * net/tramp-sh.el (top): Require 'cl.
7613 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
7614 (tramp-open-connection-setup-interactive-shell):
7615 Use `tramp-compat-process-put'.
7617 2010-09-15 Alan Mackenzie <acm@muc.de>
7619 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
7621 (c-forward-<>-arglist-recur): Fix an infinite recursion.
7623 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
7625 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
7626 `lexical' for warnings related to lexical scoping.
7627 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
7628 global vars which don't have a prefix and could hence affect lexical
7629 scoping in unrelated files.
7631 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7633 * net/imap.el: Revert back to version
7634 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
7637 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
7639 * obsolete/old-whitespace.el (whitespace-unload-function):
7640 Explicitly pass `obarray' to `unintern' to avoid a warning.
7642 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7644 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
7645 Add `when' argument. Update callers.
7647 * subr.el (unintern): Declare the obarray arg mandatory.
7649 2010-09-14 Glenn Morris <rgm@gnu.org>
7651 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
7654 * calendar/diary-lib.el (diary-included-files): New variable.
7655 (diary-list-entries): Maybe initialize diary-included-files.
7656 (diary-include-other-diary-files): Append to diary-included-files.
7657 * calendar/appt.el (appt-update-list): Also check the members of
7658 diary-included-files. (Bug#6999)
7659 (appt-check): Doc fix.
7661 2010-09-14 David Reitter <david.reitter@gmail.com>
7663 * simple.el (line-move-visual): Do not truncate goal column to
7664 integer size. (Bug#7020)
7666 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7668 * repeat.el (repeat): Allow repeating when the last event is a click.
7669 Suggested by Drew Adams (bug#6256).
7671 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
7673 * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
7674 Replace setting HGRCPATH to "" by some less invasive --config options.
7676 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7678 * font-lock.el (font-lock-beginning-of-syntax-function):
7681 2010-09-14 Glenn Morris <rgm@gnu.org>
7683 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
7684 and tool-bar modes. (Bug#6211)
7685 (menu-bar-mode): Move setting of standard-value after the
7686 minor-mode definition, otherwise it seems to have no effect.
7688 2010-09-14 Masatake YAMATO <yamato@redhat.com>
7690 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
7691 Fix typo. (Bug#6976)
7693 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7695 * whitespace.el: Allow cleaning up blanks without blank
7696 visualization (Bug#6651). Adjust help window for
7697 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7698 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
7699 (whitespace-style): Add new value 'face. Adjust docstring.
7700 (whitespace-space, whitespace-hspace, whitespace-tab):
7701 Adjust foreground property face.
7702 (whitespace-line-column): Adjust docstring and type declaration.
7703 (whitespace-style-value-list, whitespace-toggle-option-alist)
7704 (whitespace-help-text): Adjust const initialization.
7705 (whitespace-toggle-options, global-whitespace-toggle-options):
7707 (whitespace-display-window, whitespace-interactive-char)
7708 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7709 (whitespace-help-scroll): New fun.
7711 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
7713 * calendar/time-date.el (format-seconds): Comment fix.
7715 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
7717 * progmodes/sql.el: Version 2.7.
7718 (sql-buffer-live-p): Improve detection.
7719 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7720 (sql-set-sqli-buffer): Use it.
7721 (sql-product-interactive): Run `sql-set-sqli-hook'.
7722 (sql-rename-buffer): Code cleanup.
7723 (sql-redirect, sql-redirect-value): New functions. More to come.
7725 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
7727 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.
7728 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7729 (TRAMP_SRC): New macro.
7730 ($(lisp)/net/tramp-loaddefs.el): New target.
7732 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
7734 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
7736 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
7738 * net/tramp.el (top): Don't show loading message. Require just
7739 'tramp-compat, everything else is required there.
7740 Use `ignore-errors' where appropriate.
7741 (tramp-inline-compress-start-size, tramp-copy-size-limit)
7742 (tramp-terminal-type, tramp-end-of-output)
7743 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
7744 (tramp-completion-function-alist-ssh)
7745 (tramp-completion-function-alist-telnet)
7746 (tramp-completion-function-alist-su)
7747 (tramp-completion-function-alist-putty, tramp-remote-path)
7748 (tramp-remote-process-environment, tramp-sh-extra-args)
7749 (tramp-actions-before-shell, tramp-uudecode)
7750 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
7751 (tramp-perl-file-attributes)
7752 (tramp-perl-directory-files-and-attributes)
7753 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
7754 (tramp-perl-encode, tramp-perl-decode)
7755 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
7756 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
7757 (tramp-handle-make-symbolic-link, tramp-handle-load)
7758 (tramp-handle-file-name-as-directory)
7759 (tramp-handle-file-name-directory)
7760 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
7761 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
7762 (tramp-do-file-attributes-with-ls)
7763 (tramp-do-file-attributes-with-perl)
7764 (tramp-do-file-attributes-with-stat)
7765 (tramp-handle-set-visited-file-modtime)
7766 (tramp-handle-verify-visited-file-modtime)
7767 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
7768 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
7769 (tramp-handle-file-selinux-context)
7770 (tramp-handle-set-file-selinux-context)
7771 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
7772 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
7773 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
7774 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
7775 (tramp-handle-file-ownership-preserved-p)
7776 (tramp-handle-directory-file-name, tramp-handle-directory-files)
7777 (tramp-handle-directory-files-and-attributes)
7778 (tramp-do-directory-files-and-attributes-with-perl)
7779 (tramp-do-directory-files-and-attributes-with-stat)
7780 (tramp-handle-file-name-all-completions)
7781 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
7782 (tramp-handle-copy-file, tramp-handle-copy-directory)
7783 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
7784 (tramp-do-copy-or-rename-file-via-buffer)
7785 (tramp-do-copy-or-rename-file-directly)
7786 (tramp-do-copy-or-rename-file-out-of-band)
7787 (tramp-handle-make-directory, tramp-handle-delete-directory)
7788 (tramp-handle-delete-file)
7789 (tramp-handle-dired-recursive-delete-directory)
7790 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
7791 (tramp-handle-insert-directory)
7792 (tramp-handle-unhandled-file-name-directory)
7793 (tramp-handle-expand-file-name)
7794 (tramp-handle-substitute-in-file-name)
7795 (tramp-handle-executable-find, tramp-process-sentinel)
7796 (tramp-handle-start-file-process, tramp-handle-process-file)
7797 (tramp-handle-call-process-region, tramp-handle-shell-command)
7798 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7799 (tramp-handle-insert-file-contents)
7800 (tramp-handle-insert-file-contents-literally)
7801 (tramp-handle-find-backup-file-name)
7802 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7803 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7804 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7805 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7806 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7807 (tramp-find-file-exists-command, tramp-open-shell)
7808 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7809 (tramp-open-connection-setup-interactive-shell)
7810 (tramp-local-coding-commands, tramp-remote-coding-commands)
7811 (tramp-find-inline-encoding, tramp-call-local-coding-command)
7812 (tramp-inline-compress-commands, tramp-find-inline-compress)
7813 (tramp-compute-multi-hops, tramp-maybe-open-connection)
7814 (tramp-send-command, tramp-wait-for-output)
7815 (tramp-send-command-and-check, tramp-barf-unless-okay)
7816 (tramp-send-command-and-read, tramp-mode-string-to-int)
7817 (tramp-convert-file-attributes, tramp-check-cached-permissions)
7818 (tramp-file-mode-from-int, tramp-file-mode-permissions)
7819 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7820 (tramp-method-out-of-band-p, tramp-local-host-p)
7821 (tramp-get-remote-path, tramp-get-remote-tmpdir)
7822 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7823 (tramp-get-test-command, tramp-get-test-nt-command)
7824 (tramp-get-file-exists-command, tramp-get-remote-ln)
7825 (tramp-get-remote-perl, tramp-get-remote-stat)
7826 (tramp-get-remote-readlink, tramp-get-remote-trash)
7827 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7828 (tramp-get-local-uid, tramp-get-local-gid)
7829 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7831 (tramp-methods, tramp-default-method-alist)
7832 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7833 Move initialization to tramp-sh.el.
7834 (tramp-temp-name-prefix): Make it a defconst.
7835 (tramp-dissect-file-name): Don't check anymore for multi-hop
7837 (tramp-debug-outline-regexp): Add a docstring.
7838 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7839 (tramp-get-debug-buffer): Use it.
7841 * net/tramp-cache.el (top): Set tramp-autoload cookie for
7842 initialization forms.
7843 (tramp-set-connection-property): Don't protect `tramp-message'
7844 call, it isn't necessary any longer.
7845 (tramp-dump-connection-properties): Use `ignore-errors'.
7847 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7848 'password-cache and 'auth-source.
7850 * net/tramp-gvfs.el (top):
7851 * net/tramp-smb.el (top): Require 'tramp-sh.
7853 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7855 * net/tramp-sh.el: New file, derived from tramp.el.
7856 (top): Initialize `tramp-methods', `tramp-default-method-alist',
7857 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7858 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7859 Use `ignore-errors' where appropriate.
7860 (tramp-sh-file-name-handler-alist): Rename from
7861 `tramp-file-name-handler-alist'.
7862 (tramp-send-command-and-check): Return t or nil. Remove all
7863 `zerop' checks, where called.
7864 (tramp-handle-set-file-modes)
7865 (tramp-do-copy-or-rename-file-directly)
7866 (tramp-handle-delete-directory, tramp-handle-delete-file)
7867 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7868 (tramp-sh-file-name-handler, tramp-send-command-and-check)
7869 (tramp-get-remote-ln): Set tramp-autoload cookie.
7871 * net/tramp-fish.el: Remove file.
7873 2010-09-13 Daiki Ueno <ueno@unixuser.org>
7875 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7876 buffer-file-name to avoid file-locking. (Bug#7026)
7878 2010-09-13 Julien Danjou <julien@danjou.info>
7880 * notifications.el (notifications-notify): Add support for
7881 image-path and sound-name.
7882 (notifications-specification-version): Add this variable.
7884 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7886 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7888 2010-09-12 Leo <sdl.web@gmail.com>
7890 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7891 (rcirc-completion-start): New variables.
7892 (rcirc-nick-completions): Rename to rcirc-completions.
7893 (rcirc-nick-completion-start-offset): Delete.
7894 (rcirc-completion-at-point): New function for constructing
7895 completion data for both nicks and irc commands. Add to
7896 completion-at-point-functions in rcirc mode.
7897 (rcirc-complete): Rename from rcirc-nick-complete; use
7898 rcirc-completion-at-point.
7899 (defun-rcirc-command): Update rcirc-client-commands.
7901 2010-09-11 Glenn Morris <rgm@gnu.org>
7903 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7904 atomically, to avoid parallel build errors. (Bug#4196)
7906 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
7908 * progmodes/sql.el: Version 2.6
7909 (sql-dialect): Synonym for "sql-product".
7910 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7911 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7912 Set "sql-buffer" to buffer name not buffer object so multiple sql
7913 interactive buffers work properly. Reverts misguided changes in
7915 (sql-comint): Make sure different buffer name is used if "*SQL*"
7916 buffer is for a different product.
7917 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7919 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7920 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7921 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7922 Accept new buffer name or prompt for one.
7923 (sql-port): Default to zero.
7924 (sql-comint-mysql): Handle "sql-port" as a numeric.
7925 (sql-port-history): Delete unused variable.
7926 (sql-get-login): Default "sql-port" to a number.
7927 (sql-product-alist): Correct Postgres prompt and terminator regexp.
7928 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7929 "sqlite3" executables.
7930 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7931 (sql-buffer-live-p): New function.
7932 (sql-mode-menu, sql-send-string): Use it.
7933 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7935 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7936 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7938 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7940 * net/netrc.el (netrc-credentials): New convenience function.
7942 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7944 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7945 to replace texinfo-font-lock-syntactic-keywords.
7946 (texinfo-mode): Use it.
7948 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7949 Use syntax-propertize-function.
7951 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7952 replace sgml-font-lock-syntactic-keywords.
7953 (sgml-mode): Use it.
7955 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7956 since we don't use it.
7958 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7960 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7962 (vhdl-fontify-buffer): Adjust.
7964 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7965 replace tcl-font-lock-syntactic-keywords.
7968 * progmodes/simula.el (simula-syntax-propertize-function): New var to
7969 replace simula-font-lock-syntactic-keywords.
7970 (simula-mode): Use it.
7972 * progmodes/sh-script.el (sh-st-symbol): Remove.
7973 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7974 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7975 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7976 (sh-font-lock-paren): Set syntax-multiline.
7977 (sh-font-lock-syntactic-keywords): Remove.
7978 (sh-syntax-propertize-function): New function to replace it.
7981 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7982 Define while compiling.
7983 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7984 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7985 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7986 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7987 (ruby-here-doc-end-syntax): Only define when
7988 syntax-propertize is not available.
7989 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7991 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7992 (electric-indent-chars): Silence bytecompiler.
7993 (ruby-mode): Use prog-mode, syntax-propertize-function, and
7994 electric-indent-chars.
7996 * progmodes/python.el (python-syntax-propertize-function): New var to
7997 replace python-font-lock-syntactic-keywords.
7998 (python-mode): Use it.
7999 (python-quote-syntax): Simplify and adjust to new use.
8001 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
8002 replace perl-font-lock-syntactic-keywords.
8003 (perl-syntax-propertize-special-constructs): New fun to replace
8004 perl-font-lock-special-syntactic-constructs.
8005 (perl-font-lock-syntactic-face-function): New fun.
8006 (perl-mode): Use it.
8008 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
8009 to replace octave-font-lock-close-quotes.
8010 (octave-syntax-propertize-function): New function to replace
8011 octave-font-lock-syntactic-keywords.
8012 (octave-mode): Use it.
8014 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
8015 replaces mixal-font-lock-syntactic-keywords.
8016 (mixal-mode): Use it.
8018 * progmodes/make-mode.el (makefile-syntax-propertize-function):
8019 New var; replaces makefile-font-lock-syntactic-keywords.
8020 (makefile-mode): Use it.
8021 (makefile-imake-mode): Adjust.
8023 * progmodes/js.el (js--regexp-literal): Define while compiling.
8024 (js-syntax-propertize-function): New var; replaces
8025 js-font-lock-syntactic-keywords.
8028 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
8029 replaces gdb-script-font-lock-syntactic-keywords.
8030 (gdb-script-mode): Use it.
8032 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
8033 (fortran--font-lock-syntactic-keywords): New var.
8034 (fortran-line-length): Update syntax-propertize-function and
8035 fortran--font-lock-syntactic-keywords.
8037 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
8039 * progmodes/cfengine.el (cfengine-mode):
8040 Use syntax-propertize-function.
8041 (cfengine-font-lock-syntactic-keywords): Remove.
8043 * progmodes/autoconf.el (autoconf-mode):
8044 Use syntax-propertize-function.
8045 (autoconf-font-lock-syntactic-keywords): Remove.
8047 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
8048 (ada-after-change-function, ada-initialize-syntax-table-properties)
8049 (ada-handle-syntax-table-properties): Only define when
8050 syntax-propertize is not available.
8051 (ada-mode): Use syntax-propertize-function.
8053 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
8054 (font-lock-fontify-syntactic-keywords-region): Move handling of
8055 font-lock-syntactically-fontified to...
8056 (font-lock-default-fontify-region): ...here.
8057 Let syntax-propertize-function take precedence.
8058 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
8060 * emacs-lisp/syntax.el (syntax-propertize-function)
8061 (syntax-propertize-chunk-size, syntax-propertize--done)
8062 (syntax-propertize-extend-region-functions): New vars.
8063 (syntax-propertize-wholelines, syntax-propertize-multiline)
8064 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
8065 (syntax-propertize): New functions.
8066 (syntax-propertize-rules): New macro.
8067 (syntax-ppss-flush-cache): Set syntax-propertize--done.
8068 (syntax-ppss): Call syntax-propertize.
8070 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
8072 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
8074 * textmodes/ispell.el (ispell-init-process): Improve comments.
8075 XEmacs compatibility changes regarding (add-hook) 'local option
8076 and (set-process-query-on-exit-flag).
8078 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
8080 * net/tramp-cache.el (tramp-parse-connection-properties):
8081 Set tramp-autoload cookie.
8083 2010-09-09 Glenn Morris <rgm@gnu.org>
8085 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
8086 (imagemagick-register-types): Doc fix.
8088 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
8090 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
8092 * progmodes/js.el (require): Require is already "eval-and-compile".
8093 (js--re-search-forward): Avoid `eval'. Preserve the error data.
8094 (js--re-search-backward): Use js--re-search-forward.
8096 * progmodes/fortran.el (fortran-line-length): Don't recompute
8097 syntactic keywords redundantly a second time.
8099 * progmodes/ada-mode.el: Replace "(set '" with setq.
8100 (ada-mode): Simplify.
8101 (ada-create-case-exception, ada-adjust-case-interactive)
8102 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
8103 (ada-search-ignore-string-comment, ada-move-to-start)
8104 (ada-move-to-end): Use with-syntax-table.
8106 * font-lock.el (save-buffer-state): Remove `varlist' arg.
8107 (font-lock-unfontify-region, font-lock-default-fontify-region):
8108 Update usage correspondingly.
8109 (font-lock-fontify-syntactic-keywords-region):
8110 Set parse-sexp-lookup-properties buffer-locally here.
8111 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
8113 * simple.el (blink-matching-open): Don't burp if we can't find a match.
8115 2010-09-08 Glenn Morris <rgm@gnu.org>
8117 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
8118 Error if not compiled with -DBYTE_CODE_METER.
8120 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8121 Ignore dir-locals-file.
8123 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
8125 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8127 (compilation-error-regexp-alist-alist): Rule out ": " in file names
8128 for the `gnu' messages.
8129 (compilation-set-skip-threshold): New command.
8130 (compilation-start): Use \' rather than $.
8131 (compilation-forget-errors): Use clrhash.
8133 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
8135 * textmodes/ispell.el (ispell-valid-dictionary-list):
8138 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
8140 Migrate to Tramp 2.2. Rearrange load dependencies.
8141 (Bug#1529, Bug#5448, Bug#5705)
8143 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
8144 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
8145 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
8147 * net/tramp.el (top): Remove all other tramp-* loads except
8148 tramp-compat.el. Remove all changes to tramp-unload-hook for
8149 other tramp-* packages. Rearrange defun order. Change calls of
8150 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
8151 `tramp-compat-octal-to-decimal' to new function names.
8152 (tramp-terminal-type, tramp-initial-end-of-output)
8153 (tramp-methods, tramp-foreign-file-name-handler-alist)
8154 (tramp-tramp-file-p, tramp-completion-mode-p)
8155 (tramp-send-command-and-check, tramp-get-remote-path)
8156 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
8157 (tramp-shell-quote-argument): Set tramp-autoload cookie.
8158 (with-file-property, with-connection-property): Move to
8160 (tramp-local-call-process, tramp-decimal-to-octal)
8161 (tramp-octal-to-decimal): Move to tramp-compat.el.
8162 (tramp-handle-shell-command): Do not require 'shell.
8163 (tramp-compute-multi-hops): No special handling for tramp-gw-*
8165 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
8167 * net/tramp-cache.el (top): Require 'tramp. Add to
8168 `tramp-unload-hook'.
8169 (tramp-cache-data, tramp-get-file-property)
8170 (tramp-set-file-property, tramp-flush-file-property)
8171 (tramp-flush-directory-property, tramp-get-connection-property)
8172 (tramp-set-connection-property, tramp-flush-connection-property)
8173 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
8175 (with-file-property, with-connection-property): New defuns, moved
8177 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
8180 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
8181 (tramp-version): Set tramp-autoload cookie.
8183 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
8184 changes to tramp-unload-hook for other tramp-* packages. Add to
8185 `tramp-unload-hook'.
8186 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
8187 (tramp-compat-call-process): New defuns, moved from tramp.el.
8189 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
8190 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8191 Add to `tramp-unload-hook'. Change call of
8192 `tramp-compat-decimal-to-octal' to new function name.
8193 (tramp-fish-method): Make it a defconst.
8194 (tramp-fish-file-name-p): Make it a defsubst.
8195 (tramp-fish-method, tramp-fish-file-name-handler)
8196 (tramp-fish-file-name-p): Set tramp-autoload cookie.
8198 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
8199 `tramp-foreign-file-name-handler-alist'. Add to
8200 `tramp-unload-hook'.
8201 (tramp-ftp-method): Make it a defconst.
8202 (tramp-ftp-file-name-p): Make it a defsubst.
8203 (tramp-ftp-method, tramp-ftp-file-name-handler)
8204 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
8206 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
8207 `tramp-foreign-file-name-handler-alist'. Add to
8208 `tramp-unload-hook'. Change checks, whether package can be
8210 (tramp-gvfs-file-name-p): Make it a defsubst.
8211 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
8212 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
8213 (tramp-gvfs-handle-file-directory-p): New defun.
8214 (tramp-gvfs-file-name-handler-alist): Use it.
8216 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
8217 `tramp-foreign-file-name-handler-alist'. Add to
8218 `tramp-unload-hook'.
8219 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
8220 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
8222 (tramp-gw-tunnel-method, tramp-gw-socks-method)
8223 (tramp-gw-open-connection): Set tramp-autoload cookie.
8225 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
8226 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8227 Add to `tramp-unload-hook'. Change checks, whether package can be
8229 (tramp-imap-file-name-p): Make it a defsubst.
8230 (tramp-imap-method, tramp-imaps-method)
8231 (tramp-imap-file-name-handler)
8232 (tramp-imap-file-name-p): Set tramp-autoload cookie.
8234 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
8235 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8236 Add to `tramp-unload-hook'. Change checks, whether package can be
8237 loaded. Change call of `tramp-compat-decimal-to-octal' to new
8239 (tramp-smb-tunnel-method): Make it a defconst.
8240 (tramp-smb-file-name-p): Make it a defsubst.
8241 (tramp-smb-method, tramp-smb-file-name-handler)
8242 (tramp-smb-file-name-p): Set tramp-autoload cookie.
8244 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
8245 (tramp-uuencode-region): Set tramp-autoload cookie.
8247 * net/trampver.el (top) Add to `tramp-unload-hook'.
8248 (tramp-version, tramp-bug-report-address): Set tramp-autoload
8249 cookie. Update release number.
8251 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
8253 * textmodes/ispell.el (ispell-start-process): Make sure original
8254 arg list is properly initialized (Bug#6993, Bug#6994).
8256 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8258 * files.el (directory-abbrev-alist): Use \` as default regexp.
8260 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
8261 chars like - or ] (bug#6984).
8262 (rx-any-condense-range): Explode 2-char ranges.
8264 2010-09-06 Glenn Morris <rgm@gnu.org>
8266 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
8268 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8270 * textmodes/bibtex.el:
8271 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
8273 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8275 * net/imap.el (imap-message-map): Remove optional buffer parameter,
8276 since no callers use it.
8277 (imap-message-get): Ditto.
8278 (imap-message-put): Ditto.
8279 (imap-mailbox-map): Ditto.
8280 (imap-mailbox-put): Ditto.
8281 (imap-mailbox-get): Ditto.
8282 (imap-mailbox-get): Revert last change for this function.
8284 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8286 * net/imap.el (imap-fetch-safe): Remove function, and alter all
8287 callers to use `imap-fetch' instead. According to the comments, this
8288 should be safe, since all other IMAP clients use the 1:* syntax.
8289 (imap-enable-exchange-bug-workaround): Remove.
8290 (imap-debug): Remove -- doesn't seem very useful.
8292 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8294 * net/imap.el (imap-log): New convenience function used throughout
8295 instead of repeating the same code all over the place.
8297 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
8299 * mouse.el (mouse-save-then-kill): Save region to kill-ring
8300 when mouse-drag-copy-region is non-nil (Bug#6956).
8302 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
8304 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
8305 Improve regexps (Bug#6987).
8306 (dired-sort-toggle): Search more robustly for -t flag.
8308 * files.el (get-free-disk-space): Search more robustly for
8309 "available" column. Suggested by Ehud Karni
8310 <ehud@unix.mvs.co.il>.
8312 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
8314 * international/uni-bidi.el:
8315 * international/uni-category.el:
8316 * international/uni-combining.el:
8317 * international/uni-decimal.el:
8318 * international/uni-mirrored.el:
8319 * international/uni-name.el: Regenerate.
8321 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8323 * electric.el (electric-indent-post-self-insert-function):
8324 Don't reindent with a sloppy indentation function.
8326 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
8327 border case in change-log-mode.
8329 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
8331 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8332 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
8333 Recognize leading tab in gcc-include regexp. Ignore names with
8334 leading "from" or "in" in gnu regexp (Bug#6937).
8336 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8338 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
8339 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
8340 (ispell-start-process): Avoid setq and simplify logic.
8341 (ispell-init-process): Setup kill-buffer-hook locally when needed.
8342 (kill-buffer-hook): Don't use it globally with code that uses
8343 expand-file-name since that may call kill-buffer via
8344 code_conversion_restore.
8346 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
8348 * emacs-lisp/package.el (package-directory-list): Only call
8349 file-name-nondirectory on a string.
8351 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
8353 * emacs-lisp/package.el (package--download-one-archive):
8354 Ensure that archive-contents is valid before saving it.
8355 (package-activate-1, package-mark-obsolete, define-package)
8356 (package-compute-transaction, package-list-maybe-add): Use push.
8358 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8360 Use SMIE's blink-paren for octave-mode.
8361 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
8362 Backslashes do not escape single-quotes, single-quotes do.
8363 (octave-block-else-regexp, octave-block-end-regexp)
8364 (octave-block-match-alist): Remove.
8365 (octave-smie-bnf-table): New var, with old content.
8366 (octave-smie-op-levels): Use it.
8367 (octave-smie-closer-alist): New var.
8368 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
8369 (octave-blink-matching-block-open): Remove.
8370 (octave-reindent-then-newline-and-indent, octave-electric-semi)
8371 (octave-electric-space): Let self-insert-command run expand-abbrev and
8374 * electric.el (electricity): New group.
8375 (electric-indent-chars): New var.
8376 (electric-indent-post-self-insert-function): New fun.
8377 (electric-indent-mode): New minor mode.
8378 (electric-pair-skip-self): New custom.
8379 (electric-pair-post-self-insert-function): New function.
8380 (electric-pair-mode): New minor mode.
8382 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
8383 calcAlg-blink-matching-open.
8384 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
8385 (calc-do-alg-entry): Only touch the part of the keymap that varies.
8386 Use the new blink-matching-check-function.
8388 Provide blink-matching support to SMIE.
8389 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
8390 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
8391 (smie-blink-matching-check, smie-blink-matching-open): New functions.
8393 * simple.el (newline): Fix last change to properly remove itself from
8396 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8398 * simple.el (newline): Eliminate optimization.
8399 Use post-self-insert-hook to set hard-newline and things before
8400 running post-self-insert-hook.
8401 (blink-matching-check-mismatch): New function.
8402 (blink-matching-check-function): New variable.
8403 (blink-matching-open): Use them.
8404 Skip back forward over prefix chars skipped by forward-sexp.
8405 Don't check if the parens are backslash escaped.
8406 (blink-paren-post-self-insert-function): Check backslash escaping here.
8408 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
8410 * emacs-lisp/package.el (package-menu-mode-map):
8411 Change package-menu-revert bindings to revert-buffer.
8412 (package-menu-mode): Set revert-buffer-function.
8413 (package-menu-revert): Doc fix.
8415 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
8417 * textmodes/ispell.el (ispell-init-process): Use "~/" as
8418 `default-directory' unless using Ispell per-directory personal
8419 dictionaries and not in a mini-buffer under XEmacs.
8420 (kill-buffer-hook): Do not kill ispell process on exit when
8421 `ispell-process-directory' is "~/". (Bug#6143)
8423 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
8425 * simple.el (kill-new): Call interprogram-cut-function with only
8428 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
8429 Remove cut buffer from error message.
8431 * term/x-win.el (x-select-text):
8432 * term/pc-win.el (x-selection-value):
8433 * term/ns-win.el (x-selection-value):
8434 * eshell/em-term.el:
8435 * w32-fns.el (x-get-selection-value):
8436 * mouse-sel.el (mouse-sel-set-selection-function):
8437 * frame.el (display-selections-p): Remove cut-buffer in documentation.
8439 * term/x-win.el: Update documentation for x-last-selected-text-*.
8440 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
8441 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
8442 (x-select-text): Remove argument PUSH, update documentation.
8443 Remove cut-buffer code.
8444 (x-selection-value-internal): Was previously x-selection-value.
8445 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8446 Update documentation, remove cut-buffer code.
8447 Call x-selection-value-internal.
8448 (x-clipboard-yank): Call x-selection-value-internal.
8449 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
8451 * term/pc-win.el (x-last-selected-text):
8452 x-cut-buffer-or-selection-value renamed to x-selection-value
8453 (x-select-text): Remove argument PUSH, update documentation.
8455 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
8456 x-cut-buffer-or-selection-value renamed to x-selection-value
8457 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8458 (x-select-text): Remove argument PUSH, update documentation.
8460 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
8462 * w32-fns.el (x-last-selected-text):
8463 x-cut-buffer-or-selection-value renamed to x-selection-value.
8464 (x-cut-buffer-max): Remove.
8465 (x-select-text): Remove argument PUSH, update documentation.
8467 * simple.el (interprogram-cut-function): Remove mention of PUSH.
8469 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
8471 * mouse-sel.el (mouse-sel-get-selection-function):
8472 x-cut-buffer-or-selection-value renamed to x-selection-value.
8473 (x-select-text): Remove optional push.
8475 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8477 * simple.el (blink-paren-function): Move from C to here.
8478 (blink-paren-post-self-insert-function): New function.
8479 (post-self-insert-hook): Use it.
8481 * emacs-lisp/pcase.el (pcase-split-memq):
8482 Fix overenthusiastic optimisation.
8483 (pcase-u1): Handle the case of a lambda pred.
8485 2010-08-31 Kenichi Handa <handa@m17n.org>
8487 * international/mule-cmds.el (standard-display-european-internal):
8488 Setup standard-display-table for 8-bit characters by storing 8-bit
8489 characters in the element vector.
8491 * disp-table.el (standard-display-8bit):
8492 Setup standard-display-table for 8-bit characters by storing 8-bit
8493 characters in the element vector.
8494 (standard-display-european): Likewise.
8496 2010-08-31 Masatake YAMATO <yamato@redhat.com>
8498 * textmodes/nroff-mode.el (nroff-view): New command.
8499 (nroff-mode-map): Bind it to C-c C-c.
8501 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
8503 * emacs-lisp/smie.el (smie-down-list): New command.
8505 Remove old indentation and navigation code on octave-mode.
8506 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
8507 smie-down-list rather than add a binding for octave-down-block.
8508 (octave-mark-block, octave-blink-matching-block-open):
8509 Rely on forward-sexp-function.
8510 (octave-fill-paragraph): Don't narrow, so you can use
8511 indent-according-to-mode.
8512 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
8513 (octave-in-block-p, octave-re-search-forward-kw)
8514 (octave-re-search-backward-kw, octave-indent-calculate)
8515 (octave-end-as-array-index-p, octave-block-end-offset)
8516 (octave-scan-blocks, octave-forward-block, octave-backward-block)
8517 (octave-down-block, octave-backward-up-block, octave-up-block)
8518 (octave-before-magic-comment-p, octave-indent-line): Remove.
8520 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
8522 * emacs-lisp/package.el (package--read-archive-file): Just use
8523 `read', to avoid copying an additional string.
8524 (package-menu-mode): Set header-line-format here.
8525 (package-menu-refresh, package-menu-revert): Signal an error if
8526 not in the Package Menu.
8527 (package-menu-package-list): New var.
8528 (package--generate-package-list): Operate on the current buffer;
8529 don't assume that it is *Packages*, since the user may rename it.
8530 Allow persistent package listings and sort keys using
8531 package-menu-package-list and package-menu-package-sort-key.
8532 (package-menu--version-predicate): Fix version calculation.
8533 (package-menu-sort-by-column): Don't select the window.
8534 (package--list-packages): Create the *Packages* buffer.
8535 Set package-menu-package-list-key.
8536 (list-packages): Sorting by status is now the default.
8537 (package-buffer-info): Use match-string-no-properties.
8538 (define-package): Add a &rest argument for future proofing, but
8540 (package-install-from-buffer, package-install-buffer-internal):
8541 Merge into a single function, package-install-from-buffer.
8542 (package-install-file): Change caller.
8544 * finder.el: Load finder-inf using `require'.
8545 (finder-list-matches): Sorting by status is now the default.
8546 (finder-compile-keywords): Simpify printing.
8548 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8550 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8551 (octave-mode-map): Remove special bindings for forward/backward-block
8552 and octave-backward-up-block. Use smie-close-block.
8553 (octave-continuation-marker-regexp): New var.
8554 (octave-continuation-regexp): Use it.
8555 (octave-operator-table, octave-smie-op-levels)
8556 (octave-operator-regexp, octave-smie-indent-rules): New vars.
8557 (octave-smie-backward-token, octave-smie-forward-token): New funs.
8558 (octave-mode): Use SMIE.
8559 (octave-close-block): Delete.
8561 2010-08-30 Eli Zaretskii <eliz@gnu.org>
8563 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
8564 CLIPBOARD, not in PRIMARY. (Bug#6944)
8566 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8568 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
8570 (smie-indent-column): Allow indirection through variables.
8572 * composite.el (save-buffer-state): Delete, unused.
8573 * font-lock.el (save-buffer-state): Use with-silent-modifications.
8574 (font-lock-default-fontify-region): Use with-syntax-table.
8575 * jit-lock.el (with-buffer-unmodified): Remove.
8576 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
8578 Use `declare' in defmacros.
8579 * window.el (save-selected-window):
8580 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
8581 * progmodes/python.el (def-python-skeleton):
8582 * net/dbus.el (dbus-ignore-errors):
8583 * jka-cmpr-hook.el (with-auto-compression-mode):
8584 * international/mule.el (with-category-table):
8585 * emacs-lisp/timer.el (with-timeout):
8586 * emacs-lisp/lisp-mnt.el (lm-with-file):
8587 * emacs-lisp/eieio.el (with-slots):
8588 * emacs-lisp/easymenu.el (easy-menu-define):
8589 * emacs-lisp/debug.el (debugger-env-macro):
8590 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
8591 (Multiple-value-call, Multiple-value-prog1):
8592 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
8593 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
8594 edebug rule to definition.
8595 * emacs-lisp/lisp-mode.el (save-selected-window)
8596 (with-current-buffer, combine-after-change-calls)
8597 (with-output-to-string, with-temp-file, with-temp-buffer)
8598 (with-temp-message, with-syntax-table, read-if, eval-after-load)
8599 (dolist, dotimes, when, unless):
8600 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
8602 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8604 * finder.el: Require `package'.
8605 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
8606 (finder-package-info): Var deleted.
8607 (finder-keywords-hash, finder--builtins-alist): New vars.
8608 (finder-compile-keywords): Compute package--builtins and
8609 finder-keywords-hash instead of finder-keywords-hash, respecting
8610 the "Package" header.
8611 (finder-unknown-keywords, finder-list-matches):
8612 Use finder-keywords-hash and package--list-packages.
8613 (finder-mode): Don't set font-lock-defaults.
8614 (finder-exit): We don't use "*Finder-package*" and "*Finder
8615 Category*" buffers anymore.
8617 * emacs-lisp/package.el (package--builtins-base): Var deleted.
8618 (package--builtins): Set default value to nil.
8619 (package-initialize): Load precomputed value of package--builtins
8621 (package-alist, package-compute-transaction)
8622 (package-download-transaction): Improve docstring.
8623 (package-read-all-archive-contents): Do not change
8624 package--builtins here.
8625 (list-packages): Make package-list-packages an alias for this.
8626 Sort by status by default.
8627 (package--list-packages): Add optional PACKAGES arg.
8628 (describe-package-1): Use font-lock-face property. For built-in
8629 packages, insert file commentary.
8630 (package--generate-package-list): Rename from
8631 package-list-packages-internal; all callers changed. Add optional
8632 PACKAGES arg. Add alphabetical sort fallbacks.
8633 (package-menu--version-predicate, package-menu--status-predicate)
8634 (package-menu--description-predicate)
8635 (package-menu--name-predicate): New functions.
8637 * info.el (Info-finder-find-node): Search package-alist instead of
8638 finder-package-info.
8640 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8642 * subr.el (version-regexp-alist): Don't use "a" and "b" for
8644 (version-to-list): Handle versions like "10.3d".
8646 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8648 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
8649 (macroexp-accumulate): Use `declare'.
8651 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8653 * whitespace.el (whitespace-style): Adjust type declaration.
8655 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
8657 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
8659 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8661 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
8664 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
8666 * progmodes/js.el: Make indentation more customizable (Bug#6914).
8667 (js-paren-indent-offset, js-square-indent-offset)
8668 (js-curly-indent-offset): New options.
8669 (js--proper-indentation): Use them.
8671 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
8673 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
8674 instead of inspecting font-lock properties (Bug#6916).
8676 2010-08-26 David Reitter <david.reitter@gmail.com>
8678 * server.el (server-visit-files): Run pre-command-hook and
8679 post-command-hook for each buffer while it is current (Bug#6910).
8680 (server-execute): Do not run hooks here.
8682 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
8684 Sync with Tramp 2.1.19.
8686 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
8687 Protect deleting tmpfile.
8688 (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
8690 * net/tramp.el (tramp-handle-expand-file-name)
8691 (tramp-completion-handle-file-name-all-completions)
8692 (tramp-completion-handle-file-name-completion):
8693 Use `tramp-connectable-p'.
8695 * net/trampver.el: Update release number.
8697 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8699 * help.el (help-map): Bind `C-h P' to describe-package.
8701 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
8703 * emacs-lisp/package.el (package-refresh-contents): Catch errors
8704 when downloading archives.
8705 (describe-package-1): Add package commentary.
8706 (package-install-button-action): New function.
8707 (package-menu-mode-map): Bind ? to package-menu-describe-package.
8708 (package-menu-view-commentary): Function removed.
8709 (package-list-packages-internal): Hide the `package' package too.
8711 2010-08-25 Kenichi Handa <handa@m17n.org>
8713 * language/misc-lang.el ("Arabic"): New language environment.
8714 Setup composition-function-table for Arabic characters.
8716 * international/fontset.el (setup-default-fontset): Fix typo for
8717 arabic OTF spec (fini->fina).
8719 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
8721 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
8724 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8726 * whitespace.el: Allow cleaning up blanks without blank
8727 visualization (Bug#6651). Adjust help window for
8728 whitespace-toggle-options (Bug#6479). Allow to use fill-column
8729 instead of whitespace-line-column (from EmacsWiki). New version
8731 (whitespace-style): Add new value 'face. Adjust docstring.
8732 (whitespace-space, whitespace-hspace, whitespace-tab):
8733 Adjust foreground property face.
8734 (whitespace-line-column): Adjust docstring and type declaration.
8735 (whitespace-style-value-list, whitespace-toggle-option-alist)
8736 (whitespace-help-text): Adjust const initialization.
8737 (whitespace-toggle-options, global-whitespace-toggle-options):
8739 (whitespace-display-window, whitespace-interactive-char)
8740 (whitespace-style-face-p, whitespace-color-on): Adjust code.
8741 (whitespace-help-scroll): New fun.
8743 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8745 * emacs-lisp/package.el (list-packages): Alias for
8746 package-list-packages.
8748 2010-08-24 Kevin Ryde <user42@zip.com.au>
8750 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
8753 * progmodes/ruby-mode.el (ruby): Add defgroup.
8755 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8757 * progmodes/python.el: Add Ipython support (Bug#5390).
8758 (python-shell-prompt-alist)
8759 (python-shell-continuation-prompt-alist): New options.
8760 (python--set-prompt-regexp): New function.
8761 (inferior-python-mode, run-python, python-shell):
8762 Require ansi-color. Use python--set-prompt-regexp to set the comint
8763 prompt based on the Python interpreter.
8764 (python--prompt-regexp): New var.
8765 (python-check-comint-prompt)
8766 (python-comint-output-filter-function): Use it.
8767 (run-python): Use a pipe (Bug#5694).
8769 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
8771 * progmodes/python.el (python-send-region): Send a different
8772 Python command if Ipython is in use.
8773 (python-check-version): Use a Python command to find the version.
8775 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8777 * mouse.el (mouse-yank-primary): Avoid setting primary when
8778 deactivating the mark (Bug#6872).
8780 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
8782 * progmodes/python.el (python-block-pairs): Allow use of "finally"
8783 with "else" (Bug#3991).
8785 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
8787 * net/dbus.el: Accept UNIX domain sockets as bus address.
8788 (top): Don't initialize `dbus-registered-objects-table' anymore,
8789 this is done in dbusbind.c.
8790 (dbus-check-event): Adapt test for bus.
8791 (dbus-return-values-table, dbus-unregister-service)
8792 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
8795 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
8797 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8799 2010-08-22 Juri Linkov <juri@jurta.org>
8801 * simple.el (read-extended-command): New function with the logic
8802 for `completing-read' moved to Elisp from `execute-extended-command'.
8803 Use `function-called-at-point' in `minibuffer-default-add-function'
8804 to get a command name for M-n (bug#5364, bug#5214).
8806 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8808 * startup.el (command-line-1): Issue warning for ignored arguments
8809 --unibyte, etc (Bug#6886).
8811 2010-08-22 Leo <sdl.web@gmail.com>
8813 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8814 (ignore, bright, dim, keyword): Split list of nicknames before
8815 passing to rcirc-add-or-remove (Bug#6894).
8817 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8819 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8821 2010-08-22 Leo <sdl.web@gmail.com>
8823 Fix buffer-list rename&refresh after killing a buffer in ido.
8824 * ido.el: Revert Óscar's.
8825 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8826 Remember the buffers at head, rather than their name.
8827 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8829 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
8830 Stefan Monnier <monnier@iro.umontreal.ca>
8832 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8833 extra backslash added to each line (bug#6890).
8835 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8837 * subr.el (read-key): Don't echo keystrokes (bug#6883).
8839 2010-08-22 Glenn Morris <rgm@gnu.org>
8841 * menu-bar.el (menu-bar-games-menu): Add landmark.
8843 2010-08-22 Glenn Morris <rgm@gnu.org>
8845 * align.el (align-regexp): Make group and spacing arguments
8846 use the interactive defaults when non-interactive. (Bug#6698)
8848 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8849 expansion, so as not to need sendmail.
8850 (mail-text-start): Remove declaration.
8851 (rmail-retry-failure): Require sendmail.
8853 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8855 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8857 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
8859 * progmodes/flymake.el (flymake-start-syntax-check-process):
8860 Use `start-file-process' in order to let it run also on remote hosts.
8862 2010-08-22 Kenichi Handa <handa@m17n.org>
8864 * files.el: Add `word-wrap' as safe local variable.
8866 2010-08-22 Glenn Morris <rgm@gnu.org>
8868 * woman.el (woman-translate): Case matters. (Bug#6849)
8870 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8872 * simple.el (kill-region): Doc fix (Bug#6787).
8874 2010-08-22 Glenn Morris <rgm@gnu.org>
8876 * calendar/diary-lib.el (diary-header-line-format):
8877 Fit it to the window, not the frame.
8879 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
8881 * subr.el (ignore-errors): Add debug declaration.
8883 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
8885 * whitespace.el (whitespace-color-off): Remove post-command-hook
8888 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8890 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8892 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8894 * cus-edit.el (custom-group-value-create): Add extra newline
8895 before end line (Bug#6876).
8897 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8899 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8900 when extending it. Before killing on the second click, check if
8901 the buffer is the correct one. Doc fix.
8902 (mouse-secondary-save-then-kill): Allow usage without first
8903 calling mouse-start-secondary, by defaulting to point. Don't save
8904 an empty secondary selection. Doc fix.
8906 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8908 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
8909 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8911 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8912 Adjust initialization.
8913 (whitespace-bob-marker, whitespace-eob-marker)
8914 (whitespace-buffer-changed): New vars.
8915 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8916 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8917 (whitespace-post-command-hook, whitespace-display-char-on):
8919 (whitespace-looking-back, whitespace-buffer-changed): New funs.
8920 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8922 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8924 * files.el (locate-file-completion-table): Only list the .el and .elc
8925 extensions if there's no other choice (bug#5955).
8927 * facemenu.el (facemenu-self-insert-data): New var.
8928 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8930 (facemenu-add-face): Use them.
8932 * simple.el (blink-matching-open): Obey forward-sexp-function.
8934 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
8936 * simple.el (prog-mode-map): New var.
8937 (prog-indent-sexp): New command.
8939 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8941 * progmodes/prolog.el (smie): Require.
8943 * emacs-lisp/smie.el (smie-default-backward-token)
8944 (smie-default-forward-token): Strip properties.
8945 (smie-next-sexp): Be more careful with associative operators.
8946 (smie-forward-sexp-command): Generalize.
8947 (smie-backward-sexp-command): Simplify.
8948 (smie-closer-alist): New var.
8949 (smie-close-block): New command.
8950 (smie-indent-debug-log): New var.
8951 (smie-indent-offset-rule): Add a few more cases.
8952 (smie-indent-column): New function.
8953 (smie-indent-after-keyword): Use it.
8954 (smie-indent-keyword): Use it.
8955 Fix up the opener code's point position.
8956 (smie-indent-comment): Only applies at BOL.
8957 (smie-indent-debug): New command.
8959 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8960 declarations that are useful before running the macro.
8962 2010-08-18 Joakim Verona <joakim@verona.se>
8964 * image.el (imagemagick-types-inhibit): New variable.
8965 (imagemagick-register-types): New function.
8966 * image-mode.el (image-transform-properties): New function.
8967 (image-transform-set-scale, image-transform-fit-to-height)
8968 (image-transform-set-rotation, image-transform-set-resize)
8969 (image-transform-fit-to-width, image-transform-fit-to-height):
8971 (image-toggle-display-image): Support image transforms.
8973 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
8975 * image.el (create-animated-image): Don't add heuristic mask to image
8978 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
8980 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8981 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8983 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
8985 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8987 Font-lock '...' strings, plus various simplifications and fixes.
8988 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8989 (octave-font-lock-close-quotes): New function.
8990 (octave-font-lock-syntactic-keywords): New var.
8991 (octave-mode): Use it. Set beginning-of-defun-function.
8992 (octave-mode-map): Don't override the <foo>-defun commands.
8993 (octave-mode-menu): Pass it directly to easy-menu-define;
8994 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8995 (octave-block-match-alist): Fix up last change so that
8996 octave-close-block uses the more specific keyword.
8997 (info-lookup-mode): Silence byte-compiler.
8998 (octave-beginning-of-defun): Not interactive any more.
9000 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
9001 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
9002 (octave-completion-at-point-function): Make sure point is within
9004 (octave-reindent-then-newline-and-indent):
9005 Use reindent-then-newline-and-indent.
9006 (octave-add-octave-menu): Remove.
9008 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
9010 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
9011 (report-emacs-bug-can-use-xdg-email): New functions.
9012 (report-emacs-bug): Set can-xdg-email to result of
9013 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
9014 \C-cm to report-emacs-bug-insert-to-mailer and add help text
9017 * net/browse-url.el (browse-url-default-browser): Add cond
9018 for browse-url-xdg-open.
9019 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
9021 2010-08-17 Glenn Morris <rgm@gnu.org>
9023 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
9024 (c-fontify-recorded-types-and-refs): Define for compiler.
9025 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
9028 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
9031 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
9033 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
9035 (tramp-handle-process-file): Call the program in a subshell, in
9036 order to preserve working directory.
9037 (tramp-action-password): Hide password prompt before next run.
9038 (tramp-process-actions): Widen connection buffer for the trace.
9040 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9042 * net/rcirc.el (rcirc-log-process-buffers): New option.
9043 (rcirc-print): Use it.
9044 (rcirc-generate-log-filename): New function.
9045 (rcirc-log-filename-function): Change default to
9046 rcirc-generate-log-filename (Bug#6828).
9048 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
9050 * simple.el (deactivate-mark): If select-active-regions is `only',
9051 only set selection for temporarily active regions.
9053 * cus-start.el: Change defcustom for select-active-regions.
9055 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
9057 * mouse.el (mouse--drag-set-mark-and-point): New function.
9058 (mouse-drag-track): Use LOCATION arg to push-mark.
9059 Use mouse--drag-set-mark-and-point to take click-count into
9060 consideration when updating point and mark (Bug#6840).
9062 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
9064 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9065 Give the Ruby rule a lower priority than Gnu (Bug#6778).
9067 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
9069 * font-lock.el (lisp-font-lock-keywords-2):
9070 Add combine-after-change-calls, condition-case-no-debug,
9071 with-demoted-errors, and with-silent-modifications (Bug#6025).
9073 2010-08-14 Kevin Ryde <user42@zip.com.au>
9075 * emacs-lisp/copyright.el (copyright-update-year)
9076 (copyright-update): Temporary switch-to-buffer to ensure the
9077 buffer change being queried is visible (Bug#5394).
9079 2010-08-14 Tom Tromey <tromey@redhat.com>
9081 * progmodes/etags.el (tags-file-name): Mark safe if stringp
9084 2010-08-14 Eli Zaretskii <eliz@gnu.org>
9086 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
9089 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
9091 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
9092 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9093 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9094 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
9095 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
9096 Call menu-bar-set-tool-bar-position.
9098 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9100 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
9101 comment style (bug#6834).
9102 * progmodes/scheme.el (scheme-mode-syntax-table):
9103 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
9104 "b" flag in "' 14b" syntax.
9106 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
9107 for (un)commenting the region and performing completion.
9108 (octave-mode-menu): Use standard commands for help and completion.
9109 (octave-mode-syntax-table): Support %{..%} comments (sort of).
9110 (octave-mode): Use define-derived-mode.
9111 Set completion-at-point-functions and don't set columns.
9112 Don't disable adaptive-fill-regexp.
9113 (octave-describe-major-mode, octave-comment-region)
9114 (octave-uncomment-region, octave-comment-indent)
9115 (octave-indent-for-comment): Remove.
9116 (octave-indent-calculate): Rename from calculate-octave-indent.
9117 (octave-indent-line, octave-fill-paragraph): Update caller.
9118 (octave-initialize-completions): No need to make an alist.
9119 (octave-completion-at-point-function): New function.
9120 (octave-complete-symbol): Use it.
9121 (octave-insert-defun): Use define-skeleton.
9123 * progmodes/octave-mod.el (octave-mode): Set comment-add.
9124 (octave-mode-map): Use comment-dwim (bug#6829).
9126 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com>
9128 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
9129 indentation of inserted comment.
9131 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
9133 * faces.el (region): Add type gtk that uses gtk colors.
9135 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
9136 Handle theme-name change.
9138 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
9140 * progmodes/sql.el: Version 2.5
9141 (sql-product-alist): Add :prompt-cont-regexp property for several
9143 (sql-prompt-cont-regexp): New variable.
9144 (sql-output-newline-count, sql-output-by-send):
9145 New variables. Record number of newlines in input text.
9146 (sql-send-string): Handle multiple filters and count newlines.
9147 (sql-send-magic-terminator): Count terminator newline.
9148 (sql-interactive-remove-continuation-prompt): Filters output to
9149 remove continuation prompts; one for each newline.
9150 (sql-interactive-mode): Set up new variables, prompt regexp and
9152 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
9153 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
9155 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9157 * emacs-lisp/pcase.el: New file.
9159 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
9161 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
9162 as here-document, otherwise the command could exceed maximum
9163 length of command line.
9164 (tramp-handle-vc-registered): Call script accordingly.
9165 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
9167 2010-08-10 Kenichi Handa <handa@m17n.org>
9169 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
9172 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
9174 * emacs-lisp/package.el (package-version-split)
9175 (package--version-first-nonzero, package-version-compare):
9177 (package-directory-list, package-load-all-descriptors)
9178 (package--built-in, package-activate, define-package)
9179 (package-installed-p, package-compute-transaction)
9180 (package-read-all-archive-contents)
9181 (package--add-to-archive-contents, package-buffer-info)
9182 (package-tar-file-info, package-list-packages-internal):
9183 Use version-to-list and version-list-*.
9185 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9186 Use version-to-list.
9187 (package-upload-buffer-internal): Use version-list-<=.
9189 2010-08-09 Kenichi Handa <handa@m17n.org>
9191 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
9194 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
9196 * tutorial.el (tutorial--default-keys): C-d is now bound to
9197 delete-forward-char (Bug#6826).
9199 * mouse.el (mouse-drag-track): Remove accidentally-removed check
9200 for `double' value of mouse-1-click-follows-link (Bug#6807).
9202 2010-08-08 Johan Bockgård <bojohan@gnu.org>
9204 * replace.el (replace-highlight): Bind isearch-forward and
9205 isearch-error, ensuring that highlighting is updated if the user
9206 switches the search direction (Bug#6808).
9208 * isearch.el (isearch-lazy-highlight-forward): New var.
9209 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9210 (isearch-lazy-highlight-update): Use it.
9212 2010-08-08 Kenichi Handa <handa@m17n.org>
9214 * international/mule.el (define-charset): Store NAME as :base property.
9215 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
9216 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
9217 current priority. Force using the designation of the specific
9218 charset by adding `charset' text property. Improve the whole algorithm.
9220 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9222 * emulation/pc-select.el (pc-selection-mode-hook)
9223 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
9224 (pc-selection-mode): Fix typos in docstrings.
9226 2010-08-08 Kenichi Handa <handa@m17n.org>
9228 * language/cyrillic.el: Don't add "microsoft-cp1251" to
9229 ctext-non-standard-encodings-alist here.
9231 * international/mule.el (ctext-non-standard-encodings-alist):
9232 Add "koi8-r" and "microsoft-cp1251".
9233 (ctext-standard-encodings): New variable.
9234 (ctext-non-standard-encodings-table): List only elements for
9235 non-standard encodings.
9236 (ctext-pre-write-conversion): Adjust for the above change.
9237 Check ctext-standard-encodings.
9239 * international/mule-conf.el (compound-text): Doc fix.
9240 (ctext-no-compositions): Doc fix.
9241 (compound-text-with-extensions): Doc fix.
9243 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9245 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
9247 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9249 * progmodes/which-func.el (which-func-format): Split help-echo text
9250 into lines, like other mode-line tooltips.
9252 * server.el (server-start): When using TCP sockets, force IPv4
9253 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
9255 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9257 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
9259 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9261 * term.el (term-delimiter-argument-list): Reflow docstring.
9262 (term-read-input-ring, term-write-input-ring, term-send-input)
9263 (term-bol, term-erase-in-display, serial-supported-or-barf):
9264 Fix typos in docstrings.
9266 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9268 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
9270 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9272 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
9274 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
9276 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
9277 Fix typo in docstring (bug#6747).
9279 2010-08-08 Leo <sdl.web@gmail.com>
9281 * eshell/esh-io.el (eshell-get-target): Better detection of
9282 read-only file (Bug#6762).
9284 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9286 * align.el (align-default-spacing): Doc fix.
9287 (align-region-heuristic, align-regexp): Fix typos in docstrings.
9289 2010-08-08 Stephen Peters <speters@itasoftware.com>
9291 * calendar/icalendar.el
9292 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
9293 (icalendar--get-weekday-numbers): New.
9294 (icalendar--convert-recurring-to-diary): Handle multiple byday
9295 values in weekly rules. (Bug#6766)
9297 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
9299 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
9300 (icalendar--create-uid, icalendar-export-region)
9301 (icalendar--parse-summary-and-rest): Code formatting.
9303 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
9305 * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
9306 to italicize headers.
9307 (calc-highlight-selections-with-faces): New variable.
9308 (calc-selected-face, calc-nonselected-face): New faces.
9310 * calc/calccomp.el (math-comp-highlight-string): Use
9311 `calc-highlight-selections-with-faces' to determine how to highlight
9314 * calc/calc-sel.el (calc-show-selections): Change message to when
9315 using faces to highlight selections.
9317 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
9319 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
9320 Add SQLite 3 keywords, functions and datatypes.
9321 (sql-interactive-mode): Remove `comint-process-echoes' set to t
9324 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
9326 * simple.el (select-active-regions): Move to keyboard.c.
9327 (deactivate-mark): Used saved-region-selection.
9328 (select-active-region): Function removed.
9329 (activate-mark, set-mark, push-mark-command)
9330 (handle-shift-selection): Don't call it.
9331 (keyboard-quit): Avoid adding the region to the window selection.
9333 * mouse.el (mouse-drag-track): Remove hacks to deal with old
9334 select-active-regions implementation.
9335 (mouse-yank-at-click): Doc fix.
9337 * cus-start.el: Add custom declaration for select-active-regions.
9339 2010-08-07 Eli Zaretskii <eliz@gnu.org>
9341 * simple.el (delete-forward-char): Doc fix.
9343 * tutorial.el (help-with-tutorial): Hack safe file-local variables
9344 after reading the tutorial.
9346 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
9348 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
9349 Fix for the case that a C style comment has its delimiters alone on
9350 their respective lines. (Bug#193)
9352 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
9354 * net/tramp.el (tramp-handle-start-file-process): Set connection
9356 (tramp-process-sentinel): Use it for flushing the cache.
9357 We cannot do it via the process buffer, the buffer could be deleted
9358 already when running the sentinel.
9360 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
9362 * comint.el (comint-mode): Make directory tracking functions
9363 functional on remote files. (Bug#6764)
9365 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
9367 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
9369 2010-08-05 Eli Zaretskii <eliz@gnu.org>
9371 * emacs-lisp/find-gc.el (find-gc-source-files):
9372 Rename unexec.c => unexcoff.c.
9374 * emacs-lisp/authors.el (authors-fixed-entries):
9375 Rename unexec.c => unexcoff.c.
9377 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
9379 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
9380 cache, not only file cache.
9381 (tramp-process-sentinel): New defun.
9382 (tramp-handle-start-file-process): Use it, in order to invalidate
9385 2010-08-03 Leo <sdl.web@gmail.com>
9387 * server.el (server-start): Simplify loop.
9389 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
9391 * frame.el (screen-height, screen-width, set-screen-width)
9392 (set-screen-height): Remove ancient compatibility aliases.
9394 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
9395 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
9397 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
9398 that change current buffer.
9400 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9402 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
9403 beginning of the string. Use `string-match-p'. (Bug#6765)
9405 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
9407 * cus-start.el (x-gtk-use-system-tooltips): New variable.
9409 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
9411 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
9412 (package--builtins): Tweak descriptions.
9413 (package-print-package): Upcase descriptions if necessary.
9414 Show all built-in packages in font-lock-builtin-face.
9415 (package-list-packages-internal): Omit "emacs" package.
9416 Show status of built-in packages as "built-in".
9418 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
9420 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
9421 before killing to preserve the primary selection (Bug#6701).
9423 * term/x-win.el (x-select-text): Doc fix.
9425 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
9427 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
9428 (objc-font-lock-extra-types):
9429 * progmodes/cc-mode.el (c-basic-common-init):
9430 * progmodes/cc-langs.el (c-make-mode-syntax-table)
9431 (c++-make-template-syntax-table)
9432 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
9433 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
9434 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
9435 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
9436 * progmodes/cc-fonts.el (c-make-inverse-face)
9437 (c-basic-matchers-after):
9438 * progmodes/cc-engine.el (c-forward-keyword-clause)
9439 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
9440 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
9441 (c-guess-continued-construct, c-guess-basic-syntax):
9442 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
9443 The above functions were modified or created.
9445 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
9447 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
9449 2010-07-31 Eli Zaretskii <eliz@gnu.org>
9451 * files.el (bidi-paragraph-direction): Define safe local values.
9453 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
9454 language-info-alist. Remove outdated FIXME in a comment.
9456 2010-07-31 Alan Mackenzie <acm@muc.de>
9458 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
9459 Auto-fill broken in C/C++ modes.
9461 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
9463 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9464 (menu-bar-showhide-tool-bar-menu-customize-disable)
9465 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9466 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
9467 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
9468 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
9469 make a menu for Options => toolbar that can move it.
9471 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
9473 * emacs-lisp/package-x.el (package--make-rss-entry):
9474 (package-maint-add-news-item, package--update-news)
9475 (package-upload-buffer-internal): New arg ARCHIVE-URL.
9477 * emacs-lisp/package.el (package-archive-url): Rename from
9479 (package-install): Doc fix.
9480 (package-download-single, package-download-tar, package-install)
9481 (package-menu-view-commentary): Callers changed.
9483 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
9485 * net/tramp.el (tramp-handle-start-file-process): Check only for
9486 `remote-tty' process property.
9487 (tramp-open-shell): Don't check for tty.
9488 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
9491 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
9494 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
9496 * emacs-lisp/package.el (package-load-list, package-archives)
9497 (package-archive-contents, package-user-dir)
9498 (package-directory-list, package--builtins, package-alist)
9499 (package-activated-list, package-obsolete-alist): Mark as risky.
9501 2010-07-28 Phil Hagelberg <phil@evri.com>
9503 Add support for non-default package repositories.
9504 * emacs-lisp/package.el (package-archive-base): Var deleted.
9505 (package-archives): New variable.
9506 (package-archive-contents): Doc fix.
9507 (package-load-descriptor): Do nothing if descriptor file is missing.
9508 (package--write-file-no-coding): New function.
9509 (package-unpack-single): Use it.
9510 (package-archive-id): New function.
9511 (package-download-single, package-download-tar)
9512 (package-menu-view-commentary): Use it.
9513 (package-installed-p): Make second argument optional.
9514 (package-read-all-archive-contents): New function.
9515 (package-initialize): Use it.
9516 (package-read-archive-contents): Add ARCHIVE argument.
9517 (package--add-to-archive-contents): New function.
9518 (package-install): Don't call package-read-archive-contents.
9519 (package--download-one-archive): Store archive file in a
9520 subdirectory of package-user-dir.
9521 (package-menu-execute): Remove spurious line movement.
9523 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
9525 * cus-start.el (tool-bar-style): Add text-image-horiz.
9527 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9529 * progmodes/gud.el (gud-common-init): Check for remoteness of
9530 `file', and not of `default-directory'.
9532 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9534 * net/tramp.el (tramp-methods): Move hostname to the end in all
9535 ssh `tramp-login-args'.
9536 (tramp-verbose): Describe verbose level 9.
9537 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
9538 (tramp-open-connection-setup-interactive-shell): Trace stty
9539 settings if `tramp-verbose' >= 9.
9540 (tramp-handle-start-file-process): Implement tty setting.
9541 (Bug#4604, Bug#6360)
9543 * net/tramp-cmds.el (tramp-bug): Recommend setting of
9544 `tramp-verbose' to 9.
9546 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
9548 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
9549 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
9550 Remove references to package `lisp-re' (bug#4369).
9552 2010-07-27 Tom Tromey <tromey@redhat.com>
9554 * progmodes/js.el (js-mode):
9555 * progmodes/make-mode.el (makefile-mode):
9556 * progmodes/simula.el (simula-mode):
9557 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
9559 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
9561 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
9563 * time.el (display-time-day-and-date): Remove spurious * in docstring.
9564 (display-time-world-buffer-name, display-time-world-mode-map):
9565 Fix typos in docstrings.
9567 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
9569 * image-mode.el (image-display-size): New function.
9570 (image-forward-hscroll, image-next-line, image-eol, image-eob)
9571 (image-mode-fit-frame): Use it (Bug#6639).
9573 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
9575 * dired.el (dired-buffers-for-dir): Handle list values of
9576 dired-directory (Bug#6636).
9578 2010-07-26 Sam Steingold <sds@gnu.org>
9580 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
9581 Do not call `x-get-selection' the second time, reuse the value.
9583 2010-07-26 Daiki Ueno <ueno@unixuser.org>
9585 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
9586 which consist of control chars only. Suggested by Richard Stallman.
9588 2010-07-25 Daiki Ueno <ueno@unixuser.org>
9590 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
9591 exists before passing an error to find-file-not-found-functions
9594 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
9596 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
9597 Remove leading nil element, adjust values.
9598 (tetris-shapes, tetris-shape-scores):
9599 Change representation of shapes and remove some redundancy.
9600 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
9601 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
9602 Adjust for working with new representation of shapes.
9603 (tetris-shape-rotations): New function.
9604 (tetris-move-bottom, tetris-move-left, tetris-move-right)
9605 (tetris-rotate-prev, tetris-rotate-next):
9606 Adjust for working with the new version of tetris-test-shape.
9608 2010-07-23 Markus Triska <markus.triska@gmx.at>
9610 * progmodes/ps-mode.el: Use comint (bug#5954).
9611 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
9612 (ps-mode-other-newline): Simplify.
9613 (ps-run-mode): Derive from comint-mode instead of
9614 fundamental-mode, yielding input history etc.
9615 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
9616 (ps-run-send-string): Adapt for comint-mode.
9617 (ps-run-newline): Remove now unneeded function.
9619 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9621 * net/tramp.el (tramp-methods): Move hostname to the end in all
9622 plink `tramp-login-args'.
9624 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9626 * net/tramp.el (tramp-open-shell): New defun.
9627 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9630 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9632 * net/tramp.el (tramp-file-name-regexp-unified)
9633 (tramp-completion-file-name-regexp-unified): On W32 systems, do
9634 not regard the volume letter as remote filename. (Bug#5447)
9636 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
9638 * custom.el (custom-declare-variable): Give a clearer error message
9639 when the docstring is missing (bug#6476).
9641 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
9643 * progmodes/sql.el: Version 2.4. Improved Login prompting.
9644 (sql-login-params): New widget definition.
9645 (sql-oracle-login-params, sql-mysql-login-params)
9646 (sql-solid-login-params, sql-sybase-login-params)
9647 (sql-informix-login-params, sql-ingres-login-params)
9648 (sql-ms-login-params, sql-postgres-login-params)
9649 (sql-interbase-login-params, sql-db2-login-params)
9650 (sql-linter-login-params): Use it.
9651 (sql-sqlite-login-params): Use it; Define "database" parameter as
9653 (sql-sqlite-program): Change to "sqlite3".
9654 (sql-comint-sqlite): Make sure database name is complete.
9655 (sql-for-each-login): New function.
9656 (sql-connect, sql-save-connection): Use it.
9657 (sql-get-login-ext): New function.
9658 (sql-get-login): Use it.
9659 (sql-make-alternate-buffer-name): Handle :file parameters.
9661 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
9663 * dired.el (dired-no-confirm): Document value t and fix defcustom to
9664 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
9666 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
9668 * dired.el (dired-mode-map): Use command remapping (bug#6632).
9670 2010-07-22 Lawrence Mitchell <wence@gmx.li>
9672 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
9674 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
9676 * net/tramp.el (tramp-get-ls-command)
9677 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
9680 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
9682 * progmodes/sql.el: Version 2.3.
9683 (sql-connection-alist): Change keys from symbols to strings;
9684 enhanced the widget definition.
9685 (sql-mode-menu): Add submenu to select connections.
9686 (sql-interactive-mode-menu): Add "Save Connection" item.
9687 (sql-add-product): Fix menu item.
9688 (sql-get-product-feature): Improved error handling.
9689 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
9690 (sql-make-alternate-buffer-name): Simplified.
9691 (sql-product-interactive): Handle missing product.
9692 (sql-connect): Support string keys, minor improvements.
9693 (sql-save-connection): New function.
9694 (sql-connection-menu-filter): New function.
9696 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9698 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
9699 (tramp-open-connection-setup-interactive-shell):
9700 Apply workaround for IRIX64 bug. Move argument of last
9701 `tramp-send-command' where it belongs to.
9703 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9705 * net/tramp.el (tramp-perl-file-attributes)
9706 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
9707 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
9708 front of `login-args'.
9710 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
9712 * time.el (display-time-world-mode): Define with `define-derived-mode'.
9713 Set `show-trailing-whitespace' to nil.
9714 (display-time-world-display): Simplify.
9716 2010-07-18 Alan Mackenzie <acm@muc.de>
9718 Enhance `c-file-style' in file/directory local variables.
9719 * progmodes/cc-mode.el (c-count-cfss): New function.
9720 (c-before-hack-hook): Call `c-set-style' differently according to
9721 whether c-file-style was set in file or directory local
9724 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
9726 * progmodes/sql.el: Version 2.2.
9727 (sql-product, sql-user, sql-database, sql-server, sql-port):
9728 Use defcustom :safe keyword rather than putting safe-local-variable
9730 (sql-password): Use defcustom :risky keyword rather than putting
9731 risky-local-variable property.
9732 (sql-oracle-login-params, sql-sqlite-login-params)
9733 (sql-solid-login-params, sql-sybase-login-params)
9734 (sql-informix-login-params, sql-ingres-login-params)
9735 (sql-ms-login-params, sql-postgres-login-params)
9736 (sql-interbase-login-params, sql-db2-login-params)
9737 (sql-linter-login-params): Add `port' option.
9738 (sql-get-product-feature): Add NO-INDIRECT parameter.
9739 (sql-comint-oracle, sql-comint-sybase)
9740 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
9741 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
9742 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
9743 (sql-comint-linter): Rename sql-connect-* functions to
9745 (sql-product-alist, sql-mode-menu): Rename as above and
9746 :sqli-connect-func to :sqli-comint-func.
9747 (sql-connection): New variable.
9748 (sql-interactive-mode): Set it.
9749 (sql-connection-alist): New variable.
9750 (sql-connect): New function.
9751 (sql--alt-buffer-part, sql--alt-if-not-empty)
9752 (sql-make-alternate-buffer-name): Improved alternative buffer name.
9754 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9756 * image-mode.el (image-bookmark-make-record): Do not set context
9757 in an image (Bug#6650).
9759 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9761 * simple.el (select-active-region): New function.
9762 (push-mark-command, set-mark, activate-mark)
9763 (handle-shift-selection): Use it.
9764 (deactivate-mark): Don't check for size of region.
9766 * mouse.el (mouse-drag-track): Use select-active-region.
9768 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
9770 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
9773 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9775 * term/x-win.el (x-select-enable-primary): Change default to nil.
9776 (x-select-enable-clipboard): Add :version keyword.
9778 * mouse.el (mouse-drag-copy-region):
9779 * simple.el (select-active-regions): Likewise.
9781 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
9783 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
9784 (vc-coding-system-for-diff): Use it to decide whether to inherit
9785 from the file the EOL format for reading the diffs of that file.
9788 2010-07-16 Eli Zaretskii <eliz@gnu.org>
9790 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
9791 unibyte, so compressed attachments are not compressed again.
9793 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
9795 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
9796 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9797 (tramp-find-shell): Simplify setting connection property.
9798 (tramp-get-ls-command): Make test for "--color=never" stronger.
9800 2010-07-15 Simon South <ssouth@member.fsf.org>
9802 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9803 blocks within record declarations (i.e. variant parts) correctly.
9805 2010-07-15 Simon South <ssouth@member.fsf.org>
9807 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9808 over literal tokens when parsing so newlines aren't "absorbed" by
9809 single-line comments. Corrects the indentation of case blocks
9810 that have a comment on the first line.
9812 2010-07-14 Karl Fogel <kfogel@red-bean.com>
9814 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9815 by Drew Adams (Bug#5504).
9817 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
9819 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9820 now that Unicode is used (Bug#6594).
9822 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
9824 * term/x-win.el (x-select-enable-clipboard): Default to t.
9825 (x-initialize-window-system): Don't overwrite Paste menu item.
9827 * simple.el (select-active-regions): Default to t.
9828 (push-mark-command): Don't overwrite primary with empty string.
9830 * mouse.el: Bind mouse-2 to mouse-yank-primary.
9831 (mouse-drag-copy-region): Default to nil.
9833 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9834 Cut/Copy/Paste menu bar items.
9836 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9838 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9839 Patch applied by Karl Fogel.
9841 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9842 and `bookmark-current-buffer' if they have been already set in
9843 another buffer (e.g gnus-art).
9845 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9846 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9848 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9850 * bookmark.el (bookmark-make-record-default): Allow unneeded
9851 information to be omitted from the record.
9853 Adjust declarations and calls:
9855 * info.el (bookmark-make-record-default): Adjust declaration.
9856 (Info-bookmark-make-record): Adjust call.
9858 * woman.el (bookmark-make-record-default): Adjust declaration.
9859 (woman-bookmark-make-record): Adjust call.
9861 * man.el (bookmark-make-record-default): Adjust declaration.
9862 (Man-bookmark-make-record): Adjust call.
9864 * image-mode.el (bookmark-make-record-default): Adjust declaration.
9866 * doc-view.el (bookmark-make-record-default): Adjust declaration.
9868 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9870 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9871 This is also from Thierry Volpiatto's patch in bug #6444. However,
9872 because it was extraneous to the functional change in that patch,
9873 and causes a re-indendation, I am committing it separately.
9875 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9877 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9878 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9879 Patch applied by Karl Fogel (Bug#6444).
9881 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
9883 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9885 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
9887 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9888 Dempsky; bug#5084). Remove incorrect binding for S-tab.
9889 (ns-alternatives-map): Change S-tab binding to backtab
9892 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9895 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
9897 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9900 * language/tv-util.el (tai-viet-re): Remove format.
9902 2010-07-12 Kenichi Handa <handa@m17n.org>
9904 * language/hebrew.el: Remove no-byte-compile declaration.
9905 Change coding: tag to utf-8. Register hebrew-shape-gstring in
9906 composition-function-table for 3-character looking back.
9907 (hebrew-font-get-precomposed): New function.
9908 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9910 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
9912 * mouse.el (mouse-drag-track): Handle select-active-regions
9915 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
9917 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9918 empty argument to gvfs-copy.
9920 2010-07-10 Glenn Morris <rgm@gnu.org>
9922 * calendar/calendar.el (calendar-week-end-day): New function.
9923 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9924 Respect calendar-week-start-day. (Bug#6606)
9925 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9926 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9927 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9928 respect calendar-week-start-day.
9930 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
9932 * simple.el (use-region-p): Doc fix (Bug#6607).
9934 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
9936 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9937 Add regexps for cucumber and ruby.
9939 2010-07-08 Daiki Ueno <ueno@unixuser.org>
9941 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9942 (epa-file-insert-file-contents): Hack to prevent
9943 find-file from opening empty buffer when decryption failed
9946 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
9948 * textmodes/ispell.el (ispell-alternate-dictionary):
9949 Use file-readable-p.
9950 Return nil if no word-list is found at default locations.
9951 (ispell-complete-word-dict): Default to nil.
9952 (ispell-command-loop): Use 'word-list' when using lookup-words.
9953 (lookup-words): Use ispell-complete-word-dict or
9954 ispell-alternate-dictionary. Check for word-list availability
9955 and handle errors if needed with better messages (Bug#6539).
9956 (ispell-complete-word): Use ispell-complete-word-dict or
9957 ispell-alternate-dictionary.
9959 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
9961 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9962 builtins (BufferError, BytesWarning, WindowsError; callables
9963 bin, bytearray, bytes, format, memoryview, next, print; __package__).
9965 2010-07-07 Glenn Morris <rgm@gnu.org>
9967 * play/zone.el (top-level): Do not require timer, tabify, or cl.
9968 (zone-shift-left): Ignore intangibility, and any errors from
9970 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
9971 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9972 deleting, and copying text properties.
9973 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9974 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9975 to point-max is hard.
9976 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9977 (zone-fill-out-screen): Ignore intangibility.
9979 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
9981 * menu-bar.el (menu-bar-mode):
9982 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9985 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9986 word/line selection (Bug#6565).
9988 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
9990 * net/dbus.el (dbus-send-signal): Declare function.
9992 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
9994 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9995 (dbus-register-property): New optional argument EMITS-SIGNAL.
9996 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9998 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
10000 * mouse.el (mouse-drag-overlay): Variable deleted.
10001 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
10002 (mouse--remap-link-click-p): New function.
10003 (mouse-drag-track): Handle dragging by using temporary Transient
10004 Mark mode, instead of a special overlay.
10005 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
10008 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
10011 2010-07-02 Juri Linkov <juri@jurta.org>
10013 * autoinsert.el (auto-insert-alist): Fix readability
10014 by using dotted pair notation for lambda.
10016 2010-07-02 Juri Linkov <juri@jurta.org>
10018 * faces.el (read-face-name): Rename arg `string-describing-default'
10019 to `default'. Doc fix. Display the default value in quotes
10020 in the prompt. With empty input, return the `default' arg,
10021 unless the default value is a string (in which case return nil).
10022 (describe-face): Replace the string `default' arg of `read-face-name'
10023 with the symbol `default'.
10025 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
10027 * emulation/viper-cmd.el (viper-delete-backward-char)
10028 (viper-del-backward-char-in-insert)
10029 (viper-del-backward-char-in-replace, viper-change)
10030 (viper-backward-indent): Replace delete-backward-char with
10031 delete-char (Bug#6552).
10033 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
10035 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
10037 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
10039 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
10040 argument passed to frame-creation-function (Bug#5378).
10042 * faces.el (x-handle-named-frame-geometry)
10043 (x-handle-reverse-video, x-create-frame-with-faces)
10044 (face-set-after-frame-default, tty-create-frame-with-faces):
10045 Don't separately consult default-frame-alist. It is now passed as the
10046 PARAMETER argument.
10048 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
10050 * startup.el (command-line): Don't call tool-bar-setup in a
10053 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
10055 * ruler-mode.el (ruler--save-header-line-format): New fun.
10056 (ruler-mode): Use it as a setter function, so as not to overwrite
10057 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
10059 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
10061 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
10062 (vc-root-diff, vc-print-root-log, vc-log-incoming)
10063 (vc-log-outgoing): Use it.
10064 (vc-diff-internal): Set diff-vc-backend.
10066 * vc/diff-mode.el (diff-vc-backend): New var.
10068 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
10070 * dynamic-setting.el (font-setting-change-default-font):
10071 Remove call to message.
10073 2010-06-28 Kenichi Handa <handa@m17n.org>
10075 * international/quail.el (quail-insert-kbd-layout): Fix the
10076 showing of untranslated characters.
10078 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
10080 * simple.el (delete-active-region): New option.
10081 (delete-backward-char): Implement in Lisp.
10082 (delete-forward-char): New command.
10084 * mouse.el (mouse-region-delete-keys): Delete.
10085 (mouse-show-mark): Simplify.
10087 * bindings.el (global-map): Bind delete and DEL, the former to
10088 delete-forward-char.
10090 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
10092 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
10093 (ruby-mode): Bind indent-line-function (Bug#5119).
10095 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
10097 * startup.el (command-line): Recognize "0" X resource value.
10099 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
10101 * startup.el (command-line): Use X resources to set the value of
10102 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
10104 * menu-bar.el (menu-bar-mode):
10105 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
10106 Set init-value to t.
10108 * frame.el (frame-notice-user-settings): Don't change
10109 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
10110 vice versa (Bug#2249).
10112 2010-06-26 Eli Zaretskii <eliz@gnu.org>
10114 * w32-fns.el (w32-convert-standard-filename): Doc fix.
10116 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
10118 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
10119 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
10121 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
10122 default directories are expanded (Bug#6143).
10124 2010-06-24 Juri Linkov <juri@jurta.org>
10126 * minibuffer.el (completions-format): Change default from nil to
10127 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
10129 2010-06-24 Juri Linkov <juri@jurta.org>
10131 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
10132 buffer-locally to lambda that re-runs the vc diff command.
10135 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
10137 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
10138 echo area is in use (Bug#3412).
10140 2010-06-22 Glenn Morris <rgm@gnu.org>
10142 * textmodes/texinfmt.el (texinfo-format-region)
10143 (texinfo-raise-lower-sections, texinfo-format-separate-node)
10144 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
10145 (texinfo-format-option, texinfo-noindent):
10146 Use line-beginning-position and line-end-position.
10148 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
10149 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
10150 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
10153 2010-06-21 Karl Fogel <kfogel@red-bean.com>
10155 * play/zone.el (zone-fall-through-ws): Fix next-line ->
10156 forward-line fallout.
10158 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
10160 * mouse.el (mouse-appearance-menu): Add docstring.
10162 * help.el (describe-key): Print up-event using key-description.
10164 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
10166 * net/zeroconf.el (zeroconf-resolve-service)
10167 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
10168 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
10170 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
10172 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
10174 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
10176 Avoid displaying files with a nil state in vc-dir.
10177 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
10178 cases that cause insertion.
10179 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
10182 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
10184 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
10186 2010-06-29 Leo <sdl.web@gmail.com>
10188 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
10190 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10192 * generic-x.el (bat-generic-mode): Fix regexp for command line
10193 switches (Bug#5719).
10195 2010-06-27 Masatake YAMATO <yamato@redhat.com>
10197 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
10198 of nconc to avoid pure storage error (Bug#6239).
10200 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
10202 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
10203 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
10204 bindings of bookmark-automatically-show-annotations (Bug#6515).
10206 2010-06-25 Eli Zaretskii <eliz@gnu.org>
10208 * arc-mode.el (archive-zip-extract): Don't quote the file name on
10209 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
10211 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
10213 * comint.el (make-comint, make-comint-in-buffer): Mention return
10214 value in the docstrings. (Bug#6498)
10216 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
10218 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
10219 since it is not present when using some non-default switches.
10221 2010-06-23 Karl Fogel <kfogel@red-bean.com>
10223 * simple.el (compose-mail): Fix doc string to refer to
10224 `compose-mail-user-agent-warnings', instead of to the
10225 nonexistent `compose-mail-check-user-agent'.
10227 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
10229 Fix an indentation bug:
10231 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
10232 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
10233 of existing values.
10235 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
10236 (c-clear->-pair-props-if-match-before): now return t when they've
10237 cleared properties, nil otherwise.
10238 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
10239 by taking account of the existing value.
10241 * progmodes/cc-defs.el
10242 (c-clear-char-property-with-value-function): Fix this to clear the
10243 property rather than overwriting it with nil.
10245 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
10247 * emacs-lisp/package.el (package-print-package): Add link to
10248 package description via describe-package.
10249 (describe-package-1): List package requirements. Add button to
10250 perform installation.
10251 (package-menu-describe-package): New command.
10253 * help-mode.el (help-package): New button type.
10255 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
10257 * emacs-lisp/package.el: Move package-list-packages binding to
10259 (describe-package, describe-package-1, package--dir): New funs.
10260 (package-activate-1): Use package--dir.
10262 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
10264 * help-mode.el (help-package-def): New button type.
10266 * menu-bar.el: Move package-list-packages binding here from
10269 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
10271 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
10273 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10275 * emacs-lisp/edebug.el (edebug-read-list):
10276 Phase out old-style backquotes.
10278 2010-06-17 Juri Linkov <juri@jurta.org>
10280 * help-mode.el (help-mode): Set buffer-local variable
10281 revert-buffer-function to help-mode-revert-buffer.
10282 (help-mode-revert-buffer): New function.
10284 * info.el (Info-revert-find-node): Check for major-mode Info-mode
10285 before popping to "*info*" (like in other Info functions).
10286 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
10287 old-history-forward. Pop to old-buffer-name or "*info*" to
10288 recreate the killed buffer. Set Info-history-forward from
10289 old-history-forward.
10290 (Info-breadcrumbs-depth): Add :group and :version.
10292 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
10294 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
10296 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
10298 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
10299 for languages like Portuguese with pt_{BR,PT} and no plain pt.
10301 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
10303 * emacs-lisp/package.el (package-menu-mode-map):
10304 Move initialization into declaration.
10306 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
10308 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
10310 * emacs-lisp/package.el (package-archive-base): Point to
10312 (package-enable, package-load-list): New defcustoms.
10313 (package-user-dir, package-directory-list): Turn into defcustoms.
10314 Don't include package-user-dir in package-directory-list.
10315 (package--builtins-base): Don't include Emacs as a "package".
10316 (package-subdirectory-regexp): New var.
10317 (package-load-all-descriptors, package-compute-transaction)
10318 (package-download-transaction): Obey package-load-list.
10319 (package-activate-1): Rename from package-do-activate.
10320 (package-list-packages-internal): Check package-load-list.
10321 (package-load-descriptor, package-generate-autoloads)
10322 (package-unpack, package-unpack-single)
10323 (package--read-archive-file, package-delete):
10324 Use expand-file-name.
10326 * emacs-lisp/package-x.el: New file. Package uploading
10327 functionality split out from package.el.
10329 * startup.el (command-line): Load packages after reading init file.
10331 2010-06-17 Tom Tromey <tromey@redhat.com>
10333 * emacs-lisp/package.el: New file.
10335 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
10337 Fix vc-annotate for renamed files when using Git.
10338 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
10339 ls-files. Doe not pass the object as a file name to cat-file, it
10340 is not a file name.
10341 (vc-git-annotate-command): Pass the file name using -- to avoid
10342 ambiguity with the revision.
10343 (vc-git-previous-revision): Pass a relative file name.
10345 2010-06-22 Glenn Morris <rgm@gnu.org>
10347 * progmodes/js.el (js-mode-map): Use standard capitalization and
10348 ellipses for menu entries.
10350 * wid-edit.el (widget-complete): Doc fix.
10352 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
10354 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
10356 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
10358 Fix annotating other revisions for renamed files in vc-annotate.
10359 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
10360 VC backend. Use it when non-nil.
10361 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
10364 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
10365 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10366 Do not pass the file name to the 'previous-revision call when we
10367 don't want a file diff. (Bug#6489)
10369 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
10371 Fix finding revisions for renamed files in vc-annotate.
10372 * vc/vc.el (vc-find-revision): Add an optional argument for
10373 the VC backend. Use it when non-nil.
10374 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
10375 backend to vc-find-revision. (Bug#6487)
10377 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
10379 Fix reading file names in Git annotate buffers.
10380 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
10381 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
10383 2010-06-20 Alan Mackenzie <acm@muc.de>
10385 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
10386 in file local variables, set it first.
10388 2010-06-19 Glenn Morris <rgm@gnu.org>
10390 * descr-text.el (describe-char-unicode-data): Insert separating
10391 space when needed. (Bug#6422)
10393 * progmodes/idlwave.el (idlwave-action-and-binding):
10394 Fix typo in 2009-12-03 change. (Bug#6450)
10396 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10398 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
10399 handling for `lambda' (misunderstanding).
10401 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
10403 * calc/calc-poly.el (math-accum-factors): Make sure that
10404 constants aren't distributed after they are factored out.
10406 2010-06-16 Juri Linkov <juri@jurta.org>
10408 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
10409 `list-colors-print'. (Bug#6332)
10411 * subr.el (read-quoted-char): Fix up last change (bug#6290).
10413 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
10415 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
10416 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
10418 * font-lock.el (font-lock-major-mode): Rename from
10419 font-lock-mode-major-mode to distinguish it from
10420 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
10421 (font-lock-set-defaults):
10422 * font-core.el (font-lock-default-function): Adjust users.
10423 (font-lock-mode): Don't set it at all.
10425 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
10427 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
10429 2010-06-16 Glenn Morris <rgm@gnu.org>
10431 * calendar/appt.el (appt-time-msg-list): Doc fix.
10432 (appt-check): Let-bind appt-warn-time.
10433 (appt-add): Make the 3rd argument optional.
10434 Simplify argument names. Doc fix. Check for integer WARNTIME.
10435 Only add WARNTIME to the output list if non-nil.
10437 2010-06-16 Ivan Kanis <apple@kanis.eu>
10439 * calendar/appt.el (appt-check): Let the 3rd element of
10440 appt-time-msg-list specify the warning time.
10441 (appt-add): Add new argument with the warning time. (Bug#5176)
10443 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10445 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
10446 older than version 1.6. (Bug#6361)
10448 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
10450 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
10451 used by cl-do-arglist. (Bug#6408)
10453 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
10455 * textmodes/ispell.el (ispell-dictionary-base-alist):
10456 Fix portuguese casechars/not-casechars for missing 'çÇ'.
10457 Suggested by Rolando Pereira (bug#6434).
10459 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
10461 * facemenu.el (list-colors-sort): Doc fix.
10463 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10465 * progmodes/sql.el (sql-connect-mysql): Fix typo.
10467 2010-06-14 Juri Linkov <juri@jurta.org>
10469 Add sort option `list-colors-sort'. (Bug#6332)
10470 * facemenu.el (color-rgb-to-hsv): New function.
10471 (list-colors-sort): New defcustom.
10472 (list-colors-sort-key): New function.
10473 (list-colors-display): Doc fix. Sort list according to the option
10474 `list-colors-sort'.
10475 (list-colors-print): Add HSV values to `help-echo' property of
10478 2010-06-14 Juri Linkov <juri@jurta.org>
10480 * compare-w.el: Move to the "vc" subdirectory.
10482 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10484 * image-mode.el (image-mode-map): Remap left-char and right-char.
10486 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
10488 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
10490 * term/common-win.el (x-colors): Add all the color names defined
10491 in rgb.txt (Bug#6332).
10493 * facemenu.el (list-colors-print): Don't print extra names if it
10494 will overflow the window width.
10496 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
10499 2010-06-12 Eli Zaretskii <eliz@gnu.org>
10501 * files.el (make-directory): Doc fix (bug#6396).
10503 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
10505 * net/tramp.el (tramp-remote-process-environment): Protect version
10506 string by apostroph.
10507 (tramp-shell-prompt-pattern): Do not use a shy group in case of
10509 (tramp-file-name-for-operation): Add `call-process-region'.
10510 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
10512 * net/tramp-compat.el (top): Do not autoload
10513 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
10514 only when `start-file-process' is not bound.
10515 (tramp-advice-file-expand-wildcards): Do not use
10516 `tramp-handle-file-remote-p'.
10517 (tramp-compat-make-temp-file): Handle the case, that
10518 `make-temp-file' has no third argument EXTENSION.
10520 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
10522 * makefile.w32-in (WINS_BASIC): Include new directory vc.
10524 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
10526 2010-06-11 Juri Linkov <juri@jurta.org>
10528 * finder.el (finder-known-keywords): Add keyword "vc"
10529 for version control.
10531 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
10532 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
10533 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
10534 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
10536 2010-06-11 Juri Linkov <juri@jurta.org>
10538 Move version control related files to the "vc" subdirectory.
10539 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
10540 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
10541 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
10542 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
10543 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
10544 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
10545 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
10546 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
10547 Move files to the "vc" subdirectory.
10549 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
10551 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
10554 2010-06-11 Stephen Eglen <stephen@gnu.org>
10556 * shell.el: Bind `shell-resync-dirs' to M-RET.
10558 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
10560 * notifications.el: Move file from lisp/net, because it is
10561 supposed to talk locally to the user.
10563 2010-06-10 Julien Danjou <julien@danjou.info>
10565 * net/notifications.el (notifications-on-action-signal)
10566 (notifications-on-closed-signal): Pass notification id as first
10567 argument to the callback functions. Add docstrings.
10568 (notifications-notify): Fix docstring.
10570 2010-06-10 Glenn Morris <rgm@gnu.org>
10572 * emacs-lisp/authors.el (authors-ignored-files)
10573 (authors-valid-file-names): Add some files.
10575 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10577 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
10578 merge conflict, giving preference to the emacs-23 version of the code.
10580 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10582 * emacs-lisp/advice.el (ad-compile-function):
10583 Define warning-suppress-types before we let-bind it (bug#6275).
10585 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
10586 declare it, make it buffer-local and permanent-local (bug#6324).
10587 (vc-resynch-window): Adjust name.
10588 * vc-hooks.el (vc-find-file-hook): Adjust name.
10590 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
10592 * net/notifications.el (notifications-notify): Fix docstring.
10594 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10596 Update to Unicode 6.0.0 beta.
10597 * international/charprop.el: Update copyright.
10598 * international/mule-cmds.el (ucs-names): Update character ranges.
10599 * international/uni-bidi.el:
10600 * international/uni-category.el:
10601 * international/uni-combining.el:
10602 * international/uni-comment.el:
10603 * international/uni-decimal.el:
10604 * international/uni-decomposition.el:
10605 * international/uni-digit.el:
10606 * international/uni-lowercase.el:
10607 * international/uni-mirrored.el:
10608 * international/uni-name.el:
10609 * international/uni-numeric.el:
10610 * international/uni-old-name.el:
10611 * international/uni-titlecase.el:
10612 * international/uni-uppercase.el: Regenerate.
10614 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10616 * emacs-lisp/smie.el (comment-string-strip): Declare function.
10617 (smie-precs-precedence-table): Fix typo in docstring.
10619 * vc-mtn.el (log-edit-extract-headers): Declare function.
10621 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
10623 * net/notifications.el (dbus-register-signal): Declare function.
10624 (notifications-notify): Fix typos and reflow docstring.
10626 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10628 Improve VC create/retrieve tag/branch.
10629 * vc.el (vc-create-tag): Do not read the directory name for VCs
10630 with repository revision granularity. Adjust the tag/branch
10631 prompt. Reset VC properties.
10632 (vc-retrieve-tag): Do not read the directory name for VCs
10633 with repository revision granularity. Reset VC properties.
10635 2010-06-09 Julien Danjou <julien@danjou.info>
10637 * net/notifications.el: New file.
10639 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10641 Add optional support for resetting VC properties.
10642 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
10643 call vc-file-clearprops when true.
10644 (vc-resynch-buffer): Add new optional argument, pass it down.
10645 (vc-resynch-buffers-in-directory): Likewise.
10647 Improve support for special markup in the VC commit message.
10648 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
10649 * vc-hg.el (vc-hg-checkin): Add support for Date:.
10650 * vc-git.el (vc-git-checkin):
10651 * vc-bzr.el (vc-bzr-checkin): Likewise.
10653 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10655 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
10656 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
10658 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
10660 * iimage.el: Remove images as soon as the underlying text is modified.
10661 (iimage-modification-hook): New function.
10662 (iimage-mode-buffer): Use it.
10664 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10666 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
10667 smie-indent-offset-after. Add :prev case. Make a bit more generic.
10668 (smie-indent-virtual): Remove `virtual' arg. Update callers.
10669 (smie-indent-keyword): Add handling of open-paren keywords.
10670 (smie-indent-comment-continue): Don't assume comment-continue.
10672 2010-06-07 Martin Rudalics <rudalics@gmx.at>
10674 * window.el (pop-to-buffer): Remove the conditional that
10675 compares new-window and old-window, so it will reselect
10676 the selected window unconditionally.
10677 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
10679 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10681 * emacs-lisp/smie.el (smie-indent-offset-after)
10682 (smie-indent-forward-token, smie-indent-backward-token): New functions.
10683 (smie-indent-after-keyword): Use them.
10684 (smie-indent-fixindent): Only applies to the indentation of the BOL.
10685 (smie-indent-keyword): Tweak the black magic.
10686 (smie-indent-comment-continue): Strip comment-continue before use.
10687 (smie-indent-functions): Indent comments before keywords.
10689 2010-06-06 Juri Linkov <juri@jurta.org>
10691 * isearch.el (isearch-lazy-highlight-search): Fix looping
10692 by checking for empty match. This syncs this loop with the
10693 similar loop in `isearch-search'. (Bug#6362)
10695 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
10697 * net/dbus.el (dbus-register-method): Declare function.
10698 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
10699 (dbus-introspect): Doc fix.
10700 (dbus-event-bus-name, dbus-introspect-get-interface)
10701 (dbus-introspect-get-argument): Reflow docstrings.
10703 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
10705 vc-log-incoming/vc-log-outgoing fixes for Git.
10706 * vc-git.el (vc-git-log-view-mode): Fix font lock for
10707 incoming/outgoing logs.
10708 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
10709 instead of vc-git-compute-remote.
10710 (vc-git-compute-remote): Remove.
10712 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
10714 * term/common-win.el (x-colors): Add "dark green" and "dark
10715 turquoise" (Bug#6332).
10717 2010-06-04 Juri Linkov <juri@jurta.org>
10719 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
10720 Instead of setting `replace' to t and replacing the same string
10721 with itself, don't do certain actions when
10722 kill-do-not-save-duplicates is non-nil and string is equal to car
10723 of kill-ring: don't call menu-bar-update-yank-menu, don't push
10724 interprogram-paste strings to kill-ring, and don't push the input
10725 argument `string' to kill-ring.
10726 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
10728 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10730 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
10732 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
10734 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
10735 (tramp-gvfs-handler-mounted-unmounted)
10736 (tramp-gvfs-connection-mounted-p): Handle default-location.
10738 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
10739 move files to trash.
10741 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10743 * international/mule-cmds.el (nonascii-insert-offset)
10744 (nonascii-translation-table): Add obsolescence information.
10746 * international/mule.el (make-translation-table-from-vector): Doc fix.
10748 2010-06-03 Glenn Morris <rgm@gnu.org>
10750 * desktop.el (desktop-clear-preserve-buffers):
10751 Add "*Warnings*" buffer. (Bug#6336)
10753 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
10755 vc-log-incoming/vc-log-outgoing improvements for Git.
10756 * vc-git.el (vc-git-log-outgoing): Use the same format as the
10758 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
10760 Add bindings for vc-log-incoming and vc-log-outgoing.
10761 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
10762 and vc-log-outgoing.
10763 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
10764 and vc-log-outgoing.
10766 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10768 * net/rcirc.el (rcirc-sort-nicknames): Remove.
10769 (rcirc-handler-366): Always sort nicknames.
10771 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
10773 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
10775 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10777 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
10779 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10781 * net/rcirc.el (rcirc-sort-nicknames): Change default.
10782 (rcirc-sort-nicknames-join): Avoid setq.
10784 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10786 * net/rcirc.el (rcirc-sort-nicknames): New custom.
10787 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
10788 (rcirc-handler-366): Use them.
10790 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10792 Split smie-indent-calculate into more manageable chunks.
10793 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
10794 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
10795 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
10796 (smie-indent-exps): Extract from smie-indent-calculate.
10797 (smie-indent-functions): New var.
10798 (smie-indent-functions): Use them.
10800 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10802 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10803 (smie-indent-calculate): Simplify and cleanup.
10805 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
10807 * net/tramp-gvfs.el (top): Require url-util.
10808 (tramp-gvfs-mount-point): Remove.
10809 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10811 (with-tramp-dbus-call-method): Format trace message.
10812 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10813 Implement backup call, when operation on local files fails.
10814 Use progress reporter. Flush properties of changed files.
10815 (tramp-gvfs-handle-make-directory): Make more traces.
10816 (tramp-gvfs-url-file-name): Hexify file name in url.
10817 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10818 into account for the resulting file name.
10819 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10820 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
10821 (tramp-gvfs-handler-mounted-unmounted)
10822 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10823 attribute "default_location". Set "prefix" property.
10824 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10825 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10826 exists. Raise an error, if not (due to a corresponding answer
10827 "no" in interactive questions, for example).
10829 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
10831 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10833 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
10835 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10836 right-*. (Bug#6265)
10838 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
10840 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10841 * vc-git.el (vc-git-compute-remote): New function.
10842 (vc-git-log-outgoing): Use it instead of hard coding a value.
10843 (vc-git-log-incoming): New function.
10845 Improve state updating for VC tag commands.
10846 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10847 to update the state of all buffers in the directory.
10849 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10851 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10853 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10854 `file-directory-p' to the filename part rather than to the whole text.
10856 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10858 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10860 2010-05-31 Drew Adams <drew.adams@oracle.com>
10862 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10864 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
10866 * subr.el (momentary-string-display): Just use read-event to read
10867 the exit event (Bug#6238).
10869 2010-05-30 Eli Zaretskii <eliz@gnu.org>
10871 * international/mule.el (define-coding-system): Doc fix (bug#6313).
10873 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10875 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10876 Suggested by Eli Zaretskii <eliz@gnu.org>.
10878 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10880 * minibuffer.el (completion-file-name-table): Don't return a boundary
10881 past the end of `string' (bug#6299).
10882 (completion--file-name-table): Delegate to completion-file-name-table
10883 for the `boundaries' case.
10885 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10887 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10890 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10891 `path-separator', but maintain compatibility with Emacs 20.2.
10893 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10895 * server.el (server-process-filter): Receive parent-id argument
10897 (server-create-window-system-frame): New arg. Pass parent-id as
10900 2010-05-29 Eli Zaretskii <eliz@gnu.org>
10902 Bidi-sensitive word movement with arrow keys.
10903 * subr.el (right-arrow-command, left-arrow-command): Move to
10906 * bindings.el (right-char, left-char): Move from subr.el and
10907 rename from right-arrow-command and left-arrow-command.
10908 (right-word, left-word): New functions.
10909 (global-map) <right>: Bind to right-char.
10910 (global-map) <left>: Bind to left-char.
10911 (global-map) <C-right>: Bind to right-word.
10912 (global-map) <C-left>: Bind to left-word.
10914 * ls-lisp.el (ls-lisp-classify-file): New function.
10915 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10916 (ls-lisp-classify): Call ls-lisp-classify-file.
10917 (insert-directory): Remove blanks from switches.
10919 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10921 * ansi-color.el: Delete unused escape sequences (Bug#6085).
10922 (ansi-color-drop-regexp): New constant.
10923 (ansi-color-apply, ansi-color-filter-region)
10924 (ansi-color-apply-on-region): Delete unrecognized control sequences.
10925 (ansi-color-apply): Build string list before calling concat.
10927 2010-05-28 Juri Linkov <juri@jurta.org>
10929 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10930 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10933 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10935 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10936 to ignored backtrace functions.
10937 (with-progress-reporter): Expand docstring.
10938 (tramp-handle-delete-file): Implement TRASH argument.
10939 (tramp-get-remote-trash): New defun.
10941 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10943 * net/tramp-compat.el (tramp-compat-delete-file):
10944 Use `symbol-value' for backward compatibility.
10946 * net/tramp.el (tramp-handle-make-symbolic-link)
10947 (tramp-handle-load)
10948 (tramp-do-copy-or-rename-file-via-buffer)
10949 (tramp-do-copy-or-rename-file-directly)
10950 (tramp-do-copy-or-rename-file-out-of-band)
10951 (tramp-handle-process-file, tramp-handle-call-process-region)
10952 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10953 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10954 (tramp-delete-temp-file-function): Use `delete-file' instead
10955 of `tramp-compat-delete-file'.
10957 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10958 (tramp-fish-handle-make-symbolic-link)
10959 (tramp-fish-handle-process-file): Use `delete-file' instead
10960 of `tramp-compat-delete-file'.
10962 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10963 Use `delete-file' instead of `tramp-compat-delete-file'.
10965 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
10966 Use `delete-file' instead of `tramp-compat-delete-file'.
10968 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10969 Use `delete-file' instead of `tramp-compat-delete-file'.
10971 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10972 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10973 (tramp-smb-handle-write-region): Use `delete-file' instead of
10974 `tramp-compat-delete-file'.
10975 (tramp-smb-handle-delete-directory): Use 'trash as arg.
10977 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10979 * dired.el (dired-delete-file): New arg TRASH.
10980 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
10981 (dired-do-flagged-delete, dired-do-delete): Use trash.
10983 * speedbar.el (speedbar-item-delete): Allow trashing.
10985 * files.el (delete-directory): New arg TRASH.
10987 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10988 (ange-ftp-rename-remote-to-remote)
10989 (ange-ftp-rename-local-to-remote)
10990 (ange-ftp-rename-remote-to-local, ange-ftp-load)
10991 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10993 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10996 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10997 handle new TRASH arg of `delete-file'.
10999 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
11000 (tramp-handle-make-symbolic-link, tramp-handle-load)
11001 (tramp-do-copy-or-rename-file-via-buffer)
11002 (tramp-do-copy-or-rename-file-directly)
11003 (tramp-do-copy-or-rename-file-out-of-band)
11004 (tramp-handle-process-file, tramp-handle-call-process-region)
11005 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11006 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11007 (tramp-delete-temp-file-function): Use null TRASH arg in
11008 tramp-compat-delete-file call.
11010 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
11011 (tramp-fish-handle-delete-file)
11012 (tramp-fish-handle-make-symbolic-link)
11013 (tramp-fish-handle-process-file): Use null TRASH arg in
11014 `tramp-compat-delete-file' call.
11016 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
11017 arg in `tramp-compat-delete-file' call.
11019 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
11020 (tramp-gvfs-handle-write-region): Use null TRASH arg in
11021 `tramp-compat-delete-file' call.
11023 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
11024 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
11025 `tramp-compat-delete-file' call.
11027 * net/tramp-smb.el (tramp-smb-handle-copy-file)
11028 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11029 (tramp-smb-handle-write-region): Use null TRASH arg in
11030 tramp-compat-delete-file call.
11031 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
11032 (tramp-smb-handle-delete-file): Rename arg.
11034 * diff.el (diff-sentinel):
11035 * epg.el (epg--make-temp-file, epg-decrypt-string)
11036 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11037 * jka-compr.el (jka-compr-partial-uncompress)
11038 (jka-compr-call-process, jka-compr-write-region):
11039 * server.el (server-sentinel): Remove optional arg from
11040 delete-file, reverting 2010-05-03 change.
11042 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
11044 * progmodes/verilog-mode.el (verilog-type-font-keywords):
11045 Use font-lock-constant-face, not obsolete font-lock-reference-face.
11047 2010-05-27 Kenichi Handa <handa@m17n.org>
11049 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
11050 element of GSTRING is nil.
11052 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11054 * emacs-lisp/smie.el (smie-forward-token-function)
11055 (smie-backward-token-function): New vars.
11056 (smie-backward-sexp, smie-forward-sexp)
11057 (smie-indent-hanging-p, smie-indent-calculate): Use them.
11058 (smie-default-backward-token): Rename from smie-backward-token and
11060 (smie-default-forward-token): Rename from smie-forward-token and
11062 (smie-next-sexp): Handle nil results from next-token.
11063 (smie-indent-calculate): Add a new case for special `fixindent' comments.
11065 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
11067 * progmodes/verilog-mode.el (verilog-type-font-keywords):
11068 Use font-lock-constant-face, not obsolete font-lock-reference-face.
11070 2010-05-27 Masatake YAMATO <yamato@redhat.com>
11072 * htmlfontify.el (hfy-face-resolve-face): New function.
11073 (hfy-face-to-style): Use it (Bug#6279).
11075 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11077 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
11078 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
11080 2010-05-26 Glenn Morris <rgm@gnu.org>
11082 * emulation/edt.el (edt-load-keys): Use locate-library.
11084 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
11086 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
11087 (log-edit-changelog-entries): Doc fix.
11088 (log-edit-changelog-insert-entries): Args changed.
11089 Rename relative filenames in ChangeLog entries. Delete tabs.
11090 (log-edit-insert-changelog-entries): Reorganize return value of
11091 `log-edit-changelog-entries' to pass filenames to
11092 log-edit-changelog-insert-entries.
11094 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11096 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
11097 `image-dired-dired-insert-marked-thumbs' to
11098 `image-dired-dired-toggle-marked-thumbs'.
11100 * image-dired.el: Require cl when compiling.
11101 (image-dired-dired-toggle-marked-thumbs): Rename from
11102 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
11103 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
11104 to 'no-dir. Skip files whose names don't match
11105 `image-file-name-regexp'. When file has a thumbnail overlay,
11106 delete it. (Bug#5270)
11108 2010-05-25 Juri Linkov <juri@jurta.org>
11110 * image-mode.el (image-mode): Add image-after-revert-hook to
11112 (image-after-revert-hook): New function. (Bug#5669)
11114 2010-05-25 Juri Linkov <juri@jurta.org>
11116 * image.el (image-animated-p): When delay between animated images
11117 is 0, set it to 10 (0.1 sec). (Bug#6258)
11119 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
11121 * net/tramp.el (tramp-handle-insert-directory): Don't use
11122 `forward-word', its default syntax could be changed.
11124 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
11126 * net/tramp.el (tramp-progress-reporter-update): New defun.
11127 (with-progress-reporter): Use it.
11128 (tramp-process-actions):
11129 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
11130 Preserve current message, in order to let progress reporter continue
11131 afterwards. (Bug#6257)
11133 2010-05-25 Glenn Morris <rgm@gnu.org>
11135 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
11138 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
11140 * net/rcirc.el (rcirc-default-user-name): Change to "user".
11141 (rcirc-default-full-name): Change to "unknown".
11142 (rcirc-user-name-history): Add variable.
11144 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
11145 Jonathan Rockway <jon@jrock.us>
11147 * net/rcirc.el (rcirc-server-alist): Add :pass.
11148 (rcirc): When prompting for connection parameters, also prompt for
11149 username and password.
11150 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
11151 value to server when connecting.
11153 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11155 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
11156 (smie-merge-prec2s): Pass the tables as separate args.
11157 (smie-bnf-precedence-table): Adjust call accordingly.
11158 (smie-prec2-levels): Set levels at the end.
11160 Replace Lisp calls to delete-backward-char by delete-char.
11161 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
11162 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
11163 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
11164 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
11165 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
11166 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
11167 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
11168 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
11169 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
11170 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
11171 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
11172 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
11173 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
11174 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
11175 delete-backward-char by calls to delete-char.
11177 2010-05-25 Kenichi Handa <handa@m17n.org>
11179 * language/hebrew.el (hebrew-shape-gstring): New function.
11180 Register it in composition-function-table for all Hebrew combining
11183 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11185 * epa.el (epa--select-keys): Don't explicitly delete the window since
11186 that can fail (e.g. sole window in frame). Use dedication instead.
11188 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11190 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
11192 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
11194 * image.el (image-refresh): Define as an alias for image-flush.
11196 * image-mode.el (image-toggle-display-image): Caller changed.
11198 2010-05-21 Juri Linkov <juri@jurta.org>
11200 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
11201 Remove "all" from grep-files-aliases. Split grep-files-aliases by
11202 whitespace, call wildcard-to-regexp on substrings and concat them
11203 with "\\|". (Bug#6114)
11205 2010-05-21 Alan Mackenzie <acm@muc.de>
11207 * progmodes/cc-engine.el (c-parse-state-get-strategy):
11208 Replace parameter `here' with `here-' and `here-plus', which sandwich
11209 any pertinent CPP construct.
11210 (c-remove-stale-state-cache-backwards): Fix a bug which happens
11211 when doing (c-parse-state) in a CPP construct: Exclude any "new"
11212 CPP construct from taking part in the scanning.
11214 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
11216 * net/tramp.el (tramp-do-copy-or-rename-file)
11217 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
11218 Tune `with-progress-reporter' messages.
11219 (tramp-handle-vc-registered):
11220 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
11221 (tramp-fish-handle-insert-file-contents)
11222 (tramp-fish-maybe-open-connection):
11223 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11224 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
11225 (tramp-imap-handle-insert-file-contents)
11226 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
11228 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
11230 * add-log.el (change-log-font-lock-keywords):
11231 Highlight all authors in multi-author entries.
11233 * smerge-mode.el (smerge-refine-ignore-whitespace)
11234 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
11235 Fix typos in docstrings.
11236 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
11238 2010-05-21 Glenn Morris <rgm@gnu.org>
11240 * progmodes/fortran.el (fortran-mode):
11241 * progmodes/f90.el (f90-mode): Derive from prog-mode.
11243 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
11244 having a relative path in src/Makefile.in.
11246 2010-05-20 Kevin Ryde <user42@zip.com.au>
11248 * help-mode.el (help-make-xrefs): For Info node links turn
11249 newlines into spaces. Link node names with newlines are matched
11250 by help-xref-info-regexp and buttonized, this change ensures they
11251 can be followed successfully with RET. (Bug#6206)
11253 2010-05-20 Juri Linkov <juri@jurta.org>
11255 * locate.el (locate): Use pop-to-buffer instead of
11256 switch-to-buffer-other-window. (Bug#6204)
11258 2010-05-20 Juri Linkov <juri@jurta.org>
11260 * replace.el (replace-highlight): Fix lazy-highlighting
11261 for `M-s w str M-% str RET'.
11263 2009-12-15 Masatake YAMATO <yamato@redhat.com>
11265 * isearch.el (isearch-yank-word-or-char): Pull next subword
11266 when `subword-mode' is activated. (Bug#6220)
11268 2010-05-20 Mark A. Hershberger <mah@everybody.org>
11270 * isearch.el (isearch-update-post-hook): New hook.
11271 (isearch-update): Use the new hook. (Bug#6225)
11273 2010-05-20 Juri Linkov <juri@jurta.org>
11275 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
11276 [f1], [help], and (char-to-string help-char) instead of "\C-h".
11279 2010-05-20 Juri Linkov <juri@jurta.org>
11281 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
11284 2010-05-20 Juri Linkov <juri@jurta.org>
11286 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
11287 FILE-NAME to read from the minibuffer when called interactively
11288 with prefix argument instead of using buffer-file-name.
11289 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
11291 * dired.el: Update autoloads.
11293 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
11295 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
11296 nxml-finish-element, for consistency with SGML mode.
11298 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
11299 octave-close-block.
11301 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
11303 * composite.el: Require cl when compiling.
11304 (reference-point-alist, compose-gstring-for-graphic)
11305 (compose-gstring-for-terminal): Fix typos in docstrings.
11307 2010-05-19 Juri Linkov <juri@jurta.org>
11309 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
11310 set-window-parameter.
11312 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
11314 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
11316 (tramp-maybe-open-connection): Use it.
11318 2010-05-19 Eli Zaretskii <eliz@gnu.org>
11320 * simple.el (move-end-of-line): Make sure we are at line beginning
11321 before backing up to end of previous line.
11323 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
11325 * password-cache.el (password-cache-remove): Fix docstring.
11327 * net/secrets.el: Autoload the widget functions.
11328 (secrets-search-items, secrets-create-item)
11329 (secrets-get-attributes, secrets-expand-item): Attributes will be
11330 stored on the password database without leading ":", as all other
11331 clients do as well.
11332 (secrets-mode): Fix docstring.
11333 (secrets-show-secrets): Provide it as autoloaded command only when
11334 D-Bus support is available. Check existence of Secret Service API.
11336 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11338 * indent.el (indent-region): Deactivate region (bug#6200).
11340 2010-05-19 Glenn Morris <rgm@gnu.org>
11342 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
11344 2010-05-19 Kenichi Handa <handa@m17n.org>
11346 * composite.el: Register compose-gstring-for-graphic in
11347 composition-function-table only for combining characters (Mn, Mc, Me).
11349 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
11351 * calc/calc-trail.el (calc-trail-isearch-forward)
11352 (calc-trail-isearch-backward): Ensure that the new window
11353 point is set correctly.
11355 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11357 * subr.el (read-quoted-char): Resolve modifiers after key
11358 remapping (bug#6212).
11360 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
11362 Add visualization code for secrets.
11363 * net/secrets.el (secrets-mode): New major mode.
11364 (secrets-show-secrets, secrets-show-collections)
11365 (secrets-expand-collection, secrets-expand-item)
11366 (secrets-tree-widget-after-toggle-function)
11367 (secrets-tree-widget-show-password): New defuns.
11369 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11371 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
11372 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
11373 handled in smie-next-sexp.
11374 (smie-indent-calculate): Provide a starting indentation (so the
11375 recursion is well-founded ;-).
11377 Fix handling of non-associative equal levels.
11378 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
11379 when it's not needed.
11380 (smie-op-left, smie-op-right): New functions.
11381 (smie-next-sexp): New function, extracted from smie-backward-sexp.
11382 Better handle equal levels to distinguish the associative case from
11383 the "multi-keyword construct" case.
11384 (smie-backward-sexp, smie-forward-sexp): Use it.
11386 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
11388 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
11390 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
11391 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
11393 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11395 Provide a simple generic indentation engine and use it for Prolog.
11396 * emacs-lisp/smie.el: New file.
11397 * progmodes/prolog.el (prolog-smie-op-levels)
11398 (prolog-smie-indent-rules): New var.
11399 (prolog-mode-variables): Use them to configure SMIE.
11400 (prolog-indent-line, prolog-indent-level): Remove.
11402 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11404 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
11405 order before computing the averages.
11407 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
11409 * calc/calc-vec.el (calc-histogram):
11410 (calcFunc-histogram): Allow vectors as inputs.
11411 (math-vector-avg): New function.
11413 * calc/calc-ext.el (math-group-float): Have the number of digits
11414 being grouped depend on the radix (Bug#6189).
11416 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
11418 * version.el (emacs-copyright, emacs-version): Don't define here,
11419 now that emacs.c defines it.
11421 2010-05-15 Eli Zaretskii <eliz@gnu.org>
11423 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
11424 "Describe Language Environment" menu item.
11426 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
11428 Bidi-sensitive movement with arrow keys.
11429 * subr.el (right-arrow-command, left-arrow-command): New functions.
11431 * bindings.el (global-map): Bind them to right and left arrow keys.
11433 Don't override standard definition of convert-standard-filename.
11434 * files.el (convert-standard-filename):
11435 Call w32-convert-standard-filename and dos-convert-standard-filename on
11436 the corresponding systems.
11438 * w32-fns.el (w32-convert-standard-filename): Rename from
11439 convert-standard-filename. Doc fix.
11441 * dos-fns.el (dos-convert-standard-filename): Doc fix.
11442 (convert-standard-filename): Don't defalias.
11443 (register-name-alist, make-register, register-value)
11444 (set-register-value, intdos): Obsolete aliases for the
11445 corresponding dos-* functions and variables.
11446 (dos-intdos): Add a doc string.
11448 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
11450 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
11451 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
11452 (math-compose-tex-func):
11453 * calc/calccomp.el (math-compose-expr):
11454 * calc/calc-ext.el (math-format-flat-expr-fancy):
11455 * calc/calc-store.el (calc-read-var-name):
11456 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
11458 * calc/calc.el (var-π, var-φ, var-γ): New variables.
11459 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
11460 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
11461 (math-standard-units): Add units.
11463 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11465 * progmodes/asm-mode.el (asm-mode):
11466 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
11468 * pcomplete.el (pcomplete-completions-at-point): New function,
11469 extracted from pcomplete-std-complete.
11470 (pcomplete-std-complete): Use it.
11472 2010-05-15 Glenn Morris <rgm@gnu.org>
11474 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11475 Remove references to CVS, RCS and Old directories.
11477 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
11479 * calc/calc-bin.el (math-format-twos-complement): Group digits when
11482 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11484 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
11485 (sh-mode-syntax-table): Give it a default value instead.
11486 (sh-header-marker): Make buffer-local.
11487 (sh-mode): Move make-local-variable to the corresponding setq.
11488 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
11489 Use complete-with-action.
11491 * simple.el (prog-mode): New (abstract) major mode.
11492 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
11493 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
11495 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
11497 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
11498 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
11499 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
11500 (sql-make-alternate-buffer-name, sql-placeholders-filter)
11501 (sql-escape-newlines-filter, sql-input-sender)
11502 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
11504 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
11506 Add TeX open-block and close-block keybindings to SGML, and vice versa.
11508 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
11509 latex-open-block and C-c / to latex-close-block.
11511 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
11512 and C-c C-e to sgml-close-tag.
11514 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
11516 * net/tramp.el (with-progress-reporter): Create reporter object
11517 only when the message would be displayed. Handle nested calls.
11518 (tramp-handle-load, tramp-handle-file-local-copy)
11519 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11520 (tramp-maybe-send-script, tramp-find-shell):
11521 Use `with-progress-reporter'.
11522 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
11525 * net/tramp-smb.el (tramp-smb-handle-copy-file)
11526 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11527 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
11528 Use `with-progress-reporter'.
11530 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
11532 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
11533 process everytime when spellchecking from the minibuffer (bug#6143).
11535 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11537 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
11539 * dos-fns.el: Add "dos-" prefix for namespace control.
11540 (convert-standard-filename): Define as alias for
11541 dos-convert-standard-filename but only if applicable.
11543 2010-05-12 Alan Mackenzie <acm@muc.de>
11545 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
11546 Push the mark at the start of these functions when appropriate.
11548 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11550 * minibuffer.el (completion-cycle-threshold): New custom var.
11551 (completion--do-completion): Use it.
11552 (minibuffer-complete): Use cycling if appropriate.
11554 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
11556 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
11557 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
11559 2010-05-11 Juri Linkov <juri@jurta.org>
11561 * scroll-all.el (scroll-all-check-to-scroll):
11562 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
11564 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11566 * iimage.el (iimage-mode-map): Move initialization into declaration.
11567 (iimage-mode-buffer): Use with-silent-modifications.
11568 Simplify calling convention. Adjust callers.
11569 (iimage-mode): Don't run hook redundantly.
11571 * minibuffer.el (completion-pcm--pattern->regex):
11572 Fix last change (bug#6160).
11574 2010-05-10 Juri Linkov <juri@jurta.org>
11576 Remove nodes visited during Isearch from the Info history.
11577 * info.el (Info-isearch-initial-history)
11578 (Info-isearch-initial-history-list): New variables.
11579 (Info-isearch-start): Record initial values of
11580 Info-isearch-initial-history and Info-isearch-initial-history-list.
11581 Add Info-isearch-end to isearch-mode-end-hook.
11582 (Info-isearch-end): New function.
11584 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
11586 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
11587 format string, in order to work around a bug in pdksh.
11588 Reported by Gilles Pion <gpion@lfdj.com>.
11589 (tramp-handle-verify-visited-file-modtime): Do not send a command
11590 when the connection is not established.
11591 (tramp-handle-set-file-times): Simplify the check for utc.
11593 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
11595 Fix use of `filter-buffer-substring' (rework previous change).
11596 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
11597 (cua-repeat-replace-region):
11598 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
11599 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11600 (cua-cut-region-to-global-mark): Use it.
11602 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
11604 * progmodes/sql.el: Version 2.1.
11605 (sql-product-alist): Redesign structure of product info.
11606 (sql-product, sql-user, sql-server, sql-database): Safe variables.
11607 (sql-port, sql-port-history): New variables.
11608 (sql-interactive-product): New variable.
11609 (sql-send-terminator): New variable.
11610 (sql-imenu-generic-expression): Add "Types" imenu entry.
11611 (sql-oracle-login-params, sql-sqlite-login-params)
11612 (sql-mysql-login-params, sql-solid-login-params)
11613 (sql-sybase-login-params, sql-informix-login-params)
11614 (sql-ingres-login-params, sql-ms-login-params)
11615 (sql-postgres-login-params, sql-interbase-login-params)
11616 (sql-db2-login-params, sql-linter-login-params)
11617 (sql-oracle-scan-on): New variables.
11618 (sql-mode-map): Add C-c C-i to start interactive mode.
11619 (sql-mode-menu): Update existing menu entries.
11620 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
11621 (sql-mode-oracle-font-lock-keywords)
11622 (sql-mode-postgres-font-lock-keywords)
11623 (sql-mode-ms-font-lock-keywords)
11624 (sql-mode-sybase-font-lock-keywords)
11625 (sql-mode-informix-font-lock-keywords)
11626 (sql-mode-interbase-font-lock-keywords)
11627 (sql-mode-ingres-font-lock-keywords)
11628 (sql-mode-solid-font-lock-keywords)
11629 (sql-mode-mysql-font-lock-keywords)
11630 (sql-mode-sqlite-font-lock-keywords)
11631 (sql-mode-db2-font-lock-keywords)
11632 (sql-mode-linter-font-lock-keywords): Update initialization to
11633 reduce run-time complexity.
11634 (sql-add-product, sql-del-product): New functions.
11635 (sql-set-product-feature, sql-get-product-feature): New functions.
11636 (sql-product-font-lock): Update product API.
11637 (sql-add-product-keywords): New function.
11638 (sql-highlight-product): Update product API.
11639 (sql-help-list-products): New function.
11640 (sql-help): Dynamically lists free and non-free products.
11641 (sql-get-login): Correct bug in handling history and added
11643 (sql-copy-column): Copy without properties.
11644 (sqli-input-sender): Apply filters to SQLi input.
11645 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
11646 Implement as a filter.
11647 (sql-escape-newlines-filter): Implement as a filter.
11648 (sql-remove-tabs-filter): New function.
11649 (sql-send-magic-terminator): New function.
11650 (sql-send-string): Implement magic terminator.
11651 (sql-send-region): Use `sql-send-string'.
11652 (sql-interactive-mode): Use product API.
11653 (sql-product-interactive): Use product API.
11654 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
11655 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
11656 (sql-db2, sql-linter): Use `sql-product-interactive'.
11657 (sql-connect): New function.
11658 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
11659 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
11660 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
11661 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
11664 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11666 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
11667 New custom variable.
11668 (completion-pcm--string->pattern): Use it.
11669 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
11670 Make it handle any symbol as `any'.
11671 (completion-pcm--merge-completions): Extract common suffix for the new
11672 `prefix' symbol as well.
11673 (completion-substring--all-completions): Use the new `prefix' symbol.
11675 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
11677 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
11679 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
11680 (tramp-compat-funcall): New defmacro.
11681 (tramp-compat-line-beginning-position)
11682 (tramp-compat-line-end-position)
11683 (tramp-compat-temporary-file-directory)
11684 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
11685 (tramp-compat-copy-file, tramp-compat-copy-directory)
11686 (tramp-compat-delete-file, tramp-compat-delete-directory)
11687 (tramp-compat-number-sequence, tramp-compat-process-running-p)
11688 * net/tramp.el (top, with-progress-reporter)
11689 (tramp-rfn-eshadow-setup-minibuffer)
11690 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
11691 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
11692 (tramp-completion-mode-p, tramp-check-for-regexp)
11693 (tramp-open-connection-setup-interactive-shell)
11694 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
11695 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
11696 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
11697 * net/tramp-cmds.el (tramp-cleanup-all-connections)
11698 (tramp-reporter-dump-variable, tramp-load-report-modules)
11699 (tramp-append-tramp-buffers)
11700 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
11702 * net/tramp-imap.el (top): Autoload `epg-make-context'.
11704 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11706 * progmodes/compile.el (compilation-buffer-modtime): Rename from
11707 buffer-modtime. Adjust users.
11709 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11711 * international/mule.el (auto-coding-alist): Only purecopy
11712 car of each item, not the whole list (Bug#6083).
11714 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11716 * progmodes/js.el (js-mode): Make paragraph variables local before
11717 calling c-setup-paragraph-variables (Bug#6071).
11719 2010-05-08 Eli Zaretskii <eliz@gnu.org>
11721 * composite.el (compose-region, reference-point-alist): Fix typos
11722 in the doc strings.
11724 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11726 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
11727 gnuplot's "set" command.
11729 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11731 * abbrev.el (last-abbrev-text): Doc fix.
11732 (abbrev-prefix-mark): Don't escape parenthesis.
11734 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
11736 * composite.el (find-composition): Doc fix.
11738 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11740 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
11741 (sql-oracle-program, sql-sqlite-options)
11742 (sql-query-placeholders-and-send): Doc fixes.
11743 (sql-set-product, sql-interactive-mode): Reflow docstrings.
11744 (sql-imenu-generic-expression, sql-buffer)
11745 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
11746 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
11747 (sql-mode-sybase-font-lock-keywords)
11748 (sql-mode-informix-font-lock-keywords)
11749 (sql-mode-interbase-font-lock-keywords)
11750 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
11751 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
11752 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
11753 (sql-product-feature, sql-highlight-product)
11754 (comint-line-beginning-position, sql-rename-buffer)
11755 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
11756 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
11757 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
11758 Fix typos in docstrings.
11760 2010-05-08 Juri Linkov <juri@jurta.org>
11762 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
11763 property instead of `invisible' and `after-string' (bug#5998).
11765 2010-05-08 Juri Linkov <juri@jurta.org>
11767 * image-mode.el (image-mode-as-text): Fix typo in docstring.
11769 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11771 * filecache.el (file-cache-add-directory-list)
11772 (file-cache-add-directory-recursively): Fix typos in docstrings.
11774 2010-05-08 Kenichi Handa <handa@m17n.org>
11776 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
11777 (gujarati-composable-pattern): Fix typo.
11779 2010-05-08 Kenichi Handa <handa@m17n.org>
11781 * language/indian.el (oriya-composable-pattern)
11782 (tamil-composable-pattern, malayalam-composable-pattern):
11783 Add two-part vowels to "v" (vowel sign).
11785 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11787 * files.el (copy-directory): Handle symlinks (Bug#5982).
11789 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
11791 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
11792 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
11795 2010-05-08 Glenn Morris <rgm@gnu.org>
11797 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11799 * minibuffer.el (completion-at-point): Doc fix.
11801 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11803 * electric.el (Electric-command-loop): Minor tweak.
11805 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11806 better with dedicated windows.
11808 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
11810 * Version 23.2 released.
11812 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11813 Stefan Monnier <monnier@iro.umontreal.ca>
11815 Highlight vendor specific properties.
11816 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11817 (css-proprietary-property): New face.
11818 (css-font-lock-keywords): Use them.
11820 2010-05-07 Eli Zaretskii <eliz@gnu.org>
11822 * cus-start.el (all): Add native condition for tool-bar-* symbols.
11824 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11826 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11827 * files.el (auto-mode-alist): Remove redundant entries.
11829 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11830 * simple.el (auto-save-mode): Move from files.el.
11831 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11833 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
11835 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11837 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
11839 * mail/binhex.el (binhex-decode-region-internal)
11840 * mail/uudecode.el (uudecode-decode-region-internal)
11841 * net/dns.el (dns-read-string-name, dns-write, dns-read)
11842 (dns-read-type, dns-query)
11843 * pgg-parse.el (pgg-parse-armor)
11844 * pgg.el (pgg-verify-region)
11845 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11848 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11850 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
11852 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11854 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11855 * emulation/cua-base.el (cua-repeat-replace-region):
11856 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11857 (cua-cut-region-to-global-mark):
11858 Remove text properties with `set-text-properties'.
11860 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
11862 * net/tramp.el (top, with-progress-reporter):
11863 Use `symbol-function' inside `funcall'.
11865 * net/tramp-compat.el (tramp-compat-file-attributes)
11866 (tramp-compat-delete-file, tramp-compat-delete-directory):
11867 Handle only `wrong-number-of-arguments' error.
11869 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11870 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11873 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11875 * minibuffer.el (completion--sreverse, completion--common-suffix):
11877 (completion-pcm--merge-completions): Extract common suffix when safe.
11879 * emacs-lisp/easy-mmode.el (define-minor-mode):
11880 Make :variable more flexible.
11881 * files.el (auto-save-mode): Use it to define using define-minor-mode.
11883 2010-05-05 Juri Linkov <juri@jurta.org>
11885 Add `slow' and `history' tags to the desktop data.
11887 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11888 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11889 (Info-finder-find-node): Require `finder.el' to be able
11890 to restore node from the desktop.
11891 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
11892 data `Info-history' and `slow' tag in the assoc list.
11893 (Info-restore-desktop-buffer): Don't restore nodes with the
11894 `slow' tag. Restore `Info-history'.
11896 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
11898 Add FORCE argument to `delete-file'.
11900 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11901 forcing to delete the temporary file.
11902 (ange-ftp-delete-file): Add FORCE arg.
11903 (ange-ftp-rename-remote-to-remote)
11904 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11905 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11906 Force file deletion.
11908 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11910 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11911 (tramp-handle-make-symbolic-link, tramp-handle-load)
11912 (tramp-do-copy-or-rename-file-via-buffer)
11913 (tramp-do-copy-or-rename-file-directly)
11914 (tramp-do-copy-or-rename-file-out-of-band)
11915 (tramp-handle-process-file, tramp-handle-call-process-region)
11916 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11917 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11918 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11920 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11921 (tramp-fish-handle-make-symbolic-link)
11922 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11924 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11925 Use `tramp-compat-delete-file'.
11927 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11928 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11930 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11931 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11933 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11934 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11935 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11936 Use `tramp-compat-delete-file'.
11938 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11941 * subr.el (add-minor-mode): Use push.
11942 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11943 * emulation/edt.el (edt-select-mode): Simplify.
11945 Use define-minor-mode in more cases.
11946 * term/tvi970.el (tvi970-set-keypad-mode):
11947 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11948 (normal-erase-is-backspace-mode):
11949 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11950 (set-scroll-bar-mode-1): (Re)move to its sole caller.
11951 (get-scroll-bar-mode): New function.
11952 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11954 Use define-minor-mode for less obvious cases.
11955 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11956 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11957 * international/iso-ascii.el (iso-ascii-mode):
11958 * frame.el (auto-raise-mode, auto-lower-mode):
11959 * composite.el (global-auto-composition-mode): Use define-minor-mode.
11961 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
11963 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11964 in order to see error messages for failed logins.
11966 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
11968 * diff.el (diff-sentinel):
11970 * epg.el (epg--make-temp-file, epg-decrypt-string)
11971 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11973 * jka-compr.el (jka-compr-partial-uncompress)
11974 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11976 * server.el (server-sentinel): Use delete-file's new FORCE arg
11979 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11981 Use define-minor-mode where applicable.
11982 * view.el (view-mode):
11983 * type-break.el (type-break-query-mode)
11984 (type-break-mode-line-message-mode):
11985 * textmodes/reftex.el (reftex-mode):
11986 * term/vt100.el (vt100-wide-mode):
11987 * tar-mode.el (tar-subfile-mode):
11988 * savehist.el (savehist-mode):
11989 * ibuf-ext.el (ibuffer-auto-mode):
11990 * composite.el (auto-composition-mode):
11991 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11992 Use define-minor-mode.
11993 (vhdl-mode): Use static mode-line format.
11994 (vhdl-mode-line-update): Delete.
11995 (vhdl-create-mode-menu, vhdl-activate-customizations)
11996 (vhdl-hs-minor-mode): Don't bother calling it.
11998 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
12000 * simple.el (with-wrapper-hook): Move.
12001 (buffer-substring-filters): Mark obsolete.
12002 (filter-buffer-substring-functions): New variable.
12003 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
12005 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
12006 Michael Albinus <michael.albinus@gmx.de>
12008 Implement compression for inline methods.
12010 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
12011 (tramp-copy-size-limit): Allow also nil.
12012 (tramp-inline-compress-commands): New defconst.
12013 (tramp-find-inline-compress, tramp-get-inline-compress)
12014 (tramp-get-inline-coding): New defuns.
12015 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
12016 replaced by `tramp-get-inline-coding'.
12017 (tramp-handle-file-local-copy, tramp-handle-write-region)
12018 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
12020 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12022 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
12023 Remove unused functions.
12025 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
12026 Set find-tag-default-function as a variable rather than a property.
12028 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
12029 * progmodes/etags.el (tags-completion-at-point-function):
12030 Remove left over interactive spec. Add autoloading stub.
12031 (complete-tag): Use tags-completion-at-point-function.
12033 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
12035 * minibuffer.el (tags-completion-at-point-function): Fix return value.
12037 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
12039 * ido.el (ido-init-completion-maps): Remove C-v binding.
12040 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
12042 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
12044 * minibuffer.el (tags-completion-at-point-function): New function.
12045 (completion-at-point-functions): Use it.
12047 * progmodes/etags.el (complete-tag): Revert last change.
12049 2010-04-29 Alan Mackenzie <acm@muc.de>
12051 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
12052 off-by-one error (in end of macro position).
12054 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12056 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
12057 firefox is absent. Don't autoload.
12058 (browse-url-galeon-program): Don't autoload.
12060 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
12062 * bindings.el (complete-symbol): Move into minibuffer.el.
12064 * minibuffer.el (complete-tag): Move from etags.el. If tags
12065 completion cannot be performed, return nil instead of signalling
12067 (completion-at-point): Make it an alias for complete-symbol.
12068 (complete-symbol): Move from bindings.el, and replace with the
12069 body of completion-at-point.
12071 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
12073 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
12075 * net/tramp.el (tramp-remote-selinux-p): New defun.
12076 (tramp-handle-file-selinux-context)
12077 (tramp-handle-set-file-selinux-context): Use it.
12079 2010-04-28 Sam Steingold <sds@gnu.org>
12081 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
12082 `safe-local-variable' if the value is a string or a symbol with
12083 the property `bug-reference-url-format'.
12085 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
12087 * progmodes/bug-reference.el (bug-reference-url-format):
12088 Revert 2010-04-27 change due to security risk.
12090 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12092 Make it possible to locally disable a globally enabled mode.
12093 * simple.el (fundamental-mode): Run fundamental-mode-hook.
12094 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
12095 rather than kill-all-local-variables so it runs fundamental-mode-hook.
12096 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12097 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
12098 that subsequent hooks get a chance to disable it.
12100 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12102 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12103 Avoid re-enabling a minor mode after the user turned the minor mode
12104 off if MODE-enable-in-buffers is run twice (typically once from
12105 fundamental-mode's after-change-major-mode-hook and a second time from
12106 run-mode-hook's own after-change-major-mode-hook).
12108 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
12110 2010-04-27 Sam Steingold <sds@gnu.org>
12112 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
12113 `safe-local-variable' if the value is a string or a function, as
12114 documented and implemented on 2010-04-02.
12116 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
12118 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
12119 when method is 'kill.
12121 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
12123 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
12124 condition in default directory check.
12125 (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
12126 Kill ispell process when killing its associated buffer.
12128 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
12130 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
12131 but we aren't using it.
12133 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
12135 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
12136 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
12138 2010-04-24 Glenn Morris <rgm@gnu.org>
12140 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
12141 Ignore VCS-ignore files, and deleted nextstep preferences files.
12142 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
12143 (authors-ambiguous-files): New list.
12144 (authors-valid-file-names): Add some deleted files.
12145 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
12146 (authors-disambiguate-file-name): New function. (Bug#5501)
12147 (authors-canonical-file-name): Doc fix.
12148 Don't warn about obsolete files.
12149 (authors-canonical-file-name, authors-scan-el):
12150 Use authors-disambiguate-file-name.
12152 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
12153 Add autoload cookies.
12154 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
12155 (generated-autoload-file): Set file-local value to "htmlfontify.el".
12156 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
12157 They have definitions / compiler macros in cl.el.
12158 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
12159 Replace manual autoloads with generated ones.
12160 (htmlfontify-unload-rgb-file): Remove autoload.
12161 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
12163 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12165 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
12166 (byte-compile-setq-default): Optimize for the
12167 single-var case and don't call byte-compile-form in this case to avoid
12168 inf-loop with byte-compile-set-default.
12170 * progmodes/compile.el (compilation-start): Abbreviate default directory.
12172 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
12174 Implement SELINUX backends.
12176 * net/tramp.el (tramp-file-name-handler-alist):
12177 Add `file-selinux-context' and `set-file-selinux-context'.
12178 (tramp-handle-file-selinux-context)
12179 (tramp-handle-set-file-selinux-context): New defuns.
12180 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
12181 Handle PRESERVE-SELINUX-CONTEXT.
12183 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12184 Add `file-selinux-context' and `set-file-selinux-context'.
12185 (tramp-gvfs-handle-file-selinux-context)
12186 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
12187 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
12189 * net/ange-ftp.el (ange-ftp-copy-file):
12190 * net/tramp-fish.el (tramp-fish-handle-copy-file):
12191 * net/tramp-imap.el (tramp-imap-handle-copy-file):
12192 * net/tramp-smb.el (tramp-smb-handle-copy-file):
12193 Add PRESERVE-SELINUX-CONTEXT.
12195 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
12197 Synchronize with Tramp repository.
12199 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
12200 (tramp-action-process-alive, tramp-action-out-of-band)
12201 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
12202 (tramp-exists-file-name-handler): Fix docstring.
12203 (with-progress-reporter): New defmacro.
12204 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
12205 (tramp-maybe-open-connection): Use it.
12207 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
12209 Detect ssh 'ControlMaster' argument automatically in some cases.
12211 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
12212 (tramp-default-method): Use it.
12214 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
12216 * net/tramp.el (tramp-handle-copy-file): Add new optional
12217 parameter `preserve-selinux-context'.
12218 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
12220 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
12222 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
12223 Ensure, that non remote files are still checked. Oops.
12225 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
12229 * icomplete.el (icomplete-completions): Use `non-essential'.
12231 * net/tramp.el (tramp-connectable-p): New defun.
12232 (tramp-handle-expand-file-name)
12233 (tramp-completion-handle-file-name-all-completions)
12234 (tramp-completion-handle-file-name-completion): Use it.
12236 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
12238 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
12240 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
12242 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
12244 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
12246 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
12249 * info.el (info-tool-bar-map): Add labels.
12251 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
12253 * cus-edit.el (custom-commands): Add labels for tool bar.
12254 (custom-buffer-create-internal, Custom-mode): Adjust for
12255 labels in custom-commands.
12257 * dynamic-setting.el: Renamed from font-setting.el.
12259 2010-04-21 John Wiegley <jwiegley@gmail.com>
12261 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
12262 toggles the use of virtual buffers.
12263 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
12264 (ido-toggle-virtual-buffers): New function.
12266 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
12268 Use `define-derived-mode'; fix window selection; doc fixes.
12269 * play/tetris.el (tetris, tetris-update-speed-function)
12270 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
12271 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
12272 (tetris-rotate-next, tetris-end-game, tetris-start-game)
12273 (tetris-pause-game): Fix typos in docstrings.
12274 (tetris-mode-map, tetris-null-map):
12275 Move initialization into declaration.
12276 (tetris-mode): Define with `define-derived-mode';
12277 set show-trailing-whitespace to nil.
12278 (tetris): Prefer window already displaying the "*Tetris*" buffer.
12280 2010-04-21 Karel Klíč <kklic@redhat.com>
12282 * files.el (backup-buffer): Handle SELinux context, and return it
12283 if a backup was made by renaming.
12284 (backup-buffer-copy): Set SELinux context to the target file.
12285 (basic-save-buffer): Set SELinux context of the newly written file.
12286 (basic-save-buffer-1): Now it also returns any SELinux context.
12287 (basic-save-buffer-2): Set SELinux context of the newly created file,
12289 * net/tramp.el (tramp-file-name-for-operation):
12290 Add file-selinux-context.
12292 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
12294 Make the log-edit comments use RFC822 format throughout.
12296 * vc.el (vc-checkin, vc-modify-change-comment):
12297 Adjust to new vc-start/finish-logentry.
12298 (vc-find-conflicted-file): New command.
12299 (vc-transfer-file): Adjust to new vc-checkin.
12300 (vc-next-action): Improve scoping.
12302 * vc-hg.el (vc-hg-log-edit-mode): Remove.
12303 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
12305 * vc-git.el (vc-git-log-edit-mode): Remove.
12306 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
12307 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
12309 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
12310 (vc-start-logentry): Remove argument `extra'.
12311 (vc-finish-logentry): Remove extra args.
12313 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
12314 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
12315 (vc-bzr-conflicted-files): New function.
12317 * log-edit.el (log-edit-extra-flags)
12318 (log-edit-before-checkin-process): Remove.
12319 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
12320 (log-edit-headers-alist): New var.
12321 (log-edit-header-contents-regexp): New const.
12322 (log-edit-match-to-eoh): New function.
12323 (log-edit-font-lock-keywords): Use them.
12324 (log-edit): Insert a "Summary:" header as default.
12325 (log-edit-mode): Mark font-lock rules as case-insensitive.
12326 (log-edit-done): Cleanup headers.
12327 (log-view-process-buffer): Remove.
12328 (log-edit-extract-headers): New function to replace it.
12330 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
12332 * subr.el (default-direction-reversed): Remove obsolescence info.
12334 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12336 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
12339 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
12340 I.e. include text after point in the completion region.
12341 Also, return nil when we're not after/in a symbol.
12343 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
12344 default enable-multibyte-characters.
12346 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12348 * international/mule.el: Help the user choose a valid coding-system.
12349 (read-buffer-file-coding-system): New function.
12350 (set-buffer-file-coding-system): Use it. Prompt the user if the
12351 coding-system cannot encode all the chars.
12353 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
12354 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
12355 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
12356 Don't use *vc-bzr-shelve*.
12358 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
12360 Fix the version number for added files.
12361 * vc-hg.el (vc-hg-working-revision): Check if the file is
12362 registered after hg parent fails (Bug#5961).
12364 2010-04-19 Glenn Morris <rgm@gnu.org>
12366 * htmlfontify.el (htmlfontify-buffer)
12367 (htmlfontify-copy-and-link-dir): Autoload entry points.
12369 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
12371 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
12372 name relative to the project root (Bug#5960).
12374 2010-04-19 Glenn Morris <rgm@gnu.org>
12376 * vc-git.el (vc-git-print-log): Doc fix.
12378 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
12380 * ido.el (ido-file-internal): Fix 2009-12-02 change.
12382 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
12384 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
12385 default settings (Bug#5928).
12387 2010-04-19 Glenn Morris <rgm@gnu.org>
12389 * progmodes/fortran.el (fortran-match-and-skip-declaration):
12391 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
12393 2010-04-19 Kenichi Handa <handa@m17n.org>
12395 * language/indian.el (malayalam-composable-pattern): Fix previous
12396 change (add U+0D4D "SIGN VIRAMA").
12397 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
12398 (tamil-composable-pattern): Fix typo in the regexp.
12399 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
12400 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
12401 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
12403 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
12405 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
12406 paragraph-separate (Bug#5821).
12408 2010-04-19 Juri Linkov <juri@jurta.org>
12410 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
12412 * info.el (Info-find-node-2): Comment out code that skips
12414 (Info-mouse-follow-link): New command.
12415 (Info-link-keymap): New keymap.
12416 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
12417 Return a string with links instead of inserting breadcrumbs
12418 to the Info buffer.
12419 (Info-fontify-node): Comment out code that inserts breadcrumbs.
12420 Instead of putting the `invisible' text property over the Info
12421 header, make an overlay over the Info header with the `invisible'
12422 property and `after-string' set to the string returned by
12423 `Info-breadcrumbs'.
12425 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
12427 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
12428 Reported by monkey@sandpframing.com.
12430 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12432 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
12433 (tmm-get-keymap): Add key-binding shortcuts now that they're not
12434 available in the "keyseq cache" any more.
12436 * custom.el (defcustom): Add edebug spec.
12438 2010-04-18 Juri Linkov <juri@jurta.org>
12440 Test for special mode-class in view-buffer instead of view-file (bug#5513).
12442 * view.el (view-file, view-buffer): Move test for special mode-class
12443 from view-file to view-buffer.
12445 * tar-mode.el (tar-extract): Turn if's into one cond
12446 like in arc-mode.el.
12448 2010-04-18 Juri Linkov <juri@jurta.org>
12450 Add 7z archive format support (bug#5475).
12452 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
12453 (archive-7z-extract): New defcustom.
12454 (archive-find-type): Add magic string for 7z.
12455 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
12456 If `stderr-file' is non-nil, use `(t stderr-file)' for the
12457 `buffer' arg of `call-process'.
12458 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
12459 call the function `archive-7z-extract' with the variable
12460 `archive-7z-extract' let-bound to `archive-zip-extract'.
12461 (archive-7z-summarize, archive-7z-extract): New functions.
12463 * international/mule.el (auto-coding-alist):
12464 * files.el (auto-mode-alist): Add 7z file extension.
12466 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12468 * loadup.el: Setup hash-cons for pure data.
12470 Fix duplicate entries in cedet's loaddefs.el files.
12471 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
12472 Should make most file-local generated-autoload-file unnecessary.
12473 (print-readably): Silence warnings.
12474 (autoload-find-destination): Take load-name as an arg to make sure
12475 it's the same as the one that will be in the file.
12476 (autoload-generate-file-autoloads): Adjust to above changes.
12477 Try to make the dataflow a bit simpler.
12479 * cvs-status.el (cvs-refontify): Remove unused.
12481 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
12483 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
12485 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
12486 twos-complement mode.
12488 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
12490 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
12491 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
12492 (calc-inverse): Add "Option" to message, as appropriate.
12493 (calc-hyperbolic): Add "Option" to message, as appropriate.
12494 (calc-option, calc-is-option): New functions.
12496 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
12497 (calc-option-prefix-help): New function.
12499 * calc/calc-misc.el (calc-help): Add "Option" entry.
12501 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
12502 (calc-option-flag): New variable.
12503 (calc-do): Set `calc-option-flag to nil.
12504 (calc-set-mode-line): Add "Opt " as appropriate.
12506 2010-04-16 Juri Linkov <juri@jurta.org>
12508 Move scrolling commands from simple.el to window.el
12509 because their primitives are implemented in window.c.
12511 * simple.el (scroll-error-top-bottom)
12512 (scroll-up-command, scroll-down-command, scroll-up-line)
12513 (scroll-down-line, scroll-other-window-down)
12514 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12515 * window.el (scroll-error-top-bottom)
12516 (scroll-up-command, scroll-down-command, scroll-up-line)
12517 (scroll-down-line, scroll-other-window-down)
12518 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12519 Move from simple.el to window.el because their primitives are
12520 implemented in window.c.
12522 2010-04-16 Juri Linkov <juri@jurta.org>
12524 * isearch.el (isearch-lookup-scroll-key): Check both
12525 `isearch-scroll' and `scroll-command' properties.
12526 (scroll-up, scroll-down): Remove `isearch-scroll' property.
12528 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
12530 * simple.el (scroll-up-command, scroll-down-command)
12531 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
12533 2010-04-15 Juri Linkov <juri@jurta.org>
12535 * simple.el (scroll-up-command, scroll-down-command)
12536 (scroll-up-line, scroll-down-line): Put `scroll-command'
12537 property on the these symbols. Remove them from
12538 `scroll-preserve-screen-position-commands'.
12540 * mwheel.el (mwheel-scroll): Put `scroll-command' and
12541 `isearch-scroll' properties on the `mwheel-scroll' symbol.
12542 Remove it from `scroll-preserve-screen-position-commands'.
12544 * isearch.el (isearch-allow-scroll): Doc fix.
12546 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
12548 * net/tramp.el (tramp-error-with-buffer): Don't show the
12549 connection buffer when we are in completion mode.
12550 (tramp-file-name-handler): Catch the error for some operations
12551 when we are in completion mode. This gives the user the chance to
12552 correct the file name in the minibuffer.
12554 2010-04-15 Glenn Morris <rgm@gnu.org>
12556 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
12558 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
12560 Simplify by using `define-derived-mode'.
12561 * info.el (Info-mode):
12562 * calendar/todo-mode.el (todo-mode):
12563 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
12564 (gomoku-mode-map): Move initialization into declaration.
12566 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
12569 * ido.el (ido-file-name-all-completions-1):
12570 * minibuffer.el (minibuffer-completion-help):
12571 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
12573 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12575 * simple.el (non-essential): New var.
12577 Add a new field `location' to bookmarks for non-file bookmarks.
12578 * bookmark.el (bookmark-location): Use the new field, if present.
12579 (bookmark-insert-location): Undo last change, not needed any more.
12580 * man.el (Man-bookmark-make-record):
12581 * woman.el (woman-bookmark-make-record): Add `location' field.
12583 2010-04-14 Juri Linkov <juri@jurta.org>
12585 * simple.el (scroll-error-top-bottom): New defcustom.
12586 (scroll-up-command, scroll-down-command): Use it. Doc fix.
12588 * emulation/pc-select.el (pc-select-override-scroll-error):
12589 Obsolete in favor of `scroll-error-top-bottom'.
12591 2010-04-14 Juri Linkov <juri@jurta.org>
12593 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
12594 `scroll-up-command' and `M-v' to `scroll-down-command'.
12596 * emulation/cua-rect.el (cua--init-rectangles):
12597 * forms.el (forms--change-commands):
12598 * image-mode.el (image-mode-map):
12599 Remap scroll-down-command and scroll-up-command
12600 in addition to scroll-down and scroll-up.
12602 2010-04-14 Juri Linkov <juri@jurta.org>
12604 * mwheel.el (scroll-preserve-screen-position-commands):
12605 Add mwheel-scroll to this list of commands.
12607 * simple.el (scroll-preserve-screen-position-commands):
12608 Add scroll-up-command, scroll-down-command, scroll-up-line,
12609 scroll-down-line to this list of commands.
12611 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12613 * obsolete/complete.el: Move from lisp/complete.el.
12615 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
12617 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
12618 to the minor mode function now turns the mode ON unconditionally.
12620 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12622 * vc-dir.el (vc-dir-kill-line): New command.
12623 (vc-dir-mode-map): Bind it to C-k.
12625 * bookmark.el (bookmark-insert-location): Handle a nil filename.
12627 * woman.el: Add bookmark declarations to silence the compiler.
12628 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
12629 step to compatibility between man and woman bookmarks.
12630 Adjust for Man-default-bookmark-title renaming.
12631 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
12633 * man.el: Add bookmark declarations to silence the compiler.
12634 (Man-name-local-regexp): Make it match NAME as well.
12635 (Man-getpage-in-background): Return the buffer.
12636 (Man-notify-when-ready): Use `case'.
12637 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
12638 Don't hardcode "NAME". Simplify.
12639 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
12640 Rename from Man-bookmark-make-record.
12641 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
12642 we have the actual man-args. Use Man-getpage-in-background rather
12643 than `man' since the arg is already processed. Let bookmark.el do the
12644 window handling. Only wait for the relevant process.
12645 Don't forget to autoload.
12647 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
12649 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12651 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
12653 (woman-mode): Setup bookmark support.
12655 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
12656 (man-bookmark-jump): New functions.
12657 (Man-mode): Setup bookmark support.
12659 2010-04-10 Jari Aalto <jari.aalto@cante.net>
12661 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
12662 recognize ssh-keygen prompt (Bug#2817).
12664 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12666 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
12668 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12670 Synchronize with Tramp repository.
12672 * net/tramp.el (tramp-completion-function-alist)
12673 (tramp-file-name-regexp, tramp-chunksize)
12674 (tramp-local-coding-commands, tramp-remote-coding-commands):
12676 (tramp-remote-process-environment): Use `format' instead of `concat'.
12677 (tramp-handle-directory-files-and-attributes)
12678 (tramp-get-remote-path): Use `copy-tree'.
12679 (tramp-handle-file-name-all-completions): Backward/ XEmacs
12680 compatibility: Use `completion-ignore-case' if
12681 `read-file-name-completion-ignore-case' does not exist.
12682 (tramp-do-copy-or-rename-file-directly): Do not use
12683 `tramp-handle-file-remote-p'.
12684 (tramp-do-copy-or-rename-file-out-of-band):
12685 Use `tramp-compat-delete-directory'.
12686 (tramp-do-copy-or-rename-file-out-of-band)
12687 (tramp-compute-multi-hops, tramp-maybe-open-connection):
12688 Use `format-spec-make'.
12689 (tramp-find-foreign-file-name-handler)
12690 (tramp-advice-make-auto-save-file-name)
12691 (tramp-set-auto-save-file-modes): Remove superfluous check for
12692 `stringp'. This is done inside `tramp-tramp-file-p'.
12693 (tramp-debug-outline-regexp): New defconst.
12694 (tramp-get-debug-buffer): Use it.
12695 (tramp-check-for-regexp): Use (forward-line 1).
12696 (tramp-set-auto-save-file-modes): Adapt version check.
12698 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
12699 Wrap call of `featurep' for 2nd argument.
12700 (tramp-compat-make-temp-file): Simplify fallback implementation.
12701 (tramp-compat-copy-tree): Remove function.
12702 (tramp-compat-delete-directory): Provide implementation for older
12705 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
12706 Do not use `tramp-fish-handle-file-attributes.
12708 * net/trampver.el: Update release number.
12710 2010-04-10 Glenn Morris <rgm@gnu.org>
12712 * progmodes/compile.el (compilation-save-buffers-predicate):
12713 Add missing :version tag.
12715 2010-04-09 Sam Steingold <sds@gnu.org>
12717 * progmodes/compile.el (compilation-save-buffers-predicate):
12718 Remove the "autoload" cookie.
12720 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
12721 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
12722 and `bug-reference-prog-mode' can be used in hooks directly.
12724 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
12726 Add --author support to git commit.
12727 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
12728 (vc-git-log-edit-mode): New minor mode.
12729 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
12732 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
12734 * vc-hooks.el, vc-git.el: Improve documentation comments.
12736 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12738 Fix some of the problems in defsubst* (bug#5728).
12739 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
12740 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
12742 2010-04-07 Sam Steingold <sds@gnu.org>
12744 * progmodes/compile.el (compilation-save-buffers-predicate):
12745 New custom variable.
12746 (compile, recompile): Pass it to `save-some-buffers'.
12748 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
12750 * wid-edit.el (widget-choose): Move cursor to the second line of
12751 the buffer (Bug#5695).
12753 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12755 Add new VC methods: vc-log-incoming and vc-log-outgoing.
12756 * vc.el (vc-print-log-setup-buttons): New function split out from
12757 vc-print-log-internal.
12758 (vc-log-internal-common): New function, a parametrized version of
12759 vc-print-log-internal.
12760 (vc-print-log-internal): Just call vc-log-internal-common with the
12762 (vc-incoming-outgoing-internal):
12763 (vc-log-incoming, vc-log-outgoing): New functions.
12764 (vc-log-view-type): New permanent local variable.
12766 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
12768 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
12769 of the dynamic bound vc-short-log.
12770 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
12772 * vc-git.el (vc-git-log-outgoing): New function.
12773 (vc-git-log-view-mode): Use vc-log-view-type instead
12774 of the dynamic bound vc-short-log.
12776 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
12777 of the dynamic bound vc-short-log. Highlight the tag.
12778 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
12779 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
12780 (vc-hg-incoming-mode): Remove.
12781 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
12783 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12785 Fix default-directory for vc-root-diff.
12786 * vc.el (vc-root-diff): Bind default-directory to the root
12787 directory for the diff command.
12789 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
12791 * progmodes/verilog-mode.el (verilog-forward-sexp):
12792 (verilog-calc-1): Support "disable fork" and "fork wait" multi
12793 word keywords, suggested by Steve Pearlmutter.
12794 (verilog-pretty-declarations): Support lineup of declarations in
12796 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12797 fix bug for /* / comments.
12798 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12799 Speed up and simplfy as this is never called with a bound.
12800 (verilog-pretty-declarations): Enhance to line up declarations
12801 inside a parameter list, suggested by Alan Morgan.
12802 (verilog-pretty-expr): Tune assignment regular expression match
12803 string for corner cases; also use markers instead of character
12804 number as indent changes the later.
12806 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
12808 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12809 as missing keyword.
12810 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12811 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
12812 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12813 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
12815 (verilog-keywords):
12816 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12817 1800-2009 keywords, including "global.".
12819 2010-04-06 John Wiegley <jwiegley@gmail.com>
12821 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12822 appearing in buffer list (if a live buffer name matched a recentf
12823 file basename). Should use uniquify to offer a real solution.
12825 2010-04-06 John Wiegley <jwiegley@gmail.com>
12827 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12828 comment to code, and add a :version tag.
12829 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12831 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
12833 Enable recentf-mode if using virtual buffers.
12834 * ido.el (recentf-list): Declare for byte-compiler.
12835 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
12836 (ido-make-buffer-list): Simplify.
12837 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
12839 2010-04-05 Juri Linkov <juri@jurta.org>
12841 Scrolling commands which scroll a line instead of full screen.
12842 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12844 * simple.el (scroll-up-line, scroll-down-line): New commands.
12845 Put property isearch-scroll=t on them.
12847 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12850 2010-04-05 Juri Linkov <juri@jurta.org>
12852 Scrolling commands which do not signal errors at top/bottom.
12853 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12855 * simple.el (scroll-up-command, scroll-down-command): New commands.
12856 Put property isearch-scroll=t on them.
12858 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12859 `scroll-down-command' and [next] from `scroll-up' to
12860 `scroll-up-command'.
12862 * emulation/cua-base.el: Put property CUA=move on
12863 `scroll-up-command' and `scroll-down-command'.
12864 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12865 and `scroll-down-command' to `cua-scroll-down'.
12867 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
12869 * help.el (describe-mode): Return nil.
12871 2010-04-04 John Wiegley <jwiegley@gmail.com>
12873 * ido.el (ido-use-virtual-buffers): New variable to indicate
12874 whether "virtual buffer" support is enabled for IDO.
12875 (ido-virtual): Face used to indicate virtual buffers in the list.
12876 (ido-buffer-internal): If a buffer is chosen, and no such buffer
12877 exists, but a virtual buffer of that name does (which would be why
12878 it was in the list), recreate the buffer by reopening the file.
12879 (ido-make-buffer-list): If virtual buffers are being used, call
12880 `ido-add-virtual-buffers-to-list' before the make list hook.
12881 (ido-virtual-buffers): New variable which contains a copy of the
12882 current contents of the `recentf-list', albeit pared down for the
12883 sake of speed, and with proper faces applied.
12884 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12885 create a list of "virtual buffers" to present to the user in
12886 addition to the currently open set. Note that this logic could
12887 get rather slow if that list is too large. With the default
12888 `recentf-max-saved-items' of 200, there is little speed penalty.
12890 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
12892 * font-lock.el: Require CL when compiling.
12893 (font-lock-turn-on-thing-lock): Use `case'.
12895 2010-04-03 Eli Zaretskii <eliz@gnu.org>
12897 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12900 2010-04-02 Juri Linkov <juri@jurta.org>
12902 * ehelp.el (electric-help-orig-major-mode):
12903 New buffer-local variable.
12904 (electric-help-mode): Set it to original major-mode. Doc fix.
12905 (with-electric-help): Use `electric-help-orig-major-mode' instead
12906 of (default-value 'major-mode). Doc fix.
12907 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12909 2010-04-02 Sam Steingold <sds@gnu.org>
12911 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12912 `vc-hg-command' with a list of flags.
12914 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12915 Also accept "patch" and "RFE".
12916 (bug-reference-fontify): `bug-reference-url-format' can also be a
12917 function to be able to handle the bug kind.
12918 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12920 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
12922 * tmm.el (tmm-get-keymap): Check with symbolp before passing
12923 value to fboundp, it may not be a symbol.
12925 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12927 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12929 2010-03-31 Juri Linkov <juri@jurta.org>
12931 * simple.el (next-line, previous-line): Re-throw a signal
12932 with `signal' instead of using `ding'.
12933 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12935 2010-03-31 Juri Linkov <juri@jurta.org>
12937 * simple.el (keyboard-escape-quit): Raise deselecting the active
12938 region higher than exiting the minibuffer.
12939 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12941 2010-03-31 Juri Linkov <juri@jurta.org>
12943 * image.el (image-animated-p): Use `image-metadata' instead of
12944 `image-extension-data'. Get GIF extenstion data from metadata
12945 property `extension-data'.
12947 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12949 * simple.el (append-to-buffer): Simplify.
12951 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
12953 * textmodes/artist.el (artist-mode): Fix typo in docstring.
12954 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
12956 2010-03-31 Kenichi Handa <handa@m17n.org>
12958 * language/sinhala.el (composition-function-table): Fix regexp for
12959 the new Unicode specification.
12961 * language/indian.el (devanagari-composable-pattern)
12962 (tamil-composable-pattern, kannada-composable-pattern)
12963 (malayalam-composable-pattern): Adjust for the new Unicode
12965 (bengali-composable-pattern, gurmukhi-composable-pattern)
12966 (gujarati-composable-pattern, oriya-composable-pattern)
12967 (telugu-composable-pattern): New variables to cope with the new
12968 Unicode specification. Use them in composition-function-table.
12970 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12972 Make tmm-menubar work for the Buffers menu again (bug#5726).
12973 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12974 vectors rather than cons cells, as used in menu-bar-update-buffers.
12976 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12978 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12979 (js-insert-and-indent): Revert 2009-08-15 change, restoring
12980 electric punctuation for "{}();,:" (Bug#5586).
12982 * mail/sendmail.el (mail-default-directory): Doc fix.
12984 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12986 * mail/sendmail.el (mail-default-directory): Doc fix.
12988 2010-03-31 Eli Zaretskii <eliz@gnu.org>
12990 * subr.el (version-regexp-alist, version-to-list)
12991 (version-list-<, version-list-=, version-list-<=)
12992 (version-list-not-zero, version<, version<=, version=): Doc fix.
12995 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
12997 * vc.el (vc-root-diff): Doc fix.
12999 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
13001 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
13003 * simple.el (append-to-buffer): Fix last change.
13005 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
13007 * simple.el (append-to-buffer): Ensure that point is preserved if
13008 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
13011 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13013 * files.el (auto-mode-case-fold): Change default to t.
13015 2010-03-30 Juri Linkov <juri@jurta.org>
13017 * dired-x.el (dired-omit-mode): Doc fix.
13019 2010-03-30 Juri Linkov <juri@jurta.org>
13021 * replace.el (occur-accumulate-lines): Move occur-engine related
13022 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
13023 to be located after `occur-engine'.
13025 2010-03-30 Juri Linkov <juri@jurta.org>
13027 Make occur handle multi-line matches cleanly with context.
13028 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
13030 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
13031 (occur-engine): Add local variables `ret', `prev-after-lines',
13032 `prev-lines'. Use more arguments for `occur-context-lines'.
13033 Set first elem of its returned list to `data', and the second elem
13034 to `prev-after-lines'. Don't print the separator line.
13035 In the end, print remaining context after-lines.
13036 (occur-context-lines): Add new arguments `begpt', `endpt',
13037 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
13038 after-lines of the previous match with before-lines of the
13039 current match and not overlap them. Return a list with two
13040 values: the output line and the list of context after-lines.
13042 2010-03-30 Juri Linkov <juri@jurta.org>
13044 * replace.el (occur-accumulate-lines): Fix a bug where the first
13045 context line at the beginning of the buffer was missing.
13047 2010-03-30 Eli Zaretskii <eliz@gnu.org>
13049 * files.el: Make bidi-display-reordering safe variable for boolean
13052 2010-03-29 Phil Hagelberg <phil@evri.com>
13053 Chong Yidong <cyd@stupidchicken.com>
13055 * subr.el: Extend progress reporters to perform "spinning".
13056 (progress-reporter-update, progress-reporter-do-update):
13057 Handle non-numeric value arguments.
13058 (progress-reporter--pulse-characters): New var.
13060 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
13062 * progmodes/compile.el (compilation-start): Fix regexp detection
13063 of initial cd command (Bug#5771).
13065 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
13067 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
13069 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
13071 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
13072 * progmodes/gdb-mi.el: Restore.
13073 * progmodes/gdb-ui.el: Remove.
13074 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
13076 2010-03-25 Glenn Morris <rgm@gnu.org>
13078 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
13079 all dired buffers, even tramp ones. (Bug#5755)
13081 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13083 Add "union tags" in mpc.el.
13084 * mpc.el: Remove backward compatibility code.
13085 (mpc-browser-tags): Change default.
13086 (mpc--find-memoize-union-tags): New var.
13087 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
13088 (mpc-cmd-find): Handle the case where the playlist does not exist.
13090 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
13091 (mpc-cmd-add): Use mpc-cmd-flush.
13092 (mpc-tagbrowser-tag-name): New fun.
13093 (mpc-tagbrowser-buf): Use it.
13094 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
13096 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13099 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
13100 Use replace-regexp-in-string.
13101 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
13102 (makefile-imake-mode-syntax-table): Move init into defvar.
13103 (makefile-mode): Use define-derived-mode.
13105 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
13106 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
13107 not be present any more.
13109 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
13111 * faces.el (set-face-attribute): Fix typo in docstring.
13112 (face-valid-attribute-values): Reflow docstring.
13114 2010-03-24 Glenn Morris <rgm@gnu.org>
13116 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
13118 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
13120 * indent.el (indent-for-tab-command): Doc fix.
13122 2010-03-24 Alan Mackenzie <acm@muc.de>
13124 * progmodes/cc-engine.el (c-remove-stale-state-cache):
13125 Fix off-by-one error. Fixes bug #5747.
13127 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
13129 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
13130 (image-dired-read-comment): Doc fix.
13132 * json.el (json-object-type, json-array-type, json-key-type)
13133 (json-false, json-null, json-read-number):
13134 * minibuffer.el (completion-in-region-functions):
13135 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
13136 (cal-tex-cursor-week):
13137 * emacs-lisp/trace.el (trace-function):
13138 * eshell/em-basic.el (eshell/printnl):
13139 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
13140 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
13141 * obsolete/levents.el (allocate-event, event-key, event-object)
13142 (event-point, event-process, event-timestamp, event-to-character)
13143 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
13144 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
13145 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
13146 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
13147 (reftex-highlight-selection): Fix typos in docstrings.
13149 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
13151 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
13153 2010-03-24 Glenn Morris <rgm@gnu.org>
13155 * mail/rmail.el (rmail-highlight-face): Restore option deleted
13156 2008-02-13 without comment; mark it obsolete.
13157 (rmail-highlight-headers): Use rmail-highlight-face once more.
13159 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
13161 * woman.el (woman2-process-escapes): Only consume the newline if
13162 the filler character is on a line by itself (Bug#5729).
13164 2010-03-24 Kenichi Handa <handa@m17n.org>
13166 * language/indian.el (devanagari-composable-pattern): Add more
13169 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
13171 * net/trampver.el: Update release number.
13173 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
13175 * net/tramp.el (tramp-find-executable):
13176 Use `tramp-get-connection-buffer'. Make the regexp for checking
13177 output of "wc -l" more robust.
13178 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
13179 (tramp-open-connection-setup-interactive-shell): Remove workaround
13180 for OpenSolaris bug, it is not needed anymore.
13182 2010-03-24 Glenn Morris <rgm@gnu.org>
13184 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
13186 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
13188 * files.el (auto-mode-alist): Accept more verilog file patterns.
13190 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13192 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
13194 2010-03-24 Glenn Morris <rgm@gnu.org>
13196 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
13197 log-edit-before-checkin-process.
13199 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
13201 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
13203 * vc-dispatcher.el (vc-start-logentry): Doc fix.
13204 (log-view-process-buffer, log-edit-extra-flags): Declare.
13206 * log-edit.el (log-edit-before-checkin-process): Doc fix.
13208 2010-03-23 Sam Steingold <sds@gnu.org>
13210 Fix bug#5620: recalculate all markers on compilation buffer
13211 modifications, not on file modifications.
13212 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
13213 variable: the buffer modification time, for buffers not associated with
13215 (compilation-mode): Create it.
13216 (compilation-filter): Update it.
13217 (compilation-next-error-function): Use it instead of
13218 `visited-file-modtime' for timestamp.
13220 2010-03-23 Juri Linkov <juri@jurta.org>
13222 Implement Occur multi-line matches.
13223 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
13225 * replace.el (occur): Doc fix.
13226 (occur-engine): Set `begpt' to the beginning of the first line.
13227 Set `endpt' to the end of the last match line. At first, count
13228 line numbers between `origpt' and `begpt'. Split out code from
13229 `out-line' variable to new let-bindings `match-prefix' and
13230 `match-str'. In `out-line' add non-numeric prefix to all
13231 non-first lines of multi-line matches. Finally, count lines
13232 between `begpt' and `endpt' and add to `lines'.
13234 2010-03-23 Juri Linkov <juri@jurta.org>
13236 * replace.el (occur-accumulate-lines, occur-engine):
13237 Use `occur-engine-line' instead of duplicate code.
13238 (occur-engine-line): New function created from duplicate code
13239 in `occur-accumulate-lines' and `occur-engine'.
13241 * replace.el (occur-engine-line): Add optional arg `keep-props'.
13242 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
13244 2010-03-23 Juri Linkov <juri@jurta.org>
13246 * finder.el: Remove TODO tasks.
13248 * info.el (Info-finder-find-node): Add node "all"
13249 with all package info. Handle a list of multiple keywords
13250 separated by comma.
13251 (info-finder): In interactive use with a prefix argument,
13252 use `completing-read-multiple' to read a list of keywords
13253 separated by comma.
13255 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
13257 Add a new completion style `substring'.
13258 * minibuffer.el (completion-basic--pattern): New function.
13259 (completion-basic-try-completion, completion-basic-all-completions):
13261 (completion-substring--all-completions)
13262 (completion-substring-try-completion)
13263 (completion-substring-all-completions): New functions.
13264 (completion-styles-alist): New style `substring'.
13266 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
13268 Get rid of .elc files after removal of the corresponding .el.
13269 * Makefile.in (compile-clean): New target.
13270 (compile-main): Use it.
13272 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
13274 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
13275 don't do make there. When compiling with separate object dir, there
13276 is no Makefile there.
13278 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
13280 Get rid of the ELCFILES abomination, again.
13281 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13282 (all, compile): Don't call compile-last.
13283 (compile-main): Build the "elcfiles" list dynamically.
13284 (compile-targets): New (internal) target.
13286 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
13288 * Makefile.in (top_srcdir): Define.
13289 (abs_top_builddir): Define.
13290 (srcdir): Don't append `/..'.
13291 (EMACS): Use ${abs_top_builddir}.
13292 (all, compile, compile-always, compile-last): Don't set emacswd.
13293 (update-subdirs, update-authors): Use $(top_srcdir) instead of
13295 (lisp): Use $(srcdir) instead of @srcdir@.
13297 2010-03-21 Juri Linkov <juri@jurta.org>
13299 Fix message of multi-line occur regexps and multi-buffer header lines.
13300 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
13302 * replace.el (occur-1): Don't display regexp if it is longer
13303 than window-width. Use `query-replace-descr' to display regexp.
13304 (occur-engine): Don't display regexp in the buffer header for
13305 multi-buffer occur. Display a separate header line with total
13306 match count and regexp for multi-buffer occur.
13307 Use `query-replace-descr' to display regexp.
13309 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
13311 * net/secrets.el: Fix parenthesis.
13312 (secrets-enabled): Fix parenthesis.
13314 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13316 Use more relative file and directory names.
13317 * Makefile.in (EMACS): Arrange for it to work when we chdir.
13318 (setwins, setwins_almost, setwins_for_subdirs):
13319 Don't `cd'; output relative names.
13320 (all, compile, compile-always, compile-last): Set emacswd.
13321 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
13322 Just cd to the lisp source dir so we can use relative file names.
13324 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
13326 2010-03-20 Glenn Morris <rgm@gnu.org>
13328 * textmodes/rst.el: Use faces for font-lock customization, and make the
13329 old -face variables obsolete.
13330 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
13331 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
13332 (rst-block-face, rst-external-face, rst-definition-face)
13333 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
13334 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
13336 (rst-font-lock-keywords-function): Update for above changes.
13338 2010-03-20 Juri Linkov <juri@jurta.org>
13341 * obsolete/s-region.el: Move to obsolete.
13343 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
13345 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
13347 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
13349 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
13351 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
13353 Add special markup processing for commit logs.
13354 * log-edit.el (log-edit-extra-flags): New variable.
13355 (log-edit): Add new argument MODE. Use that mode when non-nil
13356 instead of the log-view-mode.
13357 (log-view-process-buffer): New function.
13359 * vc.el: Document that the checkin method takes optional
13360 arguments. Document new backend specific method: log-view-mode.
13361 (vc-default-log-edit-mode): New function.
13362 (vc-checkin): Use a backend specific log-view-mode.
13363 Pass extra arguments to the checkin method.
13364 (vc-modify-change-comment): Pass a dummy extra argument.
13366 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
13368 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
13369 (vc-finish-logentry): Process the log buffer before passing it
13370 down. Pass log-edit-extra-flags.
13372 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
13374 (log-edit-extra-flags, log-edit-before-checkin-process):
13377 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
13379 (log-edit-extra-flags, log-edit-before-checkin-process):
13381 (vc-hg-log-edit-mode): New derived mode.
13383 * vc-arch.el (vc-arch-checkin):
13384 * vc-cvs.el (vc-cvs-checkin):
13385 * vc-git.el (vc-git-checkin):
13386 * vc-mtn.el (vc-mtn-checkin):
13387 * vc-rcs.el (vc-rcs-checkin):
13388 * vc-sccs.el (vc-sccs-checkin):
13389 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
13391 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13393 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
13396 2010-03-19 Glenn Morris <rgm@gnu.org>
13398 * password-cache.el (password-cache, password-cache-expiry): Autoload.
13400 2010-03-18 Glenn Morris <rgm@gnu.org>
13402 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
13404 * replace.el (query-replace-history): Give it a doc string.
13405 (map-query-replace-regexp): Use query-replace-from-history-variable
13406 and query-replace-to-history-variable.
13408 * mail/hashcash.el (declare-function): Remove duplicate definition.
13410 * mail/emacsbug.el (report-emacs-bug-pretest-address):
13411 Make it an obsolete alias for report-emacs-bug-address.
13412 (message-strip-special-text-properties): Declare.
13413 (report-emacs-bug): Remove test for a pretest bug address.
13414 Combine message-mode-specific code.
13416 * mail/supercite.el: Don't require sendmail.
13417 (mh-in-header-p): Declare rather than using with-no-warnings.
13418 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
13419 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
13421 * calendar/cal-french.el: Convert to utf-8.
13423 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
13426 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
13428 * net/secrets.el (secrets-enabled): New variable. Use it instead
13431 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
13433 * net/secrets.el (top): Register the D-Bus signals only when the
13434 service "org.freedesktop.secrets" can be pinged.
13435 Provide subfeature `enabled'.
13437 2010-03-14 Juri Linkov <juri@jurta.org>
13439 Add finder unknown keywords.
13441 * finder.el (finder-unknown-keywords): New function.
13443 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
13444 to create a Finder node with unknown keywords.
13446 2010-03-14 Juri Linkov <juri@jurta.org>
13448 * finder.el (finder-compile-keywords): Replace `princ' with
13449 `prin1' on a list of symbols interned from keyword strings.
13451 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
13452 a comma, then split keywords using a comma and optional whitespace.
13453 Otherwise, split by whitespace.
13461 * progmodes/mixal-mode.el: Fix keywords.
13463 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
13465 * Makefile.in (ELCFILES): Add net/secrets.elc.
13467 * net/secrets.el: New file.
13469 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13471 * facemenu.el (list-colors-display, list-colors-print): New arg
13472 callback. Use it to allow selecting colors.
13474 * wid-edit.el (widget-image-insert): Insert image prop even if the
13475 current display is non-graphic.
13476 (widget-field-value-set): New fun.
13477 (editable-field): Use it.
13478 (widget-field-value-get): Clean up unused var.
13479 (widget-color-value-create, widget-color--choose-action):
13480 New funs. Allow using list-colors-display to choose color.
13482 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13484 * cus-edit.el: Resort topmost custom groups.
13485 (custom-buffer-sort-alphabetically): Default to t.
13486 (customize-apropos): Use apropos-parse-pattern.
13487 (custom-search-field): New var.
13488 (custom-buffer-create-internal): Add custom-apropos search field.
13489 (custom-add-parent-links): Don't display parent doc.
13490 (custom-group-value-create): Don't sort top-level custom group.
13491 (custom-magic-value-create): Show visibility button before option name.
13493 (custom-variable-state): New fun, from custom-variable-state-set.
13494 (custom-variable-state-set): Use it.
13495 (custom-group-value-create): Hide options with standard values
13496 using the :hidden-states property. Use progress reporter.
13498 (custom-show): Simplify.
13499 (custom-visibility): Disable images by default.
13500 (custom-variable): New property :hidden-states.
13501 (custom-variable-value-create): Enable images for
13502 custom-visibility widgets. Use :hidden-states property to
13503 determine initial visibility.
13505 * wid-edit.el (widget-image-find): Give images center ascent.
13506 (visibility): Add :on-image and :off-image properties.
13507 (widget-visibility-value-create): Use them.
13509 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13511 * cus-edit.el (processes): Remove from development group.
13512 (oop, hypermedia): Delete group.
13513 (comm): Promote to top-level group.
13515 * net/browse-url.el (browse-url):
13516 * net/xesam.el (xesam):
13517 * net/tramp.el (tramp):
13518 * net/goto-addr.el (goto-address):
13519 * net/ange-ftp.el (ange-ftp): Put in comm group.
13521 * view.el (view): Remove from editing group.
13523 * uniquify.el (uniquify): Put in files group.
13525 * net/browse-url.el (browse-url):
13526 * ps-print.el (postscript): Put in external group.
13528 * cus-edit.el (outlines):
13529 * textmodes/text-mode.el (text-mode-hook):
13530 * textmodes/table.el (table):
13531 * textmodes/picture.el (picture):
13532 * outline.el (outlines): Put in wp group.
13534 * nxml/nxml-mode.el (nxml): Remove from wp group.
13536 * net/tramp-imap.el (tramp-imap): Put in tramp group.
13538 * mail/metamail.el (metamail): Remove from hypermedia group.
13540 * cus-edit.el (abbrev):
13541 * whitespace.el (whitespace):
13542 * vcursor.el (vcursor):
13543 * reveal.el (reveal):
13544 * hl-line.el (hl-line): Put in convenience group.
13546 * epg-config.el (epg): Put in data group.
13548 * emulation/pc-select.el (pc-select): Put in emulations group.
13550 * calculator.el (calculator): Put in applications group.
13552 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13554 Add .dir-locals.el support for file-less buffers.
13555 * files.el (hack-local-variables): Split out code to apply local
13556 variable settings ...
13557 (hack-local-variables-apply): ... here. New function.
13558 (hack-dir-local-variables): Use the default directory for when the
13559 buffer does not have an associated file.
13560 (hack-dir-local-variables-non-file-buffer): New function.
13561 * diff-mode.el (diff-mode):
13562 * vc-annotate.el (vc-annotate-mode):
13563 * vc-dir.el (vc-dir-mode):
13564 * log-edit.el (log-edit-mode):
13565 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
13567 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13569 Add support for shelving snapshots and for showing shelves.
13570 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
13571 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
13573 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13574 (vc-bzr-extra-menu-map): Map them.
13576 2010-03-11 Glenn Morris <rgm@gnu.org>
13578 * cus-edit.el (customize-changed-options-previous-release):
13581 * image.el (image-animate-max-time): Fix :version tag.
13583 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
13587 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
13589 * vc-git.el (vc-git-revision-table): Include remote branches.
13591 2010-03-10 Kim F. Storm <storm@cua.dk>
13593 Animated image API.
13594 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
13596 * image.el (image-animate-max-time): New defcustom.
13597 (image-animated-types): New defconst.
13598 (create-animated-image, image-animate-timer)
13599 (image-animate-start, image-animate-stop, image-animate-timeout)
13600 (image-animated-p): New functions.
13602 * image-mode.el (image-toggle-display-image):
13603 Replace `create-image' with `create-animated-image'.
13605 2010-03-09 Miles Bader <miles@gnu.org>
13607 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
13608 instead of "format:"; this ensures that the output is
13609 newline-terminated.
13611 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
13613 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
13614 that all errors are caught, and that the return value is always a
13617 2010-03-08 Kenichi Handa <handa@m17n.org>
13619 * language/misc-lang.el (windows-1256): New coding system.
13620 (cp1256): New alias of windows-1256 (bug#5690).
13622 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
13624 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
13625 call to rfc822-bad-address. (Bug#5692)
13627 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
13629 * vc-git.el (vc-git-annotate-extract-revision-at-line):
13630 Use vc-git-root as default directory for revision path (Bug#5657).
13632 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
13634 * calculator.el (calculator): Don't bind split-window-keep-point
13637 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
13639 * vc-git.el: Re-flow to fit into 80 columns.
13640 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
13641 Remove spurious `quote' element in each case alternative.
13642 (vc-git-show-log-entry): Use prog1.
13643 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
13645 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
13647 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
13649 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
13651 * macros.el (insert-kbd-macro): Look up keyboard macro using the
13652 definition, not the name (Bug#5481).
13654 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
13656 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
13657 argument with a local variable. (Bug#5670)
13659 2010-03-02 Juri Linkov <juri@jurta.org>
13661 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
13663 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
13665 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
13666 error when FILENAME and NEWNAME are existing remote directories.
13668 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
13669 parameter DIR-FLAG.
13671 2010-03-02 Glenn Morris <rgm@gnu.org>
13673 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
13674 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
13676 2010-03-01 Kenichi Handa <handa@m17n.org>
13678 * language/burmese.el (burmese-composable-pattern): Rename from
13679 myanmar-composable-pattern.
13681 * international/characters.el (script-list):
13682 * international/fontset.el (script-representative-chars):
13683 Change myanmar to burmese.
13684 (otf-script-alist): Likewise.
13685 (setup-default-fontset): Likewise. Re-fix :otf spec.
13687 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
13689 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
13691 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
13693 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
13695 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13697 * net/tramp.el (tramp-handle-write-region): START can be a string.
13698 Take care in the checks. Reported by Dan Davison
13699 <davison@stats.ox.ac.uk>.
13701 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13703 * net/dbus.el (dbus-introspect, dbus-get-property)
13704 (dbus-set-property, dbus-get-all-properties):
13705 Use `dbus-call-method' when noninteractive. (Bug#5645)
13707 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
13709 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
13710 * emacs-lisp/elint.el (elint-add-required-env):
13711 * calendar/icalendar.el (icalendar--add-diary-entry):
13712 * calc/calcalg2.el (math-tracing-integral):
13713 * files.el (recover-session-finish): Use with-current-buffer
13714 instead of save-excursion.
13716 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
13718 Fix in-buffer completion when after-change-functions modify the buffer.
13719 * minibuffer.el (completion--replace): New function.
13720 (completion--do-completion): Use it and use relative movement.
13722 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
13724 * international/fontset.el (setup-default-fontset): Fix :otf spec.
13726 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
13728 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
13729 Allow the characters _<> in the stack entry (Bug#5653).
13731 2010-02-26 Kenichi Handa <handa@m17n.org>
13733 * language/burmese.el: Fix entries in composition-function-table.
13734 (myanmar-composable-pattern): New variable.
13736 * international/fontset.el (setup-default-fontset): Add an entry
13739 * international/characters.el (script-list): Add Myanmar
13742 2010-02-26 Glenn Morris <rgm@gnu.org>
13744 * custom.el (custom-initialize-delay): Doc fix.
13746 * mail/sendmail.el (send-mail-function): Autoload the call
13747 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
13749 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
13751 * files.el (hack-local-variables-filter): For eval forms, also
13752 check safe-local-variable-p (Bug#5636).
13754 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
13756 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
13757 setting the modes by `ignore-errors'. It might fail, for example
13758 if the file is not owned by the user but the group.
13759 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
13761 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
13763 * files.el (directory-listing-before-filename-regexp):
13764 Use stricter matching for iso-style dates, to avoid false matches with
13765 date-like filenames (Bug#5597).
13767 * htmlfontify.el (htmlfontify): Doc fix.
13769 * eshell/eshell.el (eshell): Doc fix.
13771 * startup.el (fancy-about-screen): In mode-line, apply
13772 mode-line-buffer-id face only to the buffer name (Bug#5613).
13774 2010-02-20 Kevin Ryde <user42@zip.com.au>
13776 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13777 In `watcom' anchor regexp to start of line, to avoid slowness
13780 2010-02-20 Eli Zaretskii <eliz@gnu.org>
13782 * subr.el (remove-yank-excluded-properties): Explain in a comment
13783 why `category' property is removed.
13785 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
13787 * isearch.el (isearch-update-post-hook, isearch-update):
13788 Revert 2010-02-17 change.
13790 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
13792 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
13793 (icalendar--convert-weekly-to-ical)
13794 (icalendar--convert-yearly-to-ical)
13795 (icalendar--convert-block-to-ical)
13796 (icalendar--convert-cyclic-to-ical)
13797 (icalendar--convert-anniversary-to-ical): Take care of time
13798 specifications where hour has 1-digit only (Bug#5549).
13800 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
13802 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13803 of disassemble output in GDB 7.1.
13805 2010-02-19 Glenn Morris <rgm@gnu.org>
13807 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13808 property. (Bug#5593)
13810 2010-02-18 Sam Steingold <sds@gnu.org>
13812 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13814 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
13816 Use abbreviated file names in bookmarks (bug#5591).
13817 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13818 calls to expand-file-name.
13819 (bookmark-relocate): Use abbreviated file names in bookmarks.
13820 (bookmark-load): Use abbreviated file names in messages.
13822 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13824 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13825 expand "." and "..". Reported by Thierry Volpiatto
13826 <thierry.volpiatto@gmail.com>.
13828 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13830 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13831 permissions of the temporary file to "0600". In case the remote
13832 file has no read permissions for the owner, there might be
13833 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
13835 22010-02-18 Glenn Morris <rgm@gnu.org>
13837 * emacs-lisp/authors.el (authors-renamed-files-alist):
13838 Add entries for INSTALL.CVS.
13840 2010-02-17 Mark A. Hershberger <mah@everybody.org>
13842 * vc-bzr.el: Fix typo in Known Bugs section.
13844 * isearch.el (isearch-update-post-hook): New hook.
13845 (isearch-update): Use the new hook.
13847 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
13849 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13850 Fix errors in copying directories.
13851 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13852 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13853 (tramp-handle-delete-file)
13854 (tramp-handle-dired-recursive-delete-directory)
13855 (tramp-handle-write-region): Flush also the cache for the upper
13858 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
13860 * simple.el (save-interprogram-paste-before-kill): Doc fix.
13862 * cus-edit.el (hardware): Doc fix.
13864 * man.el (man): Add to external custom group.
13866 * delim-col.el (columns): Move to wp custom group.
13868 * doc-view.el (doc-view): Add to data custom group.
13870 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13872 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13873 by ispell-parse-output (Bug#5575).
13875 2010-02-16 Kenichi Handa <handa@m17n.org>
13877 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13878 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13879 (skkdic-convert): Use `euc-japan' coding system for writing.
13881 2010-02-16 Glenn Morris <rgm@gnu.org>
13883 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13884 tex-main-file before using it. (Bug#5562)
13886 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
13888 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13889 warnings, since it is annoying for the user to see them each time he
13892 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
13894 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13895 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13896 instead of PROC for caching "first-password-request". Otherwise,
13897 new processes would not profit from passwords already entered.
13899 * net/tramp-cache.el (tramp-dump-connection-properties):
13900 Don't save "first-password-request" property.
13902 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
13904 * outline.el (outline-head-from-level):
13905 * simple.el (with-wrapper-hook):
13906 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13907 (elint-defun, elint-buffer-env, elint-top-form-logged)
13908 (elint-unbound-variable):
13909 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13910 Fix typos in docstrings.
13912 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
13914 * files.el (insert-directory): When WILDCARD-REGEXP and
13915 FULL-DIRECTORY-P are nil, insert the file entry instead of the
13916 whole directory. (Bug#5551)
13918 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
13919 dired's alignment sanity. (Bug#5516)
13921 2010-02-14 Juri Linkov <juri@jurta.org>
13923 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13924 Remove remaining ^H with their preceding chars. (Bug#5566)
13926 2010-02-13 Glenn Morris <rgm@gnu.org>
13928 * simple.el (transpose-subr): Give it a doc-string.
13930 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13933 2010-02-12 Juri Linkov <juri@jurta.org>
13935 * arc-mode.el (archive-unique-fname): Make directories for nested
13936 archives. (Bug#5540)
13938 2010-02-12 Juri Linkov <juri@jurta.org>
13940 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
13942 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
13944 * subr.el (copy-overlay): Handle deleted overlays.
13946 * man.el (Man-completion-table): Don't signal an error if we can't run
13947 manual-program (bug#4056).
13949 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
13951 * textmodes/artist.el (artist-mt): Fix typos in docstring.
13953 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13955 * info.el (Info-bookmark-jump): Simplify.
13957 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13958 (bookmark-default-handler): Accept new bookmark field `buffer'.
13960 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
13962 * iswitchb.el (iswitchb-completions): Revert last change.
13964 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
13966 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13967 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13968 This prevents file names like "~/" being listed literally.
13970 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
13972 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13973 Remove dead code. (Bug#5546)
13975 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
13977 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13978 correctly (Bug#5548).
13980 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
13982 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13983 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13985 2010-02-08 Kenichi Handa <handa@m17n.org>
13987 * international/mule-util.el (with-coding-priority): Add autoload
13988 cookie for putting `lisp-indent-function'.
13990 2010-02-07 Glenn Morris <rgm@gnu.org>
13992 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13993 Move F2003 named interfaces from keywords-2 to keywords-1, and
13994 use function-name-face rather than constant-face.
13995 Simplify "abstract interface" regexp.
13997 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
13999 * eshell/esh-util.el (eshell-file-attributes): New optional arg
14000 ID-FORMAT. Pass it to `file-attributes'.
14002 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
14004 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
14006 * faces.el (set-face-attribute): Allow calling
14007 internal-set-lisp-face-attribute with 'unspecified family and
14008 foundry argument (Bug#5536).
14010 2010-02-07 Glenn Morris <rgm@gnu.org>
14012 * progmodes/f90.el (f90-font-lock-keywords-2)
14013 (f90-looking-at-type-like, f90-looking-at-program-block-end):
14014 Handle F2003 named interfaces.
14016 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
14018 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
14019 beg and end before calling c-get-state-before-change-functions.
14021 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
14023 * vc-bzr.el (vc-bzr-dir-extra-headers):
14024 Disable the pending merges header.
14026 2010-02-05 Juri Linkov <juri@jurta.org>
14028 * doc-view.el (doc-view-mode):
14029 * image-mode.el (image-mode): Put property mode-class=special.
14032 2010-02-05 Mark A. Hershberger <mah@everybody.org>
14034 * vc-svn.el (vc-svn-revision-table): New function.
14036 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
14038 * net/ange-ftp.el (ange-ftp-insert-directory):
14039 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
14040 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
14041 Handle also directories. (Bug#5478)
14043 2010-02-05 Glenn Morris <rgm@gnu.org>
14045 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
14047 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
14049 * startup.el (command-line-1): Convert options beginning with a
14050 single dash as well (Bug#5519).
14052 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
14054 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
14055 * minibuffer.el (completion-initials-expand): Only check the presence
14056 of delims *within* the boundaries, since otherwise the / delim is
14057 always found for files.
14059 Fix up various corner case problems.
14060 * doc-view.el (doc-view-last-page-number): New function.
14061 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
14062 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
14063 (doc-view-kill-proc): Avoid inf-loop in freak cases.
14064 (doc-view-reconvert-doc): Use the new recursive delete-directory.
14065 (doc-view-convert-current-doc): Don't create the resolution.el file
14067 (doc-view-pdf/ps->png): Do it here instead.
14068 (doc-view-already-converted-p): Check that resolution.el is present.
14069 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
14070 windows that are not yet showing images.
14072 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
14074 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
14075 `dired-uncache' for every elemnt which is an absolute file name.
14077 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
14078 directory, handle its directory component.
14079 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
14080 function is called permanently and creates noise, otherwise.
14082 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
14083 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
14084 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
14086 2010-02-04 David Burger <dburger@google.com> (tiny change)
14088 * macros.el (apply-macro-to-region-lines):
14089 Minor simplification. (Bug#5485)
14091 2010-02-04 Glenn Morris <rgm@gnu.org>
14093 * mail/rmail.el (rmail-show-message-1): Handle malformed
14094 quoted-printable text. (Bug#5441)
14096 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
14098 * simple.el (visual-line-mode): Capitalize lighter.
14100 2010-02-03 John Wiegley <jwiegley@gmail.com>
14102 * iswitchb.el (iswitchb-completions): Add bookmark files to the
14103 list of files considered for "virtual buffer" completions.
14105 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
14107 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
14108 also in case of (and (not full) (not wildcard)). This is needed
14109 when dired is called with a list of files, which are not in
14110 `default-directory'. (Bug#5478)
14112 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
14114 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
14116 2010-02-02 Juri Linkov <juri@jurta.org>
14118 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
14119 from unidiff to allow function-line after @@.
14121 2010-02-02 Juri Linkov <juri@jurta.org>
14123 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
14124 '(RCS SCCS) with inverted condition.
14126 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
14128 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
14131 2010-02-01 Juri Linkov <juri@jurta.org>
14133 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
14134 compare with "pkunzip" and "pkzip" instead of only "pkzip".
14135 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
14136 only when (car archive-zip-extract) is "unzip". (Bug#5475)
14138 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
14140 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
14141 (doc-view-revert-buffer): New command.
14142 (doc-view-mode-map): Use it.
14144 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
14146 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
14147 pending merge is detected.
14149 2010-01-31 Juri Linkov <juri@jurta.org>
14151 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
14152 beginning of interactive spec like all other grep commands do.
14153 Put "all" in front of "gz". (Bug#5260)
14155 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
14157 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
14159 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
14161 * dirtrack.el (dirtrack): Warn instead of signalling error if the
14162 regexp is incorrect (Bug#5476).
14164 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
14166 * net/tramp.el (tramp-handle-insert-directory): Handle also
14167 symlinks, when FILENAME is not in `default-directory'.
14169 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
14171 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
14172 FILE is not in `default-directory'. (Bug#5478)
14174 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
14175 of SWITCHES. Handle the case, FILENAME is not in
14176 `default-directory'. (Bug#5478)
14177 (tramp-register-file-name-handlers): Add safe-magic property.
14179 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
14181 * arc-mode.el (archive-zip-extract): Quote the argument passed to
14184 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
14186 * progmodes/flymake.el (flymake-allowed-file-name-masks)
14187 (flymake-master-make-header-init): Add other C++ filename masks.
14188 (flymake-find-possible-master-files)
14189 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
14191 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
14193 Fix some busybox annoyances.
14195 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
14196 not responding." string.
14197 (tramp-open-connection-setup-interactive-shell): Dump stty
14198 settings. Enable "neveropen" arg for all `tramp-send-command'
14199 calls. Handle "=" in variable values properly.
14200 (tramp-find-inline-encoding): Raise an error, when no encoding is
14202 (tramp-wait-for-output): Check, whether PROC buffer is available.
14203 Remove spurious " ^H" sequences, sent by busybox.
14204 (tramp-get-ls-command): Suppress coloring, if possible.
14206 2010-01-28 Glenn Morris <rgm@gnu.org>
14208 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
14210 * log-edit.el (log-edit-strip-single-file-name): Add missing
14211 :safe, :group, and :version tags.
14213 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
14215 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
14216 buffers. (Bug#5477)
14218 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
14220 * files.el (delete-directory): Handle moving to trash without
14221 first doing recursion (Bug#5436).
14223 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
14225 * vc-hooks.el (vc-path): Mark as obsolete.
14227 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
14229 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
14232 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
14234 (vc-bzr-log-view-mode): Adjust regexp for the above change.
14236 2010-01-25 Mark A. Hershberger <mah@everybody.org>
14238 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
14240 * vc-bzr.el (vc-bzr-revision-table): New function.
14242 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
14244 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
14245 diff-index command. This requires at least git-1.5.5. (Bug#1589).
14247 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
14249 Remove support for adding --signoff on commit.
14250 Future support will use an incompatible generic mechanism.
14251 * vc-git.el (vc-git-add-signoff): Remove variable.
14252 (vc-git-toggle-signoff): Remove function.
14253 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
14255 * term/xterm.el (xterm-maybe-set-dark-background-mode):
14256 Rename from xterm-set-background-mode. Return t if the background mode
14258 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
14259 earlier, call it again in case the background mode has changed.
14261 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
14263 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
14266 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
14268 * emacs-lisp/assoc.el (aelement): Doc fix.
14269 (aput, adelete, amake): Use lexical-let (Bug#5450).
14271 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
14273 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
14274 is the same as subprogram call, not declaration. (Bug#5435).
14276 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
14278 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
14279 (tramp-smb-maybe-open-connection): Use it.
14281 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
14283 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
14285 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
14287 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
14288 just because we see "encoding: 8bit".
14289 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
14291 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
14293 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
14295 2010-01-22 Eli Zaretskii <eliz@gnu.org>
14297 * jka-compr.el (jka-compr-load): If load-file is not in
14298 load-history, try its file-truename version. (bug#5447)
14300 2010-01-21 Alan Mackenzie <acm@muc.de>
14302 Fix a situation where deletion of a cpp construct throws an error.
14303 * progmodes/cc-engine.el (c-invalidate-state-cache):
14304 Before invoking c-with-all-but-one-cpps-commented-out, check that the
14305 special cpp construct is still in the buffer.
14306 (c-parse-state): Record the special cpp with markers, not numbers.
14308 2010-01-21 Kenichi Handa <handa@m17n.org>
14310 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
14311 process last-command-event, as it is now decoded first (Bug#5380).
14313 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
14315 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
14317 2010-01-20 Glenn Morris <rgm@gnu.org>
14319 * indent.el (tab-always-indent): Fix custom-type.
14321 2010-01-19 Alan Mackenzie <acm@muc.de>
14323 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
14324 buffer throws "args out of range".
14325 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
14326 playing the role of delimiter.
14328 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
14330 * progmodes/ada-mode.el: Fix bug#5400.
14331 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
14332 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
14333 changed. Delete RECURSIVE parameter; never used. Improve doc string.
14334 Improve comments in "is" portion. Handle null procedure declaration.
14335 (ada-move-to-end): Improve doc string.
14337 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
14339 * ido.el (ido-cur-list): Initialize to nil.
14340 Remove obsolete information from commentary.
14341 (ido-choice-list): Initialize to nil.
14342 (ido-get-bufname): Reject minibuffers.
14343 (ido-make-buffer-list): If "default" is a nonexistent
14344 buffer, ignore it, as per the function's comment.
14345 (ido-kill-buffer-internal): New function.
14346 (ido-kill-buffer-at-head): Use it.
14347 (ido-visit-buffer): Likewise.
14349 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
14351 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
14353 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
14355 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
14356 Fix typos in chart titles.
14358 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
14359 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
14360 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
14361 (describe-class, eieio-describe-generic, describe-generic):
14362 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
14363 (eieio-speedbar-expand):
14364 * emulation/viper-cmd.el (viper-exec-form-in-vi)
14365 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
14366 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
14367 (viper-del-backward-char-in-replace, viper-backward-indent)
14368 (viper-brac-function, viper-register-to-point, viper-submit-report):
14369 * net/tramp.el (tramp-remote-coding-commands):
14370 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
14371 Fix typos in docstrings.
14373 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
14375 * mail/sendmail.el (mail-yank-original): Set the mark if the
14376 specified function for yanking does not do it.
14378 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
14380 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
14382 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
14383 resyncing a directory.
14385 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
14387 * progmodes/ada-mode.el: Fix bug#1920.
14388 (ada-ident-re): Delete ., allow multibyte characters.
14389 (ada-goto-label-re): New; matches goto labels.
14390 (ada-block-label-re): New; matches block labels.
14391 (ada-label-re): New; matches both.
14392 (ada-named-block-re): Delete; callers changed to use
14393 `ada-block-label-re' instead.
14394 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
14395 Use `ada-block-label-re'.
14396 (ada-indent-on-previous-lines): Improve handling of goto labels.
14397 (ada-get-indent-block-start): Special-case block label.
14398 (ada-get-indent-label): Split into `ada-indent-block-label' and
14399 `ada-indent-goto-label'.
14400 (ada-goto-stmt-start, ada-goto-next-non-ws):
14401 Optionally ignore goto labels.
14402 (ada-goto-next-word): Simplify.
14403 (ada-indent-newline-indent-conditional): Insert newline before
14404 trying to fix indentation; doc fix.
14406 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
14408 * calc/calc.el (calc-command-flags): Give it an initial value.
14410 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
14412 * files.el (minibuffer-with-setup-hook):
14413 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
14414 (artist-key-draw-continously, artist-key-do-continously-continously)
14415 (artist-key-set-point-continously, artist-mouse-draw-continously):
14416 Fix typos in docstrings.
14418 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
14420 * nxml/nxml-mode.el (nxml-extend-after-change-region):
14421 Never return t (Bug#3898).
14423 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
14425 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
14426 can parse the output of the external commands (Bug#5279).
14428 2010-01-16 Jari Aalto <jari.aalto@cante.net>
14430 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
14432 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
14434 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
14436 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
14438 * startup.el (command-line): Remove unused --icon-type arg.
14439 Handle --display arg, passing it to command-line-1 (Bug#5392).
14441 2010-01-16 Mario Lang <mlang@delysid.org>
14443 * emacs-lisp/chart.el (chart-translate-namezone):
14444 * textmodes/artist.el (artist-compute-popup-menu-table):
14445 Remove duplicated words in doc-strings.
14447 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
14449 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
14450 to mairix-search to suppress threading (Bug#5342).
14452 2010-01-15 Kenichi Handa <handa@m17n.org>
14454 * international/mule-cmds.el (canonicalize-coding-system-name):
14455 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
14457 2010-01-15 Glenn Morris <rgm@gnu.org>
14459 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
14461 * wid-edit.el (widget-keymap): Doc fix.
14463 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
14464 former seems to be more widely accepted by various svn versions.
14466 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14468 * find-cmd.el (find-constituents):
14469 * vc-arch.el (vc-arch-root):
14470 * window.el (window-body-height, pop-up-frames):
14471 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
14472 * progmodes/ada-stmt.el (ada-if):
14473 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
14474 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
14475 (ispell-encoding8-command, ispell-aspell-supports-utf8)
14476 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
14478 * progmodes/flymake.el (flymake-post-syntax-check):
14479 Fix typo in error message.
14481 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14483 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
14484 which is always a string. (Bug#5313)
14486 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14488 * progmodes/ada-xref.el (ada-default-prj-properties):
14489 Simplify previous change.
14491 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14493 * progmodes/ada-xref.el (ada-default-prj-properties):
14494 Default ada_project_path to $ADA_PROJECT_PATH.
14496 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14498 * progmodes/ada-mode.el (ada-create-keymap):
14499 Override `narrow-to-defun' with `ada-narrow-to-defun'.
14501 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14503 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
14504 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
14505 (ada-get-current-indent, ada-imenu-generic-expression)
14506 (ada-which-function): Check for it.
14508 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14510 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
14511 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
14513 2010-01-14 Glenn Morris <rgm@gnu.org>
14515 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
14517 2010-01-14 Kenichi Handa <handa@m17n.org>
14519 * composite.el (auto-composition-mode): Make it a buffer local
14520 variable (permanent-local).
14521 (auto-composition-function): Set the default value to
14522 auto-compose-chars.
14523 (auto-composition-mode): Make it a simple function, not a minor mode.
14524 (global-auto-composition-mode): Likewise.
14525 (turn-on-auto-composition-if-enabled): Delete it.
14527 2010-01-13 Karl Fogel <kfogel@red-bean.com>
14529 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
14531 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
14533 * files.el (copy-directory): Compute target for recursive
14534 directories with identical names. (Bug#5343)
14536 2010-01-12 Glenn Morris <rgm@gnu.org>
14538 * mail/emacsbug.el (report-emacs-bug-pretest-address):
14539 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
14541 2010-01-11 Sam Steingold <sds@gnu.org>
14543 * imenu.el (imenu-default-create-index-function): Detect infinite
14544 loops caused by imenu-prev-index-position-function.
14546 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14548 * htmlfontify.el (htmlfontify-load-rgb-file)
14549 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
14550 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
14551 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
14552 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
14553 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
14554 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
14555 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
14556 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
14557 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
14558 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
14559 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
14560 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
14561 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
14562 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
14563 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
14564 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
14565 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
14566 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
14567 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
14568 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
14569 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
14570 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
14571 backslash-quoting from parentheses, etc.
14573 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
14575 * progmodes/js.el: Autoload javascript-mode alias.
14577 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14579 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
14580 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
14581 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
14582 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
14583 Fix typos in docstrings.
14584 (ffap-url-regexp): Doc fix.
14585 (ffap-at-mouse): Fix typo in message.
14587 2010-01-11 Glenn Morris <rgm@gnu.org>
14589 * version.el (emacs-copyright): Set copyright year to 2010.
14591 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
14593 * format.el (format-annotate-function): Only set
14594 write-region-post-annotation-function after running to-fn so as not to
14595 affect nested write-region calls (bug#5273).
14597 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
14599 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
14602 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14604 * man.el (Man-goto-section): Signal error if the section is not
14607 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
14609 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
14610 URLs with a leading triple slash in the file: scheme. (Bug#5345)
14612 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14614 * progmodes/compile.el: Don't treat compile-command as safe if
14615 compilation-read-command might be nil (Bug#4218).
14617 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
14619 * startup.el (command-line-1): Use orig-argi to check for ignored X and
14622 2010-01-08 Kenichi Handa <handa@m17n.org>
14624 * international/fontset.el (build-default-fontset-data):
14625 Exclude characters in scripts kana, hangul, han, or cjk-misc.
14627 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
14629 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
14630 to `create-file-buffer' as it expects, not just a buffer name.
14631 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
14632 to help uniquify. (Bug#3224)
14634 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
14636 * font-setting.el (font-setting-change-default-font): Use user-spec
14639 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
14641 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
14643 2010-01-05 Tom Tromey <tromey@redhat.com>
14645 * progmodes/python.el (python-font-lock-keywords):
14646 Handle qualified decorators (Bug#881).
14648 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14650 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
14651 in a lightweight checkout.
14653 2010-01-05 Kenichi Handa <handa@m17n.org>
14655 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
14657 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14659 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
14661 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
14663 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
14664 checkouts. (Bug#618)
14665 (vc-bzr-log-view-mode): Also highlight the author.
14666 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
14667 (vc-bzr-shelve-menu-map):
14668 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
14669 (vc-bzr-shelve-apply): Make prompt more explicit.
14671 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
14673 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
14674 They are valid characters in URL paths (rfc3986), and at least
14675 Firefox does not understand the encoded version (Bug#3166).
14677 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
14679 * progmodes/octave-mod.el (octave-end-keywords)
14680 (octave-block-begin-or-end-regexp, octave-block-match-alist):
14681 Add "end" keyword (Bug#3061).
14682 (octave-end-as-array-index-p): New function.
14683 (calculate-octave-indent): Use it.
14685 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14687 * bookmark.el: Consistently put the text property on the bookmark name.
14688 (bookmark-bmenu-marks-width): Bump back to 2, to include
14690 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
14691 property on the bookmark name, instead of not putting it at all.
14692 (bookmark-bmenu-list): Fix where we put the text property.
14694 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14696 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
14697 for showing buffer modified state (as added in the previous change).
14699 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14701 * bookmark.el: Show modified state of bookmark buffer more accurately.
14702 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
14703 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
14704 (with-buffer-modified-unmodified): New macro.
14705 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14706 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
14707 Use new macro to preserve the buffer modified state.
14709 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14711 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
14712 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
14713 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
14714 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
14715 (bookmark-bmenu-rename, bookmark-bmenu-locate)
14716 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
14717 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
14719 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14721 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14722 Make the lines in the generated doc string shorter. (Bug#4668)
14724 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
14726 * net/rcirc.el: Add follow-link binding (Bug#4738).
14728 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14730 * Makefile.in (bzr-update): Rename from cvs-update.
14731 (cvs-update): New target for backward compatibility.
14733 * makefile.w32-in (bzr-update): Rename from cvs-update.
14734 (cvs-update): New target for backward compatibility.
14736 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14738 * bookmark.el: Remove gratuitous gratitude.
14740 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14742 * bookmark.el (bookmark-bmenu-any-marks): New function.
14743 (bookmark-bmenu-save): Clear buffer modification if no marks.
14745 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14747 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
14748 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
14749 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
14750 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
14752 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
14753 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
14754 To: emacs-devel {_AT_} gnu.org
14755 Subject: bookmark.el bug report
14756 Date: Mon, 28 Dec 2009 14:19:16 +0800
14757 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
14759 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14761 * bookmark.el: Improvements suggested by Drew Adams:
14762 (bookmark-bmenu-ensure-position): New name for
14763 `bookmark-bmenu-check-position'. Just ensure the position,
14764 don't return any meaningful value.
14765 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
14768 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
14770 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
14771 (bookmark-yank-point, bookmark-bmenu-check-position):
14772 Fix typos in docstrings.
14773 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
14774 (bookmark-name-from-full-record, bookmark-get-position)
14775 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
14776 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
14777 Remove useless quoting of parenthesis, etc. in docstrings.
14779 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
14780 (ediff-append-custom-diff): Fix typo in error message.
14781 (ediff-meta-mark-equal-files): Fix typos in messages.
14783 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
14785 * net/imap-hash.el (imap-hash-make): Doc fix.
14786 (imap-hash-test): Fix typo in error message; reflow docstring.
14787 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
14788 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
14789 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
14790 Fix typos in docstrings.
14791 (imap-hash-open-connection): Fix typo in error message.
14793 * play/gomoku.el (gomoku): Fix typos in docstring.
14795 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
14796 (gdb-jsonify-buffer): Fix typos in docstring.
14797 (gdb-goto-breakpoint): Fix typo in error message.
14798 ("Display Other Windows"): Fix typo in help message.
14799 (gdb-speedbar-expand-node): Fix typo in question.
14801 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14802 (idlwave-html-system-help-location, idlwave-html-help-location)
14803 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14804 (idlwave-help-browser-generic-args, idlwave-help-directory)
14805 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14806 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14807 (idlwave-online-help, idlwave-help-html-link)
14808 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14809 Fix typos in docstrings.
14810 (idlwave-help-with-source, idlwave-help-find-routine-definition):
14812 (idlwave-help-assistant-start): Fix typo in error message.
14814 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14815 (octave-electric-space): Fix typos in docstrings.
14817 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
14819 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14821 2010-01-01 Juri Linkov <juri@jurta.org>
14823 * comint.el (comint-input-ring-size): Make it a defcustom and
14824 increase the default to 500 (Bug#5148).
14826 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
14828 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14829 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14830 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14832 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
14834 Show working revision correctly for mercurial.
14835 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14836 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14838 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
14840 Declare some functions for the byte-compiler.
14841 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14842 (speedbar-timer-fn, speedbar-change-expand-button-char)
14843 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14845 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
14847 This changeset reverts GDB Graphical Interface to use annotations.
14848 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14850 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
14852 Make vc-dir work on subdirectories of the bzr root.
14853 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14854 Return file names relative to it.
14855 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14856 relative directory to vc-bzr-after-dir-status.
14858 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
14860 * font-lock.el (font-lock-refresh-defaults): New function, which
14861 can be used to let font-lock react to external changes in
14862 variables like font-lock-defaults and keywords.
14863 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14865 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
14867 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14869 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14871 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
14873 Supersede color.diff settings in git log (bug#5211).
14875 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14876 escape chars in its output when the user has color.diff set to `always'.
14877 This fix works on git 1.4.2 and newer (released on 2006-08-13).
14879 2009-12-26 Kevin Ryde <user42@zip.com.au>
14881 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14882 node. Keep previous "Index" name to work with past coreutils too.
14884 * man.el (man): Revise docstring a bit to show -a and -l as
14885 examples. Add -k description since support for it has otherwise
14886 been a secret. (Further to bug#3717.)
14887 (Man-bgproc-sentinel): When "-k foo" produces no output show error
14888 "no matches" rather than "Can't find manpage", as the latter reads
14889 like -k was interpreted as a page name, which is not so. (Bug#5431)
14891 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
14893 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14894 switches. Check also for //SUBDIRED// line.
14896 2009-12-25 Kenichi Handa <handa@m17n.org>
14898 * language/indian.el (devanagari-composable-pattern): Fix to
14899 handle ZWNJ and ZWJ. Use it in composition-function-table for
14901 (malayalam-composable-pattern): Fix previous change.
14903 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14905 * ps-print.el (ps-face-attributes): It was not returning the
14906 attribute face for faces specified as string. Reported by harven
14907 <harven@free.fr>. (Bug#5254)
14908 (ps-print-version): New version 7.3.5.
14910 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
14912 * calendar/icalendar.el (icalendar--convert-tz-offset):
14913 Fix timezone names.
14914 (icalendar--convert-tz-offset): Fix the "last-day-problem".
14915 (icalendar--add-diary-entry): Remove the trailing blank that
14916 diary-make-entry inserts.
14918 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
14920 Make `file-expand-wildcards' work for remote files.
14922 * files.el (file-expand-wildcards): In case of remote files, check
14923 only local file name part for wildcards. Provide feature 'files
14924 and subfeature 'remote-wildcards. (Bug#5198)
14926 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14927 if there is already an established connection.
14928 (tramp-advice-file-expand-wildcards): Remove it.
14930 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14931 (tramp-advice-file-expand-wildcards): Move from tramp.el.
14932 Activate advice for older GNU Emacs versions. (Bug#5237)
14934 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
14936 Some doc fixes (more needed).
14938 * find-cmd.el (find-constituents): Reflow docstring.
14939 (find-cmd, find-prune, find-command): Fix typos in docstrings.
14940 (find-generic): Doc fix.
14942 2009-12-17 Juri Linkov <juri@jurta.org>
14944 Fix regression from 23.1 to allow multiple modes in Local Variables.
14946 * files.el (hack-local-variables-filter): While ignoring duplicates,
14947 don't take `mode' into account.
14948 (hack-local-variables-filter, hack-dir-local-variables):
14949 Don't remove duplicate `mode' from local-variables-alist (like `eval').
14951 2009-12-17 Juri Linkov <juri@jurta.org>
14953 Make `dired-diff' safer. (Bug#5225)
14955 * dired-aux.el (dired-diff): Signal an error when `file' equals to
14956 `current' or when `file' is a directory of the `current' file.
14958 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
14960 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14961 unconditionally preloaded files.
14963 2009-12-16 Juri Linkov <juri@jurta.org>
14965 Revert to old 23.1 logic of using the file at the mark as default.
14966 * dired-aux.el (dired-diff): Use the file at the mark as default
14967 if it's not the same as the current file, and the target dir is
14968 the current dir or the mark is active. Add the current file
14969 as the arg of `dired-dwim-target-defaults'. Use the default file
14970 in the prompt. (Bug#5225)
14972 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
14974 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14975 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14976 (tramp-check-for-regexp): Check also, when an echoing shell stops
14977 to echo sent commands.
14979 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14981 * Makefile.in: Revert last change (Bug#5191).
14983 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
14985 * vc-hg.el (vc-hg-print-log): Fix argument order.
14986 (vc-hg-working-revision): Make sure the command is executed in a
14987 known environment so that we can parse the output. (Bug#4417)
14989 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14991 * progmodes/python.el (python-symbol-completions): Remove text
14992 properties from symbol string before calling python-send-receive.
14994 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
14996 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14997 when there are values for both file and line. (Bug#5060)
14999 2009-12-14 Juri Linkov <juri@jurta.org>
15001 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
15002 whitespace after the file name of the first line of unified format,
15003 because git-diff doesn't output whitespace and file modification time
15004 after the file name.
15006 2009-12-14 David Kastrup <dak@gnu.org>
15008 * info.el (Info-hide-cookies-node): Before hiding a cookie,
15009 check if it already has the `display' property added by
15010 `Info-display-images-node', and not put the `invisible' property
15013 2009-12-13 Glenn Morris <rgm@gnu.org>
15015 * mail/emacsbug.el (message-sort-headers): Define for compiler.
15016 (report-emacs-bug): In message-mode, sort manually before storing
15017 original report text. (Bug#5178)
15018 Remove superfluous save-excursion.
15020 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
15022 * net/dbus.el (dbus-property-handler): Filter lambda forms out
15023 when responding to "GetAll" properties.
15025 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
15027 * simple.el (compose-mail): Remove mail-setup-with-from from
15028 customization checks.
15030 2009-12-12 Eli Zaretskii <eliz@gnu.org>
15032 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
15033 RAR archives created on Unix systems.
15035 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
15037 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
15038 the varalias that was accidentally removed by the 2009-11-19 change
15041 2009-12-12 Kenichi Handa <handa@m17n.org>
15043 * language/indian.el (indian-compose-regexp): New function.
15044 (malayalam-composable-pattern): Fix the pattern.
15045 (composition-function-table): Set malayalam-composable-pattern for
15046 Malayalam characters.
15048 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
15050 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
15051 rather than down-mouse-1, based on follow-link conventions.
15053 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
15056 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
15058 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
15059 (verilog-vmm-statement-re, verilog-ovm-statement-re)
15060 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
15061 (verilog-leap-to-head, verilog-backward-token):
15062 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
15064 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
15066 * progmodes/verilog-mode.el (verilog-auto-lineup)
15067 (verilog-nameable-item-re): Cleanup user-visible spelling and
15068 documentation errors. One reported by Gary Delp.
15069 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
15070 (verilog-read-decls): Fix AUTOWIRE with types declared in a
15071 package, bug195. Reported by Pierre-David Pfister.
15073 2009-12-11 Glenn Morris <rgm@gnu.org>
15075 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
15077 * mail/emacsbug.el: No longer require sendmail.
15078 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
15079 (report-emacs-bug-orig-text): Doc fix.
15080 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
15081 New local variables, to adapt to different mail-user-agents.
15082 (report-emacs-bug): Fix test for a gnu.org address.
15083 Use overlays for emphasis, since font-lock defeats 'face property.
15084 Pretest bugs also end up at the newsgroup these days.
15085 Stop message-mode stripping text properties.
15086 Set and use the new buffer-local variables.
15087 (report-emacs-bug-hook): Add doc-string.
15088 Remove some unnecessary save-excursions and simplify.
15089 Use the appropriate hook and send-command.
15091 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
15092 capitalization of some menu entries.
15094 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15096 * whitespace.el (whitespace-display-char-on):
15097 Ensure `buffer-display-table' is unique when two or more windows are
15098 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
15101 2009-12-10 Eli Zaretskii <eliz@gnu.org>
15103 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
15104 characters in the Attribute field.
15106 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
15108 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
15110 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
15112 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
15113 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15114 Disregard autoload-excludes.
15115 (update-directory-autoloads): Obey autoload-excludes here instead.
15116 But don't store its contents in no-autoloads and remove entries that
15117 refer to excludes files.
15119 2009-12-10 Glenn Morris <rgm@gnu.org>
15121 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
15122 (expand-mail-aliases): Define for compiler.
15124 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
15125 Define for compiler.
15127 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
15128 appropriate for the mail-user-agent in use.
15130 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
15132 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
15134 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
15136 Fix short log parsing and fontification.
15137 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
15138 Fix fontification for the [merge] label.
15140 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
15142 Drop some properties to avoid surprises (bug#5002).
15143 * htmlfontify.el (hfy-ignored-properties): New defcustom.
15144 (hfy-fontify-buffer): Use it.
15146 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
15149 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
15150 Adjust all callers.
15151 (ffap-locate-file): Remove unused arg `dir-ok' and make other
15152 args compulsory. Adjust callers.
15153 (ffap-gopher-at-point): Remove unused var `name'.
15155 Get rid of the ELCFILES abomination.
15156 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
15157 (compile-elcfiles): New phony target.
15158 (compile-main): Compute ELCFILES dynamically.
15159 (compile-clean): New target to remove left-over elc files.
15160 (compile, all): Use it.
15162 2009-12-09 Kenichi Handa <handa@etlken>
15164 * international/mule-diag.el: Require help-mode instead of help-fns.
15166 2009-12-09 Kenichi Handa <handa@m17n.org>
15168 * international/mule-cmds.el (ucs-names): Supply sufficiently
15169 fine ranges instead of pre-calculating accurate ranges.
15170 Iterate with bigger gc-cons-threshold.
15172 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
15174 Add support for stashing a snapshot of the current tree.
15175 * vc-git.el (vc-git-stash-snapshot): New function.
15176 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
15178 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
15180 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
15181 instead of `(beginning|end)-of-line'.
15183 2009-12-08 Glenn Morris <rgm@gnu.org>
15185 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
15187 * Makefile.in (ELCFILES): Regenerate.
15189 2009-12-07 Juri Linkov <juri@jurta.org>
15191 Don't lazy-highlight the comint output in history Isearch mode.
15193 * comint.el (comint-history-isearch-search): Instead of
15194 `comint-line-beginning-position', use `comint-after-pmark-p'
15195 to check if point if before the process mark, and go to
15196 `process-mark' in this case.
15198 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15200 * textmodes/tex-mode.el (latex-complete)
15201 (latex-indent-or-complete): Remove.
15202 (latex-mode): Set completion-at-point-functions instead.
15204 Provide a standard completion command and hook it into TAB.
15205 * minibuffer.el (completion-at-point-functions): New var.
15206 (completion-at-point): New command.
15207 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
15208 * progmodes/python.el (python-mode-map): Use completion-at-point.
15209 (python-completion-at-point): Rename from python-partial-symbol and
15210 adjust for use in completion-at-point-functions.
15211 (python-mode): Setup completion-at-point for Python completion.
15212 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
15213 extracted from lisp-complete-symbol.
15214 (lisp-complete-symbol): Use it.
15215 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
15216 setup completion-at-point for Elisp completion.
15217 (emacs-lisp-mode-map, lisp-interaction-mode-map):
15218 Use completion-at-point.
15219 * ielm.el (ielm-map): Use completion-at-point.
15220 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
15221 * progmodes/sym-comp.el: Move to...
15222 * obsolete/sym-comp.el: Move from progmodes.
15224 2009-12-07 Eli Zaretskii <eliz@gnu.org>
15226 Prevent save-buffer in Rmail buffers from using the coding-system
15227 of the current message, and from clobbering the encoding mnemonics
15228 in the mode line (Bug#4623).
15230 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
15232 (rmail-message-encoding): New variable.
15233 (rmail-write-region-annotate): Record the encoding of the current
15234 message in rmail-message-encoding.
15235 (rmail-after-save-hook): New function, restores the encoding of
15236 the current message after the message collection is saved.
15238 2009-12-07 Juri Linkov <juri@jurta.org>
15240 * progmodes/grep.el (grep-read-files): Use `completing-read'
15241 instead of `read-string'. Set its `collection' arg to
15242 `read-file-name-internal'. (Bug#4301)
15244 2009-12-07 Juri Linkov <juri@jurta.org>
15246 Correctly restore original Isearch point. (Bug#4994)
15248 * isearch.el (isearch-mode): Move `isearch-push-state' after
15249 `(run-hooks 'isearch-mode-hook)'.
15250 (isearch-cancel): When `isearch-push-state-function' is defined,
15251 let-bind `isearch-cmds' to the first state (the last element of
15252 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
15253 function and restores the original point). Otherwise, move point
15254 to `isearch-opoint'.
15256 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15258 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
15259 chars that don't have names, so the table can be built much faster at
15262 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
15264 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
15265 change. Suggested by David Kastrup.
15267 * simple.el (compose-mail): Check for incompatibilities and warn.
15268 (compose-mail-user-agent-warnings): New option.
15270 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15272 Support showing a single log entry from vc-annotate.
15273 * vc.el (print-log): Add a new argument: START-REVISION.
15274 (vc-print-log-internal): Add a new optional argument and
15275 pass it to the backend.
15276 (vc-print-log, vc-print-root-log): Adjust callers.
15277 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
15278 buffer already displays the requested log entry, use it.
15279 Otherwise display only the log entry in question.
15280 * vc-svn.el (vc-svn-print-log):
15281 * vc-mtn.el (vc-mtn-print-log):
15282 * vc-hg.el (vc-hg-state):
15283 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
15284 (vc-git-show-log-entry): Return t on success.
15285 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
15286 (vc-bzr-show-log-entry): Return t on success.
15287 * vc-rcs.el (vc-rcs-print-log):
15288 * vc-sccs.el (vc-sccs-print-log):
15289 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
15291 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15293 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
15294 Add menus to the meta mode. (Bug#5043)
15296 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
15298 * ediff-init.el (ediff-event-key): Use event-to-character instead of
15301 * ediff.el (ediff-buffers-internal): Add unwind-protect.
15303 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
15305 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
15306 Berbain <raphael.berbain@gmail.com>.
15308 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
15310 (tramp-initial-end-of-output): New defconst.
15311 (tramp-methods, tramp-find-shell)
15312 (tramp-open-connection-setup-interactive-shell)
15313 (tramp-maybe-open-connection): Use it.
15314 (tramp-shell-prompt-pattern, tramp-wait-for-output):
15315 Handle existence of `#' and `$'.
15317 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
15318 Use `tramp-initial-end-of-output'.
15320 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15322 Get the background mode from the terminal for xterm, and set
15324 * term/xterm.el (xterm-set-background-mode): New function.
15325 (terminal-init-xterm): Use it in case xterm supports background
15326 color queries. Recompute faces after getting the background
15329 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
15331 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
15332 number comment back on its own line, for easier parsing.
15334 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15336 Make it work for non-file buffers (bug#5102).
15337 * doc-view.el (doc-view-current-cache-dir):
15338 Use doc-view-buffer-file-name rather than buffer-file-name.
15339 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
15341 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
15343 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
15344 author field is too short.
15346 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
15348 * vc-git.el (vc-git-print-log): Handle a limit argument.
15349 Display the short log in graph form and with labels.
15350 (vc-git-log-view-mode): Handle labels.
15352 Make vc-revert change VC state from 'added to 'unregistered.
15353 * vc-git.el (vc-git-revert): Call git reset first.
15355 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
15357 * net/newst-backend.el, net/newst-plainview.el:
15358 * net/newst-reader.el, net/newst-ticker.el:
15359 * net/newst-treeview.el, net/newsticker.el:
15360 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
15362 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
15364 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
15366 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
15367 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
15368 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
15369 Update annotation regexp.
15371 * simple.el (beginning-of-visual-line): Constrain to field
15372 boundaries (Bug#5106).
15374 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
15376 * xml.el (xml-substitute-numeric-entities):
15377 Move newsticker--decode-numeric-entities in newst-backend.el to
15378 xml-substitute-numeric-entities in xml.el. (Bug#5008)
15379 * net/newst-backend.el (newsticker--parse-generic-feed)
15380 (newsticker--parse-generic-items)
15381 (newsticker--decode-numeric-entities):
15382 Move newsticker--decode-numeric-entities in newst-backend.el to
15383 xml-substitute-numeric-entities in xml.el. (Bug#5008)
15385 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
15387 * progmodes/js.el (js--js-not): Add null to the list of values.
15389 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
15391 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
15393 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15395 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
15396 delimiter if it is at the end of the current line.
15397 (bibtex-generate-url-list): Fix docstring.
15399 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15401 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
15402 minibuffer's content with itself.
15403 Fold the confirm-after-completion case into the `confirm' case.
15404 (completion-pcm-word-delimiters): Add : and / to the delimiters.
15406 2009-12-06 Kevin Ryde <user42@zip.com.au>
15408 * ffap.el (ffap-rfc-path): Make this a defcustom since
15409 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
15411 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
15412 manuals, similar to existing setup for help-mode. (Bug#3913.)
15414 2009-12-05 Juri Linkov <juri@jurta.org>
15416 Save and restore dired buffer's point positions too. (Bug#4880)
15418 * dired.el (dired-save-positions): Return in the first element
15419 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
15421 (dired-restore-positions): First restore buffer's position.
15422 While restoring window's positions, check if window still displays
15423 the original buffer.
15425 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
15427 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
15430 * shell.el (shell): Require ansi-color (Bug#5113).
15432 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
15434 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
15436 2009-12-05 Alan Mackenzie <acm@muc.de>
15438 * progmodes/cc-mode.el (c-before-hack-hook)
15439 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
15440 `c-file-style' to work again. This reversion restores the current
15441 software to its state in Emacs 23.1. (Bug#4146)
15443 2009-12-05 Kevin Ryde <user42@zip.com.au>
15445 * textmodes/sgml-mode.el (sgml-lexical-context):
15446 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
15448 2009-12-05 Juri Linkov <juri@jurta.org>
15450 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
15451 for virtual nodes. (Bug#4147)
15452 (Info-find-node-2): Set `Info-current-node-virtual' to nil
15453 when moving from a virtual node.
15454 (Info-mode-menu): Add `Info-virtual-index' to the menu.
15455 (Info-mode): Add `Info-virtual-index' to the docstring.
15457 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15459 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
15460 track of the buffer position of the end of a BibTeX entry as this
15461 position may change during reformatting.
15462 (bibtex-format-entry): Remove whitespace before processing
15463 numerical fields so that we recognize the latter properly.
15464 (bibtex-reformat): Do not use push which changes the global value
15465 of bibtex-entry-format.
15466 (bibtex-field-braces-alist, bibtex-field-strings-alist)
15467 (bibtex-field-re-init): Replace only space characters by regexp
15469 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
15470 (bibtex-initialize): Also update bibtex-strings.
15471 (bibtex-kill-field): Preserve white space at end of entry.
15472 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
15473 Update bibtex-reference-keys.
15475 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
15477 * minibuffer.el (completion-pcm--merge-try): Also consider placing
15478 point after a star, if that's the only place where modifications can
15481 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
15483 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
15486 2009-12-04 Juri Linkov <juri@jurta.org>
15488 * proced.el (proced): Call `(proced-update t)' to update process
15489 information instead of only running proced-post-display-hook.
15490 (proced-send-signal): Add a leading space to the buffer name
15491 " *Marked Processes*" to make this buffer ephemeral.
15493 2009-12-04 Juri Linkov <juri@jurta.org>
15495 * dired.el (dired-auto-revert-buffer): New defcustom.
15496 (dired-internal-noselect): Use it.
15498 2009-12-04 Juri Linkov <juri@jurta.org>
15500 Change roles of modes and functions in image-mode.el (Bug#5062).
15502 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
15503 in `auto-mode-alist'.
15504 (image-mode-previous-major-mode): New variable.
15505 (image-minor-mode-map): Rename from `image-mode-text-map'.
15506 (image-mode): Move graceful error-handling code from
15507 `image-minor-mode' to here. On errors call `image-mode-as-text'.
15508 (image-minor-mode): Remove all image-handling code.
15509 Replace `image-mode-text-map' with `image-minor-mode-map'.
15510 Check for `image-type' in mode-line format string.
15511 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
15512 (image-mode-as-text): New function with most code from
15513 `image-mode-maybe'.
15514 (image-toggle-display-text): Move code that removes image
15515 properties from `image-toggle-display' to here.
15516 (image-toggle-display-image): New function with code that adds
15517 image properties copied from `image-toggle-display'.
15518 (image-toggle-display): Remove most code with leaving only code
15519 that toggles between `image-mode-as-text' and `image-mode'.
15521 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
15523 * net/newst-treeview.el
15524 (newsticker--treeview-list-highlight-start): Restored call to
15525 save-excursion: Selected item was stuck.
15526 (newsticker--treeview-list-select): New.
15527 (newsticker--treeview-item-show-text)
15528 (newsticker--treeview-item-show)
15529 (newsticker--treeview-item-update): Use new
15530 newsticker-treeview-item-mode.
15531 (newsticker-treeview-update): Keep current item.
15532 (newsticker-treeview-next-new-or-immortal-item): Doc change.
15533 (newsticker--treeview-first-feed): Doc change.
15534 (newsticker-treeview-list-menu)
15535 (newsticker-treeview-item-menu): Add menu entries.
15536 (newsticker-treeview-item-mode): New.
15538 * net/newst-backend.el (newsticker-customize): Delete other
15541 2009-12-04 Sam Steingold <sds@gnu.org>
15543 * log-view.el (log-view-mode-map): "q" calls quit-window,
15544 like in all the other non-self-insert buffers.
15546 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
15549 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
15550 key decoding rather than do it manually via last-input-event +
15552 (term-exec): Use delete-and-extract-region.
15553 (term-handle-ansi-terminal-messages): Remove unused var `end'.
15554 (term-process-pager): Remove unused var `i'.
15555 (term-dynamic-simple-complete): Make obsolete.
15556 (serial-update-config-menu): Remove unused vars `y' and `str'.
15557 (term-update-mode-line): Remove unused var `temp'.
15559 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15561 Limit the number of log entries displayed by default.
15562 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
15563 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
15564 using a prefix argument.
15566 2009-12-03 Glenn Morris <rgm@gnu.org>
15568 * progmodes/idlwave.el (class): Restore still useful declaration.
15570 2009-12-03 Alan Mackenzie <acm@muc.de>
15572 Enhance `c-parse-state' to run efficiently in "brace deserts".
15574 * progmodes/cc-mode.el (c-basic-common-init):
15575 Call c-state-cache-init.
15576 (c-neutralize-syntax-in-and-mark-CPP): Rename from
15577 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
15578 placing `category' properties value 'c-cpp-delimiter at its boundaries.
15580 * progmodes/cc-langs.el (c-before-font-lock-function):
15581 c-extend-and-neutralize-syntax-in-CPP has been renamed
15582 c-neutralize-syntax-in-and-mark-CPP.
15584 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
15585 with `category' properties now, not `syntax-table' ones.
15587 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
15588 enhanced (but slower) version of c-end-of-macro that won't land
15589 inside a literal or on another awkward character.
15590 (c-state-cache-too-far, c-state-cache-start)
15591 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
15592 (c-state-nonlit-pos-cache-limit, c-state-point-min)
15593 (c-state-point-min-lit-type, c-state-point-min-lit-start)
15594 (c-state-min-scan-pos, c-state-brace-pair-desert)
15595 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
15596 buffer local variables.
15597 (c-state-literal-at, c-state-lit-beg)
15598 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
15599 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
15600 (c-state-cache-top-paren, c-state-cache-after-top-paren)
15601 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
15602 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
15603 (c-renarrow-state-cache)
15604 (c-append-lower-brace-pair-to-state-cache)
15605 (c-state-push-any-brace-pair, c-append-to-state-cache)
15606 (c-remove-stale-state-cache)
15607 (c-remove-stale-state-cache-backwards, c-state-cache-init)
15608 (c-invalidate-state-cache-1, c-parse-state-1)
15609 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
15610 (c-parse-state): Enhance and refactor.
15611 (c-debug-parse-state): Amend to deal with all the new variables.
15613 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
15614 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
15615 modify to use category text properties rather than syntax-table ones.
15616 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
15617 to switch off/on the syntactic paren property of C++ template
15618 delimiters using the category property.
15619 (c-with-<->-as-parens-suppressed): Macro to invoke code with
15620 template delims suppressed.
15621 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
15622 New constant/macros which apply category properties to the start
15623 and end of preprocessor constructs.
15624 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
15625 "comment out" the syntactic value of characters in preprocessor
15627 (c-with-cpps-commented-out)
15628 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
15629 with characters in all or all but one preprocessor constructs
15632 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15634 * proced.el (proced-filter-alist): Use regexp-quote.
15636 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
15639 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
15640 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
15641 arguments. Expand `default-directory'.
15643 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
15644 the benefit of returning an expanded localname.
15645 (tramp-tramp-file-p): Handle the case NAME is not a string.
15647 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15649 Add support for bzr shelve/unshelve.
15650 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
15651 (vc-bzr-extra-menu-map): New variables.
15652 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
15653 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
15654 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
15655 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
15656 (vc-bzr-dir-extra-headers): Display shelves.
15658 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
15660 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15662 * textmodes/bibtex.el (bibtex-complete-internal):
15663 Use completion-in-region.
15664 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
15666 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15668 Support applying stashes. Improve UI.
15669 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
15670 (vc-git-stash-apply, vc-git-stash-pop)
15671 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
15672 (vc-git-stash-menu): New functions.
15673 (vc-git-stash-menu-map): New variable.
15674 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
15676 2009-12-03 Glenn Morris <rgm@gnu.org>
15678 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
15679 (vc-print-log-internal): Fix previous change.
15680 (vc-revert): Correct pluralization.
15682 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15684 * progmodes/make-mode.el (makefile-special-targets-list): No need for
15685 it to be an alist any more.
15686 (makefile-complete): Use completion-in-region.
15688 * progmodes/octave-mod.el (octave-complete-symbol):
15689 Use completion-in-region.
15692 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
15693 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
15694 (idlwave-complete-class): Don't quote lambda.
15695 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
15696 (idlwave-mode-map): Move initialization into declaration.
15697 (idlwave-action-and-binding): Use backquotes.
15698 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
15700 (idlwave-is-pointer-dereference): Remove unused var `pos'.
15701 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
15702 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
15703 `parts', and `all-parts'.
15704 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
15705 (idlwave-convert-xml-system-routine-info): Remove unused string
15707 (idlwave-display-user-catalog-widget): Use dolist.
15708 (idlwave-scanning-lib): Declare dynamically-scoped var.
15709 (idlwave-scan-library-catalogs): Remove unused var `flags'.
15710 (completion-highlight-first-word-only): Declare to silence bytecomp.
15711 (idlwave-popup-select): Tighten scope of `resp'.
15712 (idlwave-find-struct-tag): Remove unused var `beg'.
15713 (idlwave-after-load-rinfo-hook): Declare.
15714 (idlwave-sintern-class-info): Remove unused var `taglist'.
15715 (idlwave-find-class-definition): Remove unused var `list'.
15716 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
15717 (idlwave-what-module-find-class): Remove unused var `classes'.
15719 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
15721 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
15723 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15725 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
15726 buffers visited. Remove redundant current-buffer-saving.
15728 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15730 Use completion-in-buffer and remove uses of dynamic scoping.
15731 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
15732 (pascal-buffer-to-use, pascal-flag): Don't declare.
15733 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
15734 (pascal-get-completion-decl, pascal-keyword-completion):
15735 Add `pascal-str' argument, save-excursion,
15736 return the found completions, and don't filter with pascal-pred.
15737 (pascal-completion-cache): New var.
15738 (pascal-completion): Don't switch buffer any more (it was never
15739 necessary). Don't save-excursion any more (it's done by the called
15740 subroutines). Use a cache to avoid redundant computations.
15741 Use complete-with-action rather than pascal-completion-response and
15742 let it apply the predicate as well.
15743 (pascal-complete-word): Use completion-in-buffer when
15744 pascal-toggle-completions is nil.
15745 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
15747 (pascal-comp-defun): Don't change buffer any more.
15748 Use complete-with-action rather than pascal-completion-response and
15749 let it apply the predicate as well.
15750 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
15753 2009-12-02 Kenichi Handa <handa@m17n.org>
15755 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
15756 shape for all Indic scripts.
15758 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15760 Use completion-in-buffer.
15761 * wid-edit.el (widget-field-text-end): New function.
15762 (widget-field-value-get): Use it.
15763 (widget-string-complete, widget-file-complete)
15764 (widget-color-complete): Use it and completion-in-region.
15765 (widget-complete): Don't narrow the buffer.
15767 2009-12-02 Glenn Morris <rgm@gnu.org>
15769 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
15770 (rmail-select-summary): Use rmail-pop-to-buffer.
15771 * mail/rmailsum.el: Replace all pop-to-buffer calls with
15772 rmail-pop-to-buffer, to prevent horizontal splits.
15774 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
15775 save-excursion with save-current-buffer.
15776 Widen before searching. (Bug#5093)
15777 (diary-list-sexp-entries): Remove superfluous save-excursion.
15779 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
15781 * woman.el (woman-make-bufname): Handle man-pages with "." in the
15784 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
15786 * ido.el (ido-file-internal): Handle filenames at point that do
15787 not have a directory part. (Bug#5049)
15789 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
15791 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
15792 (mpc-songs-jump-to, mpc-resume): Doc fixes.
15794 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
15796 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15797 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15800 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15802 * comint.el (comint-insert-input): Ignore clicks to the right of
15803 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15805 * vc.el (vc-print-log-internal): Don't wait for the process to
15806 terminate before setting up the major mode.
15808 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15811 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15814 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15816 2009-12-01 Glenn Morris <rgm@gnu.org>
15818 * window.el (window--display-buffer-2): Fix previous changes.
15820 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
15822 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15824 2009-12-01 Glenn Morris <rgm@gnu.org>
15826 * Makefile.in (ELCFILES): Add mpc.elc.
15828 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15830 * mpc.el: New file.
15832 2009-12-01 Glenn Morris <rgm@gnu.org>
15834 * window.el (window-to-use): Define for compiler.
15836 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15837 consistent with others (no final period).
15839 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15840 (rmail-mime-show): Downcase the encoding. (Bug#5070)
15842 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
15844 Make vc-print-log buttons work.
15845 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15847 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
15849 * savehist.el (savehist-autosave-interval): Allow setting to nil
15850 through customize. (Bug#5056)
15852 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
15854 Fix references to jit-lock properties.
15855 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15856 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15857 (perl-font-lock-special-syntactic-constructs):
15858 Quote jit-lock-defer-multiline property.
15860 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
15862 * vc-git.el (vc-git-registered): Call vc-git-root only once.
15864 2009-11-30 Juri Linkov <juri@jurta.org>
15866 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15867 value `buffer' of `multi-isearch-next-buffer-current-function'.
15868 Use `(current-buffer)' when `buffer' is nil.
15869 (multi-isearch-next-buffer-from-list): Don't fallback to
15870 `(current-buffer)' when `buffer' is nil. (Bug#4947)
15872 2009-11-30 Juri Linkov <juri@jurta.org>
15874 * misearch.el (multi-isearch-read-buffers): Move canonicalization
15875 of buffers with `get-buffer' to `multi-isearch-buffers'.
15876 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15877 Canonicalize BUFFERS with `get-buffer'. Doc fix.
15878 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15879 FILES with `expand-file-name' converting relative file names
15880 to absolute. Doc fix. (Bug#4727)
15882 2009-11-30 Juri Linkov <juri@jurta.org>
15884 * misearch.el (multi-isearch-read-buffers)
15885 (multi-isearch-read-matching-buffers): New functions.
15886 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15887 Use them in the `interactive' spec. Doc fix.
15888 (multi-isearch-read-files, multi-isearch-read-matching-files):
15890 (multi-isearch-files, multi-isearch-files-regexp):
15891 Use them in the `interactive' spec. Doc fix. (Bug#4725)
15893 2009-11-30 Juri Linkov <juri@jurta.org>
15895 * doc-view.el (doc-view-continuous):
15896 Rename from `doc-view-continuous-mode'.
15897 (doc-view-menu): Move "Toggle display" to the top.
15898 Add submenu "Continuous" with radio buttons "Off"/"On"
15899 and "Save as Default".
15900 (doc-view-scroll-up-or-next-page)
15901 (doc-view-scroll-down-or-previous-page)
15902 (doc-view-next-line-or-next-page)
15903 (doc-view-previous-line-or-previous-page):
15904 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
15906 2009-11-30 Juri Linkov <juri@jurta.org>
15908 * comint.el (comint-mode-map): Rebind `M-r' from
15909 `comint-previous-matching-input' to
15910 `comint-history-isearch-backward-regexp'.
15911 Unbind `M-s' to allow global key binding `M-s'.
15912 Add menu items for `comint-history-isearch-backward' and
15913 `comint-history-isearch-backward-regexp'. (Bug#3746)
15915 2009-11-30 Juri Linkov <juri@jurta.org>
15917 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15918 For def=recenter, replace `recenter' with `recenter-top-bottom'
15919 that is called with `this-command' and `last-command' let-bound
15920 to `recenter-top-bottom'. When the last `def' was not `recenter',
15921 set `recenter-last-op' to nil. (Bug#4981)
15923 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
15925 Minor cleanup and simplification.
15926 * filecache.el (file-cache-add-directory)
15927 (file-cache-add-directory-recursively)
15928 (file-cache-add-from-file-cache-buffer)
15929 (file-cache-delete-file-regexp, file-cache-delete-directory)
15930 (file-cache-files-matching-internal, file-cache-display): Use dolist.
15931 (file-cache-temp-minibuffer-message): Delete function.
15932 (file-cache-minibuffer-complete): Use minibuffer-message instead.
15934 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15935 Don't signal an error when bumping into EOB in tr, s, or y.
15937 2009-11-29 Juri Linkov <juri@jurta.org>
15939 * startup.el (fancy-about-text): Fix wording of Guided Tour.
15942 * descr-text.el (describe-char-unidata-list): Use lowercase name
15943 for "Unicode name" like in other tags.
15945 2009-11-29 Juri Linkov <juri@jurta.org>
15947 * ediff-util.el (ediff-minibuffer-with-setup-hook):
15948 New compatibility macro.
15949 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15951 2009-11-29 Juri Linkov <juri@jurta.org>
15953 Add defcustom to define the cycling order of `recenter-top-bottom'.
15956 * window.el (recenter-last-op): Doc fix.
15957 (recenter-positions): New defcustom.
15958 (recenter-top-bottom): Rewrite to use `recenter-positions'.
15959 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15961 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
15963 Improve integration of Tramp and ange-ftp in eshell.
15965 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15966 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
15967 (eshell/sudo): Flatten args. Let-bind `default-directory'.
15969 * eshell/esh-util.el (top): Require also Tramp when compiling.
15970 (eshell-directory-files-and-attributes): Check for FTP remote
15972 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15973 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15974 (eshell-file-attributes): Handle ".". Return `entry'.
15976 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15977 (ange-ftp-directory-files-and-attributes)
15978 (ange-ftp-real-directory-files-and-attributes): New defuns.
15980 * net/tramp.el (tramp-maybe-open-connection): Open the remote
15981 shell with "exec" when possible. This prevents trailing prompts
15982 in `start-file-process'.
15984 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15986 Try and remove assumptions about point-min==1.
15987 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15988 (rng-compute-mode-line-string): Show the validation percentage in
15989 terms of the narrowed text, not the widened text.
15990 (rng-do-some-validation): Don't catch internal errors when debugging.
15991 (rng-first-error): Simplify.
15992 (rng-after-change-function): Remove work around. AFAIK the bug has
15993 been fixed a while ago.
15995 * image-mode.el (image-minor-mode): Exit more gracefully when the image
15996 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15998 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
16000 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
16001 `cd' doesn't always do it for us (bug#5067).
16003 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
16004 on 2009-10-25 as part of some other change (bug#5067).
16006 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
16008 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
16010 (byte-compile-warnings): Use byte-compile-warning-types.
16011 (byte-compile-save-excursion): Warn about use of set-buffer right
16012 after save-excursion.
16014 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
16015 the excursion as well.
16017 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
16019 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
16020 providing a Tramp related implementation of "su" and "sudo".
16021 (eshell-unix-initialize): Add "su" and "sudo".
16023 2009-11-27 Daiki Ueno <ueno@unixuser.org>
16025 * net/socks.el (socks-send-command): Convert binary request to
16026 unibyte before sending. This fixes mishandling of some port
16027 numbers such as 129.
16029 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
16031 * help.el (describe-bindings-internal): Remove `interactive'.
16033 * man.el (Man-completion-table): Trim a terminating "(".
16034 Remove the space between name page a section.
16035 Add the command's description on the `help-echo' property.
16036 Remove `process-connection-type' binding since it's unused by
16038 Provide completion for the "<section> <name>" format as well.
16039 (Man-default-man-entry): Remove spurious var shadowing the argument.
16041 2009-11-26 Kevin Ryde <user42@zip.com.au>
16043 * log-view.el: Add "Keywords: tools", since its other keywords
16044 aren't in finder-known-keywords, and following vc.el.
16046 * sha1.el (sha1-string-external): default-directory "/" in case
16047 otherwise non-existent. process-connection-type pipe for touch of
16048 efficiency recommended by elisp manual. (An aside in Bug#3911.)
16050 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
16052 Misc coding convention cleanups.
16053 * htmlfontify.el (hfy-init-kludge-hook): Rename from
16054 hfy-init-kludge-hooks.
16055 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
16056 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
16057 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
16059 (hfy-slant, hfy-weight): Use tables rather than code.
16060 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
16061 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
16062 (hfy-face-attr-for-class): Initialize `face-spec' directly.
16063 (hfy-face-to-css): Remove `nconc' with single arg.
16064 (hfy-p-to-face-lennart): Use `or'.
16065 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
16066 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
16067 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
16068 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
16069 (hfy-force-fontification): Use run-hooks.
16071 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
16073 Various minor fixes.
16074 * htmlfontify.el (hfy-default-header): Add toggle_invis since
16075 Javascript belongs in the header, not the body.
16076 (hfy-javascript): Remove.
16077 (hfy-fontify-buffer): Don't insert it any more.
16078 (hfy-face-at): Handle (face0 face1 face2) style face properties.
16079 Fix bug in invis handling when there were no invis props in a chunk.
16081 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
16083 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
16085 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
16087 * finder.el (finder-mode-map): Add a menu.
16089 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
16091 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
16092 "unsigned" structs.
16094 (verilog-leap-to-head, verilog-backward-token): Handle "disable
16095 fork" statement better.
16097 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
16099 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
16100 (verilog-delete-auto, verilog-delete-empty-auto-pair)
16101 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
16102 Reported by Clay Douglass.
16104 (verilog-auto-inst, verilog-auto-star-safe)
16105 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
16106 Fix removing "// Interfaces" when saving .* expansions.
16107 Reported by Pierre-David Pfister.
16109 2009-11-26 Glenn Morris <rgm@gnu.org>
16111 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
16114 2009-11-25 Johan Bockgård <bojohan@gnu.org>
16116 * vc-annotate.el (vc-annotate-revision-previous-to-line):
16117 Really use previous revision.
16119 2009-11-25 Kevin Ryde <user42@zip.com.au>
16121 * man.el (Man-completion-table): default-directory "/" in case
16122 doesn't otherwise exist. process-environment COLUMNS=999 so as
16123 not to truncate long names. process-connection-type pipe to avoid
16124 any chance of hitting the pseudo-tty TIOCGWINSZ.
16125 (man): completion-ignore-case t for friendliness and since man
16126 itself is case-insensitive on the command line.
16127 Further to Bug#3717.
16129 * arc-mode.el: Add "Keywords: files", so the details in its
16130 commentary can be reached from finder-by-keyword.
16131 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
16132 editing mode, but it's comms related and sgml-mode.el has "comm"
16134 * textmodes/bibtex-style.el: Add "Keywords: tex".
16135 * international/isearch-x.el, international/ja-dic-cnv.el:
16136 * international/ja-dic-utl.el, international/kkc.el:
16137 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
16139 2009-11-25 Juri Linkov <juri@jurta.org>
16141 * man.el (Man-completion-table): Modify regexp to include
16142 section names to completion strings. (Bug#3717)
16144 2009-11-25 Juri Linkov <juri@jurta.org>
16146 Search recursively in gzipped files. (Bug#4982)
16148 * progmodes/grep.el (grep-highlight-matches): Add new options
16149 `always' and `auto'. Doc fix.
16150 (grep-process-setup): Check `grep-highlight-matches' for
16151 `auto-detect' to determine the need to compute grep defaults.
16152 Move Windows/DOS specific --colors settings handling
16153 to `grep-compute-defaults'. Check `grep-highlight-matches'
16154 to get the value of "--color=".
16155 (grep-compute-defaults): Compute `grep-highlight-matches' when it
16156 has the value `auto-detect'. Move Windows/DOS specific settings
16157 from `grep-process-setup'.
16158 (zrgrep): New command with alias `rzgrep'.
16160 2009-11-25 Juri Linkov <juri@jurta.org>
16162 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
16163 to nil instead of switching off view-mode. (Bug#4896)
16165 2009-11-25 Juri Linkov <juri@jurta.org>
16167 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
16169 * mwheel.el (mwheel-scroll-up-function)
16170 (mwheel-scroll-down-function): New defvars.
16171 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
16172 `scroll-up', and `mwheel-scroll-down-function' instead of
16175 * doc-view.el (doc-view-scroll-up-or-next-page)
16176 (doc-view-scroll-down-or-previous-page): Add optional ARG.
16177 Use this ARG in the call to image-scroll-up/image-scroll-down.
16178 Change `interactive' spec to "P". Goto next/previous page only
16179 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
16180 SPC/DEL case). Doc fix.
16181 (doc-view-next-line-or-next-page)
16182 (doc-view-previous-line-or-previous-page): Rename arg to ARG
16184 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
16185 `doc-view-scroll-up-or-next-page', and buffer-local
16186 `mwheel-scroll-down-function' to
16187 `doc-view-scroll-down-or-previous-page'.
16189 2009-11-25 Juri Linkov <juri@jurta.org>
16191 Provide additional default values (directories at other Dired
16192 windows) via M-n in the minibuffer of some Dired commands.
16194 * dired-aux.el (dired-diff, dired-compare-directories)
16195 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
16196 `minibuffer-default' in `minibuffer-with-setup-hook'.
16197 (dired-dwim-target-directory): Find a window that displays Dired
16198 buffer instead of failing when the next window is not Dired.
16199 Use `get-window-with-predicate' to find for the next Dired window.
16200 (dired-dwim-target-defaults): New function.
16202 * ediff-util.el (ediff-read-file-name):
16203 Use `dired-dwim-target-defaults' to set `minibuffer-default'
16204 in `minibuffer-with-setup-hook'.
16206 2009-11-25 Juri Linkov <juri@jurta.org>
16208 Provide additional default values (file name at point or at the
16209 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
16211 * minibuffer.el (read-file-name-defaults): New function.
16212 (read-file-name): Reset `minibuffer-default' to nil when
16213 it duplicates initial input `insdef'.
16214 Bind `minibuffer-default-add-function' to lambda that
16215 calls `read-file-name-defaults' in `minibuffer-selected-window'.
16216 (minibuffer-insert-file-name-at-point): New command.
16218 * files.el (file-name-at-point-functions): New defcustom.
16219 (find-file-default): Remove defvar.
16220 (find-file-read-args): Don't use `find-file-default'.
16221 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
16222 to `read-file-name'.
16223 (find-file-literally): Use `read-file-name' with
16224 `confirm-nonexistent-file-or-buffer'.
16226 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
16228 * dired.el (dired-read-dir-and-switches):
16229 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
16230 to `read-file-name'.
16231 (dired-file-name-at-point): New function.
16232 (dired-mode): Add hook `dired-file-name-at-point' to
16233 `file-name-at-point-functions'.
16235 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
16237 Really make the *Completions* window soft-dedicated (bug#5030).
16238 * window.el (window--display-buffer-2): Add `dedicated' argument.
16239 (display-buffer): Pass it when needed so the dedicated flag is set
16240 after calling set-window-buffer, which would otherwise reset it.
16242 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
16244 * progmodes/meta-mode.el (meta-complete-symbol):
16245 * progmodes/etags.el (complete-tag):
16246 * mail/mailabbrev.el (mail-abbrev-complete-alias):
16247 Use completion-in-region.
16249 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
16250 (dabbrev-completion): Use completion-in-region.
16251 (dabbrev--abbrev-at-point): Simplify regexp.
16253 * abbrev.el (abbrev--before-point): Use word-motion functions
16254 if :regexp is not specified (bug#5031).
16256 * subr.el (string-prefix-p): New function.
16258 * man.el (Man-completion-cache): New var.
16259 (Man-completion-table): Use it.
16261 * vc.el (vc-print-log-internal): Make `limit' optional for better
16262 compatibility (e.g. with vc-annotate.el).
16264 2009-11-24 Kevin Ryde <user42@zip.com.au>
16266 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
16267 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
16269 * emacs-lisp/elint.el (elint-add-required-env): Better error message
16270 when .el source file not found or other error.
16272 2009-11-24 Markus Triska <markus.triska@gmx.at>
16274 * linum.el (linum-update-window): Ignore intangible (bug#4996).
16276 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
16278 Handle the [back] button properly (bug#4979).
16279 * descr-text.el (describe-text-properties): Add a `buffer' argument.
16280 Use help-setup-xref, help-buffer, and with-help-window.
16281 (describe-char): Add `buffer' argument.
16282 Pass proper command to help-setup-xref. Don't meddle with
16283 help-xref-stack-item directly.
16284 (describe-text-category): Use with-help-window and help-buffer.
16286 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
16287 for the displayed buffer (bug#4887).
16289 * man.el (Man-completion-table): New function.
16292 2009-11-24 David Reitter <david.reitter@gmail.com>
16294 * vc-git.el (vc-git-registered): Use checkout directory (where
16295 .git is) rather than the file's directory and a relative path spec
16296 to work around a bug in git.
16298 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
16300 Improve handling of processes on remote hosts.
16302 * eshell/esh-util.el (eshell-path-env): New defvar.
16303 (eshell-parse-colon-path): New defun.
16304 (eshell-file-attributes): Use `eshell-parse-colon-path'.
16306 * eshell/esh-ext.el (eshell-search-path):
16307 Use `eshell-parse-colon-path'.
16308 (eshell-remote-command): Remove argument HANDLER.
16309 (eshell-external-command): Check for FTP remote connection.
16311 * eshell/esh-proc.el (eshell-gather-process-output):
16312 Use `file-truename', in order to start also symlinked files.
16313 Apply `start-file-process' instead of `start-process'.
16314 Shorten `command' to the local file name part.
16316 * eshell/em-cmpl.el (eshell-complete-commands-list):
16317 Use `eshell-parse-colon-path'.
16319 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
16321 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
16322 to `eshell-directory-change-hook'.
16324 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
16326 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
16327 because it could be enabled automatically if view-read-only is non-nil.
16329 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
16331 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
16332 made on 2009-11-22.
16334 2009-11-24 Glenn Morris <rgm@gnu.org>
16336 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
16337 deleted variable bookmark-bmenu-bookmark-column.
16339 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
16341 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
16343 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
16345 * net/browse-url.el (browse-url-filename-alist): On Windows, add
16346 two slashes to the "file:" prefix.
16347 (browse-url-file-url): De-munge Cygwin filenames before passing
16348 them to Windows browser.
16349 (browse-url-default-windows-browser): Use call-process.
16351 2009-11-23 Juri Linkov <juri@jurta.org>
16353 Implement DocView Continuous mode. (Bug#4896)
16354 * doc-view.el (doc-view-continuous-mode): New defcustom.
16355 (doc-view-mode-map): Bind C-n/<down> to
16356 `doc-view-next-line-or-next-page', C-p/<up> to
16357 `doc-view-previous-line-or-previous-page'.
16358 (doc-view-next-line-or-next-page)
16359 (doc-view-previous-line-or-previous-page): New commands.
16361 2009-11-23 Juri Linkov <juri@jurta.org>
16363 Implement Isearch in comint input history. (Bug#3746)
16364 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
16365 `isearch-mode-hook'.
16366 (comint-history-isearch): New defcustom.
16367 (comint-history-isearch-backward)
16368 (comint-history-isearch-backward-regexp): New commands.
16369 (comint-history-isearch-message-overlay): New buffer-local variable.
16370 (comint-history-isearch-setup, comint-history-isearch-end)
16371 (comint-goto-input, comint-history-isearch-search)
16372 (comint-history-isearch-message, comint-history-isearch-wrap)
16373 (comint-history-isearch-push-state)
16374 (comint-history-isearch-pop-state): New functions.
16376 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
16378 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
16380 (tramp-handle-make-symbolic-link)
16381 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
16383 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
16384 (tramp-handle-process-file): Use it.
16386 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
16388 * window.el (move-to-window-line-last-op): Remove.
16389 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
16391 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
16393 Make M-r mirror the new cycling behavior of C-l.
16394 * window.el (move-to-window-line-last-op): New var.
16395 (move-to-window-line-top-bottom): New command.
16396 (global-map): Bind M-r move-to-window-line-top-bottom.
16398 2009-11-23 Sven Joachim <svenjoac@gmx.de>
16400 * dired-x.el (dired-guess-shell-alist-default):
16401 Support xz format. (Bug#4953)
16403 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
16405 * emulation/viper-cmd.el: Use viper-last-command-char instead of
16406 last-command-char/last-command-event.
16407 (viper-prefix-arg-value): Do correct conversion of event-char for
16410 * emulation/viper-util.el, emulation/viper.el:
16411 Use viper-last-command-char instead of
16412 last-command-char/last-command-event.
16414 * ediff-init.el, ediff-mult.el, ediff-util.el:
16415 Replace last-command-char and last-command-event
16416 with (ediff-last-command-char) everywhere.
16418 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
16419 created in fundamental mode.
16421 * ediff.el (ediff-version): Revert the change of interactive-p to
16422 called-interactively-p.
16424 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
16426 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
16427 generation from word-movement command names.
16429 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
16431 * cus-start.el (all): Add native condition for font-use-system-font.
16433 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
16435 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
16436 Correct the patch from 2009-11-18. (Bug#3910)
16438 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
16440 * progmodes/subword.el: Rename from lisp/subword.el.
16442 * subword.el: Rename to progmodes/subword.el.
16444 * Makefile.in (ELCFILES): Adapt to subword.el move.
16446 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16447 Stefan Monnier <monnier@iro.umontreal.ca>
16449 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
16450 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
16451 (bookmark-bmenu-show-filenames): Use push.
16452 (bookmark-bmenu-hide-filenames): Use local var instead of
16453 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
16454 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
16455 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
16456 filenames now that the bookmark names are always available.
16458 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16460 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
16461 (bookmark-search-pattern): Move and leave unbound.
16462 (bookmark-bmenu-mode-map): Change binding.
16463 (bookmark-read-search-input): Simplify.
16464 Don't use text-char-description. Don't error on non-char events.
16465 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
16466 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
16467 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
16468 Use a local var for the timer.
16469 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
16470 (i.e. bookmark-bmenu-search).
16472 2009-11-21 Glenn Morris <rgm@gnu.org>
16474 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
16476 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
16478 * net/browse-url.el (browse-url-default-windows-browser):
16479 Use cygstart for cygwin.
16481 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
16483 * bookmark.el: Formatting and doc fixes only:
16484 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
16485 (bookmark-bmenu-search): Wrap to fit within 80 columns.
16486 Minor grammar and punctuation fixes in doc string.
16487 (bookmark-read-search-input): Adjust to fit within 80 columns.
16489 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16491 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
16492 (c-backward-into-nomenclature): Adapt to subword renaming.
16494 * subword.el (subword-forward, subword-backward, subword-mark)
16495 (subword-kill, subword-backward-kill, subword-transpose)
16496 (subword-downcase, subword-upcase, subword-capitalize)
16497 (subword-forward-internal, subword-backward-internal):
16498 Rename from forward-subword, backward-subword, mark-subword,
16499 kill-subword, backward-kill-subword, transpose-subwords,
16500 downcase-subword, upcase-subword, capitalize-subword,
16501 forward-subword-internal, backward-subword-internal.
16503 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16505 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
16507 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
16509 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
16510 (bookmark-bmenu-filter-alist-by-regexp)
16511 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
16512 (bookmark-bmenu-search): New command.
16513 (bookmark-bmenu-mode-map): Bind it.
16515 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16517 * progmodes/cc-cmds.el: declare-functioned forward-subword and
16518 backward-subword to quit the byte-compiler.
16520 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
16522 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
16524 * progmodes/cc-cmds.el (c-update-modeline)
16525 (c-forward-into-nomenclature, c-backward-into-nomenclature):
16526 Refer to subword.el functions instead of cc-subword.el.
16528 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
16529 subword.el functions instead of cc-subword.el.
16531 * progmodes/cc-subword.el: Rename to subword.el.
16532 * subword.el: Rename from progmodes/cc-subword.el.
16533 (subword-mode-map): Rename from c-subword-mode-map.
16534 (subword-mode): Rename from c-subword-mode.
16535 (global-subword-mode): New global minor mode.
16536 (forward-subword): Rename from c-forward-subword.
16537 (backward-subword): Rename from c-backward-subword.
16538 (mark-subword): Rename from c-mark-subword.
16539 (kill-subword): Rename from c-kill-subword.
16540 (backward-kill-subword): Rename from c-backward-kill-subword.
16541 (transpose-subwords): Rename from c-tranpose-subword.
16542 (downcase-subword): Rename from c-downcase-subword.
16543 (capitalize-subword): Rename from c-capitalize-subword.
16544 (forward-subword-internal): Rename from c-forward-subword-internal.
16545 (backward-subword-internal): Rename from c-backward-subword-internal.
16547 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
16549 * vc.el (vc-deduce-fileset): Allow non-state changing operations
16550 from a dired buffer.
16551 (vc-dired-deduce-fileset): New function.
16552 (vc-root-diff, vc-print-root-log): Use it.
16554 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
16555 nil LIMIT argument to vc-print-log-internal.
16557 2009-11-20 Glenn Morris <rgm@gnu.org>
16559 * Makefile.in (ELCFILES): Regenerate.
16561 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
16563 * calc/calc.el (calc-set-mode-line):
16564 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16565 (math-format-number): Rename `math-format-complement-signed' to
16566 `math-format-twos-complement'.
16568 * calc/calc-bin.el (math-format-twos-complement): Rename from
16569 math-format-complement-signed.
16570 (calc-radix): Rename `calc-complement-signed-mode' to
16571 `calc-twos-complement-mode'.
16572 (calc-octal-radix, calc-hex-radix): Add an argument for
16575 * calc/calc-embed.el (calc-embedded-mode-vars):
16576 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16578 * calc/calc-ext.el (calc-init-extensions):
16579 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16580 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
16582 * calc/calc-units.el (math-build-units-table-buffer):
16583 Let `calc-twos-complement-mode' be nil.
16585 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
16588 * calc/calc-vec.el (calcFunc-vunpack):
16589 * calc/calc-aent.el (calc-do-calc-eval):
16590 * calc/calc-forms.el (math-format-date):
16591 * calc/calc-graph.el (calc-graph-plot):
16592 * calc/calc-math.el (math-use-emacs-fn):
16593 * calc/calccomp.el (math-compose-expr):
16594 Let `calc-twos-complement-mode' be nil.
16596 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16598 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
16599 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
16600 * minibuffer.el (completion-in-region-functions): New hook.
16601 (completion-in-region): New function.
16602 * emacs-lisp/lisp.el (lisp-complete-symbol):
16603 * pcomplete.el (pcomplete-std-complete): Use it.
16605 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16607 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
16608 (latex-complete-alist): New vars.
16609 (latex-string-prefix-p, latex-complete-bibtex-keys)
16610 (latex-complete-envnames, latex-complete-refkeys)
16611 (latex-complete-data): New functions.
16612 (latex-complete, latex-indent-or-complete): New commands.
16614 * window.el (display-buffer-mark-dedicated): New var.
16615 (display-buffer): Obey it.
16616 * minibuffer.el (minibuffer-completion-help): Use it.
16618 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
16620 * filecache.el (file-cache-add-file): Use push and cons.
16621 (file-cache-delete-file-regexp): Use push.
16622 (file-cache-complete): Use completion-in-region.
16624 * simple.el (with-wrapper-hook): Fix thinko.
16626 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
16627 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
16628 Use with-current-buffer and string-to-number.
16629 (hfy-fallback-colour-values): Use assoc-string.
16630 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
16631 (hfy-face-at): Remove unused var `found-face'.
16632 (hfy-compile-stylesheet): Remove unused var `css'.
16633 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
16635 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
16636 Use with-current-buffer.
16637 (hfy-text-p): Use expand-file-name and fewer setq.
16639 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
16641 * htmlfontify.el, hfy-cmap.el: New files.
16643 2009-11-19 Juri Linkov <juri@jurta.org>
16645 * minibuffer.el (completions-format): New defcustom.
16646 (completion--insert-strings): Implement vertical format.
16648 * simple.el (switch-to-completions): Move point to the first
16649 completion when point was at the beginning of the buffer.
16651 2009-11-19 Juri Linkov <juri@jurta.org>
16653 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
16655 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
16657 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
16659 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
16660 (mail-signature): Change default to t.
16661 (mail-from-style): Deprecate `system-default' value.
16662 (mail-insert-from-field): For default value of mail-from-style,
16663 default to `angles' unless `angles' needs quoting and `parens'
16665 (mail-citation-prefix-regexp): Use citation regexp from
16668 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
16670 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
16671 Set variables for computing the prompt for reading password.
16673 2009-11-19 Glenn Morris <rgm@gnu.org>
16675 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
16677 * textmodes/flyspell.el (sgml-lexical-context): Declare.
16679 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
16680 (newsticker-treeview-listwindow-height): Fix custom type.
16682 2009-11-19 Kenichi Handa <handa@m17n.org>
16684 * descr-text.el (describe-char-padded-string): Compose with TAB
16685 only if there's a font for CH.
16686 (describe-char): Fix the condition for detecting a trivial composition.
16688 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
16690 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
16691 more accurate version of the regexp. (Bug#3910)
16693 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16695 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
16697 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
16699 * font-setting.el (font-use-system-font): Declare for byte-compiler.
16700 (font-setting-change-default-font): Fix typo in docstring.
16702 2009-11-18 Alan Mackenzie <acm@muc.de>
16704 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
16706 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16708 * font-setting.el (font-use-system-font): Move ...
16710 * cus-start.el (all): ... to here.
16712 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
16714 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
16715 Don't set `ad-return-value' if `ad-do-it' doesn't.
16717 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
16720 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16722 * menu-bar.el: Put "Use system font" in Option-menu.
16723 (menu-bar-options-save): Add font-use-system-font.
16725 * loadup.el: If feature system-font-setting or font-render-setting is
16726 there, load font-setting.
16728 * Makefile.in (ELCFILES): Add font-settings.el.
16729 * font-setting.el: New file.
16731 2009-11-17 Glenn Morris <rgm@gnu.org>
16733 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
16735 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
16736 Preserve point in the list buffer. (Bug#4939)
16738 (newsticker--treeview-list-update-highlight)
16739 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
16741 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16743 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
16746 * calc/calc-ext.el (calc-init-extensions): Remove references to
16749 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
16751 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
16752 * calc/calc-help.el (calc-b-prefix-help): Remove references to
16755 2009-11-16 Kevin Ryde <user42@zip.com.au>
16757 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16758 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
16760 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
16761 (lm-keywords-list): Allow comma-only separator like "foo,bar".
16762 Ignore trailing spaces by omit-nulls to split-string (fixing
16763 regression from Emacs 21 due to the incompatible split-string
16764 change). (Bug #4928.)
16766 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
16768 * vc.el (vc-log-show-limit): Default to 2000.
16769 (vc-print-log-internal): Insert buttons to request more entries
16770 when limiting the output.
16772 * vc-sccs.el (vc-sccs-print-log):
16773 * vc-rcs.el (vc-rcs-print-log):
16774 * vc-cvs.el (vc-cvs-print-log):
16775 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
16778 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16780 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
16781 error when `tramp-gvfs-dbus-event-vector' is set.
16782 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
16784 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16786 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
16788 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16790 * net/dbus.el (dbus-unregister-service): New defun.
16791 (dbus-register-property): Register the handlers of
16792 "org.freedesktop.DBus.Properties" for SERVICE.
16793 (dbus-property-handler): Fix docstring.
16795 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16797 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16798 Quote doc string reference in defvaralias as it is not in special form.
16799 (byte-compile-output-docform): Doc fix.
16801 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16803 * calc/calc.el (math-2-word-size, math-half-2-word-size)
16804 (calc-complement-signed-mode): New variables.
16805 (calc-set-mode-line): Add indicator for twos-complements.
16806 (math-format-number): Format twos-complement notation.
16808 * calc/calc-bin.el (calc-word-size): Reset the variables
16809 `math-2-word-size' and `math-half-2-word-size'.
16810 (math-format-complement-signed, math-symclip, calcFunc-symclip)
16811 (calc-symclip): New functions.
16813 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16815 * calc/calc-embed.el (calc-embedded-mode-vars):
16816 Add `calc-complement-signed-mode' to the list of modes.
16818 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16819 (calc-b-oper-keys): Add `calc-symclip' to list.
16821 * calc/calc-ext.el (math-read-number-fancy): Read complement
16823 (calc-init-extensions): Add binding for `calc-symclip'.
16824 Add autoload for `calcFunc-symclip' and `calc-symclip'.
16826 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16828 (calc-modes-menu): Add item for twos complement mode.
16830 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16832 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16834 * register.el (jump-to-register, insert-register): Handle Semantic
16835 tags. From commented-out advice in semantic/senator.el.
16837 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
16839 * vc.el (vc-log-show-limit): New variable.
16840 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
16841 when using a prefix argument.
16842 (vc-print-log-internal): Add new argument LIMIT.
16844 * vc-svn.el (vc-svn-print-log):
16845 * vc-mtn.el (vc-mtn-print-log):
16846 * vc-hg.el (vc-hg-print-log):
16847 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16848 pass it to the log command when set. Make the BUFFER argument
16851 * vc-sccs.el (vc-sccs-print-log):
16852 * vc-rcs.el (vc-rcs-print-log):
16853 * vc-git.el (vc-git-print-log):
16854 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16855 ignore it. Make the BUFFER argument non-optional.
16857 * bindings.el (mode-line-buffer-identification): Do not purecopy.
16859 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16861 * dired.el (dired-mode-map): Move encryption items to "Operate"
16864 * strokes.el (strokes-update-window-configuration): Make strokes
16865 buffer current before erasing (Bug#4906).
16867 2009-11-15 Juri Linkov <juri@jurta.org>
16869 * simple.el (set-mark-default-inactive): Add :type, :group
16870 and :version. (Bug#4876)
16872 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
16874 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16875 (archive-unique-fname): ... here. (Bug#4929)
16877 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
16879 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16882 * novice.el (disabled-command-function): Add useful args.
16883 Setup the help buffer so that [back] works.
16884 Remove redundant call to help-mode.
16885 (disabled-command-function): Use `case'.
16886 (en/disable-command): New function extracted from enable-command.
16887 (enable-command, disable-command): Use it.
16889 2009-11-14 Glenn Morris <rgm@gnu.org>
16891 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16892 constants. (Bug#4913)
16894 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16896 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
16898 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16899 defined in C that have no doc-strings. (Bug#1063)
16901 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
16903 * cus-edit.el (data, files):
16904 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
16906 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
16908 * simple.el (shell-command): Doc fix (Bug#4891).
16910 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16912 2009-11-14 Glenn Morris <rgm@gnu.org>
16914 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16915 statements for vc-diff, emerge-quit, and rmail-cease-edit.
16916 If they are already loaded, eval-after-load will do the right thing.
16918 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16921 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16923 * simple.el (x-selection-owner-p): Declare.
16924 (read-mail-command): Use custom radio type rather than choice.
16925 (completion-no-auto-exit): Doc fix.
16927 * custom.el (defgroup):
16928 * epg-config.el (epg): Doc fixes.
16930 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
16932 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16933 * international/ccl.el (define-ccl-program): Do not purecopy the
16934 docstring, defconst does it anyway.
16936 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16938 * add-log.el (add-change-log-entry): Avoid displaying the changelog
16941 * x-dnd.el (x-dnd-maybe-call-test-function):
16942 * window.el (split-window-vertically):
16943 * whitespace.el (whitespace-help-on):
16944 * vc-rcs.el (vc-rcs-consult-headers):
16945 * userlock.el (ask-user-about-lock-help)
16946 (ask-user-about-supersession-help):
16947 * type-break.el (type-break-force-mode-line-update):
16948 * time-stamp.el (time-stamp-conv-warn):
16949 * terminal.el (te-set-output-log, te-more-break, te-filter)
16950 (te-sentinel, terminal-emulator):
16951 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16952 (term-write-input-ring, term-check-source, term-start-output-log):
16953 (term-display-buffer-line, term-dynamic-list-completions):
16954 (term-ansi-make-term, serial-term):
16955 * subr.el (selective-display):
16956 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16957 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16958 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16959 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16960 (speedbar-remove-localized-speedbar-support)
16961 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16962 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16963 (speedbar-buffers-line-directory):
16964 * simple.el (shell-command-on-region, append-to-buffer)
16965 (prepend-to-buffer):
16966 * shadowfile.el (shadow-save-todo-file):
16967 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16968 (scroll-bar-maybe-set-window-start):
16969 * sb-image.el (speedbar-image-dump):
16970 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16971 (load-save-place-alist-from-file):
16972 * ps-samp.el (ps-print-message-from-summary):
16973 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16974 (ps-background-image, ps-begin-job, ps-do-despool):
16975 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16976 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16977 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16978 (pr-call-process, pr-file-list, pr-interface-save):
16979 * novice.el (disabled-command-function)
16980 (enable-command, disable-command):
16981 * mouse.el (mouse-buffer-menu-alist):
16982 * mouse-copy.el (mouse-kill-preserving-secondary):
16983 * macros.el (kbd-macro-query):
16984 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16985 * informat.el (batch-info-validate):
16986 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16987 * hippie-exp.el (try-expand-dabbrev-visible):
16988 * help-mode.el (help-make-xrefs):
16989 * help-fns.el (describe-variable):
16990 * generic-x.el (bat-generic-mode-run-as-comint):
16991 * finder.el (finder-mouse-select):
16992 * find-dired.el (find-dired-sentinel):
16993 * filesets.el (filesets-file-close):
16994 * files.el (list-directory):
16995 * faces.el (list-faces-display, describe-face):
16996 * facemenu.el (list-colors-display):
16997 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16998 * epg.el (epg--process-filter, epg-cancel):
16999 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
17000 (epa--read-signature-type):
17001 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
17002 (emerge-file-names):
17003 * ehelp.el (electric-helpify):
17004 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
17005 * ediff-vers.el (rcs-ediff-view-revision):
17006 * ediff-util.el (ediff-setup):
17007 * ediff-mult.el (ediff-append-custom-diff):
17008 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
17010 * echistory.el (Electric-command-history-redo-expression):
17011 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
17012 * disp-table.el (describe-display-table):
17013 * dired.el (dired-find-buffer-nocreate):
17014 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
17015 * dabbrev.el (dabbrev--same-major-mode-p):
17016 * chistory.el (list-command-history):
17017 * apropos.el (apropos-documentation):
17018 * allout.el (allout-obtain-passphrase):
17019 (allout-copy-exposed-to-buffer):
17020 (allout-verify-passphrase): Use with-current-buffer.
17022 2009-11-13 Glenn Morris <rgm@gnu.org>
17024 * Makefile.in (ELCFILES): Regenerate.
17026 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
17028 * net/dbus.el (dbus-registered-objects-table): Rename from
17029 `dbus-registered-functions-table', because it contains also properties.
17030 (dbus-unregister-object): Unregister also properties.
17031 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
17032 Use a timeout of 500 msec, in order to not block.
17033 (dbus-register-property, dbus-property-handler): New defuns.
17035 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
17037 * simple.el (minibuffer-default-add-completions): Drop deprecated
17040 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
17042 * textmodes/artist.el (artist-mouse-choose-operation):
17043 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
17044 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
17045 (artist-compute-up-event-key): New function.
17046 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
17048 2009-11-13 Kenichi Handa <handa@m17n.org>
17050 * language/japan-util.el: Make sure that the value of jisx0208
17051 property is jisx0208 character.
17053 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
17055 * international/mule.el (auto-coding-regexp-alist): Only purecopy
17056 car or each item, not the whole list.
17058 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
17060 * minibuffer.el (minibuffer-completion-help):
17061 Use minibuffer-hide-completions.
17063 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
17065 * dired.el (dired-save-positions, dired-restore-positions): New funs.
17066 (dired-revert): Use them (bug#4880).
17068 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
17070 * tooltip.el (tooltip-frame-parameters): Undo previous change.
17072 2009-11-12 Juri Linkov <juri@jurta.org>
17074 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
17076 (find-file-literally-at-point): Alias of `ffap-literally'.
17078 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
17080 * textmodes/ispell.el (ispell-skip-region-alist):
17081 * textmodes/css-mode.el (auto-mode-alist):
17082 * progmodes/compile.el (auto-mode-alist):
17083 * international/mule.el (ctext-non-standard-encodings-alist)
17084 (ctext-non-standard-encodings-regexp):
17085 * simple.el (shell-command-switch, text-read-only):
17086 * replace.el (occur-mode-map):
17087 * paths.el (rmail-file-name):
17088 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
17089 * find-file.el (ff-special-constructs):
17090 * files.el (file-name-handler-alist):
17091 * composite.el: Purecopy strings.
17093 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
17095 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
17097 * widget.el (define-widget): Purecopy the docstring.
17098 * international/mule-cmds.el (charset): Do not purecopy the
17099 docstring here, define-widget does it.
17101 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
17102 * textmodes/bibtex-style.el (auto-mode-alist):
17103 * progmodes/inf-lisp.el (inferior-lisp-prompt):
17104 * progmodes/compile.el (compile-command):
17105 * language/korea-util.el (default-korean-keyboard):
17106 * international/mule-conf.el (file-coding-system-alist):
17107 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
17108 * tooltip.el (tooltip-frame-parameters):
17109 * newcomment.el (comment-end, comment-padding):
17110 * dired.el (dired-trivial-filenames):
17111 * comint.el (comint-file-name-prefix): Purecopy initial values.
17113 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
17115 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
17116 (tramp-advice-minibuffer-electric-tilde): Unload advices via
17118 (tramp-advice-make-auto-save-file-name)
17119 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
17120 after removing the advice.
17122 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
17124 * progmodes/grep.el (grep-regexp-alist):
17125 * international/mule-cmds.el (iso-2022-control-alist):
17126 * emacs-lisp/timer.el (timer-duration-words):
17127 * subr.el (version-separator, version-regexp-alist):
17128 * minibuffer.el (completion-styles-alist):
17129 * faces.el (face-attribute-name-alist, list-faces-sample-text):
17130 Change defvars to defconsts.
17132 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
17133 * loadup.el ("international/mule-conf"): Load the byte compiled version.
17134 * international/mule-conf.el: Allow to be byte compiled.
17136 * international/mule.el (define-charset): Purecopy props.
17137 (load-with-code-conversion): Purecopy doc string and file name.
17138 (put-charset-property): Purecopy strings.
17139 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
17141 * international/mule-cmds.el (register-input-method): Purecopy arguments.
17142 (define-char-code-property): Correctly purecopy the table.
17144 * international/ccl.el (define-ccl-program): Purecopy the docstring.
17146 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
17148 * subr.el (add-hook): Purecopy strings.
17149 (eval-after-load): Purecopy load-history-regexp and the form.
17151 * custom.el (custom-declare-group): Purecopy load-file-name.
17153 * subr.el (menu-bar-separator): New defconst.
17154 * net/eudc.el (eudc-tools-menu):
17155 * international/mule-cmds.el (set-coding-system-map)
17156 (mule-menu-keymap):
17157 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17158 * vc-hooks.el (vc-menu-map):
17159 * replace.el (occur-mode-map):
17160 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
17161 (menu-bar-edit-menu, menu-bar-goto-menu)
17162 (menu-bar-custom-menu, menu-bar-showhide-menu)
17163 (menu-bar-options-menu, menu-bar-tools-menu)
17164 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
17165 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
17166 (menu-bar-help-menu):
17167 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
17168 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
17170 * term/x-win.el (x-gtk-stock-map):
17171 * progmodes/vera-mode.el (auto-mode-alist):
17172 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
17173 (inferior-lisp-program, inferior-lisp-load-command):
17174 * progmodes/hideshow.el (hs-special-modes-alist):
17175 * progmodes/gud.el (same-window-regexps):
17176 * progmodes/grep.el (grep-program, find-program, xargs-program):
17177 * net/telnet.el (same-window-regexps):
17178 * net/rlogin.el (same-window-regexps):
17179 * language/ethiopic.el (font-ccl-encoder-alist):
17180 * vc-sccs.el (vc-sccs-master-templates):
17181 * vc-rcs.el (vc-rcs-master-templates):
17182 * subr.el (cl-assertion-failed):
17183 * simple.el (next-error-overlay-arrow-position):
17184 * lpr.el (lpr-command):
17185 * locate.el (locate-ls-subdir-switches):
17186 * info.el (same-window-regexps, info)
17187 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
17188 * image-mode.el (image-mode, auto-mode-alist):
17189 * hippie-exp.el (hippie-expand-ignore-buffers):
17190 * format.el (format-alist):
17191 * find-dired.el (find-ls-subdir-switches, find-grep-options)
17193 * facemenu.el (facemenu-keybindings):
17194 * dired.el (dired-listing-switches, dired-chown-program):
17195 * diff.el (diff-switches, diff-command):
17196 * cus-edit.el (same-window-regexps):
17197 * bindings.el (mode-line-mule-info)
17198 (mode-line-buffer-identification): Purecopy strings.
17200 2009-11-11 Juri Linkov <juri@jurta.org>
17202 * simple.el (dired-get-filename) <declare-function>:
17203 Tell the byte-compiler about dired-get-filename.
17204 (shell-command): In Dired mode, get filename from the current line
17205 as the default value.
17207 2009-11-10 Glenn Morris <rgm@gnu.org>
17209 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
17210 * calendar/holidays.el, progmodes/cperl-mode.el:
17211 Update x-popup-menu declarations.
17213 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
17214 (list-load-path-shadows): Use dolist.
17215 (list-load-path-shadows): Use with-current-buffer.
17217 2009-11-10 Juri Linkov <juri@jurta.org>
17219 * minibuffer.el (read-file-name): Support a list of default values
17220 in `default-filename'. Use the first file name where only one
17221 element is required. Doc fix.
17223 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
17225 * net/dbus.el (dbus-unregister-object): Release service, if no
17226 other method is registered for it.
17228 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
17230 * bookmark.el (bookmark-completing-read): Sort bookmark names if
17231 bookmark-sort-flag is non-nil (Bug#4653).
17233 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
17235 * emulation/cua-base.el: Add CUA property to some CC mode commands
17238 2009-11-08 Kevin Ryde <user42@zip.com.au>
17240 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
17241 at end of sentence (Bug#4818).
17243 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
17245 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17246 Handle "see declaration of" MSFT statements (Bug#4100).
17248 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
17250 * net/tramp.el (tramp-advice-make-auto-save-file-name)
17251 (tramp-advice-file-expand-wildcards): Unload via
17252 `ad-remove-advice'.
17254 * net/trampver.el: Update release number.
17256 2009-11-08 Kevin Ryde <user42@zip.com.au>
17258 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
17261 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
17263 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
17264 in order to keep context in SELinux.
17266 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
17268 * dired-aux.el (dired-query): Place cursor in echo area and allow
17271 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
17272 menu item if not on a directory (Bug#4701).
17274 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
17276 Sync with Tramp 2.1.17.
17278 * net/tramp.el (tramp-handle-copy-directory): Don't use
17279 `file-remote-p' (due to compatibility).
17281 * net/tramp-compat.el (tramp-compat-copy-directory)
17282 (tramp-compat-delete-directory): New defuns.
17284 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17285 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17286 Use `tramp-compat-delete-directory'.
17288 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
17289 (tramp-smb-handle-delete-directory):
17290 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
17292 * net/trampver.el: Update release number.
17294 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
17296 * tar-mode.el (tar-copy): Call write-region on the right buffer
17299 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
17300 by hand, if necessary (Bug#4878).
17302 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
17304 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
17305 align size column (Bug#4839).
17307 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
17310 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
17312 * progmodes/ld-script.el (auto-mode-alist):
17313 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
17315 * cus-face.el (custom-declare-face): Purecopy face spec.
17317 2009-11-06 Kenichi Handa <handa@m17n.org>
17319 * international/uni-bidi.el: Re-generated.
17320 * international/uni-category.el: Re-generated.
17321 * international/uni-combining.el: Re-generated.
17322 * international/uni-mirrored.el: Re-generated.
17324 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
17326 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
17327 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
17328 (tex-start-options, slitex-run-command, latex-run-command)
17329 (tex-run-command, tex-directory):
17330 * textmodes/ispell.el (ispell-html-skip-alists)
17331 (ispell-tex-skip-alists, ispell-tex-skip-alists):
17332 * textmodes/fill.el (adaptive-fill-first-line-regexp):
17333 (adaptive-fill-regexp):
17334 * textmodes/dns-mode.el (auto-mode-alist):
17335 * progmodes/python.el (interpreter-mode-alist):
17336 * progmodes/etags.el (tags-compression-info-list):
17337 * progmodes/etags.el (tags-file-name):
17338 * net/browse-url.el (browse-url-galeon-program)
17339 (browse-url-firefox-program):
17340 * mail/sendmail.el (mail-signature-file)
17341 (mail-citation-prefix-regexp):
17342 * international/mule-conf.el (eight-bit):
17343 * international/latexenc.el (latex-inputenc-coding-alist):
17344 * international/fontset.el (x-pixel-size-width-font-regexp):
17345 * emacs-lisp/warnings.el (warning-type-format):
17346 * emacs-lisp/trace.el (trace-buffer):
17347 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
17348 (emacs-lisp-mode-map):
17349 * calendar/holidays.el (holiday-solar-holidays)
17350 (holiday-bahai-holidays, holiday-islamic-holidays)
17351 (holiday-christian-holidays, holiday-hebrew-holidays)
17352 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
17353 (hebrew-holidays-1, holiday-oriental-holidays)
17354 (holiday-general-holidays):
17355 * x-dnd.el (x-dnd-known-types):
17356 * tool-bar.el (tool-bar):
17357 * startup.el (site-run-file):
17358 * shell.el (shell-dumb-shell-regexp):
17359 * rfn-eshadow.el (file-name-shadow-tty-properties)
17360 (file-name-shadow-properties):
17361 * paths.el (remote-shell-program, news-directory):
17362 * mouse.el ([C-down-mouse-3]):
17363 * menu-bar.el (menu-bar-tools-menu):
17364 * jka-cmpr-hook.el (jka-compr-load-suffixes)
17365 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
17366 (jka-compr-compression-info-list):
17367 * isearch.el (search-whitespace-regexp):
17368 * image-file.el (image-file-name-extensions):
17369 * find-dired.el (find-ls-option):
17370 * files.el (directory-listing-before-filename-regexp)
17371 (directory-free-space-args, insert-directory-program)
17372 (list-directory-brief-switches, magic-fallback-mode-alist)
17373 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
17374 (automount-dir-prefix):
17375 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
17376 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
17377 (face-font-registry-alternatives, face-font-registry-alternatives)
17378 (face-font-family-alternatives):
17379 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
17380 (facemenu-foreground-menu, facemenu-face-menu):
17381 * epa-hook.el (epa-file-name-regexp):
17382 * dnd.el (dnd-protocol-alist):
17383 * textmodes/rst.el (auto-mode-alist):
17384 * button.el (default-button): Purecopy strings.
17386 2009-11-06 Glenn Morris <rgm@gnu.org>
17388 * Makefile.in (ELCFILES): Update.
17390 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
17392 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
17393 * emacs-lisp/levents.el: Move to obsolete/levents.el.
17395 * nxml/xsd-regexp.el (xsdre-gen-categories):
17396 * nxml/xmltok.el (xmltok-parse-entity):
17397 * nxml/rng-parse.el (rng-parse-validate-file):
17398 * nxml/rng-maint.el (rng-format-manual)
17399 (rng-manual-output-force-new-line):
17400 * nxml/rng-loc.el (rng-save-schema-location-1):
17401 * nxml/rng-cmpct.el (rng-c-parse-file):
17402 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
17403 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
17405 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
17407 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
17408 Remove extra save-excursions and make-variable-buffer-local's.
17409 Suggested by Stefan Monnier.
17411 (verilog-getopt-file, verilog-module-inside-filename-p)
17412 (verilog-set-define): Merge GNU 1.35 and repair changes from
17413 switching to using with-current-buffer.
17415 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
17416 being treated as a number and confusing AUTORESET.
17417 Reported by Dan Dever.
17419 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
17420 Add verilog-auto-ignore-concat to fix backward compatibility with
17421 older verilog-modes. Reported by Dan Katz.
17423 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
17424 containing closing anchors "...$".
17426 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
17427 Reported by Wade Smith.
17429 (verilog-batch-execute-func): Comment on function usage.
17431 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
17433 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
17436 (verilog-label-re, verilog-calc-1): Support proper indent of named
17439 (verilog-backward-token, verilog-basic-complete-re)
17440 (verilog-beg-of-statement, verilog-indent-re): Support proper
17441 indent of the assert statement at the beginning of a block of text.
17443 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
17444 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
17447 2009-11-05 Glenn Morris <rgm@gnu.org>
17449 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
17450 Emacs 19. (Bug#1531)
17451 (byte-compile-fix-header): Update for the above change.
17452 Drop test for epoch::version.
17454 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
17455 * cus-dep.el (custom-make-dependencies):
17456 * finder.el (finder-compile-keywords):
17457 Use autoload-rubric's feature argument.
17459 * calendar/diary-lib.el (top-level): Make load behave more like require.
17461 * vc-git.el (vc-git-stash-map): Move definition before use.
17463 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
17465 * custom.el (custom-declare-group): Purecopy standard-value.
17466 (custom-declare-group): Purecopy custom-prefix.
17468 * international/mule.el (load-with-code-conversion):
17469 Call do-after-load-evaluation unconditionally.
17471 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
17473 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
17475 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
17477 2009-11-04 Glenn Morris <rgm@gnu.org>
17479 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
17480 (byte-compile-compatibility): Remove option.
17481 (byte-compile-close-variables, byte-compile-fix-header)
17482 (byte-compile-insert-header, byte-compile-output-docform)
17483 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
17484 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
17485 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
17486 (byte-compile-insert, byte-compile-defun):
17487 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
17488 (byte-defop-compiler19): Remove.
17489 Without byte-compile-compatibility, the 'emacs19-opcode property is not
17490 used by anything. Replace all calls with byte-defop-compiler.
17492 2009-11-04 Juri Linkov <juri@jurta.org>
17494 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
17495 (menu-bar-options-menu): Don't quote the `prop' arg of
17496 `menu-bar-make-mm-toggle'.
17498 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
17500 * calendar/calendar.el (cal-loaddefs):
17501 * calendar/diary-lib.el (diary-loaddefs):
17502 * calendar/holidays.el (hol-loaddefs):
17503 * eshell/esh-module.el (esh-groups): Load rather than require.
17505 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17507 * calendar/todo-mode.el (todo-add-category): Don't hardcode
17509 (todo-top-priorities): Only display-buffer when called interactively.
17510 (todo-item-start): Don't save excursion point.
17511 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
17512 (todo-insert-item-here, todo-file-item, todo-remove-item):
17513 Adjust uses of todo-item-start and todo-item-end.
17515 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
17516 (autoload-rubric): Don't use any more.
17518 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
17519 and only put a prop if it is non-nil.
17521 2009-11-03 Juri Linkov <juri@jurta.org>
17523 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
17524 (menu-bar-options-menu): Fix list quoting (Bug#4429).
17526 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
17527 and "Menu" to make top-level menu item visually one unit (like
17528 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
17529 multi-word menu items). Fix :help string for quit-window.
17531 2009-11-03 Glenn Morris <rgm@gnu.org>
17533 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
17534 (byte-compile-file-form-define-abbrev-table)
17535 (byte-compile-file-form-custom-declare-variable)
17536 (byte-compile-variable-ref, byte-compile-defvar):
17537 Whether or not a warning is enabled should only affect whether we issue
17538 the warning, not whether or not we collect the relevant data.
17539 Eg warnings can be turned on and off throughout the course of a file.
17541 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
17542 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
17544 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17546 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
17547 * play/mpuz.el (mpuz-create-buffer):
17548 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
17549 (lm-print-y,s,noise, lm-print-w0, lm-init):
17550 * play/gomoku.el (gomoku-prompt-for-move):
17551 * play/fortune.el (fortune-in-buffer):
17552 * play/dissociate.el (dissociated-press):
17553 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
17554 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
17555 * mail/supercite.el (sc-eref-show):
17556 * mail/smtpmail.el (smtpmail-send-it):
17557 * mail/rmailsum.el (rmail-summary-next-labeled-message)
17558 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
17559 (rmail-summary-undelete-many, rmail-summary-rmail-update)
17560 (rmail-summary-goto-msg, rmail-summary-expunge)
17561 (rmail-summary-get-new-mail, rmail-summary-search-backward)
17562 (rmail-summary-add-label, rmail-summary-output-menu)
17563 (rmail-summary-output-body):
17564 * mail/rfc822.el (rfc822-addresses):
17565 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
17566 * mail/mailpost.el (post-mail-send-it):
17567 * mail/hashcash.el (hashcash-generate-payment):
17568 * mail/feedmail.el (feedmail-run-the-queue)
17569 (feedmail-queue-send-edit-prompt-help-first)
17570 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
17571 (feedmail-deduce-address-list):
17572 * eshell/esh-ext.el (eshell-remote-command):
17573 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
17574 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
17575 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
17576 (viper-save-string-in-file, viper-valid-marker):
17577 * emulation/viper-keym.el (viper-toggle-key):
17578 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
17579 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
17580 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
17581 * emulation/viper-cmd.el (viper-exec-form-in-vi)
17582 (viper-exec-form-in-emacs, viper-brac-function):
17583 * emulation/viper.el (viper-delocalize-var):
17584 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
17585 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
17586 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
17587 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
17588 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
17589 * emulation/edt.el (edt-electric-helpify):
17590 * emulation/cua-rect.el (cua--rectangle-aux-replace):
17591 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
17592 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
17593 (cua-indent-to-global-mark-column):
17594 * calendar/diary-lib.el (calendar-mark-1):
17595 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
17596 Use with-current-buffer.
17597 * emulation/viper.el (viper-delocalize-var): Use dolist.
17599 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
17601 * comint.el (comint-replace-by-expanded-history-before-point):
17602 Replace !! with the previous input string literally (Bug#1795).
17604 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
17606 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
17607 to be made up of whitespace.
17609 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
17611 * minibuffer.el (read-file-name): Don't use file dialogs for
17612 remote directories (Bug#99).
17614 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
17616 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
17618 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
17620 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
17621 instead of deleting the window or frame.
17623 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17625 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
17626 Support face colors.
17628 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
17629 New function. Support face colors (Bug#1168).
17630 (tex-common-initialization): Use it.
17632 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
17633 mode allows it (Bug#1168).
17635 2009-10-31 Juri Linkov <juri@jurta.org>
17637 * facemenu.el (list-colors-display): Don't mark buffer as
17638 modified (Bug#3948).
17640 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17642 * international/mule-diag.el (list-character-sets-1):
17643 Minor message fix (Bug#3526).
17645 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
17646 Fix face property (Bug#4834).
17647 (etags-list-tags, etags-tags-apropos-additional)
17648 (etags-tags-apropos, tags-select-tags-table): Add follow-link
17651 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
17654 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
17656 * textmodes/two-column.el (2C-split):
17657 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
17658 * textmodes/tex-mode.el (tex-set-buffer-directory):
17659 * textmodes/spell.el (spell-region, spell-string):
17660 * textmodes/reftex.el (reftex-erase-buffer):
17661 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
17662 * textmodes/reftex-toc.el (reftex-toc-promote-action):
17663 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
17664 (reftex-select-item):
17665 * textmodes/reftex-ref.el (reftex-label-info-update)
17666 (reftex-offer-label-menu):
17667 * textmodes/reftex-index.el (reftex-index-change-entry)
17668 (reftex-index-phrases-info):
17669 * textmodes/reftex-global.el (reftex-create-tags-file)
17670 (reftex-save-all-document-buffers, reftex-ensure-write-access):
17671 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
17672 (reftex-view-crossref-from-bibtex):
17673 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
17674 (reftex-extract-bib-entries-from-thebibliography)
17675 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
17676 * textmodes/refbib.el (r2b-capitalize-title):
17677 (r2b-convert-buffer, r2b-help):
17678 * textmodes/page-ext.el (pages-directory)
17679 (pages-directory-goto-with-mouse):
17680 * textmodes/bibtex.el (bibtex-validate-globally):
17681 * textmodes/bib-mode.el (bib-capitalize-title):
17682 * textmodes/artist.el (artist-clear-buffer, artist-system):
17683 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
17684 (local-set-scheme-interaction-buffer, xscheme-process-filter)
17685 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
17686 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
17687 (xscheme-send-control-g-interrupt, xscheme-start-process)
17688 (xscheme-process-sentinel, xscheme-cd):
17689 * progmodes/verilog-mode.el (verilog-read-always-signals)
17690 (verilog-set-define, verilog-getopt-file)
17691 (verilog-module-inside-filename-p):
17692 * progmodes/sh-script.el:
17693 * progmodes/python.el (python-pdbtrack-get-source-buffer)
17694 (python-pdbtrack-grub-for-buffer, python-execute-file):
17695 * progmodes/octave-inf.el (inferior-octave):
17696 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
17697 (idlwave-shell-compile-helper-routines, idlwave-set-local)
17698 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
17699 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
17700 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
17701 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
17702 (idlwave-shell-filter, idlwave-shell-examine-highlight)
17703 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
17704 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
17705 (idlwave-shell-examine-display, idlwave-shell-run-region)
17706 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
17707 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
17708 * progmodes/idlw-help.el (idlwave-help-get-special-help)
17709 (idlwave-help-get-help-buffer):
17710 * progmodes/gud.el (gud-basic-call, gud-find-class)
17711 (gud-tooltip-activate-mouse-motions-if-enabled):
17712 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
17713 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
17714 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
17715 (ebrowse-tags-next-file):
17716 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
17717 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
17718 (ebnf-eps-finish-and-write):
17719 * progmodes/cpp.el (cpp-edit-save):
17720 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
17721 * progmodes/cc-defs.el (c-emacs-features):
17722 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
17723 (antlr-directory-dependencies):
17724 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
17725 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
17726 (ada-find-any-references, ada-make-filename-from-adaname)
17727 (ada-make-body-gnatstub):
17728 * obsolete/rnews.el (news-list-news-groups):
17729 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
17730 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
17731 * net/rcirc.el (rcirc-debug):
17732 * net/newst-treeview.el (newsticker--treeview-list-add-item)
17733 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
17734 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
17735 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
17736 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
17737 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
17738 (newsticker--treeview-list-clear-highlight)
17739 (newsticker--treeview-list-update-highlight)
17740 (newsticker--treeview-list-highlight-start)
17741 (newsticker--treeview-tree-update-highlight)
17742 (newsticker--treeview-get-selected-item)
17743 (newsticker-treeview-mark-list-items-old)
17744 (newsticker--treeview-set-current-node):
17745 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
17746 * net/newst-backend.el (newsticker--get-news-by-funcall)
17747 (newsticker--get-news-by-wget, newsticker--image-get)
17748 (newsticker--image-sentinel):
17749 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
17750 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
17751 (eudc-ph-close-session):
17752 * net/eudc.el (eudc-save-options):
17753 * language/thai-word.el (thai-update-word-table):
17754 * language/japan-util.el (japanese-string-conversion):
17755 * international/titdic-cnv.el (tsang-quick-converter)
17756 (ziranma-converter, ctlau-converter):
17757 * international/mule-cmds.el (describe-language-environment):
17758 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
17759 (skkdic-convert-postfix, skkdic-convert-prefix):
17760 (skkdic-convert-okuri-nasi, skkdic-convert):
17761 * emacs-lisp/re-builder.el (reb-update-overlays):
17762 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
17763 * emacs-lisp/gulp.el (gulp-send-requests):
17764 * emacs-lisp/find-gc.el (trace-call-tree):
17765 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
17766 (eieio-describe-generic):
17767 * emacs-lisp/eieio-base.el (eieio-persistent-read):
17768 * emacs-lisp/edebug.el (edebug-outside-excursion):
17769 * emacs-lisp/debug.el (debugger-make-xrefs):
17770 * emacs-lisp/cust-print.el (custom-prin1-to-string):
17771 * emacs-lisp/chart.el (chart-new-buffer):
17772 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
17773 Use with-current-buffer.
17774 * textmodes/artist.el (artist-system): Don't call
17775 copy-sequence on a fresh string.
17776 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
17778 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
17780 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
17781 is no item to edit. (Bug#4820)
17782 (todo-top-priorities): Restore point and restore narrowing in Todo
17785 2009-10-31 Glenn Morris <rgm@gnu.org>
17787 * net/ange-ftp.el (top-level): Don't require dired when compiling.
17788 (comint-last-output-start, comint-last-input-start)
17789 (comint-last-input-end): Don't defvar when compiling.
17790 (ange-ftp-process-file): Use bound-and-true-p.
17792 * pcmpl-rpm.el (top-level): Move provide statement to end.
17793 (pcmpl-rpm): Remove unused custom group.
17795 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17797 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17799 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17800 (byte-compile-warnings): Add `constants' as an option.
17801 (byte-compile-callargs-warn, byte-compile-arglist-warn)
17802 (display-call-tree): Update for byte-compile-fdefinition possibly
17803 returning `(macro lambda ...)'. (Bug#4778)
17804 (byte-compile-variable-ref, byte-compile-setq-default):
17805 Respect `constants' member of byte-compile-warnings.
17807 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17809 * vc-bzr.el (vc-bzr-revision-keywords): New var.
17810 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17813 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
17815 * textmodes/ispell.el (ispell-skip-region-alist):
17816 * international/mule-conf.el (eight-bit):
17817 * international/fontset.el (font-encoding-alist):
17818 * startup.el (pure-space-overflow-message):
17819 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17820 * paths.el (gnus-nntp-service, rmail-spool-directory)
17821 (term-file-prefix):
17822 * files.el (save-some-buffers-action-alist):
17823 * cmuscheme.el (same-window-buffer-names):
17824 * ielm.el (same-window-buffer-names):
17825 * shell.el (same-window-buffer-names):
17826 * mail/sendmail.el (same-window-buffer-names):
17827 * progmodes/inf-lisp.el (same-window-buffer-names):
17828 * bindings.el (mode-line-client)
17829 (mode-line-column-line-number-mode-map):
17830 * language/tibetan.el (tibetan-precomposition-rule-regexp)
17831 (tibetan-precomposed-regexp): Purecopy string arguments.
17833 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17835 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17836 (calcDigit-nondigit):
17837 * calc/calc-yank.el (calc-copy-to-buffer):
17838 * calc/calc-units.el (calc-invalidate-units-table):
17839 * calc/calc-trail.el (calc-trail-yank):
17840 * calc/calc-store.el (calc-insert-variables):
17841 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17842 * calc/calc-prog.el (calc-read-parse-table):
17843 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17844 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17845 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17846 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17847 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17848 (calc-graph-name, calc-graph-find-command, calc-graph-view)
17849 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17850 * calc/calc-ext.el (calc-realign):
17851 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17852 (calc-embedded-finish-edit, calc-embedded-make-info)
17853 (calc-embedded-finish-command, calc-embedded-stack-change):
17854 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17856 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17857 shell-dynamic-complete-filename in preference to
17858 comint-dynamic-complete-filename.
17860 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17861 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17862 Don't consider whether the display supports colors.
17863 (bookmark-import-new-list): Use dolist.
17864 (bookmark-bmenu-mode-map): Move initialization into declaration.
17865 (bookmark-bmenu-list): Use dolist, simplify.
17866 (bookmark-show-all-annotations): Use save-selected-window and dolist.
17867 (menu-bar-final-items): Use push.
17869 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
17871 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17872 it works on remote files.
17873 (vc-hg-diff): Don't pass any `--cwd' argument.
17875 2009-10-27 Kevin Ryde <user42@zip.com.au>
17877 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17878 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17879 (Further to Bug#3921).
17881 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
17883 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17884 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17885 calling `tramp-imap-put-file'. Add file size to the call.
17886 (tramp-imap-get-file-entries): Compute also user name, file size,
17888 (tramp-imap-handle-insert-directory): Insert uid and gid.
17889 (tramp-imap-handle-file-attributes): Transform uid and gid
17890 according to `id-format'.
17891 (tramp-imap-put-file): New optional parameter SIZE. Encode file
17892 size in header X-Size.
17894 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
17896 * simple.el (transpose-subr): Give clearer error when the mark
17897 is not set. (Bug#4807)
17899 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
17901 * net/tramp.el (tramp-perl-file-truename): New defconst.
17902 Perl code contributed by yary <not.com@gmail.com> (tiny change).
17903 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17904 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17905 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17907 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17908 Ignore `dired-call-process'.
17909 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17911 2009-10-26 Julian Scheid <julians37@gmail.com>
17913 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17914 (tramp-get-remote-readlink): New defun.
17915 (tramp-handle-file-truename): Use it.
17916 (tramp-handle-file-exists-p): Check file-attributes cache, assume
17917 file exists if cache value present.
17918 (tramp-check-cached-permissions): New defun.
17919 (tramp-handle-file-readable-p): Use it.
17920 (tramp-handle-file-writable-p): Likewise.
17921 (tramp-handle-file-executable-p): Likewise.
17922 (tramp-handle-file-name-all-completions): Try using Perl to get
17923 partial completions. When perl not available, combine `cd' and
17924 `ls' into single remote operation and use shell expansion to get
17925 partial remote directory contents. Set `file-exists-p' cache for
17926 directory and any files returned by ls. Change cache handling to
17927 support partial directory contents. Use error message emitted by
17928 remote `cd' or Perl code for local tramp-error.
17929 (tramp-do-copy-or-rename-file-directly): Avoid separate
17930 tramp-send-command-and-check call.
17931 (tramp-handle-process-file): Merge three remote ops into one.
17932 Do not flush all caches when `process-file-side-effects' is set.
17933 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17934 file-attributes shows uid/gid to be set already.
17936 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
17938 * textmodes/tex-mode.el (tex-dvi-view-command)
17939 (tex-show-queue-command, tex-open-quote):
17940 * progmodes/ruby-mode.el (auto-mode-alist)
17941 (interpreter-mode-alist): Purecopy strings.
17943 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17945 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17946 string for the hook, keymap and abbrev table.
17948 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17950 * x-dnd.el (x-dnd-xdnd-to-action):
17951 * startup.el (fancy-startup-text, fancy-about-text): Change to
17952 defconst from defvar.
17954 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17956 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17957 Purecopy initialization strings.
17959 * mail/sendmail.el (mail-header-separator)
17960 (mail-personal-alias-file):
17961 * mail/rmail.el (rmail-default-dont-reply-to-names)
17962 (rmail-ignored-headers, rmail-retry-ignored-headers)
17963 (rmail-highlighted-headers, rmail-secondary-file-directory)
17964 (rmail-secondary-file-regexp):
17965 * files.el (null-device, file-name-invalid-regexp)
17966 (locate-dominating-stop-dir-regexp)
17967 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17968 (interpreter-mode-alist): Use mapcar instead of mapc.
17970 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17972 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17973 (completion-ignored-extensions):
17974 (debug-ignored-errors): Purecopy strings.
17976 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17978 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17979 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17980 (pcomplete--here): Use push.
17982 * subr.el (all-completions): Declare the 4th arg obsolete.
17984 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17986 * pcomplete.el (pcomplete-unquote-argument-function): New var.
17987 (pcomplete-unquote-argument): New function.
17988 (pcomplete--common-suffix): Always pay attention to case.
17989 (pcomplete--table-subvert): Quote and unquote the text.
17990 (pcomplete--common-quoted-suffix): New function.
17991 (pcomplete-std-complete): Use it and pcomplete-begin.
17993 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17994 we're inside a dedicated or minibuffer window.
17996 2009-10-24 Karl Fogel <kfogel@red-bean.com>
17998 * bookmark.el: Update documentation, especially documentation
17999 of `bookmark-alist' and of the bookmark file format.
18000 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
18002 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
18004 * mail/emacsbug.el (report-emacs-bug): Clarify that the
18005 keybindings apply to the mail buffer (Bug#4003). Shrink help
18008 * whitespace.el (whitespace-mode, whitespace-newline-mode)
18009 (global-whitespace-mode, global-whitespace-newline-mode)
18010 (whitespace-toggle-options, global-whitespace-toggle-options):
18011 Doc fix (Bug#3660).
18013 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
18014 of xmltok-start before the end tag was inserted (Bug#2840).
18016 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
18017 patterns that are preceded by an open-paren (Bug#1320).
18019 2009-10-24 Sven Joachim <svenjoac@gmx.de>
18021 * files.el (delete-directory): Delete symlinks to directories with
18022 delete-file (Bug#4739).
18024 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
18026 * vc.el (vc-backend-for-registration): Rename from
18027 vc-get-backend-for-registration. Update callers.
18029 * international/mule-cmds.el (set-language-info-alist):
18031 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
18032 (charset): Purecopy the name.
18033 (define-char-code-property): Purecopy string arguments.
18035 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18036 Purecopy string arguments.
18038 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
18039 * ediff-hook.el (menu-bar-ediff-menu):
18040 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
18041 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
18043 2009-10-24 Glenn Morris <rgm@gnu.org>
18045 * comint.el (comint-dynamic-list-completions):
18046 * term.el (term-dynamic-list-completions): Use choose-completion rather
18047 than obsolete alias mouse-choose-completion.
18049 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
18050 file-cache-choose-completion.
18051 (file-cache-choose-completion): Handle an optional event argument.
18052 (file-cache-mouse-choose-completion): Make it an obsolete alias.
18054 * progmodes/octave-mod.el (octave-complete-symbol):
18055 Use choose-completion if mouse-choose-completion is ever removed.
18057 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
18060 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
18063 * vc-hooks.el (vc-responsible-backend): Fix declaration.
18065 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
18067 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
18068 Ignore `pred' now that we receive one.
18069 Handle test-completion specially.
18071 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
18073 * vc.el (vc-responsible-backend): Throw an error if not backend is
18074 found. Remove the REGISTER argument. Move the code dealing with
18076 (vc-get-backend-for-registration): ... here. New function.
18077 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
18078 of vc-responsible-backend, pass the file name instead of the
18081 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
18083 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
18085 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
18086 (pcomplete-comint-setup): Don't modify a global var via
18087 accidental side-effects.
18088 (pcomplete-shell-setup): Adjust call accordingly.
18089 (pcomplete-parse-comint-arguments): Use push.
18091 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
18093 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
18094 Allow uncapitalized info node names (Bug#3921).
18096 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
18097 to the DEBUG file (Bug#3781).
18099 2009-10-23 Jari Aalto <jari.aalto@cante.net>
18101 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
18102 dictionary entry (Bug#4579).
18104 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
18106 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
18107 from `rfn-eshadow-update-overlay-hook' when unloading.
18108 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
18109 "rsyncc". Adjust doc string.
18110 (tramp-temp-buffer-file-name): New buffer-local defvar.
18111 (tramp-handle-insert-file-contents, tramp-handle-write-region):
18112 Keep temporary file when indicated by method ("rsync" and
18114 (tramp-handle-write-region): Handle APPEND.
18115 (tramp-delete-temp-file-function): New defun. Added to
18116 `kill-buffer-hook'.
18118 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
18120 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
18122 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
18124 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
18125 (color-name-rgb-alist, tty-standard-colors)
18126 (tty-color-mode-alist): Change to defconst.
18128 * simple.el (mark-inactive): Purecopy message.
18130 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
18131 (global-map, yank-menu):
18132 * textmodes/ispell.el (ispell-menu-map):
18133 * net/eudc.el (eudc-tools-menu):
18134 * international/mule-cmds.el (describe-language-environment-map)
18135 (setup-language-environment-map, set-coding-system-map)
18136 (mule-menu-keymap):
18137 * vc-hooks.el (vc-menu-entry, vc-menu-map):
18138 * replace.el (occur-mode-map):
18139 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
18141 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
18143 * calc/calc.el (math-read-number, math-read-number-simple):
18144 Use `save-match-data'.
18146 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
18148 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
18149 rather than fiddling with global-map bindings, since it should only
18150 affect per-terminal settings.
18151 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
18153 * minibuffer.el (completion-table-with-terminator): Allow to specify
18154 the terminator-regexp.
18156 * simple.el (switch-to-completions): Look for *Completions* in other
18159 * pcomplete.el: Allow the use of completion-tables.
18160 (pcomplete-std-complete): New command.
18161 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
18162 (pcomplete--here): Use a function for `form' rather than an expression,
18163 so it can be byte-compiled.
18164 (pcomplete-here, pcomplete-here*): Adjust accordingly.
18165 Add edebug declaration.
18166 (pcomplete-show-completions): Remove unused var `curbuf'.
18167 (pcomplete-do-complete, pcomplete-stub):
18168 Don't assume `completions' is a list of strings any more.
18170 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
18172 * find-dired.el (find-name-arg): Fix typo in docstring.
18174 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
18176 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
18177 (pcmpl-linux-fs-types): Same, and update to new modules layout.
18179 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
18182 * comint.el (comint-read-input-ring, comint-write-input-ring)
18183 (comint-substitute-in-file-name)
18184 (comint-dynamic-complete-as-filename)
18185 (comint-dynamic-simple-complete)
18186 (comint-dynamic-list-filename-completions)
18187 (comint-dynamic-list-completions)
18188 (comint-redirect-results-list-from-process): Minor simplifications.
18190 2009-10-21 Kevin Ryde <user42@zip.com.au>
18192 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
18193 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
18194 the first form. And insert a blank line after ";;; Code" since
18195 that's usual style. (Bug#4612)
18197 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
18199 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
18201 * minibuffer.el (completion-table-with-terminator): Properly implement
18202 boundaries, in case `terminator' appears in the suffix.
18203 (completion--embedded-envvar-table): Don't return boundaries if
18204 there's no valid completion. Simplify.
18205 (completion-file-name-table): New completion table extracted from
18206 completion--file-name-table.
18207 (completion--file-name-table): Use it.
18208 (read-file-name-predicate): Declare obsolete.
18209 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
18210 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
18211 completion-file-name-table, and use the `pred' argument.
18212 * files.el (locate-file-completion-table): Use the `pred' arg rather
18213 than read-file-name-predicate.
18214 (abbreviate-file-name): Use \` rather than ^ for BOS.
18216 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
18218 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
18219 vc-responsible-backend to register, it causes problems.
18221 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
18223 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
18225 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
18227 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
18228 (tramp-smb-handle-file-attributes): Use it.
18229 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
18230 (tramp-smb-handle-insert-directory): Use `mapc' rather than
18231 `mapcar'. Use `tramp-smb-get-stat-capability'.
18232 Add `dired-filename' text properties.
18233 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
18234 (tramp-smb-maybe-open-connection): Simplify check for smbclient
18237 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
18239 * subr.el (read-key-delay): Reduce to 0.01.
18240 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
18243 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
18245 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
18247 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
18248 (Info-menu): Remove unused vars `last' and `completions'.
18249 (Info-index-nodes): Remove unused var `node'.
18251 * info.el (Info-complete-menu-item): Use complete-with-action.
18253 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
18255 Make vc-annotate work through copies and renames.
18256 * vc-annotate.el (vc-annotate-extract-revision-at-line):
18257 Return the file name too.
18258 (vc-annotate-revision-at-line)
18259 (vc-annotate-find-revision-at-line)
18260 (vc-annotate-revision-previous-to-line)
18261 (vc-annotate-show-log-revision-at-line): Update to get the file
18262 name from vc-annotate-extract-revision-at-line.
18263 (vc-annotate-show-diff-revision-at-line-internal): Change the
18264 argument to mean whether to show a file diff or not. Get the file
18265 name from vc-annotate-extract-revision-at-line.
18266 (vc-annotate-show-diff-revision-at-line):
18267 Update vc-annotate-show-diff-revision-at-line call.
18268 (vc-annotate-warp-revision): Add an optional file argument.
18270 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
18271 (vc-git-annotate-extract-revision-at-line): Also return the file
18274 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
18275 command. Remove unused code.
18276 (vc-hg-annotate-re): Update to match --follow output.
18277 (vc-hg-annotate-extract-revision-at-line): Also return the file
18280 * vc.el: Update annotate-extract-revision-at-line documentation.
18282 2009-10-18 Kevin Ryde <user42@zip.com.au>
18284 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
18285 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
18287 * net/browse-url.el (browse-url): Identify alist with "consp and
18288 not functionp" and let all other things go down the `apply' leg,
18289 as suggested by Stefan. (Further to bug#4531.)
18291 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
18293 * minibuffer.el (read-file-name): Check for repeat before putting
18294 a default argument in file-name-history (Bug#4657).
18296 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
18297 read syntax (Bug#4737).
18299 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
18301 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18303 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
18304 (html-tag-alist, html-tag-help): Add descriptions for undocumented
18305 entries and make note of obsolete tags.
18307 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
18309 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
18311 2009-10-18 Glenn Morris <rgm@gnu.org>
18313 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
18314 grep, so that binary files (eg international/uni-bidi.el) can match.
18315 Remove test for "UnicodeData" files, since it is hopefully unnecessary
18316 now, and in any case the file header format has changed.
18318 2009-10-17 Glenn Morris <rgm@gnu.org>
18320 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
18321 (flyspell-get-word, flyspell-large-region)
18322 (flyspell-auto-correct-previous-word): Doc/error message fixes.
18324 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
18326 * Makefile.in (ELCFILES): Add ede/shell.
18328 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
18330 * term/common-win.el (x-colors): Purecopy it.
18332 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18334 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
18335 permissive for when the buffer is empty.
18336 (tar-header-block-tokenize): Decode the username and groupname.
18337 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
18339 2009-10-17 Eric Ludlam <zappo@gnu.org>
18341 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
18342 contains multibyte characters, choose first applicable coding
18343 system automatically.
18345 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18347 * international/mule-cmds.el (select-safe-coding-system): If the file
18348 has a coding cookie, use it regardless of any other setting (bug#4712).
18350 2009-10-17 Glenn Morris <rgm@gnu.org>
18352 * foldout.el (foldout-mouse-swallow-events):
18353 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
18355 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
18356 (dired-keep-marker-copy, dired-keep-marker-hardlink)
18357 (dired-keep-marker-symlink, dired-dwim-target)
18358 (dired-copy-preserve-time): Do not autoload these defcustoms.
18360 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
18361 messages from messing up the file coding. (Bug#4623)
18363 2009-10-17 Jari Aalto <jari.aalto@cante.net>
18365 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
18366 if no match is found for the current dictionary. (Bug#4578)
18368 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
18369 optional, since that is how it is documented, and this is often called
18370 with a nil argument. (Bug#4577)
18371 (flyspell-external-point-words, flyspell-auto-correct-word)
18372 (flyspell-correct-word-before-point, flyspell-word-search-forward)
18373 (flyspell-word-search-backward): Remove nil argument in calls to
18374 flyspell-get-word, since it is not needed now.
18376 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
18378 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
18380 2009-10-16 Glenn Morris <rgm@gnu.org>
18382 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
18384 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
18386 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
18387 (ange-ftp-file-size): New function.
18388 (ange-ftp-file-attributes): Use it.
18390 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
18392 * net/tramp-smb.el (tramp-smb-version): New defvar.
18393 (tramp-smb-maybe-open-connection): Use it, in order to avoid
18396 2009-10-16 Glenn Morris <rgm@gnu.org>
18398 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
18399 Maybe copy some custom properties from old to new name. (Bug#4706)
18401 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
18403 * subr.el (error, sit-for, start-process-shell-command)
18404 (start-file-process-shell-command): Set the calling convention
18405 after the function definition.
18407 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
18409 * subr.el (error, sit-for, start-process-shell-command)
18410 (start-file-process-shell-command): Use the new
18411 set-advertised-calling-convention feature.
18413 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
18415 * international/ucs-normalize.el (ucs-normalize-version):
18417 (check-range): Adjust for Unicode 5.2.
18419 2009-10-15 Juri Linkov <juri@jurta.org>
18421 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
18422 to the `menu-item' format.
18424 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
18426 * net/tramp.el (tramp-replace-environment-variables): Do not fail
18427 if the environment variable does not exist.
18429 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18430 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
18432 (tramp-smb-handle-add-name-to-file)
18433 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18434 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18435 (tramp-smb-handle-file-attributes)
18436 (tramp-smb-do-file-attributes-with-stat)
18437 (tramp-smb-handle-file-local-copy)
18438 (tramp-smb-handle-insert-directory)
18439 (tramp-smb-handle-make-directory)
18440 (tramp-smb-handle-make-directory-internal)
18441 (tramp-smb-handle-make-symbolic-link)
18442 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
18443 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
18444 (tramp-smb-maybe-open-connection): Apply the changed parameters.
18445 (tramp-smb-read-file-entry): Read Disk names in compressed format.
18446 Handle long file names.
18447 (tramp-smb-get-cifs-capabilities): Check, whether the connection
18448 process is running.
18449 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
18450 Read share names with "-g" option.
18452 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
18454 * net/rcirc.el (rcirc-view-log-file): New command.
18455 (rcirc-track-minor-mode-map): Remove C-c ` binding.
18456 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
18459 2009-10-15 Glenn Morris <rgm@gnu.org>
18461 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
18462 from the second command-line argument.
18463 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
18464 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
18465 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
18466 w32-batch-update-autoloads.
18467 * emacs-lisp/autoload.el (autoload-make-program): New variable.
18468 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
18470 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
18471 the headers cannot be located. Simplify, subtracting superflous
18474 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
18476 Replace completion-base-size by completion-base-position to fix bugs
18477 such as (bug#4699).
18478 * simple.el (completion-base-position): New var.
18479 (completion-base-size): Mark as obsolete.
18480 (choose-completion): Make it work for mouse events as well.
18481 Pass the new base-position to choose-completion-string.
18482 (choose-completion-guess-base-position): New function, extracted from
18483 choose-completion-delete-max-match.
18484 (choose-completion-delete-max-match): Use it. Make obsolete.
18485 (choose-completion-string): Use the new base-position info.
18486 (completion-root-regexp): Delete.
18487 (completion-setup-function): Preserve completion-base-position.
18488 Eliminate obsolete base-size manipulation.
18489 * minibuffer.el (display-completion-list): Don't mess with base-size.
18490 (minibuffer-completion-help): Set completion-base-position instead.
18491 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
18493 * textmodes/bibtex.el (bibtex-complete):
18494 * emacs-lisp/crm.el (crm--choose-completion-string):
18495 Adjust to new calling convention.
18496 * complete.el (partial-completion-mode): Use minibufferp to avoid
18497 bumping into incompatible change to choose-completion-string-functions.
18498 * ido.el (ido-choose-completion-string): Make its calling convention
18500 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
18501 base-size manipulation.
18502 (comint-dynamic-list-input-ring): Use dotimes and push.
18503 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
18504 fundamental-mode. Use `or'.
18506 2009-10-14 Juri Linkov <juri@jurta.org>
18508 * misearch.el (multi-isearch-next-buffer-from-list)
18509 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
18511 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18513 * Makefile.in (compile-onefile): Load `bytecomp' rather than
18516 * minibuffer.el (completion-pcm--merge-completions): Make sure the
18517 string we return is all made up of text from the completions rather
18518 than part from the completions and part from the input (bug#4219).
18520 * ido.el (ido-everywhere): Use define-minor-mode.
18522 * buff-menu.el (list-buffers, ctl-x-map):
18523 Mark the entry points with ;;;###autoload cookies.
18525 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
18527 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
18528 correctly in the detached head case.
18529 (vc-git-print-log): Remove unused binding.
18531 * vc.el (vc-responsible-backend): When a directory is passed for
18532 for registration create a VC repository if no backend is
18533 responsible for the directory argument.
18534 (vc-deduce-fileset): Tell vc-responsible-backend to register.
18536 * vc.el: Move comments about RCS and SCCS ...
18538 * vc-sccs.el: ... here, respectively.
18540 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18542 * minibuffer.el (completion--file-name-table): Return nil if there's
18543 no file completion, even if substitute-in-file-name changed
18544 the string (bug#4708).
18546 2009-10-13 Juri Linkov <juri@jurta.org>
18548 * files-x.el (read-file-local-variable-value): Don't filter out
18549 minor modes from mode name completion (bug#4664).
18551 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18553 * international/mule-cmds.el (ucs-names): Remove exclusion of
18554 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
18556 2009-10-13 Kenichi Handa <handa@m17n.org>
18558 * international/uni-name.el: Regenerated.
18560 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18562 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
18563 should be automatically buffer-local, but isn't.)
18565 2009-10-12 Sam Steingold <sds@gnu.org>
18567 * progmodes/compile.el (compilation-next-error-function): Fix the
18568 timestamps if the buffer has been visited before.
18569 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
18570 non-anchored patterns, like the perl one (bug#3928).
18572 2009-10-12 Glenn Morris <rgm@gnu.org>
18574 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
18577 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
18579 * proced.el (proced-unload-function): New function.
18581 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
18582 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
18585 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
18587 2009-10-11 Juri Linkov <juri@jurta.org>
18589 * files-x.el (read-file-local-variable-value):
18590 Provide default value only for bound variables (bug#4664).
18592 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
18594 * net/tramp.el (tramp-local-host-p): Function shall return nil for
18595 connection methods like smb.
18597 * net/tramp-cache.el (tramp-flush-connection-property): The hash
18600 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18601 (tramp-smb-file-name-handler-alist): Add handlers for
18602 `add-name-to-file', `make-symbolic-link'.
18603 (tramp-smb-handle-add-name-to-file)
18604 (tramp-smb-do-file-attributes-with-stat)
18605 (tramp-smb-handle-make-symbolic-link)
18606 (tramp-smb-get-cifs-capabilities): New defuns.
18607 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18608 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18609 (tramp-smb-handle-file-local-copy)
18610 (tramp-smb-handle-make-directory-internal)
18611 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
18612 The file name syntax depends on cifs capabilities.
18613 (tramp-smb-handle-file-attributes):
18614 Call `tramp-smb-do-file-attributes-with-stat' if possible.
18615 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
18616 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
18618 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
18620 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
18621 (eieio-defclass): Apply deftype handler and setf-method properties
18623 (eieio-add-new-slot): Avoid union function from cl library.
18624 (eieio--typep): New function.
18625 (eieio-perform-slot-validation): Use it.
18627 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18629 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
18630 Update documentation to refer to the variables documented in r1.135.
18633 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18635 * bookmark.el (Info-suffix-list): Remove this unused variable.
18636 (bookmark-current-point): Remove this obsolete variable.
18637 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
18638 Adjust for removal of bookmark-current-point.
18640 (bookmarks-already-loaded, bookmark-current-buffer)
18641 (bookmark-yank-point): Document. (Bug#4188)
18643 2009-10-10 Glenn Morris <rgm@gnu.org>
18645 * frame.el (frame-height): Doc fix.
18647 * calendar/calendar.el (calendar-split-width-threshold): New option.
18648 (calendar-basic-setup): Use calendar-split-width-threshold.
18650 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
18652 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
18653 Ideographic Supplement" range (U+1F200..U+1F2FF).
18655 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18657 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
18658 since the list will have been rebuilt anyway. (Bug#4349)
18660 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18662 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
18663 (bookmark-bmenu-execute-deletions): Don't save here, as
18664 bookmark-delete will now do so if necessary.
18665 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
18668 2009-10-09 Glenn Morris <rgm@gnu.org>
18670 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
18672 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18674 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
18675 (bookmark-jump-other-window): Just invoke bookmark-jump with new
18676 argument now, so the two function's behaviors will match. (Bug#3645)
18678 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
18680 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
18681 (tramp-file-name-real-host, tramp-file-name-port):
18682 Apply `save-match-data'.
18684 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
18685 case both directories are remote.
18686 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
18687 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
18689 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18691 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
18693 2009-10-07 Glenn Morris <rgm@gnu.org>
18695 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
18698 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
18700 * files-x.el (read-file-local-variable): Include some
18701 non-user-variables in the completion table (bug#4664).
18703 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
18705 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
18708 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18709 (tramp-smb-file-name-handler-alist): Add handler for
18710 `copy-directory', `expand-file-name', `set-file-modes'.
18711 (tramp-smb-handle-copy-directory)
18712 (tramp-smb-handle-expand-file-name)
18713 (tramp-smb-handle-set-file-modes): New defuns.
18714 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
18715 (tramp-smb-handle-file-attributes): Simplify check for retrieving
18717 (tramp-smb-handle-insert-directory): Don't flush the cache.
18718 (tramp-smb-maybe-open-connection): Check for samba client and
18721 2009-10-07 Eli Zaretskii <eliz@gnu.org>
18723 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
18724 to not error out of search for "^lisp=" fails.
18726 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18728 * makefile.w32-in (WINS_UPDATES): New macro.
18729 (custom-deps, finder-data, autoloads): Use it.
18731 2009-10-07 Glenn Morris <rgm@gnu.org>
18733 * Makefile.in (autoloads): Revert previous change.
18734 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
18735 the list of preloaded files passed on the command-line, get
18736 it from src/Makefile.
18738 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
18739 show the original buffer rather than a random one.
18741 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
18743 * help.el (describe-no-warranty): Place point in a slightly better
18744 position in the GPLv3 text.
18746 2009-10-06 Sam Steingold <sds@gnu.org>
18748 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
18749 the comm attribute is present before calling regexp-quote.
18751 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
18753 * play/animate.el (animate-string): For good effect, make sure
18754 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
18756 * play/animate.el (animate-sequence, animate-birthday-present):
18757 * misc.el (butterfly): Don't set `indent-tabs-mode'.
18759 2009-10-06 Glenn Morris <rgm@gnu.org>
18761 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
18763 * emacs-lisp/autoload.el (autoload-excludes): New variable.
18764 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
18765 (batch-update-autoloads): Process a string value of autoload-excludes,
18766 set during the build process.
18767 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
18769 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
18770 inside with-parsed... macro so that `v' is defined.
18772 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
18773 * progmodes/fortran.el (fortran-end-of-block)
18774 (fortran-beginning-of-block):
18775 Also push mark in the macro case.
18777 * emerge.el (emerge-show-file-name):
18778 * calc/calc.el (calc-quit):
18779 * calc/calc-misc.el (calc-big-or-small):
18780 * calc/calc-graph.el (calc-graph-view):
18781 * calc/calc-ext.el (calc-reset):
18782 * calendar/calendar.el (calendar-basic-setup):
18783 Use window-full-height-p.
18785 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
18786 header we don't understand, don't insert another. (Bug#4624)
18787 If changing mime charset, insert the new one in the right place.
18789 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
18791 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
18792 (cal-tex-cursor-month): Correctly increment the end date for diary and
18793 holiday listing. (Bug#4626)
18795 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18797 * help-fns.el (describe-function-1): Don't burp if the function is not
18800 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
18802 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18803 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18804 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18805 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18807 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18808 (eieio-default-superclass): Reflow docstrings.
18809 (this, class-option-assoc, defclass, eieio-class-un-autoload)
18810 (eieio-unbind-method-implementations, defmethod)
18811 (eieio-validate-slot-value, eieio-validate-class-slot-value)
18812 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18813 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18814 (eieio-slot-originating-class-p, eieio-slot-name-index)
18815 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18816 (constructor, initialize-instance, no-next-method, object-print)
18817 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18818 Fix typos in docstrings.
18819 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18820 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18821 (next-method-p): Doc fixes.
18822 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18823 Fix typos in error messages.
18824 (eieio-defmethod): Fix typo in description of generic method.
18826 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18827 (eieio-persistent-save-interactive, slot-missing):
18828 Fix typos in docstrings.
18829 (eieio-instance-inheritor-slot-boundp): Doc fix.
18831 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18832 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18834 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18835 (eieio-custom-object-apply-reset):
18836 Fix typos in docstrings and error messages.
18838 * emacs-lisp/eieio-datadebug.el (data-debug-show):
18839 Fix typo in docstring.
18841 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18842 (eieio-browse-tree): Doc fix.
18843 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18844 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18845 Fix typos in docstrings.
18847 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18848 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18849 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18850 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18853 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
18855 * vc-hg.el (log-view-vc-backend): Declare for compiler.
18856 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18857 Set log-view-vc-backend so that diff can work.
18859 * log-view.el (log-view-diff): Use vc-diff-internal instead of
18861 (vc-diff-internal): Autoload this instead of vc-version-diff.
18863 2009-10-05 Eli Zaretskii <eliz@gnu.org>
18865 * simple.el (eval-expression): Doc fix.
18867 * progmodes/cwarn.el (cwarn-mode): Doc fix.
18869 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
18871 * files.el (directory-files-no-dot-files-regexp): New defconst.
18872 (delete-directory): Use it.
18873 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
18875 * net/tramp.el (tramp-verbose): Fix docstring.
18876 (tramp-methods): Add recursive option to `tramp-copy-args'.
18877 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
18878 "scp1_old", "scp2_old", "rsync", "rsyncc".
18879 (tramp-default-method): Check also for `auth-source-user-or-password'.
18880 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18881 Add handler for `copy-directory'.
18882 (tramp-handle-copy-directory): New defun.
18883 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18884 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18885 Optimize sent command.
18887 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18889 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18890 window if necessary.
18892 * calendar/calendar.el (calendar-basic-setup): Don't call
18893 switch-to-buffer in a dedicated window.
18895 2009-10-05 Karl Fogel <kfogel@red-bean.com>
18897 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18898 don't do anything related to relocating, just return nil.
18899 (bookmark-error-no-filename): New error.
18900 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18901 bookmark has no file. Don't even attempt to handle things that
18902 are not files; the whole point of custom handlers is to keep that
18903 knowledge elsewhere anyway. Tighten some comments.
18904 (bookmark-file-or-variation-thereof): Remove now-unused function.
18905 (bookmark-location): Doc string fix.
18908 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18910 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18911 don't use a file dialog, because they usually don't know how to read
18912 a directory target from the user. (Bug#4230)
18913 Also, make sure the prompt can display directories as well as files.
18915 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18917 * bookmark.el (bookmark-set, bookmark-buffer-name):
18918 Improve doc strings. (Bug#1193)
18920 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18922 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18923 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18924 (bookmark-get-annotation, bookmark-set-annotation)
18925 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18926 (bookmark-set-position, bookmark-get-front-context-string)
18927 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18928 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18929 (bookmark-jump-other-window, bookmark-handle-bookmark)
18930 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18931 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18932 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18933 Improve doc strings to say whether bookmark can be a string or
18934 a record or both, and make other consistency and clarity fixes.
18935 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18936 (bookmark-default-annotation-text, bookmark-yank-word)
18937 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18938 (bookmark-import-new-list, bookmark-maybe-rename)
18939 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18940 (bookmark-bmenu-bookmark): Give these doc strings.
18941 (bookmark-bmenu-check-position): Give this a doc string, but also
18942 add a FIXME comment about how the function may be pointless.
18943 (bookmark-default-handler): Rework doc string and change a
18944 parameter name, to clarify that this takes a bookmark record
18945 not a bookmark name.
18946 (bookmark-set): Change a parameter name to indicate its meaning,
18947 and improve the doc string a bit.
18950 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18952 * bookmark.el (bookmark-alist): Document the new `handler' element
18953 in the param alist.
18954 (bookmark-make-record-function): Adjust documentation for above.
18957 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18959 * info.el (Info-bookmark-make-record): Document this function.
18960 (Info-bookmark-jump): Document with a doc string, not just a comment.
18963 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
18965 * files.el (copy-directory): New defun.
18967 * dired-aux.el (dired-copy-file-recursive): Use it.
18969 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
18971 * files-x.el (modify-dir-local-variable)
18972 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18975 * recentf.el (recentf-unload-function): New function.
18977 2009-10-04 Glenn Morris <rgm@gnu.org>
18979 * window.el (window-full-height-p): Add doc string.
18981 2009-10-04 Martin Rudalics <rudalics@gmx.at>
18983 * window.el (window-full-height-p): New function. (Bug#4543)
18985 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
18987 * vc.el: Remove commented out code.
18988 (vc-derived-from-dir-mode): Remove, unused.
18989 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18991 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
18993 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18994 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
18995 there could be recursive loading when `default-directory' is a
18996 remote file name. (Bug#4614)
18998 2009-10-03 Glenn Morris <rgm@gnu.org>
19000 * calendar/calendar.el (calendar-basic-setup): Handle the case where
19002 (calendar-generate-window): Test for shrinkability rather than width.
19004 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
19005 reusing existing buffers, in case we happen to visit two files with the
19006 same basename. (Bug#4593)
19008 2009-10-02 Eli Zaretskii <eliz@gnu.org>
19010 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
19011 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
19012 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
19013 subdirs of cedet as well.
19014 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
19016 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
19018 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
19019 Obey advertised-signature-table.
19021 * help-fns.el (help-function-arglist): Don't check
19022 advertised-signature-table.
19023 (describe-function-1): Do it here instead so it also applies to subrs.
19025 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
19027 * simple.el (start-file-process): Say in the doc-string, that file
19028 handlers might not support pty association, if PROGRAM is nil.
19030 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
19031 HOST and USER are strings. They are nil, when there are
19032 incomplete entries in ~/.netrc, for example.
19033 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
19034 root directory ("device busy" error otherwise).
19036 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
19037 Flush file properties of created directory.
19039 2009-10-02 Eli Zaretskii <eliz@gnu.org>
19041 * makefile.w32-in (WINS_BASIC): Remove cedet.
19042 (WINS_CEDET): Add cedet.
19043 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
19045 2009-10-02 Kevin Ryde <user42@zip.com.au>
19047 * net/browse-url.el (browse-url): Pass any symbol in
19048 browse-url-browser-function to `apply', since if you've mistakenly put
19049 an unbound symbol then the error is clearer. (Bug#4531)
19051 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
19053 * allout.el (allout-init, allout-back-to-current-heading)
19054 (allout-beginning-of-current-entry, allout-ascend-to-depth)
19055 (allout-ascend, allout-up-current-level, allout-end-of-level)
19056 (allout-previous-visible-heading, allout-forward-current-level)
19057 (allout-backward-current-level, allout-show-children):
19058 * apropos.el (apropos-describe-plist):
19059 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
19060 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
19061 * completion.el (add-completion, add-permanent-completion):
19062 * descr-text.el (describe-text-category, describe-char):
19063 * desktop.el (desktop-lazy-abort):
19064 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
19065 * dired.el (dired-build-subdir-alist):
19066 * ediff.el (ediff-version):
19067 * elide-head.el (elide-head, elide-head-show):
19068 * emerge.el (emerge-version):
19070 * face-remap.el (variable-pitch-mode):
19071 * faces.el (describe-face):
19072 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
19074 * files.el (find-file-existing, auto-save-mode):
19075 * font-lock.el (font-lock-fontify-buffer):
19076 * help-fns.el (describe-function, describe-variable)
19077 (describe-syntax, describe-categories):
19078 * help.el (view-lossage, describe-bindings, describe-key)
19080 * hexl.el (hexl-current-address):
19081 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
19082 * info.el (Info-goto-emacs-key-command-node):
19083 * log-edit.el (log-edit-insert-cvs-template)
19084 (log-edit-insert-cvs-rcstemplate):
19085 * menu-bar.el (menu-bar-mode):
19086 * mouse.el (mouse-appearance-menu):
19087 * newcomment.el (comment-indent-new-line):
19088 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
19089 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
19090 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
19091 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
19092 * recentf.el (recentf-mode):
19093 * savehist.el (savehist-mode, savehist-save):
19094 * shadowfile.el (shadow-copy-files):
19095 * simple.el (kill-ring-save, next-line, previous-line)
19096 (normal-erase-is-backspace-mode):
19097 * strokes.el (strokes-update-window-configuration)
19098 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
19099 (strokes-xpm-for-stroke):
19100 * time.el (emacs-uptime, emacs-init-time):
19101 * tutorial.el (tutorial--describe-nonstandard-key)
19102 (tutorial--detailed-help):
19103 * type-break.el (type-break-mode)
19104 (type-break-mode-line-message-mode, type-break-query-mode)
19105 (type-break-guesstimate-keystroke-threshold):
19106 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
19107 * version.el (emacs-version):
19108 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
19109 * winner.el (winner-mode):
19110 * calendar/timeclock.el (timeclock-in, timeclock-out)
19111 (timeclock-status-string, timeclock-change)
19112 (timeclock-workday-remaining-string)
19113 (timeclock-workday-elapsed-string)
19114 (timeclock-when-to-leave-string):
19115 * calendar/todo-mode.el (todo-add-category):
19116 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
19117 * emacs-lisp/autoload.el (update-file-autoloads):
19118 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
19119 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
19120 (checkdoc-message-text, checkdoc-defun):
19121 * emacs-lisp/debug.el (debugger-list-functions):
19122 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
19123 * emacs-lisp/eieio-opt.el (eieio-describe-class)
19124 (eieio-describe-generic):
19125 * emacs-lisp/lisp-mnt.el (lm-synopsis):
19126 * emacs-lisp/shadow.el (list-load-path-shadows):
19127 * emulation/cua-base.el (cua-mode):
19128 * emulation/edt.el (edt-set-scroll-margins):
19129 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
19130 (tpu-toggle-regexp, tpu-toggle-search-direction)
19131 (tpu-toggle-rectangle, tpu-toggle-control-keys):
19132 * emulation/tpu-extras.el (tpu-set-scroll-margins):
19133 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
19134 (viper-set-parsing-style-toggling-macro)
19135 (viper-set-emacs-state-searchstyle-macros):
19136 * emulation/viper.el (viper-set-hooks):
19137 * eshell/esh-mode.el (eshell-truncate-buffer):
19138 * international/mule-cmds.el (prefer-coding-system)
19139 (describe-input-method, describe-language-environment):
19140 * international/mule-diag.el (list-character-sets)
19141 (describe-character-set, describe-coding-system)
19142 (describe-fontset, list-fontsets, list-input-methods):
19143 * mail/sendmail.el (mail-signature):
19144 * net/ange-ftp.el (ange-ftp-copy-file):
19145 * net/browse-url.el (browse-url):
19146 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
19147 * net/quickurl.el (quickurl-add-url):
19148 * net/rcirc.el (names, topic):
19149 * net/xesam.el (xesam-mode):
19150 * play/5x5.el (5x5-new-game):
19151 * play/yow.el (apropos-zippy):
19152 * progmodes/ada-mode.el (ada-mode-version):
19153 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
19155 (f90-beginning-of-block):
19156 * progmodes/fortran.el (fortran-end-of-block)
19157 (fortran-beginning-of-block):
19158 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
19159 * progmodes/python.el (python-describe-symbol, python-shell):
19160 * term/ns-win.el (ns-print-buffer):
19161 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
19162 * textmodes/flyspell.el (flyspell-mode-on):
19163 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
19164 (pages-directory-for-addresses):
19165 * textmodes/table.el (table-recognize-cell)
19166 (table-query-dimension, table-generate-source)
19167 (table-insert-sequence, table--warn-incompatibility):
19168 * textmodes/tex-mode.el (tex-validate-buffer):
19169 * textmodes/texinfmt.el (texinfmt-version)
19170 (texinfo-format-buffer):
19171 Use `called-interactively-p' instead of `interactive-p'.
19173 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
19175 * image-mode.el (image-toggle-display):
19176 * emacs-lisp/elp.el (elp-instrument-function):
19177 * emacs-lisp/advice.el (ad-make-advised-definition):
19178 * emacs-lisp/easy-mmode.el (define-minor-mode):
19179 * net/browse-url.el (browse-url-maybe-new-window):
19180 * progmodes/sh-script.el (sh-learn-buffer-indent):
19181 Pass new argument 'any to `called-interactively-p'.
19183 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
19185 * international/uni-bidi.el:
19186 * international/uni-category.el:
19187 * international/uni-combining.el:
19188 * international/uni-comment.el:
19189 * international/uni-decimal.el:
19190 * international/uni-decomposition.el:
19191 * international/uni-digit.el:
19192 * international/uni-lowercase.el:
19193 * international/uni-mirrored.el:
19194 * international/uni-name.el:
19195 * international/uni-numeric.el:
19196 * international/uni-old-name.el:
19197 * international/uni-titlecase.el:
19198 * international/uni-uppercase.el:
19199 Regenerate from Unicode 5.2.0 data.
19201 2009-10-01 Glenn Morris <rgm@gnu.org>
19203 * Makefile.in (ELCFILES): Regenerate.
19205 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
19207 * subr.el (interactive-p): Mark obsolete.
19208 (called-interactively-p): Make the optional-ness of `kind' obsolete.
19209 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
19210 advertised-signature-table for subroutines as well.
19212 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
19213 (set-advertised-calling-convention): New function.
19214 (make-obsolete, define-obsolete-function-alias)
19215 (make-obsolete-variable, define-obsolete-variable-alias):
19216 Make the optional-ness of `when' obsolete.
19217 (define-obsolete-face-alias): Make `when' non-optional.
19218 * help-fns.el (help-function-arglist):
19219 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
19220 Use advertised-signature-table.
19222 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
19224 * files.el (delete-directory): New defun. The original function
19225 in fileio.c has been renamed to `delete-directory-internal'.
19227 * dired.el (dired-delete-file): Call `delete-directory' with
19228 RECURSIVE parameter.
19230 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
19231 parameter RECURSIVE. Implementation is missing.
19233 * net/tramp.el (tramp-handle-make-directory): Flush upper
19234 directory's file properties.
19235 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
19236 (tramp-handle-dired-recursive-delete-directory): Flush directory
19237 properties after the remove command only.
19239 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
19240 Handle optional parameter RECURSIVE.
19242 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
19243 Handle optional parameter RECURSIVE.
19245 * net/tramp-smb.el (tramp-smb-errors): Add error message for
19246 connection timeout.
19247 (tramp-smb-handle-delete-directory): Handle optional parameter
19250 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
19252 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
19253 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
19254 (byte-compile-defmacro): Use backquotes.
19256 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
19258 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
19259 has no associated file.
19260 (vc-resynch-buffer): Use vc-dir-buffers.
19262 2009-10-01 Glenn Morris <rgm@gnu.org>
19264 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
19265 (chart-file-count):
19266 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
19267 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
19268 * emacs-lisp/eieio-opt.el (eieio-describe-class):
19269 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
19270 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
19271 (eieio-copy-parents-into-subclass, make-instance, class-children)
19272 (eieio-generic-form):
19274 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
19275 match-data. (Bug#4555).
19277 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
19278 rather than parsing it as a regexp. This relaxes the layout
19279 requirements and makes errors easier to detect.
19280 (check-declare-verify): Check file is regular.
19281 (check-declare-directory): Doc fix.
19282 * subr.el (declare-function): Doc fix.
19284 * ibuffer.el (ibuffer-format-qualifier):
19285 * isearch.el (hi-lock-regexp-okay):
19286 * calc/calc.el (math-zerop):
19287 * mail/uce.el (rmail-msgbeg, rmail-msgend):
19288 * term/w32-win.el (setup-default-fontset, set-fontset-font):
19289 Remove unused declarations.
19291 2009-09-30 Eric Ludlam <zappo@gnu.org>
19293 * emacs-lisp/eieio.el (boolean-p): Delete.
19295 2009-09-30 Glenn Morris <rgm@gnu.org>
19297 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
19299 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
19300 filename is not a string.
19302 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
19304 * files.el (safe-local-eval-forms): Fix typo.
19306 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
19308 * vc-hooks.el (vc-dir-buffers): New var.
19309 (vc-state-refresh): New function.
19310 (vc-state): Use it.
19311 (vc-after-save): Always ask the backend to recompute the new state.
19312 Always call vc-dir if necessary, using vc-dir-buffers.
19313 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
19314 Use vc-dir-buffers.
19315 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
19316 (vc-dir-prepare-status-buffer, vc-dir-update)
19317 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
19318 Don't call expand-file-name on default-directory.
19320 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
19322 * speedbar.el (speedbar-item-delete):
19323 * calc/calc-prog.el (calc-kbd-if):
19324 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
19326 * epa.el (epa-key-list-mode-map):
19327 * hi-lock.el (hi-lock-menu): Fix typos in menus.
19329 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
19330 (hs-show-hook): Fix typo in docstring.
19332 2009-09-29 Glenn Morris <rgm@gnu.org>
19334 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
19335 file-name-nondirectory call preventing location of cedet files.
19336 (check-declare-verify): Use literal search rather than re-search.
19337 Add basic defmethod and defclass, and define-overloadable-function.
19339 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
19340 Use tramp-compat-file-attributes rather than nonexistent
19341 tramp-compat-handle-file-attributes.
19343 * Makefile.in (lisptagsfiles4): New.
19344 (AUTOGENEL): Add cedet loaddefs files.
19345 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
19346 (update-elclist, compile-always, backup-compiled-files)
19347 (bootstrap-clean): Add yet another directory level.
19348 (update-elclist): Use LC_COLLATE rather than COLLATE.
19349 (ELCFILES): Update, via `make update-elclist'.
19351 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
19353 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
19354 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
19355 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
19357 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
19359 * Makefile.in (lisptagsfiles3): Define.
19360 (TAGS, TAGS-LISP): Use it.
19361 (update-elclist): Add third directory level to look for elc files.
19362 (compile-always): Likewise.
19363 (backup-compiled-files): Likewise.
19364 (bootstrap-clean): Likewise.
19365 (ELCFILES): Update.
19367 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
19369 * Makefile.in (ELCFILES): Add CEDET files.
19371 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
19373 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
19375 * net/tramp.el (top): Require tramp-imap.
19377 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
19378 Use `tramp-compat-handle-file-attributes'.
19380 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
19382 * net/tramp-imap.el: New package.
19384 2009-09-28 Eric Ludlam <zappo@gnu.org>
19386 * emacs-lisp/chart.el:
19387 * emacs-lisp/eieio-base.el:
19388 * emacs-lisp/eieio-comp.el:
19389 * emacs-lisp/eieio-custom.el:
19390 * emacs-lisp/eieio-datadebug.el:
19391 * emacs-lisp/eieio-opt.el:
19392 * emacs-lisp/eieio-speedbar.el:
19393 * emacs-lisp/eieio.el: New files.
19395 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19397 * whitespace.el (whitespace-trailing-regexp)
19398 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
19401 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
19403 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
19406 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
19407 menu-bar-ediff-menu.
19409 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
19410 define-overloadable-function.
19412 * progmodes/autoconf.el: Provide autoconf as well, so that this
19413 file can be `require'd.
19415 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
19417 * emacs-lisp/autoload.el (generated-autoload-feature)
19418 (generated-autoload-load-name): New vars.
19419 (autoload-rubric, autoload-generate-file-autoloads): Use them.
19420 (make-autoload): Recognize define-overloadable-function and
19421 defclass forms (for EIEIO).
19423 * Makefile.in (update-subdirs): Exclude cedet directory.
19425 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
19427 * term/ns-win.el: Don't set the region face background. (Bug#4381)
19429 * faces.el: Default light-background background for region face to
19430 ns_selection_color under NS.
19432 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
19434 * net/imap-hash.el: New library, see NEWS.
19436 * Makefile.in (ELCFILES): Add imap-hash.el.
19438 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
19440 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
19441 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
19442 * help-macro.el (make-help-screen): Avoid using an ambiguous function
19443 definition where the docstring could be taken for the return value.
19445 2009-09-26 Glenn Morris <rgm@gnu.org>
19447 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
19448 Add option to only show images below a certain size.
19449 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
19450 save-excursion calls.
19452 2009-09-26 Eli Zaretskii <eliz@gnu.org>
19454 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
19455 subdirectories) and eieio.
19457 2009-09-26 Alan Mackenzie <acm@muc.de>
19459 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19460 Correct buggy bracketing. (Bug#4289)
19462 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
19463 character constants (as case labels). (Bug#4289)
19465 2009-09-25 Juri Linkov <juri@jurta.org>
19467 * files.el (safe-local-eval-forms): Allow time-stamp in
19468 before-save-hook (Bug#4554).
19470 2009-09-25 Drew Adams <drew.adams@oracle.com>
19472 * menu-bar.el (list-buffers-directory): Doc fix.
19474 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
19476 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
19477 Try and avoid copying twice the same paragraph.
19478 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
19479 Remove save-excursion.
19480 (log-edit-changelog-entry): Do it here instead.
19482 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
19484 * bs.el (bs--get-file-name): Use `list-buffers-directory'
19485 when available, instead of hardcoding mode names. Doc fix.
19487 * menu-bar.el (list-buffers-directory): Add docstring.
19488 Make automatically buffer-local.
19490 * dired.el (dired-mode):
19491 * files.el (cd-absolute):
19492 * pcvs.el (cvs-temp-buffer):
19493 * pcvs-util.el (cvs-get-buffer-create):
19494 * shell.el (shell-mode):
19495 * vc-dir.el (vc-dir-mode):
19496 Don't make `list-buffers-directory' buffer local.
19498 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
19500 * comint.el (comint-exec, comint-run, make-comint):
19501 Doc fixes (Bug#4542).
19503 2009-09-25 Glenn Morris <rgm@gnu.org>
19505 * mail/rmailmm.el (rmail-mime): New custom group.
19506 Move all defcustoms in this file into this group.
19507 (rmail-mime-media-type-handlers-alist): Revert previous change.
19508 (rmail-mime-show-images): New option.
19509 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
19510 references to it, since it wasn't actually used for anything.
19511 (rmail-mime-insert-image): New function.
19512 (rmail-mime-image): Use rmail-mime-insert-image.
19513 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
19514 obey the value of `rmail-mime-show-images' option. Print the size of
19517 2009-09-25 David Engster <deng@randomsample.de>
19519 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
19521 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19523 * whitespace.el: Does not highlight trailing spaces While point is
19524 at end of line. Does not highligt spaces at beginning of buffer
19525 while point is at beginning of buffer. Does not highlight spaces
19526 at end of buffer while point is at end of buffer. (Bug#4177)
19528 (whitespace-display-mappings): Adjust initialization.
19529 (whitespace-point, whitespace-font-lock-refontify): New vars.
19530 (whitespace-color-on, whitespace-color-off): Adjust code.
19531 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
19532 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
19533 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
19535 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
19537 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
19539 * textmodes/sgml-mode.el: Remove xml-mode alias.
19541 * files.el (auto-mode-alist, conf-mode-maybe)
19542 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
19544 2009-09-24 Alan Mackenzie <acm@muc.de>
19546 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
19547 c-forward-conditionals, but it doesn't move point and doesn't set
19549 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
19550 (c-down-conditional-with-else, c-backward-conditional)
19551 (c-forward-conditional): Refactor to use c-scan-conditionals.
19553 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19555 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
19556 (help-default-arg-highlight): Remove.
19557 (help-highlight-arg): New function.
19558 (help-do-arg-highlight): Use it.
19559 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
19561 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19563 * term.el (term-set-scroll-region, term-handle-ansi-escape):
19564 Undo last change, which didn't fix the problem and introduced others.
19566 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
19568 * progmodes/gdb-mi.el: Don't require speedbar.
19569 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
19571 2009-09-24 Glenn Morris <rgm@gnu.org>
19573 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
19575 * term/ns-win.el (ns-reg-to-script): Define for compiler.
19577 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
19578 there is no newline after the final mime boundary. (Bug#4539)
19579 Move markers on insertion so that any buttons inserted don't end up in
19580 the next part of a multipart message.
19581 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
19582 (rmail-mime-bulk-handler): Optionally handle images.
19583 (rmail-mime-image): New button action.
19584 (rmail-mime-image-handler): New function.
19585 (rmail-mime-mode): New mode.
19586 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
19588 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19590 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
19591 than just dropping elements from it (bug#4504).
19593 * term.el (term-set-scroll-region): Don't move cursor any more.
19594 (term-handle-ansi-escape): Call term-goto here instead.
19595 Suggested by Ivan Kanis <apple@kanis.eu>.
19597 * term.el: Require CL.
19598 (term-ansi-reset): New function.
19599 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
19600 (term-handle-colors-array): Simplify.
19602 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19604 * allout.el (allout-overlay-interior-modification-handler)
19605 (allout-obtain-passphrase):
19606 * epa-file.el (epa-file-write-region):
19607 * ps-print.el (ps-begin-job):
19608 * vc-hooks.el (vc-toggle-read-only):
19609 * vc-rcs.el (vc-rcs-rollback):
19610 * vc-sccs.el (vc-sccs-rollback):
19611 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
19612 (vc-version-diff, vc-revert, vc-rollback):
19613 * wdired.el (wdired-check-kill-buffer):
19614 * emacs-lisp/authors.el (authors):
19615 * net/socks.el (socks-open-connection):
19616 * net/zeroconf.el (zeroconf-service-add-hook):
19617 * obsolete/vc-mcvs.el (vc-mcvs-register):
19618 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
19619 (gdb-select-frame):
19620 * progmodes/grep.el (lgrep, rgrep):
19621 * progmodes/idlw-help.el (idlwave-help-check-locations)
19622 (idlwave-help-html-link, idlwave-help-assistant-open-link):
19623 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
19624 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
19625 (reftex-toc-rename-label): Fix typos in error messages.
19627 * dired-aux.el (dired-do-shell-command): Reflow docstring.
19628 (dired-copy-how-to-fn): Doc fix.
19629 (dired-files-attributes, dired-read-shell-command):
19630 Fix typos in docstrings.
19632 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
19633 (dired-x-find-file-other-window): Reflow docstrings.
19634 (dired-omit-marker-char, dired-read-shell-command)
19635 (dired-x-submit-report): Fix typos in docstrings.
19637 * shell.el (shell-mode-hook):
19638 * view.el (View-scroll-line-forward):
19639 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
19640 Fix typos in docstrings.
19642 * net/dig.el (dig-invoke): Fix typo in docstring.
19643 (query-dig): Reflow docstring.
19645 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
19646 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
19647 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
19648 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
19649 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
19650 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
19651 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
19652 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
19653 (idlwave-completion-map, idlwave-current-indent)
19654 (idlwave-custom-ampersand-surround, idlwave-customize)
19655 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
19656 (idlwave-define-abbrev, idlwave-determine-class-special)
19657 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
19658 (idlwave-end-block-reg, idlwave-end-of-statement)
19659 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
19660 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
19661 (idlwave-explicit-class-listed, idlwave-file-header)
19662 (idlwave-fill-paragraph, idlwave-find-class-definition)
19663 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
19664 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
19665 (idlwave-in-quote, idlwave-indent-action-table)
19666 (idlwave-indent-expand-table, idlwave-indent-line)
19667 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
19668 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
19669 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
19670 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
19671 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
19672 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
19673 (idlwave-outlawed-buffers, idlwave-popup-select)
19674 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
19675 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
19676 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
19677 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
19678 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
19679 (idlwave-statement-type, idlwave-struct-skip)
19680 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
19681 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
19682 (idlwave-what-module-find-class): Fix typos in docstrings.
19683 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
19684 (idlwave-calculate-cont-indent, idlwave-expand-equal)
19685 (idlwave-find-module, idlwave-find-structure-definition)
19686 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
19687 (idlwave-list-load-path-shadows, idlwave-next-statement)
19688 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
19689 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
19690 (idlwave-template): Reflow docstrings.
19692 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
19693 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
19694 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
19695 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
19696 (idlwave-shell-display-line, idlwave-shell-display-wframe)
19697 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
19698 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
19699 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
19700 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
19701 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
19702 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
19703 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
19704 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
19705 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
19706 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
19707 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
19708 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
19709 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
19710 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
19711 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
19712 Fix typos in docstrings.
19713 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
19714 (idlwave-shell-hide-output, idlwave-shell-mode)
19715 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
19718 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
19720 2009-09-24 Ivan Kanis <apple@kanis.eu>
19722 * term.el (term-bold-attribute): New var.
19723 (term-handle-colors-array): Use it.
19725 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
19727 * progmodes/gdb-mi.el (gdb-version): New variable.
19728 (gdb-non-stop-handler): Set gdb-version.
19729 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
19730 Condition "--thread" option on gdb-version.
19731 (gdb-invalidate-threads): Remove unused argument.
19733 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19735 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
19736 to looking-back to avoid ridiculous slow down in large files (bug#4511).
19738 2009-09-23 Glenn Morris <rgm@gnu.org>
19740 * mail/rmail.el (rmail-reply): Don't try to add a References header when
19741 replying to mail without References or Message-Id. (Bug#4525)
19743 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
19745 * term/ns-win.el (ns-reg-to-script): New variable.
19747 2009-09-23 Daiki Ueno <ueno@unixuser.org>
19749 * epg.el (epg-wait-for-status): Preserve existing 'error results.
19751 2009-09-22 Sam Steingold <sds@gnu.org>
19753 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
19754 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
19755 to 1 because hg returns status 1 when nothing is found.
19756 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
19758 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
19760 * textmodes/fill.el: Convert to utf-8 encoding.
19761 (fill-french-nobreak-p): Remove redundant » and « inherited from our
19764 * add-log.el (change-log-fill-forward-paragraph): New function.
19765 (change-log-mode): Use it so fill-region DTRT.
19766 Set fill-indent-according-to-mode here rather than in
19767 change-log-fill-paragraph.
19768 (change-log-fill-paragraph): Remove.
19770 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
19772 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
19773 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
19775 2009-09-22 Glenn Morris <rgm@gnu.org>
19777 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
19778 the scroll-bar scroll the calendar window rather than the buffer.
19780 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
19781 commands that move point (as opposed to scrolling).
19783 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
19785 * emacs-lisp/elint.el (elint): New custom group.
19786 (elint-log-buffer): Make it a defcustom.
19787 (elint-scan-preloaded, elint-ignored-warnings)
19788 (elint-directory-skip-re): New options.
19789 (elint-builtin-variables): Doc fix.
19790 (elint-preloaded-env): New variable.
19791 (elint-unknown-builtin-args): Add an entry for encode-time.
19792 (elint-extra-errors): Make it a variable rather than a constant.
19793 (elint-preloaded-skip-re): New constant.
19794 (elint-directory): Skip files matching elint-directory-skip-re.
19795 (elint-features): New variable, local to linted buffers.
19796 (elint-update-env): Initialize elint-features. Possibly add
19797 elint-preloaded-env to the buffer's environment.
19798 (elint-get-top-forms): Bind elint-current-pos, for log messages.
19800 (elint-init-form): New function, extracted from elint-init-env.
19801 Make non-list forms a warning rather than an error.
19802 Add the mode-map for define-derived-mode. Handle define-minor-mode,
19803 easy-menu-define, put that adds an error-condition, and provide.
19804 When requiring cl, also require cl-macs. Really require cl, to handle
19805 some cl macros. Store required libraries in the list elint-features,
19806 so as not to re-load them. Treat cc-require like require.
19807 (elint-init-env): Call elint-init-form to do the work.
19808 Handle eval-and-compile and such like.
19809 (elint-add-required-env): Do not clear messages.
19810 (elint-special-forms): Add handlers for function, defalias, if, when,
19812 (elint-form): Add optional argument to ignore elint-special-forms,
19813 useful to prevent recursive calls from handlers. Doc fix.
19814 Respect elint-ignored-warnings.
19815 (elint-form): Respect elint-ignored-warnings.
19816 (elint-bound-variable, elint-bound-function): New variables.
19817 (elint-unbound-variable): Respect elint-bound-variable.
19818 (elint-get-args): Respect elint-bound-function.
19819 (elint-check-cond-form): Add some simple handling for (f)boundp and
19821 (elint-check-defalias-form): New handler.
19822 (elint-check-let-form): Make an empty let a warning rather than an
19824 (elint-check-setq-form): Make an empty setq a warning rather than an
19825 error. Respect elint-ignored-warnings.
19826 (elint-check-defvar-form): Accept null doc-strings.
19827 (elint-check-conditional-form): New handler. Does some simple-minded
19828 checking of featurep and (f)boundp tests.
19829 (elint-put-function-args): New function.
19830 (elint-initialize): Use elint-scan-doc-file rather than
19831 elint-find-builtin-variables. Use elint-put-function-args.
19832 Possibly scan preloaded-file-list.
19833 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19834 extend to handle functions as well.
19836 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
19838 * linum.el (linum-delete-overlays, linum-update-window):
19839 Do not modify the right margin. (Bug#3971)
19841 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
19843 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19844 Use nxml-mode instead of xml-mode.
19846 2009-09-21 Kevin Ryde <user42@zip.com.au>
19848 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
19850 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19852 * net/dig.el (dig-mode): Use define-derived-mode.
19854 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
19856 * vc-dispatcher.el (vc-do-command): Return the process object in
19857 the asynchronous case. Use when instead of if. Do not run
19858 vc-exec-after to display a message if not enabled. (Bug#4463)
19860 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19861 properties to the stash strings.
19862 (vc-git-stash-list): Return a list of strings.
19863 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19864 (vc-git-stash-show-at-point): New functions.
19865 (vc-git-stash-map): New keymap.
19867 * register.el (ctl-x-r-map): Define the keys here instead of
19870 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
19872 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19873 list, to workaround performance problem (bug#4485).
19875 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
19877 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19879 2009-09-20 Daiki Ueno <ueno@unixuser.org>
19881 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19882 Document that this option is not recommended to use.
19884 2009-09-19 Glenn Morris <rgm@gnu.org>
19886 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19889 * calc/calc-alg.el (var):
19890 * calc/calcalg2.el (var): Define for compiler.
19892 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
19894 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19895 Doc fix (Bug#3932).
19897 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19899 * time-stamp.el (time-stamp-month-dd-yyyy)
19900 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19901 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19902 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19903 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19904 Remove functions that have been obsolete since 1995 (Bug#4436).
19906 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19907 indent buffer only if called interactively (Bug#4452).
19909 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
19910 Eli Zaretskii <eliz@gnu.org>
19912 This fixes bug#4197 (merged to bug#865, though not identical).
19913 * server.el (server-auth-dir): Add docstring note about FAT32.
19914 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19915 but warn against using them.
19917 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
19919 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19920 older GDB where there is no has_more field.
19922 2009-09-19 Glenn Morris <rgm@gnu.org>
19924 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19926 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
19928 * files.el (auto-mode-alist): Change default for XML files to nXML
19931 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
19933 * server.el (server-ensure-safe-dir): Pass 'integer
19934 to `file-attributes', as suggested.
19936 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
19938 * dired-aux.el (dired-query-alist): Remove spurious backslash.
19939 (dired-query): Use read-key.
19941 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
19943 * cus-start.el (ns-use-qd-smoothing): Remove.
19945 2009-09-18 Glenn Morris <rgm@gnu.org>
19947 * allout.el (top-level): Remove unnecessary progn.
19949 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19951 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19952 definition of abbrev table.
19954 * speedbar.el (speedbar-track-mouse):
19955 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19956 * net/eudc.el (eudc-expand-inline):
19957 * net/newst-backend.el (newsticker--cache-read-feed):
19958 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19959 condition-case handlers.
19961 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
19963 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19964 (gdb-var-list): Add an element for has_more field.
19965 (gdb-non-stop-handler): Enable pretty printing for STL containers.
19966 (gdb-var-create-handler, gdb-var-list-children-handler-1)
19967 (gdb-var-update-handler-1): Parse output of dynamic variable
19968 objects (STL containers).
19969 (gdb-var-delete-1): Pass var1 as an explicit second argument.
19970 (gdb-get-field): Delete alias. Use bindat-get-field directly.
19972 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19974 (gud-speedbar-buttons): Make node expandable if expression "has more"
19977 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
19979 * startup.el (emacs-quick-startup): Remove variable and all uses.
19980 (command-line): Set `inhibit-x-resources' instead.
19981 (command-line-1): Use `inhibit-x-resources' instead.
19983 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
19985 * subr.el: Fix last change to avoid using the `unless' macro,
19986 which breaks bootstrapping.
19988 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19990 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19991 extended definitions, in case we reload subr.el after having
19993 (eval-next-after-load): Mark as obsolete.
19995 2009-09-17 Juri Linkov <juri@jurta.org>
19997 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19998 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19999 (menu-bar-showhide-menu, menu-bar-tools-menu)
20000 (menu-bar-describe-menu, menu-bar-help-menu)
20001 (minibuffer-local-completion-map, minibuffer-local-map):
20004 2009-09-17 Glenn Morris <rgm@gnu.org>
20006 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
20007 arguments, whether or not it has a handler.
20009 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
20011 * simple.el (hard-newline): Give it a doc-string.
20013 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20014 (lisp-mode-syntax-table): Give them doc-strings.
20016 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
20018 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
20019 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
20020 (menu-bar-options-menu, menu-bar-showhide-menu)
20021 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
20022 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
20023 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
20024 (menu-bar-options-menu, menu-bar-tools-menu)
20025 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
20026 (menu-bar-help-menu):
20027 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
20030 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
20031 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
20032 calls for the menu names and :help.
20034 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
20036 * mouse.el (minor-mode-menu-from-indicator): Pay attention
20037 to :minor-mode-function (bug#4455).
20039 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
20041 * startup.el (command-line): Initialize the window-system after
20042 processing the command-line.
20044 * textmodes/page.el (what-page): Make sure we don't inf-loop if
20045 page-delimiter matches the empty string.
20047 2009-09-16 Glenn Morris <rgm@gnu.org>
20049 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
20050 byte-compile-not-obsolete-var. It's a list now.
20051 (byte-compile-not-obsolete-funcs): New variable.
20052 (byte-compile-warn-obsolete): Don't warn about functions if they are in
20053 byte-compile-not-obsolete-funcs.
20054 (byte-compile-variable-ref, byte-compile-defvar): Update for
20055 byte-compile-not-obsolete-vars name-change and list nature.
20056 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
20057 and variables behind (f)boundp tests.
20058 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
20060 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
20062 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
20064 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
20066 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
20067 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
20070 2009-09-15 Stephen Eglen <stephen@gnu.org>
20072 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
20073 the virtual-buffers, use the name of the buffer specified by
20074 find-file-noselect, as the match may be a symlink. (This was a
20075 problem if the target and the symlink had different names.)
20077 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
20079 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
20081 * desktop.el (desktop-path): Check user-emacs-directory.
20083 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
20085 * loadup.el: Use after-load-functions to GC after loading each file.
20086 Remove the explicit GC calls that used to be sprinkled around.
20088 * subr.el (after-load-functions): New hook.
20089 (do-after-load-evaluation): Run it. Use string-match-p to detect
20090 `obsolete' packages, rather than painfully extracting the relevant
20093 2009-09-15 Glenn Morris <rgm@gnu.org>
20095 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
20096 free variable `doc'.
20098 * dired.el (dired-mode-map): Add menu entry for async shell command.
20100 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
20101 variables, also consider the .elc files, since the .el files are
20102 normally gzipped (subsequent code locates the .el.gz from the .elc).
20104 * calc/calc-prog.el (arglist): Define for compiler.
20106 * calendar/diary-lib.el (diary-display-function): Change the default to
20108 (body): Define for compiler.
20110 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
20111 (byte-compile-file-form, byte-compile-lambda)
20112 (byte-compile-top-level-body, byte-compile-form)
20113 (byte-compile-variable-ref, byte-compile-setq)
20114 (byte-compile-setq-default, byte-compile-body)
20115 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
20116 (batch-byte-compile): Give some more local variables with common names
20117 a "bytecomp-" prefix to avoid masking warnings about free variables.
20119 * startup.el (command-line-1): Give local variables with common names a
20120 distinguishing prefix, so as not to hide free variable warnings during
20123 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
20124 clever and add a suffix to make a unique name, just let the user decide
20125 whether or not to overwrite it. If the input is a directory, write the
20126 default filename to that directory. (Bug#4388)
20127 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
20128 is a filename-as-a-directory.
20130 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
20132 * textmodes/page.el (what-page): Don't move to beginning of line.
20133 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
20135 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
20137 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
20139 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
20141 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
20142 * help.el (help-for-help-internal): Add purecopy calls for text.
20144 * vc.el (top): print-log method now takes an optional SHORTLOG
20145 argument. Add a new method: root.
20146 (vc-root-diff, vc-print-root-log): New functions.
20147 (vc-log-short-style): New variable.
20148 (vc-print-log-internal): Add support for showing short logs.
20150 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
20151 vc-print-root-log and vc-print-root-diff.
20153 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
20154 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
20155 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
20158 * vc-cvs.el (vc-cvs-print-log):
20159 * vc-mtn.el (vc-mtn-print-log):
20160 * vc-rcs.el (vc-rcs-print-log):
20161 * vc-sccs.el (vc-sccs-print-log):
20162 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
20163 that is ignored for now.
20165 * vc-mtn.el (vc-mtn-annotate-command):
20166 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
20168 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20170 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
20171 to function-key-map, and give them ascii-character property.
20172 * term/x-win.el (x-alternatives-map):
20173 * term/ns-win.el (ns-alternatives-map):
20174 * term/internal.el (msdos-key-remapping-map):
20175 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
20177 2009-09-14 Glenn Morris <rgm@gnu.org>
20179 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
20180 temp-buffers (2009-09-12).
20182 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
20184 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
20185 the new read-key function.
20187 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
20189 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
20190 is defined (Bug#4405).
20192 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
20194 * recentf.el (recentf-cleanup): Use a hash table to find
20195 duplicates (Bug#4407).
20197 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
20199 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
20200 kp-0 to ascii equivalents (Bug#4325).
20202 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
20204 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
20206 * eshell/em-hist.el:
20207 * eshell/em-dirs.el (eshell-complete-user-reference):
20208 Declare pcomplete functions and variables to avoid compiler warnings.
20210 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
20212 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
20213 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
20214 * eshell/em-alias.el (eshell-aliases-file):
20215 * eshell/em-hist.el (eshell-history-file-name):
20216 Use expand-file-name instead of concat to make file names (Bug#4308).
20218 2009-09-13 Glenn Morris <rgm@gnu.org>
20220 * ediff-merg.el (ediff-do-merge):
20221 * filesets.el (filesets-run-cmd):
20222 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
20223 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
20224 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
20225 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
20226 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
20227 Replace empty `let's with `progn'.
20229 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
20231 * mail/sendmail.el (send-mail-function):
20232 * tooltip.el (tooltip-mode):
20233 * simple.el (transient-mark-mode):
20234 * rfn-eshadow.el (file-name-shadow-mode):
20235 * frame.el (blink-cursor-mode):
20236 * font-core.el (global-font-lock-mode):
20237 * files.el (temporary-file-directory)
20238 (small-temporary-file-directory, auto-save-file-name-transforms):
20239 * epa-hook.el (auto-encryption-mode):
20240 * composite.el (global-auto-composition-mode):
20241 Use custom-initialize-delay.
20242 * startup.el (command-line): Don't explicitly call
20243 custom-reevaluate-setting for all the above vars.
20244 * custom.el (custom-initialize-safe-set)
20245 (custom-initialize-safe-default): Delete.
20247 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20249 * term/x-win.el (x-initialize-window-system):
20250 * term/w32-win.el (w32-initialize-window-system):
20251 * term/ns-win.el (ns-initialize-window-system): Don't call
20252 mouse-wheel-mode since it's enabled globally by default already.
20254 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
20255 actually define the variable, but only silences the byte-compiler.
20256 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
20257 before looking it up.
20258 (mouse-wheel-scroll-amount): Also reset the bindings if this value
20261 2009-09-12 Glenn Morris <rgm@gnu.org>
20263 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
20265 (elint-add-required-env): Don't beep on error.
20266 (elint-forms): In case of error, return ENV unchanged.
20267 (elint-init-env): Skip non-list forms.
20268 (elint-log): Handle unknown file positions.
20270 2009-09-12 Daiki Ueno <ueno@unixuser.org>
20272 * epg.el (epg-make-context): Add autoload cookie.
20273 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
20274 (epg-decrypt-string, epg-start-verify, epg-verify-file)
20275 (epg-verify-string, epg-start-sign, epg-sign-file)
20276 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
20277 (epg-encrypt-string, epg-start-export-keys)
20278 (epg-export-keys-to-file, epg-export-keys-to-string)
20279 (epg-start-import-keys, epg-import-keys-from-file)
20280 (epg-import-keys-from-string, epg-start-receive-keys)
20281 (epg-receive-keys, epg-import-keys-from-server)
20282 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
20283 (epg-sign-keys, epg-start-generate-key)
20284 (epg-generate-key-from-file, epg-generate-key-from-string):
20285 Remove autoload cookie.
20287 2009-09-12 Eli Zaretskii <eliz@gnu.org>
20289 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
20290 reevaluation of trash-directory.
20292 * mwheel.el: Fix last change.
20293 (mouse-wheel-mode): New defvar.
20294 (mouse-wheel-mode): Remove autoload cookie.
20296 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20298 * mwheel.el (mwheel-installed-bindings): New var.
20299 (mouse-wheel-mode): Use it, so as to make sure we really remove all
20300 the bindings we set last time. Use custom-initialize-delay.
20301 * loadup.el: Load mwheel after term/*-win.el.
20302 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
20303 and mouse-wheel-up-event now that their first evaluation is done
20304 sufficiently late to be correct.
20306 * startup.el (tutorial-directory): Make it a defcustom.
20307 Use custom-initialize-delay rather than eval-at-startup to set it.
20308 * image.el (image-load-path): Make it a defcustom.
20309 Use custom-initialize-delay rather than eval-at-startup to set it.
20310 * subr.el (eval-at-startup): Remove.
20311 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
20313 * subr.el (do-after-load-evaluation): Warn the user after loading an
20316 2009-09-12 Glenn Morris <rgm@gnu.org>
20318 * proced.el (proced-mark-alt): Remove alias.
20319 (proced-mode-map): Remove proced-mark-alt.
20321 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
20322 Elint file and directory. Remove initialization entry.
20324 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
20326 (elint-current-buffer): Set mode-line-process.
20327 (elint-init-env): Handle define-derived-mode.
20328 Fix declare-function with unspecified arglist. Guard against odd
20329 defalias statements (eg iso-insert's 8859-1-map).
20330 (elint-add-required-env): Use a temp buffer.
20331 (elint-form): Just print the function/macro name, not the whole form.
20332 Return env unchanged if we fail to parse a macro.
20333 (elint-forms): Guard against parse errors.
20334 (elint-output): New function, to handle batch mode.
20335 (elint-log-message): Add optional argument. Use elint-output.
20336 (elint-set-mode-line): New function.
20338 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
20340 * emacs-lisp/elp.el (elp-not-profilable): Add more
20341 functions (Bug#4233).
20343 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
20345 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
20346 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
20348 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
20350 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
20351 (gdb-var-list-children): Use json parsing.
20353 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
20355 * progmodes/js.el (js--proper-indentation): Handle the case where
20356 char-before is null. Reported by Deniz Dogan.
20358 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
20360 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
20362 2009-09-11 Daiki Ueno <ueno@unixuser.org>
20364 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
20365 (epg-digest-algorithm-alist): Add SHA224.
20366 (epg-context-set-passphrase-callback)
20367 (epg-context-set-progress-callback): Add description about
20370 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20372 * custom.el (custom-delayed-init-variables): New var.
20373 (custom-initialize-delay): New function.
20374 * startup.el (command-line): "Re"evaluate all vars in
20375 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
20376 explicitly any more.
20377 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
20378 to avoid creating a ~/.emacs.d at build-time (bug#4347).
20380 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
20382 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
20384 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
20385 (gdb-var-update-handler): Use json parsing.
20387 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
20389 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
20390 decode annotated text, regardless of language environment. (Bug#2741)
20392 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20394 * Makefile.in (autoloads): Make rmail.el writable as well.
20396 2009-09-11 Glenn Morris <rgm@gnu.org>
20398 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
20400 * dired.el: Regenerate with extracted autoloads.
20401 * Makefile.in (autoloads): Make dired.el writable.
20403 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
20404 * ibuffer.el: Regenerate with extracted autoloads.
20405 * Makefile.in (autoloads): Make ibuffer.el writable.
20407 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
20408 * version.el (emacs-copyright, emacs-major-version)
20409 (emacs-minor-version): Reformat doc-strings for make-docfile.
20411 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
20412 functions and variables, since they must be stuff specific to some other
20414 (apropos-print): Make mouse-click message less specific about button.
20416 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
20417 that records where a macro was defined.
20418 * help-fns.el (describe-function-1): Mention if a function has a
20420 * help-mode.el (help-function-cmacro): New button.
20422 * locate.el (top-level): Always require dired.
20423 (locate-mode-map): Initialize inside the defvar.
20425 * net/ange-ftp.el (dired-compress-file): Declare.
20426 (ange-ftp-dired-compress-file): Add doc string.
20428 * term/ns-win.el (x-display-name, x-setup-function-keys):
20429 Unify doc-strings with X versions.
20431 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20433 * emulation/crisp.el (crisp-mode-map): Move initialization
20435 (crisp-mode): Use define-minor-mode.
20437 * progmodes/xscheme.el (xscheme-evaluation-commands):
20438 Put a :advertised-binding property rather than using
20439 advertised-xscheme-send-previous-expression.
20440 (advertised-xscheme-send-previous-expression): Declare obsolete.
20441 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
20443 (crisp-mode): Add corresponding bindings to
20444 undo's :advertised-binding instead.
20445 * dired.el (dired-mode-map): Put a :advertised-binding property rather
20446 than using dired-advertised-find-file.
20447 (dired-advertised-find-file):
20448 * simple.el (advertised-undo):
20449 * wid-edit.el (advertised-widget-backward): Declare obsolete.
20450 (widget-keymap): Put a :advertised-binding property rather
20451 than using advertised-widget-backward.
20452 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
20453 than using advertised-undo.
20454 * tutorial.el (tutorial--default-keys): Adjust accordingly.
20456 2009-09-10 Simon South <ssouth@slowcomputing.org>
20458 * progmodes/delphi.el (delphi-tab): Indent region when Transient
20459 Mark mode is enabled and region is active; otherwise indent or
20460 insert TAB as usual.
20461 (delphi-mode): Update description of TAB-key binding.
20463 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
20465 * subr.el (define-key-rebound-commands): Mark obsolete.
20466 * startup.el (precompute-menubar-bindings): Remove.
20467 (normal-top-level): Remove obsolete code that tried to precompute
20469 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
20470 define-key-rebound-commands and precompute-menubar-bindings.
20472 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
20474 * net/imap.el (imap-interactive-login): Better messages.
20475 (imap-open): Fix bug with renamed buffer on reconnect.
20476 (imap-authenticate): Add buffer-local imap-last-authenticator variable
20477 for easier debugging and cleaner code. On successful (guessed based on
20478 server capabilities) secondary authentication, set imap-state
20480 (imap-last-authenticator): Define imap-last-authenticator as a variable
20483 2009-09-10 Glenn Morris <rgm@gnu.org>
20485 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
20487 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
20488 (byte-compile-file-form-autoload): Don't warn about unknown functions
20489 where the autoload statement comes after the use.
20490 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
20491 that any handlers inside the body (eg require) are in turn respected.
20493 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
20496 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
20497 and syntax and abbrev tables basic docs, if they don't have any.
20499 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
20501 * international/mule-cmds.el (top-level): Require cl when compiling.
20502 (view-hello-file): Use default-value rather than
20503 default-enable-multibyte-characters.
20505 * progmodes/fortran.el: Move all safe and risky properties into the
20508 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
20509 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
20510 * mail/undigest.el:
20511 Put autoloads in rmail.el rather than loaddefs.el.
20512 * mail/rmail.el: Regenerate with extracted autoloads.
20514 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
20515 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
20517 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
20519 Reported in thread for Bug#4375.
20520 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
20521 "-data-evaluate-expression" instead of print.
20522 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
20523 (gdb-tooltip-print): Parse output from above MI command.
20524 (gdb): Revert 2009-08-11 change. User should detach inferior
20527 Remove the word "separate" from IO functions as inferior
20528 output is now never displayed in the GUD buffer.
20530 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
20532 * startup.el (command-line-normalize-file-name): On Windows and
20533 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
20535 2009-09-10 Juri Linkov <juri@jurta.org>
20537 * isearch.el (isearch-text-char-description): Propertize escape
20538 character sequences with the `escape-glyph' face. (Bug#4344)
20540 * simple.el (shell-command): Set asynchronous process filter to
20541 `comint-output-filter'. (Bug#4343)
20543 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
20544 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
20545 the list. Move "asm" to the bottom.
20546 (grep-find-ignored-directories): Add `choice' with nil value
20547 to empty the list easily.
20548 (grep-find-ignored-files): New option.
20549 (grep-files-history): Set to nil by default instead of '("ch" "el").
20550 (grep-compute-defaults): Add "<X>" to `grep-template'.
20551 (grep-read-files): Bind new local variables `default-alias' and
20552 `default-extension'. Use a list of default values for the file prompt.
20553 (lgrep): Add `--exclude=' command line options composed from
20554 `grep-find-ignored-files'.
20555 (rgrep): Add `-name' command line options composed from
20556 `grep-find-ignored-files'. (Bug#4301)
20558 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
20560 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
20563 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
20565 * calendar/time-date.el (autoload):
20566 Expand define-obsolete-function-alias into defalias and make-obsolete
20567 for old Emacsen that Gnus supports.
20568 (with-no-warnings): Define it for old Emacsen.
20569 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
20571 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
20572 float-time is available; suppress compile warning for time-to-seconds.
20574 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
20576 * net/imap.el (imap-message-map): Docstring fix.
20578 2009-09-09 Glenn Morris <rgm@gnu.org>
20580 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
20581 line numbers too. (Bug#4374)
20583 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
20585 * smerge-mode.el (smerge-remove-props, smerge-refine):
20586 Use with-silent-modifications (bug#4342).
20588 * subr.el (with-silent-modifications): New macro.
20590 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
20592 * files.el (top-level): Require `cl' when compiling.
20594 2009-09-07 Glenn Morris <rgm@gnu.org>
20596 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
20598 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
20599 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
20601 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
20603 * vc-git.el (vc-git-annotate-command): Use separator to parse
20604 arguments correctly.
20606 2009-09-06 Eli Zaretskii <eliz@gnu.org>
20608 * proced.el (proced-mode): Doc fix.
20610 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
20612 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
20614 (tramp-do-file-attributes-with-ls): Check for file existence at
20616 (tramp-do-file-attributes-with-stat): Likewise.
20617 (tramp-convert-file-attributes): Return nil when attr is nil.
20619 2009-09-05 Glenn Morris <rgm@gnu.org>
20621 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
20622 properties to this button.
20623 (diary-fancy-display): Don't extend the button to the final newline.
20624 (diary-fancy-display-mode): Continue to define "q" as a local key.
20626 * calendar/cal-china.el (holiday-chinese): Make it slightly more
20629 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
20631 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
20632 (byte-compile-dest-file-function): New option.
20633 (byte-compile-dest-file): Doc fix.
20634 Obey byte-compile-dest-file-function.
20635 (byte-compile-cl-file-p): New function.
20636 (byte-compile-eval): Only suppress noruntime warnings about cl functions
20637 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
20638 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
20639 than for file being previously loaded.
20640 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
20641 (byte-compile-file-form-require): Handle the case where requiring a file
20642 indirectly causes CL to be loaded.
20644 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20646 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
20647 before killing the old buffer, since by the time `kill-buffer' is
20648 run so many buffer variables have been set to nil that it may not
20649 behave as expected. (Bug#4061)
20651 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20653 * files.el (find-alternate-file): If the old buffer is modified
20654 and visiting a file, behave similarly to `kill-buffer' when
20655 killing it, thus reverting to the pre-1.878 behavior; see
20656 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
20657 for discussion. Also, consult `buffer-file-name' as a variable
20658 not as a function, for consistency with the rest of the code.
20660 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
20662 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
20663 also when adding a new directory.
20665 * net/tramp-compat.el (tramp-compat-line-beginning-position):
20668 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
20670 * files.el (locate-file-completion-table): Make it provide boundary
20671 information, so partial-completion works better.
20673 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
20675 * mail/footnote.el (Footnote-text-under-cursor):
20676 Check footnote-text-marker-alist before using it (bug#4324).
20678 2009-09-04 Glenn Morris <rgm@gnu.org>
20680 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
20681 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
20682 * play/solitaire.el, play/tetris.el:
20683 Remove leading * from defcustom and defface docs.
20685 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
20687 (diary-fancy-overriding-map): New variable.
20688 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
20691 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
20694 2009-09-03 Glenn Morris <rgm@gnu.org>
20696 * arc-mode.el (archive-mode):
20697 * dos-fns.el (set-default-process-coding-system):
20698 * man.el (Man-getpage-in-background):
20699 * menu-bar.el (menu-bar-describe-menu):
20700 * server.el (server-process-filter):
20701 * startup.el (command-line):
20702 * tar-mode.el (tar-header-block-tokenize, tar-extract):
20703 * w32-fns.el (set-default-process-coding-system):
20704 * x-dnd.el (x-dnd-handle-file-name):
20705 * international/mule-cmds.el (mule-menu-keymap)
20706 (set-default-coding-systems, language-info-alist, set-language-info)
20707 (set-language-environment, standard-display-european-internal)
20708 (set-locale-environment):
20709 * international/mule-diag.el (mule-diag):
20710 * mail/emacsbug.el (report-emacs-bug):
20711 * mail/rmail.el (rmail-mode):
20712 * mail/sendmail.el (mail-setup):
20713 Use default-value rather than default-enable-multibyte-characters.
20715 * progmodes/f90.el: Move all safe properties into the defcustoms.
20716 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
20718 * calendar/appt.el (appt-check):
20719 * calendar/diary-lib.el (diary-set-header, diary-live-p)
20720 (diary-check-diary-file, diary-list-entries)
20721 (diary-include-other-diary-files, diary-simple-display)
20722 (diary-fancy-display, diary-print-entries)
20723 (diary-mark-included-diary-files, diary-make-entry):
20724 Don't call substitute-in-file-name on diary-file.
20726 2009-09-03 Eduard Wiebe <usenet@pusto.de>
20727 Stefan Monnier <monnier@iro.umontreal.ca>
20729 * mail/footnote.el (footnote-prefix): Make it a defcustom.
20730 (footnote-mode-map): Move initialization into the declaration.
20731 (footnote-minor-mode-map): Define it rather than changing global-map.
20732 (footnote-mode): Use define-minor-mode.
20734 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
20736 * net/tramp.el (tramp-handle-file-attributes-with-ls)
20737 (tramp-do-file-attributes-with-perl)
20738 (tramp-do-file-attributes-with-stat): Rename from
20739 `tramp-handle-file-attributes-with-*'.
20740 (tramp-handle-file-attributes): Use them.
20741 (tramp-do-directory-files-and-attributes-with-perl)
20742 (tramp-do-directory-files-and-attributes-with-stat): Rename from
20743 `tramp-handle-directory-files-and-attributes-with-*'.
20744 (tramp-handle-directory-files-and-attributes): Use them.
20745 (tramp-method-out-of-band-p): Additional parameter SIZE.
20746 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
20747 (tramp-handle-write-region): Use it.
20748 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
20749 (tramp-handle-vc-registered): Check, whether the first run did
20750 return files to be tested.
20751 (tramp-advice-make-auto-save-file-name): Do not call directly
20752 `tramp-handle-make-auto-save-file-name', because this would bypass
20753 the locking mechanism.
20755 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
20756 (file-remote-p, process-file, start-file-process, set-file-times)
20757 (tramp-compat-file-attributes): Compatibility functions shall not
20758 call directly `tramp-handle-*', because this would bypass the
20760 (tramp-compat-number-sequence): New defun.
20762 2009-09-02 Glenn Morris <rgm@gnu.org>
20764 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
20765 alias for float-time.
20766 (time-to-number-of-days): In Emacs, use float-time.
20767 * net/newst-backend.el (time-add): Suppress warnings from compat
20769 * time.el (emacs-uptime, emacs-init-time):
20770 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
20771 Use float-time rather than time-to-seconds.
20773 * minibuffer.el (completion-initials-expand): Fix typo.
20775 * faces.el (modeline, modeline-inactive, modeline-highlight)
20776 (modeline-buffer-id):
20777 * info.el (info-menu-5): Mark these face aliases as obsolete.
20779 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20781 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
20783 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
20784 no "--thread" option.
20785 (gdb-stopped): Don't print "Switched to thread" message when it is
20788 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
20790 * minibuffer.el (completion-try-completion)
20791 (completion-all-completions): Remove ill-defined (and
20792 mistakenly installed and luckily never used nor documented)
20793 `completion-styles' property.
20794 (completion-initials-expand, completion-initials-all-completions)
20795 (completion-initials-try-completion): New functions.
20796 (completion-styles-alist): Add doc to each entry.
20797 Add new `initials' entry.
20799 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20801 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20802 MI command -var-evaluate-expression.
20803 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20804 and tweak for case of string child.
20805 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20807 2009-09-01 Glenn Morris <rgm@gnu.org>
20809 * add-log.el (change-log-date-face, change-log-name-face)
20810 (change-log-email-face, change-log-file-face, change-log-list-face)
20811 (change-log-conditionals-face, change-log-function-face)
20812 (change-log-acknowledgement-face):
20813 * cus-edit.el (custom-invalid-face, custom-rogue-face)
20814 (custom-modified-face, custom-set-face, custom-changed-face)
20815 (custom-saved-face, custom-button-face, custom-button-pressed-face)
20816 (custom-documentation-face, custom-state-face, custom-comment-face)
20817 (custom-comment-tag-face, custom-variable-tag-face)
20818 (custom-variable-button-face, custom-face-tag-face)
20819 (custom-group-tag-face-1, custom-group-tag-face):
20820 * diff-mode.el (diff-header-face, diff-file-header-face)
20821 (diff-index-face, diff-hunk-header-face, diff-removed-face)
20822 (diff-added-face, diff-changed-face, diff-function-face)
20823 (diff-context-face, diff-nonexistent-face):
20824 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20825 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20826 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20827 (Info-title-4-face):
20828 * isearch.el (isearch-lazy-highlight-face):
20829 * log-view.el (log-view-file-face, log-view-message-face):
20830 * paren.el (show-paren-match-face, show-paren-mismatch-face):
20831 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20832 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20834 * smerge-mode.el (smerge-mine-face, smerge-other-face)
20835 (smerge-base-face, smerge-markers-face):
20836 * wid-edit.el (widget-documentation-face, widget-button-face)
20837 (widget-field-face, widget-single-line-field-face)
20838 (widget-inactive-face, widget-button-pressed-face):
20839 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20840 (woman-addition-face):
20841 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20842 (eshell-ls-executable-face, eshell-ls-readonly-face)
20843 (eshell-ls-unreadable-face, eshell-ls-special-face)
20844 (eshell-ls-missing-face, eshell-ls-archive-face)
20845 (eshell-ls-backup-face, eshell-ls-product-face)
20846 (eshell-ls-clutter-face):
20847 * eshell/em-prompt.el (eshell-prompt-face):
20848 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20849 * obsolete/old-whitespace.el (whitespace-highlight-face):
20850 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20851 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20852 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20853 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20854 (antlr-font-lock-literal-face):
20855 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20856 (ebrowse-root-class-face, ebrowse-file-name-face)
20857 (ebrowse-default-face, ebrowse-member-attribute-face)
20858 (ebrowse-member-class-face, ebrowse-progress-face):
20859 * progmodes/make-mode.el (makefile-space-face):
20860 * progmodes/sh-script.el (sh-heredoc-face):
20861 * textmodes/flyspell.el (flyspell-incorrect-face)
20862 (flyspell-duplicate-face):
20863 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20864 * textmodes/texinfo.el (texinfo-heading-face):
20865 Mark face aliases with "-face" suffix as obsolete.
20867 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20870 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20871 (eudc-bob-sound-menu): Use defvar rather than defconst, since
20872 easy-menu-define wants to modify these.
20874 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20876 * net/browse-url.el (browse-url-file-url):
20877 * term/internal.el (dos-codepage-setup):
20878 Use default-value rather than default-enable-multibyte-characters.
20880 * progmodes/etags.el (etags-goto-tag-location):
20881 * progmodes/flymake.el (flymake-highlight-line)
20882 (flymake-goto-file-and-line, flymake-goto-line):
20883 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20884 (gdb-goto-breakpoint):
20885 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20886 * progmodes/python.el (python-find-function)
20887 (python-pdbtrack-track-stack-file):
20888 * progmodes/verilog-mode.el (verilog-surelint-off):
20889 * term/ns-win.el (ns-open-file-select-line):
20890 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20891 Use forward-line rather than goto-line.
20893 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20894 * textmodes/reftex-index.el (reftex-display-index):
20895 * textmodes/reftex-ref.el (reftex-offer-label-menu):
20896 * textmodes/reftex-toc.el (reftex-toc):
20897 Remove unnecessary bindings of default-major-mode (all are followed by
20898 major-mode check and possible mode switch).
20900 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20902 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20903 Handle watchpoints (bug#4282).
20904 (def-gdb-thread-buffer-command): Enable thread to be selected by
20905 clicking without selecting threads buffer first.
20906 (gdb-current-context-command): Use selected frame so that "up",
20907 "down" etc work in the GUD buffer.
20908 (gdb-update): Find selected frame before rendering stack buffer.
20909 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20911 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
20913 * progmodes/sym-comp.el (displayed-completions): Remove.
20914 (symbol-complete): Use minibuffer-complete.
20916 2009-08-31 Glenn Morris <rgm@gnu.org>
20918 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20920 * apropos.el (apropos-symbols-internal):
20921 Handle (obsolete) face aliases.
20923 * faces.el (describe-face): Adjust the output format to be more like
20924 describe-variable, and to mention (obsolete) face aliases.
20925 Adjust the whitespace so that help-setup-xref works.
20927 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20928 * calendar/diary-lib.el (diary-button-face):
20929 Mark these face aliases as obsolete.
20931 * calendar/calendar.el (calendar-today): Doc fix.
20933 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20935 * progmodes/gdb-mi.el (gdb-control-all-threads)
20936 (gdb-control-current-thread): Force tool bar update.
20937 (gdb-non-stop-handler): New function.
20938 (gdb-init-1): Use it to test if non-stop mode is supported.
20939 Remove unused gdbmi buffer type.
20941 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
20943 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20944 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
20946 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
20948 * comint.el (comint-exec-1): Check command is non-null first.
20949 Part of gdb-mi.el change (2009-08-28).
20951 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20953 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20955 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
20957 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20958 instead of `dolist' to avoid a recursive require when bootstrapping.
20960 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20962 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20964 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20966 * net/imap.el (imap-send-command): Simplify.
20967 (imap-wait-for-tag): point-max -> buffer-size.
20969 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20971 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20972 with constant argument.
20974 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20976 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20978 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20979 Change default, since most of our files don't have a history.
20980 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20983 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20986 * calc/calc.el: Improve commenting convention.
20987 (calc-digit-map, toplevel): Simplify.
20989 * comint.el (comint-insert-input): Be careful to only set point if we
20990 don't delegate to some other command.
20992 * proced.el (proced-signal-list): Make it an alist.
20993 (proced-grammar-alist): Capitalize names.
20994 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20995 Disable undo manually and make it read-only.
20996 Use completion-annotate-function.
20998 * minibuffer.el (minibuffer-message): If the current buffer is not
20999 a minibuffer, insert the message in the echo area rather than at the
21001 (completion-annotate-function): New variable.
21002 (minibuffer-completion-help): Use it.
21003 (completion--embedded-envvar-table): Environment vars are
21004 always case-sensitive.
21006 2009-08-30 Glenn Morris <rgm@gnu.org>
21008 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
21009 from fortran-current-defun.
21010 (fortran-beginning-of-subprogram): Be more precise about finding the
21011 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
21012 (fortran-end-of-subprogram): Simplify.
21013 (fortran-current-defun): Use fortran-start-prog-re.
21015 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
21017 * subr.el (do-after-load-evaluation): Simplify.
21019 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
21021 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
21023 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
21024 (vc-rcs-print-log): Use it.
21026 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
21028 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
21030 * paths.el (abbrev-file-name): Move to abbrev.el.
21031 * abbrev.el (abbrev-file-name): Move from paths.el.
21032 Obey user-emacs-directory.
21033 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
21034 user-emacs-directory.
21035 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
21036 abbrev-file-name and calc-settings-file any more.
21037 * startup.el (command-line): Recompute abbrev-file-name and
21038 abbreviated-home-dir.
21039 (normal-no-mouse-startup-screen): Improve the generic code and get rid
21040 of the special code for when C-h bindings haven't been changed.
21041 (display-startup-echo-area-message): Use with-current-buffer.
21042 (command-line-1): Use a list of strings, rather than a list of lists
21043 of strings for longopts.
21045 * files.el (get-free-disk-space): Use / for default-directory.
21047 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
21048 Use with-current-buffer.
21050 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
21051 Recognize immutable variables like most-positive-fixnum.
21052 (byte-compile-setq-default): Check and warn if trying to assign
21053 to an immutable variable, or a non-variable.
21055 * progmodes/cc-vars.el (c-comment-continuation-stars):
21056 * progmodes/cc-engine.el (c-looking-at-bos):
21057 * progmodes/cc-cmds.el (c-toggle-auto-state)
21058 (c-forward-into-nomenclature, c-backward-into-nomenclature)
21059 (c-comment-line-break-function): Add version of obsolescence.
21061 2009-08-28 Juri Linkov <juri@jurta.org>
21063 * files.el (magic-fallback-mode-alist): Add ZIP magic number
21064 associated with `archive-mode'.
21066 * image.el (image-type-header-regexps): Use only JPEG magic number
21067 to determine JPEG images, and don't use `image-jpeg-p' because
21068 Emacs can display non-JFIF non-Exif JPEG images.
21070 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
21072 * arc-mode.el (archive-mode):
21073 * emacs-lisp/re-builder.el (re-builder-unload-function):
21074 Protect against the default value of `major-mode' being nil.
21076 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
21078 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
21079 Fix typos in docstrings.
21081 * progmodes/js.el (js--macro-decl-re): Doc fix.
21082 (js--plain-method-re, js--split-name): Refloc docstring.
21083 (js--class-styles, js--make-merged-item, js--splice-into-items):
21084 Fix typos in docstrings; reflow docstrings.
21085 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
21086 (js--variable-decl-matcher, js--inside-pitem-p)
21087 (js--parse-state-at-point, js--get-all-known-symbols)
21088 (js--symbol-history, js-find-symbol, js--js-references)
21089 (js--moz-interactor, js--js-encode-value, js--read-tab):
21090 Fix typos in docstrings.
21092 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21094 * textmodes/reftex.el (reftex-get-file-buffer-force):
21095 * progmodes/verilog-mode.el (verilog-batch-execute-func):
21096 * emulation/viper.el (viper-go-away, viper-set-hooks):
21097 * emacs-lisp/re-builder.el (re-builder-unload-function):
21098 * emacs-lisp/bytecomp.el (byte-compile-file):
21099 * ses.el (ses-unload-function):
21100 * hexl.el (hexl-find-file):
21101 * files.el (normal-mode):
21102 * ehelp.el (with-electric-help):
21103 * autoinsert.el (auto-insert-alist):
21104 * arc-mode.el (archive-mode):
21105 Use (default-value 'major-mode) instead of default-major-mode.
21107 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
21108 * international/mule.el (load-with-code-conversion):
21109 * emacs-lisp/debug.el (debug):
21110 * ediff-vers.el (ediff-rcs-get-output-buffer):
21111 * dired.el (dired-internal-noselect): Don't let-bind
21112 default-major-mode around code that doesn't use it.
21113 E.g. buffer creation via get-buffer-create doesn't use it.
21115 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
21117 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
21118 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
21119 when writing the temp file. Otherwise, epa-file gets confused.
21120 (tramp-register-file-name-handlers): Make it a defun. Move also
21121 `epa-file-handler' to the front of `file-name-handler-alist'.
21123 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21125 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
21126 start right after a ^M.
21127 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
21128 (tramp-completion-file-name-regexp-separate)
21129 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
21130 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
21131 Don't modify last-coding-system-used by accident.
21132 (tramp-completion-file-name-handler): Apply the checks here,
21133 instead during registration.
21134 (tramp-register-file-name-handlers): Rename from
21135 `tramp-register-file-name-handler'. Register both
21136 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
21137 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
21139 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
21141 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
21142 Remove variable ...
21143 (gdb-init-1, gdb-display-separate-io-buffer)
21144 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
21146 (gdb-inferior-io-mode): Use make-comint-in-buffer.
21147 (gdb-inferior-filter): Use comint-output-filter to stop
21148 echoing and remove ^M characters.
21150 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21152 * emulation/viper-init.el (viper-restore-cursor-type):
21153 * emulation/cua-base.el (cua--update-indications):
21154 Replace default-cursor-type with (default-value 'cursor-type).
21156 * mail/sendmail.el (mail-recover-1):
21157 * international/mule-diag.el (describe-current-coding-system-briefly)
21158 (describe-current-coding-system):
21159 * international/mule-cmds.el (select-safe-coding-system)
21160 (select-message-coding-system)
21161 (set-language-environment-coding-systems, set-locale-environment):
21162 * hexl.el (hexl-insert-multibyte-char):
21163 * dos-w32.el (find-buffer-file-type-coding-system):
21164 * simple.el (what-cursor-position):
21165 Replace uses of default-buffer-file-coding-system
21166 with (default-value 'buffer-file-coding-system).
21168 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
21169 Replace uses of default-cursor-in-non-selected-windows
21170 with (default-value 'cursor-in-non-selected-windows).
21171 Use with-current-buffer.
21173 * mail/feedmail.el: Use CL macros.
21174 (feedmail-run-the-queue, feedmail-send-it-immediately):
21175 * dos-w32.el (find-buffer-file-type): Replace uses of
21176 default-buffer-file-type with (default-value 'buffer-file-type).
21178 2009-08-28 Glenn Morris <rgm@gnu.org>
21180 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
21181 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
21182 Use default-value of major-mode rather than default-major-mode.
21184 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
21186 * Makefile.in (update-elcfiles): Report left over elc files.
21188 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
21189 expand-file-name and with-current-buffer.
21190 (mail-get-names, mail-directory): Use with-current-buffer.
21192 * vc.el (vc-read-revision): New function.
21193 (vc-version-diff, vc-merge): Use it.
21195 2009-08-27 Sam Steingold <sds@gnu.org>
21197 * simple.el (kill-do-not-save-duplicates): New user option.
21198 (kill-new): When it is non-nil, and the new string is the same as
21199 the latest kill, set replace to t to avoid duplicates in kill-ring.
21201 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
21203 * net/tramp.el (tramp-handle-process-file): Do not flush all
21204 caches when `process-file-side-effects' is set.
21205 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
21206 instead of `tramp-find-file-exists-command'.
21207 Unset `process-file-side-effects'.
21209 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
21211 * net/tramp.el (tramp-methods): New method "rsyncc".
21212 (top): Add completion function for "rsyncc".
21213 (tramp-message-show-message): New defvar.
21214 (tramp-message, tramp-error): Use it.
21215 (tramp-do-copy-or-rename-file-directly): Extend check for direct
21217 (tramp-do-copy-or-rename-file-out-of-band): Handle new
21218 `tramp-methods' entry `copy-env' of "rsyncc".
21219 (tramp-vc-registered-read-file-names): New defconst.
21220 (tramp-vc-registered-file-names): New defvar.
21221 (tramp-handle-vc-registered): Implement optimization strategy.
21222 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
21223 (tramp-vc-file-name-handler): New defun.
21224 (tramp-get-ls-command, tramp-get-test-command)
21225 (tramp-get-file-exists-command, tramp-get-remote-ln)
21226 (tramp-get-remote-perl, tramp-get-remote-stat)
21227 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
21229 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
21230 (tramp-cache-inhibit-cache): Extend doc string. It allows also
21232 (tramp-get-file-property): Check for timestamps in
21233 `tramp-cache-inhibit-cache'.
21234 (tramp-set-file-property): Write timestamp.
21236 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21238 * language/japan-util.el (japanese-symbol-table): Add entries for
21241 * international/characters.el: Add category `j' to cp932-2-byte.
21243 2009-08-27 Kenichi Handa <handa@m17n.org>
21245 * international/fontset.el (build-default-fontset-data): New macro.
21246 (setup-default-fontset): Use build-default-fontset-data for CJK,
21247 tibetan, ethiopic, and ipa.
21249 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
21251 * cus-start.el (default-major-mode): Customize `major-mode' instead.
21252 (enable-multibyte-characters): Not customizable any more.
21254 * subr.el (default-mode-line-format, default-header-line-format)
21255 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
21256 (default-direction-reversed, default-truncate-lines)
21257 (default-left-margin, default-tab-width, default-case-fold-search)
21258 (default-left-margin-width, default-right-margin-width)
21259 (default-left-fringe-width, default-right-fringe-width)
21260 (default-fringes-outside-margins, default-scroll-bar-width)
21261 (default-vertical-scroll-bar, default-indicate-empty-lines)
21262 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
21263 (default-fringe-cursor-alist, default-scroll-up-aggressively)
21264 (default-scroll-down-aggressively, default-fill-column)
21265 (default-cursor-type, default-buffer-file-type)
21266 (default-cursor-in-non-selected-windows)
21267 (default-buffer-file-coding-system, default-major-mode)
21268 (default-enable-multibyte-characters): Mark as obsolete.
21270 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
21272 * vc-dir.el (vc-dir-update): Remove debug helper.
21274 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
21276 2009-08-26 Sam Steingold <sds@gnu.org>
21278 * simple.el (save-interprogram-paste-before-kill): New user option.
21279 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
21280 save the interprogram-paste into kill-ring before overriding it
21281 with the Emacs kill.
21283 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
21285 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
21286 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
21287 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
21288 and move to vc-rcs.el.
21289 (vc-default-next-revision): Rename to vc-rcs-next-revision and
21291 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
21292 (vc-rcs-update-changelog): Remove.
21293 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
21294 and move to vc-rcs.el.
21296 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
21297 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
21299 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
21300 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
21301 vc.el, renamed to be RCS specific.
21303 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
21305 (vc-cvs-update-changelog): Move here from vc.el.
21307 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
21310 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
21312 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
21314 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
21316 * vc-git.el (vc-git-register): Use "git add" for directories.
21317 (vc-git-stash, vc-git-stash-show): New functions.
21318 (vc-git-extra-menu-map): Bind them.
21320 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
21321 directory correctly in case the item is a directory itself.
21323 * vc.el: Document the desired behavior for reverted files in the
21325 (vc-default-prettify-state-info): Remove function, unused.
21327 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
21329 2009-08-26 Glenn Morris <rgm@gnu.org>
21331 * bindings.el (standard-mode-line-format): Reposition dashes in
21332 which-func entry. (Bug#4217)
21334 * files.el (enable-local-variables, enable-local-eval)
21335 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
21337 (auto-mode-alist, ignored-local-variables)
21338 (save-some-buffers-action-alist): Move risky declarations to the
21340 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
21341 (font-lock-defaults, format-alist, imenu--index-alist)
21342 (imenu-generic-expression, input-method-alist, minor-mode-alist)
21343 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
21344 (mode-line-modified, mode-line-mule-info, mode-line-position)
21345 (mode-line-process, mode-line-remote, outline-level)
21346 (parse-time-rules, rmail-output-file-alist)
21347 (special-display-buffer-names, vc-mode):
21348 Move risky declarations to the relevant files.
21349 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
21350 (mode-line-modified, mode-line-process, mode-line-position)
21351 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
21352 * font-core.el (font-lock-defaults):
21353 * format.el (format-alist):
21354 * vc-hooks.el (vc-mode):
21355 * window.el (special-display-buffer-names):
21356 * international/mule-cmds.el (input-method-alist):
21357 Define riskiness here (dumped file) rather than in files.el.
21358 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
21359 * imenu.el (imenu-generic-expression, imenu--index-alist):
21360 * outline.el (outline-level):
21361 * time.el (display-time-string):
21362 * calendar/parse-time.el (parse-time-rules):
21363 * mail/rmailout.el (rmail-output-file-alist):
21364 Autoload riskiness here, rather than placing in files.el.
21366 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
21368 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
21370 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
21372 * simple.el (process-file-side-effects): New defvar.
21374 * dired-aux.el (dired-show-file-type):
21375 * vc.el (vc-diff-internal):
21376 * vc-arch.el (vc-arch-diff):
21377 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
21378 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
21379 * vc-git.el (vc-git-registered, vc-git-working-revision)
21380 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
21381 (vc-git--empty-db-p):
21382 * vc-hooks.el (vc-user-login-name):
21383 * vc-svn.el (vc-svn-registered, vc-svn-state)
21384 (vc-svn-dir-extra-headers, vc-svn-find-revision):
21385 * progmodes/grep.el (grep-probe): Let-bind
21386 `process-file-side-effects' with nil.
21388 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
21390 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
21391 daemon. Replace ping by checking for running service for bluez
21392 and zeroconf. (Bug#4239)
21394 2009-08-25 Kevin Ryde <user42@zip.com.au>
21396 * net/dig.el (dig): Add autoload cookie.
21398 2009-08-25 Glenn Morris <rgm@gnu.org>
21400 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
21401 load-history for absolute file-names.
21402 (byte-compile-file-form-require): Warn about use of the cl package.
21404 * format.el (format-alist): Doc fix.
21406 * play/bubbles.el (top-level): Don't require cl at run-time.
21408 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
21411 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
21413 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
21415 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
21417 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
21419 * calc/calc-alg.el (math-trig-rewrite)
21420 (math-hyperbolic-trig-rewrite): New functions.
21421 (calc-simplify): Simplify trig functions when asked.
21423 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21425 * diff-mode.el (diff-find-source-location): Avoid goto-line.
21427 2009-08-24 Kenichi Handa <handa@m17n.org>
21429 * language/ind-util.el (mapthread): Delete it.
21430 (combinatorial): New function.
21431 (indian--puthash-cv): Use combinatorial instead of mapthread.
21433 2009-08-22 Kevin Ryde <user42@zip.com.au>
21435 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
21436 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
21437 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
21438 Clarify docstring that the value is strings not symbols.
21439 (checkdoc-list-of-strings-p): New function.
21441 2009-08-22 Glenn Morris <rgm@gnu.org>
21443 * files.el (auto-mode-alist):
21444 * hippie-exp.el (he-concat-directory-file-name):
21445 * lpr.el (lpr-windows-system, printer-name):
21446 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
21447 * ps-print.el (ps-windows-system):
21448 * startup.el (command-line):
21449 * emulation/viper-ex.el (viper-glob-function):
21450 * international/mule-cmds.el (set-language-environment-coding-systems):
21451 * net/ange-ftp.el (ange-ftp-write-region):
21452 * obsolete/fast-lock.el (fast-lock-cache-name):
21453 Remove code for defunct system-types emx, macos, mswindows, next-mach,
21454 unisoft-unix, vax-vms, win32, w32.
21456 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
21457 given name if the pattern is not more specific.
21459 * calendar/lunar.el (lunar-phase-names): New option.
21460 (lunar-phase): Doc fix.
21461 (lunar-cycles-per-year): New constant.
21462 (lunar-index): New function.
21463 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
21464 (lunar-phase-name): Use lunar-phase-names.
21465 (calendar-lunar-phases): Use format.
21466 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
21468 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
21469 Copy imenu-example--name-and-position function here for own use.
21470 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
21472 * bs.el (bs--redisplay):
21473 * cus-edit.el (custom-redraw):
21474 * ibuffer.el (ibuffer-bury-buffer):
21475 * server.el (server-goto-line-column):
21476 * startup.el (command-line-1):
21477 * strokes.el (strokes-xpm-for-stroke):
21478 * term.el (term-display-buffer-line):
21479 * view.el (View-goto-line):
21480 * calc/calc.el (calc-do, calc-trail-buffer):
21481 * play/gamegrid.el (gamegrid-add-score-insecure):
21482 * progmodes/ada-mode.el (ada-compile-goto-error):
21483 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
21484 (ebrowse-select-1st-to-9nth):
21485 * progmodes/cperl-mode.el (cperl-time-fontification):
21486 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
21487 * progmodes/gud.el (gud-display-line):
21488 (idlwave-shell-display-line):
21489 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
21490 * progmodes/make-mode.el (makefile-browser-toggle):
21491 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
21492 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
21493 * textmodes/picture.el (picture-draw-rectangle):
21494 * textmodes/reftex-index.el (reftex-index-goto-letter):
21495 (reftex-select-jump-to-previous):
21496 * textmodes/reftex-sel.el (reftex-find-start-point)
21497 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
21498 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
21499 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
21500 * textmodes/tex-mode.el (tex-compilation-parse-errors):
21501 * textmodes/two-column.el (2C-associated-buffer):
21502 Use forward-line rather than goto-line.
21504 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
21507 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
21508 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
21509 (quick-check-list-to-regexp): Declare.
21511 * progmodes/make-mode.el (makefile-browser-insert-selection):
21512 Use goto-char rather than goto-line.
21514 * progmodes/prolog.el (compilation-error-regexp-alist)
21515 (compilation-forget-errors): Declare.
21517 2009-08-22 Juri Linkov <juri@jurta.org>
21519 * progmodes/grep.el (lgrep, rgrep): At the beginning
21520 set `dir' to `default-directory' unless `dir' is a non-nil
21521 readable directory. (Bug#4052)
21522 (lgrep, rgrep): Change a weird way to report an error
21523 from using `read-string' to using `error'.
21524 Instead of using interactive arguments in the function body,
21525 add new argument `confirm'.
21527 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
21529 * textmodes/remember.el (remember-buffer):
21530 * progmodes/cperl-mode.el (cperl-vc-header-alist):
21531 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
21532 (icalendar-extract-ical-from-buffer):
21533 * net/newst-treeview.el (newsticker-groups-filename):
21534 * net/newst-backend.el (newsticker-cache-filename):
21535 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
21536 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
21537 (speedbar-add-ignored-path-regexp, speedbar-line-path)
21538 (speedbar-buffers-line-path, speedbar-path-line)
21539 (speedbar-buffers-line-path):
21540 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
21542 * epa.el (epa-display-verify-result):
21543 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
21545 2009-08-21 Glenn Morris <rgm@gnu.org>
21547 * progmodes/js.el (inferior-moz-process): Fix declaration.
21549 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
21551 * obsolete/rnewspost.el (news-mail-reply):
21552 Use goto-char rather than goto-line.
21554 * term/ns-win.el (ns-open-file-select-line):
21555 Use line-beginning-position rather than goto-line.
21557 * apropos.el (apropos-command):
21558 * ehelp.el (electric-helpify):
21559 * printing.el (pr-show-setup):
21560 * strokes.el (strokes-help):
21561 * tutorial.el (tutorial--describe-nonstandard-key)
21562 (tutorial--detailed-help):
21563 * woman.el (woman-mini-help, woman-display-extended-fonts):
21564 * calc/calc-help.el (calc-describe-key):
21565 * emulation/edt.el (edt-electric-helpify):
21566 * international/mule-diag.el (mule-diag):
21567 * play/yow.el (apropos-zippy):
21568 * progmodes/python.el (python-describe-symbol):
21569 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
21570 * textmodes/table.el (*table--cell-describe-mode)
21571 (*table--cell-describe-bindings):
21572 Use help-print-return-message rather than the now obsolete alias.
21574 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
21575 (calendar-cursor-to-visible-date):
21576 * play/5x5.el (5x5-position-cursor):
21577 * play/decipher.el (decipher):
21578 * play/gomoku.el (gomoku-goto-xy):
21579 * play/landmark.el (lm-goto-xy):
21580 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
21581 (mpuz-paint-digit):
21582 Use forward-line, not goto-line.
21584 * mail/rmail.el (rmail-obsolete): Delete custom group.
21585 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
21586 (rmail-remote-password, rmail-remote-password-required):
21587 Remove unneeded :set-after and :set properties.
21589 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
21591 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
21593 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
21595 * loadup.el: Remove leftover macos code.
21597 * vc-git.el (vc-git-annotate-command): Run asynchronously.
21598 Explicitly pass the date format to git blame so that user local
21599 so that the output format can be parsed.
21601 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
21603 * net/dbus.el (top): Don't check for (getenv
21604 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
21606 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
21608 * log-edit.el (log-edit-strip-single-file-name): New var.
21609 (log-edit-insert-changelog): Use it. Bug#3571.
21611 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21613 * subr.el (read-passwd): Use read-key so keypad keys work as well.
21616 * help.el (help-print-return-message): Rename from
21617 print-help-return-message.
21619 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
21620 cvs-mode-map parent hack.
21621 (log-view-mode): Derive from special-mode.
21623 * linum.el (linum-mode): window-size-change-functions is redundant.
21624 Adapt to new window-configuration-change-hook behavior.
21625 (linum-after-size, linum-after-config): Remove.
21627 * imenu.el (imenu-example--name-and-position)
21628 (imenu-example--lisp-extract-index-name)
21629 (imenu-example--create-lisp-index, imenu-example--create-c-index):
21632 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
21633 (inferior-prolog-mode): Use it.
21634 (inferior-prolog-load-file): Reset list of errors.
21636 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21638 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
21640 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
21642 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
21644 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
21645 is running already.
21647 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21649 * subr.el (listify-key-sequence-1): Use normal syntax since those
21650 integers are nowadays always represented by the same (positive) number
21652 (read-key-empty-map): New const.
21653 (read-key-delay): New var.
21654 (read-key): New function.
21655 (force-mode-line-update): Use with-current-buffer.
21656 (locate-user-emacs-file): Don't forget to abbreviate the file name.
21657 (start-process-shell-command, start-file-process-shell-command):
21658 Discourage the use of command-args.
21660 2009-08-19 Glenn Morris <rgm@gnu.org>
21662 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
21664 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21666 * simple.el (choose-completion-string): Don't rely on
21667 minibuffer-completing-file-name and ad-hoc checks to decide whether
21668 to continue completion or not.
21670 * minibuffer.el (minibuffer-hide-completions): New function.
21671 (completion--do-completion): Use it.
21672 (completions-annotations): New face.
21673 (completion--insert-strings): Use it.
21674 (completion-pcm--delim-wild-regex): Add docstring.
21675 (completion-pcm--string->pattern): Add support for 0-width delimiters
21676 in completion-pcm--delim-wild-regex.
21678 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
21680 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
21681 Remove unused var `buffer-modified-p'.
21683 * minibuffer.el (completion--do-completion): Move point for the #b001
21684 case as well (bug#4176).
21685 (minibuffer-complete, minibuffer-complete-word): Don't move point.
21687 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
21689 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
21690 and :session buses.
21692 2009-08-18 Kenichi Handa <handa@m17n.org>
21694 * international/ucs-normalize.el (ucs-normalize-version):
21696 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
21697 (utf-8-hfs): Make it perform normalization on encoding too.
21699 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
21700 (sentence-end-without-space): Delete duplicated chars.
21701 (sentence-end-base): Likewise.
21703 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
21704 (html-mode): Delete duplicated chars from sentence-end-base.
21706 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
21707 (texinfo-mode): Delete duplicated chars from sentence-end-base.
21709 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
21711 * files.el (hack-one-local-variable): If the mode function is for
21712 a minor mode, pass it an argument (Bug#4148).
21714 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
21716 * net/tramp.el (tramp-register-completion-file-name-handler):
21717 Check also for (member 'partial-completion completion-styles).
21719 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21721 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
21724 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
21726 * progmodes/cperl-mode.el: Merge upstream 6.2.
21727 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
21728 (cperl-forward-re): Check cperl-brace-recursing.
21729 (cperl-highlight-charclass): New function.
21730 (cperl-find-pods-heres): Use it.
21731 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
21732 (cperl-beautify-regexp-piece): Fix column calculation.
21733 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
21734 (cperl-beautify-level): Don't process entire regexp.
21735 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
21737 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
21738 (cperl-init-faces): Build a list in the normal way.
21740 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21742 * calendar/parse-time.el (parse-time-string-chars): Save match
21745 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
21747 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
21748 (sql-product): Use it.
21749 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
21750 (sql-set-product): Add completion.
21751 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
21752 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
21753 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
21754 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
21755 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
21756 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
21757 (sql-highlight-db2-keywords): Remove.
21758 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
21759 (sql-highlight-product): Use derived-mode-p.
21760 (sql-set-sqli-buffer): Use with-current-buffer.
21761 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
21764 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
21766 * term.el: Fix commenting convention, turn comments into docstrings.
21768 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21770 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
21772 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
21774 * calendar/parse-time.el (parse-time-string-chars): Compute using
21775 character classes, to handle non-ascii characters (Bug#3190).
21777 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21779 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
21780 another heredoc if the user adds another < (Bug#3226).
21782 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
21783 Don't initialize based on window-system (Bug#4124).
21785 * facemenu.el (facemenu-read-color): Use a completion function
21786 that accepts any defined color, such as RGB triplets (Bug#3677).
21788 * files.el (get-free-disk-space): Change fallback default
21789 directory to /. Expand DIR argument before switching to fallback.
21790 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
21792 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21794 * files.el (load-library): Doc fix.
21796 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
21798 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21799 (viper-if-string): Redefine C-s in the minibuffer to insert the last
21800 incremental search string.
21802 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21805 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21806 (ediff-merge-region-is-non-clash)
21807 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21808 Also check if the job is really a merge job.
21810 * ediff.el (ediff-current-file): New function.
21812 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21814 * progmodes/js.el: Edit docstrings throughout to follow Emacs
21816 (js-insert-and-indent): Delete function.
21817 (js-mode-map): Don't bind keys to js-insert-and-indent.
21818 (js-beginning-of-defun): Rename from js--beginning-of-defun.
21819 (js-end-of-defun): Rename from js--end-of-defun.
21820 (js-auto-indent-flag): Delete variable.
21822 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
21824 * progmodes/js.el: Remove proclaim statement.
21825 Defvar which-func-imenu-joiner-function to silence compiler.
21827 * files.el (auto-mode-alist): Use js-mode for .js files.
21829 * progmodes/js2-mode.el: Remove file.
21831 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21833 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21835 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21837 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
21838 Karl Landstrom <karl.landstrom@brgeight.se>
21840 * progmodes/js.el: New file.
21842 2009-08-14 Mark A. Hershberger <mah@everybody.org>
21844 * timezone.el (timezone-parse-date): Add ability to understand ISO
21845 basic format (minimal separators) dates in addition to the
21846 already-supported extended format dates.
21848 2009-08-14 Eli Zaretskii <eliz@gnu.org>
21850 * international/ucs-normalize.el: Add a `coding' file variable.
21852 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21854 2009-08-14 Sam Steingold <sds@gnu.org>
21856 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21858 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
21860 * faces.el (help-argument-name): Define it here instead of
21861 help-fns.el, because in daemon mode help-fns.el may be loaded when
21862 faces are still uninitialized (Bug#1078).
21864 * help-fns.el (help-argument-name): Move defface to faces.el.
21866 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
21868 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21869 create buffer with a pty but no process so that GDB can make the
21870 inferior the controlling process.
21872 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
21874 * international/ucs-normalize.el: New file.
21876 2009-08-13 Richard Stallman <rms@gnu.org>
21878 * mail/rmail.el (rmail-get-attr-names):
21879 Accept an attribute header that is too short.
21881 * mail/rmail.el (rmail-forget-messages):
21882 Ignore nil elt in rmail-message-vector. Use dotimes.
21884 * progmodes/compile.el (compilation-goto-locus):
21885 Use next-error-move-function.
21887 * simple.el (next-error-move-function): New variable.
21889 2009-08-12 Juri Linkov <juri@jurta.org>
21891 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21892 always non-nil. (Bug#4052)
21894 * replace.el (read-regexp): Return empty string when
21895 `default-value' is nil.
21896 (keep-lines-read-args): Don't use empty string as the
21897 default value for `read-regexp'. (Bug#2495)
21899 2009-08-12 Juri Linkov <juri@jurta.org>
21901 * international/mule-cmds.el (ucs-insert): Change arguments
21902 from `arg' to `character', `count', `inherit' to be the same
21903 as in `insert-char'. Doc fix. (Bug#4039)
21905 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21907 2009-08-12 Juri Linkov <juri@jurta.org>
21909 * files-x.el: New file.
21911 * files.el: Move code that deals with adding/deleting
21912 file/directory-local variables to files-x.el.
21914 * Makefile.in (ELCFILES): Add files-x.elc.
21916 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
21918 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21919 to use `goto-line'.
21920 (gdb-place-breakpoints, gdb-get-location): Rewritten without
21922 (gdb-invalidate-disassembly): Do not refresh upon receiving
21923 'update signal. Instead, update all disassembly buffers only after
21925 (gdb): Send -target-detach when buffer is killed (Bug#3794).
21926 (gdb-starting): Move -data-list-register-names...
21927 (gdb-stopped): ...here so it's sent when first thread stops.
21928 (gdb-registers-handler-custom): Do nothing if register names are
21931 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21932 from `gdb-mi.el' to avoid extra tangling.
21934 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21935 change which breaks `gud-def' definitions used in `gdb'.
21936 (gdb-update-gud-running): No extra fuss for updating frame number.
21938 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
21940 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21941 (describe-language-environment-map, setup-language-environment-map)
21942 (set-coding-system-map): Move initialization into declaration.
21943 (set-language-info-alist): Last arg to define-key-after can be skipped.
21945 * international/quail.el (quail-completion-1): Simplify.
21946 (quail-define-rules): Use slightly more compact code.
21947 (quail-insert-decode-map): Propertize keys, compact columns.
21949 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21952 2009-08-10 Miles Bader <miles@gnu.org>
21954 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21955 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21956 (js2-instance-member, js2-private-member, js2-private-function-call)
21957 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21958 (js2-magic-paren, js2-external-variable):
21959 Remove "-face" suffix from face names.
21960 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21961 (js2-highlight-undeclared-vars, js2-peek-token)
21962 (js2-parse-function-params, js2-mode-show-errors)
21963 (js2-mode-show-warnings, js2-make-magic-delimiter)
21964 (js2-mode-highlight-magic-parens): Update to use new face names.
21966 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
21968 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21969 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
21971 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
21973 * subr.el: Provide hashtable-print-readable.
21975 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21976 hs-c-like-adjust-block-beginning.
21977 (hs-hide-block-at-point): Stop hiding at the beginning of
21978 hs-block-end-regexp (Bug#700).
21980 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
21982 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21984 (gdb-registers-handler-custom): Do not fail when register names
21987 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21989 * progmodes/gdb-mi.el (gdb-control-all-threads)
21990 (gdb-control-current-thread): Interactive setters for
21991 `gdb-gud-control-all-threads' to use in menu.
21992 (gdb-show-run-p): Show «Go» when process is not active.
21993 (gud-tool-bar-map): Add non-stop/A,T indicator.
21994 Uses gud/thread.xpm and gud/all.xpm.
21996 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
21998 * net/net-utils.el (net-utils-font-lock-keywords): New var.
21999 (nslookup-font-lock-keywords): Make it a variable.
22000 (net-utils-mode): New mode for viewing diagnostic network output.
22001 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
22002 (net-utils-run-simple): New function.
22003 (ifconfig, iwconfig, netstat, arp, route): Use it.
22005 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
22007 * progmodes/gdb-mi.el (gdb-read-memory-custom)
22008 (gdb-memory-set-address, def-gdb-set-positive-number)
22009 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
22010 after changing settings.
22011 (gdb-invalidate-disassembly): Update when first shown.
22012 (gdb-edit-locals-value): Fix.
22013 (gdb-registers-handler-custom): Print registers in right order and
22014 allow changing register values (only for current thread yet).
22015 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
22016 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
22017 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
22018 (gdb-locals-handler-custom, gdb-registers-handler-custom):
22019 Thread info in mode name.
22020 (gdb-registers-mode-map): TAB to switch to locals.
22022 2009-08-08 Eli Zaretskii <eliz@gnu.org>
22024 * mail/rmail.el (rmail-add-mbox-headers)
22025 (rmail-set-message-counters-counter): Search for
22026 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
22028 2009-08-08 Glenn Morris <rgm@gnu.org>
22030 * Makefile.in (ELCFILES): Update.
22032 2009-08-07 Eli Zaretskii <eliz@gnu.org>
22034 * mail/sendmail.el (mail-yank-original):
22035 Set buffer-file-coding-system from the one used by the message whose
22038 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
22039 to "windows" when "pgnuplot" is used.
22040 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
22041 Don't call accept-process-output if "pgnuplot" is used.
22042 (calc-graph-init): Don't send -display and -geometry to
22043 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
22044 running "pgnuplot -V" with shell-command-to-string.
22046 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
22049 2009-08-07 Eli Zaretskii <eliz@gnu.org>
22051 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
22054 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
22056 * vc-dispatcher.el (vc-resynch-window): Update comment.
22058 * term.el (term-handle-ansi-escape): Add comments with the
22059 terminfo capabilities implemented.
22061 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
22063 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
22064 (gdb-var-create-handler): Rewritten using JSON parser.
22065 (gdb-propertize-header): Move earlier.
22066 (gdb-set-header): Remove to avoid duplication.
22067 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
22068 Refresh disassembly buffers only after threads list have been
22070 (gdb-threads-header, gdb-registers-header): Per-buffer header line
22073 2009-08-04 Juri Linkov <juri@jurta.org>
22075 * files.el: Commands to add/delete file/directory-local variables.
22076 (read-file-local-variable, read-file-local-variable-value)
22077 (read-file-local-variable-mode, modify-file-local-variable)
22078 (modify-file-local-variable-prop-line)
22079 (modify-dir-local-variable): New functions.
22080 (add-file-local-variable, delete-file-local-variable)
22081 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
22082 (add-dir-local-variable, delete-dir-local-variable)
22083 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
22084 (copy-dir-locals-to-file-locals-prop-line): New commands.
22086 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
22088 * abbrev.el (insert-abbrev-table-description): Prettify output.
22089 Suggested by Karl Chen.
22091 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
22093 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
22094 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
22095 (gdb-overlay-arrow-position, gdb-thread-position)
22096 (gdb-disassembly-position): Declare variables.
22097 (gdb-wait-for-pending): Function now.
22098 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
22099 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
22100 compilation goes smoothly.
22101 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
22102 (gdb-non-stop-setting): New customization setting which replaces
22103 `gdb-non-stop' so changing it doesn't break active GDB session.
22104 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
22105 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
22106 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
22107 (gdb-show-threads-by-default): New customization options.
22108 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
22110 (gdb-get-buffer-create): Send buffers update signal when they are
22112 (gdb-invalidate-locals, gdb-invalidate-registers)
22113 (gdb-invalidate-breakpoints)
22114 (gdb-invalidate-threads, gdb-invalidate-disassembly)
22115 (gdb-invalidate-memory): Accept update signal.
22116 (gdb-current-context-command): Use --frame option.
22117 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
22118 Implement `gdb-frame-number' selection logic.
22119 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
22120 whether to show GUD toolbar buttons.
22121 (gdb-thread-exited): Unselect current thread when it exits.
22122 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
22123 (gdb-mark-line): Routine which sets overlay arrow or inverses
22124 video on fringeless displays.
22125 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
22126 to build aligned columns of data in GDB buffers and set text
22127 properties line-by-line.
22128 (gdb-invalidate-breakpoints)
22129 (gdb-breakpoints-list-handler-custom)
22130 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
22131 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
22132 (gdb-registers-handler-custom): Align data columns.
22133 (gdb-locals-handler-custom): Now prints data like in variable
22135 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
22136 Remove confusing buttons.
22137 (gdb-invalidate-threads): Append --frame.
22138 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
22139 between breakpoints/threads buffers.
22140 (gdb-set-window-buffer): Now can ignore dedicated windows.
22141 (gdb-propertize-header): Use `gdb-set-window-buffer'.
22142 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
22143 (def-gdb-thread-buffer-gud-command): Replaces
22144 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
22145 for fine thread control.
22146 (gdb-preempt-existing-or-display-buffer): New function used to
22147 display bound buffers without breaking window layout.
22148 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
22149 (gdb-select-frame): New version of `gdb-frames-select' which now
22150 sets `gdb-frame-number' so commands may use --frame option instead
22151 of inner debugger state.
22152 (gdb-frame-handler): Do not set `gdb-frame-number'.
22153 (gdb-threads-mode-map): Select threads with mouse.
22155 * progmodes/gud.el (gdb-gud-context-call): Declare function to
22156 avoid compilation warning.
22157 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
22160 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
22161 Argument `key' renamed to `buffer-type'.
22162 (gdb-current-context-buffer-name): Do not add thread info to
22163 buffer name when no thread is selected.
22164 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
22165 command (bug 3794).
22166 (gdb-thread-selected): Handle `=thread-selected' notification.
22167 (gdb-wait-for-pending): New macro to deal with congestion problems.
22168 (gdb-breakpoints-list-handler-custom): Don't fail on pending
22170 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
22171 This fixes problem similar to one described in bug 3947.
22172 (gud-menu-map): More menu items.
22173 (gdb-init-1): Reset `gdb-thread-number' to nil.
22175 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
22178 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
22179 (gdb-current-context-command): Do not append --thread if
22180 `gdb-thread-number' is nil.
22181 (gdb-running-threads-count, gdb-stopped-threads-count):
22183 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
22184 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
22185 New customization options.
22186 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
22188 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
22189 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
22190 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
22191 set `gdb-thread-number' and update `gud-running' properly.
22192 (gdb-running): Update threads list when new threads appear.
22193 (gdb-stopped): Support non-stop operation and new thread switching
22195 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
22196 (gdb-json-partial-output): New set of JSON routines.
22197 (def-gdb-auto-update-trigger): New `signal-list' optional
22199 (gdb-thread-list-handler-custom): Update `gud-running',
22200 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
22201 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
22202 (gdb-continue-thread, gdb-step-thread): New commands for fine
22203 thread execution control.
22204 (gud-menu-map): New menu items to switch non-stop options.
22205 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
22206 (gdb-send): Mimic RET properly (bug 3794).
22208 * progmodes/gdb-mi.el (gdb-rules-name-maker)
22209 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
22211 (def-gdb-auto-update-handler): New nopreserve optional argument.
22212 (gdb-stack-list-frames-custom): Print stack from top to bottom.
22214 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
22215 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
22216 (gdb-parent-mode): New mode to derive other GDB modes from.
22217 (gdb-display-disassembly-for-thread)
22218 (gdb-frame-disassembly-for-thread): New commands for threads
22221 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
22222 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
22223 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
22224 (gdb-update): We now store all GDB buffers in a list so that they
22225 can be updated by traversing a list instead of calling invalidate
22226 triggers explicitly.
22227 (def-gdb-trigger-and-handler): New macro to define trigger-handler
22228 pair for GDB buffer.
22229 (gdb-stack-buffer-name): Add thread information.
22230 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
22231 handle pending triggers.
22232 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
22233 (def-gdb-thread-buffer-simple-command)
22234 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
22235 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
22236 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
22237 New commands which show buffers bound to thread.
22238 (gdb-stack-list-locals-regexp): Remove unused regexp.
22240 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
22241 (gdb-locals-buffer-name, gdb-registers-buffer-name)
22242 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
22243 to (gud-comint-buffer) in *-buffer-name functions
22244 because (gdb-get-target-string) already does that.
22245 (gdb-locals-handler-custom, gdb-registers-handler-custom)
22246 (gdb-changed-registers-handler): Rewritten without regexps.
22248 * progmodes/gdb-mi.el: Basic thread selection support.
22249 (gdb-thread-number): New variable.
22250 (gdb-current-context-command): New macro which adds --thread
22252 (gdb-threads-mode-map): Select thread with SPC.
22253 (gdb-thread-list-handler-custom): Mark current thread with overlay
22254 arrow. Synchronize GDB thread and Emacs thread.
22255 (gdb-select-thread): New command which selects current thread.
22256 (gdb-invalidate-frames, gdb-invalidate-locals)
22257 (gdb-invalidate-registers): Use --thread option.
22259 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
22261 * net/tramp.el (top): Make check for tramp-gvfs loading more
22263 (tramp-handle-insert-file-contents): `unwind-protect' must be
22264 inside `with-parsed-tramp-file-name'.
22266 * net/tramp-gvfs.el (top): Remove superfluous message when loading
22269 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
22271 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
22272 directory if CLASSPATH is not set.
22274 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
22276 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
22278 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
22280 2009-08-02 Kevin Ryde <user42@zip.com.au>
22282 * net/newst-backend.el (newsticker--raw-url-list-defaults):
22283 Update freshmeat link. Delete newsforge.com as it seems gone.
22285 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
22287 * select.el (x-set-selection): Doc fix (Bug#4021).
22289 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
22291 * help-fns.el (describe-variable): Treat list return values from
22292 dir-locals-find-file properly (Bug#4005).
22294 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
22296 * net/tramp.el (tramp-debug-message): Print also microseconds.
22298 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
22300 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
22302 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
22303 (tramp-get-debug-buffer): Change `outline-regexp' according to new
22306 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
22307 (tramp-get-file-property): Use it.
22309 * autorevert.el (auto-revert-handler):
22310 Allow `auto-revert-tail-mode' for remote files.
22312 2009-08-02 Jason Rumney <jasonr@gnu.org>
22314 * minibuffer.el (read-file-name): Treat confirm options to
22315 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
22317 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
22319 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
22320 (font-lock-variable-name-face, font-lock-constant-face):
22321 Darken the colors for light backgrounds.
22323 2009-08-01 Eli Zaretskii <eliz@gnu.org>
22325 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
22326 month names. (Bug#3987)
22328 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
22330 * simple.el (line-move-finish): Pass whole number to
22331 line-move-to-column.
22332 (line-move-visual): Perform hscroll to the recorded position.
22334 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
22336 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
22338 2009-07-29 Alan Mackenzie <acm@muc.de>
22340 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
22342 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
22344 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
22345 (gdb-place-breakpoints): Use full path when setting breakpoints.
22347 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
22349 * calc/calc.el (calc-mode-map): Add keybinding for
22350 `calc-transpose-lines'.
22352 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
22354 * calc/calc-misc.el (calc-transpose-lines): New function.
22356 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
22358 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
22359 Simplify check for out-of-band methods.
22360 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
22361 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
22363 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
22365 * vc-git.el (vc-git-checkin): Fix typo.
22367 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
22369 * progmodes/js2-mode.el: New file.
22371 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
22373 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
22374 (gud-menu-map): Adjust tooltip accordingly.
22376 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
22378 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
22379 (vc-bzr-log-view-mode): Adjust log-view-file-re.
22381 * add-log.el (change-log-mode-map): Add a menu.
22383 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
22385 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
22386 function returns nil.
22387 (dbus-handle-event): Handle special return value :ignore.
22388 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
22390 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
22392 * view.el (view-mode-enable): Don't define Helper-return-blurb if
22395 2009-07-25 Eli Zaretskii <eliz@gnu.org>
22399 * w32-vars.el (x-select-enable-clipboard): Doc fix.
22401 * term/pc-win.el (x-display-name, x-colors)
22402 (x-select-enable-clipboard, x-select-text): Doc fix.
22404 * term/common-win.el (x-display-name, x-colors): Doc fix.
22406 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
22407 (xw-defined-colors): Doc fix.
22409 * w32-fns.el (x-select-text, x-setup-function-keys)
22410 (x-get-selection, x-set-selection): Doc fix.
22412 * term/x-win.el (x-select-text, x-setup-function-keys)
22413 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
22415 * select.el (x-set-selection): Doc fix.
22417 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
22419 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
22420 instead of "IsNSSSupportAvailable". Avahi ought to work also when
22421 "IsNSSSupportAvailable" method is not available.
22422 Reported by Steve Youngs <steve@sxemacs.org>.
22424 2009-07-24 Kenichi Handa <handa@m17n.org>
22426 * international/characters.el: Fix setting of category ?C, ?|, ?K,
22427 and ?H. Fix setting of case for Latin Extended and Greek Extended.
22428 (build-unicode-category-table): Fix range checks.
22430 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
22432 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
22433 the buffer we try to sync is current when calling
22436 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
22437 not show up to date files.
22439 2009-07-24 Glenn Morris <rgm@gnu.org>
22441 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
22442 Add autoload cookies. If necessary, initialize.
22443 (elint-log): Handle non-file buffers.
22444 (elint-initialize): Add optional argument to reinitialize.
22445 (elint-find-builtin-variables): Save excursion.
22447 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
22449 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
22452 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
22454 * vc.el (vc-print-log-internal): New function, split out from ...
22455 (vc-print-log): ... here.
22456 (vc-dir-move-to-goal-column): Declare.
22458 * vc-git.el (vc-git-add-signoff): New variable.
22459 (vc-git-checkin): Use it.
22460 (vc-git-toggle-signoff): New function.
22461 (vc-git-extra-menu-map): Bind it to menu.
22462 (vc-git--run-command-string): Accept a nil FILE argument.
22463 (vc-git-stash-list): New function.
22464 (vc-git-dir-extra-headers): Use it.
22466 2009-07-23 Glenn Morris <rgm@gnu.org>
22468 * help-fns.el (describe-variable): Describe ignored and risky local
22469 variables in a similar way to that in which we describe safe ones.
22471 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
22472 (byte-compile-output-file-form, byte-compile-output-docform)
22473 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
22474 Give some more local variables with common names a "bytecomp-" prefix,
22475 so as not to shadow things during compilation.
22476 * emacs-lisp/cl-macs.el (load-time-value)
22477 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
22478 `outbuffer' to `bytecomp-outbuffer'.
22480 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
22481 since the next two variables cover them automatically now.
22482 (elint-builtin-variables, elint-autoloaded-variables): New.
22483 (elint-unknown-builtin-args): Remove all members, since they can be
22484 parsed automatically now.
22485 (elint-extra-errors): New.
22486 (elint-env-add-env, elint-env-add-macro): Use cadr.
22487 (elint-current-buffer): Use or. Change final message.
22488 (elint-get-top-forms): Use line-end-position.
22489 (elint-init-env): Use cadr. Handle autoload, declare-function,
22491 (elint-add-required-env): Doc fix. Use or. Standardize error.
22492 (regexp-assoc): Remove unused function.
22493 (elint-top-form): Set elint-current-pos, to record the start of the
22494 top-level form, for compilation-mode.
22495 (elint-form): Trap errors in macro expansion. Use dolist.
22496 (elint-unbound-variable): Use elint-builtin-variables and
22497 elint-autoloaded-variables.
22498 (elint-get-args): Use cadr, or.
22499 (elint-check-cond-form): Use dolist, cadr.
22500 (elint-check-condition-case-form): Doc fix. Use cadr.
22501 Use elint-extra-errors.
22502 (elint-log): New function.
22503 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
22504 Distinguish errors and warnings.
22505 (elint-log-message): Use with-current-buffer. Inhibit read-only.
22506 Use a bytecomp-style format.
22507 (elint-clear-log): Preserve default-directory. Inhibit read-only.
22508 (elint-get-log-buffer): Use compilation mode. Disable undo.
22509 Don't truncate lines.
22510 (elint-initialize): Set builtin and autoloaded variable lists.
22511 Only process elint-unknown-builtin-args if non-nil.
22512 (elint-find-builtin-variables, elint-find-autoloaded-variables):
22514 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
22516 2009-07-22 Kevin Ryde <user42@zip.com.au>
22518 * net/newst-backend.el (newsticker--parse-atom-1.0)
22519 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
22520 (newsticker--parse-rss-1.0):
22521 * progmodes/idlwave.el (idlwave-mode):
22522 * progmodes/idlw-shell.el (idlwave-shell-mode):
22523 * progmodes/vera-mode.el (vera-mode):
22524 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
22525 * progmodes/vhdl-mode.el (vhdl-mode):
22526 * textmodes/table.el (table-generate-source)
22527 (table--warn-incompatibility):
22528 Hyperlink urls in docstrings with URL `...'.
22530 2009-07-22 Glenn Morris <rgm@gnu.org>
22532 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
22533 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
22534 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
22535 Remove leading * from defcustom docs.
22537 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
22539 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
22541 (list-load-path-shadows): Optionally, just return shadows as a string.
22543 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
22545 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
22547 * mail/rmailedit.el (rmail-edit-mode):
22548 Use auto-save-include-big-deletions.
22550 * mail/rmail.el (rmail-variables):
22551 Use auto-save-include-big-deletions.
22553 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
22556 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
22558 * calc/calc.el (calc-undo-length): New variable.
22559 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
22561 2009-07-21 Richard Stallman <rms@gnu.org>
22563 * files.el (auto-save-mode): Handle buffer-save-size = -2
22566 2009-07-21 Glenn Morris <rgm@gnu.org>
22568 * textmodes/ispell.el (ispell-looking-back): Update declaration.
22570 * calendar/todo-mode.el (calendar-current-date): Update declaration.
22572 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
22573 silence compiler. Instead...
22574 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
22575 (ps-print-ensure-fontified): Update for above function name changes.
22577 * printing.el (pr-mh-get-msg-num, pr-mh-show)
22578 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
22579 silence compiler. Instead...
22580 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
22581 (mh-show-buffer): Only define for compiler.
22582 (pr-mh-current-message): Update for above function name changes.
22584 * files.el (abort-if-file-too-large): Explicitly pass `filename'
22586 (find-file-noselect, insert-file-1): Update for above change.
22588 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
22590 * mail/mailclient.el (mailclient-send-it): Fix message.
22592 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
22593 (edebug-eval): Check cl-debug-env is bound.
22594 (print-level, print-circle): Don't redefine built-in variables.
22596 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
22597 (custom-print-vectors): Remove old comments from doc.
22599 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
22600 (emerge-version): Make the variable an obsolete alias for the
22601 emacs-version variable. Make the function obsolete.
22602 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
22603 Emerge options, rather than merging in into the main Options menu.
22604 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
22605 and auto advance modes. Disable edit/fast items when not relevant.
22607 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
22609 * term/vt420.el (terminal-init-vt420): Fix typo.
22611 2009-07-20 Sam Steingold <sds@gnu.org>
22613 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
22614 variable (removed from compile.el on 2004-03-11).
22616 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
22618 * files.el (hack-local-variables-filter): Fix last change.
22620 2009-07-19 Juri Linkov <juri@jurta.org>
22622 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
22623 (dir-local-variables-alist): New buffer-local variable.
22624 (hack-local-variables-filter): If variable is not dir-local,
22625 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
22626 because file-local overrides dir-local.
22627 (c-postprocess-file-styles) <declare-function>:
22628 Remove obsolete declaration.
22629 (hack-dir-local-variables): Add dir-local variable/value pair to
22630 `dir-local-variables-alist' and remove duplicates. Doc fix.
22632 * help-fns.el (describe-variable): Add information about
22633 file-local and dir-local variables.
22635 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
22637 * files.el (hack-local-variables-filter): Rewrite.
22639 2009-07-19 Glenn Morris <rgm@gnu.org>
22641 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
22642 Silence compiler by only defining on XEmacs.
22644 * international/mule.el (auto-coding-regexp-alist): Only match
22645 BABYL... at the start of buffer, not of lines. (Bug#3790)
22647 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
22648 non-calendar buffers (Bug#3862). Restore "not on a date" message.
22649 (cal-menu-context-mouse-menu): Doc fix.
22651 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
22653 * simple.el (mail-user-agent): Doc fix. Set :version tag.
22655 2009-07-18 Juri Linkov <juri@jurta.org>
22657 * info.el: Virtual Info keyword finder.
22658 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
22659 (Info-finder-file): New variable.
22660 (Info-finder-find-file): New function.
22661 (finder-known-keywords, finder-package-info)
22662 (find-library-name, lm-commentary): Use defvar and
22663 declare-function to silence compiler warnings.
22664 (Info-finder-find-node): New function.
22665 (info-finder): New command.
22667 * subr.el (process-kill-buffer-query-function): New function.
22668 (add-hook)<kill-buffer-query-functions>: Add hook
22669 `process-kill-buffer-query-function'.
22671 2009-07-18 Alan Mackenzie <acm@muc.de>
22673 * progmodes/cc-mode.el (c-before-hack-hook)
22674 (c-postprocess-file-styles): Give invocation of `c-set-style'
22675 DONT-OVERRIDE parameter of t. Already set style variables will
22676 thus not be overridden by style settings given by `c-file-syle'.
22678 * files.el (hack-local-variables-filter): Remove entries with
22679 duplicate keys from `file-local-variables-alist'.
22681 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22683 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
22684 x-set-selection if display-selections-p returns nil for the
22687 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
22689 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
22691 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22693 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
22694 Accept nil in addition to a regexp.
22695 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
22696 Accept nil in addition to a regexp.
22697 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
22698 buffers that have an associated file. Handle nil values of
22699 desktop-buffers-not-to-save and desktop-files-not-to-save.
22702 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
22703 (x-disown-selection-internal): New functions.
22705 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
22707 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
22709 (gdb-breakpoints-header): Move forward to avoid compiler warning.
22710 (gdb-make-header-line-mouse-map): Remove duplicate definition.
22712 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
22714 * simple.el (set-mark): Revert last change.
22716 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
22718 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
22719 rendering of pngs is not possible instead of messaging a long
22722 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
22724 * w32-fns.el (x-selection-owner-p): New function.
22726 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
22727 (mouse-yank-at-click, mouse-yank-primary):
22728 If select-active-regions is non-nil, deactivate the mark before
22731 * simple.el (deactivate-mark, set-mark): Only save selection if we
22734 2009-07-17 Kenichi Handa <handa@m17n.org>
22736 * case-table.el (describe-buffer-case-table): Fix for the case
22737 that KEY is a cons.
22739 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
22741 * vc-rcs.el (vc-rcs-find-file-hook):
22742 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
22744 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
22746 * net/tramp.el (tramp-wait-for-output): Handle the case when
22747 commands do not return a newline but a null byte before the shell
22750 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22752 * term/ns-win.el (ns-set-alpha): Don't declare.
22753 (ns-set-background-alpha): Remove function.
22755 2009-07-16 Kevin Ryde <user42@zip.com.au>
22757 * emacs-lisp/copyright.el (copyright-update): Save match-data across
22758 y-or-n-p, for safety.
22760 2009-07-16 Richard Stallman <rms@gnu.org>
22762 * files.el (auto-save-mode): If buffer-saved-size is -2,
22765 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
22766 (rmail-retry-ignored-headers): Add more uninteresting fields.
22768 2009-07-15 Jari Aalto <jari.aalto@cante.net>
22770 * net/rcirc.el (rcirc): Use history variables.
22771 (rcirc-server-name-history, rcirc-nick-name-history)
22772 (rcirc-server-port-history): New variables.
22774 2009-07-15 Kenichi Handa <handa@m17n.org>
22776 * international/mule-cmds.el (set-language-environment-charset):
22777 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
22780 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
22781 Delete unibyte-display.
22783 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22785 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
22787 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22789 * simple.el (deactivate-mark): Optional argument FORCE.
22790 (set-mark): Use deactivate-mark.
22792 * info.el (Info-search): No need to check transient-mark-mode
22793 before calling deactivate-mark.
22795 * select.el (x-set-selection): Doc fix.
22796 (x-valid-simple-selection-p): Allow buffer values.
22797 (xselect--selection-bounds): Handle buffer values.
22798 Suggested by David De La Harpe Golden.
22800 * mouse.el (mouse-set-region, mouse-drag-track):
22801 Call copy-region-as-kill before setting the mark, to let
22802 select-active-regions work.
22804 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
22806 * simple.el (deactivate-mark): If select-active-regions is
22807 non-nil, copy the selection data into a string.
22808 (activate-mark): If select-active-regions is non-nil, set the
22809 selection to the current buffer.
22810 (set-mark): Update selection if select-active-regions is non-nil.
22812 * select.el (x-valid-simple-selection-p): Allow buffer values.
22814 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
22816 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22817 and more featureful message-mode.
22819 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
22821 * select.el (x-set-selection): Doc fix.
22822 (x-valid-simple-selection-p): Disallow selection data consisting
22823 of a list or cons of integers, since that is not used.
22824 (xselect--selection-bounds, xselect--int-to-cons): New functions.
22825 (xselect-convert-to-string, xselect-convert-to-length)
22826 (xselect-convert-to-filename, xselect-convert-to-charpos)
22827 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22829 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
22831 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22832 output in -break-info command (Emacs bug #3794).
22834 2009-07-14 Glenn Morris <rgm@gnu.org>
22836 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22837 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22838 (edebug-print-length, edebug-print-level, edebug-print-circle)
22839 (edebug-sit-for-seconds, edebug-view-outside)
22840 (edebug-bounce-point, edebug-set-global-break-condition)
22841 (edebug-Go-nonstop-mode, edebug-trace-mode)
22842 (edebug-Trace-fast-mode, edebug-continue-mode)
22843 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22844 (edebug-visit-eval-list): Doc fixes.
22846 * subr.el (def-edebug-spec): Doc fix.
22848 2009-07-14 Kenichi Handa <handa@m17n.org>
22850 * international/characters.el: Fix setting of category ?C.
22852 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
22854 * term/ns-win.el (x-select-font): defalias x-select-font to
22855 ns-popup-font-panel instead of generate-fontset-menu.
22857 2009-07-12 Eli Zaretskii <eliz@gnu.org>
22859 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
22861 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
22863 * arc-mode.el (archive-find-type): Allow for a PK00 string before
22864 the PK\003\004 header (Bug#3770).
22866 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
22868 * pcomplete.el (pcomplete-comint-setup): Check for
22869 shell-dynamic-complete-filename too.
22871 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
22873 * simple.el (temporary-goal-column): Change the value for
22874 line-move-visual to a cons cell.
22875 (line-move-visual): Record or set the window hscroll, if
22876 necessary (Bug#3494).
22877 (line-move-1): Handle cons value of temporary-goal-column.
22879 2009-07-11 Kenichi Handa <handa@m17n.org>
22881 * international/mule-diag.el (describe-character-set): Don't show
22884 2009-07-10 Sam Steingold <sds@gnu.org>
22886 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22887 Omake sometimes indents the errors it prints, so allow all
22888 regexps to start with spaces.
22890 2009-07-10 Eli Zaretskii <eliz@gnu.org>
22892 * cus-edit.el (customize-changed-options-previous-release):
22893 Bump value to 22.1. (Bug#3804)
22895 2009-07-08 Sam Steingold <sds@gnu.org>
22897 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22898 to be a cons cell (test . ignored-directory) to selectively ignore
22899 some directories depending on the location of the search.
22901 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
22903 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22904 remote user is root, on the local host.
22905 (tramp-local-host-p): Either the local user or the remote user
22906 must be root. (Bug#3771)
22908 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22910 * progmodes/gdb-mi.el (gdb): Remove description of
22911 gdb-use-separate-io-buffer.
22912 (menu): Don't allow toggling of or enable
22913 gdb-use-separate-io-buffer from menubar.
22915 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
22917 * mail/unrmail.el (unrmail): Make sure the message ends with two
22918 newlines (Bug#3769).
22920 2009-07-08 Glenn Morris <rgm@gnu.org>
22922 * calendar/calendar.el (calendar-current-date): Rework previous change.
22924 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
22926 * calendar/calendar.el (calendar-current-date):
22927 Add an optional argument giving an offset from today.
22929 2009-07-08 Glenn Morris <rgm@gnu.org>
22931 * tutorial.el (tutorial--describe-nonstandard-key):
22932 Adjust the message for when a key has been unbound.
22933 (help-with-tutorial): Hide the arch-tag.
22935 2009-07-08 Kenichi Handa <handa@m17n.org>
22937 * international/fontset.el (setup-default-fontset): For each
22938 script, append (not set) font-specs.
22940 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22943 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22945 * progmodes/gdb-mi.el (gdb-init-1): Move sending
22946 -data-list-register-names to ...
22947 (gdb-starting): ... here because GDB 7.0 requires execution to
22948 have started when using this MI command.
22949 (gdb-set-header): New function to distinguish select and
22950 unselected tabs in gdb buffers.
22951 (gdb-propertize-header): New macro that uses gdb-set-header.
22952 (gdb-breakpoints-header, gdb-locals-header): Use it.
22953 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22955 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
22957 * Makefile.in (ELCFILES): Remove fadr.elc.
22959 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
22961 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22962 may contain frame information, so `string-match' should be used.
22963 (gdb-update): Disassembly is invalidated through
22964 `gdb-get-selected-frame'.
22965 (gdb-pad-string): New function to pad string with spaces.
22966 (gdb-invalidate-disassembly): Invalidate only if the buffer
22968 (gdb-disassembly-handler-custom): Column alignment.
22969 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22971 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22973 (gdb-frame-handler): Match convention to for disassembly buffer
22975 (gdb-stack-list-frames-handler): Rewritten without regexps.
22976 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22977 not highlight breakpoints without line information.
22978 (gdb-input): Add trailing newline to command.
22980 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22982 (gdb-breakpoints-list-handler-custom): Replacement for
22983 `gdb-break-list-handler'. Using real parser instead of regexps
22985 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22986 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22987 to place breakpoints.
22988 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22990 (gdb-disassembly-handler-custom): Show overlay arrow.
22991 (gdb-disassembly-place-breakpoints): Show breakpoints in
22992 disassembly buffer.
22993 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22994 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22995 instead of parsing breakpoints buffer. Fixed old menu references
23000 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
23001 (gdb-memory-address): New variable which holds top address of
23002 memory page shown in memory buffer.
23003 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
23004 New customization variables.
23006 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
23007 display the memory buffer.
23008 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
23009 buffer display parameters.
23010 (def-gdb-memory-format, gdb-memory-format-binary)
23011 (gdb-memory-format-octal, gdb-memory-format-unsigned)
23012 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
23013 Functions for setting memory buffer format.
23014 (gdb-memory-unit-word, gdb-memory-unit-halfword)
23015 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
23016 unit size used in memory buffer.
23017 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
23018 Switch to next/previous page of memory buffer.
23019 Now using (bindat-get-field) instead of fadr functions.
23021 2009-07-07 Sam Steingold <sds@gnu.org>
23023 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
23024 non-top-level files.
23026 2009-07-07 Kenichi Handa <handa@m17n.org>
23028 * international/mule-cmds.el (reset-language-environment):
23029 Put the highset priority to the charset iso-8859-1.
23031 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
23033 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
23034 to the end of the line when locating the block (Bug#700).
23036 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
23038 * net/tramp.el (tramp-handle-write-region): Flush file properties
23039 in case of short track.
23041 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
23043 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
23044 Coded custom representation of verilog error regular expressions
23045 to work with Emacs-22's new format.
23046 (verilog-error-regexp-xemacs-alist): Coded custom representation
23047 of verilog error regular expressions to work with XEmacs format.
23048 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
23049 error recognition into XEmacs.
23050 (verilog-error-regexp-add-emacs): Hook routine to install verilog
23051 error recognition into Emacs-22.
23053 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
23055 * woman.el: Remove stand-alone closing parentheses.
23056 (woman-file-name, woman2-format-paragraphs)
23057 (woman-leave-blank-lines): Code cleanup.
23058 (woman-use-own-frame): Change default to nil.
23059 (woman-italic, woman-bold, woman-unknown, woman-addition):
23060 Change defaults to inherit from default faces.
23061 (woman2-process-escapes): Consume the newline after a stand-alone
23062 filler character (Bug#3651).
23064 2009-07-06 Glenn Morris <rgm@gnu.org>
23066 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
23067 (top-level): Move provide to the end.
23068 (ffap): Remove defunct URL from custom group.
23070 * subr.el (eval-after-load): Doc fix.
23072 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
23074 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
23075 `calc-embedded-word' is called twice.
23077 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23079 * files.el (find-alternate-file-other-window, find-alternate-file):
23080 Obey confirm-nonexistent-file-or-buffer.
23082 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
23084 * dired-aux.el (dired-show-file-type): Handle remote files.
23086 2009-07-05 Jari Aalto <jari.aalto@cante.net>
23088 * desktop.el (desktop-globals-to-save):
23089 Add file-name-history (Bug#2750).
23091 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
23093 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
23095 2009-07-04 Johan Bockgård <bojohan@gnu.org>
23097 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
23098 property on entire argument since this is what eshell-lisp-command
23101 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
23103 * net/tramp-gvfs.el (tramp-gvfs-methods)
23104 (tramp-gvfs-zeroconf-domain)
23105 (tramp-bluez-discover-devices-timeout): Add version flag.
23106 (tramp-gvfs-handler-mounted-unmounted)
23107 (tramp-gvfs-connection-mounted-p): Polish handling of
23108 incompatibilities between GVFS 0.2 and 1.0.
23110 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
23112 * cus-start.el (all): Add make-pointer-invisible.
23114 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
23116 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
23117 formatted correctly.
23119 2009-07-02 Juri Linkov <juri@jurta.org>
23121 * info.el: Virtual Info files and nodes.
23122 (Info-virtual-files, Info-virtual-nodes): New variables.
23123 (Info-current-node-virtual): New variable.
23124 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
23126 (Info-file-supports-index-cookies): Use Info-virtual-file-p
23127 to check for a virtual file instead of checking a fixed list
23129 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
23130 instead of ad-hoc processing of "dir" and (apropos history toc).
23131 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
23132 instead of ad-hoc processing of "dir" and (apropos history toc).
23133 Reread a file when moving from a virtual node.
23134 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
23135 (Info-directory-toc-nodes, Info-directory-find-file)
23136 (Info-directory-find-node): New functions.
23137 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
23138 (Info-history): Move part of code to
23139 `Info-history-find-node'.
23140 (Info-history-toc-nodes, Info-history-find-file)
23141 (Info-history-find-node): New functions.
23142 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
23143 (Info-toc): Move part of code to `Info-toc-find-node'.
23144 (Info-toc-find-node): New function.
23145 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
23146 the current Info file name to references because now the node
23147 "*TOC*" belongs to the same Info manual.
23148 (Info-toc-build): Rename from `Info-build-toc'.
23149 (Info-toc-nodes): Rename input argument `file' to `filename'.
23150 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
23151 instead of ad-hoc processing of ("dir" apropos history toc).
23152 (Info-index-nodes): Use Info-virtual-file-p
23153 to check for a virtual file instead of checking a fixed list
23155 (Info-index-node): Add check for `Info-current-node-virtual'.
23156 Raise `save-match-data' higher up the tree to contain
23157 `search-forward' too (bug fix).
23158 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
23159 (Info-virtual-index-nodes): New variable.
23160 (Info-virtual-index-find-node, Info-virtual-index): New functions.
23161 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
23162 (Info-apropos-file, Info-apropos-nodes): New variables.
23163 (Info-apropos-toc-nodes, Info-apropos-find-file)
23164 (Info-apropos-find-node, Info-apropos-matches): New functions.
23165 (info-apropos): Move part of code to `Info-apropos-find-node' and
23166 `Info-apropos-matches'.
23167 (Info-mode-map): Bind "I" to `Info-virtual-index'.
23168 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
23169 for a virtual file instead of checking a fixed list of node names.
23171 * simple.el (async-shell-command): New command.
23173 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
23175 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
23176 instead of `mount-info'.
23178 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
23180 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
23181 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
23183 2009-07-02 Kenichi Handa <handa@m17n.org>
23185 * international/mule.el (set-keyboard-coding-system): Force *-unix
23186 coding-system to avoid eol conversion.
23188 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
23190 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
23191 Add handler for `process-file', `shell-command' and
23192 `start-file-process'.
23193 (tramp-gvfs-handle-shell-command)
23194 (tramp-gvfs-handle-start-file-process)
23195 (tramp-gvfs-handle-process-file): New defuns.
23196 (tramp-synce-list-devices): Simplify check for existence of property.
23198 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
23200 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
23202 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
23204 * language/korean.el (set-language-info-alist): Add korean-cp949,
23207 2009-07-01 Kenichi Handa <handa@m17n.org>
23209 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
23211 * international/encoded-kb.el: Deleted.
23213 * international/mule.el (set-keyboard-coding-system): Perform the
23214 necessary setup here instead of calling encoded-kbd-setup-display.
23216 2009-07-01 Glenn Morris <rgm@gnu.org>
23218 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
23220 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
23222 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
23224 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
23226 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
23227 Handle also the 'rename case, when setting file modes. (Bug#3712)
23228 (tramp-default-file-modes): Remove execute permissions.
23230 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
23231 (top): Add a default for "synce" in `tramp-default-user-alist'.
23232 Add completion function for "synce" method.
23233 (tramp-hal-service, tramp-hal-path-manager)
23234 (tramp-hal-interface-manager, tramp-hal-interface-device):
23236 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
23237 (tramp-synce-list-devices, tramp-synce-parse-device-names):
23240 * net/trampver.el: Update release number.
23242 2009-06-30 Kenichi Handa <handa@m17n.org>
23244 * international/fontset.el (setup-default-fontset): Add CJK fonts
23245 for symbols and the other miscellaneous characters.
23247 * language/korea-util.el (setup-korean-environment-internal):
23248 Make char-width-table suitable for Korean environments.
23249 (exit-korean-environment): Cancel above.
23251 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
23252 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
23253 setup-function to make char-width-table suitable for respective
23254 environments, and an exit-function to cancel that.
23256 * language/japan-util.el (setup-japanese-environment-internal):
23257 Call use-cjk-char-width-table with arg `ja_JP'.
23259 * international/characters.el (cjk-char-width-table): Delete it.
23260 (cjk-char-width-table-list): New variable.
23261 (use-cjk-char-width-table): New arg local-name.
23262 (use-default-char-width-table): Fix for the case that Emacs is
23263 already using the default char-width-table.
23265 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
23267 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
23268 modes mandatory. (Bug#3712)
23270 2009-06-29 Alan Mackenzie <acm@muc.de>
23272 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
23273 correction between the visible width of TABs and their number of bytes.
23275 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
23277 * server.el (server-buffer-done): Prevent kill-buffer from
23278 prompting by clearing the buffer modification flag (Bug#3696).
23280 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
23282 * progmodes/verilog-mode.el (verilog-beg-of-statement)
23283 (verilog-endcomment-reason-re): Support unique case and priority case.
23284 (verilog-basic-complete-re): Support localparam lineup.
23285 (verilog-beg-of-statement-1): Fix for robustness, unique case.
23286 (verilog-set-auto-endcomments): Fix for unique case, always_comb
23288 (verilog-leap-to-case-head): Now support *nested* unique &
23289 priority case statements.
23290 (verilog-auto-lineup): Make just declarations the default (as it
23292 (verilog-leap-to-case-head): Support priority/unique case statements.
23293 (verilog-auto-lineup): Rework to give users radio buttons to
23294 select the various styles of automatic lineup.
23295 (verilog-error-regexp-alist): Rework to support the XEmacs style
23296 of error regular expressions from compilers, lint tools &
23297 simulators. Note that GNU Emacs has made it impossible for a mode
23298 to load such things.
23299 (electric-verilog-terminate-line, verilog-indent-declaration)
23300 (verilog-auto-wiure): Rework for radio button selection of
23301 auto-lineup selection of specification of auto lineup.
23302 (verilog-beg-of-statement-1): Redesign to support proper operation
23303 in additional code, based on testing with auto-lineup.
23304 (verilog-calculate-indent, assignments & declarations)
23305 (verilog-backward-token): Enhance to support auto-lineup of
23306 assignments & declarations.
23307 (verilog-in-directive-p, verilog-at-struct-p): New function for
23308 easy test of whether we are.
23309 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
23310 to support safe execution at almost anyline.
23311 (verilog-calc-1): Properly support indenting deep inside generate
23313 (verilog-init-font): Remove definition & use of verilog-init-font,
23314 as it is redundant with font-lock-defaults.
23315 (verilog-mode): Alter the definition of verilog-font-lock-defaults
23316 to avoid circular calls if syntax-ppss is a function (as is the
23317 case now in 22.x GNU Emacs) as that function would sometimes call
23318 itself, leading to (nearly) infinite recursion.
23319 (verilog-ovm-begin-re, verilog-ovm-end-re)
23320 (verilog-ovm-statement-re, verilog-leap-to-head)
23321 (verilog-backward-token): Add support for OVM macros. Some are
23322 complete statements, and others open and close scopes like begin
23324 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
23325 (verilog-defun-level-generate-only-re): Really fix the defun-list
23327 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
23328 coverpoint, constraint and cross statements.
23329 (verilog-defun-level-list, verilog-generate-defun-level-list)
23330 (verilog-all-defun-level-list): Redo these specifications - it is
23331 too hard to support eval-when compile aggregation of lists also
23332 built at when-compile time.
23333 (verilog-defun-level-list): Place defconsts of variables used in
23334 building regular expressions which are built in eval-when-compile
23335 bodies in the same eval-when-compile body to facilitate compile
23337 (verilog-beg-block-re-ordered): Support indenting
23338 virtual/protected tasks and functions.
23339 (verilog-defun-level-list, verilog-in-generate-region-p)
23340 (verilog-backward-ws&directives, verilog-calc-1): Speed up
23341 indentation of some module items (generate items).
23342 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
23343 across virtual/protected tasks and functions.
23345 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
23347 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
23348 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
23349 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
23350 in concatenations. Reported by Yishay Belkind.
23351 (verilog-auto-ascii-enum): Support one-hot state machines in
23352 AUTOASCIIENUM. Suggested by Lloyd Gomez.
23353 (verilog-auto-inst, verilog-auto-inst-port): Include interface
23354 modport in AUTOINST and add vl-modport for users.
23355 Reported by David Rogoff.
23356 (verilog-auto-inout-module, verilog-auto-inst)
23357 (verilog-decls-get-interfaces, verilog-insert-definition)
23358 (verilog-insert-one-definition, verilog-read-decls)
23359 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
23360 (verilog-sig-modport, verilog-signals-combine-bus)
23361 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
23362 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
23363 Suggested by David Rogoff.
23364 (verilog-repair-open-comma): Fix non-insertion of comma when
23365 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
23366 (verilog-make-width-expression): Simplify [A-1:0] expression
23367 widths to just {A{1'b0}}.
23368 (verilog-mode): Cleanup checkdoc warnings.
23369 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
23370 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
23371 inputs/outputs or data type. Suggested by Vasu Kandadi.
23372 (next-error-last-buffer): Fix byte-compiler warning.
23373 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
23374 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
23375 or shell command text during AUTO expansion. Suggested by Tad Truex.
23376 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
23377 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
23378 Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
23379 in AUTOINOUT. Reported by Matthew Lovell.
23380 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
23381 causing use of <= assignments. Reported by Alex Reed.
23382 (verilog-read-decls): Fix triand, trior, wand, wor to be
23383 recognized by AUTOWIRE. Reported by Spencer Isaacson.
23384 (verilog-extended-complete-re): Support import "DPI-C" functions.
23385 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
23386 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
23387 (verilog-insert-date, verilog-insert-year)
23388 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
23389 Windows systems. Reported by Michael Potts.
23390 (verilog-read-module-name): Fix AUTOINST when the child module
23391 declaration's name is a tick define. Reported by Elliot Mednick.
23392 (verilog-read-decls): Fix V2K parameter bit subscripts getting
23393 passed to next parameter's definition. Reported by Bruce T.
23394 (verilog-read-decls): Fix detecting "parameter int" when using
23395 AUTOINSTPARAM. Reported by Bruce T.
23396 (verilog-goto-defun): Fix goto not finding modules unless first
23397 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
23398 (verilog-mode): Expand -f flag arguments on entry to mode so
23399 verilog-goto-defun will work. Reported by Lawrence Butcher.
23400 (verilog-getopt): Expand environment variables in -f file
23401 arguments. Suggested by Lawrence Butcher.
23402 (verilog-set-define): Fix "Symbol's value as variable is void"
23403 when reading enumerations.
23404 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
23405 Suggested by Stephen Peltan.
23406 (verilog-read-defines): Fix reading of enumerations in include
23407 files. Reported by Steve Peltan.
23409 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
23411 * files.el (trash-directory): Fix defcustom type.
23413 2009-06-28 Juri Linkov <juri@jurta.org>
23415 * help-fns.el (describe-function-1): Correctly locate adviced
23416 functions in hyperlink (Bug#2438).
23418 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
23420 * files.el (trash-directory): Change default to nil.
23421 (move-file-to-trash): If trash-directory is nil and
23422 system-move-file-to-trash is unbound, perform freedesktop-style
23425 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
23427 * files.el (move-file-to-trash): Add freedesktop trash
23430 2009-06-28 Glenn Morris <rgm@gnu.org>
23432 * autorevert.el (global-auto-revert-non-file-buffers)
23433 (global-auto-revert-mode): Doc fixes.
23435 2009-06-27 Johan Bockgård <bojohan@gnu.org>
23437 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
23439 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
23441 * faces.el (x-handle-named-frame-geometry): Ensure that we have
23442 opened an X connection before calling x-get-resource (Bug#3194).
23444 * play/doctor.el: Remove reference to obsolete website.
23445 (make-doctor-variables): Correct grammar mistake (Bug#2633).
23447 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
23449 Remove find-file-not-found-hook VC method. (Bug#2757)
23450 * vc-hooks.el (vc-file-not-found-hook)
23451 (vc-default-find-file-not-found-hook): Remove functions.
23452 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
23453 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
23456 * vc-git.el: Do not mention find-file-not-found-hook VC method.
23458 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
23460 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
23461 compatibility function for `looking-back'.
23463 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
23464 Use `ispell-looking-back'.
23466 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
23468 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
23469 rather than `filename'.
23471 2009-06-23 Miles Bader <miles@gnu.org>
23473 * face-remap.el (text-scale-set): New function.
23475 2009-06-23 Glenn Morris <rgm@gnu.org>
23477 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
23479 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
23481 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
23483 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
23485 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
23486 Simplify Persian conditionals.
23488 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
23489 variable `filename'.
23491 * comint.el (comint-insert-input): Doc fix.
23493 * Makefile.in (ELCFILES): Fix typo in previous change.
23495 2009-06-23 Miles Bader <miles@gnu.org>
23497 * cus-start.el: Add entry for `recenter-redisplay'.
23499 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23501 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
23502 Add an optional argument for the backend, use it instead of
23503 calling vc-backend.
23504 (vc-mode-line): Add an optional argument for the backend.
23505 Pass the backend to vc-state and vc-working-revision. Move code for
23506 special handling for vc-state being a buffer to ...
23508 * vc-rcs.el (vc-rcs-find-file-hook):
23509 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
23511 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
23512 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
23513 vc-stay-local-p and vc-mode-line calls.
23515 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
23516 (vc-cvs-diff, vc-cvs-annotate-command)
23517 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
23518 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
23519 vc-mode-line calls.
23521 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
23523 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
23524 backend when calling vc-mode-line.
23525 (vc-register): Do not create a closure for calling the vc register
23526 function, call it directly.
23528 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23530 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
23531 to make it obvious item can be clicked.
23533 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
23535 2009-06-23 Kenichi Handa <handa@m17n.org>
23537 * language/korea-util.el (korean-key-bindings): Change the binding
23538 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
23541 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
23543 Sync with Tramp 2.1.16.
23545 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
23547 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
23548 when a loading of a package fails. Completion function for rsync
23549 is `tramp-completion-function-alist-ssh'.
23550 (all): Replace all calls of `split-string' and
23551 `tramp-split-string' by `tramp-compat-split-string'.
23552 (tramp-default-method): Use `tramp-compat-process-running-p'.
23553 (tramp-default-proxies-alist): Allow also Lisp forms.
23554 (tramp-remote-path): Add choice "Private Directories".
23555 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
23556 (tramp-domain-regexp): Allow also "-", "_" and ".".
23557 (tramp-end-of-output): Remove newlines, and add "$" at the end.
23558 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
23559 (tramp-debug-message): Insert header line in debug buffer.
23560 (tramp-handle-directory-files-and-attributes-with-stat):
23561 Care about filenames with spaces, or starting with "-".
23562 (tramp-handle-dired-uncache): New defun.
23563 (tramp-handle-insert-directory): Don't flush the directory from
23564 cache, this is handled by `dired-uncache' now.
23565 (tramp-handle-insert-file-contents): Improve error handling.
23566 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
23567 Quote `tramp-end-of-output'.
23568 (tramp-action-password): Improve trace message.
23569 (tramp-check-for-regexp): Both echoes must be present, before removing.
23570 (tramp-open-connection-setup-interactive-shell): Trace coding system.
23571 (tramp-compute-multi-hops): Eval cons cells of
23572 `tramp-default-proxies-alist'.
23573 (tramp-maybe-open-connection): Use the same command pattern for
23574 first hop and further hops.
23575 (tramp-wait-for-output): Remove handling of newlines.
23576 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
23577 (tramp-split-string): Remove function. It is handled in
23580 * net/tramp-cmds.el (tramp-bug):
23581 Recommend `tramp-cleanup-all-connections' in the bug mail.
23583 * net/tramp-compat.el (tramp-compat-split-string)
23584 (tramp-compat-process-running-p): New defuns.
23586 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
23587 for `dired-uncache'.
23589 * net/tramp-gvfs.el: New package.
23591 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
23592 Add handler for `dired-uncache'.
23593 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
23595 * net/trampver.el: Update release number. Make version check fit
23598 2009-06-22 Jim Meyering <meyering@redhat.com>
23600 Automatically handle .xz suffix (XZ-compressed files), too.
23601 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
23602 XZ is the successor to LZMA: <http://tukaani.org/xz/>
23604 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
23605 Nick Roberts <nickrob@snap.net.nz>
23607 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
23608 repository (http://sphinx.net.ru/hg/gdb-mi/).
23610 2009-06-22 Glenn Morris <rgm@gnu.org>
23612 * files.el (dir-locals-collect-mode-variables): Allow for any number of
23613 `mode' and `eval' entries. (Bug#3430)
23615 * Makefile.in (ELCFILES): Add fadr.elc.
23617 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
23618 differing behavior of \n and ^ in strings. (Bug#3385)
23620 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
23622 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
23624 (lisp-indent-function): Make it a defcustom.
23626 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
23628 * progmodes/gdb-ui.el: Replace with ...
23629 * progmodes/gdb-mi.el: ... this file.
23630 * progmodes/gud.el: Modify for gdb-mi.el.
23632 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
23634 * fadr.el: New file.
23636 See ChangeLog.14 for earlier changes.
23638 ;; Local Variables:
23642 Copyright (C) 2009-2011 Free Software Foundation, Inc.
23644 This file is part of GNU Emacs.
23646 GNU Emacs is free software: you can redistribute it and/or modify
23647 it under the terms of the GNU General Public License as published by
23648 the Free Software Foundation, either version 3 of the License, or
23649 (at your option) any later version.
23651 GNU Emacs is distributed in the hope that it will be useful,
23652 but WITHOUT ANY WARRANTY; without even the implied warranty of
23653 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23654 GNU General Public License for more details.
23656 You should have received a copy of the GNU General Public License
23657 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.