1 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
3 * info.el (Info-directory-list, Info-read-node-name-2)
4 (Info-split-parameter-string): Doc fixes.
5 (Info-virtual-nodes): Reflow docstring.
6 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
7 (Info-apropos-toc-nodes, info-finder, Info-get-token)
8 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
9 Fix typos in docstrings.
10 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
11 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
12 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13 (Info-restore-desktop-buffer): Mark unused parameters.
14 (Info-directory-find-file, Info-directory-find-node)
15 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16 (Info-virtual-index-find-node, Info-apropos-find-file)
17 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
18 Mark unused parameters; fix typos in arguments.
19 (Info-virtual-index): Remove unused local variable `nodename'.
21 2011-04-05 Deniz Dogan <deniz@dogan.se>
23 * net/rcirc.el: Update my e-mail address.
24 (rcirc-mode-map): Remove M-o binding.
26 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
28 * startup.el (command-line): Save the cursor's theme-face
29 directly, instead of using face-override-spec.
31 * custom.el (load-theme): Minor optimization in assigning faces.
33 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
35 * help-fns.el (describe-variable): Complete all variables having
36 documentation, including keywords.
37 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
39 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
41 Convert to lexical-binding.
43 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
44 (bs--get-marked-string, bs--get-modified-string)
45 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
46 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
47 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
49 * ehelp.el (electric-help-execute-extended)
50 (electric-help-ctrl-x-prefix):
51 * hexl.el (hexl-revert-buffer-function):
52 * linum.el (linum-after-change, linum-after-scroll):
53 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
55 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
57 2011-04-04 Daiki Ueno <ueno@unixuser.org>
64 * epg.el: Use lexical binding.
66 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
68 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
70 * textmodes/flyspell.el (flyspell-word): Recognize default
71 dictionary case for flyspell-mark-duplications-exceptions. Use
72 regexp matching for languages.
73 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
74 default dictionary (Bug#7926).
76 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
78 * emacs-lisp/package.el (package--with-work-buffer): Recognize
81 * net/network-stream.el: Move from gnus/proto-stream.el. Change
82 prefix to network-stream throughout.
83 (open-protocol-stream): Merge into open-network-stream, leaving
84 open-protocol-stream as an alias. Handle nil BUFFER args.
86 * subr.el (open-network-stream): Move to net/network-stream.el.
88 2011-04-02 Glenn Morris <rgm@gnu.org>
90 * find-dired.el (find-exec-terminator): New option.
91 (find-ls-option): Test for -ls support.
92 (find-ls-subdir-switches): Test for -b in find-ls-option.
93 (find-dired, find-grep-dired): Doc fixes.
94 (find-dired): Use find-exec-terminator.
96 * find-dired.el (find-ls-option, find-ls-subdir-switches)
97 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
98 (find-name-arg): Remove purecopy.
100 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
101 (grep-compute-defaults): Check for `-exec COMMAND +' support.
102 Set grep-find-use-xargs, grep-find-command, and grep-find-template
103 accordingly. Don't add the null-device if not needed.
105 * files.el (save-some-buffers): Doc fix.
107 2011-04-02 Eli Zaretskii <eliz@gnu.org>
109 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
111 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
113 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
114 Use `dolist' rather than `mapcar'.
116 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
120 * subr.el (apply-partially): Use new closures rather than CL.
121 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
122 (dolist, dotimes): Use slightly different expansion for lexical code.
123 (functionp): Move to C.
125 (with-wrapper-hook): Use it and apply-partially instead of CL.
126 (eval-after-load): Preserve lexical-binding.
127 (save-window-excursion, with-output-to-temp-buffer): Turn them
130 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
132 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
134 (help-add-fundoc-usage): Don't add `Not documented'.
135 (help-function-arglist): Handle closures, subroutines, and new
137 (help-make-usage): Remove leading underscores.
138 (describe-function-1): Handle closures.
139 (describe-variable): Use special-variable-p for completion.
141 * files.el (lexical-binding): Declare safe.
143 * emacs-lisp/pcase.el: Don't use destructuring-bind.
144 (pcase--memoize): Rename from pcase-memoize. Change weakness.
145 (pcase): Add `let' pattern.
146 Change memoization so it actually works.
147 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
148 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
151 * emacs-lisp/macroexp.el: Use lexical binding.
152 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
153 Don't convert ' to #' without checking that it's indeed quoting
156 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
157 Use eval-sexp-add-defvars.
158 (eval-sexp-add-defvars): New fun.
160 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
162 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
164 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
165 than the internal `byte-compile-lambda'.
166 (defmethod): Don't hide code under quotes.
167 (eieio-defmethod): New `code' argument.
169 * emacs-lisp/eieio-comp.el: Remove.
171 * emacs-lisp/edebug.el (edebug-eval-defun)
172 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
173 (edebug-toggle): Avoid `eval'.
175 * emacs-lisp/disass.el (disassemble-internal): Handle new
177 (disassemble-1): Handle new byte codes.
179 * emacs-lisp/cl.el (pushnew): Silence warning.
181 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
182 (cl-byte-compile-throw): Remove.
183 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
185 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
188 * emacs-lisp/cconv.el: New file.
190 * emacs-lisp/bytecomp.el: Use lexical binding instead of
191 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
192 (byte-compile-initial-macro-environment):
193 Handle declare-function here.
194 (byte-compile--lexical-environment): New var.
195 (byte-stack-ref, byte-stack-set, byte-discardN)
196 (byte-discardN-preserve-tos): New lap codes.
197 (byte-interactive-p): Don't use any more.
198 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
200 (byte-compile-lapcode): Use them and handle new lap codes.
201 (byte-compile-obsolete): Remove.
202 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
203 (byte-compile-arglist-warn): Check late def of inlinable funs.
204 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
205 since they should have been expanded by now.
206 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
207 (byte-compile-from-buffer): Remove unused second arg.
208 (byte-compile-preprocess): New function.
209 (byte-compile-toplevel-file-form): New function to distinguish
210 file-form calls from outside from file-form calls from hunk-handlers.
211 (byte-compile-file-form): Simplify.
212 (byte-compile-file-form-defsubst): Remove.
213 (byte-compile-file-form-defmumble): Simplify now that
214 byte-compile-lambda always returns a byte-code-function.
215 (byte-compile): Preprocess.
216 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
217 Remove, not used any more.
218 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
219 (byte-compile-make-args-desc): New funs.
220 (byte-compile-lambda): Handle lexical functions. Always return
221 a byte-code-function.
222 (byte-compile-reserved-constants): New var, to make up room for
223 closed-over variables.
224 (byte-compile-constants-vector): Obey it.
225 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
226 (byte-compile-macroexpand-declare-function): New function.
227 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
229 (byte-compile-form): Check obsolescence here.
230 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
231 (byte-compile-variable-ref): Remove.
232 (byte-compile-dynamic-variable-op): New fun.
233 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
234 (byte-compile-variable-set): New funs.
235 (byte-compile-discard): Add 2 args.
236 (byte-compile-stack-ref, byte-compile-stack-set)
237 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
238 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
239 macroexpand-all instead.
240 (byte-compile-quote-form): Remove.
241 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
242 (byte-compile-bind, byte-compile-unbind): New funs.
243 (byte-compile-let): Handle let* and lexical binding.
244 (byte-compile-let*): Remove.
245 (byte-compile-catch, byte-compile-unwind-protect)
246 (byte-compile-track-mouse, byte-compile-condition-case):
247 Handle a new :fun-body form, used for lexical scoping.
248 (byte-compile-save-window-excursion)
249 (byte-compile-with-output-to-temp-buffer): Remove.
250 (byte-compile-defun): Simplify.
251 (byte-compile-stack-adjustment): New fun.
252 (byte-compile-out): Use it.
253 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
255 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
258 * emacs-lisp/byte-opt.el: Use lexical binding.
259 (byte-inline-lapcode): Remove (to bytecomp).
260 (byte-compile-inline-expand): Pay attention to inlining to/from
261 lexically bound code.
262 (byte-compile-unfold-lambda): Don't handle byte-code-functions
264 (byte-optimize-form-code-walker): Don't handle save-window-excursion
265 any more and don't call compiler-macros.
266 (byte-compile-splice-in-already-compiled-code): Remove.
267 (byte-code): Don't inline any more.
268 (disassemble-offset): Receive `bytes' as argument rather than via
270 (byte-compile-tag-number): Declare before first use.
271 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
272 `return' even if make-spliceable.
273 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
274 obsolete interactive-p.
275 (byte-optimize-lapcode): Optimize new lap-codes.
276 Don't trip up on new form of `byte-constant' lap code.
278 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
280 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
282 * custom.el (custom-initialize-default, custom-declare-variable):
285 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
287 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
288 (COMPILE_FIRST): Add macroexp and cconv.
289 * makefile.w32-in: Mirror changes in Makefile.in.
296 * textmodes/bibtex-style.el:
305 * emacs-lisp/smie.el:
308 * abbrev.el: Use lexical binding.
310 2011-04-01 Eli Zaretskii <eliz@gnu.org>
312 * info.el (info-display-manual): New function.
314 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
316 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
318 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
320 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
321 an entry for that server in rcirc-authinfo. (Bug#8385)
323 2011-03-31 Glenn Morris <rgm@gnu.org>
325 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
327 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
329 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
331 * progmodes/python.el (python-default-interpreter)
332 (python-python-command-args, python-jython-command-args)
333 (python-which-shell, python-which-args, python-which-bufname)
334 (python-file-queue, python-comint-output-filter-function)
335 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
336 variables and functions.
338 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
340 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
341 (completion-in-region-mode): New minor mode.
342 (completion-in-region): Use it.
343 (completion-in-region--data, completion-in-region-mode-map): New vars.
344 (completion-in-region--postch): New function.
345 (completion--capf-misbehave-funs, completion--capf-safe-funs):
347 (completion--capf-wrapper): New function.
348 (completion-at-point): Use it to track well-behavedness of
350 (completion-help-at-point): New command.
352 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
354 * vc/add-log.el (add-change-log-entry): Don't use whitespace
355 syntax class to search for whitespace on a single line
356 (Message-ID: <4D938140.4030905@redhat.com>).
358 2011-03-30 Leo Liu <sdl.web@gmail.com>
360 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
362 (edit-abbrevs-map): Bind them here.
363 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
365 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
367 * allout.el (allout-hide-by-annotation, allout-flag-region):
368 Reduce possibility of overlay leakage by making them volatile.
370 * allout-widgets.el (allout-widgets-tally): Define as nil so the
371 hash is not shared between buffers. Mode initialization is
372 responsible for giving it a useful starting value.
373 (allout-item-span): Reduce possibility of overlay leakage by
374 making them volatile.
375 (allout-widgets-count-buttons-in-region): Add diagnostic function
376 for tracking down button overlay leaks.
378 2011-03-29 Leo Liu <sdl.web@gmail.com>
380 * ido.el (ido-read-internal): Use the default history var
381 minibuffer-history if no HISTORY is specified.
383 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
385 * net/imap.el (imap-shell-open, imap-process-connection-type):
386 Use imap-process-connection-type for 'shell' streams as well as
387 Kerberos, SSL, other subprocesses.
389 2011-03-28 Leo Liu <sdl.web@gmail.com>
391 * abbrev.el (abbrev-table-empty-p): New function.
392 (prepare-abbrev-list-buffer): Place empty abbrev tables after
393 nonempty ones. (Bug#5937)
395 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
397 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
399 2011-03-27 Leo Liu <sdl.web@gmail.com>
401 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
402 for foreground and background colors.
403 (ansi-color-make-color-map): Adapt.
405 2011-03-25 Leo Liu <sdl.web@gmail.com>
407 * midnight.el (midnight-time-float): Remove. Note it calculates
408 the microsecond component incorrectly and seconds-to-time does the
410 Remove redundant (require 'timer).
412 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
413 (ido-completions): Remove unused arguments. (Bug#8329)
415 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
417 * minibuffer.el (completion--flush-all-sorted-completions):
418 Remove itself from hook.
419 (completion-at-point): Let the functions perform the completion
420 immediately and return nil or t.
421 * comint.el (comint-dynamic-complete-functions): Now identical to
422 completion-at-point-functions.
423 (comint-dynamic-list-input-ring): Remove unused var `index'.
424 (comint--match-partial-filename, comint--unquote&expand-filename):
425 New funs, split from comint-match-partial-filename.
426 (comint-dynamic-complete): Use completion-at-point.
427 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
429 2011-03-24 Drew Adams <drew.adams@oracle.com>
431 * thingatpt.el: Support `defun'.
433 2011-03-23 Leo Liu <sdl.web@gmail.com>
435 * abbrevlist.el: Move to obsolete/abbrevlist.el.
437 * help-mode.el (help-mode-finish): Tweak regexp.
439 2011-03-23 Glenn Morris <rgm@gnu.org>
441 * eshell/esh-opt.el (eshell-eval-using-options):
442 Do not bind unused local variable `eshell-option-stub'.
444 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
446 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
448 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
449 keymap variable in `with-no-warnings' to avoid a warning when the
450 keymap has been already `defconst'ed.
452 2011-03-22 Leo Liu <sdl.web@gmail.com>
454 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
455 encode all chars in abbrevs; otherwise use emacs-mule or
456 utf-8-emacs. (Bug#8308)
458 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
460 * simple.el (backward-delete-char-untabify):
461 Avoid warning about using `delete-backward-char'.
463 * image.el (image-type-file-name-regexps): Make it variable.
464 `imagemagick-register-types' modifies it, and the user may want
465 to add new extensions for known image types.
466 (imagemagick-register-types): Throw error if not using ImageMagick.
468 2011-03-22 Leo Liu <sdl.web@gmail.com>
470 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
471 located before rcirc-prompt-end-marker.
472 (rcirc-complete): Error if point is not after rcirc prompt.
473 Handle the case when table is nil.
474 (rcirc-user-authenticated): Define to fix compiler warning.
476 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
478 * custom.el (custom--inhibit-theme-enable): Make it affect only
479 custom-theme-set-variables and custom-theme-set-faces.
480 (provide-theme): Ignore custom--inhibit-theme-enable.
481 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
482 (custom-enabling-themes): Delete variable.
483 (enable-theme): Accept only loaded themes as arguments.
484 Ignore the special custom-enabled-themes variable.
485 (custom-enabled-themes): Forbid themes from setting this.
486 Eliminate use of custom-enabling-themes.
487 (custom-push-theme): Quote "changed" custom var entry.
489 2011-03-21 Leo Liu <sdl.web@gmail.com>
491 * ido.el (ido-read-internal): Add ido-selected to history instead
494 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
496 * subr.el (deferred-action-list, deferred-action-function):
499 2011-03-21 Leo Liu <sdl.web@gmail.com>
501 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
502 change on 2011-02-13 (bug#8309).
504 * minibuffer.el (read-file-name-function): Change default value.
505 (read-file-name--defaults): Rename from read-file-name-defaults.
506 (read-file-name-default): Rename from read-file-name.
507 (read-file-name): Call read-file-name-function.
509 2011-03-21 Glenn Morris <rgm@gnu.org>
511 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
514 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
516 * cus-theme.el: Add missing provide statement.
517 (customize-create-theme): Extract theme value correctly.
518 (custom-theme-visit-theme): Autoload.
519 (customize-create-theme): Prompt before inserting default faces.
521 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
523 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
524 units and musical notes.
526 2011-03-20 Leo <sdl.web@gmail.com>
528 * ido.el (ido-read-internal): Use completing-read-default.
529 (ido-completing-read): Fix compatibility with completing-read.
531 2011-03-20 Christian Ohler <ohler@gnu.org>
533 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
534 (ert-delete-all-tests): Use `called-interactively-p' rather than
536 (ert--make-xrefs-region): Respect END.
538 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
540 * dired-aux.el (dired-create-directory): Signal an error if the
541 directory already exists (Bug#8246).
543 * facemenu.el (list-colors-display): Call list-faces-display
544 inside with-help-window.
545 (list-colors-print): Use display property to align the final
546 column, instead of checking window-width.
548 2011-03-19 Eli Zaretskii <eliz@gnu.org>
550 * emerge.el (emerge-metachars): Separate value for ms-dos and
552 (emerge-protect-metachars): Quote correctly for ms-dos and
555 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
557 * info.el (info-initialize): Replace all uses of `:' with
558 path-separator for compatibility with non-Unix systems.
559 Cache quoting of path-separator. (Bug#8258)
561 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
563 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
564 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
565 (mouse-avoidance-mode): Fix typos in docstrings.
567 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
569 * startup.el (package-subdirectory-regexp): Move from package.el.
570 Omit \\` and \\', and let callers add them.
572 * emacs-lisp/package.el (package-strip-version)
573 (package-load-all-descriptors): Add \\` and \\' to
574 package-subdirectory-regexp before using it.
575 (package-untar-buffer): New arg DIR; ensure that file untars only
576 into this expected directory. Remove superfluous delete-region.
577 (package-unpack): Caller changed.
578 (package-tar-file-info): Use package-subdirectory-regexp.
580 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
582 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
583 diff-mode-shared-map (bug#8284).
584 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
586 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
588 * calendar/time-date.el (format-seconds): Use assoc instead of
589 assoc-string, since assoc-string doesn't exist in XEmacs.
591 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
593 * custom.el (custom-known-themes): Reflow docstring.
594 (custom-theme-load-path): Fix typo in docstring.
595 (load-theme): Fix typo in error message.
596 (custom-available-themes, custom-variable-theme-value):
597 Use `let', not `let*'.
599 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
601 * calc/README: Mention inclusion of musical notes.
603 * calc/calc-units.el (calc-lu-quant): Rename from
604 `calc-logunits-quantity'.
605 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
606 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
607 (calc-db): Rename from `calc-dblevel'.
608 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
609 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
610 (calc-np): Rename from `calc-nplevel'.
611 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
612 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
613 (calc-lu-plus): Rename from `calc-logunits-add'.
614 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
615 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
616 (calc-lu-minus): Rename from `calc-logunits-sub'.
617 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
618 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
619 (calc-lu-times): Rename from `calc-logunits-mul'.
620 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
621 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
622 (calc-lu-divide): Rename from `calc-logunits-div'.
623 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
624 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
626 * calc/calc-ext.el (calc-init-extensions): Update the names of the
627 functions being autoloaded.
629 * calc/calc.el (calc-lu-power-reference): Rename from
630 `calc-logunits-power-reference'.
631 (calc-lu-field-reference): Rename from
632 `calc-logunits-field-reference'.
634 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
636 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
638 * minibuffer.el (completion-all-sorted-completions):
639 Use :completion-cycle-penalty text property if present.
641 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
643 * allout.el (allout-yank-processing): Adjust for new rebulleting
644 regime so bullet being yanked is used without prompting the user
647 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
649 * startup.el (command-line): Warn the user that _emacs is deprecated.
651 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
653 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
654 (delphi-verbose, delphi-comment-face, delphi-string-face)
655 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
656 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
657 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
658 (delphi-new-comment-line, delphi-font-lock-defaults)
659 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
660 Fix typos in docstrings.
662 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
664 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
665 Invert the roles of character and string values for INSTEAD, so a
666 string is used for the more common case of a defaulting prompt.
668 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
670 * progmodes/ruby-mode.el (ruby-backward-sexp):
671 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
672 * play/gamegrid.el (gamegrid-make-face):
673 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
674 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
675 * notifications.el (notifications-notify):
676 * net/xesam.el (xesam-search-engines):
677 * net/quickurl.el (quickurl-list-insert):
678 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
680 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
682 * startup.el (command-line): Update package subdirectory regexp.
684 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
686 * allout.el (allout-abbreviate-flattened-numbering)
687 (allout-mode-deactivate-hook): Fix up obsolescence "date".
689 * subr.el (read-char-choice): Only show the cursor after the prompt,
690 not after the answer.
692 2011-03-15 Kevin Ryde <user42@zip.com.au>
694 * help-fns.el (variable-at-point): Skip leading quotes, if any
697 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
699 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
702 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
704 * shell.el (shell): When called interactively, offer to change the
705 shell file name on remote hosts.
707 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
709 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
710 integration for LDAP parameters. The host, base, user or binddn,
711 and secret tokens can be specified in a netrc file, for instance.
712 This is optional because an `auth-source' parameter must be
713 specified in the search attributes.
715 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
717 * help.el (describe-mode): Link to the mode's definition (bug#8185).
719 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
721 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
722 into declaration. Remove redundant and harmful binding.
724 2011-03-12 Eli Zaretskii <eliz@gnu.org>
726 * files.el (file-ownership-preserved-p): Pass `integer' as an
727 explicit 2nd argument to `file-attributes'. If the file's owner
728 is the Administrators group on Windows, and the current user is
729 Administrator, consider that a match.
731 * server.el (server-ensure-safe-dir): Consider server directory
732 safe on MS-Windows if its owner is the Administrators group while
733 the current Emacs user is Administrator. Use `=' to compare
734 numerical UIDs, since they could be integers or floats.
736 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
738 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
740 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
742 Sync with Tramp 2.2.1.
744 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
746 * net/trampver.el: Update release number.
748 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
750 * progmodes/compile.el (compilation--previous-directory): Fix up
751 various nil/dead-marker mismatches (bug#8014).
752 (compilation-directory-properties, compilation-error-properties):
753 Don't call it at a position past the one we're about to change.
755 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
756 Disable obsolescence warnings in the file that declares it.
758 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
760 * allout-widgets.el (allout-widgets-tally): Initialize
761 allout-widgets-tally as a hash table rather than nil to prevent
762 mode-line redisplay warnings.
763 Also, clarify the module description and fix a comment typo.
765 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
767 * help-fns.el (describe-variable): Don't complete keywords.
768 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
770 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
772 * emacs-lisp/package.el (package-version-join): Impose a standard
773 string representation for pre/alpha/beta version lists.
774 (package-unpack-single): Standardize the directory name by passing
775 it through package-version-join.
776 (package-strip-rcs-id): Accept any version string that does not
777 signal an error in version-to-list.
779 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
781 * simple.el (delete-trailing-whitespace): Return nil for the
782 benefit of `write-file-functions'.
784 2011-03-10 Glenn Morris <rgm@gnu.org>
786 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
788 * vc/vc-git.el (vc-git-program): New option.
789 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
790 (vc-git--call): Use it.
792 * eshell/esh-util.el (eshell-condition-case): Doc fix.
794 * cus-edit.el (Custom-newline): If no button at point, look
795 for a subgroup button at start-of-line. (Bug#2298)
797 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
799 2011-03-10 Julien Danjou <julien@danjou.info>
801 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
802 `cursor-type' is nil.
804 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
806 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
808 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
810 * allout.el Summary: Change so yank of distinctive-bullet items
811 preserves the existing header prefix, rebulleting it if necessary,
812 rather than replacing it. This is necessary for proper operation
813 of cooperative addons like allout-widgets.
814 (allout-make-topic-prefix, allout-rebullet-heading): Change
815 SOLICIT arg to INSTEAD, and interpret additionally a string value
816 as alternate bullet to be used, instead of prompting the user for
819 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
821 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
822 Do not use `tramp-file-name-port', because this returns also
823 `tramp-default-port'.
825 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
827 * net/rcirc.el (rcirc-handler-001): Remove useless
828 with-rcirc-process-buffer.
829 (rcirc-check-auth-status): Swap arguments to string-match.
831 2011-03-09 Glenn Morris <rgm@gnu.org>
833 * shell.el (shell-mode):
834 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
836 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
837 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
839 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
841 * emacs-lisp/package.el (package-refresh-contents)
842 (package-menu-execute): Use condition-case-no-debug.
844 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
846 * simple.el (shell-command-to-string): Use `process-file'.
848 * emacs-lisp/package.el (package-tar-file-info): Handle also
851 * emacs-lisp/package-x.el (package-upload-buffer-internal):
852 Use `equal' for upload base check.
854 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
856 * textmodes/texinfo.el (texinfo-environments):
857 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
859 2011-03-08 Glenn Morris <rgm@gnu.org>
861 * cus-start.el (cursor-in-non-selected-windows):
862 Fix :set quoting oddness. (Bug#8192)
864 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
865 in some setf expressions. (Bug#2159)
867 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
869 * custom.el (custom-available-themes): Return themes in
872 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
874 * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
875 application of patch from Alan Mackenzie (Bug#7595).
877 2011-03-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
879 * net/rcirc.el (rcirc-connect): Fix PASS bug.
881 2011-03-07 Glenn Morris <rgm@gnu.org>
883 * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
884 Give an explicit error if failed to make writable. (Bug#6146)
886 2011-03-07 Ed Reingold <reingold@emr.cs.iit.edu>
888 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
889 Add optional `after-sunset' argument. (Bug#8190)
891 2011-03-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
893 * play/morse.el (nato-alphabet, nato-region, denato-region):
894 New variable and functions. (Bug#2288)
895 (morse-region, unmorse-region): Barf if read-only.
897 2011-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
899 * progmodes/gud.el (gdb-script-syntax-propertize-function):
900 Don't change the syntax of a \n that closes a comment (bug#8169).
902 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
904 * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
906 (package--update-file): Doc fix. Accept relative file names.
907 (package--archive-contents-from-file): Remove the argument, since
908 it's necessarily always "archive-contents".
909 (package-maint-add-news-item): Pass relative file name args to
910 package--update-file.
911 (package-upload-buffer-internal): Prompt for a destination if
912 package-archive-upload-base is invalid. Create the directory if
914 (package-upload-buffer, package-upload-file): Doc fix.
916 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
918 * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
919 and move isearch-yank-line to M-s C-e (Bug#8183).
921 2011-03-06 Alan Mackenzie <acm@muc.de>
923 * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
924 (c-guess-basic-syntax): Move CASE 19 to a different place,
925 correctly to process template-args-cont lines.
927 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
929 * calc/calc-ext.el (calc-init-extensions):
930 Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
931 and calc-nplevel, respectively. Add keybindings for calc-spn,
932 calc-midi and calc-freq. Add autoloads for calcFunc-spn,
933 calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
935 * calc/calc-units.el (calc-dblevel): Rename from
936 calc-logunits-dblevel.
937 (calc-nplevel): Rename from calc-logunits-nplevel.
938 (math-midi-round, math-freqp, math-midip, math-spnp)
939 (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
940 (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
941 (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
942 (math-notes): New variable.
944 * calc/calc.el (calc-note-threshold): New variable.
946 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
948 * emacs-lisp/package.el (package-archives): Accept either ordinary
949 directory names, in addition to HTTP URLs.
950 (package--with-work-buffer): New macro. Handle normal directories.
951 (package-handle-response): Don't display the failing buffer.
952 (package-download-single, package-download-tar)
953 (package--download-one-archive): Use package--with-work-buffer.
954 (package-archive-base): Rename from package-archive-url.
956 2011-03-06 Glenn Morris <rgm@gnu.org>
958 * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
959 (xmodmap-generic-mode): Respect generic-extras-enable-list.
961 2011-03-06 Daniel Clemente <dcl441-bugs@yahoo.com> (tiny change)
963 * generic-x.el (xmodmap-generic-mode): New. (Bug#2065)
965 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
967 * allout.el (allout-init, allout-prefixed-keybindings)
968 (allout-unprefixed-keybindings):
969 * progmodes/prolog.el (prolog-find-term):
970 Fix typos in docstrings.
972 2011-03-06 Nikolaj Schumacher <me@nschum.de> (tiny change)
974 * emacs-lisp/elp.el (elp-results): Fix off-by-one in header. (Bug#2746)
976 2011-03-06 Kevin Ryde <user42@zip.com.au>
978 * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc. (Bug#5326)
980 2011-03-06 Michael Shields <shields@msrl.com> (tiny change)
982 * window.el (one-window-p, walk-windows, display-buffer):
983 Doc fixes. (Bug#5567)
985 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
987 * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
988 of the variable if it exists.
990 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
997 * net/tramp-cache.el:
998 * obsolete/fast-lock.el:
999 * textmodes/reftex.el:
1000 Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
1002 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
1004 * files.el (delete-directory, copy-directory, list-directory):
1005 Use read-directory-name.
1007 * find-file.el (ff-find-the-other-file):
1008 * net/ange-ftp.el (ange-ftp-make-directory):
1009 * printing.el (pr-interactive-dir):
1010 * progmodes/ada-prj.el (ada-prj-load-directory):
1011 * progmodes/ebnf2ps.el (ebnf-print-directory)
1012 (ebnf-spool-directory, ebnf-eps-directory)
1013 (ebnf-syntax-directory):
1015 * speedbar.el (speedbar-create-directory):
1016 * vc/emerge.el (emerge-merge-directories):
1017 * vc/vc-dir.el (vc-dir):
1018 * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
1020 2011-03-05 Chong Yidong <cyd@stupidchicken.com>
1022 * help-mode.el (help-buffer): If we are to return the current
1023 buffer, signal an error if it's not in Help mode (Bug#8147).
1025 2011-03-05 Reuben Thomas <rrt@sc3d.org>
1027 * files.el (file-name-version-regexp): Handle backup files of the
1028 form `foo.js.~HEAD~1~' (Bug#8159).
1030 2011-03-05 Glenn Morris <rgm@gnu.org>
1032 * eshell/esh-var.el: Don't require esh-test when compiling.
1033 * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
1034 * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
1035 * eshell/esh-test.el: Move to ../../test/eshell.el.
1037 2011-03-05 David Engster <deng@randomsample.de>
1039 * files.el (save-some-buffers): Report the names of buffers saved
1040 automatically due to buffer-save-without-query (Bug#8134).
1042 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1044 * net/rcirc.el: Add QuakeNet authentication support.
1045 (rcirc-authinfo, rcirc-check-auth-status)
1046 (rcirc-authenticate): Support QuakeNet.
1048 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1050 * net/rcirc.el: Add functionality to authenticate before
1051 autojoining channels.
1052 (rcirc-authenticate-before-join): New option.
1053 (rcirc-authenticated-hook): New variable.
1054 (rcirc-connect): Make local variable rcirc-user-authenticated.
1055 (rcirc-handler-001): Respect rcirc-authenticate-before-join.
1056 (rcirc-check-auth-status, rcirc-join-channels-post-auth):
1058 (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
1059 Call rcirc-check-auth-status.
1061 2011-03-05 Alex Harsanyi <AlexHarsanyi@gmail.com>
1063 * net/soap-client.el (soap-namespace-put-link): Check if the target
1064 name is fully qualified -- use only the name part.
1065 (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
1066 types, treated the same as xsd:sequence. (Bug#8166)
1068 2011-03-05 Eli Zaretskii <eliz@gnu.org>
1070 * files.el (find-file-noselect): Don't ask about re-visiting
1071 non-literally if the file is already visited in image-mode.
1074 2011-03-05 Glenn Morris <rgm@gnu.org>
1076 * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
1077 (eshell-mode): Use eshell-kill-buffer-function.
1078 Run the -initialize functions independently of the -load-hooks.
1079 * eshell/esh-proc.el (eshell-kill-process-function): New function.
1080 (eshell-gather-process-output, eshell-sentinel)
1081 (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
1082 Use eshell-kill-process-function.
1083 * eshell/em-alias.el (eshell-alias-load-hook):
1084 * eshell/em-banner.el (eshell-banner-load-hook):
1085 * eshell/em-cmpl.el (eshell-cmpl-load-hook):
1086 * eshell/em-dirs.el (eshell-dirs-load-hook):
1087 * eshell/em-glob.el (eshell-glob-load-hook):
1088 * eshell/em-hist.el (eshell-hist-load-hook):
1089 * eshell/em-pred.el (eshell-pred-load-hook):
1090 * eshell/em-prompt.el (eshell-prompt-load-hook):
1091 * eshell/em-rebind.el (eshell-rebind-load-hook):
1092 * eshell/em-script.el (eshell-script-load-hook):
1093 * eshell/em-smart.el (eshell-smart-load-hook):
1094 * eshell/em-term.el (eshell-term-load-hook):
1095 * eshell/em-unix.el (eshell-unix-load-hook):
1096 * eshell/esh-arg.el (eshell-arg-load-hook):
1097 * eshell/esh-cmd.el (eshell-cmd-load-hook):
1098 * eshell/esh-ext.el (eshell-ext-load-hook):
1099 * eshell/esh-io.el (eshell-io-load-hook):
1100 * eshell/esh-mode.el (eshell-exit-hook):
1101 * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
1102 * eshell/esh-var.el (eshell-var-load-hook):
1103 Set default hook values to nil. (Bug#5375)
1105 * eshell/esh-module.el (eshell-module-unload-hook)
1106 (eshell-modules-list): Remove leading * from defcustom docs.
1108 * eshell/esh-util.el (eshell-for): Make it obsolete.
1109 * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
1110 * eshell/em-dirs.el (eshell-save-some-last-dir):
1111 * eshell/em-hist.el (eshell-save-some-history)
1112 (eshell-hist-parse-modifier):
1113 * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
1114 (eshell-ls-entries):
1115 * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
1116 * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
1118 * eshell/esh-ext.el (eshell-find-interpreter):
1119 * eshell/esh-mode.el (eshell-mode):
1120 * eshell/esh-module.el (eshell-unload-extension-modules):
1121 * eshell/esh-proc.el (eshell-process-interact):
1122 * eshell/esh-test.el (eshell-test):
1123 * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
1124 * eshell/esh-var.el (eshell/env, eshell-environment-variables)
1125 (eshell-variables-list):
1126 * eshell/eshell.el (eshell-unload-all-modules):
1127 Replace eshell-for with dolist.
1129 2011-03-04 Glenn Morris <rgm@gnu.org>
1131 * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0. (Bug#8170)
1133 2011-03-04 Tom Tromey <tromey@redhat.com>
1135 * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
1137 2011-03-04 Glenn Morris <rgm@gnu.org>
1139 * outline.el (outline-regexp): No longer allow nil.
1140 (outline-heading-end-regexp): Add safety predicate. (Bug#7619)
1142 * net/browse-url.el (browse-url):
1143 Handle deleted default-directory. (Bug#6077)
1145 * recentf.el (recentf-include-p): In case of a buggy predicate,
1146 err on the side of including, not excluding. (Bug#5843)
1148 2011-03-04 Jay Belanger <jay.p.belanger@gmail.com>
1150 * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
1153 2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
1155 * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
1156 if there is no node. (Bug#3261)
1158 2011-03-04 Leo <sdl.web@gmail.com>
1160 * vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
1162 * time.el (display-time-world-list): Fix typo. (Bug#7571)
1164 2011-03-04 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
1166 * cus-edit.el (custom-buffer-create-internal):
1167 Split search string before passing it to `customize-apropos' (bug#8136).
1169 2011-03-04 Drew Adams <drew.adams@oracle.com>
1171 * image-dired.el (image-dired-cmd-read-exif-data-options):
1172 Fix typo in docstring (bug#8156).
1174 2011-03-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1176 * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
1178 2011-03-03 Christian Ohler <ohler@gnu.org>
1180 * emacs-lisp/ert.el (ert--explain-equal): New function.
1181 (ert--explain-equal-rec): Rename from `ert--explain-not-equal'.
1182 All callers changed.
1183 (ert--explain-equal-including-properties): Rename from
1184 `ert--explain-not-equal-including-properties'. All callers
1187 2011-03-03 Christian Ohler <ohler@gnu.org>
1189 * emacs-lisp/ert.el (ert--stats-set-test-and-result)
1190 (ert-char-for-test-result, ert-string-for-test-result)
1191 (ert-run-tests-batch, ert--print-test-for-ewoc):
1192 Handle `ert-test-quit'.
1194 2011-03-03 David Abrahams <dave@boostpro.com> (tiny change)
1196 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1197 Move ediff-defvar-local calls after defcustoms. (Bug#1821)
1199 2011-03-03 Glenn Morris <rgm@gnu.org>
1201 * files.el (file-truename): Doc fix. (Bug#2341)
1203 2011-03-03 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1205 * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
1207 2011-03-03 Vagn Johansen <gonz808@hotmail.com> (tiny change)
1209 * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
1210 programs output backslashes. (Bug#7663)
1212 2011-03-03 Glenn Morris <rgm@gnu.org>
1214 * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
1215 (mail-mode): Remove mail-sent-via from the doc.
1216 (mail-sent-via): Make it obsolete. (Bug#1776)
1218 * progmodes/grep.el (grep-highlight-matches): Doc fix.
1219 (grep-process-setup): No highlighting without font-lock. (Bug#8084)
1221 * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
1222 with no parents. (Bug#8025)
1224 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
1226 * password-cache.el (password-in-cache-p): Add autoload.
1228 2011-03-02 Glenn Morris <rgm@gnu.org>
1230 * man.el (Man-support-local-filenames): Also handle Red Hat's man.
1231 * dired-x.el (Man-support-local-filenames): Autoload it.
1232 (dired-guess-shell-alist-default): Also handle Red Hat's man.
1234 * dired-x.el (dired-default-directory-alist, dired-default-directory):
1236 (dired-smart-shell-command): Just call dired-current-directory.
1238 * dired-x.el (dired-jump-other-window): Add autoload.
1239 (dired-default-directory-alist, dired-default-directory): Doc fixes.
1240 (dired-default-directory-alist): Mark as risky.
1242 * dired-x.el (dired-omit-here-always): Make it obsolete.
1244 2011-03-02 Chong Yidong <cyd@stupidchicken.com>
1246 * textmodes/artist.el (artist-curr-go): Default to pen-line.
1247 (artist-select-op-pen-line): New function.
1248 (artist-menu-map): New variable.
1249 (artist-mode-map): Add a menu to the menu-bar.
1251 2011-03-02 Jay Belanger <jay.p.belanger@gmail.com>
1253 * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
1256 * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
1258 (math-logunits-add, math-logunits-mul, math-logunits-divide):
1259 (math-logunits-quant, math-logunits-level):
1260 Use `math-conditional-apply' and `math-conditional-pow' to evaluate
1262 (math-logunits-level): Extract units from ratio.
1264 2011-03-01 Juanma Barranquero <lekktu@gmail.com>
1266 * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
1268 2011-03-01 Glenn Morris <rgm@gnu.org>
1270 * calendar/cal-hebrew.el (calendar-hebrew-birthday)
1271 (diary-hebrew-birthday): Rename and rework functions added
1274 2011-03-01 Ed Reingold <reingold@emr.cs.iit.edu>
1276 * calendar/cal-hebrew.el (hebrew-calendar-birthday)
1277 (diary-hebrew-birthday): New functions.
1279 2011-03-01 Glenn Morris <rgm@gnu.org>
1281 * dired.el (dired-safe-switches-p): Beef it up.
1282 (dired-actual-switches): Use it for the safe-local prop. (Bug#3230)
1284 2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
1286 * dired.el (dired-safe-switches-p): New function.
1288 2011-03-01 Glenn Morris <rgm@gnu.org>
1290 * files.el (dir-locals-collect-variables):
1291 Add the ability to exclude subdirectories. (Bug#8100)
1293 * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
1295 2011-02-28 Christoph Scholtes <cschol2112@googlemail.com>
1297 * ido.el (ido-everywhere): Doc fix.
1298 (ido-mode): Doc fix.
1300 2011-02-28 Glenn Morris <rgm@gnu.org>
1302 * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
1304 2011-02-28 Michael Albinus <michael.albinus@gmx.de>
1306 * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
1309 2011-02-28 Antoine Levitt <antoine.levitt@gmail.com>
1311 * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
1313 2011-02-28 Juanma Barranquero <lekktu@gmail.com>
1315 * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
1316 Fix typos in docstrings.
1318 2011-02-28 Stephen Berman <stephen.berman@gmx.net>
1320 * dired-aux.el (dired-update-file-line):
1321 Fix 2010-11-09 change. (Bug#8131)
1323 2011-02-28 Eli Zaretskii <eliz@gnu.org>
1325 * international/mule-cmds.el (set-default-coding-systems): Use the
1326 -unix variant of encoding in default-keyboard-coding-system.
1329 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
1331 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
1333 2011-02-27 Prestoo Ten <prestooten@gmail.com> (tiny change)
1335 * term/screen.el: New file (Bug#2650).
1337 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
1339 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
1340 (pcase-mutually-exclusive-predicates): New var.
1341 (pcase--split-consp, pcase--split-pred): Use it.
1342 (pcase--split-equal, pcase--split-member): When splitting against
1343 a pure predicate, run it to know the outcome.
1344 (pcase--u1): Mark vars that are actually used.
1345 (pcase--q1): Avoid introducing unused vars.
1347 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
1349 * calc/calc-ext.el (calc-init-extensions):
1350 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
1352 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
1355 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
1356 argument is a variable.
1358 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1360 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
1361 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
1362 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
1364 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
1366 * password-cache.el (password-in-cache-p): Convenience function to
1367 check if a key is in the cache, even if the value is nil.
1369 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
1371 * emacs-lisp/package-x.el (package--archive-contents-from-url)
1372 (package--archive-contents-from-file): New functions.
1373 (package-update-news-on-upload): New var.
1374 (package-upload-buffer-internal): Extract archive-contents from
1375 package-archive-upload-base if it is not found at archive-url.
1376 Obey package-update-news-on-upload.
1377 (package-upload-buffer, package-upload-file): Doc fix.
1379 2011-02-24 Glenn Morris <rgm@gnu.org>
1381 * files-x.el (modify-dir-local-variable): Handle dir-locals from
1382 the cache, and from non-file sources.
1384 * help-fns.el (describe-variable): Return consistent results when a
1385 dir-local from a file came from the cache or did not. (Bug#8095)
1386 If a dir-local has no associated file, say it came from a "directory".
1388 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
1389 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
1391 * files.el (dir-locals-find-file): Doc fix.
1392 Fix the check for cache elements that have no associated file,
1393 and the mtime check for those that do. (Bug#8095)
1395 * dired-x.el (dired-hack-local-variables):
1396 Handle interrupts during hacking local variables. (Bug#5216)
1398 * emacs-lisp/autoload.el (autoload-save-buffers)
1399 (autoload-find-destination, update-directory-autoloads):
1400 Avoid prompts when updating autoloads.
1402 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1404 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
1406 2011-02-23 Kenichi Handa <handa@m17n.org>
1408 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
1409 error when a multipart boundary in the nested multipart is found.
1411 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
1414 2011-02-23 Glenn Morris <rgm@gnu.org>
1416 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
1417 * dired-x.el (dired-omit-mode): Safe if boolean.
1418 (dired-enable-local-variables): Fix doc and custom type.
1419 (dired-enable-local-variables, dired-local-variables-file)
1420 (dired-hack-local-variables): Make obsolete.
1421 (dired-omit-here-always): Use dir-locals.el instead.
1423 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
1425 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
1427 * help-fns.el (describe-function-1): Don't signal an error just because
1428 the DOC file disappeared.
1430 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
1432 * eshell/esh-ext.el (eshell-external-command): Do not restrict
1433 remote check to "ftp". (Bug#8089)
1435 2011-02-21 Alan Mackenzie <acm@muc.de>
1438 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
1439 in macros finding their way into c-state-nonlit-pos-cache.
1440 Strengthen the comments.
1441 (c-state-dump): New commented out diagnostic routine.
1443 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
1445 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
1446 `field' property of `rfn-eshadow-overlay'.
1448 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
1450 * net/netrc.el (netrc-parse): Comment fix.
1452 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
1454 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
1455 Autoload. Add optional arg FRAME, and pass it to color-values.
1456 (color-complement): Caller changed. Doc fix.
1457 (color-gradient): Rewrite for better clarity and efficiency.
1459 * faces.el (color-values): Use cond for clarity. Doc fix.
1461 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
1463 (list-colors-sort-key, list-colors-print):
1464 Use color-normalized-values.
1466 2011-02-20 Drew Adams <drew.adams@oracle.com>
1468 * color.el: First part of merge from hexrgb.el.
1469 (color-rgb-to-hex): Rename from color-rgb->hex.
1470 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
1471 saturation to zero if the value is too small.
1472 (color-rgb-to-hsl): Rename from color-rgb->hsl.
1473 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
1474 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
1475 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
1476 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
1477 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
1478 (color-cie-de2000): Doc fix.
1480 2011-02-20 Alan Mackenzie <acm@muc.de>
1482 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
1483 locating the beginning of a macro. (Bug#7595)
1485 2011-02-20 Glenn Morris <rgm@gnu.org>
1487 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
1490 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1491 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
1493 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
1494 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
1496 * progmodes/hideshow.el (hs-find-block-beginning)
1497 (hs-hide-level-recursive): Ignore comments when parsing braces
1500 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1502 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
1503 (vc-bzr-pull): Use it.
1505 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1507 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
1508 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
1509 but returning an alist. Ignore comments in bzr conffile.
1510 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
1511 (vc-bzr-error-regex-alist): New var.
1512 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
1514 * vc/vc-dispatcher.el (vc-do-async-command):
1515 Bind inhibit-read-only to t.
1517 * progmodes/compile.el (compilation--flush-directory-cache):
1518 Handle the case where cdr of compilation--flush-directory-cache
1519 points to no buffer, which can occur if we previously switched to
1520 compilation-mode in a pregenerated buffer.
1522 2011-02-19 Kenichi Handa <handa@m17n.org>
1524 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
1525 get the header copy into the temporary buffer.
1526 (rmail-mime-insert-decoded-text): Ignore us-ascii.
1527 (rmail-show-mime): When rmail-mime-coding-system is nil, set
1528 buffer-file-coding-system to undecided.
1530 2011-02-19 Eli Zaretskii <eliz@gnu.org>
1532 * international/mule-cmds.el (read-char-by-name, ucs-insert):
1533 Document completion with asterisk and a substring.
1535 2011-02-19 Glenn Morris <rgm@gnu.org>
1537 * files.el (find-file-literally): Doc fix.
1539 * simple.el (rfc822-goto-eoh): Give it a doc-string.
1541 * log-edit.el (log-edit-insert-changelog):
1542 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
1544 2011-02-19 Glenn Morris <rgm@gnu.org>
1546 * dired-x.el: Don't require dired-aux.
1547 (dired-do-create-files, dired-mark-read-regexp)
1548 (dired-do-create-files-regexp): Autoload from dired-aux.
1550 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
1551 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
1553 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
1554 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
1556 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
1557 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
1558 (dired-clean-up-buffers-too): Declare.
1560 * dired-x.el (dired-initial-position): Merge into dired.el's version.
1561 * dired.el (dired-initial-position): Merge dired-x's version here.
1562 (dired-find-subdir): Declare.
1564 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
1565 * dired-aux.el (dired-add-entry): Give it a doc-string.
1566 Merge dired-x's dired-omit handling here.
1567 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
1569 * international/mule-diag.el (list-input-methods-1):
1570 Indent all lines of multi-line doc-strings. (Bug#8066)
1572 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
1574 Fix 2011-02-02 changes.
1576 * apropos.el (apropos-print): Call apropos-mode before setting up
1577 buffer variables. Use inhibit-read-only.
1579 * emacs-lisp/package.el (package--list-packages):
1580 Call package-menu-mode before setting up buffer variables.
1582 * play/solitaire.el (solitaire): Call solitaire-mode before
1583 setting up buffer variables. Use inhibit-read-only.
1585 2011-02-18 Lawrence Mitchell <wence@gmx.li>
1587 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
1588 Bind case-fold-search to nil when looking for end of here-doc.
1590 2011-02-18 Eli Zaretskii <eliz@gnu.org>
1592 * image-mode.el (image-toggle-display-image):
1593 Set find-file-literally non-nil in buffers visiting binary image
1596 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1598 * files.el (cd): Make completion obey cd-path (bug#7924).
1600 2011-02-18 Glenn Morris <rgm@gnu.org>
1602 * progmodes/prolog.el: Don't require compile when compiling.
1603 (compilation-shell-minor-mode, compilation-error-regexp-alist)
1604 (compilation-forget-errors, compilation-fake-loc)
1605 (compilation-parse-errors-function, compilation-error-list): Declare.
1606 (prolog-inferior-mode): Require 'compile.
1608 * emulation/cua-base.el (pc-selection-mode): Declare.
1610 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
1611 (customize-object): Add autoload cookie.
1612 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
1613 (eieio-browse, describe-class, eieio-describe-class)
1614 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
1615 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
1616 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
1617 * Makefile.in (autoloads): Make eieio.el writable.
1619 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
1620 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
1621 (dired-hack-local-variables): Use inhibit-read-only.
1622 (dired-guess-default): Simplify.
1623 (dired-make-relative-symlink): Use dotimes.
1624 (dired-simultaneous-find-file): Use dolist.
1625 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
1626 (dired-x-hands-off-my-keys): Doc fix.
1627 (dired-x-bind-find-file): Doc fix. Use remapping.
1628 (after-init-hook): No need to add dired-x-bind-find-file.
1629 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
1630 No need to call expand-file-name.
1631 (dired-filename-at-point): Remove unused locals `end', `filename'.
1633 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1635 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
1637 2011-02-18 Christian Ohler <ohler@gnu.org>
1639 * emacs-lisp/ert.el (ert--setup-results-buffer)
1640 (ert-results-pop-to-backtrace-for-test-at-point)
1641 (ert-results-pop-to-messages-for-test-at-point)
1642 (ert-results-pop-to-should-forms-for-test-at-point)
1643 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
1644 were incorrect and unnecessary. This should make `make check'
1647 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
1649 * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
1650 (allout-widgets-icons-dark-subdir): Track relocations of icons.
1651 * lisp/allout.el: Remove commentary about remove encryption
1652 passphrase mnemonic support and verification.
1653 (allout-encrypt-string): Recognize epg failure to decrypt gpg2
1654 armored text using gpg1, and indicate that the gpg version *might*
1655 be the problem in the error message.
1657 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1659 * net/rcirc.el (rcirc-float-time): New function.
1660 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
1661 (rcirc-ctcp-sender-PING): Use it.
1663 2011-02-17 Glenn Morris <rgm@gnu.org>
1665 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
1666 (speedbar-update-flag, speedbar-fetch-etags-command)
1667 (speedbar-fetch-etags-arguments):
1668 * term.el (term-buffer-maximum-size, term-input-chunk-size)
1669 (term-completion-autolist, term-completion-addsuffix)
1670 (term-completion-recexact, term-completion-fignore):
1671 * term/sup-mouse.el (sup-mouse-fast-select-window):
1672 * term/x-win.el (x-select-request-type):
1673 Convert some defvars with "*" to defcustoms.
1675 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
1677 * vc/vc.el (vc-default-previous-version):
1678 Remove alias that points nowhere. (Bug#4496)
1680 * dired-x.el (dired-clean-up-after-deletion):
1681 kill-buffer does not need save-excursion.
1682 (dired-do-run-mail): Doc fix.
1683 (dired-filename-at-point): Doc fix.
1684 Use looking-at, and skip-chars rather than re search.
1686 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
1688 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
1690 * allout-widgets.el: New allout extension that shows allout
1691 outline structure with graphical widgets. 'allout-widgets'
1692 customize group is an 'allout' subgroup, for easy discovery.
1694 * allout.el: Include PGP and GnuPG in Keywords, and other
1695 commentary refinements.
1696 (allout-abbreviate-flattened-numbering): Rename to
1697 allout-flattened-numbering-abbreviation, and
1698 define-obsolete-variable-alias the old name.
1699 (allout-flattened-numbering-abbreviation): Rename from
1700 allout-abbreviate-flattened-numbering.
1701 (allout-mode-p): Include among autoloads, for use by other modes
1703 (allout-listify-exposed):
1704 Use allout-flattened-numbering-abbreviation.
1705 (allout-encrypt-string): Use set-buffer-multibyte directly.
1706 (allout-set-buffer-multibyte): Remove.
1708 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1710 * simple.el (just-one-space): Remove useless `or' call.
1712 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1714 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
1715 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
1716 (soap-decoded-multi-refs, soap-current-wsdl)
1717 (soap-encoded-namespaces): Rename CL-style *...* variables.
1719 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
1721 * net/soap-client.el: Add "comm" and "hypermedia" to the
1722 keywords. Reflow too long lines.
1724 * net/soap-inspect.el: Ditto. Require 'cl.
1726 2011-02-16 Bastien Guerry <bzg@altern.org>
1728 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
1729 in a `doctor-type' argument.
1731 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1733 * net/soap-client.el:
1734 * net/soap-inspect.el: New files.
1736 2011-02-16 Leo <sdl.web@gmail.com>
1738 * dired-x.el (dired-mode-map, dired-extra-startup):
1739 Remove dired-copy-filename-as-kill since it's already in dired.el.
1741 2011-02-16 Glenn Morris <rgm@gnu.org>
1743 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
1744 Doc fixes. Add :set property, replacing top-level calls.
1745 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
1746 (dired-guess-shell-gnutar): Test tar version rather than system-type.
1747 (dired-extra-startup, dired-man, dired-info): Doc fixes.
1748 (dired-clean-up-after-deletion): Use when and dolist.
1749 (dired-jump): Use unless and when.
1750 (dired-virtual): Use line-end-position.
1751 (dired-default-directory-alist): Rename from default-directory-alist.
1752 (dired-default-directory): Update for above name change.
1753 (dired-vm): Drop VM < 5 and simplify.
1754 (dired-buffer-more-recently-used-p): Rewrite.
1755 (dired-filename-at-point): Use when and or.
1756 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
1759 2011-02-15 Glenn Morris <rgm@gnu.org>
1761 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
1763 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
1765 * vc/vc-git.el (vc-git-root-log-format): New option for
1766 customizing log format.
1767 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
1768 (vc-git-log-view-mode): Use it.
1769 (vc-git-expanded-log-entry): New function.
1770 (vc-git-log-view-mode): Use it. Truncate lines in root log.
1772 * vc/vc-hg.el (vc-hg-root-log-template): New option for
1773 customizing log format.
1774 (vc-hg-print-log): Use it.
1775 (vc-hg-expanded-log-entry): New function.
1776 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
1777 vc-hg-expanded-log-entry. Truncate lines in root log.
1779 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
1781 * vc/log-view.el (log-view-mode-menu):
1782 Add log-view-toggle-entry-display.
1784 2011-02-14 Glenn Morris <rgm@gnu.org>
1786 * dired-x.el: Don't require man when compiling.
1787 (dired-omit-extensions, dired-local-variables-file)
1788 (dired-x-hands-off-my-keys): Make them defcustoms.
1789 (Man-support-local-filenames, Man-getpage-in-background): Declare.
1790 (vm-visit-folder): Declare rather than defining.
1791 (dired-x-help-address, dired-x-variable-list): Remove.
1792 (dired-x-submit-report): Make it an obsolete alias.
1794 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
1796 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
1798 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1800 * net/imap.el: Bring it back.
1802 2011-02-13 Alan Mackenzie <acm@muc.de>
1804 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
1805 narrow-to-region call that cuts context off the end (Bug#7722).
1807 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1808 Refactor nested if-forms with a simple cond.
1809 (c-forward-<>-arglist): Revert 2011-01-31 change.
1811 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1813 * vc/log-view.el: New command log-view-toggle-entry-display for
1814 toggling log entries between concise and detailed forms.
1815 (log-view-toggle-entry-display): New command.
1816 (log-view-mode-map): Bind RET to it.
1817 (log-view-expanded-log-entry-function): New variable.
1818 (log-view-current-entry, log-view-inside-comment-p)
1819 (log-view-current-tag): New functions.
1820 (log-view-toggle-mark-entry): Use log-view-current-entry and
1821 log-view-end-of-defun instead of searching directly with
1822 log-view-message-re.
1823 (log-view-end-of-defun): Likewise. Add optional ARG for
1824 compatibility with end-of-defun.
1825 (log-view-end-of-defun): Ignore comments and VC buttons.
1827 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
1828 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
1830 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1832 * net/imap.el: Remove file. All the functionality is in nnimap.el.
1834 * net/imap-hash.el: Remove file.
1836 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
1838 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
1840 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
1843 * net/tramp-imap.el: Remove file.
1845 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1847 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
1848 widget library for buttons, just use button.el.
1850 * vc/log-view.el (log-view-mode-map): Don't inherit from
1853 2011-02-12 Glenn Morris <rgm@gnu.org>
1855 * emacs-lisp/cl-seq.el (union, nunion, intersection)
1856 (nintersection, set-difference, nset-difference)
1857 (set-exclusive-or, nset-exclusive-or): Doc fix.
1859 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1861 * faces.el (face-attr-match-p): Handle the obsolete :bold and
1862 :italic props, so that frame-set-background-mode works. (Bug#7966)
1864 * simple.el (next-error): Doc fix.
1866 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1868 * dired-aux.el (dired-create-files): Adapt destination name to
1869 match the new behavior of copy-directory.
1871 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
1873 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1874 from rmail-dont-reply-to-names. Callers changed.
1875 (mail-dont-reply-to): Rename from mail-dont-reply-to.
1876 (rmail-dont-reply-to): Make it an obsolete alias.
1878 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1879 nil, and make obsolete (Bug#7888).
1880 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1882 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1884 * mail/rmailsort.el (rmail-sort-by-correspondent)
1885 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
1887 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1889 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1891 * files.el (copy-directory): New argument COPY-CONTENTS for
1892 copying directory contents into another existing directory.
1894 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
1896 * minibuffer.el (completion-table-case-fold): New function for
1897 creating a case-insensitive completion table.
1899 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1901 * net/tramp.el (tramp-default-method): Also check if
1902 `auth-source-search' is bound.
1903 (tramp-read-passwd): Use `auth-source-search' instead of
1904 `auto-source-user-or-password'.
1906 * net/tramp-imap.el: Autoload `auto-source-search' instead of
1907 `auto-source-user-or-password.
1908 (tramp-imap-passphrase-callback-function): Use it.
1910 * net/imap-hash.el: Autoload `auto-source-search' instead of
1911 `auto-source-user-or-password.
1912 (imap-hash-open-connection): Use it.
1914 * mail/smtpmail.el: Autoload `auto-source-search' instead of
1915 `auto-source-user-or-password.
1916 (smtpmail-try-auth-methods): Use it.
1918 2011-02-12 Phil Hagelberg <phil@hagelb.org>
1920 * emacs-lisp/package.el: Allow packages to be reinstalled.
1921 (package--write-file-no-coding): Remove EXCL arg.
1922 (package-unpack-single): Don't use it.
1924 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
1926 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1927 in each sub directory.
1928 (vc-svn-registered): Use vc-svn-root.
1929 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
1930 (vc-svn-repository-hostname): Use "svn info".
1932 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1934 * simple.el (delete-trailing-whitespace): New optional buffer
1937 2011-02-11 Bastien Guerry <bzg@altern.org>
1939 * files.el (basic-save-buffer): save unmodified buffers when
1940 the file pointed by buffer-file-name doesn't exist.
1942 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1944 * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1946 2011-02-11 Glenn Morris <rgm@gnu.org>
1948 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1950 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
1952 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1954 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
1956 * server.el (server-process-filter): Use pcase.
1958 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1960 (smie-indent--parent): Extend to "parent of arg".
1961 (smie-indent-inside-string): New function.
1962 (smie-indent-functions): Use it.
1964 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1965 bzr locking race condition.
1967 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1968 still valid before using it.
1970 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1971 `message' -> `compilation-message' rename (bug#8004).
1973 Move keymap initialization into declaration.
1974 * textmodes/enriched.el (enriched-mode-map):
1975 * textmodes/bib-mode.el (bib-mode-map):
1976 * term/lk201.el (lk201-function-map):
1977 * tar-mode.el (tar-mode-map):
1978 * replace.el (occur-mode-map):
1979 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1980 * progmodes/idlw-help.el (idlwave-help-mode-map):
1981 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1982 * play/solitaire.el (solitaire-mode-map):
1983 * play/snake.el (snake-mode-map, snake-null-map):
1984 * play/pong.el (pong-mode-map):
1985 * play/handwrite.el (menu-bar-handwrite-map):
1986 * play/gametree.el (gametree-mode-map):
1987 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1988 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1989 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1990 (newsticker--url-keymap):
1991 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1992 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1993 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1994 (menu-bar-edit-menu, menu-bar-custom-menu)
1995 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1996 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1997 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1998 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1999 (menu-bar-tools-menu, menu-bar-describe-menu)
2000 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
2001 (menu-bar-help-menu):
2002 * mail/rmailsum.el (rmail-summary-mode-map):
2003 * kmacro.el (kmacro-step-edit-map):
2004 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
2005 (ibuffer-mode-operate-map):
2006 * hi-lock.el (hi-lock-menu, hi-lock-map):
2007 * emulation/vip.el (vip-mode-map):
2008 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
2009 * bookmark.el (bookmark-bmenu-mode-map):
2010 * help-mode.el (help-mode-map): Move initialization into declaration.
2012 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2014 * net/rcirc.el: Add PRIVMSG and CTCP functions.
2015 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
2016 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
2017 (rcirc-cmd-me, rcirc-authenticate): Use them.
2019 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
2021 * allout.el: Synopsis: Change allout user configuration so
2022 auto-activation is controlled solely by customization
2023 `allout-auto-activation'.
2025 (allout-auto-activation-helper, allout-setup): New autoloads
2026 implement new custom set procedure for allout-auto-activation.
2027 Also, explicitly invoke (allout-setup) after allout-auto-activation
2028 is custom-defined, to affect the settings in emacs sessions besides
2029 the few where allout-auto-activation customization is done.
2030 (allout-auto-activation): Use allout-auto-activation-helper to
2031 :set. Revise the docstring.
2032 (allout-init): Reduce functionality to just customizing
2033 allout-auto-activation, and mark obsolete.
2034 (allout-mode): Respect string values for allout-auto-activation.
2035 Run allout-after-copy-or-kill-hook without any args.
2036 (allout-mode, allout-layout, allout-default-layout)
2037 (outlineify-sticky): Adjust docstring for new scheme.
2038 (allout-after-copy-or-kill-hook): No arguments - hook implementers
2039 should concentrate on the kill ring.
2041 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
2043 * password-cache.el (password-cache-remove): Accept secrets that are
2046 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2048 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
2049 of here-doc that immediately follows a comment.
2051 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2053 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
2055 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
2057 (rcirc-ctcp-sender-PING): New function.
2059 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
2061 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
2062 Remove the mark/nomark handling, and activate shift-select-mode instead.
2064 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
2066 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
2068 * calc/calc-units.el (math-logunits-quant): Add support for
2069 non-logarithmic units.
2071 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
2073 * allout.el (allout-after-copy-or-kill-hook): New hook for
2074 extension-specific processing of killed text.
2075 (allout-mode): Include new allout-after-copy-or-kill-hook among
2077 (allout-kill-line, allout-kill-topic): Ensure that processing
2078 after kill happens even if barf-if-buffer-read-only is raised.
2079 Include new allout-after-copy-or-kill-hook among that subsequent
2081 (allout-deannotate-hidden): Actually remove the annotation text
2084 * allout.el (allout-listify-exposed): Copy text sans text properties.
2086 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
2088 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
2090 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2092 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
2094 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
2096 * calc/calc.el (calc-logunits-field-reference): Rename from
2097 `calc-default-field-reference-level'.
2098 (calc-logunits-power-reference): Rename from
2099 `calc-default-power-reference-level'.
2101 * calc/calc-units.el (math-logunits-quant): Rename from
2102 `math-logunits-level'
2103 (math-logunits-plus): Rename from math-logcombine.
2104 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
2105 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
2106 (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
2108 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
2109 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
2110 (calc-logunits-quantity): Rename from `calc-level'.
2111 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
2112 (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
2113 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
2114 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
2115 (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
2118 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
2119 (calc-ul-prefix-help): Remove.
2120 (calc-l-prefix-help): New function.
2121 (calc-full-help): Add reference to `calc-l-prefix-help'.
2123 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
2125 * calc/README: Mention logarithmic units.
2127 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
2129 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
2130 non-ASCII characters (Bug#7925).
2132 2011-02-05 Glenn Morris <rgm@gnu.org>
2134 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
2136 * calendar/diary-lib.el (diary-font-lock-keywords):
2137 Tweak diary-time-regexp match. (Bug#7891)
2139 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
2140 (f90-mode): Use it for mode's `find-tag-default-function' property.
2142 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
2144 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
2146 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2148 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
2151 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
2153 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
2154 font-lock-syntax-table remappings.
2155 (sh-here-doc-markers, sh-here-doc-re): Remove.
2156 (sh-font-lock-close-heredoc): Remove.
2157 (sh-syntax-propertize-here-doc): New function.
2158 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
2159 instead of the sh-here-doc-re.
2160 (sh-font-lock-paren): Don't do anything in comments or strings.
2161 Handle line continuations. Accept a few more chars.
2162 Don't rely on the font-lock-syntax-table remappings.
2163 `esac' is not a valid pattern.
2164 (sh-syntax-propertize-function): Handle here-docs differently, so we
2165 don't bother syntax-propertizing the insides.
2167 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
2168 Handle new bashisms ";&" and ";;&" (bug#7947).
2170 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
2172 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
2173 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
2175 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
2177 * net/tramp.el (tramp-postfix-method-format)
2178 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
2179 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
2180 (tramp-postfix-user-regexp, tramp-prefix-port-format)
2181 (tramp-prefix-port-regexp, tramp-postfix-host-format)
2182 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
2185 2011-02-04 Sam Steingold <sds@gnu.org>
2187 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
2189 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
2191 * international/mule-util.el (with-coding-priority): Doc fix.
2193 2011-02-04 Eli Zaretskii <eliz@gnu.org>
2195 * arc-mode.el (archive-mode-map): Fix a typo in last change.
2197 2011-02-03 Sam Steingold <sds@gnu.org>
2199 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2200 Do not error out when `func' is nil.
2202 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
2204 * net/tramp-sh.el (tramp-remote-path): Add default settings for
2205 `tramp-default-remote-path' to the docstring.
2206 (tramp-get-remote-path): Suppress error message when `getconf
2209 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
2211 2011-02-03 Glenn Morris <rgm@gnu.org>
2213 * vc/vc-hg.el (vc-hg-command): Doc fix.
2215 * term/w32-win.el (libpng-version): Declare for compiler.
2217 * msb.el: No need to load dired while compiling.
2219 * emacs-lisp/elint.el (elint-standard-variables):
2220 Remove a couple of built-ins that now have doc-strings.
2222 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
2223 `require' is automatically `eval-and-compile'd.
2225 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
2226 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
2228 * strokes.el (strokes-fill-current-buffer-with-whitespace):
2229 Move definition before use.
2230 (strokes-report-bug): Make it obsolete.
2232 2011-02-02 Sam Steingold <sds@gnu.org>
2234 * apropos.el (apropos-print): Now that `apropos-mode' inherits
2235 from `special-mode', entering it makes the buffer read-only, so
2236 call it only when everything has been already inserted.
2237 * emacs-lisp/ert.el (ert--setup-results-buffer)
2238 (ert-results-pop-to-backtrace-for-test-at-point)
2239 (ert-results-pop-to-messages-for-test-at-point)
2240 (ert-results-pop-to-timings): Ditto.
2241 * emacs-lisp/package.el (package--list-packages): Ditto.
2242 * play/solitaire.el (solitaire): Ditto.
2244 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
2246 * progmodes/compile.el: Make all faces inherit.
2247 (compilation-warning): Inherit from font-lock-variable-name-face.
2248 (compilation-info): Inherit from font-lock-type-face.
2249 (compilation-line-number): Reassign to font-lock-keyword-face.
2250 (compilation-column-number): Reassign to font-lock-doc-face.
2251 (compilation-leave-directory-face): Reassign to
2252 font-lock-builtin-face.
2254 2011-02-02 Eli Zaretskii <eliz@gnu.org>
2256 * dired.el (dired-insert-directory): Don't invoke `ls' when
2257 ls-lisp.el is used to emulate it.
2259 2011-02-01 Julien Danjou <julien@danjou.info>
2261 * color.el (color-gradient): Add a color-gradient function.
2263 2011-02-01 Sam Steingold <sds@gnu.org>
2265 * simple.el (special-mode-map): Bind "h" to `describe-mode';
2266 bind "z" to `kill-this-buffer'.
2267 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
2268 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
2269 (apropos-mode): Inherit from `special-mode'.
2270 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
2271 * bookmark.el (bookmark-bmenu-mode): Define using
2272 `define-derived-mode' inheriting from `special-mode'.
2273 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
2274 * image-mode.el (image-mode-map): Ditto.
2275 * replace.el (occur-mode): Define using
2276 `define-derived-mode' inheriting from `special-mode'.
2277 * tar-mode.el (tar-mode): Inherit from `special-mode'.
2278 * calendar/diary-lib.el (diary-fancy-display-mode):
2279 Inherit from `special-mode-map'.
2280 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
2281 Inherit from `special-mode'.
2282 * emacs-lisp/package.el (package-menu-mode-map): Copy from
2284 (package-menu-mode): Define using `define-derived-mode'
2285 inheriting from `special-mode'.
2286 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
2287 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
2288 (xesam-mode-map): Define separately.
2289 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
2290 * progmodes/compile.el (compilation-minor-mode-map)
2291 (compilation-mode-map): Inherit from `special-mode-map'.
2292 * vc/diff-mode.el (diff-mode-shared-map):
2293 Inherit from `special-mode-map'.
2294 * vc/log-view.el (log-view-mode-map): Add a comment.
2296 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
2298 * custom.el (load-theme): Define return value. Drop use of
2299 unsafep; call custom-theme-load-confirm for non-known-safe themes.
2300 (custom-theme-load-confirm): Scroll in the correct window.
2301 (custom-enabled-themes): Add custom-safe-themes to :set-after.
2303 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
2304 checkbox if load-theme fails.
2306 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2308 * progmodes/compile.el (compilation-next-error): Check there's
2309 a message before using it (bug#7941).
2311 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
2313 * calc/calc-mtx.el (math-lud-pivot-check): New function.
2314 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
2315 of potential pivots.
2317 2011-01-31 Alan Mackenzie <acm@muc.de>
2319 * progmodes/cc-cmds.el (c-forward-over-illiterals):
2320 Continue parsing if we encounter a naked # (Bug#7595).
2321 (c-beginning-of-statement): Avoid loop in locating the beginning
2322 of a macro. (Not actually committed until 2011-02-20, see above).
2324 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2326 * files.el (copy-directory): Fix arguments to recursive call.
2328 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2330 * files.el (copy-directory): If destination is an existing
2331 directory, copy into a subdirectory there.
2333 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
2335 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
2338 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2340 * image-dired.el (image-dired-mouse-display-image): No-op if no
2341 file is found (Bug#7817).
2343 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
2345 2011-01-31 Kenichi Handa <handa@m17n.org>
2347 * international/quail.el (quail-keyboard-layout-alist):
2348 Remove superfluous SPC for "pc105-uk" (bug#7927).
2350 2011-01-31 Glenn Morris <rgm@gnu.org>
2352 * msb.el (msb-menu-bar-update-buffers): Update for changed
2353 argument handling of menu-bar-select-frame. (Bug#7902)
2355 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2357 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
2358 to the recursion depth (Bug#7722).
2360 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
2362 * term/ns-win.el (ns-find-file): Expand ns-input-file with
2363 command-line-default-directory (Bug#7872).
2365 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2367 * progmodes/compile.el (compilation--flush-directory-cache):
2368 New function, extracted from compilation--remove-properties.
2369 (compilation--remove-properties, compilation--parse-region): Use it.
2370 (compilation--previous-directory): Handle one more case.
2371 (compilation-enable-debug-messages): Remove.
2372 (compilation-parse-errors, compilation--flush-parse): Just remove the
2373 left over debug messages.
2375 2011-01-31 Sam Steingold <sds@gnu.org>
2377 * progmodes/compile.el (compilation-enable-debug-messages):
2378 Add a variable to make the parsing messages introduced in
2379 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
2380 (compilation-parse-errors, compilation--flush-parse): Use it.
2382 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2384 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
2385 (rcirc-nick-completion-format): New defcustom.
2386 (rcirc-complete): Use it.
2388 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2390 * net/rcirc.el: Clean log filenames (Bug#7933).
2391 (rcirc-log-write): Use convert-standard-filename.
2392 (rcirc-log-filename-function): Documentation updates.
2394 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
2396 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
2397 Check report-emacs-bug-can-use-osx-open and use that if t.
2398 (report-emacs-bug-can-use-osx-open): New function.
2399 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
2400 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
2402 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
2404 * vc/vc-dispatcher.el (vc-set-async-update): New function for
2405 updating Dired or VC-dir buffers after async command completes.
2407 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
2408 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
2410 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
2411 completions if it exists. Use vc-set-async-update.
2412 (vc-git-pull): Use vc-set-async-update.
2414 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
2415 read-shell-command. Use vc-set-async-update.
2416 (vc-hg-merge-branch): Use vc-set-async-update.
2418 2011-01-29 Daiki Ueno <ueno@unixuser.org>
2420 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
2421 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
2424 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
2426 * progmodes/compile.el: Avoid an N² behavior in grep.
2427 (compilation--previous-directory): New fun.
2428 (compilation--previous-directory-cache): New var.
2429 (compilation--remove-properties): Flush it.
2430 (compilation-directory-properties, compilation-error-properties):
2431 Use the new fun to speed up looking for the current directory.
2433 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
2435 * vc/vc-hg.el (vc-hg-history): New var.
2436 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
2437 (vc-hg-merge-branch): New function.
2439 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
2440 the other way around.
2442 * vc/vc-git.el (vc-git-branches, vc-git-pull)
2443 (vc-git-merge-branch): New functions.
2444 (vc-git-history): New var.
2446 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2448 * vc/vc-dispatcher.el (vc-do-async-command): New function.
2450 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
2451 vc-do-async-command.
2453 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
2456 2011-01-28 Leo <sdl.web@gmail.com>
2458 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
2459 highlighting to the "this function is advised" message.
2461 * help-mode.el (help-mode-finish): Apply highlighting here, to
2462 avoid clobbering by substitute-command-keys (Bug#6304).
2464 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2466 * woman.el (woman0-roff-buffer): Process roff escape sequences
2467 occurring prior to the first request (Bug#7843).
2469 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2471 * progmodes/compile.el: Don't use font-lock any more.
2472 (compilation-error-regexp-alist-alist): Change handling of makepp
2473 so it preserves the warning/error distinction on subsequent files.
2474 Simplify various rules.
2475 (compilation-directory-properties): Use font-lock-face.
2476 Add a compilation-message property.
2477 (compilation-internal-error-properties): Use font-lock-face.
2478 Don't set the compilation-debug property here.
2479 (compilation--put-prop, compilation--remove-properties)
2480 (compilation--parse-region, compilation--ensure-parse)
2481 (compilation--ensure-parse): New functions.
2482 (compilation-parse-errors): New function, largely inspired of
2483 compilation-mode-font-lock-keywords. Set compilation-debug here.
2484 (compilation--parsed): New var.
2485 (compilation--flush-parse): Use compilation--ensure-parse.
2486 (compilation-start): Don't call font-lock.
2487 (compilation-turn-on-font-lock): Remove.
2488 (compilation-setup): Don't set font-lock-extra-managed-props not change
2489 other font-lock settings, other than keywords.
2490 Don't activate font-lock-mode.
2491 Set change-major-mode-hook and before-change-functions.
2492 (compilation--unsetup): Remove properties and hooks.
2493 (compilation-next-single-property-change): New function.
2494 (compilation-next-error): Use it to parse when needed.
2495 (compile-goto-error): Parse buffer as needed.
2496 (compilation--compat-error-properties): Don't need a dummy `face'
2499 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2501 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
2502 (compilation-process-setup-function): Fix docstring's false promises.
2503 (compilation-error-regexp-alist-alist): Catch omake's continuous
2504 recompilation message and avoid reuse of old markers.
2505 (compilation-parse-errors-function): Declare obsolete.
2506 (compilation-buffer-modtime): Remove.
2507 (compilation--make-cdrloc, compilation--loc->col)
2508 (compilation--loc->line, compilation--loc->file-struct)
2509 (compilation--loc->marker, compilation--loc->visited)
2510 (compilation--make-file-struct, compilation--file-struct->file-spec)
2511 (compilation--file-struct->formats)
2512 (compilation--file-struct->loc-tree): New macros. Use them.
2513 (compilation--message): New defstruct. Use them.
2514 (compilation-next-error-function): Don't mess with timestamps to try
2515 and guess when to reparse.
2517 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2519 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
2520 (tex-old-error-file-name): New function,
2521 extracted from tex-compilation-parse-errors.
2522 (tex-compilation-parse-errors): Remove.
2523 (tex-error-regexp-alist): New var.
2524 (tex-shell): Use it to avoid compilation-parse-errors-function.
2526 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
2527 (grep-mode-font-lock-keywords): Remove regexp that seems like
2528 a left-over from before we used compile.el.
2529 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
2530 modifying the buffer within with-silent-modifications.
2532 * progmodes/compile.el: Cleanup text-properties namespace by using
2533 `compilation-message' instead of `message', `compilation-directory'
2534 instead of `directory', and `compilation-debug' instead of `debug'.
2535 (compilation-last-buffer, compilation-parsing-end)
2536 (compilation-error-list, compilation-old-error-list): Move to the
2537 compatibility part of the code.
2538 (compilation-error-properties): If `file' is a function, let it return
2540 (compilation-mode-font-lock-keywords): Be more conservative with the
2541 omake "^ *" pattern prefix, to try and minimize the risk of
2542 pathologically slow regexp matching.
2543 (compilation-start): Use inhibit-read-only.
2544 (compilation--unsetup): New function.
2545 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
2546 (compilation-filter): Minor tweaks.
2547 (compilation-next-error-function): Try and avoid abusing variables.
2548 (compilation--flush-file-structure): New fun.
2549 (compilation-fake-loc): Use it to improve behavior when file is reused.
2550 (debug-ignored-errors): Add "Moved past last ...".
2551 (compilation--compat-error-properties)
2552 (compilation--compat-parse-errors): Rename by doubling the "-".
2554 Port features from the previous prolog.el to the new one.
2555 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
2556 (prolog-program-name, prolog-program-switches, prolog-consult-string)
2557 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
2558 variable and use a function to compute the value dynamically.
2559 (prolog-prompt-regexp): Add regexp for GNU Prolog.
2560 (prolog-continued-prompt-regexp): Remove, unused.
2561 (prolog-find-value-by-system): Try and use the value of prolog-system
2562 in the *prolog* buffer if it helps.
2563 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
2564 (prolog-zip-on): ..and check prolog-system and version here instead.
2565 (prolog-inferior-self-insert-command): New command.
2566 (prolog-inferior-mode-map): Use it.
2567 (prolog-inferior-error-regexp-alist): New var.
2568 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
2569 (prolog-input-filter): Use derived-mode-p.
2570 (prolog-inferior-guess-flavor): New function.
2571 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
2572 make-comint to avoid running comint-mode twice.
2573 (prolog-inferior-buffer): New fun.
2574 (prolog-old-process-region, prolog-old-process-file):
2575 Don't call prolog-bsts here...
2576 (prolog-build-prolog-command): ...do it here instead.
2577 (prolog-old-process-region, prolog-old-process-file):
2578 Use compilation-fake-loc and compilation-forget-errors.
2579 (prolog-consult-compile-region): Use bolp.
2581 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2583 * image-mode.el (image-display-size): Doc fix (Bug#7820).
2585 2011-01-27 Sam Steingold <sds@gnu.org>
2587 * midnight.el (clean-buffer-list-kill-never-buffer-names):
2588 Remove "*server*" which is never created by emacs server.
2590 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2592 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
2593 there are some diff switches.
2595 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
2597 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2598 Copy change made to ruby-font-lock-syntactic-keywords.
2600 * htmlfontify.el: Make it obey the font-lock-face text property.
2601 Miscellaneous cleanup such as:
2602 - Don't hide expressions after a closing paren.
2603 - Move initial setq into let.
2604 - Hoist common parts out of ifs.
2605 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
2606 (hfy-face-at): Use get-text-property instead.
2607 (hfy-prop-invisible-p): Use invisible-p if available.
2608 (htmlfontify-manual): Use \\[...].
2609 (hfy-html-quote-regex): Use [...].
2610 (hfy-combined-face-spec): Simplify.
2611 (hfy-compile-face-map): Don't presume point-min==1.
2612 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
2613 match end of string.
2614 (hfy-text-p): η-reduce.
2615 (hfy-tags-for-file): Receive cache-hash directly.
2616 (hfy-mark-tag-names): Adjust call.
2618 2011-01-27 Glenn Morris <rgm@gnu.org>
2620 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
2621 (msb-after-load-hook): Remove eval-after-load wackiness.
2623 2011-01-25 Sam Steingold <sds@gnu.org>
2625 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
2626 literal "diff" (important for windows-nt).
2628 2011-01-25 Glenn Morris <rgm@gnu.org>
2630 * emacs-lisp/copyright.el (copyright-at-end-flag)
2631 (copyright-names-regexp): Add safety properties.
2632 (copyright-year-ranges): New option.
2633 (copyright-find-end): New function, split from copyright-update-year.
2634 (copyright-update-year): Use copyright-find-end.
2635 (copyright-fix-years): Optionally, convert years to ranges.
2636 Handle years continued over comment lines.
2637 Do not mess with the fill-prefix.
2638 Do not call copyright-update.
2639 (copyright-update-directory): Optionally, fix years rather than update.
2640 Skip directories. Find files with only safe local vars.
2642 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
2644 * files.el (file-name-non-special): Only change buffer-file-name after
2645 insert-file-contents if it's `visit'ing the file (bug#7854).
2647 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
2649 * dired.el (dired-revert): Doc fix (Bug#7758).
2651 * simple.el (line-move-visual): Doc fix (Bug#7594).
2653 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
2655 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
2656 here-doc which ends with an underscore.
2657 (ruby-mode-set-encoding): Skip shebang line always.
2658 (ruby-mode-map): Bind C-c C-c to comment-region.
2659 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
2660 (ruby-forward-sexp): Stop after literal hash key labels.
2661 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
2664 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
2666 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
2667 the correct buffer (Bug#7650).
2669 2011-01-25 Glenn Morris <rgm@gnu.org>
2671 * comint.el (comint-mode): Doc fix. (Bug#7897)
2673 * simple.el (do-auto-fill): Give it a doc string.
2675 * button.el (make-text-button): Doc fix. (See bug#7881)
2677 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
2679 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2680 Don't move backward, so as not to fall in an inf-loop (bug#7736).
2682 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
2683 Handle ?" and friends differently (e.g. don't use backrefs).
2685 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
2687 * calc/calc.el (calc-default-power-reference-level)
2688 (calc-default-field-reference-level): New variables.
2689 * calc/calc-units.el (math-standard-units): Add dB and Np.
2690 (math-logunits): New variable.
2691 (math-extract-logunits, math-logcombine, calcFunc-luplus)
2692 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
2693 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
2695 (math-find-base-units-rec): Add entry for ln(10).
2696 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
2697 (calc-ul-prefix-help): New function.
2698 * calc/calc-ext.el (calc-init-extensions): Autoload new units
2699 functions. Add keybindings for new units functions.
2701 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
2703 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
2704 rcirc buffers. (Bug#4940)
2706 2011-01-22 Glenn Morris <rgm@gnu.org>
2708 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
2709 split out from copyright-update-year.
2710 (copyright-update): Don't mess with the GPL version if we don't own the
2711 copyright. Update license regexp, and remove no longer needed
2713 (copyright-fix-years): Use copyright-find-copyright.
2715 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2717 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
2719 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2721 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
2722 (lm): Rename to landmark.
2723 (lm-test-run): Rename to landmark-test-run.
2725 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2727 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
2728 "Case sensitive" menu item.
2730 2011-01-22 Roland McGrath <roland@frob.com>
2732 * comint.el (comint-replace-by-expanded-history-before-point): Fix
2733 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
2735 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2737 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
2739 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2741 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2742 Assume foo(bar) is a manpage reference rather than some unquoted
2745 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2747 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
2748 Suggested by Flo <sensorflo@gmail.com>.
2750 2011-01-22 Glenn Morris <rgm@gnu.org>
2752 * progmodes/compile.el (compilation-error-regexp-alist):
2753 Fix custom type. (Bug#7812)
2755 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
2757 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
2758 allout-number-siblings, in keeping with what obtained due to
2759 (now-defunct) allout-keybindings-list. Ditch repeat binding to
2761 (allout-before-change-handler): Better expose spots affected by
2764 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2766 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
2768 2011-01-22 Phil Hagelberg <phil@evri.com>
2770 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
2771 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
2772 (pcmpl-ssh-config-hosts): New function.
2773 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
2774 pcmpl-ssh-known-hosts.
2776 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2778 * calc/calc-undo.el (calc-undo): Autoload it.
2779 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
2780 and autoload for `calc-undo'.
2781 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
2782 * calc/calc-prog.el:
2783 * calc/calc-graph.el:
2784 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2786 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
2788 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
2789 keybindings to `calc-undo'.
2791 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2793 Don't mess with *temp*.
2794 * obsolete/spell.el: Move from textmodes/spell.el.
2796 * term.el (term-read-input-ring):
2797 * startup.el (display-startup-echo-area-message):
2798 * progmodes/antlr-mode.el (antlr-directory-dependencies):
2799 * comint.el (comint-read-input-ring): Use with-temp-buffer.
2800 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
2803 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
2805 * allout.el (allout-institute-keymap): Use fset instead of
2806 reapplying defalias.
2808 (allout-hotspot-key-handler): Check for non-control-modified
2809 bindings for hotspot characters if there are no control-modified
2812 * allout.el: Summary - migrate to defining allout mode using
2813 define-minor-mode instead of defun. Significantly clean-up
2814 internal keymap provisions, refactoring and, in the process,
2815 removing a lot of accumulated cruft.
2817 allout-mode-map is now a keymap by virtue of being a defalias to
2818 allout-mode-map-value, which contains the actual keymap structure.
2820 (allout-mode): Use define-minor-mode rather than defun.
2821 Remove now-unnecessary minor-mode setup activities from the body.
2822 Specify :keymap as allout-mode-map so the minor-mode-map-alist
2823 entry will be '(allout-mode . allout-mode-map) - see
2824 allout-mode-map-value, below. Adjust docstring to track changes.
2825 (allout-minor-mode): Remove this defalias, now that we're using
2827 (allout-mode-map): Set value to be 'allout-mode-map. The actual
2828 keymap is allout-mode-map-value, via defalias.
2829 (allout-mode-map-value): The variable holding the actual mode
2830 keymap structure, by virtue of defalias from allout-mode-map.
2831 (allout-compose-and-institute-keymap): Rename from
2832 allout-bind-keys, and including the binding-composition
2833 functionality of the former produce-allout-mode-map and
2834 allout-setup-mode-map.
2835 (allout-institute-keymap): Take over the "setup" part of the former
2836 allout-setup-mode-map. Reassign allout-mode-map-value value and
2837 update the defalias.
2838 (allout-command-prefix, allout-prefixed-keybindings)
2839 (allout-unprefixed-keybindings):
2840 Use allout-compose-and-institute-keymap to process the bindings.
2841 (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
2842 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
2843 user can customize if they want to use that binding.
2844 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
2845 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
2846 elided that, previously, instead of the one for \C-h.)
2847 (allout-hotspot-key-handler): Remove attempt to resolve the key
2848 through the literal key-string lookup on allout-keybindings-list.
2849 That probably hasn't worked for a Long Time, and removal of
2850 allout-keybindings-list further simplifies the keybindings situation.
2851 (allout-pre-command-business): Use allout-mode-map-value instead
2853 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
2854 the bindings if they want to use a keybinding having a trailing
2855 \C-h. No deprecation needed since this feature was never in a release.
2856 (allout-keybindings-list): Remove. It's not been useful for a
2857 while. (See allout-hotspot-key-handler changes, above.)
2858 (produce-allout-mode-map): Remove. Consolidate into
2859 allout-compose-and-institute-keymap.
2860 (allout-mode-map-adjustments): Remove. No longer necessary with
2861 removal of allout-preempt-trailing-ctrl-h.
2862 (allout-setup-mode-map): Remove. Consolidate into
2863 allout-compose-and-institute-keymap and allout-institute-keymap.
2865 2011-01-20 Glenn Morris <rgm@gnu.org>
2867 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2869 * simple.el (read-expression-history): Remove, it's in minibuf.c.
2871 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
2873 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2875 * files.el (find-alternate-file, basic-save-buffer)
2876 (basic-save-buffer-2, revert-buffer, recover-file)
2877 (kill-buffer-ask, abort-if-file-too-large)
2878 (set-visited-file-name, write-file, backup-buffer)
2879 (basic-save-buffer, save-some-buffers):
2880 * dired-aux.el (dired-compress-file): Callers changed.
2882 2011-01-19 Glenn Morris <rgm@gnu.org>
2884 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2885 Also check the property status. (Bug#7861)
2887 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
2889 * net/tramp.el (tramp-debug-message): Extend function exclude
2890 list. Use `regexp-opt'.
2892 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2894 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2895 highlighting doesn't spill over subsequent lines.
2897 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2898 keymap expression. Improve docstring.
2900 * electric.el (electric-indent-post-self-insert-function):
2901 Don't auto-indent for indent-to-left-margin, it's too often
2904 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
2906 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2907 spaces if the frame was resized, so that the full visible buffer
2908 serves as canvas for strokes.
2910 2011-01-16 Glenn Morris <rgm@gnu.org>
2912 * info-xref.el (info-xref-docstrings): Replace cl function.
2913 Also skip directories.
2915 2011-01-16 Kevin Ryde <user42@zip.com.au>
2917 * info-xref.el: Version 3.
2918 (info-xref-check, info-xref-check-all): Move commentary details
2919 into docstrings for better visibility.
2920 Use compilation-mode for the results buffer.
2921 (info-xref-output, info-xref-output-error, info-xref-with-output)
2922 (info-xref-filename, info-xref-in-progress):
2923 New internals for this.
2924 (info-xref-check-list, info-xref-check-buffer)
2925 (info-xref-check-all-custom): Use those.
2926 (info-xref-output-buffer): Rename from info-xref-results-buffer.
2927 (info-xref-output-heading): Rename from info-xref-filename-heading.
2928 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2929 (info-xref-filename-heading): Move to output managing section.
2930 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2931 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2932 (info-xref-subfile-p): Move to generic section with those two.
2933 (info-xref-check-node): New function split from
2934 info-xref-check-buffer, shared by info-xref-docstrings.
2935 (info-xref-goto-node-p): Move to a checking section with that func.
2936 (info-xref-unavail): New counter.
2937 (info-xref-check-node): Use it.
2938 (info-xref-with-output): Show count of unavailables at end of output.
2939 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
2940 symlinks. Exclude .texi files. Exclude Emacs backup files.
2941 (info-xref-check-all-custom): Fix quietening viper-mode and
2942 gnus-registry-install -- use setq not let so as not to unbind
2945 2011-01-16 Juri Linkov <juri@jurta.org>
2947 * isearch.el (isearch-abort): Don't quit if search has
2948 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
2950 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
2952 * files.el (backup-buffer): Make last-resort backup file in
2953 .emacs.d (Bug#6953).
2955 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2956 make it with permission 700.
2958 2011-01-15 Kenichi Handa <handa@m17n.org>
2960 * mail/rmailmm.el (rmail-mime-insert-header):
2961 Set rmail-mime-coding-system to a cons whose car is the last coding
2962 system used to decode the header.
2963 (rmail-mime-find-header-encoding): New function.
2964 (rmail-mime-insert-decoded-text):
2965 Override rmail-mime-coding-system if it is a cons.
2966 (rmail-show-mime): If only a header part was decoded, find the
2967 coding system while ignoring mm-charset-override-alist.
2969 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
2971 * subr.el (event-start, event-end): Doc fix (Bug#7826).
2973 2011-01-15 Kenichi Handa <handa@m17n.org>
2975 * mail/rmailmm.el (rmail-mime-next-item)
2976 (rmail-mime-previous-item): Delete them.
2977 (rmail-mime-shown-mode): Recursively call for children.
2978 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2980 (rmail-mime-raw-mode): Recursively call for children.
2981 (rmail-mode-map): Change mapping of tab and backtab to
2982 forward-button and backward-button respectively.
2983 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2985 (rmail-mime-update-tagline): New function.
2986 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2987 body display is changed.
2988 (rmail-mime-toggle-button): Rename from rmail-mime-image.
2989 (rmail-mime-image): Delete this button type.
2990 (rmail-mime-toggle): New button type.
2991 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2992 body display is changed. Change the save button label to "Save".
2993 Don't process show/hide button here.
2994 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2995 the body display is changed. Unconditionally call
2996 rmail-mime-insert for children.
2997 (rmail-mime-handle): Update `display' vector of the just inserted
2999 (rmail-mime-process): If mail-header-parse-content-type returns
3000 nil, use "text/plain" as the fallback type.
3001 (rmail-mime-insert): For raw-mode, recursively call
3002 rmail-mim-insert for children.
3003 (rmail-mime): Handle the case that the current buffer is not rmail
3004 buffer (e.g. in summary buffer).
3006 2011-01-15 Kenichi Handa <handa@m17n.org>
3008 * mail/rmailmm.el (rmail-mime-next-item)
3009 (rmail-mime-previous-item): Skip the body of a non-multipart
3010 entity if a tagline is shown.
3012 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
3014 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
3015 (tmm-prompt): Simplify.
3016 (tmm-add-prompt): Remove unused var `win'.
3018 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
3019 to minor mode which used nil accidentally to mean "turn off".
3021 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
3023 * net/tramp-sh.el (tramp-find-inline-compress)
3024 (tramp-get-inline-coding): Quote command after pipe symbol for
3025 local calls under W32. (Bug#6784)
3027 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
3029 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
3030 only when running under W32.
3032 2011-01-15 Eli Zaretskii <eliz@gnu.org>
3034 * progmodes/grep.el (grep-compute-defaults): Quote the program
3035 file name after the pipe symbol in Grep templates. (Bug#6784)
3036 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
3038 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
3040 * buff-menu.el (Buffer-menu-buffer-list): New var.
3041 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
3042 restricted buffer list is not lost on revert (Bug#7749).
3044 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
3046 * net/ldap.el (ldap-search-internal): Discard stderr output.
3048 2011-01-15 Eli Zaretskii <eliz@gnu.org>
3050 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
3052 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
3054 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
3056 2011-01-15 Kenichi Handa <handa@m17n.org>
3058 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
3059 part as a plain text.
3060 (rmail-mime-process-multipart): Set the default content-type to
3061 nil for unknown multipart subtypes (bug#7651).
3063 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3065 * hexl.el (hexl-mode-old-*): Remove.
3066 (hexl-mode--old-var-vals): New var to replace them.
3067 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
3068 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
3069 Use them to set local vars (bug#7846).
3070 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
3071 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
3072 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
3074 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
3075 (smerge-resolve--normalize-re): New var.
3076 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
3077 (smerge-resolve): Use them.
3078 * newcomment.el (comment-only-p): New function.
3079 (comment-or-uncomment-region): Use it.
3081 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
3083 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
3084 table, get the value before switching to the output buffer. (Bug#7733)
3086 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3088 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
3090 2011-01-14 Kim F. Storm <storm@cua.dk>
3092 * emulation/cua-base.el (cua--init-keymaps):
3093 Remap exchange-point-and-mark in cua-global-keymap.
3095 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
3097 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
3100 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3102 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
3104 (easy-menu-create-menu, easy-menu-convert-item-1):
3105 Use :label rather than nil for labels. Use `case'.
3106 Add :enable as alias for :active.
3107 (easy-menu-binding): Obey :label.
3109 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3111 Use run-mode-hooks for major mode hooks (bug#513).
3112 * textmodes/reftex-toc.el (reftex-toc-mode-map):
3113 Rename from reftex-toc-map.
3114 (reftex-toc-mode): Use define-derived-mode.
3115 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
3116 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
3117 Rename from reftex-select-(label|bib)-map. Move init into declaration.
3118 (reftex-select-label-mode, reftex-select-bib-mode):
3119 Use define-derived-mode.
3120 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
3121 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
3122 Move init into delcaration.
3123 (reftex-index-mode, reftex-index-phrases-mode):
3124 Use define-derived-mode.
3125 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
3126 speedbar-syntax-table. Move init into declaration.
3127 (speedbar-mode-map): Rename from speedbar-key-map.
3128 Move init into declaration.
3129 (speedbar-file-key-map): Move init into declaration.
3130 (speedbar-mode): Use define-derived-mode.
3131 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
3132 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
3133 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
3134 (chart-face-list): Move initialization into declaration.
3135 (chart-mode): Use define-derived-mode.
3136 * calculator.el (calculator-mode-map): Move init into declaration.
3137 (calculator-mode): Use define-derived-mode.
3139 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
3140 work for nested comments.
3142 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
3143 (prolog-use-prolog-tokenizer-flag): Change default when
3144 syntax-propertize can be used.
3145 (prolog-syntax-propertize-function): New var.
3146 (prolog-mode-variables): Move make-local-variable into `set'.
3147 Don't make comment-column local since we don't set it.
3148 Set comment-add (as it was in previous prolog.el). Use dolist.
3149 Set syntax-propertize-function.
3150 (prolog-mode, prolog-inferior-mode):
3151 Call prolog(-inferior)-menu directly, not through the mode-hook.
3152 (prolog-buffer-module, prolog-indent-level)
3153 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
3154 (prolog-comment-limits, prolog-goto-comment-column):
3155 Use line-(end|beginning)-position.
3156 (prolog-build-prolog-command): Tighten up regexp.
3157 (prolog-consult-compile): Move make-local-variable into `set'.
3158 (prolog-consult-compile-filter, prolog-goto-next-paren)
3159 (prolog-help-on-predicate, prolog-clause-info)
3160 (prolog-mark-predicate): Don't let+setq.
3161 (prolog-indent-line): Use indent-line-to.
3162 Only call prolog-goto-comment-column if necessary.
3163 (prolog-indent-level): Use bobp.
3164 (prolog-first-pos-on-line): Remove, not used any more.
3165 (prolog-in-string-or-comment): Use syntax-ppss if available.
3166 (prolog-help-on-predicate): Use read-string.
3167 (prolog-goto-predicate-info): Simplify.
3168 (prolog-read-predicate): Use `default' rather than `initial'.
3169 (prolog-temporary-file): Use make-temp-file to close a security hole.
3170 (prolog-toggle-sicstus-sd): New command.
3171 (prolog-electric-underscore, prolog-variables-to-anonymous):
3172 Use dynamic-scoping as it was meant.
3173 (prolog-menu): Move menu definitions to top-level.
3174 Use a toggle-button for Sicstus's source debugger.
3175 Change "Code" to the more usual "Prolog", and hence change "Prolog"
3177 (prolog-inferior-menu): Reuse prolog-menu's help menu.
3178 Move other menu definition to top-level.
3180 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
3182 * doc-view.el (doc-view-open-text): Use meaningful text buffer
3183 name. Keep original document's directory as default-directory
3185 (doc-view-initiate-display): Fall back to normal mode when
3186 doc-view-mode cannot be enabled, also when extracting the document
3187 text into a separate buffer (bug#6446).
3189 * simple.el (shell-command): Don't error out if shell command
3190 buffer contains text with non-nil read-only property when erasing
3193 2011-01-13 Kim F. Storm <storm@cua.dk>
3195 * ido.el (ido-may-cache-directory): Move "too-big" check later.
3196 (ido-next-match, ido-prev-match): Fix stray reordering of matching
3197 items when cycling through the matches.
3199 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
3201 * dired-x.el (dired-omit-verbose): New defcustom that allows
3202 disabling the omit messages.
3203 (dired-omit-expunge): Use it.
3205 2011-01-13 Christian Ohler <ohler@gnu.org>
3207 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
3209 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
3211 * font-lock.el (font-lock-verbose): Default to nil.
3213 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
3215 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
3216 (compose-mail): New arg RETURN-ACTION.
3217 (compose-mail-other-window, compose-mail-other-frame): Likewise.
3219 * mail/sendmail.el (mail-return-action): New var.
3220 (mail-mode): Make it buffer-local.
3221 (mail-bury): Obey it. Move special Rmail window handling to
3223 (mail, mail-setup): New arg RETURN-ACTION.
3224 (sendmail-user-agent-compose): Move from simple.el.
3226 * mail/rmail.el (rmail-mail-return): New function.
3227 (rmail-start-mail): Pass it to compose-mail.
3229 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
3231 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
3232 menus. Add menu item for customize-themes.
3234 * cus-theme.el (customize-themes):
3235 * emacs-lisp/package.el (package--list-packages):
3236 Use switch-to-buffer.
3238 2011-01-11 Johan Bockgård <bojohan@gnu.org>
3240 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
3242 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
3244 * progmodes/prolog.el: Fix up coding convention and such.
3245 (prolog-indent-width): Use the same default as in
3246 previous prolog.el rather than tab-width which depends on which buffer
3247 is current when the file is loaded.
3248 (prolog-electric-newline-flag): Only enable if electric-indent-mode
3250 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
3251 (prolog-known-systems): Remove.
3252 (prolog-mode-syntax-table, prolog-inferior-mode-map):
3253 Move initialization into declaration.
3254 (prolog-mode-map): Move initialization into declaration.
3255 Remove system-specific mode-map vars, since they referred to the same
3257 (prolog-mode-variables): Obey the user's preference w.r.t
3258 adaptive-fill-mode. Prefer symbol-value to `eval'.
3259 (prolog-mode-keybindings-edit): Add compatibility bindings.
3260 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
3261 (mercury-mode-map): New var.
3262 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
3263 (prolog-ensure-process, prolog-process-insert-string)
3264 (prolog-consult-compile): Use with-current-buffer.
3265 (prolog-guess-fill-prefix): Simplify data flow.
3266 (prolog-replace-in-string): New function to use instead of
3268 (prolog-enable-sicstus-sd): Don't abuse `eval'.
3269 (prolog-uncomment-region): Use `uncomment-region' when available.
3270 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
3271 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
3272 of int-to-char and char-to-int.
3273 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
3275 2011-01-11 Stefan Bruda <stefan@bruda.ca>
3277 * progmodes/prolog.el: Replace by a whole new file.
3279 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
3281 * subr.el (eval-after-load): Fix timing for features (bug#7769).
3282 (declare-function, undefined, insert-for-yank)
3283 (replace-regexp-in-string): Follow checkdoc's recommendations.
3285 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3287 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
3288 refreshing the diary buffer.
3290 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
3292 * allout.el: Add 2011 to the file copyright.
3293 (allout-encrypt-string): Prevent encryption from adding an extra
3294 newline at the end of the topic body.
3295 (allout-version): Increment to 2.3.
3297 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
3299 * net/dbus.el (dbus-unregister-service): Complete doc.
3300 Fix call of dbus-error signal.
3301 (dbus-register-property): Use `dont-register' keyword.
3303 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
3305 * net/dbus.el (dbus-unregister-service): Translate returned
3306 integer into a symbol.
3307 (dbus-register-property): Use `dbus-register-service' to do the
3310 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
3312 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
3313 Suggested by Joakim Verona.
3315 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
3317 * wid-edit.el (visibility): Replace :on-image and :off-image
3318 widget properties with :on-glyph and :off-glyph, for consistency
3319 with the `visibility' widget.
3320 (widget-toggle-value-create, widget-visibility-value-create):
3321 Merge into a single function `widget-toggle-value-create'.
3323 * cus-edit.el (custom-variable-value-create, custom-visibility)
3324 (custom-face-edit-value-create, custom-face-value-create):
3325 Replace :on-image and :off-image widget properties with :on-glyph and
3326 :off-glyph, for consistency with the `visibility' widget.
3328 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
3330 * net/ldap.el (ldap-search-internal): Don't use eval.
3332 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
3334 * subr.el (read-char-choice): Use read-key.
3336 * custom.el (custom-safe-themes): Rename from
3337 custom-safe-theme-files. Add :risky tag.
3338 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
3339 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
3341 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
3343 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
3344 from Search and add a label to Undo.
3346 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
3347 inappropriate buttons and adding :vert-only tags.
3349 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
3350 removal of Help tool-bar button. Remove Undo button for space.
3352 * info.el (info-tool-bar-map): Add :vert-only tags.
3354 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
3356 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
3357 image backend support. Either of them is fine.
3359 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
3361 * subr.el (y-or-n-p): Doc fix.
3363 * custom.el (custom-safe-theme-files): New defcustom.
3364 (custom-theme-load-confirm): New function.
3365 (load-theme): Load theme using `load', confirming with
3366 custom-theme-load-confirm if necessary.
3368 * subr.el (read-char-choice): New function, factored out from
3369 dired-query and hack-local-variables-confirm.
3371 * dired-aux.el (dired-query):
3372 * files.el (hack-local-variables-confirm): Use it.
3374 * dired-aux.el (dired-compress-file):
3375 * files.el (abort-if-file-too-large, find-alternate-file)
3376 (set-visited-file-name, write-file, backup-buffer)
3377 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
3378 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
3379 Use new format string args for y-or-n-p and yes-or-no-p.
3381 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
3383 * progmodes/compile.el (compilation-error-regexp-alist-alist)
3384 [gcc-include]: Tighten file name match, add match for column
3386 [gnu]: Remove unused group.
3388 2011-01-08 Glenn Morris <rgm@gnu.org>
3390 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
3392 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
3394 2011-01-07 Sam Steingold <sds@gnu.org>
3396 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
3397 the `explicit-shell-file-name' because that is the
3398 non-interactive shell.
3400 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
3402 * subr.el (y-or-n-p): Accept format string args.
3404 2011-01-07 Glenn Morris <rgm@gnu.org>
3406 * Makefile.in (EMACSOPT): Add --no-site-lisp.
3408 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
3410 * allout.el (allout-back-to-current-heading): Ensure return to
3411 the visible containing topic, rather than a collapsed one.
3412 (allout-view-change-hook): Remove hook that was deprecated long ago.
3413 (allout-exposure-change-hook): Remove documentation remarks
3414 concerning removed allout-view-change-hook.
3415 (allout-flag-region): Remove invocation of and documentation
3416 remarks concerning allout-view-change-hook.
3418 2011-01-06 Glenn Morris <rgm@gnu.org>
3420 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
3421 (vc-bzr-annotate-extract-revision-at-line):
3422 Handle authors with embedded spaces. (Bug#7792)
3424 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
3426 * doc-view.el (doc-view-image-width): New variable.
3427 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
3428 backend for PNG images, and do dynamic rescaling instead of
3429 reconverting the whole doc.
3431 2011-01-05 Glenn Morris <rgm@gnu.org>
3433 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
3435 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
3437 * allout.el: Reconcile with changes in line movement behavior for
3438 long text lines that cross more than a single physical window
3439 line, ie when truncate-lines is nil.
3440 (allout-next-visible-heading): Provide for change in line-move
3441 behavior on long lines when truncate-lines is nil. In that case,
3442 line-move can wind up on the same textual line when it moves to
3443 the next window line, and moving to the bullet position after the
3444 move yields zero advancement. Add logic to detect and compensate
3445 for the lack of progress.
3446 (allout-current-topic-collapsed-p): move-end-of-line respect for
3447 field boundaries is different when operating with body lines
3448 shorter than window width versus ones greater than window width,
3449 which can yield false negatives in this function. Avoid
3450 difference by applying move-end-of-line while field-text-motion is
3453 2011-01-04 Glenn Morris <rgm@gnu.org>
3455 * textmodes/rst.el (rst-compile-toolsets):
3456 Add pdf and s5 to option alist.
3458 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
3460 * net/dbus.el (dbus-register-property): Add optional parameter
3461 dont-register-service. Updated docstring accordingly.
3463 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
3465 * textmodes/rst.el (rst-compile-pdf-preview)
3466 (rst-compile-slides-preview): Remove extra line.
3468 2011-01-04 Glenn Morris <rgm@gnu.org>
3470 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
3471 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
3472 default to `prog' without a .py extension.
3473 (rst-compile-pdf-preview, rst-compile-slides-preview):
3474 Use program names from rst-compile-toolsets, rather than hard-coding.
3475 (rst-portable-mark-active-p): Fix presumed typo.
3477 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3479 * term/w32-win.el (dynamic-library-alist): Set up correctly for
3480 libpng versions both before and after 1.4.0. (Bug#7716)
3482 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3484 * time.el (display-time-mode): Mention display-time-interval in
3485 the doc string. (Bug#7713)
3487 2011-01-02 Kenichi Handa <handa@m17n.org>
3489 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
3490 condition-case and return an error message string if something
3492 (rmail-show-mime): Adjust for the above change. Insert the
3493 header by rmail-mime-insert-header.
3495 2011-01-02 Kenichi Handa <handa@m17n.org>
3497 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
3498 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
3499 (rmail-mime-mbox-buffer)
3500 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
3501 (rmail-mime-entity): Argument changed. All codes handling an
3502 entity object are changed.
3503 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
3505 (rmail-mime-entity-children, rmail-mime-entity-handler)
3506 (rmail-mime-entity-tagline): New functions.
3507 (rmail-mime-message-p): New function.
3508 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
3509 (rmail-mime-entity-segment, rmail-mime-next-item)
3510 (rmail-mime-previous-item, rmail-mime-shown-mode)
3511 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
3512 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
3513 (rmail-mime-insert-tagline, rmail-mime-insert-header):
3515 (rmail-mime-text-handler): Call rmail-mime-insert-text.
3516 (rmail-mime-insert-decoded-text): New function.
3517 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
3518 (rmail-mime-insert-image): Argument changed. Caller changed.
3519 (rmail-mime-image): Call rmail-mime-toggle-hidden.
3520 (rmail-mime-set-bulk-data): New function.
3521 (rmail-mime-insert-bulk): Argument changed.
3522 (rmail-mime-multipart-handler): Return t.
3523 (rmail-mime-process-multipart): Argument changed.
3524 Handle "multipart/alternative" here.
3525 (rmail-mime-process): Argument changed.
3526 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
3527 (rmail-mime-insert): Argument changed. Handle raw display mode.
3528 (rmail-mime): Argument changed. Handle toggling of raw display
3530 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
3531 rmail-mime-view-buffer.
3532 (rmail-insert-mime-forwarded-message): Likewise.
3533 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
3535 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
3536 non-nil, handle the header in rmail-show-mime-function.
3538 2011-01-02 Leo <sdl.web@gmail.com>
3540 * help-fns.el (describe-variable): Fix previous change.
3542 2011-01-02 Juri Linkov <juri@jurta.org>
3544 * isearch.el (isearch-lazy-highlight-error): New variable.
3545 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
3546 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
3547 to the current value of `isearch-error' (Bug#7468).
3549 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3551 * help-fns.el (describe-variable): Don't emit trailing whitespace
3554 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3556 * textmodes/rst.el (rst-compile-pdf-preview)
3557 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
3559 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3561 * emulation/edt-mapper.el: Override mapping of function keys so
3562 that the later call to read-key-sequence works.
3564 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3566 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
3567 Unix EOLs. (Bug#7589)
3569 2011-01-02 Leo <sdl.web@gmail.com>
3571 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
3572 if point is not behind eshell-last-output-end (Bug#7585).
3574 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
3576 * files.el (file-local-variables-alist):
3577 Make permanent-local (bug#7767).
3579 2011-01-02 Glenn Morris <rgm@gnu.org>
3581 * version.el (emacs-copyright): Set short copyright year to 2011.
3583 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3585 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
3586 an existing temp buffer. (Bug#7746)
3588 2011-01-02 Glenn Morris <rgm@gnu.org>
3590 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
3591 multiple addresses. (Bug#7760)
3593 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
3595 * allout.el (allout-auto-fill): Do not infinitely recurse - use
3596 do-auto-fill if everything points back to allout-auto-fill.
3597 (allout-mode-deactivate-hook): Declare obsolete, in favor of
3598 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
3600 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
3602 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
3605 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3607 * doc-view.el (doc-view-set-doc-type): New function refactored
3609 (doc-view-fallback-mode): New function.
3610 (doc-view-mode): Use it.
3611 (doc-view-mode-maybe): New function that checks if doc-view-mode
3612 can be used and falls back to the next best mode otherwise.
3614 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
3615 DVI, OpenDocument, and MS Office files.
3617 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
3619 * emacs-lisp/rx.el (rx-syntax): Fix typo.
3621 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3623 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
3624 on a copy of auto-mode-alist, because that deletes with side
3627 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3629 * doc-view.el (doc-view-mode, doc-view-toggle-display):
3630 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
3631 fallback instead of hard coding fundamental mode.
3633 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3635 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
3636 Office) files also for searching.
3638 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3640 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
3641 Office) files. Not yet enabled via auto-mode-list.
3642 (doc-view-unoconv-program): New custom variable.
3643 (doc-view-mode-p): Handle new odf document type.
3644 (doc-view-odf->pdf): New conversion function.
3645 (doc-view-convert-current-doc): Call it for odf files.
3646 (doc-view-mode): Recognize newly supported file extensions.
3648 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
3650 * net/tramp.el (tramp-default-method-alist)
3651 (tramp-default-user-alist)
3652 (tramp-local-host-regexp, tramp-prefix-domain-format)
3653 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
3656 * net/tramp-gvfs.el:
3658 * net/tramp-imap.el:
3660 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
3661 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
3663 2010-12-29 Karl Fogel <kfogel@red-bean.com>
3665 * saveplace.el (save-place-alist-to-file): Save list sorted and
3666 pretty-printed, so that it is mergeable by line-based text merging,
3667 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
3669 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
3671 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
3672 (allout-mode): Argument "toggle" => "force".
3673 Refine the docstring.
3674 Remove special provisions for reactivation, besides the 'force'
3676 Consolidate layout provisions coce directly into the activation
3677 condition branch, now that we've removed those provisions.
3678 (allout-unload-function): Explicitly activate the mode before
3679 deactivating, if it's initially deactivated.
3680 (allout-set-buffer-multibyte): Properly prevent byte-compiler
3681 warnings for version of function used only where
3682 set-buffer-multibyte is unavailable.
3684 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
3686 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
3687 are handled by the menu-bar entries. As before, don't use
3688 :visibile to avoid changing the tool-bar.
3690 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3692 * net/secrets.el (secrets-delete-alias): New defun.
3694 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3696 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
3697 methods, otherwise ~/.ssh/config would be ignored.
3699 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
3701 * emacs-lisp/rx.el: Make it a superset of sregex.
3702 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
3703 of args, add `regex' alias.
3704 (rx-info): Add arg to distinguish head and standalone forms.
3705 (rx-check, rx-form): Pass the corresponding arg.
3707 (rx-repeat): Make it work for any number of args.
3708 (rx-syntax): Make it accept syntax chars as is.
3709 * obsolete/sregex.el: Move from emacs-lisp/.
3710 * emacs-lisp/re-builder.el: Remove sregex support.
3711 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
3713 2010-12-25 Eli Zaretskii <eliz@gnu.org>
3715 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
3716 PRIMARY first, then the clipboard. (Bug#7699)
3718 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3720 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
3723 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
3725 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
3726 .emacs.elc (Bug#7530).
3728 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
3729 image spec (Bug#7480).
3731 2010-12-21 Daiki Ueno <ueno@unixuser.org>
3733 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
3734 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
3737 2010-12-20 Leo <sdl.web@gmail.com>
3739 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
3740 always be performed (Bug#7680).
3742 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
3744 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
3745 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
3748 * color.el: Move from gnus/.
3750 * vc/diff.el (diff-better-file-name): Function deleted.
3751 abbreviating file names causes problems with shell-quote-argument.
3752 (diff-no-select): Just use expand-file-name.
3754 * tool-bar.el (tool-bar--image-expression): New function.
3755 (tool-bar-local-item, tool-bar--image-exp): Use it.
3756 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
3757 Use :enable instead of :visible to avoid changing the tool-bar
3758 configuration unnecessarily.
3760 * info.el (info-tool-bar-map): Add separators.
3762 2010-12-17 Ken Brown <kbrown@cornell.edu>
3764 * loadup.el: Use version numbers in Cygwin build.
3766 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
3768 * ido.el (ido-file-internal): Ask for confirmation before
3769 overwriting an existing file (Bug#1238).
3771 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
3773 * tool-bar.el (tool-bar-setup): Add separators.
3775 * menu-bar.el (featurep): Use menu-bar-separator.
3777 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
3779 Migrate allout encryption provisions from pgg to epg.
3781 * allout.el (allout-toggle-current-subtree-encryption)
3782 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
3783 defaulting policy and other changes. Change fetch-pass to keymode-cue,
3784 for simpler universal argument interpretation.
3785 (allout-toggle-subtree-encryption): Adjust docstring to describe
3786 changed encryption provisions. Change fetch-pass to keymode-cue, for
3787 simpler universal argument interpretation. Remove provisions for
3788 handling key type and identity - they'll all be within
3789 allout-encrypt-string or epg/epg or even contained all the way in gpg.
3790 (allout-encrypt-string): Include keymode-cue, for optionally prompting
3791 for keypair recipients (universal argument > 1) and, in addition,
3792 associating the specified recipients with the outline (universal
3793 argument > 4) using a file local variable setting for
3794 'epa-file-encrypt-to'.
3795 Require epa, for recipients handling.
3796 Change how regexp filtering elements are named.
3797 Describe the problem with caching of incorrect symmetric-decryption
3799 Use the epa-passphrase-callback-function, in case the user is using
3801 Support saving of the selected keypair recipients when invoked with a
3803 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
3805 Establish epg-context with armoring and default epg-protocol.
3806 Remove all passphrase cache, verification, and hinting code.
3807 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
3808 No longer used, delete.
3809 (allout-mode): Adjust docstring to describe changed encryption
3810 provisions. Describe the problem with caching of incorrect
3811 symmetric-decryption keys.
3812 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
3813 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
3814 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
3815 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
3818 2010-12-16 Daiki Ueno <ueno@unixuser.org>
3820 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
3821 key selection prompt; make 'silent as default (Bug#7487).
3823 2010-12-16 Leo <sdl.web@gmail.com>
3825 * eshell/eshell.el (eshell-directory-name):
3826 Use locate-user-emacs-file (Bug#7578).
3828 2010-12-15 Glenn Morris <rgm@gnu.org>
3830 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
3832 2010-12-15 Jari Aalto <jari.aalto@cante.net>
3833 Scott Evans <gse@antisleep.com>
3835 * rect.el (rectange--default-line-number-format)
3836 (rectangle-number-line-callback): New functions.
3837 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
3839 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
3841 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
3842 Delete unused variables.
3843 (move-to-column-force): Remove function obsolete since 21.2.
3845 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
3847 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
3848 (tramp-handle-insert-file-contents): Do not set permanent-local
3851 * net/tramp-cache.el (tramp-persistency-file-name):
3852 Use `locate-user-emacs-file' if fboundp.
3854 * net/tramp-sh.el (tramp-methods): Add "ksu".
3855 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
3858 2010-12-14 Glenn Morris <rgm@gnu.org>
3860 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3861 (find-tag-marker-ring): Declare.
3862 (js-find-symbol): Require etags.
3864 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3866 (mail-alias-file): Don't autoload. Doc fix.
3867 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3868 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
3869 Mark as obsolete, and risky.
3870 (mail-setup): Simplify.
3872 * mail/mailalias.el (build-mail-aliases): Make it interactive.
3873 * mail/sendmail.el (build-mail-aliases): Update autoload.
3875 * dired.el (dired-trivial-filenames, dired-chown-program)
3876 (dired-auto-revert-buffer): Remove autoload cookies.
3877 * mail/sendmail.el (mail-recover-1): Require 'dired.
3879 * dired.el (dired-subdir-switches, dired-chown-program)
3880 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3881 Make into defcustoms.
3882 (dired-chown-program): Simplify initialization.
3884 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3886 2010-12-13 Romain Francoise <romain@orebokech.com>
3888 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3890 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3892 * net/netrc.el (netrc-point-at-eol): Remove the unused
3893 netrc-point-at-old and netrc-bound-and-true-p bindings.
3894 (netrc-parse): Cache the netrc contents.
3896 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3898 * subr.el (posn-col-row): Evaluate header-line-format in the
3899 context of the POSITION window's buffer.
3901 2010-12-13 Glenn Morris <rgm@gnu.org>
3903 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3904 (with-silent-modifications): Doc fixes.
3906 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3908 * net/tramp.el (tramp-action-password, tramp-process-actions):
3909 Revert previous from. Use `save-restriction'.
3911 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
3913 * calendar/diary-lib.el (diary-list-sexp-entries):
3914 Handle case of no newline at end of file. (Bug#7536)
3916 2010-12-13 Glenn Morris <rgm@gnu.org>
3918 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3920 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3922 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3923 (tramp-process-actions): Do not widen.
3925 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3926 Protect buffer-modified value. (Bug#7557)
3928 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
3930 * log-edit.el (log-edit-changelog-entries):
3931 Regexp quote filename. (Bug#7505)
3933 2010-12-13 Tom Breton <tehom@panix.com>
3935 * cus-edit.el (custom-save-all):
3936 Bind print-length and print-level to nil. (Bug#7581)
3938 2010-12-13 Glenn Morris <rgm@gnu.org>
3940 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3941 Run hooks to update menu contents. (Bug#7586)
3943 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3944 file names, for the sake of MS Windows. (Bug#7588)
3946 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3948 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3949 empty lines without a leading space.
3951 2010-12-13 Leo <sdl.web@gmail.com>
3953 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3954 while mapping over marks (Bug#6810).
3956 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3958 * image-dired.el (image-dired-db-file)
3959 (image-dired-temp-image-file, image-dired-gallery-dir)
3960 (image-dired-temp-rotate-image-file): Set default values relative
3961 to image-dired-dir (Bug#7518).
3963 2010-12-13 Lawrence Mitchell <wence@gmx.li>
3965 * format.el (format-decode-run-method): Pass args FROM and TO, not
3966 point-min and point-max, to shell-command-on-region (Bug#7488).
3968 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
3970 * frame.el (blink-cursor-mode): Make default t for ns.
3972 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3974 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3976 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3978 * comint.el (comint-dynamic-list-input-ring)
3979 (comint-dynamic-complete-filename)
3980 (comint-replace-by-expanded-filename)
3981 (comint-dynamic-simple-complete)
3982 (comint-dynamic-list-filename-completions)
3983 (comint-dynamic-list-completions): Doc fix (Bug#7499).
3985 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3988 2010-12-13 Martin Rudalics <rudalics@gmx.at>
3990 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3993 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
3995 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3998 2010-12-13 Eli Zaretskii <eliz@gnu.org>
4000 * files.el (file-relative-name): Handle UNC file names on
4001 DOS/Windows. (Bug#4674)
4003 2010-12-13 Daiki Ueno <ueno@unixuser.org>
4005 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
4006 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
4007 (epg-context-set-passphrase-callback): Mention that the callback
4008 is not called when used with GnuPG 2.x.
4010 2010-12-13 Glenn Morris <rgm@gnu.org>
4012 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
4013 Ensure ps-footer-font-size-internal is initialized.
4014 Call ps-get-page-dimensions before trying to use ps-font-for-text.
4016 2010-12-13 Kenichi Handa <handa@m17n.org>
4018 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
4019 within condition-case.
4020 (rmail-show-mime): Don't use condition-case.
4021 (rmail-search-mime-message): New function.
4022 (rmail-search-mime-message-function): Set to
4023 rmail-search-mime-message.
4025 2010-12-13 Leo <sdl.web@gmail.com>
4027 * ido.el (ido-common-initialization): New function. (bug#3274)
4029 (ido-completing-read): Call it.
4031 2010-12-12 Karl Fogel <kfogel@red-bean.com>
4033 * bookmark.el (bookmark-name-from-full-record): Rename back to
4034 this original name from `bookmark-name-from-record' reverting part
4035 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
4036 As Drew Adams pointed out, there was no reason to cause churn for
4037 third-party callers. (Bug#7609)
4039 2010-12-12 Alan Mackenzie <acm@muc.de>
4041 * progmodes/cc-engine.el (c-forward-type): Before scanning a
4042 template arglist, check that the current language supports this.
4044 2010-12-11 Glenn Morris <rgm@gnu.org>
4046 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
4047 state of the file matches. (Bug#7544)
4048 (vc-bzr-register, vc-bzr-checkin)
4049 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
4050 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
4052 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
4054 2010-12-11 Karel Klíč <kklic@redhat.com>
4056 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
4058 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4060 Derive from prog-mode, use derived-mode-p, and fix up various
4061 minor style issues in lisp/progmodes.
4063 * progmodes/vhdl-mode.el (vhdl-mode):
4064 * progmodes/verilog-mode.el (verilog-mode):
4065 * progmodes/vera-mode.el (vera-mode):
4066 * progmodes/sql.el (sql-mode):
4067 * progmodes/scheme.el (scheme-mode):
4068 * progmodes/perl-mode.el (perl-mode):
4069 * progmodes/octave-inf.el (inferior-octave-mode):
4070 * progmodes/autoconf.el (autoconf-mode):
4071 * progmodes/m4-mode.el (m4-mode):
4072 * progmodes/inf-lisp.el (inferior-lisp-mode):
4073 * progmodes/idlwave.el (idlwave-mode):
4074 * progmodes/icon.el (icon-mode):
4075 * progmodes/idlw-help.el (idlwave-help-mode):
4076 * progmodes/dcl-mode.el (dcl-mode):
4077 * progmodes/idlw-shell.el (idlwave-shell-mode):
4078 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
4079 (ebrowse-member-mode, ebrowse-electric-position-mode):
4080 Use define-derived-mode.
4082 * progmodes/xscheme.el (exit-scheme-interaction-mode)
4083 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
4084 (xscheme-debugger-mode-p, xscheme-send-string-1):
4085 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
4086 (tcl-load-file, tcl-restart-with-file):
4087 * progmodes/ps-mode.el (ps-run-running):
4088 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
4089 * progmodes/js.el (js--get-all-known-symbols):
4090 * progmodes/inf-lisp.el (inferior-lisp-proc):
4091 * progmodes/idlwave.el (idlwave-beginning-of-statement)
4092 (idlwave-template, idlwave-update-buffer-routine-info)
4093 (idlwave-update-current-buffer-info)
4094 (idlwave-get-routine-info-from-buffers, idlwave-choose)
4095 (idlwave-scan-class-info, idlwave-fix-keywords)
4096 (idlwave-list-buffer-load-path-shadows):
4097 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
4098 (idlwave-toolbar-remove):
4099 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
4100 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
4101 (idlwave-shell-menu-def):
4102 * progmodes/idlw-complete-structtag.el
4103 (idlwave-prepare-structure-tag-completion):
4104 * progmodes/gud.el (gud-set-buffer):
4105 * progmodes/f90.el (f90-backslash-not-special):
4106 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
4108 * progmodes/xscheme.el (xscheme-start)
4109 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
4110 * progmodes/which-func.el (which-function):
4111 * progmodes/vhdl-mode.el (vhdl-set-style):
4112 * progmodes/verilog-mode.el (verilog-set-compile-command)
4113 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
4114 (verilog-set-define, verilog-auto-reeval-locals):
4115 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
4116 * progmodes/simula.el (simula-mode):
4117 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
4118 * progmodes/python.el (python-check, python-mode):
4119 * progmodes/prolog.el (prolog-mode-variables):
4120 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
4121 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
4122 * progmodes/delphi.el (delphi-mode):
4123 * progmodes/cc-styles.el (c-setup-paragraph-variables):
4124 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
4125 (c-font-lock-init): Move make-local-variable to their setq.
4127 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
4128 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
4130 * progmodes/sh-script.el (sh-require-final-newline): Remove.
4131 (sh-set-shell): Don't set require-final-newline since it's already done
4133 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
4134 since we never set it.
4135 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
4136 Use read-string and standard prompt.
4137 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
4138 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
4139 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
4140 (meta-common-mode-map): Rename from meta-mode-map.
4141 Remove C-m binding, which is a user preference, not mode specific.
4142 (meta-common-mode): New major mode; replace meta-common-initialization.
4143 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
4144 around with font-lock.
4145 * progmodes/etags.el (select-tags-table-mode):
4146 Derive from special-mode.
4147 * progmodes/octave-mod.el (octave-mode):
4148 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
4149 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
4150 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
4151 Let define-derived-mode do its job.
4152 * progmodes/cpp.el (cpp-edit-mode-map):
4153 Move initialization into declaration.
4154 (cpp-edit-mode): Use define-derived-mode.
4155 (cpp-edit-load): Use derived-mode-p.
4156 * progmodes/mixal-mode.el (mixal-mode):
4157 * progmodes/f90.el (f90-mode):
4158 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
4159 require-final-newline since prog-mode does it already.
4160 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
4161 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
4162 * progmodes/antlr-mode.el: Require cc-mode upfront.
4163 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
4165 (antlr-directory-dependencies, antlr-show-makefile-rules):
4167 (antlr-language-option): Don't assume point-min==1.
4168 (antlr-mode): Use define-derived-mode.
4169 * progmodes/ada-mode.el: Use derived-mode-p.
4170 (ada-mode): Use define-derived-mode.
4171 Use hack-local-variables-hook.
4173 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4175 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
4176 (texinfo-mode): Don't disable adaptive-fill-mode.
4177 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
4178 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
4179 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
4180 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
4181 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
4182 (texinfo-insert-@quotation, texinfo-insert-@samp)
4183 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
4184 (texinfo-insert-@uref): Use define-skeleton.
4185 (texinfo-insert-@-with-arg): Delete.
4187 2010-12-10 Eli Zaretskii <eliz@gnu.org>
4189 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
4190 nil, do quote archive member names. (Bug#6144)
4192 2010-12-10 Glenn Morris <rgm@gnu.org>
4194 * files.el (diff-no-select): Declare.
4196 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
4197 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
4199 * comint.el (comint-input-ring-file-name): Doc fix.
4201 2010-12-09 Eli Zaretskii <eliz@gnu.org>
4203 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
4205 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
4206 Use them instead of `nil' and `>', respectively.
4207 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
4209 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
4210 and menu-bar-positive-p instead of `nil' and `>', respectively.
4213 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4215 * whitespace.el (whitespace-newline-mode): Code fix.
4217 2010-12-09 Glenn Morris <rgm@gnu.org>
4219 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
4220 Rename functions without commas, update callers.
4222 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
4224 * whitespace.el (whitespace-cleanup-region):
4225 Clean up spaces before tabs. (Bug#7582)
4227 2010-12-08 Karl Fogel <kfogel@red-bean.com>
4229 * bookmark.el: Adjust parameter names and doc strings to resolve
4230 confusion over whether "bookmark" meant a bookmark name or a
4231 bookmark record. Along the way, shorten one function's name for
4232 similar reasons. (Issue #7548)
4233 (bookmark-name-from-record): New name for
4234 `bookmark-name-from-full-record'. All callers changed.
4235 (bookmark-get-bookmark, bookmark-get-bookmark-record)
4236 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
4237 (bookmark-get-annotation, bookmark-set-annotation)
4238 (bookmark-get-filename, bookmark-set-filename)
4239 (bookmark-get-position, bookmark-set-position)
4240 (bookmark-get-front-context-string, bookmark-set-front-context-string)
4241 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
4242 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
4243 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
4244 Rename `bookmark' parameter to `bookmark-name-or-record', to
4245 clearly show its role, and shorten or adjust doc strings accordingly.
4246 (bookmark-set-name): Same, and pass the parameter directly to
4247 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
4248 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
4249 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
4250 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
4251 and in some cases shorten doc string accordingly.
4252 (bookmark-rename): Change `old' and `new' parameters to `old-name'
4253 and `new-name', and adjust an internal variable to avoid confusion.
4254 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
4255 parameter in doc string.
4257 2010-12-08 Glenn Morris <rgm@gnu.org>
4259 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
4260 from gdb's history file. (Bug#7575)
4262 * mail/emacsbug.el (report-emacs-bug):
4263 Try to handle some other mail clients.
4265 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4267 * files.el (dir-locals-collect-variables): Don't let errors stop us.
4268 Use string-prefix-p.
4269 (file-name-version-regexp): New var.
4270 (file-name-sans-versions):
4271 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
4272 (jka-compr-get-compression-info): Use dolist.
4273 (jka-compr-compression-info-list): Don't bother specifying
4274 version/backup regexps.
4276 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
4278 * simple.el (just-one-space): Make argument n default to 1 if
4281 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4283 * electric.el (electric-indent-post-self-insert-function):
4284 Delete trailing newlines even if we don't reindent.
4286 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4288 * minibuffer.el (completion-at-point): Remove the `arg'.
4289 * bindings.el (complete-symbol): Move back from minibuffer.el.
4291 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4293 * simple.el (just-one-space): Delete newlines for negative arg.
4295 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4297 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
4298 (ansi-color-filter-apply): Simplify.
4299 (ansi-color-apply): Use `font-lock-face' rather than `face'.
4301 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
4303 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
4305 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
4307 * dired.el (dired-use-ls-dired): Set default to a special
4308 "unspecified" value.
4309 (dired-insert-directory): When called the first time, check
4310 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
4312 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
4314 * replace.el: Add "collect" feature to occur.
4315 (occur-collect-regexp-history): New var.
4316 (occur-read-primary-args): Return a replace string for nlines,
4318 (occur): Extend the meaning of nlines.
4320 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4322 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
4323 (which-func-update-1): Distinguish symbols from strings.
4324 (which-function): Stay within 80 columns.
4326 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4328 * subr.el (with-demoted-errors): Distinguish symbols from strings.
4330 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
4332 (comment-style): Use comment-styles's docs to describe values.
4334 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
4336 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
4337 and ns-show-prefs (Bug#7535).
4339 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
4340 bindings (Bug#7535).
4342 2010-12-03 Glenn Morris <rgm@gnu.org>
4344 * nxml/nxml-mode.el: Require rng-nxml.
4345 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
4346 Remove declarations.
4348 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
4349 * nxml/rng-nxml.el, nxml/rng-valid.el:
4350 Remove leading `*' from defcustom docs.
4352 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
4353 (normal-top-level-add-to-load-path, tty-handle-args):
4354 Convert comments to basic doc-strings.
4356 * net/browse-url.el (browse-url-url-at-point)
4357 (browse-url-default-browser): Remove autoload cookies.
4359 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4360 Remove more undefined cl functions.
4362 * vc/diff.el (diff-sentinel): Make new arguments optional.
4363 * ibuf-ext.el (diff-sentinel): Update declaration.
4365 2010-12-03 Daiki Ueno <ueno@unixuser.org>
4367 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
4368 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
4369 (epg-context-set-passphrase-callback): Mention that the callback
4370 is not called when used with GnuPG 2.x.
4372 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
4374 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
4375 (tramp-file-name-port): Check also for `tramp-default-port'.
4376 (tramp-get-connection-name): New defun.
4377 (tramp-get-connection-process): Use it.
4378 (tramp-debug-message): Extend function exclude list.
4379 (tramp-drop-volume-letter): Fix doc string.
4381 * net/tramp-cmds.el: Remove solved todo item.
4384 * net/tramp-gvfs.el:
4386 * net/tramp-imap.el:
4387 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
4388 and `tramp-default-user-alist', respectively.
4390 * net/tramp-gw.el (tramp-gw-open-connection):
4391 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
4393 * net/tramp-imap.el (tramp-imap-make-iht): Use just
4394 `tramp-file-name-port'.
4396 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
4397 and "psftp". Exchange "%k" marker with options.
4398 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
4399 Compute size of link target.
4400 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
4401 `tramp-current-*' up due to gateway methods. Optimize computing of
4402 copy arguments. Use `tramp-get-connection-name' and
4403 `tramp-get-connection-buffer'. Improve debug messages.
4404 (tramp-compute-multi-hops): Remove port determination.
4405 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
4407 * net/trampver.el: Update release number.
4409 2010-12-02 Glenn Morris <rgm@gnu.org>
4411 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4412 Avoid infinite loop over windows. (Bug#7492)
4414 * progmodes/flymake.el (flymake-check-file-limit):
4415 Allow nil to mean "no limit".
4416 (flymake-check-patch-master-file-buffer): Update for above change.
4417 Allow a .tex file-name extension to be optional.
4418 (flymake-master-tex-init): Also match \include statements.
4420 2010-11-30 Sam Steingold <sds@gnu.org>
4422 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
4423 (nxml-parent-document-set): A function to set `nxml-parent-document'.
4424 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
4425 (nxml-mode-hook): Remove `defcustom' (auto-defined by
4426 define-derived-mode').
4427 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
4428 users who want to call `nxml-parent-document-set'.
4430 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4432 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
4433 stand-alone lines, since that is handled by log-edit-match-to-eoh
4436 2010-11-27 Eduard Wiebe <usenet@pusto.de>
4438 * dired.el (dired-get-filename): Replace backslashes with slashes
4439 in file names on MS-Windows, needed by `locate'. (Bug#7308)
4440 * locate.el (locate-default-make-command-line): Don't consider
4441 drive letter and root directory part of
4442 `directory-listing-before-filename-regexp'. (Bug#7308)
4443 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
4445 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4447 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
4448 of :smie-open/close-alist.
4449 (smie-next-sexp): Make it accept a "start token" as argument.
4450 (smie-indent-keyword): Be careful not to misidentify tokens that span
4451 more than one line, as empty lines. Add argument `token'.
4453 2010-11-27 Kenichi Handa <handa@m17n.org>
4455 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
4456 multipart subtypes, insert all as usual.
4458 * mail/rmail.el: Require rfc2047.
4460 2010-11-27 Kenichi Handa <handa@m17n.org>
4462 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
4463 (rmail-mime-entity-disposition)
4464 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
4465 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
4466 (rmail-mime-save): Handle the case that the button's `data' is a
4468 (rmail-mime-insert-text): New function.
4469 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
4470 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
4471 (rmail-mime-insert-bulk): New function mostly copied from the old
4472 rmail-mime-bulk-handler.
4473 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
4474 (rmail-mime-process-multipart): New function mostly copied from
4475 the old rmail-mime-multipart-handler.
4476 (rmail-mime-show): Just call rmail-mime-process.
4477 (rmail-mime-process): New function mostly copied from the old
4479 (rmail-mime-insert-multipart, rmail-mime-parse)
4480 (rmail-mime-insert, rmail-show-mime)
4481 (rmail-insert-mime-forwarded-message)
4482 (rmail-insert-mime-resent-message): New functions.
4483 (rmail-insert-mime-forwarded-message-function): Set to
4484 rmail-insert-mime-forwarded-message.
4485 (rmail-insert-mime-resent-message-function): Set to
4486 rmail-insert-mime-resent-message.
4488 * mail/rmailsum.el: Require rfc2047.
4489 (rmail-header-summary): Handle multiline Subject: field.
4490 (rmail-summary-line-decoder): Change the default to
4491 rfc2047-decode-string.
4493 * mail/rmail.el (rmail-enable-mime): Change the default to t.
4494 (rmail-mime-feature): Change the default to `rmailmm'.
4495 (rmail-quit): Delete the specifal code for rmail-enable-mime.
4496 (rmail-display-labels): Likewise.
4497 (rmail-show-message-1): Check rmail-enable-mime, and use
4498 rmail-show-mime-function for a MIME message. Decode the headers
4499 according to RFC2047.
4501 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4503 * progmodes/which-func.el (which-func-imenu-joiner-function):
4504 Return a string, as expected.
4505 (which-function-mode): Make sure we stop any previous timer before
4508 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
4510 * net/tramp.el (tramp-default-method-alist)
4511 (tramp-default-user-alist, tramp-default-proxies-alist):
4512 Adapt custom options type. (Bug#7445)
4514 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4516 * progmodes/python.el: Add Ipython support (Bug#5390).
4517 (python-shell-prompt-alist)
4518 (python-shell-continuation-prompt-alist): New options.
4519 (python--set-prompt-regexp): New function.
4520 (inferior-python-mode, run-python, python-shell):
4521 Require ansi-color. Use python--set-prompt-regexp to set the comint
4522 prompt based on the Python interpreter.
4523 (python--prompt-regexp): New var.
4524 (python-check-comint-prompt)
4525 (python-comint-output-filter-function): Use it.
4526 (run-python): Use a pipe (Bug#5694).
4528 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4530 * progmodes/python.el (run-python): Doc fix.
4531 (python-keep-current-directory-in-path): New var (Bug#7454).
4533 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4535 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4536 Prompt user before actually printing.
4538 2010-11-27 Glenn Morris <rgm@gnu.org>
4540 * startup.el (package-enable-at-startup, package-initialize):
4541 Remove unnecessary declarations.
4543 2010-11-27 Eli Zaretskii <eliz@gnu.org>
4545 * international/characters.el (glyphless-char-display-control):
4546 Exclude newline and TAB from the c0-control group.
4548 2010-11-27 Glenn Morris <rgm@gnu.org>
4550 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
4551 (expand-mail-aliases): Remove unnecessary autoload.
4553 * allout.el (allout-command-prefix, allout-mode-map): Declare.
4555 * shell.el (shell-dir-cookie-re): Move definition before use.
4557 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4558 Replace undefined CL functions.
4560 2010-11-26 Eli Zaretskii <eliz@gnu.org>
4562 * simple.el (prog-mode): Set bidi-paragraph-direction to
4565 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
4567 2010-11-26 Glenn Morris <rgm@gnu.org>
4569 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
4570 diary-outlook-formats can be sensitive to calendar-date-style.
4571 (diary-outlook-formats): Simplify the default setting.
4572 (diary-from-outlook-internal): Pass subject and body as arguments.
4573 Use dolist rather than dotimes. Don't save the diary buffer.
4574 (diary-from-outlook-gnus, diary-from-outlook-rmail):
4575 Pass subject and body as explicit arguments to the -internal function.
4577 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4579 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
4580 parsing them. This makes mailto:...?subject=foo\nbar work.
4582 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4584 * vc/diff.el (diff): Fix last change.
4586 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4588 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
4589 (pcase--dontcare-upats): New var.
4590 (pcase-let, pcase-let*): Generate better code.
4591 Accept the same bodies as `let'.
4592 (pcase-dolist): New macro.
4593 (pcase--trivial-upat-p): New helper function.
4594 (pcase--expand): Strip leading "(let nil" if any.
4596 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4598 * mail/mailclient.el (browse-url): Require.
4599 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
4600 use the external browser function to send the mail (bug#7469).
4602 * net/browse-url.el (browse-url-browser-function): Revert the
4603 default back to the previous value, since the new value broke
4605 (browse-url-mailto-function): New variable for mailto: URLs.
4606 (browse-url): Use the new variable for mailto: URLs.
4608 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4610 * eshell/esh-cmd.el (eshell-parse-command):
4611 * eshell/esh-arg.el (eshell-parse-arguments):
4612 * eshell/em-script.el (eshell-source-file):
4613 Use with-silent-modifications.
4615 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4617 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
4618 for a merge location.
4620 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
4621 (vc-bzr-merge-branch): Always prompt.
4622 (vc-bzr-async-command): Use the full branch filename.
4624 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4626 * shell.el (shell): Use current-buffer by default if it's already
4627 a shell mode buffer and its process is dead.
4628 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
4630 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
4632 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4633 Mention that the keywords should be comma separated.
4635 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4637 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
4638 Accept optional prefix arg meaning to prompt for a command.
4639 (vc-update): Use vc-BACKEND-pull if available. Accept optional
4640 prefix arg meaning to prompt for a command.
4641 (vc-pull): Alias for vc-update.
4643 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
4644 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
4645 (vc-bzr-merge-branch): New functions, implementing merge-branch
4646 and pull operations.
4648 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4650 * Makefile.in: Fix up last merge.
4652 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
4653 (diff-sentinel): Get them as arguments instead.
4654 (diff-old-file, diff-new-file, diff-extra-args): Remove.
4655 (diff-file-local-copy, diff-better-file-name): New funs.
4656 (diff-no-select): Rename from diff-into-buffer.
4657 Support buffers additionally to files. Move `buf' arg. Don't display buf.
4658 Prefer closures to buffer-local variables.
4659 (diff): Adjust accordingly.
4660 (diff-buffer-with-file): Move from files.el.
4661 * files.el (diff-buffer-with-file): Move to vc/diff.el.
4662 (diff-buffer-internal): Remove.
4663 (diff-buffer-buffer): Remove.
4664 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
4665 the buffer name used, and so as not to mess up windows and frames.
4667 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
4669 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
4670 (diff-buffer-internal): New function extracted from diff-buffer-with-file
4671 (diff-buffer-with-file): Use it.
4672 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
4675 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
4677 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
4678 \ref's or \pageref's value as default instead of initial input.
4680 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
4682 * files.el (backup-by-copying-when-mismatch): The default value is
4685 * startup.el (normal-top-level):
4686 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4687 `backup-by-copying-when-mismatch'.
4689 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4691 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
4693 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4695 * progmodes/python.el (python-font-lock-keywords):
4696 Highlight top-level augmented assignments (Bug#6445).
4698 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4700 * term/ns-win.el (ns-right-control-modifier)
4701 (ns-right-command-modifier): Defvar them.
4703 * cus-start.el (all): Add ns-right-control-modifier and
4704 ns-right-command-modifier (Bug#7458).
4706 2010-11-20 Glenn Morris <rgm@gnu.org>
4708 * emacs-lisp/authors.el (authors-ignored-files)
4709 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
4711 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4713 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
4714 (report-emacs-bug-parse-query-results)
4715 (report-emacs-bug-create-existing-bugs-buffer): Pass through
4716 keywords used for querying the bug database to show them in the
4717 existing bugs buffer.
4719 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
4721 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
4723 * info.el (info-tool-bar-map): Add some :vert-only keywords.
4725 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4727 * international/characters.el (glyphless-char-display-control):
4728 Make it a defcustom, with update-glyphless-char-display as its
4730 (top level): Don't call update-glyphless-char-display.
4732 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
4734 Sync with Tramp 2.2.0.
4736 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
4737 `file-remote-p' (due to compatibility).
4739 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
4740 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
4742 * net/trampver.el: Update release number.
4744 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4746 * faces.el (glyphless-char): Define value for `pc'.
4748 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4750 Implemented a bug querying mechanism.
4751 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
4752 (report-emacs-bug-create-existing-bugs-buffer)
4753 (report-emacs-bug-parse-query-results)
4754 (report-emacs-bug-query-existing-bugs): New functions.
4756 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
4758 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
4759 a \ref{} or \pageref{} macro, then use its value as initial input.
4761 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4763 * calc/calc-units.el (math-build-units-table-buffer):
4764 calc/README: Mention that the TeX specific units won't use the
4765 `tex' prefix in TeX mode.
4766 calc/calc-lang.el (math-variable-table): Don't use the `tex'
4767 prefix for units in TeX mode.
4769 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4771 * simple.el (kill-new, kill-append, kill-region):
4772 * comint.el (comint-kill-region): Make the yank-handler argument
4775 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4777 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
4778 that are both openers (resp. closers) and something else.
4779 (smie-grammar): Loosen definition of valid values.
4780 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
4781 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
4782 (smie-indent-after-keyword): Adjust users.
4783 (smie-indent-keyword): Don't indent empty lines.
4785 * vc-hg.el (vc-hg-program): New var.
4786 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
4787 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
4789 2010-11-18 Glenn Morris <rgm@gnu.org>
4791 * emacs-lisp/autoload.el (autoload-find-destination): The function
4792 coding-system-eol-type may return non-numeric values. (Bug#7414)
4794 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
4796 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
4798 2010-11-18 Eli Zaretskii <eliz@gnu.org>
4800 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
4802 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
4804 * textmodes/picture.el (picture-mouse-set-point): Don't use
4805 posn-col-row; explicitly compute the motion based on the posn at
4806 the window-start (Bug#7390).
4808 2010-11-18 Glenn Morris <rgm@gnu.org>
4810 * novice.el (disabled-command-function):
4811 Fix 2009-11-15 change. (Bug#7384)
4813 2010-11-18 Glenn Morris <rgm@gnu.org>
4815 * calendar/calendar.el (diary-iso-date-forms): Make elements
4816 mutually exclusive. (Bug#7377)
4818 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4820 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
4821 when filling the remaining "unconstrained" values.
4823 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4825 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
4828 * files.el (safe-local-variable-p): Gracefully handle errors.
4830 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
4831 Use smie-indent-virtual when indenting relative to an opener.
4832 (smie-rule-separator): Use smie-rule-parent.
4833 (smie-indent-keyword): Consult rules, even for openers at bol.
4834 (smie-indent-comment-close): Try to align closer's content.
4836 2010-11-18 Glenn Morris <rgm@gnu.org>
4838 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4840 2010-11-18 Glenn Morris <rgm@gnu.org>
4842 * printing.el (pr-menu-bind): Doc fix.
4844 * speedbar.el (speedbar-toggle-images): Doc fix.
4846 * progmodes/python.el (python-shell): Doc fix.
4848 * wid-edit.el (widget-field-use-before-change)
4849 (widget-use-overlay-change): Doc fixes.
4851 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4853 Minor cleanup to improve style.
4854 * textmodes/rst.el (rst-update-section): Use point-marker.
4855 (rst-get-decoration): Eliminate unneeded assignment.
4856 (rst-promote-region, rst-straighten-decorations)
4857 (rst-section-tree, rst-adjust): Use point-marker.
4858 (rst-toc-mode-mouse-goto): Avoid setq.
4859 (rst-shift-region-guts, rst-shift-region-left)
4860 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4861 (rst-convert-bullets-to-enumeration): Use copy-marker.
4863 * minibuffer.el (completion-fail-discreetly): New var.
4864 (completion--do-completion): Use it.
4866 * electric.el (electric-pair-pairs): New var.
4867 (electric-pair-post-self-insert-function): Use it.
4868 (electric-layout-post-self-insert-function): Don't insert a before
4869 newline unless it's actually needed.
4871 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4873 * progmodes/python.el (run-python): Explain why we remove the current
4874 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
4876 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4878 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4880 * progmodes/octave-mod.el: Rely on elecric-*-modes.
4881 (octave-mode-map): Don't bind ;, SPC, and LF.
4882 (octave-auto-indent, octave-auto-newline): Remove.
4883 (electric-layout-rules): Declare.
4884 (octave-mode): Set electric-layout-rules.
4885 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4886 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4887 (octave-electric-space): Remove.
4889 * electric.el (electric-layout-mode): New minor mode.
4890 (electric--after-char-pos): New function.
4891 (electric-indent-post-self-insert-function): Use it.
4892 (electric-layout-rules): New var.
4893 (electric-layout-post-self-insert-function): New function.
4894 (electric-indent-mode): Make them interact better.
4896 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4898 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4899 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4900 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4902 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
4904 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4905 Make sure to check inside the word (Bug#6761).
4907 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
4909 * startup.el (command-line): If the cursorColor resource is set,
4910 change the cursor face-spec (Bug#7392).
4912 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
4914 The main features of the following allout.el changes are:
4915 - implement user customization for the allout key bindings
4916 - add a customization control by which the user can inhibit use of
4917 a trailing Ctrl-H, so by default it's reserved for use with
4918 describe-prefix-bindings
4919 - adapt to new version of called-interactively-p, while
4920 maintaining backwards compatibility with old version
4921 - fix hotspot navigation so i works properly with meta-modified keys.
4923 * allout.el (allout-keybindings, allout-bind-keys)
4924 (allout-keybindings-binding, allout-prefixed-keybindings)
4925 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4926 (allout-keybindings-list, allout-mode-map-adjustments)
4927 (allout-setup-mode-map): Establish allout-mode keymaps as user
4928 customizable settings, and also establish a customizable setting which
4929 regulates whether or not a trailing control-h is reserved for use with
4930 describe-prefix-bindings - and inhibit it by default, so that control-h
4931 *is* reserved for describe-prefix-bindings unless the user changes it.
4933 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4934 and accurately between modified and unmodified events, and handle
4935 modified events more comprehensively.
4937 * allout.el (allout-substring-no-properties):
4938 Alias to use or provide version of `substring-no-properties'.
4939 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4941 * allout.el (allout-next-single-char-property-change):
4942 Alias to use or provide version of `next-single-char-property-change'.
4943 (allout-annotate-hidden, allout-hide-by-annotation):
4944 Use `allout-next-single-char-property-change'.
4946 * allout.el (allout-select-safe-coding-system):
4947 Alias to use or provide version of `select-safe-coding-system'.
4948 (allout-toggle-subtree-encryption):
4949 Use `allout-select-safe-coding-system'.
4951 * allout.el (allout-set-buffer-multibyte):
4952 Alias to use or provide version of `set-buffer-multibyte'.
4953 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4955 * allout.el (allout-called-interactively-p): Macro for using the
4956 different versions of called-interactively-p identically, depending on
4957 the subroutine's argument signature.
4958 (allout-back-to-current-heading, allout-beginning-of-current-entry):
4959 Use `(interactive "p")' instead of `(called-interactively-p)'.
4961 * allout.el (allout-init, allout-ascend, allout-end-of-level)
4962 (allout-previous-visible-heading, allout-forward-current-level)
4963 (allout-backward-current-level, allout-show-children):
4964 Use `allout-called-interactively-p' instead of `called-interactively-p'.
4966 * allout.el (allout-before-change-handler):
4967 Exempt edits to the (overlaid) character after the allout outline
4968 bullet from edit confirmation prompt.
4970 * allout.el (allout-add-resumptions):
4971 Ensure that it respects correct buffer for keybindings.
4973 * allout.el (allout-beginning-of-line):
4974 Use `allout-previous-single-char-property-change' alias for the sake of
4975 diverse compatibility.
4977 * allout.el (allout-end-of-line):
4978 Use `allout-mark-active-p' to encapsulate respect for mark activity.
4980 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
4982 * frame.el (frame-notice-user-settings): Don't clobber other
4983 user-set parameters when calling face-set-after-frame-default in
4984 response to background-color parameter (Bug#7373).
4986 2010-11-13 Eli Zaretskii <eliz@gnu.org>
4988 * international/characters.el (glyphless-char-display-control):
4989 Rename from glyphless-char-control; all users changed. Doc fix.
4990 Signal an error if display method is not one of the recognized
4993 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
4995 * net/tramp-compat.el (tramp-compat-line-beginning-position)
4996 (tramp-compat-line-end-position): Remove them.
4998 * net/tramp.el (tramp-parse-rhosts-group)
4999 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
5000 (tramp-parse-hosts-group, tramp-parse-passwd-group)
5001 (tramp-parse-netrc-group, tramp-parse-putty-group)
5002 * net/tramp-cmds.el (tramp-append-tramp-buffers)
5003 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
5004 (tramp-sh-handle-file-selinux-context)
5005 (tramp-sh-handle-file-name-all-completions)
5006 (tramp-sh-handle-insert-directory)
5007 (tramp-sh-handle-expand-file-name, tramp-find-executable)
5008 (tramp-wait-for-output, tramp-send-command-and-read)
5009 * net/tramp-smb.el (tramp-smb-read-file-entry)
5010 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
5012 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
5014 (tramp-remote-coding-commands): Add an alternative using "base64
5015 -d -i". This is needed for older base64 versions from GNU
5016 coreutils. Reported by Klaus Reichl
5017 <Klaus.Reichl@thalesgroup.com>.
5019 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
5021 * simple.el (count-words-region): New function.
5023 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5025 * shell.el (shell-dir-cookie-re): New custom variable.
5026 (shell-dir-cookie-watcher): New function.
5028 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
5029 and compilation-mode (bug#7350).
5031 * vc/smerge-mode.el (smerge-refine): Choose better default part to
5032 highlight when one of them is empty.
5034 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
5036 (skeleton-newline): New function.
5037 (skeleton-internal-1): Use it.
5039 * simple.el (open-line): `newline' may strip trailing space.
5041 2010-11-12 Kevin Ryde <user42@zip.com.au>
5043 * international/mule-cmds.el (princ-list): Use mapc.
5045 2010-11-12 Glenn Morris <rgm@gnu.org>
5047 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
5048 Use it to replace all instances of "*Compile-Log*".
5050 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5052 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
5055 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5057 * progmodes/modula2.el: Use SMIE and skeleton.
5058 (m2-mode-syntax-table): (*..*) can be nested.
5059 Add //...\n. Fix paren syntax.
5060 (m2-mode-map): Remove LF and TAB bindings.
5061 (m2-indent): Add safety property.
5062 (m2-smie-grammar): New var.
5063 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
5064 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
5065 (m2-mode): Use define-derived-mode.
5066 (m2-newline, m2-tab): Remove.
5067 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
5068 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
5069 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
5070 (m2-import): Use define-skeleton.
5072 2010-11-11 Glenn Morris <rgm@gnu.org>
5074 * obsolete/lucid.el: Don't warn about any CL functions in this file.
5076 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
5077 (ls-lisp-verbosity): Add custom :set-after property.
5078 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
5079 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
5080 (ls-lisp-insert-directory): Update caller.
5081 (ls-lisp-set-options): New function.
5082 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
5085 * play/landmark.el (lm-prompt-for-move):
5086 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
5088 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
5090 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
5091 (idlwave-study-twins): Prefix dynamic local variable `name'.
5092 (idlwave-routine-twin-compare): Update for above change.
5094 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
5095 Prefix dynamic local variables `name', `kwd', and `link'.
5096 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
5097 * progmodes/idlw-complete-structtag.el
5098 (idlwave-complete-structure-tag-help):
5099 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
5100 (idlwave-complete-sysvar-tag-help)
5101 (idlwave-complete-class-structure-tag-help):
5102 Update for above name changes.
5104 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5106 * net/browse-url.el (browse-url-browser-function): Change the
5107 default to use `browse-url-mail' on mailto: URLs.
5109 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
5111 * emacs-lisp/package.el (package-read-all-archive-contents):
5112 Reset package-archive-contents to nil before re-reading.
5114 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
5116 * textmodes/flyspell.el (flyspell-word): Do not re-check words
5117 already found as misspellings by (flyspell-large-region), just
5118 do highlighting (bug#7322).
5120 2010-11-10 Glenn Morris <rgm@gnu.org>
5122 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
5124 * emulation/edt.el (edt-with-position): New macro.
5125 (edt-find-forward, edt-find-backward, edt-find-next-forward)
5126 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
5127 (edt-paragraph-forward, edt-paragraph-backward): Use it.
5129 * emulation/tpu-extras.el (tpu-with-position): New macro.
5130 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
5132 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
5134 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
5135 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
5136 (texinfo-master-menu, texinfo-insert-node-lines)
5137 (texinfo-multiple-files-update):
5138 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
5139 Use line-beginning-position.
5141 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
5142 No recent Emacs supports system-type `emx'.
5144 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
5145 (ada-command-separator, ada-default-prj-properties)
5146 (ada-find-any-references): Update for above name change.
5148 * dirtrack.el (dirtrack-directory-function)
5149 (dirtrack-canonicalize-function):
5150 * filecache.el (file-cache-completion-ignore-case)
5151 (file-cache-case-fold-search, file-cache-ignore-case):
5152 * term.el (serial-port-is-file-p): Cosmetic change.
5154 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
5155 Remove non-existent `windows-95' system-type.
5156 * dired.el (dired-chown-program): Remove non-existent `linux'
5159 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
5160 (ping-program-options): Remove non-existent `linux' system-type.
5162 * startup.el (package-initialize): Update declaration.
5164 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
5165 (ls-lisp-handle-switches): Use time-less-p.
5166 (ls-lisp-format-time): Use float-time.
5168 * textmodes/remember.el (remember-time-to-seconds): Remove.
5169 (remember-store-in-mailbox): Use float-time.
5171 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
5173 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
5174 never a real function.
5175 (with-no-warnings): Remove compat stub, now unused.
5176 (time-less-p): Doc fix.
5177 (time-to-number-of-days): Simplify.
5179 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
5181 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
5182 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
5183 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
5184 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
5185 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
5187 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
5188 (eshell-shuffle-files, eshell-shorthand-tar-command)
5189 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
5190 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
5191 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
5192 Prefix dynamic local variable `matches'.
5194 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
5195 Prefix dynamic local variable `skeleton'.
5197 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
5199 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
5200 in mail buffer; make yank-action always a command that yanks original
5203 2010-11-09 Glenn Morris <rgm@gnu.org>
5205 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
5207 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5209 * minibuffer.el (minibuffer-completion-help): Specify the end of the
5210 completion field (bug#7211).
5212 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
5213 Fix handling of backslash escapes.
5214 (python-quote-syntax): Adjust accordingly.
5216 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
5218 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
5219 (vc-mtn-workfile-branch): Adjust to new output format.
5221 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5223 * international/mule-cmds.el (princ-list): Mark as obsolete.
5225 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5227 * emacs-lisp/smie.el: New package.
5229 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
5231 * files.el (backup-by-copying-when-mismatch):
5232 Set `permanent-local' property.
5234 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
5235 `permanent-local' property for `backup-by-copying-when-mismatch'.
5237 2010-11-09 Eli Zaretskii <eliz@gnu.org>
5239 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
5241 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
5243 * progmodes/verilog-mode.el (verilog-insert-one-definition)
5244 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
5245 AUTOINOUT for SV style multidimensional arrays, bug294.
5246 Reported by Eric Mastromarchi.
5247 (verilog-preprocess): Use with-current-buffer and
5248 font-lock-fontify-buffer to cleanup style issues.
5250 2010-11-09 Glenn Morris <rgm@gnu.org>
5252 * locate.el (locate, locate-mode): Doc fixes.
5254 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
5256 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
5257 user for confirmation.
5258 (server-force-stop): Use it.
5259 (server-start): Use server-force-stop for kill-emacs-hook, to
5260 avoid user interaction while killing Emacs.
5262 2010-11-09 Glenn Morris <rgm@gnu.org>
5264 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
5265 (meta-indent-line): Simplify.
5267 * vc/emerge.el (emerge-line-number-in-buf):
5268 * textmodes/ispell.el (ispell-region):
5269 * textmodes/fill.el (current-fill-column):
5270 * progmodes/xscheme.el (xscheme-send-current-line):
5271 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
5272 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
5273 * progmodes/sh-script.el (sh-handle-prev-do):
5274 * progmodes/meta-mode.el (meta-indent-line):
5275 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
5277 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
5278 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
5279 * progmodes/fortran.el (fortran-looking-at-if-then):
5280 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
5281 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
5282 (cperl-find-pods-heres):
5283 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
5284 * net/quickurl.el (quickurl-list-insert):
5285 * net/ldap.el (ldap-search-internal):
5286 * net/eudc.el (eudc-expand-inline):
5287 * mail/sendmail.el (sendmail-send-it):
5288 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
5289 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
5290 (viper-brac-function):
5291 * calc/calc-yank.el (calc-do-grab-region):
5292 * calc/calc-keypd.el (calc-keypad-press):
5293 * term.el (term-move-columns, term-insert-spaces):
5294 * speedbar.el (speedbar-highlight-one-tag-line):
5295 * simple.el (current-word):
5296 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
5297 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
5299 * hippie-exp.el (he-line-beg):
5300 * epa.el (epa--marked-keys):
5301 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
5302 (dired-update-file-line, dired-add-entry, dired-remove-entry)
5303 (dired-relist-entry):
5304 * buff-menu.el (Buffer-menu-buffer):
5305 * array.el (current-line):
5306 * allout.el (allout-resolve-xref)
5307 (allout-latex-verbatim-quote-curr-line):
5308 Replace yet more uses of end-of-line etc with line-end-position, etc.
5310 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5312 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
5313 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
5314 (checkdoc-syntax-table): Initialize in the declaration.
5315 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
5316 the mode on unconditionally.
5318 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
5319 (extent-end-position, extent-start-position): Remove setf method for
5320 non-existing functions (bug#7319).
5322 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5324 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
5325 (smie-precs->prec2): Rename from smie-precs-precedence-table.
5326 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
5327 (smie-prec2->grammar): Rename from smie-prec2-levels.
5328 (smie-grammar): Rename from smie-op-levels.
5329 (smie-indent--hanging-p): Rename from smie-hanging-p.
5330 (smie-rule-hanging-p): New alias.
5331 (smie-indent--bolp): Rename from smie-bolp.
5332 (smie-indent--hanging-p): New alias.
5333 (smie--token): New dynamically bound variable.
5334 (smie-indent--parent): New function.
5335 (smie-rule-parent-p): Use it; rename from smie-parent-p.
5336 (smie-rule-next-p): Rename from smie-next-p.
5337 (smie-rule-prev-p): Rename from smie-prev-p.
5338 (smie-rule-sibling-p, smie-rule-parent)
5339 (smie-indent--separator-outdent, smie-rule-separator): New functions.
5340 (smie-rule-separator-outdent): New var.
5341 (smie-indent--rule): Merge with smie-indent--column.
5342 (smie-indent-forward-token, smie-indent-backward-token):
5343 Also recognize close parens.
5344 (smie-indent-keyword): Don't use smie-indent--column any more.
5345 (smie-indent-after-keyword): Ignore closers by default.
5346 (smie-indent-line): Use with-demoted-errors.
5347 * progmodes/octave-mod.el (octave-smie-grammar):
5348 Rename from octave-smie-op-levels.
5349 (octave-smie-rules): Adjust to new behavior.
5350 * progmodes/prolog.el (prolog-smie-grammar):
5351 Rename from prolog-smie-op-levels.
5353 2010-11-07 Glenn Morris <rgm@gnu.org>
5355 * eshell/esh-util.el (subst-char-in-string)
5356 (directory-files-and-attributes): These compatibility definitions are
5357 not needed on any version of Emacs since at least 21.4.
5359 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
5360 (verilog-get-end-of-line): Remove.
5361 (verilog-within-string, verilog-re-search-forward-substr)
5362 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
5363 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
5364 Use point-at-bol, point-at-eol.
5365 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
5367 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
5368 (electric-pascal-terminate-line, pascal-set-auto-comments)
5369 (pascal-indent-paramlist, pascal-indent-declaration)
5370 (pascal-get-lineup-indent, pascal-func-completion)
5371 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
5372 Use point-at-bol, point-at-eol.
5373 * progmodes/flymake.el (flymake-line-beginning-position)
5374 (flymake-line-end-position): Remove.
5375 (flymake-highlight-line): Use point-at-bol, point-at-eol.
5376 * eshell/esh-util.el (line-end-position, line-beginning-position):
5377 Remove compat definitions.
5379 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
5381 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
5382 Use line-end-position.
5384 * emacs-lisp/chart.el (chart-zap-chars):
5385 * play/decipher.el (decipher-set-map):
5386 * progmodes/ada-mode.el (ada-get-current-indent)
5387 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
5388 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
5389 * progmodes/ada-xref.el (ada-initialize-runtime-library)
5390 (ada-get-all-references):
5391 * progmodes/cperl-mode.el (cperl-electric-paren)
5392 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
5393 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
5394 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
5395 (cperl-word-at-point-hard):
5396 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
5397 (idlwave-shell-filename-string, idlwave-shell-batch-command)
5398 (idlwave-shell-display-line):
5399 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
5400 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
5401 * progmodes/js.el (js--re-search-forward-inner)
5402 (js--re-search-backward-inner):
5403 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
5404 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
5405 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
5406 * textmodes/flyspell.el (flyspell-process-localwords):
5407 * textmodes/ispell.el (ispell-buffer-local-parsing)
5408 (ispell-buffer-local-dict, ispell-buffer-local-words):
5409 Use point-at-bol and point-at-eol.
5411 * speedbar.el (speedbar-generic-item-info)
5412 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
5413 (speedbar-add-indicator, speedbar-check-vc-this-line)
5414 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
5415 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
5416 Replace more uses of end-of-line etc with line-end-position.
5418 2010-11-06 Glenn Morris <rgm@gnu.org>
5420 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
5421 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
5422 (texinfo-delete-existing-pointers, texinfo-find-pointer)
5423 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
5424 (texinfo-multiple-files-update):
5425 * textmodes/table.el (table--probe-cell-left-up)
5426 (table--probe-cell-right-bottom):
5427 * textmodes/picture.el (picture-tab-search):
5428 * textmodes/page-ext.el (pages-copy-header-and-position)
5429 (pages-directory-for-addresses):
5430 * progmodes/vera-mode.el (vera-get-offset):
5431 * progmodes/simula.el (simula-calculate-indent):
5432 * progmodes/python.el (python-pdbtrack-overlay-arrow):
5433 * progmodes/prolog.el (end-of-prolog-clause):
5434 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
5435 * progmodes/icon.el (indent-icon-exp):
5436 * progmodes/etags.el (tag-re-match-p):
5437 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
5438 * progmodes/ebnf2ps.el (ebnf-begin-file):
5439 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
5440 (dcl-save-local-variable):
5441 * play/life.el (life-setup):
5442 * play/gametree.el (gametree-looking-at-ply):
5443 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
5444 * mail/sendmail.el (mail-mode-auto-fill):
5445 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
5446 * emacs-lisp/edebug.el (edebug-overlay-arrow):
5447 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
5448 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
5449 (woman-tab-to-tab-stop, WoMan-warn-ignored):
5450 * type-break.el (type-break-file-keystroke-count):
5451 * term.el (term-replace-by-expanded-history-before-point)
5452 (term-skip-prompt, term-extract-string):
5453 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
5454 (speedbar-contract-line, speedbar-toggle-line-expansion)
5455 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
5456 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
5457 * sort.el (sort-skip-fields):
5458 * skeleton.el (skeleton-internal-list):
5459 * simple.el (line-move-finish, line-move-to-column):
5460 * shell.el (shell-forward-command):
5461 * misc.el (copy-from-above-command):
5462 * makesum.el (double-column):
5463 * ebuff-menu.el (electric-buffer-update-highlight):
5464 * dired.el (dired-move-to-end-of-filename):
5465 * dframe.el (dframe-popup-kludge):
5466 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
5467 * arc-mode.el (archive-get-lineno):
5468 Use line-end-position and line-beginning-position.
5470 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
5471 (idlwave-study-twins): Prefix dynamic local `class'.
5472 (idlwave-routine-twin-compare): Update for above name change.
5474 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
5475 Use boundp tests to silence compiler. Update for changed name of
5476 bytecomp-filename variable.
5478 * emulation/viper-cmd.el (viper-read-string-with-history):
5479 Prefix dynamic local `initial'.
5480 (viper-minibuffer-standard-hook): Update for above name change.
5482 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
5483 (elint-init-form): Update for above name change.
5485 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
5486 local variables `cbeg' and `cend' a prefix.
5487 (mail-extr-voodoo): Update for above name change.
5489 * textmodes/reftex-toc.el (reftex-toc-do-promote)
5490 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
5491 (reftex-toc-promote-action): Doc fix.
5493 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
5494 `prompt', `data' a prefix.
5495 (reftex-select-post-command-hook, reftex-select-callback)
5496 (reftex-select-mouse-accept, reftex-select-read-cite):
5497 Update for above name changes.
5499 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
5500 `refstyle' to reftex-refstyle.
5501 (reftex-offer-label-menu): Update for above name change.
5502 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
5503 `refstyle' name change.
5505 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
5506 with with-current-buffer.
5507 (diff, template): Give dynamic local variables a prefix.
5508 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
5509 (emerge-line-number-in-buf): Update for above name change.
5510 (emerge-combine-versions-internal): Rename local `template' to
5511 emerge-combine-template.
5512 (emerge-combine-versions-edit): Update for above name change.
5514 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
5516 * textmodes/reftex-cite.el
5517 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
5518 entries with whitespace after \bibitem.
5519 (reftex-create-bibtex-file): Match entries containing numbers and
5520 symbol constituents. Make sure that entries with whitespace at
5521 various places are found.
5523 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
5525 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
5527 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
5529 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
5531 2010-11-05 Glenn Morris <rgm@gnu.org>
5533 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
5534 (woman2-roff-buffer): Give local variable `request' a prefix.
5535 (woman0-macro): Rename argument `request' in the same way.
5536 (woman-request): New name for `request' dynamic variable.
5537 (woman-unquote, woman-forward-arg): Update for above name change.
5538 (woman1-roff-buffer): Give local variable `unquote' a prefix.
5539 (woman1-unquote): New name for `unquote' dynamic variable.
5540 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
5541 (woman-translations): Rename from `translations'. No longer global.
5542 (woman2-tr, woman-translate): Update for above name change.
5543 (woman-translate): Check for bound variable.
5544 (woman2-roff-buffer): Give local variable `translations' a prefix.
5546 * play/doctor.el: Give all local variables a prefix. Update callers.
5547 (doc$, doctor-put-meaning): Use backquote.
5549 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
5550 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
5552 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
5553 variables bytes, ptr, op a prefix.
5554 (disassemble-offset): Update for above change.
5556 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5558 * emacs-lisp/package.el (package-unpack): Remove no-op.
5559 (package--builtins, package--dir): Doc fix.
5560 (package-activate-1, package-activate, package-install)
5561 (package-compute-transaction): Fix error message.
5562 (package-delete): Use delete-directory. Omit system packages.
5563 (package-initialize): Set package-alist to nil first.
5564 (package-menu-mark-delete, package-menu-mark-install): Don't add
5565 symbols that are inconsistent with the package state.
5566 (package-menu-execute): Perform deletions and installations as
5567 single batch operations.
5569 2010-11-03 Glenn Morris <rgm@gnu.org>
5571 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
5572 (props): Remove unnecessary declaration.
5574 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
5575 set-process-query-on-exit-flag.
5577 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
5578 (reftex-toc-do-promote): Remove unused local `mpos'.
5579 (reftex-toc-restore-region): Make `mpos' local to this function.
5581 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
5583 * play/landmark.el (lm-losing-threshold): Correct spelling.
5584 (lm-human-plays): Use new name.
5586 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
5587 (gomoku-human-plays): Use new name.
5589 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
5590 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
5591 (gomoku-score-trans-table, gomoku-winning-threshold)
5592 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
5594 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5596 * emacs-lisp/package.el: Don't put built-in packages in
5597 package-alist, to avoid loading inefficiencies.
5598 (package-built-in-p): Make VERSION optional, and treat it as a
5599 minimum acceptable version.
5600 (package-activate): Search separately for built-in packages.
5601 Emit a warning if a dependency fails.
5602 (define-package): Handle most common case, where there is no
5603 obsolete package, first.
5604 (package-compute-transaction): Print required version in error.
5605 (package--initialized): New variable.
5606 (list-packages): Use it.
5607 (package-initialize): Optional arg NO-ACTIVATE. Don't put
5608 built-in packages in packages-alist; keep it separate.
5609 Set package--initialized.
5610 (describe-package): Avoid activating packages as a side-effect.
5611 Search separately for built-in packages.
5612 (describe-package-1): Handle the case where an elpa package is
5613 simultaneously built-in and available/installed.
5614 (package-installed-p, package--generate-package-list):
5615 Search separately for built-in packages.
5616 (package-load-descriptor): Doc fix.
5618 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5620 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5621 Handle __DATA__ and __END__.
5623 2010-11-02 Noah Friedman <friedman@splode.com>
5625 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
5626 nil, do not ask to recompile files that are not already compiled,
5627 and do not recompile them.
5629 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
5631 * emacs-lisp/package.el (package-initialize): Ensure that
5632 obsoleted built-in packages are not in package-activated-list
5634 (describe-package-1): Make the "installed" status override
5637 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5639 * subr.el (version-separator, version-regexp-alist): Remove '*'
5641 (version-list-<=, version<=, version=): Doc fix.
5643 2010-11-01 Kenichi Handa <handa@m17n.org>
5645 * faces.el (glyphless-char): Inherit underline for tty.
5647 2010-11-01 Kenichi Handa <handa@m17n.org>
5649 Implement various display methods for glyphless characters.
5651 * international/characters.el (char-acronym-table): New variable.
5652 (glyphless-char-control): New variable.
5653 (update-glyphless-char-display): New function.
5655 * faces.el (glyphless-char): New face.
5657 2010-11-01 Glenn Morris <rgm@gnu.org>
5659 * calendar/holidays.el (general-holidays, oriental-holidays)
5660 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
5661 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
5662 the definitions of their targets.
5664 * emacs-lisp/smie.el (smie): New custom group.
5665 (smie-blink-matching-inners, smie-indent-basic): Add :group.
5667 * faces.el (xw-defined-colors, x-setup-function-keys):
5668 * mouse-sel.el (x-select-text):
5669 * term/w32console.el (x-setup-function-keys): Update declarations.
5671 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
5673 * textmodes/ispell.el (comment-add): Declare.
5675 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
5678 * info.el (finder-keywords-hash, package-alist): Declare.
5680 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5682 * finder.el (finder-compile-keywords): Don't use intern-soft,
5683 since package names may not yet exist in the obarray.
5685 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5687 * vc/vc-arch.el (vc-arch-checkin):
5688 * vc/vc-cvs.el (vc-cvs-checkin):
5689 * vc/vc-mtn.el (vc-mtn-checkin):
5690 * vc/vc-rcs.el (vc-rcs-checkin):
5691 * vc/vc-sccs.el (vc-sccs-checkin):
5692 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
5693 since 2010-04-21 commit by Stefan Monnier.
5695 2010-11-01 Glenn Morris <rgm@gnu.org>
5697 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
5699 * startup.el (package-enable-at-startup, package-initialize):
5702 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
5705 2010-10-31 Julien Danjou <julien@danjou.info>
5707 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
5708 (byte-recompile-directory):
5709 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
5710 Use `byte-recompile-file'.
5712 2010-10-31 Glenn Morris <rgm@gnu.org>
5714 * cus-start.el: Handle standard values via a keyword.
5715 Only set version property if specified.
5716 (cursor-in-non-selected-windows, menu-bar-mode)
5717 (tool-bar-mode, show-trailing-whitespace):
5718 Do not specify standard values.
5719 (transient-mark-mode, temporary-file-directory): Use :standard.
5721 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
5723 * term/x-win.el (x-get-selection-value): New function that gets
5724 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
5726 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
5728 * net/tramp.el (tramp-handle-insert-file-contents): For root,
5729 preserve owner and group when editing files. (Bug#7289)
5731 2010-10-31 Glenn Morris <rgm@gnu.org>
5733 * speedbar.el (speedbar-mode):
5734 * play/fortune.el (fortune-in-buffer, fortune):
5735 * play/gomoku.el (gomoku-mode):
5736 * play/landmark.el (lm-mode):
5737 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
5738 Replace inappropriate uses of toggle-read-only. (Bug#7292)
5740 * select.el (x-selection): Mark it as an obsolete alias.
5742 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5744 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
5745 major-mode (bug#7284).
5747 2010-10-31 Glenn Morris <rgm@gnu.org>
5749 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
5750 rather than just an unused variable that inherits from the real one.
5752 2010-10-31 Alan Mackenzie <acm@muc.de>
5754 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
5755 This fixes bug #7185.
5757 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
5759 * startup.el (command-line): Search for package directories, and
5760 don't load package.el if none are found.
5762 * emacs-lisp/package.el (describe-package, list-packages):
5763 Call package-initialize if it has not been called yet.
5765 2010-10-30 Alan Mackenzie <acm@muc.de>
5767 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
5768 which fontifies the tail of an enum.
5769 (c-basic-matchers-after): Insert a call to the above new function.
5770 This fixes bug #7264.
5772 2010-10-30 Glenn Morris <rgm@gnu.org>
5774 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
5775 tool-bar-mode, transient-mark-mode. (Bug#7306)
5776 Include the :set property in the dumped Emacs.
5778 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5780 SMIE: change indent rules format, improve smie-setup.
5781 * emacs-lisp/smie.el (smie-precs-precedence-table)
5782 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
5783 Mark them pure so the tables gets built at compile time.
5784 (smie-bnf-precedence-table): Store the closer-alist in the table.
5785 (smie-prec2-levels): Preserve the closer-alist.
5786 (smie-blink-matching-open): Be more forgiving in case of indentation.
5787 (smie-hanging-p): Rename from smie-indent--hanging-p.
5788 (smie-bolp): Rename from smie-indent--bolp.
5789 (smie--parent, smie--after): New dynamic vars.
5790 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
5791 (smie-indent-rules): Remove.
5792 (smie-indent--offset-rule): Remove fun.
5793 (smie-rules-function): New var.
5794 (smie-indent--rule): New fun.
5795 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
5796 (smie-indent-exps): Use it.
5797 (smie-setup): Setup paren blinking; add keyword args for token
5798 functions; extract closer-alist from op-levels.
5799 (smie-indent-debug-log): Remove var.
5800 (smie-indent-debug): Remove fun.
5801 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
5802 (prolog-smie-rules): New fun to replace it.
5803 (prolog-mode-variables): Simplify.
5804 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
5805 it's setup automatically.
5806 (octave-smie-indent-rules): Remove.
5807 (octave-smie-rules): New fun to replace it.
5808 (octave-mode): Simplify.
5810 2010-10-29 Glenn Morris <rgm@gnu.org>
5812 * files.el (temporary-file-directory): Remove (already defined in C).
5813 * cus-start.el: Add temporary-file-directory.
5815 * abbrev.el (abbrev-mode):
5816 * composite.el (auto-composition-mode):
5817 * menu-bar.el (menu-bar-mode):
5818 * simple.el (transient-mark-mode):
5819 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5820 that they do not define the associated variables twice.
5821 * simple.el (transient-mark-mode): Remove defvar.
5822 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5823 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5824 Handle multiple groups, and also custom-delayed-init-variables.
5825 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5827 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5829 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5830 (pcase-if): Add one minor optimization.
5831 (pcase-split-equal): Rename from pcase-split-eq.
5832 (pcase-split-member): Rename from pcase-split-memq.
5833 (pcase-u1): Add strings to the member optimization.
5834 Add `guard' variant of predicates.
5835 (pcase-q1): Add string patterns.
5837 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5839 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5841 2010-10-28 Glenn Morris <rgm@gnu.org>
5843 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5844 Move menu-bar related settings to ../menu-bar.el.
5845 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5846 Move ns-specific settings here from term/ns-win.el.
5848 * simple.el (x-selection-owner-p): Remove unused declaration.
5850 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5852 * minibuffer.el (completion-cycling): New var (bug#7266).
5853 (minibuffer-complete, completion--do-completion):
5854 Use completion--flush-all-sorted-completions.
5855 (minibuffer-complete): Only cycle if completion-cycling is set.
5856 (completion--flush-all-sorted-completions): Unset completion-cycling.
5857 (minibuffer-force-complete): Set completion-cycling.
5858 (completion-all-sorted-completions): Move declaration before first use.
5860 2010-10-28 Leo <sdl.web@gmail.com>
5862 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5863 which changes the order of matches seen by users (bug#7231).
5865 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
5867 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5868 Don't confuse -omega as "-o mega".
5870 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
5872 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5873 (log-edit-author): New dynamic var.
5874 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5875 to return the author if different from committer.
5876 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5878 * play/landmark.el: Adjust commenting convention.
5879 (lm-nil-score): Rename from nil-score.
5880 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5881 (OOOOscore): Move into a let in lm-score-trans-table.
5882 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5884 * electric.el (electric-indent-chars): Autoload.
5885 * progmodes/octave-mod.el (octave-mode):
5886 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5887 (ruby-mode-abbrev-table): Merge initialization and declaration.
5889 2010-10-27 Glenn Morris <rgm@gnu.org>
5891 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5894 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5896 * term/ns-win.el: Restore require of cl when compiling.
5897 (menu-bar-final-items): Remove non-existent `windows' menu.
5898 (ns-handle-nxopen): Optionally handle the temp-case.
5899 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5900 (ns-insert-file, ns-find-file): Use `pop'.
5902 2010-10-26 Glenn Morris <rgm@gnu.org>
5904 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5906 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
5908 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5910 * term/common-win.el (x-setup-function-keys): Remove most of the
5911 keymappings. Comment on the remaining ones.
5913 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
5915 * server.el (server-port): New option. (Bug#854)
5916 (server-start): Use server-port.
5918 2010-10-26 Glenn Morris <rgm@gnu.org>
5920 * term/ns-win.el (ns-version-string): Remove unused declaration.
5921 (ns-invocation-args): Change to x-invocation-args.
5922 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5923 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5924 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5925 Use x-invocation-args instead of ns-invocation-args.
5926 (ns-initialize-window-system, handle-args-function-alist):
5927 Use x-handle-args instead of ns-handle-args.
5928 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5929 * startup.el (command-line-ns-option-alist): Replace
5930 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5931 ns-handle-iconic with the x- equivalents.
5933 * term/common-win.el (x-select-enable-clipboard):
5934 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5936 * term/ns-win.el: No need to require cl when compiling.
5937 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5938 (xw-defined-colors): Use the common-win definitions.
5939 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5940 (ns-handle-iconic): Make it an alias for x-handle-iconic.
5941 * term/common-win.el (x-select-text, x-alternatives-map)
5942 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5943 * loadup.el [ns]: Load common-win.
5945 2010-10-26 Daiki Ueno <ueno@unixuser.org>
5947 * epa-mail.el (epa-mail-encrypt): Handle local-part only
5948 recipients; expand mail aliases (Bug#7280).
5950 2010-10-25 Glenn Morris <rgm@gnu.org>
5952 * term/common-win.el (x-handle-switch): Simplify with pop.
5953 Optionally handle numeric switches.
5954 (x-handle-numeric-switch): Just call x-handle-switch.
5955 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5956 (x-handle-name-switch, x-handle-display, x-handle-args):
5959 * term/ns-win.el: Do not require easymenu.
5960 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5961 <spell>: Move adjustments to menu-bar.el.
5962 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5963 <separator-undo, spell>: Move ns-win's adjustments here.
5964 * loadup.el [ns]: Do not load easymenu.
5966 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5968 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5971 * startup.el (fancy-startup-tail): Instead of using inline images,
5972 refer to image files from etc/.
5974 * wid-edit.el (checkbox): Likewise.
5975 (widget-image-find): Center image specs.
5977 2010-10-24 Glenn Morris <rgm@gnu.org>
5979 * term/ns-win.el (x-select-text): Doc fix.
5980 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5981 (x-select-text): Move to term/common-win.
5982 * term/w32-win.el (xw-defined-colors): Move to common-win.
5983 * term/x-win.el (xw-defined-colors, x-alternatives-map)
5984 (x-setup-function-keys, x-select-text): Move to common-win.
5985 * term/common-win.el (x-select-text, x-alternatives-map)
5986 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5989 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
5991 * net/mairix.el (mairix-searches-mode-map):
5992 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5994 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
5996 * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5997 auto-built for efficiency of execution and updating.
5998 (verilog-extended-complete-re): Support 'pure' fucntion & task
5999 declarations (these have no bodies).
6000 (verilog-beg-of-statement): General cleanup to enable support of
6001 'pure' fucntion & task declarations (these have no bodies).
6002 These efforts together fix Verilog bug210 from veripool; which was also
6003 noticed by Steve Pearlmutter.
6004 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
6005 (verilog-directive-nest-re, verilog-set-auto-endcomments):
6006 Support `elsif. Reported by Shankar Giri.
6007 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
6008 attribute handling for lining up declarations and assignments.
6009 (verilog-beg-of-statement-1): Fix issue where continued declaration
6010 is indented differently if it is after a begin..end clock.
6011 (verilog-in-attribute-p, verilog-skip-backward-comments)
6012 (verilog-skip-forward-comment-p): Support proper treatment of
6013 attributes by indent code. Reported by Jeff Steele.
6014 (verilog-in-directive-p): Fix comment to correctly describe function.
6015 (verilog-backward-up-list, verilog-in-struct-region-p)
6016 (verilog-backward-token, verilog-in-struct-p)
6017 (verilog-in-coverage-p, verilog-do-indent)
6018 (verilog-pretty-declarations): Use verilog-backward-up-list as
6019 wrapper around backward-up-list inorder to properly skip comments.
6020 Reported by David Rogoff.
6021 (verilog-property-re, verilog-endcomment-reason-re)
6022 (verilog-beg-of-statement, verilog-set-auto-endcomments)
6023 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
6024 of if). Reported by Max Bjurling and
6025 (verilog-calc-1): Fix for clocking block in modport
6026 declaration. Reported by Brian Hunter.
6028 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
6030 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
6031 (verilog-gate-keywords, verilog-read-sub-decls)
6032 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
6033 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
6034 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
6035 (verilog-read-decls): Fix spaces in V2K module parameters causing
6036 mis-identification as interfaces, bug287.
6037 (verilog-read-decls): Fix not treating "parameter string" as a
6038 parameter in AUTOINSTPARAM.
6039 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
6040 treating `elsif similar to `endif inside AUTOSENSE.
6041 (verilog-do-indent): Implement correct automatic or static task or
6042 function end comment highlight. Reported by Steve Pearlmutter.
6043 (verilog-font-lock-keywords-2): Fix highlighting of single
6044 character pins, bug264. Reported by Michael Laajanen.
6045 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
6046 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
6047 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
6048 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
6049 (verilog-pretty-expr): Fix interactive arguments, bug272.
6050 Reported by Mark Johnson.
6051 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
6052 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
6053 bug269. Suggested by Gary Delp.
6054 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
6055 (verilog-preprocessor, verilog-set-compile-command):
6056 Create verilog-preprocess and verilog-preprocessor to show
6057 preprocessed output.
6058 (verilog-get-beg-of-line, verilog-get-end-of-line)
6059 (verilog-modi-file-or-buffer, verilog-modi-name)
6060 (verilog-modi-point, verilog-within-string): Move defmacro's
6061 before first use to avoid warning. Reported by Steve Pearlmutter.
6062 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
6063 (verilog-colorize-region, verilog-highlight-buffer)
6064 (verilog-highlight-includes, verilog-highlight-modules)
6065 (verilog-highlight-region, verilog-mode): Rename colorize to
6066 highlight to match other packages. Disable module highlighting,
6067 as received speed complaints, reenable for experimentation only
6068 using new verilog-highlight-modules.
6069 (verilog-read-decls): Fix regexp stack overflow in very large
6070 AUTO_TEMPLATEs, bug250.
6071 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
6072 (verilog-scan): Create verilog-save-buffer-state to standardize
6073 making insignificant changes that shouldn't call hooks.
6074 (verilog-save-no-change-functions, verilog-save-scan-cache)
6075 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
6076 Create verilog-save-no-change-functions to wrap verilog-scan
6077 preservation, and fix to work with nested preserved calls.
6078 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
6079 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
6080 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
6081 (verilog-submit-bug-report): Update variable list to be complete.
6082 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
6083 breaking on-the-fly font-locking.
6084 (verilog-colorize-buffer, verilog-colorize-include-files)
6085 (verilog-colorize-include-files-buffer, verilog-colorize-region)
6086 (verilog-load-file-at-mouse, verilog-load-file-at-point)
6087 (verilog-mode, verilog-read-inst-module-matcher): With point on a
6088 AUTOINST cell instance name, middle mouse button now finds-file on
6089 it. Suggested by Brad Dobbie.
6090 (verilog-alw-get-temps, verilog-auto-reset)
6091 (verilog-auto-sense-sigs, verilog-read-always-signals)
6092 (verilog-read-always-signals-recurse): Fix loop indexes being
6093 AUTORESET. AUTORESET now assumes any variables in the
6094 initialization section of a for() should be ignored.
6095 Reported by Dan Dever.
6096 (verilog-error-font-lock-keywords)
6097 (verilog-error-regexp-emacs-alist)
6098 (verilog-error-regexp-xemacs-alist): Fix error detection of
6099 Cadence HAL, reported by David Asher. Repair drift between the
6100 three similar error variables.
6101 (verilog-modi-lookup, verilog-modi-lookup-cache)
6102 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
6103 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
6104 Fix slow verilog-auto expansion on very large files.
6105 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
6106 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
6107 "{1*2{...". Broke in last revision.
6108 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
6109 submodule connections with replications "{#{a},#{b}}".
6111 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
6113 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
6114 Fix typo in docstring.
6116 2010-10-24 Kenichi Handa <handa@m17n.org>
6118 * face-remap.el (text-scale-adjust): Call read-event with a proper
6121 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6123 * emacs-lisp/unsafep.el: Don't mark functions that display
6124 messages as safe. Suggested by Johan Bockgård.
6126 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6128 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
6129 Turn comments into docstrings.
6131 * minibuffer.el (completion--replace): Move point where it belongs
6132 when there's a common suffix (bug#7215).
6134 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6136 Merge read-color and facemenu-read-color (Bug#7242).
6138 * faces.el (read-color): Use the completion code from
6139 facemenu-read-color. Require match in completion. Doc fix.
6141 * facemenu.el (facemenu-read-color): Alias for read-color.
6142 (facemenu-set-foreground, facemenu-set-background):
6145 * frame.el (set-background-color, set-foreground-color)
6146 (set-cursor-color, set-mouse-color, set-border-color):
6149 2010-10-24 Leo <sdl.web@gmail.com>
6151 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
6152 argument of delete-file and delete-directory (Bug#7011).
6154 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6156 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
6159 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
6161 * emacs-lisp/package.el (package--generate-package-list): Make the
6162 *Packages* buffer read-only.
6164 2010-10-24 Alan Mackenzie <acm@muc.de>
6166 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
6167 result of `c-beginning-of-decl-1' between invocations of a lambda
6168 function (Bug #7265).
6170 2010-10-24 Daiki Ueno <ueno@unixuser.org>
6172 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
6173 executable is not available on the system (Bug#7268).
6175 2010-10-24 Glenn Morris <rgm@gnu.org>
6177 * select.el (selection-coding-system, next-selection-coding-system):
6178 Sync doc with C versions.
6180 * w32-vars.el (x-select-enable-clipboard):
6181 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
6182 * term/common-win.el (x-select-enable-clipboard): Move here.
6184 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
6185 definition of C variable.
6187 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
6188 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
6189 Don't redefine things that are defined in C.
6190 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
6191 (show-trailing-whitespace, auto-hscroll-mode)
6192 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
6193 Set up the appropriate custom properties.
6195 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6198 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
6199 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
6200 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
6201 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
6203 2010-10-23 Glenn Morris <rgm@gnu.org>
6205 * textmodes/flyspell.el (flyspell-mode): If there was an error,
6208 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
6209 Sync docs with C version.
6211 * term/ns-win.el (xw-defined-colors):
6212 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
6214 * term/pc-win.el (x-select-enable-clipboard):
6215 * term/x-win.el (x-select-enable-clipboard):
6216 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
6218 * comint.el (comint-password-prompt-regexp): Make it less vague.
6221 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
6223 * help.el (finder-by-keyword): Remove unnecessary autoload.
6225 2010-10-22 Glenn Morris <rgm@gnu.org>
6227 * loadup.el: Unconditionally load float-sup.
6228 * paren.el (show-paren-delay):
6229 * emacs-lisp/float-sup.el:
6230 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
6231 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
6232 (lazy-lock-stealth-verbose): Assume float support.
6233 * ps-print.el: Assume float support on Emacs.
6234 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
6235 Remove non-float branch.
6237 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
6238 src/Makefile no longer being pre-processed.
6240 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6242 * emacs-lisp/find-func.el (find-library): Use test-completion.
6244 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6246 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
6248 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
6250 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
6251 space in stat format string.
6252 (tramp-send-command): Unset $PS1 when using here documents, in
6253 order not to get several prompts.
6254 (tramp-get-inline-coding): Return `nil' in case of errors.
6256 2010-10-21 Daiki Ueno <ueno@unixuser.org>
6258 * hexl.el (hexl-mode, hexl-mode-exit):
6259 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
6260 (hexl-revert-buffer-function): New function.
6261 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
6263 2010-10-19 Alan Mackenzie <acm@muc.de>
6265 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
6266 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
6267 that these keywords aren't wrongly matched as identifiers.
6269 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
6270 setting of c-new-BEG and c-new-END from c-before-change to
6271 c-after-change. (Bug#7181)
6273 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
6275 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
6278 * custom.el (custom-theme-set-variables): Likewise.
6279 (load-theme): Add custom-theme-set-faces and
6280 custom-theme-set-variables to safe-functions while loading.
6281 (custom-enabled-themes): Mark as risky.
6283 2010-10-18 Julien Danjou <julien@danjou.info>
6285 * bindings.el: Remove end dashes in default mode-line-format.
6287 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
6289 * bindings.el (global-map): Bind C-d to delete-char and deletechar
6290 to delete-forward-char.
6292 * simple.el (normal-erase-is-backspace-mode): Remap delete to
6293 deletechar, and hence delete-forward-char.
6295 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6297 * repeat.el (repeat): Use read-key (bug#6256).
6299 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
6301 * emacs-lisp/unsafep.el: Don't mark functions that display
6302 messages as safe. Suggested by Johan Bockgård.
6304 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6306 * minibuffer.el (completion--replace): Move point where it belongs
6307 when there's a common suffix (bug#7215).
6309 2010-10-19 Kenichi Handa <handa@m17n.org>
6311 * international/characters.el: Add category '|' (word breakable)
6312 to fullwidth characters.
6314 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
6316 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
6317 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
6318 order to make stat results a float. Patch by Andreas Schwab
6319 <schwab@linux-m68k.org>.
6321 2010-10-18 Julien Danjou <julien@danjou.info>
6323 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
6324 hidden by `make-pointer-invisible'.
6326 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6328 * files.el (locate-file-completion-table): Strip non-matching elements
6329 before checking length of list (bug#7238).
6331 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
6333 * custom.el (custom-theme-set-variables): Mark as a safe function.
6334 (load-theme): Check forms using unsafep.
6336 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
6338 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
6340 * textmodes/ispell.el (ispell-aspell-find-dictionary):
6341 Fix aspell data file searching (bug#7230).
6343 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6345 * cus-theme.el (custom-theme--migrate-settings): New var.
6346 (customize-create-theme): Allow editing the `user' theme.
6347 (custom-theme-add-variable, custom-theme-add-var-1)
6348 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
6349 to the front of each variable or face widget.
6350 (custom-theme-write): Save theme settings in the correct order.
6351 Optionally, remove saved settings from user customizations.
6352 (custom-theme-write-variables, custom-theme-write-faces):
6353 Save only the checked widgets.
6354 (customize-themes): Add a link for migrating custom settings.
6356 * custom.el (custom-declare-theme, provide-theme):
6357 Use custom-theme-name-valid-p.
6358 (custom-theme-name-valid-p): Remove checks that are now
6359 unnecessary since themes no longer obey load-path.
6361 * cus-edit.el (custom-variable-value-create): For the simple
6362 style, hide documentation string when hidden.
6364 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6366 * cus-edit.el (custom-variable, custom-face): Combine the
6367 :inhibit-magic and :display-style properties into a single
6368 :custom-style property.
6369 (custom-toggle-hide-variable, custom-toggle-hide-face):
6370 New functions. If hiding an edited value, save it to :shown-value.
6371 (custom-variable-value-create, custom-face-value-create): Use them.
6372 (custom-magic-reset): Allow magic property to be unset.
6374 * custom.el: Custom themes no longer use load-path.
6375 (custom-theme-load-path): New option. Change built-in theme
6377 (custom-enabled-themes): Add custom-theme-load-path dependency.
6378 (custom-theme--load-path): New function.
6379 (load-theme, custom-available-themes): Use it.
6381 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
6382 (customize-themes): Link to custom-theme-load-path variable.
6383 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
6384 :custom-style property.
6386 * themes/*.el: Moved to etc/.
6388 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
6390 * textmodes/reftex-cite.el
6391 (reftex-extract-bib-entries-from-thebibliography): Do not move
6392 point when searching for \bibitem entries. Match entries with
6393 spaces or tabs in front of arguments.
6395 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6397 * cus-theme.el (customize-create-theme): Delete overlays after
6398 erasing. If given a THEME arg, display only the faces of that arg
6399 instead of custom-theme--listed-faces.
6400 (custom-theme-variable-menu, custom-theme-variable-action)
6401 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
6402 (custom-theme-add-variable, custom-theme-add-face): Apply value
6403 from the theme settings, instead of the current value.
6404 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
6405 (custom-theme-visit-theme): Allow calling outside theme buffers.
6406 (custom-theme-merge-theme): Don't enable the theme when merging.
6407 (custom-theme-write-variables, custom-theme-write-faces): Use the
6408 :shown-value properties to save buffer values, not global ones.
6409 (customize-themes): Display a warning about user customizations.
6411 * cus-edit.el (custom-variable-value-create)
6412 (custom-face-value-create): Obey new special properties
6413 :shown-value and :inhibit-magic.
6415 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
6417 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6418 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
6421 2010-10-14 Kenichi Handa <handa@m17n.org>
6423 * mail/rmail.el (rmail-show-message-1): Catch an error of
6424 base64-decode-region and just show an error message (bug#7165).
6426 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
6427 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
6428 a font-spec (bug#7197).
6430 2010-10-14 Glenn Morris <rgm@gnu.org>
6432 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
6434 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
6436 * international/mule.el (define-coding-system):
6437 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
6438 * composite.el (compose-region): Fix typo in docstring.
6440 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
6442 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
6443 only after checking the theme-face property.
6445 * faces.el (face-spec-reset-face): Reset all attributes in one
6446 single call to set-face-attribute.
6447 (face-spec-match-p): Make it a defsubst.
6448 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
6449 (x-create-frame-with-faces, tty-create-frame-with-faces)
6450 (tty-set-up-initial-frame-faces): Don't recompute face specs in
6451 frame-set-background-mode, since they are recomputed immediately
6452 afterwards in face-set-after-frame-default.
6453 (face-set-after-frame-default): Minor optimization.
6454 (cursor): Provide non-trivial defface spec.
6456 * custom.el (custom-theme-recalc-face): Simplify.
6458 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
6460 * calc/calc-alg.el (math-var): Rename from `var'.
6461 (math-is-polynomial, math-is-poly-rec): Replace `var'
6464 * calc/calcalg2.el (math-var): Rename from `var'.
6465 (calcFunc-table, math-scan-for-limits): Replace `var'
6468 2010-10-13 Glenn Morris <rgm@gnu.org>
6470 * subr.el (last): Deal with dotted lists (reported in bug#7174).
6472 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
6474 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
6476 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6478 * net/tls.el (tls-program): Remove spurious %s from openssl.
6479 (tls-starttls-switches): Remove starttls hack.
6480 (open-tls-stream): Ditto.
6481 (tls-find-starttls-argument): Ditto.
6483 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
6485 * image.el (image-library-alist): Declare as obsolete alias.
6486 (image-type-available-p): Use `dynamic-library-alist'.
6488 * term/w32-win.el (dynamic-library-alist):
6489 Use instead of `image-library-alist'.
6491 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
6493 * subr.el (last): Make it faster. (Bug#7174)
6495 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
6497 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
6499 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6501 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
6502 (describe-theme-1): Extract doc from unloaded themes.
6504 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
6506 * themes/tango-theme.el:
6507 * themes/tango-dark-theme.el:
6508 * themes/wheatgrass-theme.el: New files.
6510 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6512 * cus-theme.el (describe-theme, customize-themes)
6513 (custom-theme-save): New commands.
6514 (custom-new-theme-mode-map): Bind C-x C-s.
6515 (custom-new-theme-mode): Use custom--initialize-widget-variables.
6516 (customize-create-theme): New optional arg THEME.
6517 (custom-theme-revert): Use it.
6518 (custom-theme-visit-theme): Remove dead code.
6519 (custom-theme-merge-theme): Use custom-available-themes.
6520 (custom-theme-write): Make interactive.
6521 (custom-theme-write): Use custom-theme-name-valid-p.
6522 (describe-theme-1, custom-theme-choose-revert)
6523 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
6525 (custom-theme-allow-multiple-selections): New option.
6526 (custom-theme-choose-mode): New major mode.
6528 * custom.el (custom-theme-set-variables): Remove dead code.
6529 Obey custom--inhibit-theme-enable.
6530 (custom--inhibit-theme-enable): New var.
6531 (provide-theme): Obey it.
6532 (load-theme): Replace load with manual read/eval, in order to
6533 check for correctness. Use custom-theme-name-valid-p.
6534 (custom-theme-name-valid-p): New function.
6535 (custom-available-themes): Use it.
6537 * cus-edit.el (custom--initialize-widget-variables): New function.
6538 (Custom-mode): Use it.
6540 * cus-face.el (custom-theme-set-faces): Remove dead code.
6541 Obey custom--inhibit-theme-enable.
6543 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
6545 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
6547 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
6549 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
6551 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
6552 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
6553 (mac-right-option-modifier): New alias for ns-right-option-modifier.
6555 * cus-start.el (all): ns-right-alternate-modifier is new.
6557 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6559 * emacs-lisp/lisp.el (lisp-completion-at-point):
6560 Use emacs-lisp-mode-syntax-table for the whole function.
6562 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
6564 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
6565 instead of font-lock-mode before adding keywords.
6566 Remove hi-lock-mode off code. Remove inhibit hack.
6567 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
6568 non-nil; removed hook inhibit hack.
6570 2010-10-12 Glenn Morris <rgm@gnu.org>
6572 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
6573 (load-path-shadows-find): ... to this.
6574 (list-load-path-shadows): Update for above change.
6576 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
6578 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
6580 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
6581 Fix comment for declare-function.
6583 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
6585 * custom.el (custom-fix-face-spec): New function; code moved from
6586 custom-face-edit-fix-value.
6587 (custom-push-theme): Use it when checking if a face has been
6588 changed outside customize.
6589 (custom-available-themes): New function.
6590 (load-theme): Use it.
6592 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
6594 * custom.el (custom-push-theme): Cleanup (use cond).
6595 (disable-theme): Recompute the saved-face property.
6596 (custom-theme-recalc-face): Follow face alias before setting prop.
6598 * image.el (image-checkbox-checked, image-checkbox-unchecked):
6599 New variables, containing checkbox images.
6601 * startup.el (fancy-startup-tail):
6602 * wid-edit.el (checkbox): Use them.
6604 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
6606 * shell.el (shell-mode-map):
6607 * progmodes/modula2.el (m2-mode-map):
6608 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
6609 * play/mpuz.el (mpuz-mode-map):
6610 * play/landmark.el (lm-mode-map):
6611 * play/decipher.el (decipher-mode-map):
6612 * play/5x5.el (5x5-mode-map):
6613 * net/telnet.el (telnet-mode-map):
6614 * net/quickurl.el (quickurl-list-mode-map):
6615 * net/mairix.el (mairix-searches-mode-map):
6616 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
6617 * net/dig.el (dig-mode-map):
6618 * mail/mspools.el (mspools-mode-map):
6619 * hexl.el (hexl-mode-map):
6620 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
6621 (wordstar-C-o-map, wordstar-C-q-map):
6622 * emacs-lisp/edebug.el (edebug-eval-mode-map):
6623 * emacs-lisp/chart.el (chart-map):
6624 * edmacro.el (edmacro-mode-map):
6625 * erc/erc-list.el (erc-list-menu-mode-map):
6626 * array.el (array-mode-map): Declare and define in one step.
6628 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
6630 2010-10-10 Daiki Ueno <ueno@unixuser.org>
6632 * epa.el (epa-passphrase-callback-function): Display filename
6633 passed as the 3rd arg.
6634 * epa-file.el (epa-file-passphrase-callback-function):
6635 Pass filename to epa-passphrase-callback-function.
6637 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
6639 * cus-edit.el (custom-face-widget-to-spec)
6640 (custom-face-get-current-spec, custom-face-state): New functions.
6641 (custom-face-set, custom-face-mark-to-save)
6642 (custom-face-value-create, custom-face-state-set): Use them.
6644 * cus-theme.el (custom-theme--listed-faces): New var.
6645 (customize-create-theme): Use *Custom Theme* as the buffer name.
6646 Set revert-buffer-function. Optional arg BUFFER. Insert all
6647 faces listed in custom-theme--listed-faces.
6648 (custom-theme-revert): New function.
6649 (custom-theme-add-variable, custom-theme-add-face): Insert at the
6651 (custom-theme-write): Prompt for theme name if empty.
6652 (custom-theme-write-variables): Use dolist.
6653 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
6655 2010-10-09 Alan Mackenzie <acm@muc.de>
6657 Enhance fontification of declarators to take account of the
6658 presence/absence of "typedef".
6660 * cc-engine.el (c-forward-type): New &optional param
6662 (c-forward-decl-or-cast-1): cdr of return value now indicates the
6663 presence of either or both of a "struct"-like keyword and "typedef".
6665 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
6666 fontification of declarators which follow a "}".
6667 (c-font-lock-declarations): Fontify declarators according to the
6668 presence/absence of "typedef".
6670 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
6672 (c-typedef-decl-key): New lang variable built from
6673 c-typedef-decl-kwds.
6675 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
6677 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
6678 since that's too annoying. Move the filter groups commands to
6681 * epa.el (epa-passphrase-callback-function): Say what we're
6682 querying the password for.
6684 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
6685 behaviour, don't bury the ibuffer buffer when visiting other buffers.
6687 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6689 * cus-edit.el (custom-commands, custom-buffer-create-internal)
6690 (custom-magic-value-create): Pad button tags with spaces.
6691 (custom-face-edit): New variable.
6692 (custom-face-value-create): Determine whether to use the usual
6693 face editor here, instead of using custom-face-selected.
6694 Pass face defaults to custom-face-edit widget.
6695 (custom-face-selected, custom-display-unselected): Delete widgets.
6696 (custom-display-unselected-match): Function removed.
6697 (custom-face-set, custom-face-mark-to-save):
6698 Accept custom-face-edit widgets as the direct widget child.
6700 * wid-edit.el (widget--completing-widget): New var.
6701 (widget-default-complete): Bind it when doing completion.
6702 (widget-string-complete, widget-file-complete): Use it.
6704 2010-10-09 Glenn Morris <rgm@gnu.org>
6706 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
6707 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
6708 (holiday-hebrew-misc): Small simplifications.
6710 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
6712 * net/browse-url.el: Don't require thingatpt, term, dired,
6713 executable, or w3-auto when compiling.
6714 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
6716 (browse-url-text-emacs): Require term.
6718 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
6720 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
6722 2010-10-08 Glenn Morris <rgm@gnu.org>
6724 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
6726 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
6727 (shadows-compare-text-p): Make it an obsolete alias for...
6728 (load-path-shadows-compare-text): ... new name.
6729 (find-emacs-lisp-shadows): Update for above name change.
6730 (load-path-shadows-same-file-or-nonexistent): New name for the old
6731 shadow-same-file-or-nonexistent.
6733 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6735 * minibuffer.el (completion--some, completion--do-completion)
6736 (minibuffer-complete-and-exit, minibuffer-completion-help)
6737 (completion-basic-try-completion)
6738 (completion-basic-all-completions)
6739 (completion-pcm--find-all-completions): Use lexical-let to
6740 avoid some false matches in variable completion (Bug#7056)
6742 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
6744 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
6746 2010-10-08 Leo <sdl.web@gmail.com>
6748 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
6749 return non-nil if the file exists (Bug#7090).
6751 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6753 * minibuffer.el (completion--replace):
6754 Better preserve markers (bug#7138).
6756 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
6758 * server.el (server-process-filter): Doc fix.
6760 2010-10-08 Drew Adams <drew.adams@oracle.com>
6762 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
6764 2010-10-08 Glenn Morris <rgm@gnu.org>
6766 * vc/ediff-wind.el (ediff-setup-control-frame):
6767 * vc/ediff-ptch.el (ediff-default-backup-extension):
6768 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
6769 (ediff-exec-process): Remove system-types emx, windows-95.
6771 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
6773 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
6775 * cus-edit.el (custom-variable, custom-face): Doc fix.
6776 (custom-face-edit): Add value-create attribute.
6777 (custom-face-edit-value-create)
6778 (custom-face-edit-value-visibility-action): New functions.
6779 Hide unused face attributes by default, and add a visibility toggle.
6780 (custom-face-edit-deactivate): Show empty values with shadow face.
6781 (custom-face-selected): Only use this for face specs with default
6783 (custom-face-value-create): Cleanup.
6785 * wid-edit.el (widget-checklist-value-create): Use dolist.
6786 (widget-checklist-match-find): Make second arg optional.
6788 2010-10-07 Glenn Morris <rgm@gnu.org>
6790 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
6793 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
6794 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
6795 load-path-shadows-mode, update references.
6796 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
6797 Rename variable and button.
6798 (list-load-path-shadows): Update button caller.
6800 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6802 * emacs-lisp/smie.el (smie-bnf-classify): New function.
6803 (smie-bnf-precedence-table): Use it to remember the closers/openers.
6804 (smie-merge-prec2s): Handle those new entries.
6805 (smie-prec2-levels): Only set precedence to nil for actual
6807 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
6808 that is now unnecessary.
6810 2010-10-07 Miles Bader <miles@gnu.org>
6812 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
6814 2010-10-07 Glenn Morris <rgm@gnu.org>
6816 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6817 (mail-position-on-field): Remove declarations.
6818 (mail-position-on-field): Autoload it.
6819 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6820 and mail-header-end. Don't require sendmail.
6822 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6823 (shadow-mode): New mode.
6824 (shadow-find-file): New button.
6825 (list-load-path-shadows): Use shadow-mode and buttons.
6827 * iimage.el (iimage-version): Remove.
6828 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6829 Turn into defcustoms.
6830 (iimage-mode-map): Give it a doc string.
6832 * calendar/appt.el (appt-activate): Give a warning rather than an error
6833 if there is no diary-file.
6835 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
6837 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6838 Use `tramp-handle-find-backup-file-name'.
6840 2010-10-06 Glenn Morris <rgm@gnu.org>
6842 * font-core.el (font-lock-defaults-alist): Remove variable.
6843 (font-lock-mode): Doc fix.
6844 (font-lock-default-function): Do not consult font-lock-defaults-alist.
6845 * font-lock.el (font-lock-refresh-defaults): Doc fix.
6846 (font-lock-set-defaults): Doc fix.
6847 Do not consult font-lock-defaults-alist.
6849 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6851 * emacs-lisp/cl.el: No longer provide cl-19.
6853 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
6855 * net/tramp.el (tramp-handle-directory-files-and-attributes)
6856 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6857 New defuns, taken from tramp-smb.el.
6858 (tramp-coding-system-change-eol-conversion)
6859 (tramp-set-process-query-on-exit-flag): Remove.
6861 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6862 (tramp-compat-coding-system-change-eol-conversion)
6863 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6866 * net/tramp-gvfs.el:
6867 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6868 by `tramp-compat-set-process-query-on-exit-flag'.
6870 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6871 Use `tramp-handle-directory-files-and-attributes',
6872 `tramp-handle-file-exists-p' and
6873 `tramp-handle-file-newer-than-file-p'.
6874 (tramp-imap-handle-file-exists-p)
6875 (tramp-imap-handle-file-executable-p)
6876 (tramp-imap-handle-file-readable-p)
6877 (tramp-imap-handle-directory-files-and-attributes)
6878 (tramp-imap-handle-file-newer-than-file-p): Remove.
6880 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6881 by `tramp-compat-set-process-query-on-exit-flag' and
6882 `tramp-coding-system-change-eol-conversion' by
6883 `tramp-compat-coding-system-change-eol-conversion'.
6885 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6886 Use `tramp-handle-directory-files-and-attributes',
6887 `tramp-handle-file-exists-p' and
6888 `tramp-handle-file-newer-than-file-p'.
6889 (tramp-smb-handle-directory-files-and-attributes)
6890 (tramp-smb-handle-file-exists-p)
6891 (tramp-smb-handle-file-newer-than-file-p): Remove.
6892 (tramp-smb-maybe-open-connection):
6893 Replace `tramp-set-process-query-on-exit-flag' by
6894 `tramp-compat-set-process-query-on-exit-flag'.
6896 2010-10-05 Glenn Morris <rgm@gnu.org>
6898 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6900 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
6902 Continue reorganization of load dependencies. (Bug#7156)
6904 * net/tramp.el (tramp-handle-file-local-copy-hook)
6905 (tramp-delete-temp-file-function): Move down.
6906 (tramp-exists-file-name-handler): Move up.
6907 (tramp-register-file-name-handlers): Simplify autoload.
6908 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6909 (tramp-handle-directory-files, tramp-handle-dired-uncache)
6910 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6911 (tramp-handle-file-name-completion)
6912 (tramp-handle-file-name-directory)
6913 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6914 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6915 (tramp-handle-find-backup-file-name)
6916 (tramp-handle-insert-file-contents, tramp-handle-load)
6917 (tramp-handle-substitute-in-file-name)
6918 (tramp-handle-unhandled-file-name-directory)
6919 (tramp-mode-string-to-int, tramp-local-host-p)
6920 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6922 * net/tramp-gvfs.el (top):
6923 * net/tramp-smb.el (top): Do not require 'tramp-sh.
6925 * net/tramp-sh.el (all): Move several objects to tramp.el, see
6926 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6928 2010-10-04 Glenn Morris <rgm@gnu.org>
6930 * calendar/appt.el (appt-add): Ensure reminders are enabled.
6931 (appt-activate): Give status messages.
6933 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6935 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
6936 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6937 `gnutls-negotiate' (formerly `starttls-negotiate').
6938 Remove trivial wrapper `starttls-open-stream'.
6940 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
6942 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6943 log-outgoing commands.
6944 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6945 to create a buffer local revert-buffer-function variable.
6946 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6947 revert-buffer-function lambda.
6949 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6951 * net/gnutls.el (starttls-negotiate): Use the plist interface to
6952 `gnutls-boot'. Make TYPE the only required parameter.
6953 Allow TRUSTFILES and KEYFILES to be lists.
6954 (open-ssl-stream): Use it.
6956 2010-10-03 Glenn Morris <rgm@gnu.org>
6958 * subr.el (directory-sep-char): Remove obsolete variable.
6959 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6962 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6963 * vc/vc.el (vc-static-header-alist): Doc fix.
6964 * vc/vc-cvs.el (vc-cvs-header):
6965 * vc/vc-rcs.el (vc-rcs-header):
6966 * vc/vc-sccs.el (vc-sccs-header):
6967 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6968 * obsolete/vc-mcvs.el (vc-mcvs-header):
6969 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6972 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6974 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6975 Remove obsolete use of binary-overwrite-mode (Bug#7001).
6977 2010-10-03 Glenn Morris <rgm@gnu.org>
6979 * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6981 * textmodes/rst.el (rst-font-lock-keywords-function):
6984 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6986 * printing.el: Drop Emacs 20 code.
6988 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6989 without having used appt.el already).
6991 * subr.el (make-local-hook): Remove function obsolete since 21.1.
6992 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6993 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6995 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6996 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6998 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6999 (charset-width, find-charset-region, chars-in-region, forward-point)
7000 (encode-coding-string, coding-system-p, ccl-execute-on-string)
7001 (define-ccl-program, multibyte-string-p, string-make-multibyte):
7002 Remove compatibility cruft (none of these are used by ps*.el).
7004 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
7006 * subr.el (booleanp): Return t instead of a list (Bug#7086).
7008 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
7010 * server.el (server-process-filter, server-return-error):
7011 Give emacsclient time to shut down after receiving an error string.
7013 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
7015 * files.el (remote-file-name-inhibit-cache): New defcustom.
7017 * time.el (display-time-file-nonempty-p):
7018 Use `remote-file-name-inhibit-cache'.
7020 * net/tramp.el (tramp-completion-reread-directory-timeout):
7023 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
7024 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
7025 `remote-file-name-inhibit-cache'. Check also for an integer
7026 value. Add/increase counter when `tramp-verbose' >= 10.
7027 (tramp-set-file-property): Add/increase counter when
7028 `tramp-verbose' >= 10.
7030 * net/tramp-cmds.el (tramp-cleanup-all-connections)
7031 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
7032 (tramp-bug): Set tramp-autoload cookie. Report all interned
7033 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
7034 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
7035 characters only in strings.
7037 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
7038 to backward compatibility.
7040 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
7041 (tramp-handle-file-name-all-completions)
7042 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
7043 (tramp-open-connection-setup-interactive-shell):
7044 Call `tramp-cleanup-connection' directly.
7046 2010-10-02 Glenn Morris <rgm@gnu.org>
7048 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
7050 * subr.el (char-bytes): Remove obsolete function.
7052 * isearch.el (isearch-return-char): Remove obsolete function.
7054 * mouse.el: No longer provide mldrag.
7055 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
7056 Remove obsolete aliases.
7058 * comint.el (comint-kill-output): Remove obsolete alias.
7060 * composite.el (decompose-composite-char): Remove obsolete function.
7061 * ps-def.el (decompose-composite-char): Remove unused function.
7063 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
7065 * outline.el (outline-visible): Remove obsolete function.
7067 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
7068 * faces.el (internal-find-face, internal-get-face)
7069 (frame-update-faces, frame-update-face-colors)
7070 (x-frob-font-weight, x-frob-font-slant)
7071 (internal-frob-font-weight, internal-frob-font-slant)
7072 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
7073 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
7074 (x-make-font-bold-italic): Remove functions and aliases, obsolete
7076 * emulation/viper-util.el (viper-get-face):
7077 * obsolete/lucid.el (find-face, get-face): Use facep.
7078 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
7079 Remove unused functions.
7080 * vc/ediff-util.el (ediff-submit-report): Doc fix.
7082 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
7083 delete tempfile if interrupted during compilation.
7085 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7087 * net/tls.el (tls-starttls-switches): Give up on using starttls with
7089 (tls-program): Add --insecure to be consistent with the defaults from
7090 openssl s_client. Now all three commands are insecure.
7092 2010-10-01 Eli Zaretskii <eliz@gnu.org>
7094 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
7095 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
7096 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
7098 2010-10-01 Glenn Morris <rgm@gnu.org>
7100 * obsolete/sc.el: Remove file.
7102 * files.el (temporary-file-directory): On darwin, also try
7103 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
7105 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
7107 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
7108 Let's not break compatibility gratuitously, shall we?
7110 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7112 * net/tls.el (tls-starttls-switches): New variable.
7113 (tls-find-starttls-argument): Use it.
7114 (open-tls-stream): Ditto.
7116 * net/netrc.el (netrc-credentials): Return the value of the "default"
7118 (netrc-machine): Ditto.
7120 2010-09-30 Eli Zaretskii <eliz@gnu.org>
7122 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
7124 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
7126 * server.el (server-start): Don't write pid to the authentication file.
7127 (server-create-tty-frame): Don't send pid.
7128 (server-process-filter): Send pid at the start of every connection.
7130 2010-09-30 Glenn Morris <rgm@gnu.org>
7132 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
7133 (show-all-diary-entries): Remove obsolete function aliases.
7135 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
7136 Remove options, obsolete since 22.1.
7137 (appt-display-format, appt-display-message):
7138 Remove backwards-compatibility code.
7139 (appt-check): No longer check appt-issue-message.
7140 (appt-make-list): No longer autoload it. Doc fix. No longer
7141 activate the package.
7143 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7145 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
7146 (starttls-negotiate): Just call boot, and let the handshake be
7147 triggered from the read loop.
7149 2010-09-29 Glenn Morris <rgm@gnu.org>
7151 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
7152 not displaying the diary.
7153 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
7154 * calendar/appt.el (appt-check): No longer need to kill diary.
7156 * calendar/diary-lib.el (diary-list-entries): Move the
7157 "Preparing..." message entirely here.
7158 (diary-simple-display, diary-fancy-display): Move "Preparing..."
7159 messages to diary-list-entries.
7160 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
7161 diary-display-function.
7163 * calendar/diary-lib.el (diary-include-other-diary-files):
7164 Trap some recursive includes.
7166 * calendar/appt.el (appt-activate): Check diary file.
7168 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
7170 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
7173 * calendar/time-date.el: No need to require cl for Emacs 21.
7175 2010-09-28 Glenn Morris <rgm@gnu.org>
7177 * calendar/appt.el (appt-check): Minor simplification.
7179 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
7181 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
7184 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
7186 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7187 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
7189 2010-09-27 Kenichi Handa <handa@m17n.org>
7191 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
7194 2010-09-27 Kenichi Handa <handa@m17n.org>
7196 * international/mule.el (define-coding-system): Docstring fixed.
7198 * international/mule-diag.el (describe-character-set): Use princ
7199 with proper print-length and print-level instead of insert.
7201 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
7203 * window.el (walk-windows): Doc fix (bug#7105).
7205 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7207 * emacs-lisp/float-sup.el (e): Remove.
7209 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
7211 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
7213 (starttls-negotiate): Use it.
7215 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7217 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
7220 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
7222 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
7224 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7226 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
7228 * net/netrc.el (netrc-store-data): New function.
7230 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
7232 * net/gnutls.el: GnuTLS glue code to set up a connection.
7234 2010-09-25 Julien Danjou <julien@danjou.info>
7236 * notifications.el: Call dbus-register-signal only if it is bound.
7238 2010-09-25 Glenn Morris <rgm@gnu.org>
7240 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7241 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
7242 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
7243 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
7244 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
7245 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
7246 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
7247 * eshell/esh-util.el, eshell/esh-var.el:
7248 Remove leading `*' from docs of faces and defcustoms.
7250 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
7252 * eshell/em-ls.el (eshell-ls-archive-regexp):
7253 * eshell/esh-util.el (eshell-tar-regexp):
7254 * ibuffer.el (ibuffer-compressed-file-name-regexp):
7255 * info.el (Info-suffix-list):
7256 * international/mule.el (auto-coding-alist):
7257 * woman.el (woman-file-regexp, woman-file-compression-regexp):
7258 * progmodes/etags.el (tags-compression-info-list):
7259 Support xz compression.
7261 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
7263 * files.el (get-free-disk-space): Don't assume the "df" output
7264 columns line up (Bug#6995).
7266 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
7268 * finder.el (finder-unknown-keywords):
7269 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
7270 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
7272 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
7274 * server.el (server-start): Revert part of 2010-08-08 change. Using
7275 address 127.0.0.1 for local host is now done in Fmake_network_process.
7277 2010-09-24 Glenn Morris <rgm@gnu.org>
7279 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
7280 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
7281 * textmodes/css-mode.el, textmodes/dns-mode.el:
7282 Move autoloaded auto-mode-alist entries to files.el.
7283 * files.el (auto-mode-alist): Move entries here.
7285 2010-09-23 Glenn Morris <rgm@gnu.org>
7287 * isearch.el (isearch-lazy-highlight-cleanup)
7288 (isearch-lazy-highlight-initial-delay)
7289 (isearch-lazy-highlight-interval)
7290 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
7291 * net/net-utils.el (ipconfig-program-options):
7292 Move aliases to options before the associated definitions.
7294 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7296 * newcomment.el (comment-normalize-vars): Better test validity of
7299 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7301 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
7302 (float-e): New name for `e'.
7303 (degrees-to-radians, radians-to-degrees):
7304 * calendar/solar.el (solar-longitude):
7305 * calculator.el (calculator-registers, calculator-funcall):
7306 * textmodes/artist.el (artist-spray-random-points):
7307 * play/bubbles.el (bubbles--initialize-images): Use new names.
7309 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
7311 Update to CEDET 1.0's version of EIEIO.
7313 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
7315 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
7316 (eieio-default-eval-maybe): Eval val instead of unquoting only.
7317 (class-precedence-list): If class is nil, return nil.
7318 (eieio-generic-call): If class of first input arg is nil, don't
7319 look up static methods, and do check for primary methods.
7320 (initialize-instance): See if the default needs to be evaluated
7321 during the constructor.
7322 (eieio-perform-slot-validation-for-default): Don't do the check
7323 for values that will eventually be evaluated.
7324 (eieio-eval-default-p): New function.
7325 (eieio-default-eval-maybe): Use it.
7327 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
7329 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
7330 method-invocation-order.
7331 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
7332 (eieio-class-precedence-dfs): Compute class precedence list using
7334 (eieio-class-precedence-bfs): Compute class precedence list using
7336 (eieio-class-precedence-c3): Compute class precedence list using
7338 (class-precedence-list): New function.
7339 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
7340 (inconsistent-class-hierarchy): New error symbol.
7341 (call-next-method): Stow the replacement argument list for future
7342 call-next-method invocations.
7344 2010-09-23 Glenn Morris <rgm@gnu.org>
7346 * calendar/appt.el (appt-check): If not displaying the diary,
7347 use (diary 1) to only get the entries we need.
7348 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
7349 that it is in day order. (Bug#7019)
7351 * calendar/appt.el (appt-check): Rather than showing the diary,
7352 just turn off invisible display, and only if needed.
7354 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
7356 2010-09-23 Glenn Morris <rgm@gnu.org>
7358 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7359 (byte-compile-defvar, byte-compile-cl-warn):
7360 Start warnings with lower-case, like the majority.
7362 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
7364 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
7366 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
7367 * files.el (auto-mode-alist): Move ld-script entries here, further down
7370 * vc/add-log.el: Don't require timezone when compiling.
7371 (timezone-make-date-sortable): Autoload it.
7372 (change-log-sortable-date-at): Don't require timezone.
7373 Use `ignore-errors'.
7375 * comint.el (comint-use-prompt-regexp-instead-of-fields):
7376 Move alias before definition, so it does not need autoloading.
7378 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
7379 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
7380 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
7381 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
7382 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
7383 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
7384 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
7385 * textmodes/tex-mode.el, textmodes/two-column.el:
7386 Remove leading `*' from docs of defcustoms etc.
7388 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
7390 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
7392 2010-09-22 Dan Christensen <jdc@uwo.ca>
7394 * calendar/time-date.el (date-to-time): Try using parse-time-string
7395 first before using the slower timezone-make-date-arpa-standard.
7397 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
7399 * calendar/time-date.el (format-seconds): Comment fix.
7401 2010-09-22 Glenn Morris <rgm@gnu.org>
7403 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
7404 is not automatically buffer-local.
7406 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7408 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
7409 (smie-indent-comment): Be more careful with comment-start-skip.
7410 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
7411 (smie-indent-functions): Use them.
7413 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
7415 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
7417 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
7419 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
7420 tool-bar-position. Don't modify frame parameters here.
7421 (menu-bar-options-save): Add tool-bar-position.
7423 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
7425 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7427 * textmodes/reftex-parse.el (reftex-what-macro)
7428 (reftex-context-substring): Let-bind forward-sexp-function to nil
7429 since we don't need/want to treat \begin...\end as a block (bug#7053).
7431 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
7433 * simple.el (blink-matching-open): Use syntax-class.
7435 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
7436 Set invisibility spec for pascal's outline mode.
7437 (pascal-outline-change): Clean up calling convention.
7438 (pascal-show-all, pascal-hide-other-defuns): Update callers.
7440 * progmodes/prolog.el (prolog-smie-forward-token)
7441 (prolog-smie-backward-token): New functions.
7442 (prolog-mode-variables): Use them to parse "!," correctly.
7443 Set up smie-blink-matching for ".".
7445 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
7447 (ispell-region, ispell-process-line): Update users.
7449 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
7452 * textmodes/ispell.el: Fix commenting convention.
7453 (ispell-parse-output): Simplify, use push.
7454 (ispell-region): Use match-string-no-properties.
7455 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
7456 (ispell-minor-mode): Use define-minor-mode.
7457 (ispell-message): Remove unused var `skip-regexp'.
7458 (ispell-add-per-file-word-list): Use dynamic let-binding.
7459 Try and use the proper comment marker.
7461 * mail/sendmail.el: Fix commenting convention.
7462 (sendmail-send-it): Use line-beginning-position.
7464 * help-fns.el (describe-variable): Add original value, if applicable.
7466 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
7468 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
7470 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
7472 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7474 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
7475 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
7476 (smie-prec2-levels): Use them to better diagnose precedence cycles.
7477 (smie-blink-matching-check): Don't signal a mismatch if car is t.
7478 (smie-blink-matching-open): Rewrite to remove assumptions, so that
7479 something like "." can also be a closer.
7480 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
7481 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
7482 Rename internal functions to use "--". Update callers.
7484 * frame.el (make-frame-names-alist): Don't list frames on other displays.
7486 * fringe.el (fringe-styles): New var.
7487 (fringe-mode, fringe-query-style): Use it.
7489 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
7491 * progmodes/sql.el: Version 2.8
7492 (sql-login-params): Update widget structure; changes still needed.
7493 (sql-product-alist): Add :list-all and :list-table features for
7494 SQLite, Postgres and MySQL products.
7495 (sql-redirect): Handle default value.
7496 (sql-execute, sql-execute-feature): New functions.
7497 (sql-read-table-name): New function.
7498 (sql-list-all, sql-list-table): New functions. User API.
7499 (sql-mode-map, sql-interactive-mode-map): Add key definitions
7500 for above functions.
7501 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
7502 for above functions.
7503 (sql-postgres-login-params): Add user and database defaults.
7504 (sql-buffer-live-p): Bug fix.
7505 (sql-product-history): New variable.
7506 (sql-read-product): New function. Use it.
7507 (sql-set-product, sql-product-interactive): Use it.
7508 (sql-connection-history): New variable.
7509 (sql-read-connection): New function. Use it.
7510 (sql-connect): New function.
7511 (sql-for-each-login): Redesign function interface.
7512 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
7513 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
7514 (sql-comint): Check for program. Existing live buffer.
7515 (sql-comint-postgres): Add port parameter.
7517 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7519 * emacs-lisp/warnings.el: Fix commenting convention.
7520 (display-warning): Use special mode and make the buffer read-only.
7522 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
7524 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
7525 empty string when it follows a repeated or optional pattern.
7527 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7529 * indent.el (indent-according-to-mode): Apply syntax-propertize.
7530 (indent-region): Use indent-according-to-mode.
7532 2010-09-18 Eli Zaretskii <eliz@gnu.org>
7534 * fringe.el (fringe-mode): Doc fix.
7536 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
7538 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
7539 refreshing the preview buffer.
7541 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7543 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
7544 (latex-syntax-propertize-rules): New consts; replace
7545 tex-font-lock-syntactic-keywords.
7546 (tex-env-mark, latex-env-before-change): New functions.
7547 (latex-electric-env-pair-mode): New minor mode.
7548 (tex-font-lock-verb): Change arguments; do move point.
7549 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
7550 representation as a form of comment.
7551 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
7552 (doctex-syntax-propertize-rules): New const; replaces
7553 doctex-font-lock-syntactic-keywords.
7554 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
7556 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
7557 (fortran-make-syntax-propertize-function): New function; replaces
7558 fortran-font-lock-syntactic-keywords.
7559 (fortran-mode): Use it.
7560 (fortran-line-length): Use it. Improve interactive spec.
7562 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
7563 (syntax-propertize-rules): Add var-ref case. Fix offset computation
7564 when adding surrounding \(..\).
7566 * progmodes/js.el (js-mode): Fix last change (bug#7054).
7568 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7570 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
7571 Use with-current-buffer.
7573 * isearch.el (isearch-face): Rename from `isearch'.
7574 (isearch-highlight): Use new name.
7576 2010-09-17 Eli Zaretskii <eliz@gnu.org>
7578 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
7579 5, for `half' width fringes. (Bug#6933)
7581 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7583 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
7584 (byte-compile-defvar): "foo/bar" does not lack a prefix.
7586 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
7588 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
7590 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
7591 in calculating new frame position. Add more space between new and
7592 parent on the left (Bug#7048).
7594 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
7596 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
7599 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
7601 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
7603 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
7604 obsolete alias for x-selection-value.
7606 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
7608 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
7610 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
7613 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
7615 * net/tramp-compat.el (tramp-compat-with-temp-message)
7616 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
7617 (tramp-compat-process-put): New defuns.
7619 * net/tramp.el (top):
7620 * net/tramp-gvfs.el (top):
7621 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
7623 * net/tramp.el (tramp-progress-reporter-update):
7624 Use `tramp-compat-funcall'.
7626 * net/tramp.el (tramp-process-actions):
7627 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7628 * net/tramp-sh.el (tramp-handle-vc-registered)
7629 (tramp-get-remote-stat, tramp-get-remote-readlink):
7630 Use `tramp-compat-with-temp-message'.
7632 * net/tramp-sh.el (top): Require 'cl.
7633 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
7634 (tramp-open-connection-setup-interactive-shell):
7635 Use `tramp-compat-process-put'.
7637 2010-09-15 Alan Mackenzie <acm@muc.de>
7639 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
7641 (c-forward-<>-arglist-recur): Fix an infinite recursion.
7643 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
7645 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
7646 `lexical' for warnings related to lexical scoping.
7647 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
7648 global vars which don't have a prefix and could hence affect lexical
7649 scoping in unrelated files.
7651 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7653 * net/imap.el: Revert back to version
7654 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
7657 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
7659 * obsolete/old-whitespace.el (whitespace-unload-function):
7660 Explicitly pass `obarray' to `unintern' to avoid a warning.
7662 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7664 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
7665 Add `when' argument. Update callers.
7667 * subr.el (unintern): Declare the obarray arg mandatory.
7669 2010-09-14 Glenn Morris <rgm@gnu.org>
7671 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
7674 * calendar/diary-lib.el (diary-included-files): New variable.
7675 (diary-list-entries): Maybe initialize diary-included-files.
7676 (diary-include-other-diary-files): Append to diary-included-files.
7677 * calendar/appt.el (appt-update-list): Also check the members of
7678 diary-included-files. (Bug#6999)
7679 (appt-check): Doc fix.
7681 2010-09-14 David Reitter <david.reitter@gmail.com>
7683 * simple.el (line-move-visual): Do not truncate goal column to
7684 integer size. (Bug#7020)
7686 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7688 * repeat.el (repeat): Allow repeating when the last event is a click.
7689 Suggested by Drew Adams (bug#6256).
7691 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
7693 * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
7694 Replace setting HGRCPATH to "" by some less invasive --config options.
7696 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7698 * font-lock.el (font-lock-beginning-of-syntax-function):
7701 2010-09-14 Glenn Morris <rgm@gnu.org>
7703 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
7704 and tool-bar modes. (Bug#6211)
7705 (menu-bar-mode): Move setting of standard-value after the
7706 minor-mode definition, otherwise it seems to have no effect.
7708 2010-09-14 Masatake YAMATO <yamato@redhat.com>
7710 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
7711 Fix typo. (Bug#6976)
7713 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7715 * whitespace.el: Allow cleaning up blanks without blank
7716 visualization (Bug#6651). Adjust help window for
7717 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7718 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
7719 (whitespace-style): Add new value 'face. Adjust docstring.
7720 (whitespace-space, whitespace-hspace, whitespace-tab):
7721 Adjust foreground property face.
7722 (whitespace-line-column): Adjust docstring and type declaration.
7723 (whitespace-style-value-list, whitespace-toggle-option-alist)
7724 (whitespace-help-text): Adjust const initialization.
7725 (whitespace-toggle-options, global-whitespace-toggle-options):
7727 (whitespace-display-window, whitespace-interactive-char)
7728 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7729 (whitespace-help-scroll): New fun.
7731 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
7733 * calendar/time-date.el (format-seconds): Comment fix.
7735 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
7737 * progmodes/sql.el: Version 2.7.
7738 (sql-buffer-live-p): Improve detection.
7739 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7740 (sql-set-sqli-buffer): Use it.
7741 (sql-product-interactive): Run `sql-set-sqli-hook'.
7742 (sql-rename-buffer): Code cleanup.
7743 (sql-redirect, sql-redirect-value): New functions. More to come.
7745 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
7747 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.
7748 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7749 (TRAMP_SRC): New macro.
7750 ($(lisp)/net/tramp-loaddefs.el): New target.
7752 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
7754 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
7756 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
7758 * net/tramp.el (top): Don't show loading message. Require just
7759 'tramp-compat, everything else is required there.
7760 Use `ignore-errors' where appropriate.
7761 (tramp-inline-compress-start-size, tramp-copy-size-limit)
7762 (tramp-terminal-type, tramp-end-of-output)
7763 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
7764 (tramp-completion-function-alist-ssh)
7765 (tramp-completion-function-alist-telnet)
7766 (tramp-completion-function-alist-su)
7767 (tramp-completion-function-alist-putty, tramp-remote-path)
7768 (tramp-remote-process-environment, tramp-sh-extra-args)
7769 (tramp-actions-before-shell, tramp-uudecode)
7770 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
7771 (tramp-perl-file-attributes)
7772 (tramp-perl-directory-files-and-attributes)
7773 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
7774 (tramp-perl-encode, tramp-perl-decode)
7775 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
7776 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
7777 (tramp-handle-make-symbolic-link, tramp-handle-load)
7778 (tramp-handle-file-name-as-directory)
7779 (tramp-handle-file-name-directory)
7780 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
7781 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
7782 (tramp-do-file-attributes-with-ls)
7783 (tramp-do-file-attributes-with-perl)
7784 (tramp-do-file-attributes-with-stat)
7785 (tramp-handle-set-visited-file-modtime)
7786 (tramp-handle-verify-visited-file-modtime)
7787 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
7788 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
7789 (tramp-handle-file-selinux-context)
7790 (tramp-handle-set-file-selinux-context)
7791 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
7792 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
7793 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
7794 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
7795 (tramp-handle-file-ownership-preserved-p)
7796 (tramp-handle-directory-file-name, tramp-handle-directory-files)
7797 (tramp-handle-directory-files-and-attributes)
7798 (tramp-do-directory-files-and-attributes-with-perl)
7799 (tramp-do-directory-files-and-attributes-with-stat)
7800 (tramp-handle-file-name-all-completions)
7801 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
7802 (tramp-handle-copy-file, tramp-handle-copy-directory)
7803 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
7804 (tramp-do-copy-or-rename-file-via-buffer)
7805 (tramp-do-copy-or-rename-file-directly)
7806 (tramp-do-copy-or-rename-file-out-of-band)
7807 (tramp-handle-make-directory, tramp-handle-delete-directory)
7808 (tramp-handle-delete-file)
7809 (tramp-handle-dired-recursive-delete-directory)
7810 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
7811 (tramp-handle-insert-directory)
7812 (tramp-handle-unhandled-file-name-directory)
7813 (tramp-handle-expand-file-name)
7814 (tramp-handle-substitute-in-file-name)
7815 (tramp-handle-executable-find, tramp-process-sentinel)
7816 (tramp-handle-start-file-process, tramp-handle-process-file)
7817 (tramp-handle-call-process-region, tramp-handle-shell-command)
7818 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7819 (tramp-handle-insert-file-contents)
7820 (tramp-handle-insert-file-contents-literally)
7821 (tramp-handle-find-backup-file-name)
7822 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7823 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7824 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7825 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7826 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7827 (tramp-find-file-exists-command, tramp-open-shell)
7828 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7829 (tramp-open-connection-setup-interactive-shell)
7830 (tramp-local-coding-commands, tramp-remote-coding-commands)
7831 (tramp-find-inline-encoding, tramp-call-local-coding-command)
7832 (tramp-inline-compress-commands, tramp-find-inline-compress)
7833 (tramp-compute-multi-hops, tramp-maybe-open-connection)
7834 (tramp-send-command, tramp-wait-for-output)
7835 (tramp-send-command-and-check, tramp-barf-unless-okay)
7836 (tramp-send-command-and-read, tramp-mode-string-to-int)
7837 (tramp-convert-file-attributes, tramp-check-cached-permissions)
7838 (tramp-file-mode-from-int, tramp-file-mode-permissions)
7839 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7840 (tramp-method-out-of-band-p, tramp-local-host-p)
7841 (tramp-get-remote-path, tramp-get-remote-tmpdir)
7842 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7843 (tramp-get-test-command, tramp-get-test-nt-command)
7844 (tramp-get-file-exists-command, tramp-get-remote-ln)
7845 (tramp-get-remote-perl, tramp-get-remote-stat)
7846 (tramp-get-remote-readlink, tramp-get-remote-trash)
7847 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7848 (tramp-get-local-uid, tramp-get-local-gid)
7849 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7851 (tramp-methods, tramp-default-method-alist)
7852 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7853 Move initialization to tramp-sh.el.
7854 (tramp-temp-name-prefix): Make it a defconst.
7855 (tramp-dissect-file-name): Don't check anymore for multi-hop
7857 (tramp-debug-outline-regexp): Add a docstring.
7858 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7859 (tramp-get-debug-buffer): Use it.
7861 * net/tramp-cache.el (top): Set tramp-autoload cookie for
7862 initialization forms.
7863 (tramp-set-connection-property): Don't protect `tramp-message'
7864 call, it isn't necessary any longer.
7865 (tramp-dump-connection-properties): Use `ignore-errors'.
7867 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7868 'password-cache and 'auth-source.
7870 * net/tramp-gvfs.el (top):
7871 * net/tramp-smb.el (top): Require 'tramp-sh.
7873 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7875 * net/tramp-sh.el: New file, derived from tramp.el.
7876 (top): Initialize `tramp-methods', `tramp-default-method-alist',
7877 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7878 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7879 Use `ignore-errors' where appropriate.
7880 (tramp-sh-file-name-handler-alist): Rename from
7881 `tramp-file-name-handler-alist'.
7882 (tramp-send-command-and-check): Return t or nil. Remove all
7883 `zerop' checks, where called.
7884 (tramp-handle-set-file-modes)
7885 (tramp-do-copy-or-rename-file-directly)
7886 (tramp-handle-delete-directory, tramp-handle-delete-file)
7887 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7888 (tramp-sh-file-name-handler, tramp-send-command-and-check)
7889 (tramp-get-remote-ln): Set tramp-autoload cookie.
7891 * net/tramp-fish.el: Remove file.
7893 2010-09-13 Daiki Ueno <ueno@unixuser.org>
7895 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7896 buffer-file-name to avoid file-locking. (Bug#7026)
7898 2010-09-13 Julien Danjou <julien@danjou.info>
7900 * notifications.el (notifications-notify): Add support for
7901 image-path and sound-name.
7902 (notifications-specification-version): Add this variable.
7904 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7906 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7908 2010-09-12 Leo <sdl.web@gmail.com>
7910 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7911 (rcirc-completion-start): New variables.
7912 (rcirc-nick-completions): Rename to rcirc-completions.
7913 (rcirc-nick-completion-start-offset): Delete.
7914 (rcirc-completion-at-point): New function for constructing
7915 completion data for both nicks and irc commands. Add to
7916 completion-at-point-functions in rcirc mode.
7917 (rcirc-complete): Rename from rcirc-nick-complete; use
7918 rcirc-completion-at-point.
7919 (defun-rcirc-command): Update rcirc-client-commands.
7921 2010-09-11 Glenn Morris <rgm@gnu.org>
7923 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7924 atomically, to avoid parallel build errors. (Bug#4196)
7926 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
7928 * progmodes/sql.el: Version 2.6
7929 (sql-dialect): Synonym for "sql-product".
7930 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7931 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7932 Set "sql-buffer" to buffer name not buffer object so multiple sql
7933 interactive buffers work properly. Reverts misguided changes in
7935 (sql-comint): Make sure different buffer name is used if "*SQL*"
7936 buffer is for a different product.
7937 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7939 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7940 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7941 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7942 Accept new buffer name or prompt for one.
7943 (sql-port): Default to zero.
7944 (sql-comint-mysql): Handle "sql-port" as a numeric.
7945 (sql-port-history): Delete unused variable.
7946 (sql-get-login): Default "sql-port" to a number.
7947 (sql-product-alist): Correct Postgres prompt and terminator regexp.
7948 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7949 "sqlite3" executables.
7950 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7951 (sql-buffer-live-p): New function.
7952 (sql-mode-menu, sql-send-string): Use it.
7953 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7955 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7956 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7958 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7960 * net/netrc.el (netrc-credentials): New convenience function.
7962 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7964 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7965 to replace texinfo-font-lock-syntactic-keywords.
7966 (texinfo-mode): Use it.
7968 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7969 Use syntax-propertize-function.
7971 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7972 replace sgml-font-lock-syntactic-keywords.
7973 (sgml-mode): Use it.
7975 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7976 since we don't use it.
7978 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7980 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7982 (vhdl-fontify-buffer): Adjust.
7984 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7985 replace tcl-font-lock-syntactic-keywords.
7988 * progmodes/simula.el (simula-syntax-propertize-function): New var to
7989 replace simula-font-lock-syntactic-keywords.
7990 (simula-mode): Use it.
7992 * progmodes/sh-script.el (sh-st-symbol): Remove.
7993 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7994 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7995 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7996 (sh-font-lock-paren): Set syntax-multiline.
7997 (sh-font-lock-syntactic-keywords): Remove.
7998 (sh-syntax-propertize-function): New function to replace it.
8001 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
8002 Define while compiling.
8003 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
8004 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
8005 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
8006 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
8007 (ruby-here-doc-end-syntax): Only define when
8008 syntax-propertize is not available.
8009 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
8011 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
8012 (electric-indent-chars): Silence bytecompiler.
8013 (ruby-mode): Use prog-mode, syntax-propertize-function, and
8014 electric-indent-chars.
8016 * progmodes/python.el (python-syntax-propertize-function): New var to
8017 replace python-font-lock-syntactic-keywords.
8018 (python-mode): Use it.
8019 (python-quote-syntax): Simplify and adjust to new use.
8021 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
8022 replace perl-font-lock-syntactic-keywords.
8023 (perl-syntax-propertize-special-constructs): New fun to replace
8024 perl-font-lock-special-syntactic-constructs.
8025 (perl-font-lock-syntactic-face-function): New fun.
8026 (perl-mode): Use it.
8028 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
8029 to replace octave-font-lock-close-quotes.
8030 (octave-syntax-propertize-function): New function to replace
8031 octave-font-lock-syntactic-keywords.
8032 (octave-mode): Use it.
8034 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
8035 replaces mixal-font-lock-syntactic-keywords.
8036 (mixal-mode): Use it.
8038 * progmodes/make-mode.el (makefile-syntax-propertize-function):
8039 New var; replaces makefile-font-lock-syntactic-keywords.
8040 (makefile-mode): Use it.
8041 (makefile-imake-mode): Adjust.
8043 * progmodes/js.el (js--regexp-literal): Define while compiling.
8044 (js-syntax-propertize-function): New var; replaces
8045 js-font-lock-syntactic-keywords.
8048 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
8049 replaces gdb-script-font-lock-syntactic-keywords.
8050 (gdb-script-mode): Use it.
8052 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
8053 (fortran--font-lock-syntactic-keywords): New var.
8054 (fortran-line-length): Update syntax-propertize-function and
8055 fortran--font-lock-syntactic-keywords.
8057 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
8059 * progmodes/cfengine.el (cfengine-mode):
8060 Use syntax-propertize-function.
8061 (cfengine-font-lock-syntactic-keywords): Remove.
8063 * progmodes/autoconf.el (autoconf-mode):
8064 Use syntax-propertize-function.
8065 (autoconf-font-lock-syntactic-keywords): Remove.
8067 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
8068 (ada-after-change-function, ada-initialize-syntax-table-properties)
8069 (ada-handle-syntax-table-properties): Only define when
8070 syntax-propertize is not available.
8071 (ada-mode): Use syntax-propertize-function.
8073 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
8074 (font-lock-fontify-syntactic-keywords-region): Move handling of
8075 font-lock-syntactically-fontified to...
8076 (font-lock-default-fontify-region): ...here.
8077 Let syntax-propertize-function take precedence.
8078 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
8080 * emacs-lisp/syntax.el (syntax-propertize-function)
8081 (syntax-propertize-chunk-size, syntax-propertize--done)
8082 (syntax-propertize-extend-region-functions): New vars.
8083 (syntax-propertize-wholelines, syntax-propertize-multiline)
8084 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
8085 (syntax-propertize): New functions.
8086 (syntax-propertize-rules): New macro.
8087 (syntax-ppss-flush-cache): Set syntax-propertize--done.
8088 (syntax-ppss): Call syntax-propertize.
8090 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
8092 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
8094 * textmodes/ispell.el (ispell-init-process): Improve comments.
8095 XEmacs compatibility changes regarding (add-hook) 'local option
8096 and (set-process-query-on-exit-flag).
8098 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
8100 * net/tramp-cache.el (tramp-parse-connection-properties):
8101 Set tramp-autoload cookie.
8103 2010-09-09 Glenn Morris <rgm@gnu.org>
8105 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
8106 (imagemagick-register-types): Doc fix.
8108 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
8110 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
8112 * progmodes/js.el (require): Require is already "eval-and-compile".
8113 (js--re-search-forward): Avoid `eval'. Preserve the error data.
8114 (js--re-search-backward): Use js--re-search-forward.
8116 * progmodes/fortran.el (fortran-line-length): Don't recompute
8117 syntactic keywords redundantly a second time.
8119 * progmodes/ada-mode.el: Replace "(set '" with setq.
8120 (ada-mode): Simplify.
8121 (ada-create-case-exception, ada-adjust-case-interactive)
8122 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
8123 (ada-search-ignore-string-comment, ada-move-to-start)
8124 (ada-move-to-end): Use with-syntax-table.
8126 * font-lock.el (save-buffer-state): Remove `varlist' arg.
8127 (font-lock-unfontify-region, font-lock-default-fontify-region):
8128 Update usage correspondingly.
8129 (font-lock-fontify-syntactic-keywords-region):
8130 Set parse-sexp-lookup-properties buffer-locally here.
8131 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
8133 * simple.el (blink-matching-open): Don't burp if we can't find a match.
8135 2010-09-08 Glenn Morris <rgm@gnu.org>
8137 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
8138 Error if not compiled with -DBYTE_CODE_METER.
8140 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8141 Ignore dir-locals-file.
8143 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
8145 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8147 (compilation-error-regexp-alist-alist): Rule out ": " in file names
8148 for the `gnu' messages.
8149 (compilation-set-skip-threshold): New command.
8150 (compilation-start): Use \' rather than $.
8151 (compilation-forget-errors): Use clrhash.
8153 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
8155 * textmodes/ispell.el (ispell-valid-dictionary-list):
8158 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
8160 Migrate to Tramp 2.2. Rearrange load dependencies.
8161 (Bug#1529, Bug#5448, Bug#5705)
8163 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
8164 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
8165 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
8167 * net/tramp.el (top): Remove all other tramp-* loads except
8168 tramp-compat.el. Remove all changes to tramp-unload-hook for
8169 other tramp-* packages. Rearrange defun order. Change calls of
8170 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
8171 `tramp-compat-octal-to-decimal' to new function names.
8172 (tramp-terminal-type, tramp-initial-end-of-output)
8173 (tramp-methods, tramp-foreign-file-name-handler-alist)
8174 (tramp-tramp-file-p, tramp-completion-mode-p)
8175 (tramp-send-command-and-check, tramp-get-remote-path)
8176 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
8177 (tramp-shell-quote-argument): Set tramp-autoload cookie.
8178 (with-file-property, with-connection-property): Move to
8180 (tramp-local-call-process, tramp-decimal-to-octal)
8181 (tramp-octal-to-decimal): Move to tramp-compat.el.
8182 (tramp-handle-shell-command): Do not require 'shell.
8183 (tramp-compute-multi-hops): No special handling for tramp-gw-*
8185 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
8187 * net/tramp-cache.el (top): Require 'tramp. Add to
8188 `tramp-unload-hook'.
8189 (tramp-cache-data, tramp-get-file-property)
8190 (tramp-set-file-property, tramp-flush-file-property)
8191 (tramp-flush-directory-property, tramp-get-connection-property)
8192 (tramp-set-connection-property, tramp-flush-connection-property)
8193 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
8195 (with-file-property, with-connection-property): New defuns, moved
8197 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
8200 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
8201 (tramp-version): Set tramp-autoload cookie.
8203 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
8204 changes to tramp-unload-hook for other tramp-* packages. Add to
8205 `tramp-unload-hook'.
8206 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
8207 (tramp-compat-call-process): New defuns, moved from tramp.el.
8209 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
8210 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8211 Add to `tramp-unload-hook'. Change call of
8212 `tramp-compat-decimal-to-octal' to new function name.
8213 (tramp-fish-method): Make it a defconst.
8214 (tramp-fish-file-name-p): Make it a defsubst.
8215 (tramp-fish-method, tramp-fish-file-name-handler)
8216 (tramp-fish-file-name-p): Set tramp-autoload cookie.
8218 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
8219 `tramp-foreign-file-name-handler-alist'. Add to
8220 `tramp-unload-hook'.
8221 (tramp-ftp-method): Make it a defconst.
8222 (tramp-ftp-file-name-p): Make it a defsubst.
8223 (tramp-ftp-method, tramp-ftp-file-name-handler)
8224 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
8226 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
8227 `tramp-foreign-file-name-handler-alist'. Add to
8228 `tramp-unload-hook'. Change checks, whether package can be
8230 (tramp-gvfs-file-name-p): Make it a defsubst.
8231 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
8232 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
8233 (tramp-gvfs-handle-file-directory-p): New defun.
8234 (tramp-gvfs-file-name-handler-alist): Use it.
8236 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
8237 `tramp-foreign-file-name-handler-alist'. Add to
8238 `tramp-unload-hook'.
8239 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
8240 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
8242 (tramp-gw-tunnel-method, tramp-gw-socks-method)
8243 (tramp-gw-open-connection): Set tramp-autoload cookie.
8245 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
8246 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8247 Add to `tramp-unload-hook'. Change checks, whether package can be
8249 (tramp-imap-file-name-p): Make it a defsubst.
8250 (tramp-imap-method, tramp-imaps-method)
8251 (tramp-imap-file-name-handler)
8252 (tramp-imap-file-name-p): Set tramp-autoload cookie.
8254 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
8255 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8256 Add to `tramp-unload-hook'. Change checks, whether package can be
8257 loaded. Change call of `tramp-compat-decimal-to-octal' to new
8259 (tramp-smb-tunnel-method): Make it a defconst.
8260 (tramp-smb-file-name-p): Make it a defsubst.
8261 (tramp-smb-method, tramp-smb-file-name-handler)
8262 (tramp-smb-file-name-p): Set tramp-autoload cookie.
8264 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
8265 (tramp-uuencode-region): Set tramp-autoload cookie.
8267 * net/trampver.el (top) Add to `tramp-unload-hook'.
8268 (tramp-version, tramp-bug-report-address): Set tramp-autoload
8269 cookie. Update release number.
8271 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
8273 * textmodes/ispell.el (ispell-start-process): Make sure original
8274 arg list is properly initialized (Bug#6993, Bug#6994).
8276 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8278 * files.el (directory-abbrev-alist): Use \` as default regexp.
8280 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
8281 chars like - or ] (bug#6984).
8282 (rx-any-condense-range): Explode 2-char ranges.
8284 2010-09-06 Glenn Morris <rgm@gnu.org>
8286 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
8288 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8290 * textmodes/bibtex.el:
8291 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
8293 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8295 * net/imap.el (imap-message-map): Remove optional buffer parameter,
8296 since no callers use it.
8297 (imap-message-get): Ditto.
8298 (imap-message-put): Ditto.
8299 (imap-mailbox-map): Ditto.
8300 (imap-mailbox-put): Ditto.
8301 (imap-mailbox-get): Ditto.
8302 (imap-mailbox-get): Revert last change for this function.
8304 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8306 * net/imap.el (imap-fetch-safe): Remove function, and alter all
8307 callers to use `imap-fetch' instead. According to the comments, this
8308 should be safe, since all other IMAP clients use the 1:* syntax.
8309 (imap-enable-exchange-bug-workaround): Remove.
8310 (imap-debug): Remove -- doesn't seem very useful.
8312 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8314 * net/imap.el (imap-log): New convenience function used throughout
8315 instead of repeating the same code all over the place.
8317 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
8319 * mouse.el (mouse-save-then-kill): Save region to kill-ring
8320 when mouse-drag-copy-region is non-nil (Bug#6956).
8322 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
8324 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
8325 Improve regexps (Bug#6987).
8326 (dired-sort-toggle): Search more robustly for -t flag.
8328 * files.el (get-free-disk-space): Search more robustly for
8329 "available" column. Suggested by Ehud Karni
8330 <ehud@unix.mvs.co.il>.
8332 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
8334 * international/uni-bidi.el:
8335 * international/uni-category.el:
8336 * international/uni-combining.el:
8337 * international/uni-decimal.el:
8338 * international/uni-mirrored.el:
8339 * international/uni-name.el: Regenerate.
8341 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8343 * electric.el (electric-indent-post-self-insert-function):
8344 Don't reindent with a sloppy indentation function.
8346 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
8347 border case in change-log-mode.
8349 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
8351 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8352 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
8353 Recognize leading tab in gcc-include regexp. Ignore names with
8354 leading "from" or "in" in gnu regexp (Bug#6937).
8356 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8358 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
8359 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
8360 (ispell-start-process): Avoid setq and simplify logic.
8361 (ispell-init-process): Setup kill-buffer-hook locally when needed.
8362 (kill-buffer-hook): Don't use it globally with code that uses
8363 expand-file-name since that may call kill-buffer via
8364 code_conversion_restore.
8366 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
8368 * emacs-lisp/package.el (package-directory-list): Only call
8369 file-name-nondirectory on a string.
8371 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
8373 * emacs-lisp/package.el (package--download-one-archive):
8374 Ensure that archive-contents is valid before saving it.
8375 (package-activate-1, package-mark-obsolete, define-package)
8376 (package-compute-transaction, package-list-maybe-add): Use push.
8378 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8380 Use SMIE's blink-paren for octave-mode.
8381 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
8382 Backslashes do not escape single-quotes, single-quotes do.
8383 (octave-block-else-regexp, octave-block-end-regexp)
8384 (octave-block-match-alist): Remove.
8385 (octave-smie-bnf-table): New var, with old content.
8386 (octave-smie-op-levels): Use it.
8387 (octave-smie-closer-alist): New var.
8388 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
8389 (octave-blink-matching-block-open): Remove.
8390 (octave-reindent-then-newline-and-indent, octave-electric-semi)
8391 (octave-electric-space): Let self-insert-command run expand-abbrev and
8394 * electric.el (electricity): New group.
8395 (electric-indent-chars): New var.
8396 (electric-indent-post-self-insert-function): New fun.
8397 (electric-indent-mode): New minor mode.
8398 (electric-pair-skip-self): New custom.
8399 (electric-pair-post-self-insert-function): New function.
8400 (electric-pair-mode): New minor mode.
8402 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
8403 calcAlg-blink-matching-open.
8404 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
8405 (calc-do-alg-entry): Only touch the part of the keymap that varies.
8406 Use the new blink-matching-check-function.
8408 Provide blink-matching support to SMIE.
8409 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
8410 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
8411 (smie-blink-matching-check, smie-blink-matching-open): New functions.
8413 * simple.el (newline): Fix last change to properly remove itself from
8416 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8418 * simple.el (newline): Eliminate optimization.
8419 Use post-self-insert-hook to set hard-newline and things before
8420 running post-self-insert-hook.
8421 (blink-matching-check-mismatch): New function.
8422 (blink-matching-check-function): New variable.
8423 (blink-matching-open): Use them.
8424 Skip back forward over prefix chars skipped by forward-sexp.
8425 Don't check if the parens are backslash escaped.
8426 (blink-paren-post-self-insert-function): Check backslash escaping here.
8428 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
8430 * emacs-lisp/package.el (package-menu-mode-map):
8431 Change package-menu-revert bindings to revert-buffer.
8432 (package-menu-mode): Set revert-buffer-function.
8433 (package-menu-revert): Doc fix.
8435 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
8437 * textmodes/ispell.el (ispell-init-process): Use "~/" as
8438 `default-directory' unless using Ispell per-directory personal
8439 dictionaries and not in a mini-buffer under XEmacs.
8440 (kill-buffer-hook): Do not kill ispell process on exit when
8441 `ispell-process-directory' is "~/". (Bug#6143)
8443 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
8445 * simple.el (kill-new): Call interprogram-cut-function with only
8448 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
8449 Remove cut buffer from error message.
8451 * term/x-win.el (x-select-text):
8452 * term/pc-win.el (x-selection-value):
8453 * term/ns-win.el (x-selection-value):
8454 * eshell/em-term.el:
8455 * w32-fns.el (x-get-selection-value):
8456 * mouse-sel.el (mouse-sel-set-selection-function):
8457 * frame.el (display-selections-p): Remove cut-buffer in documentation.
8459 * term/x-win.el: Update documentation for x-last-selected-text-*.
8460 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
8461 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
8462 (x-select-text): Remove argument PUSH, update documentation.
8463 Remove cut-buffer code.
8464 (x-selection-value-internal): Was previously x-selection-value.
8465 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8466 Update documentation, remove cut-buffer code.
8467 Call x-selection-value-internal.
8468 (x-clipboard-yank): Call x-selection-value-internal.
8469 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
8471 * term/pc-win.el (x-last-selected-text):
8472 x-cut-buffer-or-selection-value renamed to x-selection-value
8473 (x-select-text): Remove argument PUSH, update documentation.
8475 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
8476 x-cut-buffer-or-selection-value renamed to x-selection-value
8477 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8478 (x-select-text): Remove argument PUSH, update documentation.
8480 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
8482 * w32-fns.el (x-last-selected-text):
8483 x-cut-buffer-or-selection-value renamed to x-selection-value.
8484 (x-cut-buffer-max): Remove.
8485 (x-select-text): Remove argument PUSH, update documentation.
8487 * simple.el (interprogram-cut-function): Remove mention of PUSH.
8489 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
8491 * mouse-sel.el (mouse-sel-get-selection-function):
8492 x-cut-buffer-or-selection-value renamed to x-selection-value.
8493 (x-select-text): Remove optional push.
8495 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8497 * simple.el (blink-paren-function): Move from C to here.
8498 (blink-paren-post-self-insert-function): New function.
8499 (post-self-insert-hook): Use it.
8501 * emacs-lisp/pcase.el (pcase-split-memq):
8502 Fix overenthusiastic optimisation.
8503 (pcase-u1): Handle the case of a lambda pred.
8505 2010-08-31 Kenichi Handa <handa@m17n.org>
8507 * international/mule-cmds.el (standard-display-european-internal):
8508 Setup standard-display-table for 8-bit characters by storing 8-bit
8509 characters in the element vector.
8511 * disp-table.el (standard-display-8bit):
8512 Setup standard-display-table for 8-bit characters by storing 8-bit
8513 characters in the element vector.
8514 (standard-display-european): Likewise.
8516 2010-08-31 Masatake YAMATO <yamato@redhat.com>
8518 * textmodes/nroff-mode.el (nroff-view): New command.
8519 (nroff-mode-map): Bind it to C-c C-c.
8521 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
8523 * emacs-lisp/smie.el (smie-down-list): New command.
8525 Remove old indentation and navigation code on octave-mode.
8526 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
8527 smie-down-list rather than add a binding for octave-down-block.
8528 (octave-mark-block, octave-blink-matching-block-open):
8529 Rely on forward-sexp-function.
8530 (octave-fill-paragraph): Don't narrow, so you can use
8531 indent-according-to-mode.
8532 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
8533 (octave-in-block-p, octave-re-search-forward-kw)
8534 (octave-re-search-backward-kw, octave-indent-calculate)
8535 (octave-end-as-array-index-p, octave-block-end-offset)
8536 (octave-scan-blocks, octave-forward-block, octave-backward-block)
8537 (octave-down-block, octave-backward-up-block, octave-up-block)
8538 (octave-before-magic-comment-p, octave-indent-line): Remove.
8540 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
8542 * emacs-lisp/package.el (package--read-archive-file): Just use
8543 `read', to avoid copying an additional string.
8544 (package-menu-mode): Set header-line-format here.
8545 (package-menu-refresh, package-menu-revert): Signal an error if
8546 not in the Package Menu.
8547 (package-menu-package-list): New var.
8548 (package--generate-package-list): Operate on the current buffer;
8549 don't assume that it is *Packages*, since the user may rename it.
8550 Allow persistent package listings and sort keys using
8551 package-menu-package-list and package-menu-package-sort-key.
8552 (package-menu--version-predicate): Fix version calculation.
8553 (package-menu-sort-by-column): Don't select the window.
8554 (package--list-packages): Create the *Packages* buffer.
8555 Set package-menu-package-list-key.
8556 (list-packages): Sorting by status is now the default.
8557 (package-buffer-info): Use match-string-no-properties.
8558 (define-package): Add a &rest argument for future proofing, but
8560 (package-install-from-buffer, package-install-buffer-internal):
8561 Merge into a single function, package-install-from-buffer.
8562 (package-install-file): Change caller.
8564 * finder.el: Load finder-inf using `require'.
8565 (finder-list-matches): Sorting by status is now the default.
8566 (finder-compile-keywords): Simpify printing.
8568 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8570 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8571 (octave-mode-map): Remove special bindings for forward/backward-block
8572 and octave-backward-up-block. Use smie-close-block.
8573 (octave-continuation-marker-regexp): New var.
8574 (octave-continuation-regexp): Use it.
8575 (octave-operator-table, octave-smie-op-levels)
8576 (octave-operator-regexp, octave-smie-indent-rules): New vars.
8577 (octave-smie-backward-token, octave-smie-forward-token): New funs.
8578 (octave-mode): Use SMIE.
8579 (octave-close-block): Delete.
8581 2010-08-30 Eli Zaretskii <eliz@gnu.org>
8583 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
8584 CLIPBOARD, not in PRIMARY. (Bug#6944)
8586 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8588 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
8590 (smie-indent-column): Allow indirection through variables.
8592 * composite.el (save-buffer-state): Delete, unused.
8593 * font-lock.el (save-buffer-state): Use with-silent-modifications.
8594 (font-lock-default-fontify-region): Use with-syntax-table.
8595 * jit-lock.el (with-buffer-unmodified): Remove.
8596 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
8598 Use `declare' in defmacros.
8599 * window.el (save-selected-window):
8600 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
8601 * progmodes/python.el (def-python-skeleton):
8602 * net/dbus.el (dbus-ignore-errors):
8603 * jka-cmpr-hook.el (with-auto-compression-mode):
8604 * international/mule.el (with-category-table):
8605 * emacs-lisp/timer.el (with-timeout):
8606 * emacs-lisp/lisp-mnt.el (lm-with-file):
8607 * emacs-lisp/eieio.el (with-slots):
8608 * emacs-lisp/easymenu.el (easy-menu-define):
8609 * emacs-lisp/debug.el (debugger-env-macro):
8610 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
8611 (Multiple-value-call, Multiple-value-prog1):
8612 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
8613 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
8614 edebug rule to definition.
8615 * emacs-lisp/lisp-mode.el (save-selected-window)
8616 (with-current-buffer, combine-after-change-calls)
8617 (with-output-to-string, with-temp-file, with-temp-buffer)
8618 (with-temp-message, with-syntax-table, read-if, eval-after-load)
8619 (dolist, dotimes, when, unless):
8620 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
8622 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8624 * finder.el: Require `package'.
8625 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
8626 (finder-package-info): Var deleted.
8627 (finder-keywords-hash, finder--builtins-alist): New vars.
8628 (finder-compile-keywords): Compute package--builtins and
8629 finder-keywords-hash instead of finder-keywords-hash, respecting
8630 the "Package" header.
8631 (finder-unknown-keywords, finder-list-matches):
8632 Use finder-keywords-hash and package--list-packages.
8633 (finder-mode): Don't set font-lock-defaults.
8634 (finder-exit): We don't use "*Finder-package*" and "*Finder
8635 Category*" buffers anymore.
8637 * emacs-lisp/package.el (package--builtins-base): Var deleted.
8638 (package--builtins): Set default value to nil.
8639 (package-initialize): Load precomputed value of package--builtins
8641 (package-alist, package-compute-transaction)
8642 (package-download-transaction): Improve docstring.
8643 (package-read-all-archive-contents): Do not change
8644 package--builtins here.
8645 (list-packages): Make package-list-packages an alias for this.
8646 Sort by status by default.
8647 (package--list-packages): Add optional PACKAGES arg.
8648 (describe-package-1): Use font-lock-face property. For built-in
8649 packages, insert file commentary.
8650 (package--generate-package-list): Rename from
8651 package-list-packages-internal; all callers changed. Add optional
8652 PACKAGES arg. Add alphabetical sort fallbacks.
8653 (package-menu--version-predicate, package-menu--status-predicate)
8654 (package-menu--description-predicate)
8655 (package-menu--name-predicate): New functions.
8657 * info.el (Info-finder-find-node): Search package-alist instead of
8658 finder-package-info.
8660 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8662 * subr.el (version-regexp-alist): Don't use "a" and "b" for
8664 (version-to-list): Handle versions like "10.3d".
8666 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8668 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
8669 (macroexp-accumulate): Use `declare'.
8671 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8673 * whitespace.el (whitespace-style): Adjust type declaration.
8675 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
8677 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
8679 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8681 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
8684 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
8686 * progmodes/js.el: Make indentation more customizable (Bug#6914).
8687 (js-paren-indent-offset, js-square-indent-offset)
8688 (js-curly-indent-offset): New options.
8689 (js--proper-indentation): Use them.
8691 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
8693 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
8694 instead of inspecting font-lock properties (Bug#6916).
8696 2010-08-26 David Reitter <david.reitter@gmail.com>
8698 * server.el (server-visit-files): Run pre-command-hook and
8699 post-command-hook for each buffer while it is current (Bug#6910).
8700 (server-execute): Do not run hooks here.
8702 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
8704 Sync with Tramp 2.1.19.
8706 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
8707 Protect deleting tmpfile.
8708 (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
8710 * net/tramp.el (tramp-handle-expand-file-name)
8711 (tramp-completion-handle-file-name-all-completions)
8712 (tramp-completion-handle-file-name-completion):
8713 Use `tramp-connectable-p'.
8715 * net/trampver.el: Update release number.
8717 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8719 * help.el (help-map): Bind `C-h P' to describe-package.
8721 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
8723 * emacs-lisp/package.el (package-refresh-contents): Catch errors
8724 when downloading archives.
8725 (describe-package-1): Add package commentary.
8726 (package-install-button-action): New function.
8727 (package-menu-mode-map): Bind ? to package-menu-describe-package.
8728 (package-menu-view-commentary): Function removed.
8729 (package-list-packages-internal): Hide the `package' package too.
8731 2010-08-25 Kenichi Handa <handa@m17n.org>
8733 * language/misc-lang.el ("Arabic"): New language environment.
8734 Setup composition-function-table for Arabic characters.
8736 * international/fontset.el (setup-default-fontset): Fix typo for
8737 arabic OTF spec (fini->fina).
8739 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
8741 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
8744 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8746 * whitespace.el: Allow cleaning up blanks without blank
8747 visualization (Bug#6651). Adjust help window for
8748 whitespace-toggle-options (Bug#6479). Allow to use fill-column
8749 instead of whitespace-line-column (from EmacsWiki). New version
8751 (whitespace-style): Add new value 'face. Adjust docstring.
8752 (whitespace-space, whitespace-hspace, whitespace-tab):
8753 Adjust foreground property face.
8754 (whitespace-line-column): Adjust docstring and type declaration.
8755 (whitespace-style-value-list, whitespace-toggle-option-alist)
8756 (whitespace-help-text): Adjust const initialization.
8757 (whitespace-toggle-options, global-whitespace-toggle-options):
8759 (whitespace-display-window, whitespace-interactive-char)
8760 (whitespace-style-face-p, whitespace-color-on): Adjust code.
8761 (whitespace-help-scroll): New fun.
8763 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8765 * emacs-lisp/package.el (list-packages): Alias for
8766 package-list-packages.
8768 2010-08-24 Kevin Ryde <user42@zip.com.au>
8770 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
8773 * progmodes/ruby-mode.el (ruby): Add defgroup.
8775 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8777 * progmodes/python.el: Add Ipython support (Bug#5390).
8778 (python-shell-prompt-alist)
8779 (python-shell-continuation-prompt-alist): New options.
8780 (python--set-prompt-regexp): New function.
8781 (inferior-python-mode, run-python, python-shell):
8782 Require ansi-color. Use python--set-prompt-regexp to set the comint
8783 prompt based on the Python interpreter.
8784 (python--prompt-regexp): New var.
8785 (python-check-comint-prompt)
8786 (python-comint-output-filter-function): Use it.
8787 (run-python): Use a pipe (Bug#5694).
8789 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
8791 * progmodes/python.el (python-send-region): Send a different
8792 Python command if Ipython is in use.
8793 (python-check-version): Use a Python command to find the version.
8795 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8797 * mouse.el (mouse-yank-primary): Avoid setting primary when
8798 deactivating the mark (Bug#6872).
8800 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
8802 * progmodes/python.el (python-block-pairs): Allow use of "finally"
8803 with "else" (Bug#3991).
8805 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
8807 * net/dbus.el: Accept UNIX domain sockets as bus address.
8808 (top): Don't initialize `dbus-registered-objects-table' anymore,
8809 this is done in dbusbind.c.
8810 (dbus-check-event): Adapt test for bus.
8811 (dbus-return-values-table, dbus-unregister-service)
8812 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
8815 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
8817 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8819 2010-08-22 Juri Linkov <juri@jurta.org>
8821 * simple.el (read-extended-command): New function with the logic
8822 for `completing-read' moved to Elisp from `execute-extended-command'.
8823 Use `function-called-at-point' in `minibuffer-default-add-function'
8824 to get a command name for M-n (bug#5364, bug#5214).
8826 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8828 * startup.el (command-line-1): Issue warning for ignored arguments
8829 --unibyte, etc (Bug#6886).
8831 2010-08-22 Leo <sdl.web@gmail.com>
8833 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8834 (ignore, bright, dim, keyword): Split list of nicknames before
8835 passing to rcirc-add-or-remove (Bug#6894).
8837 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8839 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8841 2010-08-22 Leo <sdl.web@gmail.com>
8843 Fix buffer-list rename&refresh after killing a buffer in ido.
8844 * ido.el: Revert Óscar's.
8845 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8846 Remember the buffers at head, rather than their name.
8847 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8849 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
8850 Stefan Monnier <monnier@iro.umontreal.ca>
8852 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8853 extra backslash added to each line (bug#6890).
8855 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8857 * subr.el (read-key): Don't echo keystrokes (bug#6883).
8859 2010-08-22 Glenn Morris <rgm@gnu.org>
8861 * menu-bar.el (menu-bar-games-menu): Add landmark.
8863 2010-08-22 Glenn Morris <rgm@gnu.org>
8865 * align.el (align-regexp): Make group and spacing arguments
8866 use the interactive defaults when non-interactive. (Bug#6698)
8868 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8869 expansion, so as not to need sendmail.
8870 (mail-text-start): Remove declaration.
8871 (rmail-retry-failure): Require sendmail.
8873 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8875 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8877 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
8879 * progmodes/flymake.el (flymake-start-syntax-check-process):
8880 Use `start-file-process' in order to let it run also on remote hosts.
8882 2010-08-22 Kenichi Handa <handa@m17n.org>
8884 * files.el: Add `word-wrap' as safe local variable.
8886 2010-08-22 Glenn Morris <rgm@gnu.org>
8888 * woman.el (woman-translate): Case matters. (Bug#6849)
8890 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8892 * simple.el (kill-region): Doc fix (Bug#6787).
8894 2010-08-22 Glenn Morris <rgm@gnu.org>
8896 * calendar/diary-lib.el (diary-header-line-format):
8897 Fit it to the window, not the frame.
8899 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
8901 * subr.el (ignore-errors): Add debug declaration.
8903 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
8905 * whitespace.el (whitespace-color-off): Remove post-command-hook
8908 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8910 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8912 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8914 * cus-edit.el (custom-group-value-create): Add extra newline
8915 before end line (Bug#6876).
8917 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8919 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8920 when extending it. Before killing on the second click, check if
8921 the buffer is the correct one. Doc fix.
8922 (mouse-secondary-save-then-kill): Allow usage without first
8923 calling mouse-start-secondary, by defaulting to point. Don't save
8924 an empty secondary selection. Doc fix.
8926 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8928 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
8929 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8931 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8932 Adjust initialization.
8933 (whitespace-bob-marker, whitespace-eob-marker)
8934 (whitespace-buffer-changed): New vars.
8935 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8936 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8937 (whitespace-post-command-hook, whitespace-display-char-on):
8939 (whitespace-looking-back, whitespace-buffer-changed): New funs.
8940 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8942 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8944 * files.el (locate-file-completion-table): Only list the .el and .elc
8945 extensions if there's no other choice (bug#5955).
8947 * facemenu.el (facemenu-self-insert-data): New var.
8948 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8950 (facemenu-add-face): Use them.
8952 * simple.el (blink-matching-open): Obey forward-sexp-function.
8954 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
8956 * simple.el (prog-mode-map): New var.
8957 (prog-indent-sexp): New command.
8959 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8961 * progmodes/prolog.el (smie): Require.
8963 * emacs-lisp/smie.el (smie-default-backward-token)
8964 (smie-default-forward-token): Strip properties.
8965 (smie-next-sexp): Be more careful with associative operators.
8966 (smie-forward-sexp-command): Generalize.
8967 (smie-backward-sexp-command): Simplify.
8968 (smie-closer-alist): New var.
8969 (smie-close-block): New command.
8970 (smie-indent-debug-log): New var.
8971 (smie-indent-offset-rule): Add a few more cases.
8972 (smie-indent-column): New function.
8973 (smie-indent-after-keyword): Use it.
8974 (smie-indent-keyword): Use it.
8975 Fix up the opener code's point position.
8976 (smie-indent-comment): Only applies at BOL.
8977 (smie-indent-debug): New command.
8979 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8980 declarations that are useful before running the macro.
8982 2010-08-18 Joakim Verona <joakim@verona.se>
8984 * image.el (imagemagick-types-inhibit): New variable.
8985 (imagemagick-register-types): New function.
8986 * image-mode.el (image-transform-properties): New function.
8987 (image-transform-set-scale, image-transform-fit-to-height)
8988 (image-transform-set-rotation, image-transform-set-resize)
8989 (image-transform-fit-to-width, image-transform-fit-to-height):
8991 (image-toggle-display-image): Support image transforms.
8993 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
8995 * image.el (create-animated-image): Don't add heuristic mask to image
8998 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
9000 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
9001 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
9003 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
9005 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
9007 Font-lock '...' strings, plus various simplifications and fixes.
9008 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
9009 (octave-font-lock-close-quotes): New function.
9010 (octave-font-lock-syntactic-keywords): New var.
9011 (octave-mode): Use it. Set beginning-of-defun-function.
9012 (octave-mode-map): Don't override the <foo>-defun commands.
9013 (octave-mode-menu): Pass it directly to easy-menu-define;
9014 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
9015 (octave-block-match-alist): Fix up last change so that
9016 octave-close-block uses the more specific keyword.
9017 (info-lookup-mode): Silence byte-compiler.
9018 (octave-beginning-of-defun): Not interactive any more.
9020 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
9021 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
9022 (octave-completion-at-point-function): Make sure point is within
9024 (octave-reindent-then-newline-and-indent):
9025 Use reindent-then-newline-and-indent.
9026 (octave-add-octave-menu): Remove.
9028 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
9030 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
9031 (report-emacs-bug-can-use-xdg-email): New functions.
9032 (report-emacs-bug): Set can-xdg-email to result of
9033 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
9034 \C-cm to report-emacs-bug-insert-to-mailer and add help text
9037 * net/browse-url.el (browse-url-default-browser): Add cond
9038 for browse-url-xdg-open.
9039 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
9041 2010-08-17 Glenn Morris <rgm@gnu.org>
9043 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
9044 (c-fontify-recorded-types-and-refs): Define for compiler.
9045 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
9048 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
9051 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
9053 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
9055 (tramp-handle-process-file): Call the program in a subshell, in
9056 order to preserve working directory.
9057 (tramp-action-password): Hide password prompt before next run.
9058 (tramp-process-actions): Widen connection buffer for the trace.
9060 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9062 * net/rcirc.el (rcirc-log-process-buffers): New option.
9063 (rcirc-print): Use it.
9064 (rcirc-generate-log-filename): New function.
9065 (rcirc-log-filename-function): Change default to
9066 rcirc-generate-log-filename (Bug#6828).
9068 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
9070 * simple.el (deactivate-mark): If select-active-regions is `only',
9071 only set selection for temporarily active regions.
9073 * cus-start.el: Change defcustom for select-active-regions.
9075 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
9077 * mouse.el (mouse--drag-set-mark-and-point): New function.
9078 (mouse-drag-track): Use LOCATION arg to push-mark.
9079 Use mouse--drag-set-mark-and-point to take click-count into
9080 consideration when updating point and mark (Bug#6840).
9082 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
9084 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9085 Give the Ruby rule a lower priority than Gnu (Bug#6778).
9087 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
9089 * font-lock.el (lisp-font-lock-keywords-2):
9090 Add combine-after-change-calls, condition-case-no-debug,
9091 with-demoted-errors, and with-silent-modifications (Bug#6025).
9093 2010-08-14 Kevin Ryde <user42@zip.com.au>
9095 * emacs-lisp/copyright.el (copyright-update-year)
9096 (copyright-update): Temporary switch-to-buffer to ensure the
9097 buffer change being queried is visible (Bug#5394).
9099 2010-08-14 Tom Tromey <tromey@redhat.com>
9101 * progmodes/etags.el (tags-file-name): Mark safe if stringp
9104 2010-08-14 Eli Zaretskii <eliz@gnu.org>
9106 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
9109 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
9111 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
9112 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9113 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9114 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
9115 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
9116 Call menu-bar-set-tool-bar-position.
9118 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9120 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
9121 comment style (bug#6834).
9122 * progmodes/scheme.el (scheme-mode-syntax-table):
9123 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
9124 "b" flag in "' 14b" syntax.
9126 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
9127 for (un)commenting the region and performing completion.
9128 (octave-mode-menu): Use standard commands for help and completion.
9129 (octave-mode-syntax-table): Support %{..%} comments (sort of).
9130 (octave-mode): Use define-derived-mode.
9131 Set completion-at-point-functions and don't set columns.
9132 Don't disable adaptive-fill-regexp.
9133 (octave-describe-major-mode, octave-comment-region)
9134 (octave-uncomment-region, octave-comment-indent)
9135 (octave-indent-for-comment): Remove.
9136 (octave-indent-calculate): Rename from calculate-octave-indent.
9137 (octave-indent-line, octave-fill-paragraph): Update caller.
9138 (octave-initialize-completions): No need to make an alist.
9139 (octave-completion-at-point-function): New function.
9140 (octave-complete-symbol): Use it.
9141 (octave-insert-defun): Use define-skeleton.
9143 * progmodes/octave-mod.el (octave-mode): Set comment-add.
9144 (octave-mode-map): Use comment-dwim (bug#6829).
9146 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com>
9148 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
9149 indentation of inserted comment.
9151 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
9153 * faces.el (region): Add type gtk that uses gtk colors.
9155 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
9156 Handle theme-name change.
9158 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
9160 * progmodes/sql.el: Version 2.5
9161 (sql-product-alist): Add :prompt-cont-regexp property for several
9163 (sql-prompt-cont-regexp): New variable.
9164 (sql-output-newline-count, sql-output-by-send):
9165 New variables. Record number of newlines in input text.
9166 (sql-send-string): Handle multiple filters and count newlines.
9167 (sql-send-magic-terminator): Count terminator newline.
9168 (sql-interactive-remove-continuation-prompt): Filters output to
9169 remove continuation prompts; one for each newline.
9170 (sql-interactive-mode): Set up new variables, prompt regexp and
9172 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
9173 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
9175 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9177 * emacs-lisp/pcase.el: New file.
9179 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
9181 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
9182 as here-document, otherwise the command could exceed maximum
9183 length of command line.
9184 (tramp-handle-vc-registered): Call script accordingly.
9185 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
9187 2010-08-10 Kenichi Handa <handa@m17n.org>
9189 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
9192 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
9194 * emacs-lisp/package.el (package-version-split)
9195 (package--version-first-nonzero, package-version-compare):
9197 (package-directory-list, package-load-all-descriptors)
9198 (package--built-in, package-activate, define-package)
9199 (package-installed-p, package-compute-transaction)
9200 (package-read-all-archive-contents)
9201 (package--add-to-archive-contents, package-buffer-info)
9202 (package-tar-file-info, package-list-packages-internal):
9203 Use version-to-list and version-list-*.
9205 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9206 Use version-to-list.
9207 (package-upload-buffer-internal): Use version-list-<=.
9209 2010-08-09 Kenichi Handa <handa@m17n.org>
9211 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
9214 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
9216 * tutorial.el (tutorial--default-keys): C-d is now bound to
9217 delete-forward-char (Bug#6826).
9219 * mouse.el (mouse-drag-track): Remove accidentally-removed check
9220 for `double' value of mouse-1-click-follows-link (Bug#6807).
9222 2010-08-08 Johan Bockgård <bojohan@gnu.org>
9224 * replace.el (replace-highlight): Bind isearch-forward and
9225 isearch-error, ensuring that highlighting is updated if the user
9226 switches the search direction (Bug#6808).
9228 * isearch.el (isearch-lazy-highlight-forward): New var.
9229 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9230 (isearch-lazy-highlight-update): Use it.
9232 2010-08-08 Kenichi Handa <handa@m17n.org>
9234 * international/mule.el (define-charset): Store NAME as :base property.
9235 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
9236 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
9237 current priority. Force using the designation of the specific
9238 charset by adding `charset' text property. Improve the whole algorithm.
9240 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9242 * emulation/pc-select.el (pc-selection-mode-hook)
9243 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
9244 (pc-selection-mode): Fix typos in docstrings.
9246 2010-08-08 Kenichi Handa <handa@m17n.org>
9248 * language/cyrillic.el: Don't add "microsoft-cp1251" to
9249 ctext-non-standard-encodings-alist here.
9251 * international/mule.el (ctext-non-standard-encodings-alist):
9252 Add "koi8-r" and "microsoft-cp1251".
9253 (ctext-standard-encodings): New variable.
9254 (ctext-non-standard-encodings-table): List only elements for
9255 non-standard encodings.
9256 (ctext-pre-write-conversion): Adjust for the above change.
9257 Check ctext-standard-encodings.
9259 * international/mule-conf.el (compound-text): Doc fix.
9260 (ctext-no-compositions): Doc fix.
9261 (compound-text-with-extensions): Doc fix.
9263 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9265 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
9267 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9269 * progmodes/which-func.el (which-func-format): Split help-echo text
9270 into lines, like other mode-line tooltips.
9272 * server.el (server-start): When using TCP sockets, force IPv4
9273 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
9275 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9277 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
9279 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9281 * term.el (term-delimiter-argument-list): Reflow docstring.
9282 (term-read-input-ring, term-write-input-ring, term-send-input)
9283 (term-bol, term-erase-in-display, serial-supported-or-barf):
9284 Fix typos in docstrings.
9286 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9288 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
9290 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9292 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
9294 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
9296 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
9297 Fix typo in docstring (bug#6747).
9299 2010-08-08 Leo <sdl.web@gmail.com>
9301 * eshell/esh-io.el (eshell-get-target): Better detection of
9302 read-only file (Bug#6762).
9304 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9306 * align.el (align-default-spacing): Doc fix.
9307 (align-region-heuristic, align-regexp): Fix typos in docstrings.
9309 2010-08-08 Stephen Peters <speters@itasoftware.com>
9311 * calendar/icalendar.el
9312 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
9313 (icalendar--get-weekday-numbers): New.
9314 (icalendar--convert-recurring-to-diary): Handle multiple byday
9315 values in weekly rules. (Bug#6766)
9317 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
9319 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
9320 (icalendar--create-uid, icalendar-export-region)
9321 (icalendar--parse-summary-and-rest): Code formatting.
9323 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
9325 * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
9326 to italicize headers.
9327 (calc-highlight-selections-with-faces): New variable.
9328 (calc-selected-face, calc-nonselected-face): New faces.
9330 * calc/calccomp.el (math-comp-highlight-string): Use
9331 `calc-highlight-selections-with-faces' to determine how to highlight
9334 * calc/calc-sel.el (calc-show-selections): Change message to when
9335 using faces to highlight selections.
9337 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
9339 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
9340 Add SQLite 3 keywords, functions and datatypes.
9341 (sql-interactive-mode): Remove `comint-process-echoes' set to t
9344 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
9346 * simple.el (select-active-regions): Move to keyboard.c.
9347 (deactivate-mark): Used saved-region-selection.
9348 (select-active-region): Function removed.
9349 (activate-mark, set-mark, push-mark-command)
9350 (handle-shift-selection): Don't call it.
9351 (keyboard-quit): Avoid adding the region to the window selection.
9353 * mouse.el (mouse-drag-track): Remove hacks to deal with old
9354 select-active-regions implementation.
9355 (mouse-yank-at-click): Doc fix.
9357 * cus-start.el: Add custom declaration for select-active-regions.
9359 2010-08-07 Eli Zaretskii <eliz@gnu.org>
9361 * simple.el (delete-forward-char): Doc fix.
9363 * tutorial.el (help-with-tutorial): Hack safe file-local variables
9364 after reading the tutorial.
9366 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
9368 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
9369 Fix for the case that a C style comment has its delimiters alone on
9370 their respective lines. (Bug#193)
9372 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
9374 * net/tramp.el (tramp-handle-start-file-process): Set connection
9376 (tramp-process-sentinel): Use it for flushing the cache.
9377 We cannot do it via the process buffer, the buffer could be deleted
9378 already when running the sentinel.
9380 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
9382 * comint.el (comint-mode): Make directory tracking functions
9383 functional on remote files. (Bug#6764)
9385 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
9387 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
9389 2010-08-05 Eli Zaretskii <eliz@gnu.org>
9391 * emacs-lisp/find-gc.el (find-gc-source-files):
9392 Rename unexec.c => unexcoff.c.
9394 * emacs-lisp/authors.el (authors-fixed-entries):
9395 Rename unexec.c => unexcoff.c.
9397 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
9399 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
9400 cache, not only file cache.
9401 (tramp-process-sentinel): New defun.
9402 (tramp-handle-start-file-process): Use it, in order to invalidate
9405 2010-08-03 Leo <sdl.web@gmail.com>
9407 * server.el (server-start): Simplify loop.
9409 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
9411 * frame.el (screen-height, screen-width, set-screen-width)
9412 (set-screen-height): Remove ancient compatibility aliases.
9414 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
9415 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
9417 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
9418 that change current buffer.
9420 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9422 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
9423 beginning of the string. Use `string-match-p'. (Bug#6765)
9425 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
9427 * cus-start.el (x-gtk-use-system-tooltips): New variable.
9429 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
9431 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
9432 (package--builtins): Tweak descriptions.
9433 (package-print-package): Upcase descriptions if necessary.
9434 Show all built-in packages in font-lock-builtin-face.
9435 (package-list-packages-internal): Omit "emacs" package.
9436 Show status of built-in packages as "built-in".
9438 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
9440 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
9441 before killing to preserve the primary selection (Bug#6701).
9443 * term/x-win.el (x-select-text): Doc fix.
9445 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
9447 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
9448 (objc-font-lock-extra-types):
9449 * progmodes/cc-mode.el (c-basic-common-init):
9450 * progmodes/cc-langs.el (c-make-mode-syntax-table)
9451 (c++-make-template-syntax-table)
9452 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
9453 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
9454 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
9455 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
9456 * progmodes/cc-fonts.el (c-make-inverse-face)
9457 (c-basic-matchers-after):
9458 * progmodes/cc-engine.el (c-forward-keyword-clause)
9459 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
9460 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
9461 (c-guess-continued-construct, c-guess-basic-syntax):
9462 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
9463 The above functions were modified or created.
9465 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
9467 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
9469 2010-07-31 Eli Zaretskii <eliz@gnu.org>
9471 * files.el (bidi-paragraph-direction): Define safe local values.
9473 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
9474 language-info-alist. Remove outdated FIXME in a comment.
9476 2010-07-31 Alan Mackenzie <acm@muc.de>
9478 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
9479 Auto-fill broken in C/C++ modes.
9481 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
9483 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9484 (menu-bar-showhide-tool-bar-menu-customize-disable)
9485 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9486 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
9487 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
9488 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
9489 make a menu for Options => toolbar that can move it.
9491 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
9493 * emacs-lisp/package-x.el (package--make-rss-entry):
9494 (package-maint-add-news-item, package--update-news)
9495 (package-upload-buffer-internal): New arg ARCHIVE-URL.
9497 * emacs-lisp/package.el (package-archive-url): Rename from
9499 (package-install): Doc fix.
9500 (package-download-single, package-download-tar, package-install)
9501 (package-menu-view-commentary): Callers changed.
9503 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
9505 * net/tramp.el (tramp-handle-start-file-process): Check only for
9506 `remote-tty' process property.
9507 (tramp-open-shell): Don't check for tty.
9508 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
9511 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
9514 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
9516 * emacs-lisp/package.el (package-load-list, package-archives)
9517 (package-archive-contents, package-user-dir)
9518 (package-directory-list, package--builtins, package-alist)
9519 (package-activated-list, package-obsolete-alist): Mark as risky.
9521 2010-07-28 Phil Hagelberg <phil@evri.com>
9523 Add support for non-default package repositories.
9524 * emacs-lisp/package.el (package-archive-base): Var deleted.
9525 (package-archives): New variable.
9526 (package-archive-contents): Doc fix.
9527 (package-load-descriptor): Do nothing if descriptor file is missing.
9528 (package--write-file-no-coding): New function.
9529 (package-unpack-single): Use it.
9530 (package-archive-id): New function.
9531 (package-download-single, package-download-tar)
9532 (package-menu-view-commentary): Use it.
9533 (package-installed-p): Make second argument optional.
9534 (package-read-all-archive-contents): New function.
9535 (package-initialize): Use it.
9536 (package-read-archive-contents): Add ARCHIVE argument.
9537 (package--add-to-archive-contents): New function.
9538 (package-install): Don't call package-read-archive-contents.
9539 (package--download-one-archive): Store archive file in a
9540 subdirectory of package-user-dir.
9541 (package-menu-execute): Remove spurious line movement.
9543 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
9545 * cus-start.el (tool-bar-style): Add text-image-horiz.
9547 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9549 * progmodes/gud.el (gud-common-init): Check for remoteness of
9550 `file', and not of `default-directory'.
9552 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9554 * net/tramp.el (tramp-methods): Move hostname to the end in all
9555 ssh `tramp-login-args'.
9556 (tramp-verbose): Describe verbose level 9.
9557 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
9558 (tramp-open-connection-setup-interactive-shell): Trace stty
9559 settings if `tramp-verbose' >= 9.
9560 (tramp-handle-start-file-process): Implement tty setting.
9561 (Bug#4604, Bug#6360)
9563 * net/tramp-cmds.el (tramp-bug): Recommend setting of
9564 `tramp-verbose' to 9.
9566 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
9568 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
9569 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
9570 Remove references to package `lisp-re' (bug#4369).
9572 2010-07-27 Tom Tromey <tromey@redhat.com>
9574 * progmodes/js.el (js-mode):
9575 * progmodes/make-mode.el (makefile-mode):
9576 * progmodes/simula.el (simula-mode):
9577 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
9579 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
9581 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
9583 * time.el (display-time-day-and-date): Remove spurious * in docstring.
9584 (display-time-world-buffer-name, display-time-world-mode-map):
9585 Fix typos in docstrings.
9587 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
9589 * image-mode.el (image-display-size): New function.
9590 (image-forward-hscroll, image-next-line, image-eol, image-eob)
9591 (image-mode-fit-frame): Use it (Bug#6639).
9593 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
9595 * dired.el (dired-buffers-for-dir): Handle list values of
9596 dired-directory (Bug#6636).
9598 2010-07-26 Sam Steingold <sds@gnu.org>
9600 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
9601 Do not call `x-get-selection' the second time, reuse the value.
9603 2010-07-26 Daiki Ueno <ueno@unixuser.org>
9605 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
9606 which consist of control chars only. Suggested by Richard Stallman.
9608 2010-07-25 Daiki Ueno <ueno@unixuser.org>
9610 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
9611 exists before passing an error to find-file-not-found-functions
9614 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
9616 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
9617 Remove leading nil element, adjust values.
9618 (tetris-shapes, tetris-shape-scores):
9619 Change representation of shapes and remove some redundancy.
9620 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
9621 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
9622 Adjust for working with new representation of shapes.
9623 (tetris-shape-rotations): New function.
9624 (tetris-move-bottom, tetris-move-left, tetris-move-right)
9625 (tetris-rotate-prev, tetris-rotate-next):
9626 Adjust for working with the new version of tetris-test-shape.
9628 2010-07-23 Markus Triska <markus.triska@gmx.at>
9630 * progmodes/ps-mode.el: Use comint (bug#5954).
9631 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
9632 (ps-mode-other-newline): Simplify.
9633 (ps-run-mode): Derive from comint-mode instead of
9634 fundamental-mode, yielding input history etc.
9635 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
9636 (ps-run-send-string): Adapt for comint-mode.
9637 (ps-run-newline): Remove now unneeded function.
9639 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9641 * net/tramp.el (tramp-methods): Move hostname to the end in all
9642 plink `tramp-login-args'.
9644 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9646 * net/tramp.el (tramp-open-shell): New defun.
9647 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9650 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9652 * net/tramp.el (tramp-file-name-regexp-unified)
9653 (tramp-completion-file-name-regexp-unified): On W32 systems, do
9654 not regard the volume letter as remote filename. (Bug#5447)
9656 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
9658 * custom.el (custom-declare-variable): Give a clearer error message
9659 when the docstring is missing (bug#6476).
9661 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
9663 * progmodes/sql.el: Version 2.4. Improved Login prompting.
9664 (sql-login-params): New widget definition.
9665 (sql-oracle-login-params, sql-mysql-login-params)
9666 (sql-solid-login-params, sql-sybase-login-params)
9667 (sql-informix-login-params, sql-ingres-login-params)
9668 (sql-ms-login-params, sql-postgres-login-params)
9669 (sql-interbase-login-params, sql-db2-login-params)
9670 (sql-linter-login-params): Use it.
9671 (sql-sqlite-login-params): Use it; Define "database" parameter as
9673 (sql-sqlite-program): Change to "sqlite3".
9674 (sql-comint-sqlite): Make sure database name is complete.
9675 (sql-for-each-login): New function.
9676 (sql-connect, sql-save-connection): Use it.
9677 (sql-get-login-ext): New function.
9678 (sql-get-login): Use it.
9679 (sql-make-alternate-buffer-name): Handle :file parameters.
9681 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
9683 * dired.el (dired-no-confirm): Document value t and fix defcustom to
9684 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
9686 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
9688 * dired.el (dired-mode-map): Use command remapping (bug#6632).
9690 2010-07-22 Lawrence Mitchell <wence@gmx.li>
9692 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
9694 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
9696 * net/tramp.el (tramp-get-ls-command)
9697 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
9700 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
9702 * progmodes/sql.el: Version 2.3.
9703 (sql-connection-alist): Change keys from symbols to strings;
9704 enhanced the widget definition.
9705 (sql-mode-menu): Add submenu to select connections.
9706 (sql-interactive-mode-menu): Add "Save Connection" item.
9707 (sql-add-product): Fix menu item.
9708 (sql-get-product-feature): Improved error handling.
9709 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
9710 (sql-make-alternate-buffer-name): Simplified.
9711 (sql-product-interactive): Handle missing product.
9712 (sql-connect): Support string keys, minor improvements.
9713 (sql-save-connection): New function.
9714 (sql-connection-menu-filter): New function.
9716 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9718 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
9719 (tramp-open-connection-setup-interactive-shell):
9720 Apply workaround for IRIX64 bug. Move argument of last
9721 `tramp-send-command' where it belongs to.
9723 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9725 * net/tramp.el (tramp-perl-file-attributes)
9726 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
9727 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
9728 front of `login-args'.
9730 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
9732 * time.el (display-time-world-mode): Define with `define-derived-mode'.
9733 Set `show-trailing-whitespace' to nil.
9734 (display-time-world-display): Simplify.
9736 2010-07-18 Alan Mackenzie <acm@muc.de>
9738 Enhance `c-file-style' in file/directory local variables.
9739 * progmodes/cc-mode.el (c-count-cfss): New function.
9740 (c-before-hack-hook): Call `c-set-style' differently according to
9741 whether c-file-style was set in file or directory local
9744 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
9746 * progmodes/sql.el: Version 2.2.
9747 (sql-product, sql-user, sql-database, sql-server, sql-port):
9748 Use defcustom :safe keyword rather than putting safe-local-variable
9750 (sql-password): Use defcustom :risky keyword rather than putting
9751 risky-local-variable property.
9752 (sql-oracle-login-params, sql-sqlite-login-params)
9753 (sql-solid-login-params, sql-sybase-login-params)
9754 (sql-informix-login-params, sql-ingres-login-params)
9755 (sql-ms-login-params, sql-postgres-login-params)
9756 (sql-interbase-login-params, sql-db2-login-params)
9757 (sql-linter-login-params): Add `port' option.
9758 (sql-get-product-feature): Add NO-INDIRECT parameter.
9759 (sql-comint-oracle, sql-comint-sybase)
9760 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
9761 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
9762 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
9763 (sql-comint-linter): Rename sql-connect-* functions to
9765 (sql-product-alist, sql-mode-menu): Rename as above and
9766 :sqli-connect-func to :sqli-comint-func.
9767 (sql-connection): New variable.
9768 (sql-interactive-mode): Set it.
9769 (sql-connection-alist): New variable.
9770 (sql-connect): New function.
9771 (sql--alt-buffer-part, sql--alt-if-not-empty)
9772 (sql-make-alternate-buffer-name): Improved alternative buffer name.
9774 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9776 * image-mode.el (image-bookmark-make-record): Do not set context
9777 in an image (Bug#6650).
9779 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9781 * simple.el (select-active-region): New function.
9782 (push-mark-command, set-mark, activate-mark)
9783 (handle-shift-selection): Use it.
9784 (deactivate-mark): Don't check for size of region.
9786 * mouse.el (mouse-drag-track): Use select-active-region.
9788 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
9790 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
9793 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9795 * term/x-win.el (x-select-enable-primary): Change default to nil.
9796 (x-select-enable-clipboard): Add :version keyword.
9798 * mouse.el (mouse-drag-copy-region):
9799 * simple.el (select-active-regions): Likewise.
9801 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
9803 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
9804 (vc-coding-system-for-diff): Use it to decide whether to inherit
9805 from the file the EOL format for reading the diffs of that file.
9808 2010-07-16 Eli Zaretskii <eliz@gnu.org>
9810 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
9811 unibyte, so compressed attachments are not compressed again.
9813 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
9815 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
9816 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9817 (tramp-find-shell): Simplify setting connection property.
9818 (tramp-get-ls-command): Make test for "--color=never" stronger.
9820 2010-07-15 Simon South <ssouth@member.fsf.org>
9822 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9823 blocks within record declarations (i.e. variant parts) correctly.
9825 2010-07-15 Simon South <ssouth@member.fsf.org>
9827 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9828 over literal tokens when parsing so newlines aren't "absorbed" by
9829 single-line comments. Corrects the indentation of case blocks
9830 that have a comment on the first line.
9832 2010-07-14 Karl Fogel <kfogel@red-bean.com>
9834 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9835 by Drew Adams (Bug#5504).
9837 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
9839 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9840 now that Unicode is used (Bug#6594).
9842 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
9844 * term/x-win.el (x-select-enable-clipboard): Default to t.
9845 (x-initialize-window-system): Don't overwrite Paste menu item.
9847 * simple.el (select-active-regions): Default to t.
9848 (push-mark-command): Don't overwrite primary with empty string.
9850 * mouse.el: Bind mouse-2 to mouse-yank-primary.
9851 (mouse-drag-copy-region): Default to nil.
9853 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9854 Cut/Copy/Paste menu bar items.
9856 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9858 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9859 Patch applied by Karl Fogel.
9861 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9862 and `bookmark-current-buffer' if they have been already set in
9863 another buffer (e.g gnus-art).
9865 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9866 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9868 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9870 * bookmark.el (bookmark-make-record-default): Allow unneeded
9871 information to be omitted from the record.
9873 Adjust declarations and calls:
9875 * info.el (bookmark-make-record-default): Adjust declaration.
9876 (Info-bookmark-make-record): Adjust call.
9878 * woman.el (bookmark-make-record-default): Adjust declaration.
9879 (woman-bookmark-make-record): Adjust call.
9881 * man.el (bookmark-make-record-default): Adjust declaration.
9882 (Man-bookmark-make-record): Adjust call.
9884 * image-mode.el (bookmark-make-record-default): Adjust declaration.
9886 * doc-view.el (bookmark-make-record-default): Adjust declaration.
9888 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9890 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9891 This is also from Thierry Volpiatto's patch in bug #6444. However,
9892 because it was extraneous to the functional change in that patch,
9893 and causes a re-indendation, I am committing it separately.
9895 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9897 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9898 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9899 Patch applied by Karl Fogel (Bug#6444).
9901 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
9903 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9905 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
9907 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9908 Dempsky; bug#5084). Remove incorrect binding for S-tab.
9909 (ns-alternatives-map): Change S-tab binding to backtab
9912 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9915 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
9917 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9920 * language/tv-util.el (tai-viet-re): Remove format.
9922 2010-07-12 Kenichi Handa <handa@m17n.org>
9924 * language/hebrew.el: Remove no-byte-compile declaration.
9925 Change coding: tag to utf-8. Register hebrew-shape-gstring in
9926 composition-function-table for 3-character looking back.
9927 (hebrew-font-get-precomposed): New function.
9928 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9930 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
9932 * mouse.el (mouse-drag-track): Handle select-active-regions
9935 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
9937 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9938 empty argument to gvfs-copy.
9940 2010-07-10 Glenn Morris <rgm@gnu.org>
9942 * calendar/calendar.el (calendar-week-end-day): New function.
9943 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9944 Respect calendar-week-start-day. (Bug#6606)
9945 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9946 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9947 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9948 respect calendar-week-start-day.
9950 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
9952 * simple.el (use-region-p): Doc fix (Bug#6607).
9954 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
9956 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9957 Add regexps for cucumber and ruby.
9959 2010-07-08 Daiki Ueno <ueno@unixuser.org>
9961 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9962 (epa-file-insert-file-contents): Hack to prevent
9963 find-file from opening empty buffer when decryption failed
9966 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
9968 * textmodes/ispell.el (ispell-alternate-dictionary):
9969 Use file-readable-p.
9970 Return nil if no word-list is found at default locations.
9971 (ispell-complete-word-dict): Default to nil.
9972 (ispell-command-loop): Use 'word-list' when using lookup-words.
9973 (lookup-words): Use ispell-complete-word-dict or
9974 ispell-alternate-dictionary. Check for word-list availability
9975 and handle errors if needed with better messages (Bug#6539).
9976 (ispell-complete-word): Use ispell-complete-word-dict or
9977 ispell-alternate-dictionary.
9979 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
9981 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9982 builtins (BufferError, BytesWarning, WindowsError; callables
9983 bin, bytearray, bytes, format, memoryview, next, print; __package__).
9985 2010-07-07 Glenn Morris <rgm@gnu.org>
9987 * play/zone.el (top-level): Do not require timer, tabify, or cl.
9988 (zone-shift-left): Ignore intangibility, and any errors from
9990 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
9991 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9992 deleting, and copying text properties.
9993 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9994 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9995 to point-max is hard.
9996 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9997 (zone-fill-out-screen): Ignore intangibility.
9999 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
10001 * menu-bar.el (menu-bar-mode):
10002 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
10003 if it has been set.
10005 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
10006 word/line selection (Bug#6565).
10008 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
10010 * net/dbus.el (dbus-send-signal): Declare function.
10012 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
10014 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
10015 (dbus-register-property): New optional argument EMITS-SIGNAL.
10016 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
10018 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
10020 * mouse.el (mouse-drag-overlay): Variable deleted.
10021 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
10022 (mouse--remap-link-click-p): New function.
10023 (mouse-drag-track): Handle dragging by using temporary Transient
10024 Mark mode, instead of a special overlay.
10025 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
10028 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
10031 2010-07-02 Juri Linkov <juri@jurta.org>
10033 * autoinsert.el (auto-insert-alist): Fix readability
10034 by using dotted pair notation for lambda.
10036 2010-07-02 Juri Linkov <juri@jurta.org>
10038 * faces.el (read-face-name): Rename arg `string-describing-default'
10039 to `default'. Doc fix. Display the default value in quotes
10040 in the prompt. With empty input, return the `default' arg,
10041 unless the default value is a string (in which case return nil).
10042 (describe-face): Replace the string `default' arg of `read-face-name'
10043 with the symbol `default'.
10045 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
10047 * emulation/viper-cmd.el (viper-delete-backward-char)
10048 (viper-del-backward-char-in-insert)
10049 (viper-del-backward-char-in-replace, viper-change)
10050 (viper-backward-indent): Replace delete-backward-char with
10051 delete-char (Bug#6552).
10053 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
10055 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
10057 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
10059 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
10060 argument passed to frame-creation-function (Bug#5378).
10062 * faces.el (x-handle-named-frame-geometry)
10063 (x-handle-reverse-video, x-create-frame-with-faces)
10064 (face-set-after-frame-default, tty-create-frame-with-faces):
10065 Don't separately consult default-frame-alist. It is now passed as the
10066 PARAMETER argument.
10068 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
10070 * startup.el (command-line): Don't call tool-bar-setup in a
10073 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
10075 * ruler-mode.el (ruler--save-header-line-format): New fun.
10076 (ruler-mode): Use it as a setter function, so as not to overwrite
10077 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
10079 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
10081 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
10082 (vc-root-diff, vc-print-root-log, vc-log-incoming)
10083 (vc-log-outgoing): Use it.
10084 (vc-diff-internal): Set diff-vc-backend.
10086 * vc/diff-mode.el (diff-vc-backend): New var.
10088 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
10090 * dynamic-setting.el (font-setting-change-default-font):
10091 Remove call to message.
10093 2010-06-28 Kenichi Handa <handa@m17n.org>
10095 * international/quail.el (quail-insert-kbd-layout): Fix the
10096 showing of untranslated characters.
10098 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
10100 * simple.el (delete-active-region): New option.
10101 (delete-backward-char): Implement in Lisp.
10102 (delete-forward-char): New command.
10104 * mouse.el (mouse-region-delete-keys): Delete.
10105 (mouse-show-mark): Simplify.
10107 * bindings.el (global-map): Bind delete and DEL, the former to
10108 delete-forward-char.
10110 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
10112 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
10113 (ruby-mode): Bind indent-line-function (Bug#5119).
10115 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
10117 * startup.el (command-line): Recognize "0" X resource value.
10119 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
10121 * startup.el (command-line): Use X resources to set the value of
10122 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
10124 * menu-bar.el (menu-bar-mode):
10125 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
10126 Set init-value to t.
10128 * frame.el (frame-notice-user-settings): Don't change
10129 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
10130 vice versa (Bug#2249).
10132 2010-06-26 Eli Zaretskii <eliz@gnu.org>
10134 * w32-fns.el (w32-convert-standard-filename): Doc fix.
10136 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
10138 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
10139 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
10141 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
10142 default directories are expanded (Bug#6143).
10144 2010-06-24 Juri Linkov <juri@jurta.org>
10146 * minibuffer.el (completions-format): Change default from nil to
10147 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
10149 2010-06-24 Juri Linkov <juri@jurta.org>
10151 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
10152 buffer-locally to lambda that re-runs the vc diff command.
10155 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
10157 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
10158 echo area is in use (Bug#3412).
10160 2010-06-22 Glenn Morris <rgm@gnu.org>
10162 * textmodes/texinfmt.el (texinfo-format-region)
10163 (texinfo-raise-lower-sections, texinfo-format-separate-node)
10164 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
10165 (texinfo-format-option, texinfo-noindent):
10166 Use line-beginning-position and line-end-position.
10168 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
10169 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
10170 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
10173 2010-06-21 Karl Fogel <kfogel@red-bean.com>
10175 * play/zone.el (zone-fall-through-ws): Fix next-line ->
10176 forward-line fallout.
10178 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
10180 * mouse.el (mouse-appearance-menu): Add docstring.
10182 * help.el (describe-key): Print up-event using key-description.
10184 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
10186 * net/zeroconf.el (zeroconf-resolve-service)
10187 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
10188 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
10190 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
10192 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
10194 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
10196 Avoid displaying files with a nil state in vc-dir.
10197 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
10198 cases that cause insertion.
10199 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
10202 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
10204 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
10206 2010-06-29 Leo <sdl.web@gmail.com>
10208 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
10210 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10212 * generic-x.el (bat-generic-mode): Fix regexp for command line
10213 switches (Bug#5719).
10215 2010-06-27 Masatake YAMATO <yamato@redhat.com>
10217 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
10218 of nconc to avoid pure storage error (Bug#6239).
10220 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
10222 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
10223 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
10224 bindings of bookmark-automatically-show-annotations (Bug#6515).
10226 2010-06-25 Eli Zaretskii <eliz@gnu.org>
10228 * arc-mode.el (archive-zip-extract): Don't quote the file name on
10229 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
10231 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
10233 * comint.el (make-comint, make-comint-in-buffer): Mention return
10234 value in the docstrings. (Bug#6498)
10236 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
10238 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
10239 since it is not present when using some non-default switches.
10241 2010-06-23 Karl Fogel <kfogel@red-bean.com>
10243 * simple.el (compose-mail): Fix doc string to refer to
10244 `compose-mail-user-agent-warnings', instead of to the
10245 nonexistent `compose-mail-check-user-agent'.
10247 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
10249 Fix an indentation bug:
10251 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
10252 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
10253 of existing values.
10255 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
10256 (c-clear->-pair-props-if-match-before): now return t when they've
10257 cleared properties, nil otherwise.
10258 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
10259 by taking account of the existing value.
10261 * progmodes/cc-defs.el
10262 (c-clear-char-property-with-value-function): Fix this to clear the
10263 property rather than overwriting it with nil.
10265 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
10267 * emacs-lisp/package.el (package-print-package): Add link to
10268 package description via describe-package.
10269 (describe-package-1): List package requirements. Add button to
10270 perform installation.
10271 (package-menu-describe-package): New command.
10273 * help-mode.el (help-package): New button type.
10275 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
10277 * emacs-lisp/package.el: Move package-list-packages binding to
10279 (describe-package, describe-package-1, package--dir): New funs.
10280 (package-activate-1): Use package--dir.
10282 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
10284 * help-mode.el (help-package-def): New button type.
10286 * menu-bar.el: Move package-list-packages binding here from
10289 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
10291 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
10293 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10295 * emacs-lisp/edebug.el (edebug-read-list):
10296 Phase out old-style backquotes.
10298 2010-06-17 Juri Linkov <juri@jurta.org>
10300 * help-mode.el (help-mode): Set buffer-local variable
10301 revert-buffer-function to help-mode-revert-buffer.
10302 (help-mode-revert-buffer): New function.
10304 * info.el (Info-revert-find-node): Check for major-mode Info-mode
10305 before popping to "*info*" (like in other Info functions).
10306 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
10307 old-history-forward. Pop to old-buffer-name or "*info*" to
10308 recreate the killed buffer. Set Info-history-forward from
10309 old-history-forward.
10310 (Info-breadcrumbs-depth): Add :group and :version.
10312 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
10314 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
10316 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
10318 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
10319 for languages like Portuguese with pt_{BR,PT} and no plain pt.
10321 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
10323 * emacs-lisp/package.el (package-menu-mode-map):
10324 Move initialization into declaration.
10326 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
10328 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
10330 * emacs-lisp/package.el (package-archive-base): Point to
10332 (package-enable, package-load-list): New defcustoms.
10333 (package-user-dir, package-directory-list): Turn into defcustoms.
10334 Don't include package-user-dir in package-directory-list.
10335 (package--builtins-base): Don't include Emacs as a "package".
10336 (package-subdirectory-regexp): New var.
10337 (package-load-all-descriptors, package-compute-transaction)
10338 (package-download-transaction): Obey package-load-list.
10339 (package-activate-1): Rename from package-do-activate.
10340 (package-list-packages-internal): Check package-load-list.
10341 (package-load-descriptor, package-generate-autoloads)
10342 (package-unpack, package-unpack-single)
10343 (package--read-archive-file, package-delete):
10344 Use expand-file-name.
10346 * emacs-lisp/package-x.el: New file. Package uploading
10347 functionality split out from package.el.
10349 * startup.el (command-line): Load packages after reading init file.
10351 2010-06-17 Tom Tromey <tromey@redhat.com>
10353 * emacs-lisp/package.el: New file.
10355 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
10357 Fix vc-annotate for renamed files when using Git.
10358 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
10359 ls-files. Doe not pass the object as a file name to cat-file, it
10360 is not a file name.
10361 (vc-git-annotate-command): Pass the file name using -- to avoid
10362 ambiguity with the revision.
10363 (vc-git-previous-revision): Pass a relative file name.
10365 2010-06-22 Glenn Morris <rgm@gnu.org>
10367 * progmodes/js.el (js-mode-map): Use standard capitalization and
10368 ellipses for menu entries.
10370 * wid-edit.el (widget-complete): Doc fix.
10372 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
10374 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
10376 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
10378 Fix annotating other revisions for renamed files in vc-annotate.
10379 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
10380 VC backend. Use it when non-nil.
10381 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
10384 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
10385 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10386 Do not pass the file name to the 'previous-revision call when we
10387 don't want a file diff. (Bug#6489)
10389 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
10391 Fix finding revisions for renamed files in vc-annotate.
10392 * vc/vc.el (vc-find-revision): Add an optional argument for
10393 the VC backend. Use it when non-nil.
10394 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
10395 backend to vc-find-revision. (Bug#6487)
10397 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
10399 Fix reading file names in Git annotate buffers.
10400 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
10401 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
10403 2010-06-20 Alan Mackenzie <acm@muc.de>
10405 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
10406 in file local variables, set it first.
10408 2010-06-19 Glenn Morris <rgm@gnu.org>
10410 * descr-text.el (describe-char-unicode-data): Insert separating
10411 space when needed. (Bug#6422)
10413 * progmodes/idlwave.el (idlwave-action-and-binding):
10414 Fix typo in 2009-12-03 change. (Bug#6450)
10416 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10418 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
10419 handling for `lambda' (misunderstanding).
10421 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
10423 * calc/calc-poly.el (math-accum-factors): Make sure that
10424 constants aren't distributed after they are factored out.
10426 2010-06-16 Juri Linkov <juri@jurta.org>
10428 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
10429 `list-colors-print'. (Bug#6332)
10431 * subr.el (read-quoted-char): Fix up last change (bug#6290).
10433 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
10435 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
10436 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
10438 * font-lock.el (font-lock-major-mode): Rename from
10439 font-lock-mode-major-mode to distinguish it from
10440 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
10441 (font-lock-set-defaults):
10442 * font-core.el (font-lock-default-function): Adjust users.
10443 (font-lock-mode): Don't set it at all.
10445 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
10447 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
10449 2010-06-16 Glenn Morris <rgm@gnu.org>
10451 * calendar/appt.el (appt-time-msg-list): Doc fix.
10452 (appt-check): Let-bind appt-warn-time.
10453 (appt-add): Make the 3rd argument optional.
10454 Simplify argument names. Doc fix. Check for integer WARNTIME.
10455 Only add WARNTIME to the output list if non-nil.
10457 2010-06-16 Ivan Kanis <apple@kanis.eu>
10459 * calendar/appt.el (appt-check): Let the 3rd element of
10460 appt-time-msg-list specify the warning time.
10461 (appt-add): Add new argument with the warning time. (Bug#5176)
10463 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10465 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
10466 older than version 1.6. (Bug#6361)
10468 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
10470 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
10471 used by cl-do-arglist. (Bug#6408)
10473 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
10475 * textmodes/ispell.el (ispell-dictionary-base-alist):
10476 Fix portuguese casechars/not-casechars for missing 'çÇ'.
10477 Suggested by Rolando Pereira (bug#6434).
10479 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
10481 * facemenu.el (list-colors-sort): Doc fix.
10483 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10485 * progmodes/sql.el (sql-connect-mysql): Fix typo.
10487 2010-06-14 Juri Linkov <juri@jurta.org>
10489 Add sort option `list-colors-sort'. (Bug#6332)
10490 * facemenu.el (color-rgb-to-hsv): New function.
10491 (list-colors-sort): New defcustom.
10492 (list-colors-sort-key): New function.
10493 (list-colors-display): Doc fix. Sort list according to the option
10494 `list-colors-sort'.
10495 (list-colors-print): Add HSV values to `help-echo' property of
10498 2010-06-14 Juri Linkov <juri@jurta.org>
10500 * compare-w.el: Move to the "vc" subdirectory.
10502 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10504 * image-mode.el (image-mode-map): Remap left-char and right-char.
10506 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
10508 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
10510 * term/common-win.el (x-colors): Add all the color names defined
10511 in rgb.txt (Bug#6332).
10513 * facemenu.el (list-colors-print): Don't print extra names if it
10514 will overflow the window width.
10516 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
10519 2010-06-12 Eli Zaretskii <eliz@gnu.org>
10521 * files.el (make-directory): Doc fix (bug#6396).
10523 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
10525 * net/tramp.el (tramp-remote-process-environment): Protect version
10526 string by apostroph.
10527 (tramp-shell-prompt-pattern): Do not use a shy group in case of
10529 (tramp-file-name-for-operation): Add `call-process-region'.
10530 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
10532 * net/tramp-compat.el (top): Do not autoload
10533 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
10534 only when `start-file-process' is not bound.
10535 (tramp-advice-file-expand-wildcards): Do not use
10536 `tramp-handle-file-remote-p'.
10537 (tramp-compat-make-temp-file): Handle the case, that
10538 `make-temp-file' has no third argument EXTENSION.
10540 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
10542 * makefile.w32-in (WINS_BASIC): Include new directory vc.
10544 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
10546 2010-06-11 Juri Linkov <juri@jurta.org>
10548 * finder.el (finder-known-keywords): Add keyword "vc"
10549 for version control.
10551 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
10552 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
10553 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
10554 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
10556 2010-06-11 Juri Linkov <juri@jurta.org>
10558 Move version control related files to the "vc" subdirectory.
10559 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
10560 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
10561 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
10562 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
10563 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
10564 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
10565 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
10566 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
10567 Move files to the "vc" subdirectory.
10569 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
10571 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
10574 2010-06-11 Stephen Eglen <stephen@gnu.org>
10576 * shell.el: Bind `shell-resync-dirs' to M-RET.
10578 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
10580 * notifications.el: Move file from lisp/net, because it is
10581 supposed to talk locally to the user.
10583 2010-06-10 Julien Danjou <julien@danjou.info>
10585 * net/notifications.el (notifications-on-action-signal)
10586 (notifications-on-closed-signal): Pass notification id as first
10587 argument to the callback functions. Add docstrings.
10588 (notifications-notify): Fix docstring.
10590 2010-06-10 Glenn Morris <rgm@gnu.org>
10592 * emacs-lisp/authors.el (authors-ignored-files)
10593 (authors-valid-file-names): Add some files.
10595 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10597 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
10598 merge conflict, giving preference to the emacs-23 version of the code.
10600 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10602 * emacs-lisp/advice.el (ad-compile-function):
10603 Define warning-suppress-types before we let-bind it (bug#6275).
10605 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
10606 declare it, make it buffer-local and permanent-local (bug#6324).
10607 (vc-resynch-window): Adjust name.
10608 * vc-hooks.el (vc-find-file-hook): Adjust name.
10610 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
10612 * net/notifications.el (notifications-notify): Fix docstring.
10614 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10616 Update to Unicode 6.0.0 beta.
10617 * international/charprop.el: Update copyright.
10618 * international/mule-cmds.el (ucs-names): Update character ranges.
10619 * international/uni-bidi.el:
10620 * international/uni-category.el:
10621 * international/uni-combining.el:
10622 * international/uni-comment.el:
10623 * international/uni-decimal.el:
10624 * international/uni-decomposition.el:
10625 * international/uni-digit.el:
10626 * international/uni-lowercase.el:
10627 * international/uni-mirrored.el:
10628 * international/uni-name.el:
10629 * international/uni-numeric.el:
10630 * international/uni-old-name.el:
10631 * international/uni-titlecase.el:
10632 * international/uni-uppercase.el: Regenerate.
10634 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10636 * emacs-lisp/smie.el (comment-string-strip): Declare function.
10637 (smie-precs-precedence-table): Fix typo in docstring.
10639 * vc-mtn.el (log-edit-extract-headers): Declare function.
10641 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
10643 * net/notifications.el (dbus-register-signal): Declare function.
10644 (notifications-notify): Fix typos and reflow docstring.
10646 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10648 Improve VC create/retrieve tag/branch.
10649 * vc.el (vc-create-tag): Do not read the directory name for VCs
10650 with repository revision granularity. Adjust the tag/branch
10651 prompt. Reset VC properties.
10652 (vc-retrieve-tag): Do not read the directory name for VCs
10653 with repository revision granularity. Reset VC properties.
10655 2010-06-09 Julien Danjou <julien@danjou.info>
10657 * net/notifications.el: New file.
10659 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10661 Add optional support for resetting VC properties.
10662 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
10663 call vc-file-clearprops when true.
10664 (vc-resynch-buffer): Add new optional argument, pass it down.
10665 (vc-resynch-buffers-in-directory): Likewise.
10667 Improve support for special markup in the VC commit message.
10668 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
10669 * vc-hg.el (vc-hg-checkin): Add support for Date:.
10670 * vc-git.el (vc-git-checkin):
10671 * vc-bzr.el (vc-bzr-checkin): Likewise.
10673 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10675 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
10676 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
10678 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
10680 * iimage.el: Remove images as soon as the underlying text is modified.
10681 (iimage-modification-hook): New function.
10682 (iimage-mode-buffer): Use it.
10684 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10686 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
10687 smie-indent-offset-after. Add :prev case. Make a bit more generic.
10688 (smie-indent-virtual): Remove `virtual' arg. Update callers.
10689 (smie-indent-keyword): Add handling of open-paren keywords.
10690 (smie-indent-comment-continue): Don't assume comment-continue.
10692 2010-06-07 Martin Rudalics <rudalics@gmx.at>
10694 * window.el (pop-to-buffer): Remove the conditional that
10695 compares new-window and old-window, so it will reselect
10696 the selected window unconditionally.
10697 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
10699 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10701 * emacs-lisp/smie.el (smie-indent-offset-after)
10702 (smie-indent-forward-token, smie-indent-backward-token): New functions.
10703 (smie-indent-after-keyword): Use them.
10704 (smie-indent-fixindent): Only applies to the indentation of the BOL.
10705 (smie-indent-keyword): Tweak the black magic.
10706 (smie-indent-comment-continue): Strip comment-continue before use.
10707 (smie-indent-functions): Indent comments before keywords.
10709 2010-06-06 Juri Linkov <juri@jurta.org>
10711 * isearch.el (isearch-lazy-highlight-search): Fix looping
10712 by checking for empty match. This syncs this loop with the
10713 similar loop in `isearch-search'. (Bug#6362)
10715 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
10717 * net/dbus.el (dbus-register-method): Declare function.
10718 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
10719 (dbus-introspect): Doc fix.
10720 (dbus-event-bus-name, dbus-introspect-get-interface)
10721 (dbus-introspect-get-argument): Reflow docstrings.
10723 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
10725 vc-log-incoming/vc-log-outgoing fixes for Git.
10726 * vc-git.el (vc-git-log-view-mode): Fix font lock for
10727 incoming/outgoing logs.
10728 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
10729 instead of vc-git-compute-remote.
10730 (vc-git-compute-remote): Remove.
10732 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
10734 * term/common-win.el (x-colors): Add "dark green" and "dark
10735 turquoise" (Bug#6332).
10737 2010-06-04 Juri Linkov <juri@jurta.org>
10739 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
10740 Instead of setting `replace' to t and replacing the same string
10741 with itself, don't do certain actions when
10742 kill-do-not-save-duplicates is non-nil and string is equal to car
10743 of kill-ring: don't call menu-bar-update-yank-menu, don't push
10744 interprogram-paste strings to kill-ring, and don't push the input
10745 argument `string' to kill-ring.
10746 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
10748 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10750 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
10752 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
10754 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
10755 (tramp-gvfs-handler-mounted-unmounted)
10756 (tramp-gvfs-connection-mounted-p): Handle default-location.
10758 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
10759 move files to trash.
10761 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10763 * international/mule-cmds.el (nonascii-insert-offset)
10764 (nonascii-translation-table): Add obsolescence information.
10766 * international/mule.el (make-translation-table-from-vector): Doc fix.
10768 2010-06-03 Glenn Morris <rgm@gnu.org>
10770 * desktop.el (desktop-clear-preserve-buffers):
10771 Add "*Warnings*" buffer. (Bug#6336)
10773 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
10775 vc-log-incoming/vc-log-outgoing improvements for Git.
10776 * vc-git.el (vc-git-log-outgoing): Use the same format as the
10778 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
10780 Add bindings for vc-log-incoming and vc-log-outgoing.
10781 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
10782 and vc-log-outgoing.
10783 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
10784 and vc-log-outgoing.
10786 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10788 * net/rcirc.el (rcirc-sort-nicknames): Remove.
10789 (rcirc-handler-366): Always sort nicknames.
10791 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
10793 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
10795 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10797 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
10799 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10801 * net/rcirc.el (rcirc-sort-nicknames): Change default.
10802 (rcirc-sort-nicknames-join): Avoid setq.
10804 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10806 * net/rcirc.el (rcirc-sort-nicknames): New custom.
10807 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
10808 (rcirc-handler-366): Use them.
10810 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10812 Split smie-indent-calculate into more manageable chunks.
10813 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
10814 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
10815 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
10816 (smie-indent-exps): Extract from smie-indent-calculate.
10817 (smie-indent-functions): New var.
10818 (smie-indent-functions): Use them.
10820 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10822 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10823 (smie-indent-calculate): Simplify and cleanup.
10825 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
10827 * net/tramp-gvfs.el (top): Require url-util.
10828 (tramp-gvfs-mount-point): Remove.
10829 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10831 (with-tramp-dbus-call-method): Format trace message.
10832 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10833 Implement backup call, when operation on local files fails.
10834 Use progress reporter. Flush properties of changed files.
10835 (tramp-gvfs-handle-make-directory): Make more traces.
10836 (tramp-gvfs-url-file-name): Hexify file name in url.
10837 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10838 into account for the resulting file name.
10839 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10840 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
10841 (tramp-gvfs-handler-mounted-unmounted)
10842 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10843 attribute "default_location". Set "prefix" property.
10844 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10845 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10846 exists. Raise an error, if not (due to a corresponding answer
10847 "no" in interactive questions, for example).
10849 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
10851 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10853 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
10855 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10856 right-*. (Bug#6265)
10858 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
10860 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10861 * vc-git.el (vc-git-compute-remote): New function.
10862 (vc-git-log-outgoing): Use it instead of hard coding a value.
10863 (vc-git-log-incoming): New function.
10865 Improve state updating for VC tag commands.
10866 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10867 to update the state of all buffers in the directory.
10869 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10871 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10873 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10874 `file-directory-p' to the filename part rather than to the whole text.
10876 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10878 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10880 2010-05-31 Drew Adams <drew.adams@oracle.com>
10882 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10884 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
10886 * subr.el (momentary-string-display): Just use read-event to read
10887 the exit event (Bug#6238).
10889 2010-05-30 Eli Zaretskii <eliz@gnu.org>
10891 * international/mule.el (define-coding-system): Doc fix (bug#6313).
10893 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10895 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10896 Suggested by Eli Zaretskii <eliz@gnu.org>.
10898 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10900 * minibuffer.el (completion-file-name-table): Don't return a boundary
10901 past the end of `string' (bug#6299).
10902 (completion--file-name-table): Delegate to completion-file-name-table
10903 for the `boundaries' case.
10905 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10907 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10910 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10911 `path-separator', but maintain compatibility with Emacs 20.2.
10913 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10915 * server.el (server-process-filter): Receive parent-id argument
10917 (server-create-window-system-frame): New arg. Pass parent-id as
10920 2010-05-29 Eli Zaretskii <eliz@gnu.org>
10922 Bidi-sensitive word movement with arrow keys.
10923 * subr.el (right-arrow-command, left-arrow-command): Move to
10926 * bindings.el (right-char, left-char): Move from subr.el and
10927 rename from right-arrow-command and left-arrow-command.
10928 (right-word, left-word): New functions.
10929 (global-map) <right>: Bind to right-char.
10930 (global-map) <left>: Bind to left-char.
10931 (global-map) <C-right>: Bind to right-word.
10932 (global-map) <C-left>: Bind to left-word.
10934 * ls-lisp.el (ls-lisp-classify-file): New function.
10935 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10936 (ls-lisp-classify): Call ls-lisp-classify-file.
10937 (insert-directory): Remove blanks from switches.
10939 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10941 * ansi-color.el: Delete unused escape sequences (Bug#6085).
10942 (ansi-color-drop-regexp): New constant.
10943 (ansi-color-apply, ansi-color-filter-region)
10944 (ansi-color-apply-on-region): Delete unrecognized control sequences.
10945 (ansi-color-apply): Build string list before calling concat.
10947 2010-05-28 Juri Linkov <juri@jurta.org>
10949 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10950 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10953 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10955 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10956 to ignored backtrace functions.
10957 (with-progress-reporter): Expand docstring.
10958 (tramp-handle-delete-file): Implement TRASH argument.
10959 (tramp-get-remote-trash): New defun.
10961 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10963 * net/tramp-compat.el (tramp-compat-delete-file):
10964 Use `symbol-value' for backward compatibility.
10966 * net/tramp.el (tramp-handle-make-symbolic-link)
10967 (tramp-handle-load)
10968 (tramp-do-copy-or-rename-file-via-buffer)
10969 (tramp-do-copy-or-rename-file-directly)
10970 (tramp-do-copy-or-rename-file-out-of-band)
10971 (tramp-handle-process-file, tramp-handle-call-process-region)
10972 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10973 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10974 (tramp-delete-temp-file-function): Use `delete-file' instead
10975 of `tramp-compat-delete-file'.
10977 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10978 (tramp-fish-handle-make-symbolic-link)
10979 (tramp-fish-handle-process-file): Use `delete-file' instead
10980 of `tramp-compat-delete-file'.
10982 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10983 Use `delete-file' instead of `tramp-compat-delete-file'.
10985 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
10986 Use `delete-file' instead of `tramp-compat-delete-file'.
10988 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10989 Use `delete-file' instead of `tramp-compat-delete-file'.
10991 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10992 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10993 (tramp-smb-handle-write-region): Use `delete-file' instead of
10994 `tramp-compat-delete-file'.
10995 (tramp-smb-handle-delete-directory): Use 'trash as arg.
10997 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10999 * dired.el (dired-delete-file): New arg TRASH.
11000 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
11001 (dired-do-flagged-delete, dired-do-delete): Use trash.
11003 * speedbar.el (speedbar-item-delete): Allow trashing.
11005 * files.el (delete-directory): New arg TRASH.
11007 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
11008 (ange-ftp-rename-remote-to-remote)
11009 (ange-ftp-rename-local-to-remote)
11010 (ange-ftp-rename-remote-to-local, ange-ftp-load)
11011 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
11013 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
11016 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
11017 handle new TRASH arg of `delete-file'.
11019 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
11020 (tramp-handle-make-symbolic-link, tramp-handle-load)
11021 (tramp-do-copy-or-rename-file-via-buffer)
11022 (tramp-do-copy-or-rename-file-directly)
11023 (tramp-do-copy-or-rename-file-out-of-band)
11024 (tramp-handle-process-file, tramp-handle-call-process-region)
11025 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11026 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11027 (tramp-delete-temp-file-function): Use null TRASH arg in
11028 tramp-compat-delete-file call.
11030 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
11031 (tramp-fish-handle-delete-file)
11032 (tramp-fish-handle-make-symbolic-link)
11033 (tramp-fish-handle-process-file): Use null TRASH arg in
11034 `tramp-compat-delete-file' call.
11036 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
11037 arg in `tramp-compat-delete-file' call.
11039 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
11040 (tramp-gvfs-handle-write-region): Use null TRASH arg in
11041 `tramp-compat-delete-file' call.
11043 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
11044 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
11045 `tramp-compat-delete-file' call.
11047 * net/tramp-smb.el (tramp-smb-handle-copy-file)
11048 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11049 (tramp-smb-handle-write-region): Use null TRASH arg in
11050 tramp-compat-delete-file call.
11051 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
11052 (tramp-smb-handle-delete-file): Rename arg.
11054 * diff.el (diff-sentinel):
11055 * epg.el (epg--make-temp-file, epg-decrypt-string)
11056 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11057 * jka-compr.el (jka-compr-partial-uncompress)
11058 (jka-compr-call-process, jka-compr-write-region):
11059 * server.el (server-sentinel): Remove optional arg from
11060 delete-file, reverting 2010-05-03 change.
11062 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
11064 * progmodes/verilog-mode.el (verilog-type-font-keywords):
11065 Use font-lock-constant-face, not obsolete font-lock-reference-face.
11067 2010-05-27 Kenichi Handa <handa@m17n.org>
11069 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
11070 element of GSTRING is nil.
11072 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11074 * emacs-lisp/smie.el (smie-forward-token-function)
11075 (smie-backward-token-function): New vars.
11076 (smie-backward-sexp, smie-forward-sexp)
11077 (smie-indent-hanging-p, smie-indent-calculate): Use them.
11078 (smie-default-backward-token): Rename from smie-backward-token and
11080 (smie-default-forward-token): Rename from smie-forward-token and
11082 (smie-next-sexp): Handle nil results from next-token.
11083 (smie-indent-calculate): Add a new case for special `fixindent' comments.
11085 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
11087 * progmodes/verilog-mode.el (verilog-type-font-keywords):
11088 Use font-lock-constant-face, not obsolete font-lock-reference-face.
11090 2010-05-27 Masatake YAMATO <yamato@redhat.com>
11092 * htmlfontify.el (hfy-face-resolve-face): New function.
11093 (hfy-face-to-style): Use it (Bug#6279).
11095 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11097 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
11098 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
11100 2010-05-26 Glenn Morris <rgm@gnu.org>
11102 * emulation/edt.el (edt-load-keys): Use locate-library.
11104 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
11106 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
11107 (log-edit-changelog-entries): Doc fix.
11108 (log-edit-changelog-insert-entries): Args changed.
11109 Rename relative filenames in ChangeLog entries. Delete tabs.
11110 (log-edit-insert-changelog-entries): Reorganize return value of
11111 `log-edit-changelog-entries' to pass filenames to
11112 log-edit-changelog-insert-entries.
11114 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11116 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
11117 `image-dired-dired-insert-marked-thumbs' to
11118 `image-dired-dired-toggle-marked-thumbs'.
11120 * image-dired.el: Require cl when compiling.
11121 (image-dired-dired-toggle-marked-thumbs): Rename from
11122 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
11123 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
11124 to 'no-dir. Skip files whose names don't match
11125 `image-file-name-regexp'. When file has a thumbnail overlay,
11126 delete it. (Bug#5270)
11128 2010-05-25 Juri Linkov <juri@jurta.org>
11130 * image-mode.el (image-mode): Add image-after-revert-hook to
11132 (image-after-revert-hook): New function. (Bug#5669)
11134 2010-05-25 Juri Linkov <juri@jurta.org>
11136 * image.el (image-animated-p): When delay between animated images
11137 is 0, set it to 10 (0.1 sec). (Bug#6258)
11139 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
11141 * net/tramp.el (tramp-handle-insert-directory): Don't use
11142 `forward-word', its default syntax could be changed.
11144 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
11146 * net/tramp.el (tramp-progress-reporter-update): New defun.
11147 (with-progress-reporter): Use it.
11148 (tramp-process-actions):
11149 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
11150 Preserve current message, in order to let progress reporter continue
11151 afterwards. (Bug#6257)
11153 2010-05-25 Glenn Morris <rgm@gnu.org>
11155 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
11158 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
11160 * net/rcirc.el (rcirc-default-user-name): Change to "user".
11161 (rcirc-default-full-name): Change to "unknown".
11162 (rcirc-user-name-history): Add variable.
11164 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
11165 Jonathan Rockway <jon@jrock.us>
11167 * net/rcirc.el (rcirc-server-alist): Add :pass.
11168 (rcirc): When prompting for connection parameters, also prompt for
11169 username and password.
11170 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
11171 value to server when connecting.
11173 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11175 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
11176 (smie-merge-prec2s): Pass the tables as separate args.
11177 (smie-bnf-precedence-table): Adjust call accordingly.
11178 (smie-prec2-levels): Set levels at the end.
11180 Replace Lisp calls to delete-backward-char by delete-char.
11181 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
11182 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
11183 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
11184 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
11185 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
11186 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
11187 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
11188 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
11189 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
11190 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
11191 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
11192 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
11193 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
11194 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
11195 delete-backward-char by calls to delete-char.
11197 2010-05-25 Kenichi Handa <handa@m17n.org>
11199 * language/hebrew.el (hebrew-shape-gstring): New function.
11200 Register it in composition-function-table for all Hebrew combining
11203 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11205 * epa.el (epa--select-keys): Don't explicitly delete the window since
11206 that can fail (e.g. sole window in frame). Use dedication instead.
11208 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11210 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
11212 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
11214 * image.el (image-refresh): Define as an alias for image-flush.
11216 * image-mode.el (image-toggle-display-image): Caller changed.
11218 2010-05-21 Juri Linkov <juri@jurta.org>
11220 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
11221 Remove "all" from grep-files-aliases. Split grep-files-aliases by
11222 whitespace, call wildcard-to-regexp on substrings and concat them
11223 with "\\|". (Bug#6114)
11225 2010-05-21 Alan Mackenzie <acm@muc.de>
11227 * progmodes/cc-engine.el (c-parse-state-get-strategy):
11228 Replace parameter `here' with `here-' and `here-plus', which sandwich
11229 any pertinent CPP construct.
11230 (c-remove-stale-state-cache-backwards): Fix a bug which happens
11231 when doing (c-parse-state) in a CPP construct: Exclude any "new"
11232 CPP construct from taking part in the scanning.
11234 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
11236 * net/tramp.el (tramp-do-copy-or-rename-file)
11237 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
11238 Tune `with-progress-reporter' messages.
11239 (tramp-handle-vc-registered):
11240 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
11241 (tramp-fish-handle-insert-file-contents)
11242 (tramp-fish-maybe-open-connection):
11243 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11244 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
11245 (tramp-imap-handle-insert-file-contents)
11246 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
11248 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
11250 * add-log.el (change-log-font-lock-keywords):
11251 Highlight all authors in multi-author entries.
11253 * smerge-mode.el (smerge-refine-ignore-whitespace)
11254 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
11255 Fix typos in docstrings.
11256 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
11258 2010-05-21 Glenn Morris <rgm@gnu.org>
11260 * progmodes/fortran.el (fortran-mode):
11261 * progmodes/f90.el (f90-mode): Derive from prog-mode.
11263 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
11264 having a relative path in src/Makefile.in.
11266 2010-05-20 Kevin Ryde <user42@zip.com.au>
11268 * help-mode.el (help-make-xrefs): For Info node links turn
11269 newlines into spaces. Link node names with newlines are matched
11270 by help-xref-info-regexp and buttonized, this change ensures they
11271 can be followed successfully with RET. (Bug#6206)
11273 2010-05-20 Juri Linkov <juri@jurta.org>
11275 * locate.el (locate): Use pop-to-buffer instead of
11276 switch-to-buffer-other-window. (Bug#6204)
11278 2010-05-20 Juri Linkov <juri@jurta.org>
11280 * replace.el (replace-highlight): Fix lazy-highlighting
11281 for `M-s w str M-% str RET'.
11283 2009-12-15 Masatake YAMATO <yamato@redhat.com>
11285 * isearch.el (isearch-yank-word-or-char): Pull next subword
11286 when `subword-mode' is activated. (Bug#6220)
11288 2010-05-20 Mark A. Hershberger <mah@everybody.org>
11290 * isearch.el (isearch-update-post-hook): New hook.
11291 (isearch-update): Use the new hook. (Bug#6225)
11293 2010-05-20 Juri Linkov <juri@jurta.org>
11295 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
11296 [f1], [help], and (char-to-string help-char) instead of "\C-h".
11299 2010-05-20 Juri Linkov <juri@jurta.org>
11301 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
11304 2010-05-20 Juri Linkov <juri@jurta.org>
11306 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
11307 FILE-NAME to read from the minibuffer when called interactively
11308 with prefix argument instead of using buffer-file-name.
11309 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
11311 * dired.el: Update autoloads.
11313 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
11315 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
11316 nxml-finish-element, for consistency with SGML mode.
11318 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
11319 octave-close-block.
11321 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
11323 * composite.el: Require cl when compiling.
11324 (reference-point-alist, compose-gstring-for-graphic)
11325 (compose-gstring-for-terminal): Fix typos in docstrings.
11327 2010-05-19 Juri Linkov <juri@jurta.org>
11329 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
11330 set-window-parameter.
11332 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
11334 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
11336 (tramp-maybe-open-connection): Use it.
11338 2010-05-19 Eli Zaretskii <eliz@gnu.org>
11340 * simple.el (move-end-of-line): Make sure we are at line beginning
11341 before backing up to end of previous line.
11343 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
11345 * password-cache.el (password-cache-remove): Fix docstring.
11347 * net/secrets.el: Autoload the widget functions.
11348 (secrets-search-items, secrets-create-item)
11349 (secrets-get-attributes, secrets-expand-item): Attributes will be
11350 stored on the password database without leading ":", as all other
11351 clients do as well.
11352 (secrets-mode): Fix docstring.
11353 (secrets-show-secrets): Provide it as autoloaded command only when
11354 D-Bus support is available. Check existence of Secret Service API.
11356 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11358 * indent.el (indent-region): Deactivate region (bug#6200).
11360 2010-05-19 Glenn Morris <rgm@gnu.org>
11362 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
11364 2010-05-19 Kenichi Handa <handa@m17n.org>
11366 * composite.el: Register compose-gstring-for-graphic in
11367 composition-function-table only for combining characters (Mn, Mc, Me).
11369 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
11371 * calc/calc-trail.el (calc-trail-isearch-forward)
11372 (calc-trail-isearch-backward): Ensure that the new window
11373 point is set correctly.
11375 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11377 * subr.el (read-quoted-char): Resolve modifiers after key
11378 remapping (bug#6212).
11380 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
11382 Add visualization code for secrets.
11383 * net/secrets.el (secrets-mode): New major mode.
11384 (secrets-show-secrets, secrets-show-collections)
11385 (secrets-expand-collection, secrets-expand-item)
11386 (secrets-tree-widget-after-toggle-function)
11387 (secrets-tree-widget-show-password): New defuns.
11389 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11391 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
11392 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
11393 handled in smie-next-sexp.
11394 (smie-indent-calculate): Provide a starting indentation (so the
11395 recursion is well-founded ;-).
11397 Fix handling of non-associative equal levels.
11398 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
11399 when it's not needed.
11400 (smie-op-left, smie-op-right): New functions.
11401 (smie-next-sexp): New function, extracted from smie-backward-sexp.
11402 Better handle equal levels to distinguish the associative case from
11403 the "multi-keyword construct" case.
11404 (smie-backward-sexp, smie-forward-sexp): Use it.
11406 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
11408 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
11410 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
11411 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
11413 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11415 Provide a simple generic indentation engine and use it for Prolog.
11416 * emacs-lisp/smie.el: New file.
11417 * progmodes/prolog.el (prolog-smie-op-levels)
11418 (prolog-smie-indent-rules): New var.
11419 (prolog-mode-variables): Use them to configure SMIE.
11420 (prolog-indent-line, prolog-indent-level): Remove.
11422 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11424 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
11425 order before computing the averages.
11427 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
11429 * calc/calc-vec.el (calc-histogram):
11430 (calcFunc-histogram): Allow vectors as inputs.
11431 (math-vector-avg): New function.
11433 * calc/calc-ext.el (math-group-float): Have the number of digits
11434 being grouped depend on the radix (Bug#6189).
11436 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
11438 * version.el (emacs-copyright, emacs-version): Don't define here,
11439 now that emacs.c defines it.
11441 2010-05-15 Eli Zaretskii <eliz@gnu.org>
11443 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
11444 "Describe Language Environment" menu item.
11446 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
11448 Bidi-sensitive movement with arrow keys.
11449 * subr.el (right-arrow-command, left-arrow-command): New functions.
11451 * bindings.el (global-map): Bind them to right and left arrow keys.
11453 Don't override standard definition of convert-standard-filename.
11454 * files.el (convert-standard-filename):
11455 Call w32-convert-standard-filename and dos-convert-standard-filename on
11456 the corresponding systems.
11458 * w32-fns.el (w32-convert-standard-filename): Rename from
11459 convert-standard-filename. Doc fix.
11461 * dos-fns.el (dos-convert-standard-filename): Doc fix.
11462 (convert-standard-filename): Don't defalias.
11463 (register-name-alist, make-register, register-value)
11464 (set-register-value, intdos): Obsolete aliases for the
11465 corresponding dos-* functions and variables.
11466 (dos-intdos): Add a doc string.
11468 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
11470 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
11471 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
11472 (math-compose-tex-func):
11473 * calc/calccomp.el (math-compose-expr):
11474 * calc/calc-ext.el (math-format-flat-expr-fancy):
11475 * calc/calc-store.el (calc-read-var-name):
11476 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
11478 * calc/calc.el (var-π, var-φ, var-γ): New variables.
11479 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
11480 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
11481 (math-standard-units): Add units.
11483 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11485 * progmodes/asm-mode.el (asm-mode):
11486 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
11488 * pcomplete.el (pcomplete-completions-at-point): New function,
11489 extracted from pcomplete-std-complete.
11490 (pcomplete-std-complete): Use it.
11492 2010-05-15 Glenn Morris <rgm@gnu.org>
11494 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11495 Remove references to CVS, RCS and Old directories.
11497 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
11499 * calc/calc-bin.el (math-format-twos-complement): Group digits when
11502 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11504 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
11505 (sh-mode-syntax-table): Give it a default value instead.
11506 (sh-header-marker): Make buffer-local.
11507 (sh-mode): Move make-local-variable to the corresponding setq.
11508 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
11509 Use complete-with-action.
11511 * simple.el (prog-mode): New (abstract) major mode.
11512 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
11513 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
11515 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
11517 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
11518 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
11519 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
11520 (sql-make-alternate-buffer-name, sql-placeholders-filter)
11521 (sql-escape-newlines-filter, sql-input-sender)
11522 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
11524 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
11526 Add TeX open-block and close-block keybindings to SGML, and vice versa.
11528 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
11529 latex-open-block and C-c / to latex-close-block.
11531 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
11532 and C-c C-e to sgml-close-tag.
11534 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
11536 * net/tramp.el (with-progress-reporter): Create reporter object
11537 only when the message would be displayed. Handle nested calls.
11538 (tramp-handle-load, tramp-handle-file-local-copy)
11539 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11540 (tramp-maybe-send-script, tramp-find-shell):
11541 Use `with-progress-reporter'.
11542 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
11545 * net/tramp-smb.el (tramp-smb-handle-copy-file)
11546 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11547 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
11548 Use `with-progress-reporter'.
11550 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
11552 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
11553 process everytime when spellchecking from the minibuffer (bug#6143).
11555 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11557 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
11559 * dos-fns.el: Add "dos-" prefix for namespace control.
11560 (convert-standard-filename): Define as alias for
11561 dos-convert-standard-filename but only if applicable.
11563 2010-05-12 Alan Mackenzie <acm@muc.de>
11565 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
11566 Push the mark at the start of these functions when appropriate.
11568 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11570 * minibuffer.el (completion-cycle-threshold): New custom var.
11571 (completion--do-completion): Use it.
11572 (minibuffer-complete): Use cycling if appropriate.
11574 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
11576 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
11577 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
11579 2010-05-11 Juri Linkov <juri@jurta.org>
11581 * scroll-all.el (scroll-all-check-to-scroll):
11582 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
11584 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11586 * iimage.el (iimage-mode-map): Move initialization into declaration.
11587 (iimage-mode-buffer): Use with-silent-modifications.
11588 Simplify calling convention. Adjust callers.
11589 (iimage-mode): Don't run hook redundantly.
11591 * minibuffer.el (completion-pcm--pattern->regex):
11592 Fix last change (bug#6160).
11594 2010-05-10 Juri Linkov <juri@jurta.org>
11596 Remove nodes visited during Isearch from the Info history.
11597 * info.el (Info-isearch-initial-history)
11598 (Info-isearch-initial-history-list): New variables.
11599 (Info-isearch-start): Record initial values of
11600 Info-isearch-initial-history and Info-isearch-initial-history-list.
11601 Add Info-isearch-end to isearch-mode-end-hook.
11602 (Info-isearch-end): New function.
11604 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
11606 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
11607 format string, in order to work around a bug in pdksh.
11608 Reported by Gilles Pion <gpion@lfdj.com>.
11609 (tramp-handle-verify-visited-file-modtime): Do not send a command
11610 when the connection is not established.
11611 (tramp-handle-set-file-times): Simplify the check for utc.
11613 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
11615 Fix use of `filter-buffer-substring' (rework previous change).
11616 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
11617 (cua-repeat-replace-region):
11618 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
11619 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11620 (cua-cut-region-to-global-mark): Use it.
11622 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
11624 * progmodes/sql.el: Version 2.1.
11625 (sql-product-alist): Redesign structure of product info.
11626 (sql-product, sql-user, sql-server, sql-database): Safe variables.
11627 (sql-port, sql-port-history): New variables.
11628 (sql-interactive-product): New variable.
11629 (sql-send-terminator): New variable.
11630 (sql-imenu-generic-expression): Add "Types" imenu entry.
11631 (sql-oracle-login-params, sql-sqlite-login-params)
11632 (sql-mysql-login-params, sql-solid-login-params)
11633 (sql-sybase-login-params, sql-informix-login-params)
11634 (sql-ingres-login-params, sql-ms-login-params)
11635 (sql-postgres-login-params, sql-interbase-login-params)
11636 (sql-db2-login-params, sql-linter-login-params)
11637 (sql-oracle-scan-on): New variables.
11638 (sql-mode-map): Add C-c C-i to start interactive mode.
11639 (sql-mode-menu): Update existing menu entries.
11640 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
11641 (sql-mode-oracle-font-lock-keywords)
11642 (sql-mode-postgres-font-lock-keywords)
11643 (sql-mode-ms-font-lock-keywords)
11644 (sql-mode-sybase-font-lock-keywords)
11645 (sql-mode-informix-font-lock-keywords)
11646 (sql-mode-interbase-font-lock-keywords)
11647 (sql-mode-ingres-font-lock-keywords)
11648 (sql-mode-solid-font-lock-keywords)
11649 (sql-mode-mysql-font-lock-keywords)
11650 (sql-mode-sqlite-font-lock-keywords)
11651 (sql-mode-db2-font-lock-keywords)
11652 (sql-mode-linter-font-lock-keywords): Update initialization to
11653 reduce run-time complexity.
11654 (sql-add-product, sql-del-product): New functions.
11655 (sql-set-product-feature, sql-get-product-feature): New functions.
11656 (sql-product-font-lock): Update product API.
11657 (sql-add-product-keywords): New function.
11658 (sql-highlight-product): Update product API.
11659 (sql-help-list-products): New function.
11660 (sql-help): Dynamically lists free and non-free products.
11661 (sql-get-login): Correct bug in handling history and added
11663 (sql-copy-column): Copy without properties.
11664 (sqli-input-sender): Apply filters to SQLi input.
11665 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
11666 Implement as a filter.
11667 (sql-escape-newlines-filter): Implement as a filter.
11668 (sql-remove-tabs-filter): New function.
11669 (sql-send-magic-terminator): New function.
11670 (sql-send-string): Implement magic terminator.
11671 (sql-send-region): Use `sql-send-string'.
11672 (sql-interactive-mode): Use product API.
11673 (sql-product-interactive): Use product API.
11674 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
11675 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
11676 (sql-db2, sql-linter): Use `sql-product-interactive'.
11677 (sql-connect): New function.
11678 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
11679 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
11680 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
11681 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
11684 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11686 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
11687 New custom variable.
11688 (completion-pcm--string->pattern): Use it.
11689 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
11690 Make it handle any symbol as `any'.
11691 (completion-pcm--merge-completions): Extract common suffix for the new
11692 `prefix' symbol as well.
11693 (completion-substring--all-completions): Use the new `prefix' symbol.
11695 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
11697 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
11699 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
11700 (tramp-compat-funcall): New defmacro.
11701 (tramp-compat-line-beginning-position)
11702 (tramp-compat-line-end-position)
11703 (tramp-compat-temporary-file-directory)
11704 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
11705 (tramp-compat-copy-file, tramp-compat-copy-directory)
11706 (tramp-compat-delete-file, tramp-compat-delete-directory)
11707 (tramp-compat-number-sequence, tramp-compat-process-running-p)
11708 * net/tramp.el (top, with-progress-reporter)
11709 (tramp-rfn-eshadow-setup-minibuffer)
11710 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
11711 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
11712 (tramp-completion-mode-p, tramp-check-for-regexp)
11713 (tramp-open-connection-setup-interactive-shell)
11714 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
11715 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
11716 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
11717 * net/tramp-cmds.el (tramp-cleanup-all-connections)
11718 (tramp-reporter-dump-variable, tramp-load-report-modules)
11719 (tramp-append-tramp-buffers)
11720 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
11722 * net/tramp-imap.el (top): Autoload `epg-make-context'.
11724 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11726 * progmodes/compile.el (compilation-buffer-modtime): Rename from
11727 buffer-modtime. Adjust users.
11729 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11731 * international/mule.el (auto-coding-alist): Only purecopy
11732 car of each item, not the whole list (Bug#6083).
11734 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11736 * progmodes/js.el (js-mode): Make paragraph variables local before
11737 calling c-setup-paragraph-variables (Bug#6071).
11739 2010-05-08 Eli Zaretskii <eliz@gnu.org>
11741 * composite.el (compose-region, reference-point-alist): Fix typos
11742 in the doc strings.
11744 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11746 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
11747 gnuplot's "set" command.
11749 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11751 * abbrev.el (last-abbrev-text): Doc fix.
11752 (abbrev-prefix-mark): Don't escape parenthesis.
11754 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
11756 * composite.el (find-composition): Doc fix.
11758 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11760 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
11761 (sql-oracle-program, sql-sqlite-options)
11762 (sql-query-placeholders-and-send): Doc fixes.
11763 (sql-set-product, sql-interactive-mode): Reflow docstrings.
11764 (sql-imenu-generic-expression, sql-buffer)
11765 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
11766 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
11767 (sql-mode-sybase-font-lock-keywords)
11768 (sql-mode-informix-font-lock-keywords)
11769 (sql-mode-interbase-font-lock-keywords)
11770 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
11771 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
11772 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
11773 (sql-product-feature, sql-highlight-product)
11774 (comint-line-beginning-position, sql-rename-buffer)
11775 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
11776 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
11777 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
11778 Fix typos in docstrings.
11780 2010-05-08 Juri Linkov <juri@jurta.org>
11782 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
11783 property instead of `invisible' and `after-string' (bug#5998).
11785 2010-05-08 Juri Linkov <juri@jurta.org>
11787 * image-mode.el (image-mode-as-text): Fix typo in docstring.
11789 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11791 * filecache.el (file-cache-add-directory-list)
11792 (file-cache-add-directory-recursively): Fix typos in docstrings.
11794 2010-05-08 Kenichi Handa <handa@m17n.org>
11796 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
11797 (gujarati-composable-pattern): Fix typo.
11799 2010-05-08 Kenichi Handa <handa@m17n.org>
11801 * language/indian.el (oriya-composable-pattern)
11802 (tamil-composable-pattern, malayalam-composable-pattern):
11803 Add two-part vowels to "v" (vowel sign).
11805 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11807 * files.el (copy-directory): Handle symlinks (Bug#5982).
11809 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
11811 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
11812 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
11815 2010-05-08 Glenn Morris <rgm@gnu.org>
11817 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11819 * minibuffer.el (completion-at-point): Doc fix.
11821 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11823 * electric.el (Electric-command-loop): Minor tweak.
11825 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11826 better with dedicated windows.
11828 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
11830 * Version 23.2 released.
11832 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11833 Stefan Monnier <monnier@iro.umontreal.ca>
11835 Highlight vendor specific properties.
11836 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11837 (css-proprietary-property): New face.
11838 (css-font-lock-keywords): Use them.
11840 2010-05-07 Eli Zaretskii <eliz@gnu.org>
11842 * cus-start.el (all): Add native condition for tool-bar-* symbols.
11844 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11846 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11847 * files.el (auto-mode-alist): Remove redundant entries.
11849 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11850 * simple.el (auto-save-mode): Move from files.el.
11851 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11853 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
11855 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11857 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
11859 * mail/binhex.el (binhex-decode-region-internal)
11860 * mail/uudecode.el (uudecode-decode-region-internal)
11861 * net/dns.el (dns-read-string-name, dns-write, dns-read)
11862 (dns-read-type, dns-query)
11863 * pgg-parse.el (pgg-parse-armor)
11864 * pgg.el (pgg-verify-region)
11865 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11868 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11870 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
11872 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11874 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11875 * emulation/cua-base.el (cua-repeat-replace-region):
11876 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11877 (cua-cut-region-to-global-mark):
11878 Remove text properties with `set-text-properties'.
11880 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
11882 * net/tramp.el (top, with-progress-reporter):
11883 Use `symbol-function' inside `funcall'.
11885 * net/tramp-compat.el (tramp-compat-file-attributes)
11886 (tramp-compat-delete-file, tramp-compat-delete-directory):
11887 Handle only `wrong-number-of-arguments' error.
11889 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11890 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11893 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11895 * minibuffer.el (completion--sreverse, completion--common-suffix):
11897 (completion-pcm--merge-completions): Extract common suffix when safe.
11899 * emacs-lisp/easy-mmode.el (define-minor-mode):
11900 Make :variable more flexible.
11901 * files.el (auto-save-mode): Use it to define using define-minor-mode.
11903 2010-05-05 Juri Linkov <juri@jurta.org>
11905 Add `slow' and `history' tags to the desktop data.
11907 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11908 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11909 (Info-finder-find-node): Require `finder.el' to be able
11910 to restore node from the desktop.
11911 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
11912 data `Info-history' and `slow' tag in the assoc list.
11913 (Info-restore-desktop-buffer): Don't restore nodes with the
11914 `slow' tag. Restore `Info-history'.
11916 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
11918 Add FORCE argument to `delete-file'.
11920 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11921 forcing to delete the temporary file.
11922 (ange-ftp-delete-file): Add FORCE arg.
11923 (ange-ftp-rename-remote-to-remote)
11924 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11925 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11926 Force file deletion.
11928 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11930 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11931 (tramp-handle-make-symbolic-link, tramp-handle-load)
11932 (tramp-do-copy-or-rename-file-via-buffer)
11933 (tramp-do-copy-or-rename-file-directly)
11934 (tramp-do-copy-or-rename-file-out-of-band)
11935 (tramp-handle-process-file, tramp-handle-call-process-region)
11936 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11937 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11938 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11940 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11941 (tramp-fish-handle-make-symbolic-link)
11942 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11944 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11945 Use `tramp-compat-delete-file'.
11947 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11948 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11950 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11951 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11953 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11954 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11955 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11956 Use `tramp-compat-delete-file'.
11958 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11961 * subr.el (add-minor-mode): Use push.
11962 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11963 * emulation/edt.el (edt-select-mode): Simplify.
11965 Use define-minor-mode in more cases.
11966 * term/tvi970.el (tvi970-set-keypad-mode):
11967 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11968 (normal-erase-is-backspace-mode):
11969 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11970 (set-scroll-bar-mode-1): (Re)move to its sole caller.
11971 (get-scroll-bar-mode): New function.
11972 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11974 Use define-minor-mode for less obvious cases.
11975 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11976 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11977 * international/iso-ascii.el (iso-ascii-mode):
11978 * frame.el (auto-raise-mode, auto-lower-mode):
11979 * composite.el (global-auto-composition-mode): Use define-minor-mode.
11981 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
11983 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11984 in order to see error messages for failed logins.
11986 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
11988 * diff.el (diff-sentinel):
11990 * epg.el (epg--make-temp-file, epg-decrypt-string)
11991 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11993 * jka-compr.el (jka-compr-partial-uncompress)
11994 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11996 * server.el (server-sentinel): Use delete-file's new FORCE arg
11999 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12001 Use define-minor-mode where applicable.
12002 * view.el (view-mode):
12003 * type-break.el (type-break-query-mode)
12004 (type-break-mode-line-message-mode):
12005 * textmodes/reftex.el (reftex-mode):
12006 * term/vt100.el (vt100-wide-mode):
12007 * tar-mode.el (tar-subfile-mode):
12008 * savehist.el (savehist-mode):
12009 * ibuf-ext.el (ibuffer-auto-mode):
12010 * composite.el (auto-composition-mode):
12011 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12012 Use define-minor-mode.
12013 (vhdl-mode): Use static mode-line format.
12014 (vhdl-mode-line-update): Delete.
12015 (vhdl-create-mode-menu, vhdl-activate-customizations)
12016 (vhdl-hs-minor-mode): Don't bother calling it.
12018 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
12020 * simple.el (with-wrapper-hook): Move.
12021 (buffer-substring-filters): Mark obsolete.
12022 (filter-buffer-substring-functions): New variable.
12023 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
12025 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
12026 Michael Albinus <michael.albinus@gmx.de>
12028 Implement compression for inline methods.
12030 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
12031 (tramp-copy-size-limit): Allow also nil.
12032 (tramp-inline-compress-commands): New defconst.
12033 (tramp-find-inline-compress, tramp-get-inline-compress)
12034 (tramp-get-inline-coding): New defuns.
12035 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
12036 replaced by `tramp-get-inline-coding'.
12037 (tramp-handle-file-local-copy, tramp-handle-write-region)
12038 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
12040 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12042 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
12043 Remove unused functions.
12045 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
12046 Set find-tag-default-function as a variable rather than a property.
12048 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
12049 * progmodes/etags.el (tags-completion-at-point-function):
12050 Remove left over interactive spec. Add autoloading stub.
12051 (complete-tag): Use tags-completion-at-point-function.
12053 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
12055 * minibuffer.el (tags-completion-at-point-function): Fix return value.
12057 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
12059 * ido.el (ido-init-completion-maps): Remove C-v binding.
12060 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
12062 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
12064 * minibuffer.el (tags-completion-at-point-function): New function.
12065 (completion-at-point-functions): Use it.
12067 * progmodes/etags.el (complete-tag): Revert last change.
12069 2010-04-29 Alan Mackenzie <acm@muc.de>
12071 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
12072 off-by-one error (in end of macro position).
12074 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12076 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
12077 firefox is absent. Don't autoload.
12078 (browse-url-galeon-program): Don't autoload.
12080 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
12082 * bindings.el (complete-symbol): Move into minibuffer.el.
12084 * minibuffer.el (complete-tag): Move from etags.el. If tags
12085 completion cannot be performed, return nil instead of signalling
12087 (completion-at-point): Make it an alias for complete-symbol.
12088 (complete-symbol): Move from bindings.el, and replace with the
12089 body of completion-at-point.
12091 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
12093 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
12095 * net/tramp.el (tramp-remote-selinux-p): New defun.
12096 (tramp-handle-file-selinux-context)
12097 (tramp-handle-set-file-selinux-context): Use it.
12099 2010-04-28 Sam Steingold <sds@gnu.org>
12101 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
12102 `safe-local-variable' if the value is a string or a symbol with
12103 the property `bug-reference-url-format'.
12105 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
12107 * progmodes/bug-reference.el (bug-reference-url-format):
12108 Revert 2010-04-27 change due to security risk.
12110 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12112 Make it possible to locally disable a globally enabled mode.
12113 * simple.el (fundamental-mode): Run fundamental-mode-hook.
12114 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
12115 rather than kill-all-local-variables so it runs fundamental-mode-hook.
12116 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12117 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
12118 that subsequent hooks get a chance to disable it.
12120 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12122 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12123 Avoid re-enabling a minor mode after the user turned the minor mode
12124 off if MODE-enable-in-buffers is run twice (typically once from
12125 fundamental-mode's after-change-major-mode-hook and a second time from
12126 run-mode-hook's own after-change-major-mode-hook).
12128 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
12130 2010-04-27 Sam Steingold <sds@gnu.org>
12132 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
12133 `safe-local-variable' if the value is a string or a function, as
12134 documented and implemented on 2010-04-02.
12136 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
12138 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
12139 when method is 'kill.
12141 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
12143 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
12144 condition in default directory check.
12145 (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
12146 Kill ispell process when killing its associated buffer.
12148 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
12150 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
12151 but we aren't using it.
12153 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
12155 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
12156 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
12158 2010-04-24 Glenn Morris <rgm@gnu.org>
12160 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
12161 Ignore VCS-ignore files, and deleted nextstep preferences files.
12162 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
12163 (authors-ambiguous-files): New list.
12164 (authors-valid-file-names): Add some deleted files.
12165 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
12166 (authors-disambiguate-file-name): New function. (Bug#5501)
12167 (authors-canonical-file-name): Doc fix.
12168 Don't warn about obsolete files.
12169 (authors-canonical-file-name, authors-scan-el):
12170 Use authors-disambiguate-file-name.
12172 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
12173 Add autoload cookies.
12174 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
12175 (generated-autoload-file): Set file-local value to "htmlfontify.el".
12176 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
12177 They have definitions / compiler macros in cl.el.
12178 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
12179 Replace manual autoloads with generated ones.
12180 (htmlfontify-unload-rgb-file): Remove autoload.
12181 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
12183 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12185 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
12186 (byte-compile-setq-default): Optimize for the
12187 single-var case and don't call byte-compile-form in this case to avoid
12188 inf-loop with byte-compile-set-default.
12190 * progmodes/compile.el (compilation-start): Abbreviate default directory.
12192 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
12194 Implement SELINUX backends.
12196 * net/tramp.el (tramp-file-name-handler-alist):
12197 Add `file-selinux-context' and `set-file-selinux-context'.
12198 (tramp-handle-file-selinux-context)
12199 (tramp-handle-set-file-selinux-context): New defuns.
12200 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
12201 Handle PRESERVE-SELINUX-CONTEXT.
12203 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12204 Add `file-selinux-context' and `set-file-selinux-context'.
12205 (tramp-gvfs-handle-file-selinux-context)
12206 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
12207 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
12209 * net/ange-ftp.el (ange-ftp-copy-file):
12210 * net/tramp-fish.el (tramp-fish-handle-copy-file):
12211 * net/tramp-imap.el (tramp-imap-handle-copy-file):
12212 * net/tramp-smb.el (tramp-smb-handle-copy-file):
12213 Add PRESERVE-SELINUX-CONTEXT.
12215 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
12217 Synchronize with Tramp repository.
12219 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
12220 (tramp-action-process-alive, tramp-action-out-of-band)
12221 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
12222 (tramp-exists-file-name-handler): Fix docstring.
12223 (with-progress-reporter): New defmacro.
12224 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
12225 (tramp-maybe-open-connection): Use it.
12227 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
12229 Detect ssh 'ControlMaster' argument automatically in some cases.
12231 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
12232 (tramp-default-method): Use it.
12234 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
12236 * net/tramp.el (tramp-handle-copy-file): Add new optional
12237 parameter `preserve-selinux-context'.
12238 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
12240 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
12242 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
12243 Ensure, that non remote files are still checked. Oops.
12245 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
12249 * icomplete.el (icomplete-completions): Use `non-essential'.
12251 * net/tramp.el (tramp-connectable-p): New defun.
12252 (tramp-handle-expand-file-name)
12253 (tramp-completion-handle-file-name-all-completions)
12254 (tramp-completion-handle-file-name-completion): Use it.
12256 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
12258 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
12260 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
12262 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
12264 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
12266 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
12269 * info.el (info-tool-bar-map): Add labels.
12271 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
12273 * cus-edit.el (custom-commands): Add labels for tool bar.
12274 (custom-buffer-create-internal, Custom-mode): Adjust for
12275 labels in custom-commands.
12277 * dynamic-setting.el: Renamed from font-setting.el.
12279 2010-04-21 John Wiegley <jwiegley@gmail.com>
12281 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
12282 toggles the use of virtual buffers.
12283 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
12284 (ido-toggle-virtual-buffers): New function.
12286 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
12288 Use `define-derived-mode'; fix window selection; doc fixes.
12289 * play/tetris.el (tetris, tetris-update-speed-function)
12290 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
12291 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
12292 (tetris-rotate-next, tetris-end-game, tetris-start-game)
12293 (tetris-pause-game): Fix typos in docstrings.
12294 (tetris-mode-map, tetris-null-map):
12295 Move initialization into declaration.
12296 (tetris-mode): Define with `define-derived-mode';
12297 set show-trailing-whitespace to nil.
12298 (tetris): Prefer window already displaying the "*Tetris*" buffer.
12300 2010-04-21 Karel Klíč <kklic@redhat.com>
12302 * files.el (backup-buffer): Handle SELinux context, and return it
12303 if a backup was made by renaming.
12304 (backup-buffer-copy): Set SELinux context to the target file.
12305 (basic-save-buffer): Set SELinux context of the newly written file.
12306 (basic-save-buffer-1): Now it also returns any SELinux context.
12307 (basic-save-buffer-2): Set SELinux context of the newly created file,
12309 * net/tramp.el (tramp-file-name-for-operation):
12310 Add file-selinux-context.
12312 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
12314 Make the log-edit comments use RFC822 format throughout.
12316 * vc.el (vc-checkin, vc-modify-change-comment):
12317 Adjust to new vc-start/finish-logentry.
12318 (vc-find-conflicted-file): New command.
12319 (vc-transfer-file): Adjust to new vc-checkin.
12320 (vc-next-action): Improve scoping.
12322 * vc-hg.el (vc-hg-log-edit-mode): Remove.
12323 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
12325 * vc-git.el (vc-git-log-edit-mode): Remove.
12326 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
12327 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
12329 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
12330 (vc-start-logentry): Remove argument `extra'.
12331 (vc-finish-logentry): Remove extra args.
12333 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
12334 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
12335 (vc-bzr-conflicted-files): New function.
12337 * log-edit.el (log-edit-extra-flags)
12338 (log-edit-before-checkin-process): Remove.
12339 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
12340 (log-edit-headers-alist): New var.
12341 (log-edit-header-contents-regexp): New const.
12342 (log-edit-match-to-eoh): New function.
12343 (log-edit-font-lock-keywords): Use them.
12344 (log-edit): Insert a "Summary:" header as default.
12345 (log-edit-mode): Mark font-lock rules as case-insensitive.
12346 (log-edit-done): Cleanup headers.
12347 (log-view-process-buffer): Remove.
12348 (log-edit-extract-headers): New function to replace it.
12350 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
12352 * subr.el (default-direction-reversed): Remove obsolescence info.
12354 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12356 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
12359 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
12360 I.e. include text after point in the completion region.
12361 Also, return nil when we're not after/in a symbol.
12363 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
12364 default enable-multibyte-characters.
12366 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12368 * international/mule.el: Help the user choose a valid coding-system.
12369 (read-buffer-file-coding-system): New function.
12370 (set-buffer-file-coding-system): Use it. Prompt the user if the
12371 coding-system cannot encode all the chars.
12373 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
12374 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
12375 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
12376 Don't use *vc-bzr-shelve*.
12378 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
12380 Fix the version number for added files.
12381 * vc-hg.el (vc-hg-working-revision): Check if the file is
12382 registered after hg parent fails (Bug#5961).
12384 2010-04-19 Glenn Morris <rgm@gnu.org>
12386 * htmlfontify.el (htmlfontify-buffer)
12387 (htmlfontify-copy-and-link-dir): Autoload entry points.
12389 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
12391 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
12392 name relative to the project root (Bug#5960).
12394 2010-04-19 Glenn Morris <rgm@gnu.org>
12396 * vc-git.el (vc-git-print-log): Doc fix.
12398 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
12400 * ido.el (ido-file-internal): Fix 2009-12-02 change.
12402 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
12404 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
12405 default settings (Bug#5928).
12407 2010-04-19 Glenn Morris <rgm@gnu.org>
12409 * progmodes/fortran.el (fortran-match-and-skip-declaration):
12411 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
12413 2010-04-19 Kenichi Handa <handa@m17n.org>
12415 * language/indian.el (malayalam-composable-pattern): Fix previous
12416 change (add U+0D4D "SIGN VIRAMA").
12417 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
12418 (tamil-composable-pattern): Fix typo in the regexp.
12419 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
12420 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
12421 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
12423 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
12425 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
12426 paragraph-separate (Bug#5821).
12428 2010-04-19 Juri Linkov <juri@jurta.org>
12430 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
12432 * info.el (Info-find-node-2): Comment out code that skips
12434 (Info-mouse-follow-link): New command.
12435 (Info-link-keymap): New keymap.
12436 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
12437 Return a string with links instead of inserting breadcrumbs
12438 to the Info buffer.
12439 (Info-fontify-node): Comment out code that inserts breadcrumbs.
12440 Instead of putting the `invisible' text property over the Info
12441 header, make an overlay over the Info header with the `invisible'
12442 property and `after-string' set to the string returned by
12443 `Info-breadcrumbs'.
12445 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
12447 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
12448 Reported by monkey@sandpframing.com.
12450 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12452 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
12453 (tmm-get-keymap): Add key-binding shortcuts now that they're not
12454 available in the "keyseq cache" any more.
12456 * custom.el (defcustom): Add edebug spec.
12458 2010-04-18 Juri Linkov <juri@jurta.org>
12460 Test for special mode-class in view-buffer instead of view-file (bug#5513).
12462 * view.el (view-file, view-buffer): Move test for special mode-class
12463 from view-file to view-buffer.
12465 * tar-mode.el (tar-extract): Turn if's into one cond
12466 like in arc-mode.el.
12468 2010-04-18 Juri Linkov <juri@jurta.org>
12470 Add 7z archive format support (bug#5475).
12472 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
12473 (archive-7z-extract): New defcustom.
12474 (archive-find-type): Add magic string for 7z.
12475 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
12476 If `stderr-file' is non-nil, use `(t stderr-file)' for the
12477 `buffer' arg of `call-process'.
12478 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
12479 call the function `archive-7z-extract' with the variable
12480 `archive-7z-extract' let-bound to `archive-zip-extract'.
12481 (archive-7z-summarize, archive-7z-extract): New functions.
12483 * international/mule.el (auto-coding-alist):
12484 * files.el (auto-mode-alist): Add 7z file extension.
12486 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12488 * loadup.el: Setup hash-cons for pure data.
12490 Fix duplicate entries in cedet's loaddefs.el files.
12491 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
12492 Should make most file-local generated-autoload-file unnecessary.
12493 (print-readably): Silence warnings.
12494 (autoload-find-destination): Take load-name as an arg to make sure
12495 it's the same as the one that will be in the file.
12496 (autoload-generate-file-autoloads): Adjust to above changes.
12497 Try to make the dataflow a bit simpler.
12499 * cvs-status.el (cvs-refontify): Remove unused.
12501 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
12503 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
12505 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
12506 twos-complement mode.
12508 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
12510 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
12511 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
12512 (calc-inverse): Add "Option" to message, as appropriate.
12513 (calc-hyperbolic): Add "Option" to message, as appropriate.
12514 (calc-option, calc-is-option): New functions.
12516 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
12517 (calc-option-prefix-help): New function.
12519 * calc/calc-misc.el (calc-help): Add "Option" entry.
12521 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
12522 (calc-option-flag): New variable.
12523 (calc-do): Set `calc-option-flag to nil.
12524 (calc-set-mode-line): Add "Opt " as appropriate.
12526 2010-04-16 Juri Linkov <juri@jurta.org>
12528 Move scrolling commands from simple.el to window.el
12529 because their primitives are implemented in window.c.
12531 * simple.el (scroll-error-top-bottom)
12532 (scroll-up-command, scroll-down-command, scroll-up-line)
12533 (scroll-down-line, scroll-other-window-down)
12534 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12535 * window.el (scroll-error-top-bottom)
12536 (scroll-up-command, scroll-down-command, scroll-up-line)
12537 (scroll-down-line, scroll-other-window-down)
12538 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12539 Move from simple.el to window.el because their primitives are
12540 implemented in window.c.
12542 2010-04-16 Juri Linkov <juri@jurta.org>
12544 * isearch.el (isearch-lookup-scroll-key): Check both
12545 `isearch-scroll' and `scroll-command' properties.
12546 (scroll-up, scroll-down): Remove `isearch-scroll' property.
12548 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
12550 * simple.el (scroll-up-command, scroll-down-command)
12551 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
12553 2010-04-15 Juri Linkov <juri@jurta.org>
12555 * simple.el (scroll-up-command, scroll-down-command)
12556 (scroll-up-line, scroll-down-line): Put `scroll-command'
12557 property on the these symbols. Remove them from
12558 `scroll-preserve-screen-position-commands'.
12560 * mwheel.el (mwheel-scroll): Put `scroll-command' and
12561 `isearch-scroll' properties on the `mwheel-scroll' symbol.
12562 Remove it from `scroll-preserve-screen-position-commands'.
12564 * isearch.el (isearch-allow-scroll): Doc fix.
12566 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
12568 * net/tramp.el (tramp-error-with-buffer): Don't show the
12569 connection buffer when we are in completion mode.
12570 (tramp-file-name-handler): Catch the error for some operations
12571 when we are in completion mode. This gives the user the chance to
12572 correct the file name in the minibuffer.
12574 2010-04-15 Glenn Morris <rgm@gnu.org>
12576 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
12578 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
12580 Simplify by using `define-derived-mode'.
12581 * info.el (Info-mode):
12582 * calendar/todo-mode.el (todo-mode):
12583 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
12584 (gomoku-mode-map): Move initialization into declaration.
12586 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
12589 * ido.el (ido-file-name-all-completions-1):
12590 * minibuffer.el (minibuffer-completion-help):
12591 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
12593 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12595 * simple.el (non-essential): New var.
12597 Add a new field `location' to bookmarks for non-file bookmarks.
12598 * bookmark.el (bookmark-location): Use the new field, if present.
12599 (bookmark-insert-location): Undo last change, not needed any more.
12600 * man.el (Man-bookmark-make-record):
12601 * woman.el (woman-bookmark-make-record): Add `location' field.
12603 2010-04-14 Juri Linkov <juri@jurta.org>
12605 * simple.el (scroll-error-top-bottom): New defcustom.
12606 (scroll-up-command, scroll-down-command): Use it. Doc fix.
12608 * emulation/pc-select.el (pc-select-override-scroll-error):
12609 Obsolete in favor of `scroll-error-top-bottom'.
12611 2010-04-14 Juri Linkov <juri@jurta.org>
12613 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
12614 `scroll-up-command' and `M-v' to `scroll-down-command'.
12616 * emulation/cua-rect.el (cua--init-rectangles):
12617 * forms.el (forms--change-commands):
12618 * image-mode.el (image-mode-map):
12619 Remap scroll-down-command and scroll-up-command
12620 in addition to scroll-down and scroll-up.
12622 2010-04-14 Juri Linkov <juri@jurta.org>
12624 * mwheel.el (scroll-preserve-screen-position-commands):
12625 Add mwheel-scroll to this list of commands.
12627 * simple.el (scroll-preserve-screen-position-commands):
12628 Add scroll-up-command, scroll-down-command, scroll-up-line,
12629 scroll-down-line to this list of commands.
12631 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12633 * obsolete/complete.el: Move from lisp/complete.el.
12635 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
12637 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
12638 to the minor mode function now turns the mode ON unconditionally.
12640 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12642 * vc-dir.el (vc-dir-kill-line): New command.
12643 (vc-dir-mode-map): Bind it to C-k.
12645 * bookmark.el (bookmark-insert-location): Handle a nil filename.
12647 * woman.el: Add bookmark declarations to silence the compiler.
12648 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
12649 step to compatibility between man and woman bookmarks.
12650 Adjust for Man-default-bookmark-title renaming.
12651 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
12653 * man.el: Add bookmark declarations to silence the compiler.
12654 (Man-name-local-regexp): Make it match NAME as well.
12655 (Man-getpage-in-background): Return the buffer.
12656 (Man-notify-when-ready): Use `case'.
12657 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
12658 Don't hardcode "NAME". Simplify.
12659 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
12660 Rename from Man-bookmark-make-record.
12661 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
12662 we have the actual man-args. Use Man-getpage-in-background rather
12663 than `man' since the arg is already processed. Let bookmark.el do the
12664 window handling. Only wait for the relevant process.
12665 Don't forget to autoload.
12667 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
12669 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12671 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
12673 (woman-mode): Setup bookmark support.
12675 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
12676 (man-bookmark-jump): New functions.
12677 (Man-mode): Setup bookmark support.
12679 2010-04-10 Jari Aalto <jari.aalto@cante.net>
12681 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
12682 recognize ssh-keygen prompt (Bug#2817).
12684 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12686 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
12688 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12690 Synchronize with Tramp repository.
12692 * net/tramp.el (tramp-completion-function-alist)
12693 (tramp-file-name-regexp, tramp-chunksize)
12694 (tramp-local-coding-commands, tramp-remote-coding-commands):
12696 (tramp-remote-process-environment): Use `format' instead of `concat'.
12697 (tramp-handle-directory-files-and-attributes)
12698 (tramp-get-remote-path): Use `copy-tree'.
12699 (tramp-handle-file-name-all-completions): Backward/ XEmacs
12700 compatibility: Use `completion-ignore-case' if
12701 `read-file-name-completion-ignore-case' does not exist.
12702 (tramp-do-copy-or-rename-file-directly): Do not use
12703 `tramp-handle-file-remote-p'.
12704 (tramp-do-copy-or-rename-file-out-of-band):
12705 Use `tramp-compat-delete-directory'.
12706 (tramp-do-copy-or-rename-file-out-of-band)
12707 (tramp-compute-multi-hops, tramp-maybe-open-connection):
12708 Use `format-spec-make'.
12709 (tramp-find-foreign-file-name-handler)
12710 (tramp-advice-make-auto-save-file-name)
12711 (tramp-set-auto-save-file-modes): Remove superfluous check for
12712 `stringp'. This is done inside `tramp-tramp-file-p'.
12713 (tramp-debug-outline-regexp): New defconst.
12714 (tramp-get-debug-buffer): Use it.
12715 (tramp-check-for-regexp): Use (forward-line 1).
12716 (tramp-set-auto-save-file-modes): Adapt version check.
12718 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
12719 Wrap call of `featurep' for 2nd argument.
12720 (tramp-compat-make-temp-file): Simplify fallback implementation.
12721 (tramp-compat-copy-tree): Remove function.
12722 (tramp-compat-delete-directory): Provide implementation for older
12725 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
12726 Do not use `tramp-fish-handle-file-attributes.
12728 * net/trampver.el: Update release number.
12730 2010-04-10 Glenn Morris <rgm@gnu.org>
12732 * progmodes/compile.el (compilation-save-buffers-predicate):
12733 Add missing :version tag.
12735 2010-04-09 Sam Steingold <sds@gnu.org>
12737 * progmodes/compile.el (compilation-save-buffers-predicate):
12738 Remove the "autoload" cookie.
12740 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
12741 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
12742 and `bug-reference-prog-mode' can be used in hooks directly.
12744 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
12746 Add --author support to git commit.
12747 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
12748 (vc-git-log-edit-mode): New minor mode.
12749 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
12752 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
12754 * vc-hooks.el, vc-git.el: Improve documentation comments.
12756 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12758 Fix some of the problems in defsubst* (bug#5728).
12759 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
12760 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
12762 2010-04-07 Sam Steingold <sds@gnu.org>
12764 * progmodes/compile.el (compilation-save-buffers-predicate):
12765 New custom variable.
12766 (compile, recompile): Pass it to `save-some-buffers'.
12768 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
12770 * wid-edit.el (widget-choose): Move cursor to the second line of
12771 the buffer (Bug#5695).
12773 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12775 Add new VC methods: vc-log-incoming and vc-log-outgoing.
12776 * vc.el (vc-print-log-setup-buttons): New function split out from
12777 vc-print-log-internal.
12778 (vc-log-internal-common): New function, a parametrized version of
12779 vc-print-log-internal.
12780 (vc-print-log-internal): Just call vc-log-internal-common with the
12782 (vc-incoming-outgoing-internal):
12783 (vc-log-incoming, vc-log-outgoing): New functions.
12784 (vc-log-view-type): New permanent local variable.
12786 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
12788 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
12789 of the dynamic bound vc-short-log.
12790 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
12792 * vc-git.el (vc-git-log-outgoing): New function.
12793 (vc-git-log-view-mode): Use vc-log-view-type instead
12794 of the dynamic bound vc-short-log.
12796 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
12797 of the dynamic bound vc-short-log. Highlight the tag.
12798 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
12799 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
12800 (vc-hg-incoming-mode): Remove.
12801 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
12803 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12805 Fix default-directory for vc-root-diff.
12806 * vc.el (vc-root-diff): Bind default-directory to the root
12807 directory for the diff command.
12809 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
12811 * progmodes/verilog-mode.el (verilog-forward-sexp):
12812 (verilog-calc-1): Support "disable fork" and "fork wait" multi
12813 word keywords, suggested by Steve Pearlmutter.
12814 (verilog-pretty-declarations): Support lineup of declarations in
12816 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12817 fix bug for /* / comments.
12818 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12819 Speed up and simplfy as this is never called with a bound.
12820 (verilog-pretty-declarations): Enhance to line up declarations
12821 inside a parameter list, suggested by Alan Morgan.
12822 (verilog-pretty-expr): Tune assignment regular expression match
12823 string for corner cases; also use markers instead of character
12824 number as indent changes the later.
12826 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
12828 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12829 as missing keyword.
12830 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12831 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
12832 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12833 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
12835 (verilog-keywords):
12836 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12837 1800-2009 keywords, including "global.".
12839 2010-04-06 John Wiegley <jwiegley@gmail.com>
12841 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12842 appearing in buffer list (if a live buffer name matched a recentf
12843 file basename). Should use uniquify to offer a real solution.
12845 2010-04-06 John Wiegley <jwiegley@gmail.com>
12847 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12848 comment to code, and add a :version tag.
12849 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12851 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
12853 Enable recentf-mode if using virtual buffers.
12854 * ido.el (recentf-list): Declare for byte-compiler.
12855 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
12856 (ido-make-buffer-list): Simplify.
12857 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
12859 2010-04-05 Juri Linkov <juri@jurta.org>
12861 Scrolling commands which scroll a line instead of full screen.
12862 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12864 * simple.el (scroll-up-line, scroll-down-line): New commands.
12865 Put property isearch-scroll=t on them.
12867 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12870 2010-04-05 Juri Linkov <juri@jurta.org>
12872 Scrolling commands which do not signal errors at top/bottom.
12873 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12875 * simple.el (scroll-up-command, scroll-down-command): New commands.
12876 Put property isearch-scroll=t on them.
12878 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12879 `scroll-down-command' and [next] from `scroll-up' to
12880 `scroll-up-command'.
12882 * emulation/cua-base.el: Put property CUA=move on
12883 `scroll-up-command' and `scroll-down-command'.
12884 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12885 and `scroll-down-command' to `cua-scroll-down'.
12887 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
12889 * help.el (describe-mode): Return nil.
12891 2010-04-04 John Wiegley <jwiegley@gmail.com>
12893 * ido.el (ido-use-virtual-buffers): New variable to indicate
12894 whether "virtual buffer" support is enabled for IDO.
12895 (ido-virtual): Face used to indicate virtual buffers in the list.
12896 (ido-buffer-internal): If a buffer is chosen, and no such buffer
12897 exists, but a virtual buffer of that name does (which would be why
12898 it was in the list), recreate the buffer by reopening the file.
12899 (ido-make-buffer-list): If virtual buffers are being used, call
12900 `ido-add-virtual-buffers-to-list' before the make list hook.
12901 (ido-virtual-buffers): New variable which contains a copy of the
12902 current contents of the `recentf-list', albeit pared down for the
12903 sake of speed, and with proper faces applied.
12904 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12905 create a list of "virtual buffers" to present to the user in
12906 addition to the currently open set. Note that this logic could
12907 get rather slow if that list is too large. With the default
12908 `recentf-max-saved-items' of 200, there is little speed penalty.
12910 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
12912 * font-lock.el: Require CL when compiling.
12913 (font-lock-turn-on-thing-lock): Use `case'.
12915 2010-04-03 Eli Zaretskii <eliz@gnu.org>
12917 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12920 2010-04-02 Juri Linkov <juri@jurta.org>
12922 * ehelp.el (electric-help-orig-major-mode):
12923 New buffer-local variable.
12924 (electric-help-mode): Set it to original major-mode. Doc fix.
12925 (with-electric-help): Use `electric-help-orig-major-mode' instead
12926 of (default-value 'major-mode). Doc fix.
12927 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12929 2010-04-02 Sam Steingold <sds@gnu.org>
12931 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12932 `vc-hg-command' with a list of flags.
12934 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12935 Also accept "patch" and "RFE".
12936 (bug-reference-fontify): `bug-reference-url-format' can also be a
12937 function to be able to handle the bug kind.
12938 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12940 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
12942 * tmm.el (tmm-get-keymap): Check with symbolp before passing
12943 value to fboundp, it may not be a symbol.
12945 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12947 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12949 2010-03-31 Juri Linkov <juri@jurta.org>
12951 * simple.el (next-line, previous-line): Re-throw a signal
12952 with `signal' instead of using `ding'.
12953 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12955 2010-03-31 Juri Linkov <juri@jurta.org>
12957 * simple.el (keyboard-escape-quit): Raise deselecting the active
12958 region higher than exiting the minibuffer.
12959 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12961 2010-03-31 Juri Linkov <juri@jurta.org>
12963 * image.el (image-animated-p): Use `image-metadata' instead of
12964 `image-extension-data'. Get GIF extenstion data from metadata
12965 property `extension-data'.
12967 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12969 * simple.el (append-to-buffer): Simplify.
12971 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
12973 * textmodes/artist.el (artist-mode): Fix typo in docstring.
12974 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
12976 2010-03-31 Kenichi Handa <handa@m17n.org>
12978 * language/sinhala.el (composition-function-table): Fix regexp for
12979 the new Unicode specification.
12981 * language/indian.el (devanagari-composable-pattern)
12982 (tamil-composable-pattern, kannada-composable-pattern)
12983 (malayalam-composable-pattern): Adjust for the new Unicode
12985 (bengali-composable-pattern, gurmukhi-composable-pattern)
12986 (gujarati-composable-pattern, oriya-composable-pattern)
12987 (telugu-composable-pattern): New variables to cope with the new
12988 Unicode specification. Use them in composition-function-table.
12990 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12992 Make tmm-menubar work for the Buffers menu again (bug#5726).
12993 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12994 vectors rather than cons cells, as used in menu-bar-update-buffers.
12996 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12998 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12999 (js-insert-and-indent): Revert 2009-08-15 change, restoring
13000 electric punctuation for "{}();,:" (Bug#5586).
13002 * mail/sendmail.el (mail-default-directory): Doc fix.
13004 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
13006 * mail/sendmail.el (mail-default-directory): Doc fix.
13008 2010-03-31 Eli Zaretskii <eliz@gnu.org>
13010 * subr.el (version-regexp-alist, version-to-list)
13011 (version-list-<, version-list-=, version-list-<=)
13012 (version-list-not-zero, version<, version<=, version=): Doc fix.
13015 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
13017 * vc.el (vc-root-diff): Doc fix.
13019 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
13021 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
13023 * simple.el (append-to-buffer): Fix last change.
13025 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
13027 * simple.el (append-to-buffer): Ensure that point is preserved if
13028 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
13031 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13033 * files.el (auto-mode-case-fold): Change default to t.
13035 2010-03-30 Juri Linkov <juri@jurta.org>
13037 * dired-x.el (dired-omit-mode): Doc fix.
13039 2010-03-30 Juri Linkov <juri@jurta.org>
13041 * replace.el (occur-accumulate-lines): Move occur-engine related
13042 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
13043 to be located after `occur-engine'.
13045 2010-03-30 Juri Linkov <juri@jurta.org>
13047 Make occur handle multi-line matches cleanly with context.
13048 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
13050 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
13051 (occur-engine): Add local variables `ret', `prev-after-lines',
13052 `prev-lines'. Use more arguments for `occur-context-lines'.
13053 Set first elem of its returned list to `data', and the second elem
13054 to `prev-after-lines'. Don't print the separator line.
13055 In the end, print remaining context after-lines.
13056 (occur-context-lines): Add new arguments `begpt', `endpt',
13057 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
13058 after-lines of the previous match with before-lines of the
13059 current match and not overlap them. Return a list with two
13060 values: the output line and the list of context after-lines.
13062 2010-03-30 Juri Linkov <juri@jurta.org>
13064 * replace.el (occur-accumulate-lines): Fix a bug where the first
13065 context line at the beginning of the buffer was missing.
13067 2010-03-30 Eli Zaretskii <eliz@gnu.org>
13069 * files.el: Make bidi-display-reordering safe variable for boolean
13072 2010-03-29 Phil Hagelberg <phil@evri.com>
13073 Chong Yidong <cyd@stupidchicken.com>
13075 * subr.el: Extend progress reporters to perform "spinning".
13076 (progress-reporter-update, progress-reporter-do-update):
13077 Handle non-numeric value arguments.
13078 (progress-reporter--pulse-characters): New var.
13080 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
13082 * progmodes/compile.el (compilation-start): Fix regexp detection
13083 of initial cd command (Bug#5771).
13085 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
13087 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
13089 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
13091 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
13092 * progmodes/gdb-mi.el: Restore.
13093 * progmodes/gdb-ui.el: Remove.
13094 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
13096 2010-03-25 Glenn Morris <rgm@gnu.org>
13098 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
13099 all dired buffers, even tramp ones. (Bug#5755)
13101 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13103 Add "union tags" in mpc.el.
13104 * mpc.el: Remove backward compatibility code.
13105 (mpc-browser-tags): Change default.
13106 (mpc--find-memoize-union-tags): New var.
13107 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
13108 (mpc-cmd-find): Handle the case where the playlist does not exist.
13110 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
13111 (mpc-cmd-add): Use mpc-cmd-flush.
13112 (mpc-tagbrowser-tag-name): New fun.
13113 (mpc-tagbrowser-buf): Use it.
13114 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
13116 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13119 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
13120 Use replace-regexp-in-string.
13121 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
13122 (makefile-imake-mode-syntax-table): Move init into defvar.
13123 (makefile-mode): Use define-derived-mode.
13125 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
13126 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
13127 not be present any more.
13129 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
13131 * faces.el (set-face-attribute): Fix typo in docstring.
13132 (face-valid-attribute-values): Reflow docstring.
13134 2010-03-24 Glenn Morris <rgm@gnu.org>
13136 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
13138 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
13140 * indent.el (indent-for-tab-command): Doc fix.
13142 2010-03-24 Alan Mackenzie <acm@muc.de>
13144 * progmodes/cc-engine.el (c-remove-stale-state-cache):
13145 Fix off-by-one error. Fixes bug #5747.
13147 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
13149 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
13150 (image-dired-read-comment): Doc fix.
13152 * json.el (json-object-type, json-array-type, json-key-type)
13153 (json-false, json-null, json-read-number):
13154 * minibuffer.el (completion-in-region-functions):
13155 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
13156 (cal-tex-cursor-week):
13157 * emacs-lisp/trace.el (trace-function):
13158 * eshell/em-basic.el (eshell/printnl):
13159 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
13160 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
13161 * obsolete/levents.el (allocate-event, event-key, event-object)
13162 (event-point, event-process, event-timestamp, event-to-character)
13163 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
13164 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
13165 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
13166 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
13167 (reftex-highlight-selection): Fix typos in docstrings.
13169 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
13171 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
13173 2010-03-24 Glenn Morris <rgm@gnu.org>
13175 * mail/rmail.el (rmail-highlight-face): Restore option deleted
13176 2008-02-13 without comment; mark it obsolete.
13177 (rmail-highlight-headers): Use rmail-highlight-face once more.
13179 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
13181 * woman.el (woman2-process-escapes): Only consume the newline if
13182 the filler character is on a line by itself (Bug#5729).
13184 2010-03-24 Kenichi Handa <handa@m17n.org>
13186 * language/indian.el (devanagari-composable-pattern): Add more
13189 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
13191 * net/trampver.el: Update release number.
13193 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
13195 * net/tramp.el (tramp-find-executable):
13196 Use `tramp-get-connection-buffer'. Make the regexp for checking
13197 output of "wc -l" more robust.
13198 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
13199 (tramp-open-connection-setup-interactive-shell): Remove workaround
13200 for OpenSolaris bug, it is not needed anymore.
13202 2010-03-24 Glenn Morris <rgm@gnu.org>
13204 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
13206 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
13208 * files.el (auto-mode-alist): Accept more verilog file patterns.
13210 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13212 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
13214 2010-03-24 Glenn Morris <rgm@gnu.org>
13216 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
13217 log-edit-before-checkin-process.
13219 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
13221 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
13223 * vc-dispatcher.el (vc-start-logentry): Doc fix.
13224 (log-view-process-buffer, log-edit-extra-flags): Declare.
13226 * log-edit.el (log-edit-before-checkin-process): Doc fix.
13228 2010-03-23 Sam Steingold <sds@gnu.org>
13230 Fix bug#5620: recalculate all markers on compilation buffer
13231 modifications, not on file modifications.
13232 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
13233 variable: the buffer modification time, for buffers not associated with
13235 (compilation-mode): Create it.
13236 (compilation-filter): Update it.
13237 (compilation-next-error-function): Use it instead of
13238 `visited-file-modtime' for timestamp.
13240 2010-03-23 Juri Linkov <juri@jurta.org>
13242 Implement Occur multi-line matches.
13243 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
13245 * replace.el (occur): Doc fix.
13246 (occur-engine): Set `begpt' to the beginning of the first line.
13247 Set `endpt' to the end of the last match line. At first, count
13248 line numbers between `origpt' and `begpt'. Split out code from
13249 `out-line' variable to new let-bindings `match-prefix' and
13250 `match-str'. In `out-line' add non-numeric prefix to all
13251 non-first lines of multi-line matches. Finally, count lines
13252 between `begpt' and `endpt' and add to `lines'.
13254 2010-03-23 Juri Linkov <juri@jurta.org>
13256 * replace.el (occur-accumulate-lines, occur-engine):
13257 Use `occur-engine-line' instead of duplicate code.
13258 (occur-engine-line): New function created from duplicate code
13259 in `occur-accumulate-lines' and `occur-engine'.
13261 * replace.el (occur-engine-line): Add optional arg `keep-props'.
13262 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
13264 2010-03-23 Juri Linkov <juri@jurta.org>
13266 * finder.el: Remove TODO tasks.
13268 * info.el (Info-finder-find-node): Add node "all"
13269 with all package info. Handle a list of multiple keywords
13270 separated by comma.
13271 (info-finder): In interactive use with a prefix argument,
13272 use `completing-read-multiple' to read a list of keywords
13273 separated by comma.
13275 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
13277 Add a new completion style `substring'.
13278 * minibuffer.el (completion-basic--pattern): New function.
13279 (completion-basic-try-completion, completion-basic-all-completions):
13281 (completion-substring--all-completions)
13282 (completion-substring-try-completion)
13283 (completion-substring-all-completions): New functions.
13284 (completion-styles-alist): New style `substring'.
13286 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
13288 Get rid of .elc files after removal of the corresponding .el.
13289 * Makefile.in (compile-clean): New target.
13290 (compile-main): Use it.
13292 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
13294 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
13295 don't do make there. When compiling with separate object dir, there
13296 is no Makefile there.
13298 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
13300 Get rid of the ELCFILES abomination, again.
13301 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13302 (all, compile): Don't call compile-last.
13303 (compile-main): Build the "elcfiles" list dynamically.
13304 (compile-targets): New (internal) target.
13306 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
13308 * Makefile.in (top_srcdir): Define.
13309 (abs_top_builddir): Define.
13310 (srcdir): Don't append `/..'.
13311 (EMACS): Use ${abs_top_builddir}.
13312 (all, compile, compile-always, compile-last): Don't set emacswd.
13313 (update-subdirs, update-authors): Use $(top_srcdir) instead of
13315 (lisp): Use $(srcdir) instead of @srcdir@.
13317 2010-03-21 Juri Linkov <juri@jurta.org>
13319 Fix message of multi-line occur regexps and multi-buffer header lines.
13320 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
13322 * replace.el (occur-1): Don't display regexp if it is longer
13323 than window-width. Use `query-replace-descr' to display regexp.
13324 (occur-engine): Don't display regexp in the buffer header for
13325 multi-buffer occur. Display a separate header line with total
13326 match count and regexp for multi-buffer occur.
13327 Use `query-replace-descr' to display regexp.
13329 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
13331 * net/secrets.el: Fix parenthesis.
13332 (secrets-enabled): Fix parenthesis.
13334 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13336 Use more relative file and directory names.
13337 * Makefile.in (EMACS): Arrange for it to work when we chdir.
13338 (setwins, setwins_almost, setwins_for_subdirs):
13339 Don't `cd'; output relative names.
13340 (all, compile, compile-always, compile-last): Set emacswd.
13341 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
13342 Just cd to the lisp source dir so we can use relative file names.
13344 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
13346 2010-03-20 Glenn Morris <rgm@gnu.org>
13348 * textmodes/rst.el: Use faces for font-lock customization, and make the
13349 old -face variables obsolete.
13350 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
13351 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
13352 (rst-block-face, rst-external-face, rst-definition-face)
13353 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
13354 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
13356 (rst-font-lock-keywords-function): Update for above changes.
13358 2010-03-20 Juri Linkov <juri@jurta.org>
13361 * obsolete/s-region.el: Move to obsolete.
13363 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
13365 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
13367 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
13369 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
13371 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
13373 Add special markup processing for commit logs.
13374 * log-edit.el (log-edit-extra-flags): New variable.
13375 (log-edit): Add new argument MODE. Use that mode when non-nil
13376 instead of the log-view-mode.
13377 (log-view-process-buffer): New function.
13379 * vc.el: Document that the checkin method takes optional
13380 arguments. Document new backend specific method: log-view-mode.
13381 (vc-default-log-edit-mode): New function.
13382 (vc-checkin): Use a backend specific log-view-mode.
13383 Pass extra arguments to the checkin method.
13384 (vc-modify-change-comment): Pass a dummy extra argument.
13386 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
13388 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
13389 (vc-finish-logentry): Process the log buffer before passing it
13390 down. Pass log-edit-extra-flags.
13392 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
13394 (log-edit-extra-flags, log-edit-before-checkin-process):
13397 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
13399 (log-edit-extra-flags, log-edit-before-checkin-process):
13401 (vc-hg-log-edit-mode): New derived mode.
13403 * vc-arch.el (vc-arch-checkin):
13404 * vc-cvs.el (vc-cvs-checkin):
13405 * vc-git.el (vc-git-checkin):
13406 * vc-mtn.el (vc-mtn-checkin):
13407 * vc-rcs.el (vc-rcs-checkin):
13408 * vc-sccs.el (vc-sccs-checkin):
13409 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
13411 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13413 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
13416 2010-03-19 Glenn Morris <rgm@gnu.org>
13418 * password-cache.el (password-cache, password-cache-expiry): Autoload.
13420 2010-03-18 Glenn Morris <rgm@gnu.org>
13422 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
13424 * replace.el (query-replace-history): Give it a doc string.
13425 (map-query-replace-regexp): Use query-replace-from-history-variable
13426 and query-replace-to-history-variable.
13428 * mail/hashcash.el (declare-function): Remove duplicate definition.
13430 * mail/emacsbug.el (report-emacs-bug-pretest-address):
13431 Make it an obsolete alias for report-emacs-bug-address.
13432 (message-strip-special-text-properties): Declare.
13433 (report-emacs-bug): Remove test for a pretest bug address.
13434 Combine message-mode-specific code.
13436 * mail/supercite.el: Don't require sendmail.
13437 (mh-in-header-p): Declare rather than using with-no-warnings.
13438 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
13439 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
13441 * calendar/cal-french.el: Convert to utf-8.
13443 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
13446 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
13448 * net/secrets.el (secrets-enabled): New variable. Use it instead
13451 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
13453 * net/secrets.el (top): Register the D-Bus signals only when the
13454 service "org.freedesktop.secrets" can be pinged.
13455 Provide subfeature `enabled'.
13457 2010-03-14 Juri Linkov <juri@jurta.org>
13459 Add finder unknown keywords.
13461 * finder.el (finder-unknown-keywords): New function.
13463 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
13464 to create a Finder node with unknown keywords.
13466 2010-03-14 Juri Linkov <juri@jurta.org>
13468 * finder.el (finder-compile-keywords): Replace `princ' with
13469 `prin1' on a list of symbols interned from keyword strings.
13471 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
13472 a comma, then split keywords using a comma and optional whitespace.
13473 Otherwise, split by whitespace.
13481 * progmodes/mixal-mode.el: Fix keywords.
13483 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
13485 * Makefile.in (ELCFILES): Add net/secrets.elc.
13487 * net/secrets.el: New file.
13489 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13491 * facemenu.el (list-colors-display, list-colors-print): New arg
13492 callback. Use it to allow selecting colors.
13494 * wid-edit.el (widget-image-insert): Insert image prop even if the
13495 current display is non-graphic.
13496 (widget-field-value-set): New fun.
13497 (editable-field): Use it.
13498 (widget-field-value-get): Clean up unused var.
13499 (widget-color-value-create, widget-color--choose-action):
13500 New funs. Allow using list-colors-display to choose color.
13502 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13504 * cus-edit.el: Resort topmost custom groups.
13505 (custom-buffer-sort-alphabetically): Default to t.
13506 (customize-apropos): Use apropos-parse-pattern.
13507 (custom-search-field): New var.
13508 (custom-buffer-create-internal): Add custom-apropos search field.
13509 (custom-add-parent-links): Don't display parent doc.
13510 (custom-group-value-create): Don't sort top-level custom group.
13511 (custom-magic-value-create): Show visibility button before option name.
13513 (custom-variable-state): New fun, from custom-variable-state-set.
13514 (custom-variable-state-set): Use it.
13515 (custom-group-value-create): Hide options with standard values
13516 using the :hidden-states property. Use progress reporter.
13518 (custom-show): Simplify.
13519 (custom-visibility): Disable images by default.
13520 (custom-variable): New property :hidden-states.
13521 (custom-variable-value-create): Enable images for
13522 custom-visibility widgets. Use :hidden-states property to
13523 determine initial visibility.
13525 * wid-edit.el (widget-image-find): Give images center ascent.
13526 (visibility): Add :on-image and :off-image properties.
13527 (widget-visibility-value-create): Use them.
13529 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13531 * cus-edit.el (processes): Remove from development group.
13532 (oop, hypermedia): Delete group.
13533 (comm): Promote to top-level group.
13535 * net/browse-url.el (browse-url):
13536 * net/xesam.el (xesam):
13537 * net/tramp.el (tramp):
13538 * net/goto-addr.el (goto-address):
13539 * net/ange-ftp.el (ange-ftp): Put in comm group.
13541 * view.el (view): Remove from editing group.
13543 * uniquify.el (uniquify): Put in files group.
13545 * net/browse-url.el (browse-url):
13546 * ps-print.el (postscript): Put in external group.
13548 * cus-edit.el (outlines):
13549 * textmodes/text-mode.el (text-mode-hook):
13550 * textmodes/table.el (table):
13551 * textmodes/picture.el (picture):
13552 * outline.el (outlines): Put in wp group.
13554 * nxml/nxml-mode.el (nxml): Remove from wp group.
13556 * net/tramp-imap.el (tramp-imap): Put in tramp group.
13558 * mail/metamail.el (metamail): Remove from hypermedia group.
13560 * cus-edit.el (abbrev):
13561 * whitespace.el (whitespace):
13562 * vcursor.el (vcursor):
13563 * reveal.el (reveal):
13564 * hl-line.el (hl-line): Put in convenience group.
13566 * epg-config.el (epg): Put in data group.
13568 * emulation/pc-select.el (pc-select): Put in emulations group.
13570 * calculator.el (calculator): Put in applications group.
13572 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13574 Add .dir-locals.el support for file-less buffers.
13575 * files.el (hack-local-variables): Split out code to apply local
13576 variable settings ...
13577 (hack-local-variables-apply): ... here. New function.
13578 (hack-dir-local-variables): Use the default directory for when the
13579 buffer does not have an associated file.
13580 (hack-dir-local-variables-non-file-buffer): New function.
13581 * diff-mode.el (diff-mode):
13582 * vc-annotate.el (vc-annotate-mode):
13583 * vc-dir.el (vc-dir-mode):
13584 * log-edit.el (log-edit-mode):
13585 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
13587 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13589 Add support for shelving snapshots and for showing shelves.
13590 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
13591 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
13593 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13594 (vc-bzr-extra-menu-map): Map them.
13596 2010-03-11 Glenn Morris <rgm@gnu.org>
13598 * cus-edit.el (customize-changed-options-previous-release):
13601 * image.el (image-animate-max-time): Fix :version tag.
13603 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
13607 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
13609 * vc-git.el (vc-git-revision-table): Include remote branches.
13611 2010-03-10 Kim F. Storm <storm@cua.dk>
13613 Animated image API.
13614 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
13616 * image.el (image-animate-max-time): New defcustom.
13617 (image-animated-types): New defconst.
13618 (create-animated-image, image-animate-timer)
13619 (image-animate-start, image-animate-stop, image-animate-timeout)
13620 (image-animated-p): New functions.
13622 * image-mode.el (image-toggle-display-image):
13623 Replace `create-image' with `create-animated-image'.
13625 2010-03-09 Miles Bader <miles@gnu.org>
13627 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
13628 instead of "format:"; this ensures that the output is
13629 newline-terminated.
13631 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
13633 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
13634 that all errors are caught, and that the return value is always a
13637 2010-03-08 Kenichi Handa <handa@m17n.org>
13639 * language/misc-lang.el (windows-1256): New coding system.
13640 (cp1256): New alias of windows-1256 (bug#5690).
13642 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
13644 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
13645 call to rfc822-bad-address. (Bug#5692)
13647 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
13649 * vc-git.el (vc-git-annotate-extract-revision-at-line):
13650 Use vc-git-root as default directory for revision path (Bug#5657).
13652 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
13654 * calculator.el (calculator): Don't bind split-window-keep-point
13657 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
13659 * vc-git.el: Re-flow to fit into 80 columns.
13660 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
13661 Remove spurious `quote' element in each case alternative.
13662 (vc-git-show-log-entry): Use prog1.
13663 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
13665 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
13667 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
13669 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
13671 * macros.el (insert-kbd-macro): Look up keyboard macro using the
13672 definition, not the name (Bug#5481).
13674 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
13676 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
13677 argument with a local variable. (Bug#5670)
13679 2010-03-02 Juri Linkov <juri@jurta.org>
13681 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
13683 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
13685 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
13686 error when FILENAME and NEWNAME are existing remote directories.
13688 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
13689 parameter DIR-FLAG.
13691 2010-03-02 Glenn Morris <rgm@gnu.org>
13693 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
13694 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
13696 2010-03-01 Kenichi Handa <handa@m17n.org>
13698 * language/burmese.el (burmese-composable-pattern): Rename from
13699 myanmar-composable-pattern.
13701 * international/characters.el (script-list):
13702 * international/fontset.el (script-representative-chars):
13703 Change myanmar to burmese.
13704 (otf-script-alist): Likewise.
13705 (setup-default-fontset): Likewise. Re-fix :otf spec.
13707 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
13709 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
13711 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
13713 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
13715 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13717 * net/tramp.el (tramp-handle-write-region): START can be a string.
13718 Take care in the checks. Reported by Dan Davison
13719 <davison@stats.ox.ac.uk>.
13721 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13723 * net/dbus.el (dbus-introspect, dbus-get-property)
13724 (dbus-set-property, dbus-get-all-properties):
13725 Use `dbus-call-method' when noninteractive. (Bug#5645)
13727 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
13729 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
13730 * emacs-lisp/elint.el (elint-add-required-env):
13731 * calendar/icalendar.el (icalendar--add-diary-entry):
13732 * calc/calcalg2.el (math-tracing-integral):
13733 * files.el (recover-session-finish): Use with-current-buffer
13734 instead of save-excursion.
13736 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
13738 Fix in-buffer completion when after-change-functions modify the buffer.
13739 * minibuffer.el (completion--replace): New function.
13740 (completion--do-completion): Use it and use relative movement.
13742 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
13744 * international/fontset.el (setup-default-fontset): Fix :otf spec.
13746 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
13748 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
13749 Allow the characters _<> in the stack entry (Bug#5653).
13751 2010-02-26 Kenichi Handa <handa@m17n.org>
13753 * language/burmese.el: Fix entries in composition-function-table.
13754 (myanmar-composable-pattern): New variable.
13756 * international/fontset.el (setup-default-fontset): Add an entry
13759 * international/characters.el (script-list): Add Myanmar
13762 2010-02-26 Glenn Morris <rgm@gnu.org>
13764 * custom.el (custom-initialize-delay): Doc fix.
13766 * mail/sendmail.el (send-mail-function): Autoload the call
13767 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
13769 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
13771 * files.el (hack-local-variables-filter): For eval forms, also
13772 check safe-local-variable-p (Bug#5636).
13774 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
13776 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
13777 setting the modes by `ignore-errors'. It might fail, for example
13778 if the file is not owned by the user but the group.
13779 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
13781 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
13783 * files.el (directory-listing-before-filename-regexp):
13784 Use stricter matching for iso-style dates, to avoid false matches with
13785 date-like filenames (Bug#5597).
13787 * htmlfontify.el (htmlfontify): Doc fix.
13789 * eshell/eshell.el (eshell): Doc fix.
13791 * startup.el (fancy-about-screen): In mode-line, apply
13792 mode-line-buffer-id face only to the buffer name (Bug#5613).
13794 2010-02-20 Kevin Ryde <user42@zip.com.au>
13796 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13797 In `watcom' anchor regexp to start of line, to avoid slowness
13800 2010-02-20 Eli Zaretskii <eliz@gnu.org>
13802 * subr.el (remove-yank-excluded-properties): Explain in a comment
13803 why `category' property is removed.
13805 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
13807 * isearch.el (isearch-update-post-hook, isearch-update):
13808 Revert 2010-02-17 change.
13810 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
13812 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
13813 (icalendar--convert-weekly-to-ical)
13814 (icalendar--convert-yearly-to-ical)
13815 (icalendar--convert-block-to-ical)
13816 (icalendar--convert-cyclic-to-ical)
13817 (icalendar--convert-anniversary-to-ical): Take care of time
13818 specifications where hour has 1-digit only (Bug#5549).
13820 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
13822 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13823 of disassemble output in GDB 7.1.
13825 2010-02-19 Glenn Morris <rgm@gnu.org>
13827 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13828 property. (Bug#5593)
13830 2010-02-18 Sam Steingold <sds@gnu.org>
13832 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13834 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
13836 Use abbreviated file names in bookmarks (bug#5591).
13837 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13838 calls to expand-file-name.
13839 (bookmark-relocate): Use abbreviated file names in bookmarks.
13840 (bookmark-load): Use abbreviated file names in messages.
13842 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13844 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13845 expand "." and "..". Reported by Thierry Volpiatto
13846 <thierry.volpiatto@gmail.com>.
13848 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13850 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13851 permissions of the temporary file to "0600". In case the remote
13852 file has no read permissions for the owner, there might be
13853 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
13855 22010-02-18 Glenn Morris <rgm@gnu.org>
13857 * emacs-lisp/authors.el (authors-renamed-files-alist):
13858 Add entries for INSTALL.CVS.
13860 2010-02-17 Mark A. Hershberger <mah@everybody.org>
13862 * vc-bzr.el: Fix typo in Known Bugs section.
13864 * isearch.el (isearch-update-post-hook): New hook.
13865 (isearch-update): Use the new hook.
13867 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
13869 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13870 Fix errors in copying directories.
13871 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13872 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13873 (tramp-handle-delete-file)
13874 (tramp-handle-dired-recursive-delete-directory)
13875 (tramp-handle-write-region): Flush also the cache for the upper
13878 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
13880 * simple.el (save-interprogram-paste-before-kill): Doc fix.
13882 * cus-edit.el (hardware): Doc fix.
13884 * man.el (man): Add to external custom group.
13886 * delim-col.el (columns): Move to wp custom group.
13888 * doc-view.el (doc-view): Add to data custom group.
13890 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13892 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13893 by ispell-parse-output (Bug#5575).
13895 2010-02-16 Kenichi Handa <handa@m17n.org>
13897 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13898 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13899 (skkdic-convert): Use `euc-japan' coding system for writing.
13901 2010-02-16 Glenn Morris <rgm@gnu.org>
13903 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13904 tex-main-file before using it. (Bug#5562)
13906 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
13908 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13909 warnings, since it is annoying for the user to see them each time he
13912 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
13914 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13915 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13916 instead of PROC for caching "first-password-request". Otherwise,
13917 new processes would not profit from passwords already entered.
13919 * net/tramp-cache.el (tramp-dump-connection-properties):
13920 Don't save "first-password-request" property.
13922 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
13924 * outline.el (outline-head-from-level):
13925 * simple.el (with-wrapper-hook):
13926 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13927 (elint-defun, elint-buffer-env, elint-top-form-logged)
13928 (elint-unbound-variable):
13929 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13930 Fix typos in docstrings.
13932 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
13934 * files.el (insert-directory): When WILDCARD-REGEXP and
13935 FULL-DIRECTORY-P are nil, insert the file entry instead of the
13936 whole directory. (Bug#5551)
13938 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
13939 dired's alignment sanity. (Bug#5516)
13941 2010-02-14 Juri Linkov <juri@jurta.org>
13943 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13944 Remove remaining ^H with their preceding chars. (Bug#5566)
13946 2010-02-13 Glenn Morris <rgm@gnu.org>
13948 * simple.el (transpose-subr): Give it a doc-string.
13950 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13953 2010-02-12 Juri Linkov <juri@jurta.org>
13955 * arc-mode.el (archive-unique-fname): Make directories for nested
13956 archives. (Bug#5540)
13958 2010-02-12 Juri Linkov <juri@jurta.org>
13960 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
13962 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
13964 * subr.el (copy-overlay): Handle deleted overlays.
13966 * man.el (Man-completion-table): Don't signal an error if we can't run
13967 manual-program (bug#4056).
13969 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
13971 * textmodes/artist.el (artist-mt): Fix typos in docstring.
13973 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13975 * info.el (Info-bookmark-jump): Simplify.
13977 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13978 (bookmark-default-handler): Accept new bookmark field `buffer'.
13980 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
13982 * iswitchb.el (iswitchb-completions): Revert last change.
13984 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
13986 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13987 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13988 This prevents file names like "~/" being listed literally.
13990 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
13992 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13993 Remove dead code. (Bug#5546)
13995 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
13997 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13998 correctly (Bug#5548).
14000 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
14002 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
14003 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
14005 2010-02-08 Kenichi Handa <handa@m17n.org>
14007 * international/mule-util.el (with-coding-priority): Add autoload
14008 cookie for putting `lisp-indent-function'.
14010 2010-02-07 Glenn Morris <rgm@gnu.org>
14012 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
14013 Move F2003 named interfaces from keywords-2 to keywords-1, and
14014 use function-name-face rather than constant-face.
14015 Simplify "abstract interface" regexp.
14017 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
14019 * eshell/esh-util.el (eshell-file-attributes): New optional arg
14020 ID-FORMAT. Pass it to `file-attributes'.
14022 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
14024 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
14026 * faces.el (set-face-attribute): Allow calling
14027 internal-set-lisp-face-attribute with 'unspecified family and
14028 foundry argument (Bug#5536).
14030 2010-02-07 Glenn Morris <rgm@gnu.org>
14032 * progmodes/f90.el (f90-font-lock-keywords-2)
14033 (f90-looking-at-type-like, f90-looking-at-program-block-end):
14034 Handle F2003 named interfaces.
14036 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
14038 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
14039 beg and end before calling c-get-state-before-change-functions.
14041 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
14043 * vc-bzr.el (vc-bzr-dir-extra-headers):
14044 Disable the pending merges header.
14046 2010-02-05 Juri Linkov <juri@jurta.org>
14048 * doc-view.el (doc-view-mode):
14049 * image-mode.el (image-mode): Put property mode-class=special.
14052 2010-02-05 Mark A. Hershberger <mah@everybody.org>
14054 * vc-svn.el (vc-svn-revision-table): New function.
14056 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
14058 * net/ange-ftp.el (ange-ftp-insert-directory):
14059 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
14060 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
14061 Handle also directories. (Bug#5478)
14063 2010-02-05 Glenn Morris <rgm@gnu.org>
14065 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
14067 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
14069 * startup.el (command-line-1): Convert options beginning with a
14070 single dash as well (Bug#5519).
14072 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
14074 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
14075 * minibuffer.el (completion-initials-expand): Only check the presence
14076 of delims *within* the boundaries, since otherwise the / delim is
14077 always found for files.
14079 Fix up various corner case problems.
14080 * doc-view.el (doc-view-last-page-number): New function.
14081 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
14082 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
14083 (doc-view-kill-proc): Avoid inf-loop in freak cases.
14084 (doc-view-reconvert-doc): Use the new recursive delete-directory.
14085 (doc-view-convert-current-doc): Don't create the resolution.el file
14087 (doc-view-pdf/ps->png): Do it here instead.
14088 (doc-view-already-converted-p): Check that resolution.el is present.
14089 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
14090 windows that are not yet showing images.
14092 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
14094 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
14095 `dired-uncache' for every elemnt which is an absolute file name.
14097 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
14098 directory, handle its directory component.
14099 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
14100 function is called permanently and creates noise, otherwise.
14102 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
14103 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
14104 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
14106 2010-02-04 David Burger <dburger@google.com> (tiny change)
14108 * macros.el (apply-macro-to-region-lines):
14109 Minor simplification. (Bug#5485)
14111 2010-02-04 Glenn Morris <rgm@gnu.org>
14113 * mail/rmail.el (rmail-show-message-1): Handle malformed
14114 quoted-printable text. (Bug#5441)
14116 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
14118 * simple.el (visual-line-mode): Capitalize lighter.
14120 2010-02-03 John Wiegley <jwiegley@gmail.com>
14122 * iswitchb.el (iswitchb-completions): Add bookmark files to the
14123 list of files considered for "virtual buffer" completions.
14125 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
14127 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
14128 also in case of (and (not full) (not wildcard)). This is needed
14129 when dired is called with a list of files, which are not in
14130 `default-directory'. (Bug#5478)
14132 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
14134 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
14136 2010-02-02 Juri Linkov <juri@jurta.org>
14138 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
14139 from unidiff to allow function-line after @@.
14141 2010-02-02 Juri Linkov <juri@jurta.org>
14143 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
14144 '(RCS SCCS) with inverted condition.
14146 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
14148 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
14151 2010-02-01 Juri Linkov <juri@jurta.org>
14153 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
14154 compare with "pkunzip" and "pkzip" instead of only "pkzip".
14155 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
14156 only when (car archive-zip-extract) is "unzip". (Bug#5475)
14158 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
14160 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
14161 (doc-view-revert-buffer): New command.
14162 (doc-view-mode-map): Use it.
14164 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
14166 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
14167 pending merge is detected.
14169 2010-01-31 Juri Linkov <juri@jurta.org>
14171 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
14172 beginning of interactive spec like all other grep commands do.
14173 Put "all" in front of "gz". (Bug#5260)
14175 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
14177 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
14179 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
14181 * dirtrack.el (dirtrack): Warn instead of signalling error if the
14182 regexp is incorrect (Bug#5476).
14184 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
14186 * net/tramp.el (tramp-handle-insert-directory): Handle also
14187 symlinks, when FILENAME is not in `default-directory'.
14189 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
14191 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
14192 FILE is not in `default-directory'. (Bug#5478)
14194 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
14195 of SWITCHES. Handle the case, FILENAME is not in
14196 `default-directory'. (Bug#5478)
14197 (tramp-register-file-name-handlers): Add safe-magic property.
14199 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
14201 * arc-mode.el (archive-zip-extract): Quote the argument passed to
14204 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
14206 * progmodes/flymake.el (flymake-allowed-file-name-masks)
14207 (flymake-master-make-header-init): Add other C++ filename masks.
14208 (flymake-find-possible-master-files)
14209 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
14211 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
14213 Fix some busybox annoyances.
14215 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
14216 not responding." string.
14217 (tramp-open-connection-setup-interactive-shell): Dump stty
14218 settings. Enable "neveropen" arg for all `tramp-send-command'
14219 calls. Handle "=" in variable values properly.
14220 (tramp-find-inline-encoding): Raise an error, when no encoding is
14222 (tramp-wait-for-output): Check, whether PROC buffer is available.
14223 Remove spurious " ^H" sequences, sent by busybox.
14224 (tramp-get-ls-command): Suppress coloring, if possible.
14226 2010-01-28 Glenn Morris <rgm@gnu.org>
14228 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
14230 * log-edit.el (log-edit-strip-single-file-name): Add missing
14231 :safe, :group, and :version tags.
14233 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
14235 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
14236 buffers. (Bug#5477)
14238 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
14240 * files.el (delete-directory): Handle moving to trash without
14241 first doing recursion (Bug#5436).
14243 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
14245 * vc-hooks.el (vc-path): Mark as obsolete.
14247 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
14249 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
14252 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
14254 (vc-bzr-log-view-mode): Adjust regexp for the above change.
14256 2010-01-25 Mark A. Hershberger <mah@everybody.org>
14258 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
14260 * vc-bzr.el (vc-bzr-revision-table): New function.
14262 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
14264 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
14265 diff-index command. This requires at least git-1.5.5. (Bug#1589).
14267 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
14269 Remove support for adding --signoff on commit.
14270 Future support will use an incompatible generic mechanism.
14271 * vc-git.el (vc-git-add-signoff): Remove variable.
14272 (vc-git-toggle-signoff): Remove function.
14273 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
14275 * term/xterm.el (xterm-maybe-set-dark-background-mode):
14276 Rename from xterm-set-background-mode. Return t if the background mode
14278 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
14279 earlier, call it again in case the background mode has changed.
14281 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
14283 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
14286 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
14288 * emacs-lisp/assoc.el (aelement): Doc fix.
14289 (aput, adelete, amake): Use lexical-let (Bug#5450).
14291 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
14293 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
14294 is the same as subprogram call, not declaration. (Bug#5435).
14296 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
14298 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
14299 (tramp-smb-maybe-open-connection): Use it.
14301 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
14303 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
14305 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
14307 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
14308 just because we see "encoding: 8bit".
14309 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
14311 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
14313 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
14315 2010-01-22 Eli Zaretskii <eliz@gnu.org>
14317 * jka-compr.el (jka-compr-load): If load-file is not in
14318 load-history, try its file-truename version. (bug#5447)
14320 2010-01-21 Alan Mackenzie <acm@muc.de>
14322 Fix a situation where deletion of a cpp construct throws an error.
14323 * progmodes/cc-engine.el (c-invalidate-state-cache):
14324 Before invoking c-with-all-but-one-cpps-commented-out, check that the
14325 special cpp construct is still in the buffer.
14326 (c-parse-state): Record the special cpp with markers, not numbers.
14328 2010-01-21 Kenichi Handa <handa@m17n.org>
14330 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
14331 process last-command-event, as it is now decoded first (Bug#5380).
14333 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
14335 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
14337 2010-01-20 Glenn Morris <rgm@gnu.org>
14339 * indent.el (tab-always-indent): Fix custom-type.
14341 2010-01-19 Alan Mackenzie <acm@muc.de>
14343 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
14344 buffer throws "args out of range".
14345 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
14346 playing the role of delimiter.
14348 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
14350 * progmodes/ada-mode.el: Fix bug#5400.
14351 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
14352 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
14353 changed. Delete RECURSIVE parameter; never used. Improve doc string.
14354 Improve comments in "is" portion. Handle null procedure declaration.
14355 (ada-move-to-end): Improve doc string.
14357 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
14359 * ido.el (ido-cur-list): Initialize to nil.
14360 Remove obsolete information from commentary.
14361 (ido-choice-list): Initialize to nil.
14362 (ido-get-bufname): Reject minibuffers.
14363 (ido-make-buffer-list): If "default" is a nonexistent
14364 buffer, ignore it, as per the function's comment.
14365 (ido-kill-buffer-internal): New function.
14366 (ido-kill-buffer-at-head): Use it.
14367 (ido-visit-buffer): Likewise.
14369 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
14371 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
14373 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
14375 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
14376 Fix typos in chart titles.
14378 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
14379 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
14380 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
14381 (describe-class, eieio-describe-generic, describe-generic):
14382 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
14383 (eieio-speedbar-expand):
14384 * emulation/viper-cmd.el (viper-exec-form-in-vi)
14385 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
14386 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
14387 (viper-del-backward-char-in-replace, viper-backward-indent)
14388 (viper-brac-function, viper-register-to-point, viper-submit-report):
14389 * net/tramp.el (tramp-remote-coding-commands):
14390 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
14391 Fix typos in docstrings.
14393 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
14395 * mail/sendmail.el (mail-yank-original): Set the mark if the
14396 specified function for yanking does not do it.
14398 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
14400 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
14402 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
14403 resyncing a directory.
14405 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
14407 * progmodes/ada-mode.el: Fix bug#1920.
14408 (ada-ident-re): Delete ., allow multibyte characters.
14409 (ada-goto-label-re): New; matches goto labels.
14410 (ada-block-label-re): New; matches block labels.
14411 (ada-label-re): New; matches both.
14412 (ada-named-block-re): Delete; callers changed to use
14413 `ada-block-label-re' instead.
14414 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
14415 Use `ada-block-label-re'.
14416 (ada-indent-on-previous-lines): Improve handling of goto labels.
14417 (ada-get-indent-block-start): Special-case block label.
14418 (ada-get-indent-label): Split into `ada-indent-block-label' and
14419 `ada-indent-goto-label'.
14420 (ada-goto-stmt-start, ada-goto-next-non-ws):
14421 Optionally ignore goto labels.
14422 (ada-goto-next-word): Simplify.
14423 (ada-indent-newline-indent-conditional): Insert newline before
14424 trying to fix indentation; doc fix.
14426 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
14428 * calc/calc.el (calc-command-flags): Give it an initial value.
14430 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
14432 * files.el (minibuffer-with-setup-hook):
14433 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
14434 (artist-key-draw-continously, artist-key-do-continously-continously)
14435 (artist-key-set-point-continously, artist-mouse-draw-continously):
14436 Fix typos in docstrings.
14438 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
14440 * nxml/nxml-mode.el (nxml-extend-after-change-region):
14441 Never return t (Bug#3898).
14443 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
14445 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
14446 can parse the output of the external commands (Bug#5279).
14448 2010-01-16 Jari Aalto <jari.aalto@cante.net>
14450 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
14452 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
14454 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
14456 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
14458 * startup.el (command-line): Remove unused --icon-type arg.
14459 Handle --display arg, passing it to command-line-1 (Bug#5392).
14461 2010-01-16 Mario Lang <mlang@delysid.org>
14463 * emacs-lisp/chart.el (chart-translate-namezone):
14464 * textmodes/artist.el (artist-compute-popup-menu-table):
14465 Remove duplicated words in doc-strings.
14467 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
14469 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
14470 to mairix-search to suppress threading (Bug#5342).
14472 2010-01-15 Kenichi Handa <handa@m17n.org>
14474 * international/mule-cmds.el (canonicalize-coding-system-name):
14475 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
14477 2010-01-15 Glenn Morris <rgm@gnu.org>
14479 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
14481 * wid-edit.el (widget-keymap): Doc fix.
14483 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
14484 former seems to be more widely accepted by various svn versions.
14486 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14488 * find-cmd.el (find-constituents):
14489 * vc-arch.el (vc-arch-root):
14490 * window.el (window-body-height, pop-up-frames):
14491 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
14492 * progmodes/ada-stmt.el (ada-if):
14493 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
14494 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
14495 (ispell-encoding8-command, ispell-aspell-supports-utf8)
14496 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
14498 * progmodes/flymake.el (flymake-post-syntax-check):
14499 Fix typo in error message.
14501 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14503 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
14504 which is always a string. (Bug#5313)
14506 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14508 * progmodes/ada-xref.el (ada-default-prj-properties):
14509 Simplify previous change.
14511 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14513 * progmodes/ada-xref.el (ada-default-prj-properties):
14514 Default ada_project_path to $ADA_PROJECT_PATH.
14516 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14518 * progmodes/ada-mode.el (ada-create-keymap):
14519 Override `narrow-to-defun' with `ada-narrow-to-defun'.
14521 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14523 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
14524 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
14525 (ada-get-current-indent, ada-imenu-generic-expression)
14526 (ada-which-function): Check for it.
14528 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14530 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
14531 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
14533 2010-01-14 Glenn Morris <rgm@gnu.org>
14535 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
14537 2010-01-14 Kenichi Handa <handa@m17n.org>
14539 * composite.el (auto-composition-mode): Make it a buffer local
14540 variable (permanent-local).
14541 (auto-composition-function): Set the default value to
14542 auto-compose-chars.
14543 (auto-composition-mode): Make it a simple function, not a minor mode.
14544 (global-auto-composition-mode): Likewise.
14545 (turn-on-auto-composition-if-enabled): Delete it.
14547 2010-01-13 Karl Fogel <kfogel@red-bean.com>
14549 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
14551 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
14553 * files.el (copy-directory): Compute target for recursive
14554 directories with identical names. (Bug#5343)
14556 2010-01-12 Glenn Morris <rgm@gnu.org>
14558 * mail/emacsbug.el (report-emacs-bug-pretest-address):
14559 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
14561 2010-01-11 Sam Steingold <sds@gnu.org>
14563 * imenu.el (imenu-default-create-index-function): Detect infinite
14564 loops caused by imenu-prev-index-position-function.
14566 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14568 * htmlfontify.el (htmlfontify-load-rgb-file)
14569 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
14570 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
14571 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
14572 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
14573 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
14574 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
14575 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
14576 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
14577 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
14578 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
14579 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
14580 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
14581 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
14582 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
14583 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
14584 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
14585 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
14586 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
14587 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
14588 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
14589 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
14590 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
14591 backslash-quoting from parentheses, etc.
14593 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
14595 * progmodes/js.el: Autoload javascript-mode alias.
14597 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14599 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
14600 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
14601 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
14602 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
14603 Fix typos in docstrings.
14604 (ffap-url-regexp): Doc fix.
14605 (ffap-at-mouse): Fix typo in message.
14607 2010-01-11 Glenn Morris <rgm@gnu.org>
14609 * version.el (emacs-copyright): Set copyright year to 2010.
14611 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
14613 * format.el (format-annotate-function): Only set
14614 write-region-post-annotation-function after running to-fn so as not to
14615 affect nested write-region calls (bug#5273).
14617 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
14619 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
14622 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14624 * man.el (Man-goto-section): Signal error if the section is not
14627 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
14629 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
14630 URLs with a leading triple slash in the file: scheme. (Bug#5345)
14632 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14634 * progmodes/compile.el: Don't treat compile-command as safe if
14635 compilation-read-command might be nil (Bug#4218).
14637 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
14639 * startup.el (command-line-1): Use orig-argi to check for ignored X and
14642 2010-01-08 Kenichi Handa <handa@m17n.org>
14644 * international/fontset.el (build-default-fontset-data):
14645 Exclude characters in scripts kana, hangul, han, or cjk-misc.
14647 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
14649 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
14650 to `create-file-buffer' as it expects, not just a buffer name.
14651 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
14652 to help uniquify. (Bug#3224)
14654 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
14656 * font-setting.el (font-setting-change-default-font): Use user-spec
14659 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
14661 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
14663 2010-01-05 Tom Tromey <tromey@redhat.com>
14665 * progmodes/python.el (python-font-lock-keywords):
14666 Handle qualified decorators (Bug#881).
14668 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14670 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
14671 in a lightweight checkout.
14673 2010-01-05 Kenichi Handa <handa@m17n.org>
14675 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
14677 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14679 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
14681 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
14683 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
14684 checkouts. (Bug#618)
14685 (vc-bzr-log-view-mode): Also highlight the author.
14686 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
14687 (vc-bzr-shelve-menu-map):
14688 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
14689 (vc-bzr-shelve-apply): Make prompt more explicit.
14691 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
14693 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
14694 They are valid characters in URL paths (rfc3986), and at least
14695 Firefox does not understand the encoded version (Bug#3166).
14697 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
14699 * progmodes/octave-mod.el (octave-end-keywords)
14700 (octave-block-begin-or-end-regexp, octave-block-match-alist):
14701 Add "end" keyword (Bug#3061).
14702 (octave-end-as-array-index-p): New function.
14703 (calculate-octave-indent): Use it.
14705 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14707 * bookmark.el: Consistently put the text property on the bookmark name.
14708 (bookmark-bmenu-marks-width): Bump back to 2, to include
14710 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
14711 property on the bookmark name, instead of not putting it at all.
14712 (bookmark-bmenu-list): Fix where we put the text property.
14714 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14716 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
14717 for showing buffer modified state (as added in the previous change).
14719 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14721 * bookmark.el: Show modified state of bookmark buffer more accurately.
14722 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
14723 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
14724 (with-buffer-modified-unmodified): New macro.
14725 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14726 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
14727 Use new macro to preserve the buffer modified state.
14729 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14731 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
14732 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
14733 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
14734 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
14735 (bookmark-bmenu-rename, bookmark-bmenu-locate)
14736 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
14737 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
14739 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14741 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14742 Make the lines in the generated doc string shorter. (Bug#4668)
14744 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
14746 * net/rcirc.el: Add follow-link binding (Bug#4738).
14748 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14750 * Makefile.in (bzr-update): Rename from cvs-update.
14751 (cvs-update): New target for backward compatibility.
14753 * makefile.w32-in (bzr-update): Rename from cvs-update.
14754 (cvs-update): New target for backward compatibility.
14756 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14758 * bookmark.el: Remove gratuitous gratitude.
14760 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14762 * bookmark.el (bookmark-bmenu-any-marks): New function.
14763 (bookmark-bmenu-save): Clear buffer modification if no marks.
14765 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14767 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
14768 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
14769 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
14770 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
14772 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
14773 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
14774 To: emacs-devel {_AT_} gnu.org
14775 Subject: bookmark.el bug report
14776 Date: Mon, 28 Dec 2009 14:19:16 +0800
14777 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
14779 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14781 * bookmark.el: Improvements suggested by Drew Adams:
14782 (bookmark-bmenu-ensure-position): New name for
14783 `bookmark-bmenu-check-position'. Just ensure the position,
14784 don't return any meaningful value.
14785 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
14788 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
14790 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
14791 (bookmark-yank-point, bookmark-bmenu-check-position):
14792 Fix typos in docstrings.
14793 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
14794 (bookmark-name-from-full-record, bookmark-get-position)
14795 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
14796 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
14797 Remove useless quoting of parenthesis, etc. in docstrings.
14799 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
14800 (ediff-append-custom-diff): Fix typo in error message.
14801 (ediff-meta-mark-equal-files): Fix typos in messages.
14803 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
14805 * net/imap-hash.el (imap-hash-make): Doc fix.
14806 (imap-hash-test): Fix typo in error message; reflow docstring.
14807 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
14808 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
14809 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
14810 Fix typos in docstrings.
14811 (imap-hash-open-connection): Fix typo in error message.
14813 * play/gomoku.el (gomoku): Fix typos in docstring.
14815 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
14816 (gdb-jsonify-buffer): Fix typos in docstring.
14817 (gdb-goto-breakpoint): Fix typo in error message.
14818 ("Display Other Windows"): Fix typo in help message.
14819 (gdb-speedbar-expand-node): Fix typo in question.
14821 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14822 (idlwave-html-system-help-location, idlwave-html-help-location)
14823 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14824 (idlwave-help-browser-generic-args, idlwave-help-directory)
14825 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14826 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14827 (idlwave-online-help, idlwave-help-html-link)
14828 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14829 Fix typos in docstrings.
14830 (idlwave-help-with-source, idlwave-help-find-routine-definition):
14832 (idlwave-help-assistant-start): Fix typo in error message.
14834 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14835 (octave-electric-space): Fix typos in docstrings.
14837 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
14839 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14841 2010-01-01 Juri Linkov <juri@jurta.org>
14843 * comint.el (comint-input-ring-size): Make it a defcustom and
14844 increase the default to 500 (Bug#5148).
14846 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
14848 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14849 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14850 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14852 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
14854 Show working revision correctly for mercurial.
14855 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14856 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14858 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
14860 Declare some functions for the byte-compiler.
14861 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14862 (speedbar-timer-fn, speedbar-change-expand-button-char)
14863 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14865 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
14867 This changeset reverts GDB Graphical Interface to use annotations.
14868 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14870 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
14872 Make vc-dir work on subdirectories of the bzr root.
14873 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14874 Return file names relative to it.
14875 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14876 relative directory to vc-bzr-after-dir-status.
14878 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
14880 * font-lock.el (font-lock-refresh-defaults): New function, which
14881 can be used to let font-lock react to external changes in
14882 variables like font-lock-defaults and keywords.
14883 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14885 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
14887 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14889 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14891 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
14893 Supersede color.diff settings in git log (bug#5211).
14895 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14896 escape chars in its output when the user has color.diff set to `always'.
14897 This fix works on git 1.4.2 and newer (released on 2006-08-13).
14899 2009-12-26 Kevin Ryde <user42@zip.com.au>
14901 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14902 node. Keep previous "Index" name to work with past coreutils too.
14904 * man.el (man): Revise docstring a bit to show -a and -l as
14905 examples. Add -k description since support for it has otherwise
14906 been a secret. (Further to bug#3717.)
14907 (Man-bgproc-sentinel): When "-k foo" produces no output show error
14908 "no matches" rather than "Can't find manpage", as the latter reads
14909 like -k was interpreted as a page name, which is not so. (Bug#5431)
14911 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
14913 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14914 switches. Check also for //SUBDIRED// line.
14916 2009-12-25 Kenichi Handa <handa@m17n.org>
14918 * language/indian.el (devanagari-composable-pattern): Fix to
14919 handle ZWNJ and ZWJ. Use it in composition-function-table for
14921 (malayalam-composable-pattern): Fix previous change.
14923 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14925 * ps-print.el (ps-face-attributes): It was not returning the
14926 attribute face for faces specified as string. Reported by harven
14927 <harven@free.fr>. (Bug#5254)
14928 (ps-print-version): New version 7.3.5.
14930 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
14932 * calendar/icalendar.el (icalendar--convert-tz-offset):
14933 Fix timezone names.
14934 (icalendar--convert-tz-offset): Fix the "last-day-problem".
14935 (icalendar--add-diary-entry): Remove the trailing blank that
14936 diary-make-entry inserts.
14938 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
14940 Make `file-expand-wildcards' work for remote files.
14942 * files.el (file-expand-wildcards): In case of remote files, check
14943 only local file name part for wildcards. Provide feature 'files
14944 and subfeature 'remote-wildcards. (Bug#5198)
14946 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14947 if there is already an established connection.
14948 (tramp-advice-file-expand-wildcards): Remove it.
14950 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14951 (tramp-advice-file-expand-wildcards): Move from tramp.el.
14952 Activate advice for older GNU Emacs versions. (Bug#5237)
14954 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
14956 Some doc fixes (more needed).
14958 * find-cmd.el (find-constituents): Reflow docstring.
14959 (find-cmd, find-prune, find-command): Fix typos in docstrings.
14960 (find-generic): Doc fix.
14962 2009-12-17 Juri Linkov <juri@jurta.org>
14964 Fix regression from 23.1 to allow multiple modes in Local Variables.
14966 * files.el (hack-local-variables-filter): While ignoring duplicates,
14967 don't take `mode' into account.
14968 (hack-local-variables-filter, hack-dir-local-variables):
14969 Don't remove duplicate `mode' from local-variables-alist (like `eval').
14971 2009-12-17 Juri Linkov <juri@jurta.org>
14973 Make `dired-diff' safer. (Bug#5225)
14975 * dired-aux.el (dired-diff): Signal an error when `file' equals to
14976 `current' or when `file' is a directory of the `current' file.
14978 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
14980 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14981 unconditionally preloaded files.
14983 2009-12-16 Juri Linkov <juri@jurta.org>
14985 Revert to old 23.1 logic of using the file at the mark as default.
14986 * dired-aux.el (dired-diff): Use the file at the mark as default
14987 if it's not the same as the current file, and the target dir is
14988 the current dir or the mark is active. Add the current file
14989 as the arg of `dired-dwim-target-defaults'. Use the default file
14990 in the prompt. (Bug#5225)
14992 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
14994 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14995 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14996 (tramp-check-for-regexp): Check also, when an echoing shell stops
14997 to echo sent commands.
14999 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
15001 * Makefile.in: Revert last change (Bug#5191).
15003 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
15005 * vc-hg.el (vc-hg-print-log): Fix argument order.
15006 (vc-hg-working-revision): Make sure the command is executed in a
15007 known environment so that we can parse the output. (Bug#4417)
15009 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
15011 * progmodes/python.el (python-symbol-completions): Remove text
15012 properties from symbol string before calling python-send-receive.
15014 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
15016 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
15017 when there are values for both file and line. (Bug#5060)
15019 2009-12-14 Juri Linkov <juri@jurta.org>
15021 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
15022 whitespace after the file name of the first line of unified format,
15023 because git-diff doesn't output whitespace and file modification time
15024 after the file name.
15026 2009-12-14 David Kastrup <dak@gnu.org>
15028 * info.el (Info-hide-cookies-node): Before hiding a cookie,
15029 check if it already has the `display' property added by
15030 `Info-display-images-node', and not put the `invisible' property
15033 2009-12-13 Glenn Morris <rgm@gnu.org>
15035 * mail/emacsbug.el (message-sort-headers): Define for compiler.
15036 (report-emacs-bug): In message-mode, sort manually before storing
15037 original report text. (Bug#5178)
15038 Remove superfluous save-excursion.
15040 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
15042 * net/dbus.el (dbus-property-handler): Filter lambda forms out
15043 when responding to "GetAll" properties.
15045 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
15047 * simple.el (compose-mail): Remove mail-setup-with-from from
15048 customization checks.
15050 2009-12-12 Eli Zaretskii <eliz@gnu.org>
15052 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
15053 RAR archives created on Unix systems.
15055 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
15057 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
15058 the varalias that was accidentally removed by the 2009-11-19 change
15061 2009-12-12 Kenichi Handa <handa@m17n.org>
15063 * language/indian.el (indian-compose-regexp): New function.
15064 (malayalam-composable-pattern): Fix the pattern.
15065 (composition-function-table): Set malayalam-composable-pattern for
15066 Malayalam characters.
15068 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
15070 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
15071 rather than down-mouse-1, based on follow-link conventions.
15073 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
15076 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
15078 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
15079 (verilog-vmm-statement-re, verilog-ovm-statement-re)
15080 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
15081 (verilog-leap-to-head, verilog-backward-token):
15082 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
15084 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
15086 * progmodes/verilog-mode.el (verilog-auto-lineup)
15087 (verilog-nameable-item-re): Cleanup user-visible spelling and
15088 documentation errors. One reported by Gary Delp.
15089 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
15090 (verilog-read-decls): Fix AUTOWIRE with types declared in a
15091 package, bug195. Reported by Pierre-David Pfister.
15093 2009-12-11 Glenn Morris <rgm@gnu.org>
15095 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
15097 * mail/emacsbug.el: No longer require sendmail.
15098 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
15099 (report-emacs-bug-orig-text): Doc fix.
15100 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
15101 New local variables, to adapt to different mail-user-agents.
15102 (report-emacs-bug): Fix test for a gnu.org address.
15103 Use overlays for emphasis, since font-lock defeats 'face property.
15104 Pretest bugs also end up at the newsgroup these days.
15105 Stop message-mode stripping text properties.
15106 Set and use the new buffer-local variables.
15107 (report-emacs-bug-hook): Add doc-string.
15108 Remove some unnecessary save-excursions and simplify.
15109 Use the appropriate hook and send-command.
15111 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
15112 capitalization of some menu entries.
15114 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15116 * whitespace.el (whitespace-display-char-on):
15117 Ensure `buffer-display-table' is unique when two or more windows are
15118 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
15121 2009-12-10 Eli Zaretskii <eliz@gnu.org>
15123 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
15124 characters in the Attribute field.
15126 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
15128 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
15130 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
15132 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
15133 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15134 Disregard autoload-excludes.
15135 (update-directory-autoloads): Obey autoload-excludes here instead.
15136 But don't store its contents in no-autoloads and remove entries that
15137 refer to excludes files.
15139 2009-12-10 Glenn Morris <rgm@gnu.org>
15141 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
15142 (expand-mail-aliases): Define for compiler.
15144 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
15145 Define for compiler.
15147 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
15148 appropriate for the mail-user-agent in use.
15150 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
15152 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
15154 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
15156 Fix short log parsing and fontification.
15157 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
15158 Fix fontification for the [merge] label.
15160 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
15162 Drop some properties to avoid surprises (bug#5002).
15163 * htmlfontify.el (hfy-ignored-properties): New defcustom.
15164 (hfy-fontify-buffer): Use it.
15166 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
15169 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
15170 Adjust all callers.
15171 (ffap-locate-file): Remove unused arg `dir-ok' and make other
15172 args compulsory. Adjust callers.
15173 (ffap-gopher-at-point): Remove unused var `name'.
15175 Get rid of the ELCFILES abomination.
15176 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
15177 (compile-elcfiles): New phony target.
15178 (compile-main): Compute ELCFILES dynamically.
15179 (compile-clean): New target to remove left-over elc files.
15180 (compile, all): Use it.
15182 2009-12-09 Kenichi Handa <handa@etlken>
15184 * international/mule-diag.el: Require help-mode instead of help-fns.
15186 2009-12-09 Kenichi Handa <handa@m17n.org>
15188 * international/mule-cmds.el (ucs-names): Supply sufficiently
15189 fine ranges instead of pre-calculating accurate ranges.
15190 Iterate with bigger gc-cons-threshold.
15192 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
15194 Add support for stashing a snapshot of the current tree.
15195 * vc-git.el (vc-git-stash-snapshot): New function.
15196 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
15198 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
15200 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
15201 instead of `(beginning|end)-of-line'.
15203 2009-12-08 Glenn Morris <rgm@gnu.org>
15205 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
15207 * Makefile.in (ELCFILES): Regenerate.
15209 2009-12-07 Juri Linkov <juri@jurta.org>
15211 Don't lazy-highlight the comint output in history Isearch mode.
15213 * comint.el (comint-history-isearch-search): Instead of
15214 `comint-line-beginning-position', use `comint-after-pmark-p'
15215 to check if point if before the process mark, and go to
15216 `process-mark' in this case.
15218 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15220 * textmodes/tex-mode.el (latex-complete)
15221 (latex-indent-or-complete): Remove.
15222 (latex-mode): Set completion-at-point-functions instead.
15224 Provide a standard completion command and hook it into TAB.
15225 * minibuffer.el (completion-at-point-functions): New var.
15226 (completion-at-point): New command.
15227 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
15228 * progmodes/python.el (python-mode-map): Use completion-at-point.
15229 (python-completion-at-point): Rename from python-partial-symbol and
15230 adjust for use in completion-at-point-functions.
15231 (python-mode): Setup completion-at-point for Python completion.
15232 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
15233 extracted from lisp-complete-symbol.
15234 (lisp-complete-symbol): Use it.
15235 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
15236 setup completion-at-point for Elisp completion.
15237 (emacs-lisp-mode-map, lisp-interaction-mode-map):
15238 Use completion-at-point.
15239 * ielm.el (ielm-map): Use completion-at-point.
15240 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
15241 * progmodes/sym-comp.el: Move to...
15242 * obsolete/sym-comp.el: Move from progmodes.
15244 2009-12-07 Eli Zaretskii <eliz@gnu.org>
15246 Prevent save-buffer in Rmail buffers from using the coding-system
15247 of the current message, and from clobbering the encoding mnemonics
15248 in the mode line (Bug#4623).
15250 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
15252 (rmail-message-encoding): New variable.
15253 (rmail-write-region-annotate): Record the encoding of the current
15254 message in rmail-message-encoding.
15255 (rmail-after-save-hook): New function, restores the encoding of
15256 the current message after the message collection is saved.
15258 2009-12-07 Juri Linkov <juri@jurta.org>
15260 * progmodes/grep.el (grep-read-files): Use `completing-read'
15261 instead of `read-string'. Set its `collection' arg to
15262 `read-file-name-internal'. (Bug#4301)
15264 2009-12-07 Juri Linkov <juri@jurta.org>
15266 Correctly restore original Isearch point. (Bug#4994)
15268 * isearch.el (isearch-mode): Move `isearch-push-state' after
15269 `(run-hooks 'isearch-mode-hook)'.
15270 (isearch-cancel): When `isearch-push-state-function' is defined,
15271 let-bind `isearch-cmds' to the first state (the last element of
15272 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
15273 function and restores the original point). Otherwise, move point
15274 to `isearch-opoint'.
15276 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15278 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
15279 chars that don't have names, so the table can be built much faster at
15282 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
15284 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
15285 change. Suggested by David Kastrup.
15287 * simple.el (compose-mail): Check for incompatibilities and warn.
15288 (compose-mail-user-agent-warnings): New option.
15290 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15292 Support showing a single log entry from vc-annotate.
15293 * vc.el (print-log): Add a new argument: START-REVISION.
15294 (vc-print-log-internal): Add a new optional argument and
15295 pass it to the backend.
15296 (vc-print-log, vc-print-root-log): Adjust callers.
15297 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
15298 buffer already displays the requested log entry, use it.
15299 Otherwise display only the log entry in question.
15300 * vc-svn.el (vc-svn-print-log):
15301 * vc-mtn.el (vc-mtn-print-log):
15302 * vc-hg.el (vc-hg-state):
15303 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
15304 (vc-git-show-log-entry): Return t on success.
15305 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
15306 (vc-bzr-show-log-entry): Return t on success.
15307 * vc-rcs.el (vc-rcs-print-log):
15308 * vc-sccs.el (vc-sccs-print-log):
15309 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
15311 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15313 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
15314 Add menus to the meta mode. (Bug#5043)
15316 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
15318 * ediff-init.el (ediff-event-key): Use event-to-character instead of
15321 * ediff.el (ediff-buffers-internal): Add unwind-protect.
15323 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
15325 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
15326 Berbain <raphael.berbain@gmail.com>.
15328 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
15330 (tramp-initial-end-of-output): New defconst.
15331 (tramp-methods, tramp-find-shell)
15332 (tramp-open-connection-setup-interactive-shell)
15333 (tramp-maybe-open-connection): Use it.
15334 (tramp-shell-prompt-pattern, tramp-wait-for-output):
15335 Handle existence of `#' and `$'.
15337 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
15338 Use `tramp-initial-end-of-output'.
15340 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15342 Get the background mode from the terminal for xterm, and set
15344 * term/xterm.el (xterm-set-background-mode): New function.
15345 (terminal-init-xterm): Use it in case xterm supports background
15346 color queries. Recompute faces after getting the background
15349 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
15351 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
15352 number comment back on its own line, for easier parsing.
15354 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15356 Make it work for non-file buffers (bug#5102).
15357 * doc-view.el (doc-view-current-cache-dir):
15358 Use doc-view-buffer-file-name rather than buffer-file-name.
15359 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
15361 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
15363 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
15364 author field is too short.
15366 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
15368 * vc-git.el (vc-git-print-log): Handle a limit argument.
15369 Display the short log in graph form and with labels.
15370 (vc-git-log-view-mode): Handle labels.
15372 Make vc-revert change VC state from 'added to 'unregistered.
15373 * vc-git.el (vc-git-revert): Call git reset first.
15375 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
15377 * net/newst-backend.el, net/newst-plainview.el:
15378 * net/newst-reader.el, net/newst-ticker.el:
15379 * net/newst-treeview.el, net/newsticker.el:
15380 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
15382 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
15384 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
15386 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
15387 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
15388 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
15389 Update annotation regexp.
15391 * simple.el (beginning-of-visual-line): Constrain to field
15392 boundaries (Bug#5106).
15394 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
15396 * xml.el (xml-substitute-numeric-entities):
15397 Move newsticker--decode-numeric-entities in newst-backend.el to
15398 xml-substitute-numeric-entities in xml.el. (Bug#5008)
15399 * net/newst-backend.el (newsticker--parse-generic-feed)
15400 (newsticker--parse-generic-items)
15401 (newsticker--decode-numeric-entities):
15402 Move newsticker--decode-numeric-entities in newst-backend.el to
15403 xml-substitute-numeric-entities in xml.el. (Bug#5008)
15405 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
15407 * progmodes/js.el (js--js-not): Add null to the list of values.
15409 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
15411 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
15413 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15415 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
15416 delimiter if it is at the end of the current line.
15417 (bibtex-generate-url-list): Fix docstring.
15419 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15421 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
15422 minibuffer's content with itself.
15423 Fold the confirm-after-completion case into the `confirm' case.
15424 (completion-pcm-word-delimiters): Add : and / to the delimiters.
15426 2009-12-06 Kevin Ryde <user42@zip.com.au>
15428 * ffap.el (ffap-rfc-path): Make this a defcustom since
15429 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
15431 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
15432 manuals, similar to existing setup for help-mode. (Bug#3913.)
15434 2009-12-05 Juri Linkov <juri@jurta.org>
15436 Save and restore dired buffer's point positions too. (Bug#4880)
15438 * dired.el (dired-save-positions): Return in the first element
15439 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
15441 (dired-restore-positions): First restore buffer's position.
15442 While restoring window's positions, check if window still displays
15443 the original buffer.
15445 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
15447 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
15450 * shell.el (shell): Require ansi-color (Bug#5113).
15452 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
15454 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
15456 2009-12-05 Alan Mackenzie <acm@muc.de>
15458 * progmodes/cc-mode.el (c-before-hack-hook)
15459 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
15460 `c-file-style' to work again. This reversion restores the current
15461 software to its state in Emacs 23.1. (Bug#4146)
15463 2009-12-05 Kevin Ryde <user42@zip.com.au>
15465 * textmodes/sgml-mode.el (sgml-lexical-context):
15466 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
15468 2009-12-05 Juri Linkov <juri@jurta.org>
15470 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
15471 for virtual nodes. (Bug#4147)
15472 (Info-find-node-2): Set `Info-current-node-virtual' to nil
15473 when moving from a virtual node.
15474 (Info-mode-menu): Add `Info-virtual-index' to the menu.
15475 (Info-mode): Add `Info-virtual-index' to the docstring.
15477 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15479 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
15480 track of the buffer position of the end of a BibTeX entry as this
15481 position may change during reformatting.
15482 (bibtex-format-entry): Remove whitespace before processing
15483 numerical fields so that we recognize the latter properly.
15484 (bibtex-reformat): Do not use push which changes the global value
15485 of bibtex-entry-format.
15486 (bibtex-field-braces-alist, bibtex-field-strings-alist)
15487 (bibtex-field-re-init): Replace only space characters by regexp
15489 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
15490 (bibtex-initialize): Also update bibtex-strings.
15491 (bibtex-kill-field): Preserve white space at end of entry.
15492 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
15493 Update bibtex-reference-keys.
15495 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
15497 * minibuffer.el (completion-pcm--merge-try): Also consider placing
15498 point after a star, if that's the only place where modifications can
15501 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
15503 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
15506 2009-12-04 Juri Linkov <juri@jurta.org>
15508 * proced.el (proced): Call `(proced-update t)' to update process
15509 information instead of only running proced-post-display-hook.
15510 (proced-send-signal): Add a leading space to the buffer name
15511 " *Marked Processes*" to make this buffer ephemeral.
15513 2009-12-04 Juri Linkov <juri@jurta.org>
15515 * dired.el (dired-auto-revert-buffer): New defcustom.
15516 (dired-internal-noselect): Use it.
15518 2009-12-04 Juri Linkov <juri@jurta.org>
15520 Change roles of modes and functions in image-mode.el (Bug#5062).
15522 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
15523 in `auto-mode-alist'.
15524 (image-mode-previous-major-mode): New variable.
15525 (image-minor-mode-map): Rename from `image-mode-text-map'.
15526 (image-mode): Move graceful error-handling code from
15527 `image-minor-mode' to here. On errors call `image-mode-as-text'.
15528 (image-minor-mode): Remove all image-handling code.
15529 Replace `image-mode-text-map' with `image-minor-mode-map'.
15530 Check for `image-type' in mode-line format string.
15531 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
15532 (image-mode-as-text): New function with most code from
15533 `image-mode-maybe'.
15534 (image-toggle-display-text): Move code that removes image
15535 properties from `image-toggle-display' to here.
15536 (image-toggle-display-image): New function with code that adds
15537 image properties copied from `image-toggle-display'.
15538 (image-toggle-display): Remove most code with leaving only code
15539 that toggles between `image-mode-as-text' and `image-mode'.
15541 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
15543 * net/newst-treeview.el
15544 (newsticker--treeview-list-highlight-start): Restored call to
15545 save-excursion: Selected item was stuck.
15546 (newsticker--treeview-list-select): New.
15547 (newsticker--treeview-item-show-text)
15548 (newsticker--treeview-item-show)
15549 (newsticker--treeview-item-update): Use new
15550 newsticker-treeview-item-mode.
15551 (newsticker-treeview-update): Keep current item.
15552 (newsticker-treeview-next-new-or-immortal-item): Doc change.
15553 (newsticker--treeview-first-feed): Doc change.
15554 (newsticker-treeview-list-menu)
15555 (newsticker-treeview-item-menu): Add menu entries.
15556 (newsticker-treeview-item-mode): New.
15558 * net/newst-backend.el (newsticker-customize): Delete other
15561 2009-12-04 Sam Steingold <sds@gnu.org>
15563 * log-view.el (log-view-mode-map): "q" calls quit-window,
15564 like in all the other non-self-insert buffers.
15566 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
15569 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
15570 key decoding rather than do it manually via last-input-event +
15572 (term-exec): Use delete-and-extract-region.
15573 (term-handle-ansi-terminal-messages): Remove unused var `end'.
15574 (term-process-pager): Remove unused var `i'.
15575 (term-dynamic-simple-complete): Make obsolete.
15576 (serial-update-config-menu): Remove unused vars `y' and `str'.
15577 (term-update-mode-line): Remove unused var `temp'.
15579 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15581 Limit the number of log entries displayed by default.
15582 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
15583 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
15584 using a prefix argument.
15586 2009-12-03 Glenn Morris <rgm@gnu.org>
15588 * progmodes/idlwave.el (class): Restore still useful declaration.
15590 2009-12-03 Alan Mackenzie <acm@muc.de>
15592 Enhance `c-parse-state' to run efficiently in "brace deserts".
15594 * progmodes/cc-mode.el (c-basic-common-init):
15595 Call c-state-cache-init.
15596 (c-neutralize-syntax-in-and-mark-CPP): Rename from
15597 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
15598 placing `category' properties value 'c-cpp-delimiter at its boundaries.
15600 * progmodes/cc-langs.el (c-before-font-lock-function):
15601 c-extend-and-neutralize-syntax-in-CPP has been renamed
15602 c-neutralize-syntax-in-and-mark-CPP.
15604 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
15605 with `category' properties now, not `syntax-table' ones.
15607 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
15608 enhanced (but slower) version of c-end-of-macro that won't land
15609 inside a literal or on another awkward character.
15610 (c-state-cache-too-far, c-state-cache-start)
15611 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
15612 (c-state-nonlit-pos-cache-limit, c-state-point-min)
15613 (c-state-point-min-lit-type, c-state-point-min-lit-start)
15614 (c-state-min-scan-pos, c-state-brace-pair-desert)
15615 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
15616 buffer local variables.
15617 (c-state-literal-at, c-state-lit-beg)
15618 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
15619 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
15620 (c-state-cache-top-paren, c-state-cache-after-top-paren)
15621 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
15622 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
15623 (c-renarrow-state-cache)
15624 (c-append-lower-brace-pair-to-state-cache)
15625 (c-state-push-any-brace-pair, c-append-to-state-cache)
15626 (c-remove-stale-state-cache)
15627 (c-remove-stale-state-cache-backwards, c-state-cache-init)
15628 (c-invalidate-state-cache-1, c-parse-state-1)
15629 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
15630 (c-parse-state): Enhance and refactor.
15631 (c-debug-parse-state): Amend to deal with all the new variables.
15633 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
15634 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
15635 modify to use category text properties rather than syntax-table ones.
15636 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
15637 to switch off/on the syntactic paren property of C++ template
15638 delimiters using the category property.
15639 (c-with-<->-as-parens-suppressed): Macro to invoke code with
15640 template delims suppressed.
15641 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
15642 New constant/macros which apply category properties to the start
15643 and end of preprocessor constructs.
15644 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
15645 "comment out" the syntactic value of characters in preprocessor
15647 (c-with-cpps-commented-out)
15648 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
15649 with characters in all or all but one preprocessor constructs
15652 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15654 * proced.el (proced-filter-alist): Use regexp-quote.
15656 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
15659 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
15660 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
15661 arguments. Expand `default-directory'.
15663 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
15664 the benefit of returning an expanded localname.
15665 (tramp-tramp-file-p): Handle the case NAME is not a string.
15667 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15669 Add support for bzr shelve/unshelve.
15670 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
15671 (vc-bzr-extra-menu-map): New variables.
15672 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
15673 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
15674 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
15675 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
15676 (vc-bzr-dir-extra-headers): Display shelves.
15678 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
15680 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15682 * textmodes/bibtex.el (bibtex-complete-internal):
15683 Use completion-in-region.
15684 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
15686 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15688 Support applying stashes. Improve UI.
15689 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
15690 (vc-git-stash-apply, vc-git-stash-pop)
15691 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
15692 (vc-git-stash-menu): New functions.
15693 (vc-git-stash-menu-map): New variable.
15694 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
15696 2009-12-03 Glenn Morris <rgm@gnu.org>
15698 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
15699 (vc-print-log-internal): Fix previous change.
15700 (vc-revert): Correct pluralization.
15702 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15704 * progmodes/make-mode.el (makefile-special-targets-list): No need for
15705 it to be an alist any more.
15706 (makefile-complete): Use completion-in-region.
15708 * progmodes/octave-mod.el (octave-complete-symbol):
15709 Use completion-in-region.
15712 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
15713 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
15714 (idlwave-complete-class): Don't quote lambda.
15715 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
15716 (idlwave-mode-map): Move initialization into declaration.
15717 (idlwave-action-and-binding): Use backquotes.
15718 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
15720 (idlwave-is-pointer-dereference): Remove unused var `pos'.
15721 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
15722 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
15723 `parts', and `all-parts'.
15724 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
15725 (idlwave-convert-xml-system-routine-info): Remove unused string
15727 (idlwave-display-user-catalog-widget): Use dolist.
15728 (idlwave-scanning-lib): Declare dynamically-scoped var.
15729 (idlwave-scan-library-catalogs): Remove unused var `flags'.
15730 (completion-highlight-first-word-only): Declare to silence bytecomp.
15731 (idlwave-popup-select): Tighten scope of `resp'.
15732 (idlwave-find-struct-tag): Remove unused var `beg'.
15733 (idlwave-after-load-rinfo-hook): Declare.
15734 (idlwave-sintern-class-info): Remove unused var `taglist'.
15735 (idlwave-find-class-definition): Remove unused var `list'.
15736 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
15737 (idlwave-what-module-find-class): Remove unused var `classes'.
15739 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
15741 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
15743 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15745 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
15746 buffers visited. Remove redundant current-buffer-saving.
15748 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15750 Use completion-in-buffer and remove uses of dynamic scoping.
15751 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
15752 (pascal-buffer-to-use, pascal-flag): Don't declare.
15753 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
15754 (pascal-get-completion-decl, pascal-keyword-completion):
15755 Add `pascal-str' argument, save-excursion,
15756 return the found completions, and don't filter with pascal-pred.
15757 (pascal-completion-cache): New var.
15758 (pascal-completion): Don't switch buffer any more (it was never
15759 necessary). Don't save-excursion any more (it's done by the called
15760 subroutines). Use a cache to avoid redundant computations.
15761 Use complete-with-action rather than pascal-completion-response and
15762 let it apply the predicate as well.
15763 (pascal-complete-word): Use completion-in-buffer when
15764 pascal-toggle-completions is nil.
15765 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
15767 (pascal-comp-defun): Don't change buffer any more.
15768 Use complete-with-action rather than pascal-completion-response and
15769 let it apply the predicate as well.
15770 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
15773 2009-12-02 Kenichi Handa <handa@m17n.org>
15775 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
15776 shape for all Indic scripts.
15778 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15780 Use completion-in-buffer.
15781 * wid-edit.el (widget-field-text-end): New function.
15782 (widget-field-value-get): Use it.
15783 (widget-string-complete, widget-file-complete)
15784 (widget-color-complete): Use it and completion-in-region.
15785 (widget-complete): Don't narrow the buffer.
15787 2009-12-02 Glenn Morris <rgm@gnu.org>
15789 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
15790 (rmail-select-summary): Use rmail-pop-to-buffer.
15791 * mail/rmailsum.el: Replace all pop-to-buffer calls with
15792 rmail-pop-to-buffer, to prevent horizontal splits.
15794 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
15795 save-excursion with save-current-buffer.
15796 Widen before searching. (Bug#5093)
15797 (diary-list-sexp-entries): Remove superfluous save-excursion.
15799 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
15801 * woman.el (woman-make-bufname): Handle man-pages with "." in the
15804 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
15806 * ido.el (ido-file-internal): Handle filenames at point that do
15807 not have a directory part. (Bug#5049)
15809 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
15811 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
15812 (mpc-songs-jump-to, mpc-resume): Doc fixes.
15814 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
15816 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15817 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15820 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15822 * comint.el (comint-insert-input): Ignore clicks to the right of
15823 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15825 * vc.el (vc-print-log-internal): Don't wait for the process to
15826 terminate before setting up the major mode.
15828 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15831 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15834 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15836 2009-12-01 Glenn Morris <rgm@gnu.org>
15838 * window.el (window--display-buffer-2): Fix previous changes.
15840 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
15842 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15844 2009-12-01 Glenn Morris <rgm@gnu.org>
15846 * Makefile.in (ELCFILES): Add mpc.elc.
15848 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15850 * mpc.el: New file.
15852 2009-12-01 Glenn Morris <rgm@gnu.org>
15854 * window.el (window-to-use): Define for compiler.
15856 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15857 consistent with others (no final period).
15859 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15860 (rmail-mime-show): Downcase the encoding. (Bug#5070)
15862 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
15864 Make vc-print-log buttons work.
15865 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15867 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
15869 * savehist.el (savehist-autosave-interval): Allow setting to nil
15870 through customize. (Bug#5056)
15872 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
15874 Fix references to jit-lock properties.
15875 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15876 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15877 (perl-font-lock-special-syntactic-constructs):
15878 Quote jit-lock-defer-multiline property.
15880 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
15882 * vc-git.el (vc-git-registered): Call vc-git-root only once.
15884 2009-11-30 Juri Linkov <juri@jurta.org>
15886 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15887 value `buffer' of `multi-isearch-next-buffer-current-function'.
15888 Use `(current-buffer)' when `buffer' is nil.
15889 (multi-isearch-next-buffer-from-list): Don't fallback to
15890 `(current-buffer)' when `buffer' is nil. (Bug#4947)
15892 2009-11-30 Juri Linkov <juri@jurta.org>
15894 * misearch.el (multi-isearch-read-buffers): Move canonicalization
15895 of buffers with `get-buffer' to `multi-isearch-buffers'.
15896 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15897 Canonicalize BUFFERS with `get-buffer'. Doc fix.
15898 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15899 FILES with `expand-file-name' converting relative file names
15900 to absolute. Doc fix. (Bug#4727)
15902 2009-11-30 Juri Linkov <juri@jurta.org>
15904 * misearch.el (multi-isearch-read-buffers)
15905 (multi-isearch-read-matching-buffers): New functions.
15906 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15907 Use them in the `interactive' spec. Doc fix.
15908 (multi-isearch-read-files, multi-isearch-read-matching-files):
15910 (multi-isearch-files, multi-isearch-files-regexp):
15911 Use them in the `interactive' spec. Doc fix. (Bug#4725)
15913 2009-11-30 Juri Linkov <juri@jurta.org>
15915 * doc-view.el (doc-view-continuous):
15916 Rename from `doc-view-continuous-mode'.
15917 (doc-view-menu): Move "Toggle display" to the top.
15918 Add submenu "Continuous" with radio buttons "Off"/"On"
15919 and "Save as Default".
15920 (doc-view-scroll-up-or-next-page)
15921 (doc-view-scroll-down-or-previous-page)
15922 (doc-view-next-line-or-next-page)
15923 (doc-view-previous-line-or-previous-page):
15924 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
15926 2009-11-30 Juri Linkov <juri@jurta.org>
15928 * comint.el (comint-mode-map): Rebind `M-r' from
15929 `comint-previous-matching-input' to
15930 `comint-history-isearch-backward-regexp'.
15931 Unbind `M-s' to allow global key binding `M-s'.
15932 Add menu items for `comint-history-isearch-backward' and
15933 `comint-history-isearch-backward-regexp'. (Bug#3746)
15935 2009-11-30 Juri Linkov <juri@jurta.org>
15937 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15938 For def=recenter, replace `recenter' with `recenter-top-bottom'
15939 that is called with `this-command' and `last-command' let-bound
15940 to `recenter-top-bottom'. When the last `def' was not `recenter',
15941 set `recenter-last-op' to nil. (Bug#4981)
15943 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
15945 Minor cleanup and simplification.
15946 * filecache.el (file-cache-add-directory)
15947 (file-cache-add-directory-recursively)
15948 (file-cache-add-from-file-cache-buffer)
15949 (file-cache-delete-file-regexp, file-cache-delete-directory)
15950 (file-cache-files-matching-internal, file-cache-display): Use dolist.
15951 (file-cache-temp-minibuffer-message): Delete function.
15952 (file-cache-minibuffer-complete): Use minibuffer-message instead.
15954 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15955 Don't signal an error when bumping into EOB in tr, s, or y.
15957 2009-11-29 Juri Linkov <juri@jurta.org>
15959 * startup.el (fancy-about-text): Fix wording of Guided Tour.
15962 * descr-text.el (describe-char-unidata-list): Use lowercase name
15963 for "Unicode name" like in other tags.
15965 2009-11-29 Juri Linkov <juri@jurta.org>
15967 * ediff-util.el (ediff-minibuffer-with-setup-hook):
15968 New compatibility macro.
15969 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15971 2009-11-29 Juri Linkov <juri@jurta.org>
15973 Add defcustom to define the cycling order of `recenter-top-bottom'.
15976 * window.el (recenter-last-op): Doc fix.
15977 (recenter-positions): New defcustom.
15978 (recenter-top-bottom): Rewrite to use `recenter-positions'.
15979 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15981 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
15983 Improve integration of Tramp and ange-ftp in eshell.
15985 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15986 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
15987 (eshell/sudo): Flatten args. Let-bind `default-directory'.
15989 * eshell/esh-util.el (top): Require also Tramp when compiling.
15990 (eshell-directory-files-and-attributes): Check for FTP remote
15992 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15993 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15994 (eshell-file-attributes): Handle ".". Return `entry'.
15996 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15997 (ange-ftp-directory-files-and-attributes)
15998 (ange-ftp-real-directory-files-and-attributes): New defuns.
16000 * net/tramp.el (tramp-maybe-open-connection): Open the remote
16001 shell with "exec" when possible. This prevents trailing prompts
16002 in `start-file-process'.
16004 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
16006 Try and remove assumptions about point-min==1.
16007 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
16008 (rng-compute-mode-line-string): Show the validation percentage in
16009 terms of the narrowed text, not the widened text.
16010 (rng-do-some-validation): Don't catch internal errors when debugging.
16011 (rng-first-error): Simplify.
16012 (rng-after-change-function): Remove work around. AFAIK the bug has
16013 been fixed a while ago.
16015 * image-mode.el (image-minor-mode): Exit more gracefully when the image
16016 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
16018 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
16020 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
16021 `cd' doesn't always do it for us (bug#5067).
16023 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
16024 on 2009-10-25 as part of some other change (bug#5067).
16026 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
16028 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
16030 (byte-compile-warnings): Use byte-compile-warning-types.
16031 (byte-compile-save-excursion): Warn about use of set-buffer right
16032 after save-excursion.
16034 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
16035 the excursion as well.
16037 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
16039 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
16040 providing a Tramp related implementation of "su" and "sudo".
16041 (eshell-unix-initialize): Add "su" and "sudo".
16043 2009-11-27 Daiki Ueno <ueno@unixuser.org>
16045 * net/socks.el (socks-send-command): Convert binary request to
16046 unibyte before sending. This fixes mishandling of some port
16047 numbers such as 129.
16049 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
16051 * help.el (describe-bindings-internal): Remove `interactive'.
16053 * man.el (Man-completion-table): Trim a terminating "(".
16054 Remove the space between name page a section.
16055 Add the command's description on the `help-echo' property.
16056 Remove `process-connection-type' binding since it's unused by
16058 Provide completion for the "<section> <name>" format as well.
16059 (Man-default-man-entry): Remove spurious var shadowing the argument.
16061 2009-11-26 Kevin Ryde <user42@zip.com.au>
16063 * log-view.el: Add "Keywords: tools", since its other keywords
16064 aren't in finder-known-keywords, and following vc.el.
16066 * sha1.el (sha1-string-external): default-directory "/" in case
16067 otherwise non-existent. process-connection-type pipe for touch of
16068 efficiency recommended by elisp manual. (An aside in Bug#3911.)
16070 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
16072 Misc coding convention cleanups.
16073 * htmlfontify.el (hfy-init-kludge-hook): Rename from
16074 hfy-init-kludge-hooks.
16075 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
16076 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
16077 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
16079 (hfy-slant, hfy-weight): Use tables rather than code.
16080 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
16081 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
16082 (hfy-face-attr-for-class): Initialize `face-spec' directly.
16083 (hfy-face-to-css): Remove `nconc' with single arg.
16084 (hfy-p-to-face-lennart): Use `or'.
16085 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
16086 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
16087 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
16088 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
16089 (hfy-force-fontification): Use run-hooks.
16091 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
16093 Various minor fixes.
16094 * htmlfontify.el (hfy-default-header): Add toggle_invis since
16095 Javascript belongs in the header, not the body.
16096 (hfy-javascript): Remove.
16097 (hfy-fontify-buffer): Don't insert it any more.
16098 (hfy-face-at): Handle (face0 face1 face2) style face properties.
16099 Fix bug in invis handling when there were no invis props in a chunk.
16101 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
16103 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
16105 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
16107 * finder.el (finder-mode-map): Add a menu.
16109 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
16111 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
16112 "unsigned" structs.
16114 (verilog-leap-to-head, verilog-backward-token): Handle "disable
16115 fork" statement better.
16117 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
16119 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
16120 (verilog-delete-auto, verilog-delete-empty-auto-pair)
16121 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
16122 Reported by Clay Douglass.
16124 (verilog-auto-inst, verilog-auto-star-safe)
16125 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
16126 Fix removing "// Interfaces" when saving .* expansions.
16127 Reported by Pierre-David Pfister.
16129 2009-11-26 Glenn Morris <rgm@gnu.org>
16131 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
16134 2009-11-25 Johan Bockgård <bojohan@gnu.org>
16136 * vc-annotate.el (vc-annotate-revision-previous-to-line):
16137 Really use previous revision.
16139 2009-11-25 Kevin Ryde <user42@zip.com.au>
16141 * man.el (Man-completion-table): default-directory "/" in case
16142 doesn't otherwise exist. process-environment COLUMNS=999 so as
16143 not to truncate long names. process-connection-type pipe to avoid
16144 any chance of hitting the pseudo-tty TIOCGWINSZ.
16145 (man): completion-ignore-case t for friendliness and since man
16146 itself is case-insensitive on the command line.
16147 Further to Bug#3717.
16149 * arc-mode.el: Add "Keywords: files", so the details in its
16150 commentary can be reached from finder-by-keyword.
16151 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
16152 editing mode, but it's comms related and sgml-mode.el has "comm"
16154 * textmodes/bibtex-style.el: Add "Keywords: tex".
16155 * international/isearch-x.el, international/ja-dic-cnv.el:
16156 * international/ja-dic-utl.el, international/kkc.el:
16157 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
16159 2009-11-25 Juri Linkov <juri@jurta.org>
16161 * man.el (Man-completion-table): Modify regexp to include
16162 section names to completion strings. (Bug#3717)
16164 2009-11-25 Juri Linkov <juri@jurta.org>
16166 Search recursively in gzipped files. (Bug#4982)
16168 * progmodes/grep.el (grep-highlight-matches): Add new options
16169 `always' and `auto'. Doc fix.
16170 (grep-process-setup): Check `grep-highlight-matches' for
16171 `auto-detect' to determine the need to compute grep defaults.
16172 Move Windows/DOS specific --colors settings handling
16173 to `grep-compute-defaults'. Check `grep-highlight-matches'
16174 to get the value of "--color=".
16175 (grep-compute-defaults): Compute `grep-highlight-matches' when it
16176 has the value `auto-detect'. Move Windows/DOS specific settings
16177 from `grep-process-setup'.
16178 (zrgrep): New command with alias `rzgrep'.
16180 2009-11-25 Juri Linkov <juri@jurta.org>
16182 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
16183 to nil instead of switching off view-mode. (Bug#4896)
16185 2009-11-25 Juri Linkov <juri@jurta.org>
16187 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
16189 * mwheel.el (mwheel-scroll-up-function)
16190 (mwheel-scroll-down-function): New defvars.
16191 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
16192 `scroll-up', and `mwheel-scroll-down-function' instead of
16195 * doc-view.el (doc-view-scroll-up-or-next-page)
16196 (doc-view-scroll-down-or-previous-page): Add optional ARG.
16197 Use this ARG in the call to image-scroll-up/image-scroll-down.
16198 Change `interactive' spec to "P". Goto next/previous page only
16199 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
16200 SPC/DEL case). Doc fix.
16201 (doc-view-next-line-or-next-page)
16202 (doc-view-previous-line-or-previous-page): Rename arg to ARG
16204 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
16205 `doc-view-scroll-up-or-next-page', and buffer-local
16206 `mwheel-scroll-down-function' to
16207 `doc-view-scroll-down-or-previous-page'.
16209 2009-11-25 Juri Linkov <juri@jurta.org>
16211 Provide additional default values (directories at other Dired
16212 windows) via M-n in the minibuffer of some Dired commands.
16214 * dired-aux.el (dired-diff, dired-compare-directories)
16215 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
16216 `minibuffer-default' in `minibuffer-with-setup-hook'.
16217 (dired-dwim-target-directory): Find a window that displays Dired
16218 buffer instead of failing when the next window is not Dired.
16219 Use `get-window-with-predicate' to find for the next Dired window.
16220 (dired-dwim-target-defaults): New function.
16222 * ediff-util.el (ediff-read-file-name):
16223 Use `dired-dwim-target-defaults' to set `minibuffer-default'
16224 in `minibuffer-with-setup-hook'.
16226 2009-11-25 Juri Linkov <juri@jurta.org>
16228 Provide additional default values (file name at point or at the
16229 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
16231 * minibuffer.el (read-file-name-defaults): New function.
16232 (read-file-name): Reset `minibuffer-default' to nil when
16233 it duplicates initial input `insdef'.
16234 Bind `minibuffer-default-add-function' to lambda that
16235 calls `read-file-name-defaults' in `minibuffer-selected-window'.
16236 (minibuffer-insert-file-name-at-point): New command.
16238 * files.el (file-name-at-point-functions): New defcustom.
16239 (find-file-default): Remove defvar.
16240 (find-file-read-args): Don't use `find-file-default'.
16241 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
16242 to `read-file-name'.
16243 (find-file-literally): Use `read-file-name' with
16244 `confirm-nonexistent-file-or-buffer'.
16246 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
16248 * dired.el (dired-read-dir-and-switches):
16249 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
16250 to `read-file-name'.
16251 (dired-file-name-at-point): New function.
16252 (dired-mode): Add hook `dired-file-name-at-point' to
16253 `file-name-at-point-functions'.
16255 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
16257 Really make the *Completions* window soft-dedicated (bug#5030).
16258 * window.el (window--display-buffer-2): Add `dedicated' argument.
16259 (display-buffer): Pass it when needed so the dedicated flag is set
16260 after calling set-window-buffer, which would otherwise reset it.
16262 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
16264 * progmodes/meta-mode.el (meta-complete-symbol):
16265 * progmodes/etags.el (complete-tag):
16266 * mail/mailabbrev.el (mail-abbrev-complete-alias):
16267 Use completion-in-region.
16269 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
16270 (dabbrev-completion): Use completion-in-region.
16271 (dabbrev--abbrev-at-point): Simplify regexp.
16273 * abbrev.el (abbrev--before-point): Use word-motion functions
16274 if :regexp is not specified (bug#5031).
16276 * subr.el (string-prefix-p): New function.
16278 * man.el (Man-completion-cache): New var.
16279 (Man-completion-table): Use it.
16281 * vc.el (vc-print-log-internal): Make `limit' optional for better
16282 compatibility (e.g. with vc-annotate.el).
16284 2009-11-24 Kevin Ryde <user42@zip.com.au>
16286 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
16287 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
16289 * emacs-lisp/elint.el (elint-add-required-env): Better error message
16290 when .el source file not found or other error.
16292 2009-11-24 Markus Triska <markus.triska@gmx.at>
16294 * linum.el (linum-update-window): Ignore intangible (bug#4996).
16296 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
16298 Handle the [back] button properly (bug#4979).
16299 * descr-text.el (describe-text-properties): Add a `buffer' argument.
16300 Use help-setup-xref, help-buffer, and with-help-window.
16301 (describe-char): Add `buffer' argument.
16302 Pass proper command to help-setup-xref. Don't meddle with
16303 help-xref-stack-item directly.
16304 (describe-text-category): Use with-help-window and help-buffer.
16306 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
16307 for the displayed buffer (bug#4887).
16309 * man.el (Man-completion-table): New function.
16312 2009-11-24 David Reitter <david.reitter@gmail.com>
16314 * vc-git.el (vc-git-registered): Use checkout directory (where
16315 .git is) rather than the file's directory and a relative path spec
16316 to work around a bug in git.
16318 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
16320 Improve handling of processes on remote hosts.
16322 * eshell/esh-util.el (eshell-path-env): New defvar.
16323 (eshell-parse-colon-path): New defun.
16324 (eshell-file-attributes): Use `eshell-parse-colon-path'.
16326 * eshell/esh-ext.el (eshell-search-path):
16327 Use `eshell-parse-colon-path'.
16328 (eshell-remote-command): Remove argument HANDLER.
16329 (eshell-external-command): Check for FTP remote connection.
16331 * eshell/esh-proc.el (eshell-gather-process-output):
16332 Use `file-truename', in order to start also symlinked files.
16333 Apply `start-file-process' instead of `start-process'.
16334 Shorten `command' to the local file name part.
16336 * eshell/em-cmpl.el (eshell-complete-commands-list):
16337 Use `eshell-parse-colon-path'.
16339 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
16341 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
16342 to `eshell-directory-change-hook'.
16344 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
16346 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
16347 because it could be enabled automatically if view-read-only is non-nil.
16349 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
16351 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
16352 made on 2009-11-22.
16354 2009-11-24 Glenn Morris <rgm@gnu.org>
16356 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
16357 deleted variable bookmark-bmenu-bookmark-column.
16359 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
16361 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
16363 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
16365 * net/browse-url.el (browse-url-filename-alist): On Windows, add
16366 two slashes to the "file:" prefix.
16367 (browse-url-file-url): De-munge Cygwin filenames before passing
16368 them to Windows browser.
16369 (browse-url-default-windows-browser): Use call-process.
16371 2009-11-23 Juri Linkov <juri@jurta.org>
16373 Implement DocView Continuous mode. (Bug#4896)
16374 * doc-view.el (doc-view-continuous-mode): New defcustom.
16375 (doc-view-mode-map): Bind C-n/<down> to
16376 `doc-view-next-line-or-next-page', C-p/<up> to
16377 `doc-view-previous-line-or-previous-page'.
16378 (doc-view-next-line-or-next-page)
16379 (doc-view-previous-line-or-previous-page): New commands.
16381 2009-11-23 Juri Linkov <juri@jurta.org>
16383 Implement Isearch in comint input history. (Bug#3746)
16384 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
16385 `isearch-mode-hook'.
16386 (comint-history-isearch): New defcustom.
16387 (comint-history-isearch-backward)
16388 (comint-history-isearch-backward-regexp): New commands.
16389 (comint-history-isearch-message-overlay): New buffer-local variable.
16390 (comint-history-isearch-setup, comint-history-isearch-end)
16391 (comint-goto-input, comint-history-isearch-search)
16392 (comint-history-isearch-message, comint-history-isearch-wrap)
16393 (comint-history-isearch-push-state)
16394 (comint-history-isearch-pop-state): New functions.
16396 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
16398 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
16400 (tramp-handle-make-symbolic-link)
16401 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
16403 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
16404 (tramp-handle-process-file): Use it.
16406 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
16408 * window.el (move-to-window-line-last-op): Remove.
16409 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
16411 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
16413 Make M-r mirror the new cycling behavior of C-l.
16414 * window.el (move-to-window-line-last-op): New var.
16415 (move-to-window-line-top-bottom): New command.
16416 (global-map): Bind M-r move-to-window-line-top-bottom.
16418 2009-11-23 Sven Joachim <svenjoac@gmx.de>
16420 * dired-x.el (dired-guess-shell-alist-default):
16421 Support xz format. (Bug#4953)
16423 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
16425 * emulation/viper-cmd.el: Use viper-last-command-char instead of
16426 last-command-char/last-command-event.
16427 (viper-prefix-arg-value): Do correct conversion of event-char for
16430 * emulation/viper-util.el, emulation/viper.el:
16431 Use viper-last-command-char instead of
16432 last-command-char/last-command-event.
16434 * ediff-init.el, ediff-mult.el, ediff-util.el:
16435 Replace last-command-char and last-command-event
16436 with (ediff-last-command-char) everywhere.
16438 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
16439 created in fundamental mode.
16441 * ediff.el (ediff-version): Revert the change of interactive-p to
16442 called-interactively-p.
16444 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
16446 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
16447 generation from word-movement command names.
16449 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
16451 * cus-start.el (all): Add native condition for font-use-system-font.
16453 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
16455 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
16456 Correct the patch from 2009-11-18. (Bug#3910)
16458 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
16460 * progmodes/subword.el: Rename from lisp/subword.el.
16462 * subword.el: Rename to progmodes/subword.el.
16464 * Makefile.in (ELCFILES): Adapt to subword.el move.
16466 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16467 Stefan Monnier <monnier@iro.umontreal.ca>
16469 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
16470 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
16471 (bookmark-bmenu-show-filenames): Use push.
16472 (bookmark-bmenu-hide-filenames): Use local var instead of
16473 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
16474 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
16475 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
16476 filenames now that the bookmark names are always available.
16478 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16480 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
16481 (bookmark-search-pattern): Move and leave unbound.
16482 (bookmark-bmenu-mode-map): Change binding.
16483 (bookmark-read-search-input): Simplify.
16484 Don't use text-char-description. Don't error on non-char events.
16485 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
16486 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
16487 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
16488 Use a local var for the timer.
16489 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
16490 (i.e. bookmark-bmenu-search).
16492 2009-11-21 Glenn Morris <rgm@gnu.org>
16494 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
16496 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
16498 * net/browse-url.el (browse-url-default-windows-browser):
16499 Use cygstart for cygwin.
16501 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
16503 * bookmark.el: Formatting and doc fixes only:
16504 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
16505 (bookmark-bmenu-search): Wrap to fit within 80 columns.
16506 Minor grammar and punctuation fixes in doc string.
16507 (bookmark-read-search-input): Adjust to fit within 80 columns.
16509 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16511 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
16512 (c-backward-into-nomenclature): Adapt to subword renaming.
16514 * subword.el (subword-forward, subword-backward, subword-mark)
16515 (subword-kill, subword-backward-kill, subword-transpose)
16516 (subword-downcase, subword-upcase, subword-capitalize)
16517 (subword-forward-internal, subword-backward-internal):
16518 Rename from forward-subword, backward-subword, mark-subword,
16519 kill-subword, backward-kill-subword, transpose-subwords,
16520 downcase-subword, upcase-subword, capitalize-subword,
16521 forward-subword-internal, backward-subword-internal.
16523 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16525 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
16527 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
16529 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
16530 (bookmark-bmenu-filter-alist-by-regexp)
16531 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
16532 (bookmark-bmenu-search): New command.
16533 (bookmark-bmenu-mode-map): Bind it.
16535 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16537 * progmodes/cc-cmds.el: declare-functioned forward-subword and
16538 backward-subword to quit the byte-compiler.
16540 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
16542 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
16544 * progmodes/cc-cmds.el (c-update-modeline)
16545 (c-forward-into-nomenclature, c-backward-into-nomenclature):
16546 Refer to subword.el functions instead of cc-subword.el.
16548 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
16549 subword.el functions instead of cc-subword.el.
16551 * progmodes/cc-subword.el: Rename to subword.el.
16552 * subword.el: Rename from progmodes/cc-subword.el.
16553 (subword-mode-map): Rename from c-subword-mode-map.
16554 (subword-mode): Rename from c-subword-mode.
16555 (global-subword-mode): New global minor mode.
16556 (forward-subword): Rename from c-forward-subword.
16557 (backward-subword): Rename from c-backward-subword.
16558 (mark-subword): Rename from c-mark-subword.
16559 (kill-subword): Rename from c-kill-subword.
16560 (backward-kill-subword): Rename from c-backward-kill-subword.
16561 (transpose-subwords): Rename from c-tranpose-subword.
16562 (downcase-subword): Rename from c-downcase-subword.
16563 (capitalize-subword): Rename from c-capitalize-subword.
16564 (forward-subword-internal): Rename from c-forward-subword-internal.
16565 (backward-subword-internal): Rename from c-backward-subword-internal.
16567 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
16569 * vc.el (vc-deduce-fileset): Allow non-state changing operations
16570 from a dired buffer.
16571 (vc-dired-deduce-fileset): New function.
16572 (vc-root-diff, vc-print-root-log): Use it.
16574 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
16575 nil LIMIT argument to vc-print-log-internal.
16577 2009-11-20 Glenn Morris <rgm@gnu.org>
16579 * Makefile.in (ELCFILES): Regenerate.
16581 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
16583 * calc/calc.el (calc-set-mode-line):
16584 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16585 (math-format-number): Rename `math-format-complement-signed' to
16586 `math-format-twos-complement'.
16588 * calc/calc-bin.el (math-format-twos-complement): Rename from
16589 math-format-complement-signed.
16590 (calc-radix): Rename `calc-complement-signed-mode' to
16591 `calc-twos-complement-mode'.
16592 (calc-octal-radix, calc-hex-radix): Add an argument for
16595 * calc/calc-embed.el (calc-embedded-mode-vars):
16596 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16598 * calc/calc-ext.el (calc-init-extensions):
16599 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16600 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
16602 * calc/calc-units.el (math-build-units-table-buffer):
16603 Let `calc-twos-complement-mode' be nil.
16605 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
16608 * calc/calc-vec.el (calcFunc-vunpack):
16609 * calc/calc-aent.el (calc-do-calc-eval):
16610 * calc/calc-forms.el (math-format-date):
16611 * calc/calc-graph.el (calc-graph-plot):
16612 * calc/calc-math.el (math-use-emacs-fn):
16613 * calc/calccomp.el (math-compose-expr):
16614 Let `calc-twos-complement-mode' be nil.
16616 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16618 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
16619 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
16620 * minibuffer.el (completion-in-region-functions): New hook.
16621 (completion-in-region): New function.
16622 * emacs-lisp/lisp.el (lisp-complete-symbol):
16623 * pcomplete.el (pcomplete-std-complete): Use it.
16625 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16627 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
16628 (latex-complete-alist): New vars.
16629 (latex-string-prefix-p, latex-complete-bibtex-keys)
16630 (latex-complete-envnames, latex-complete-refkeys)
16631 (latex-complete-data): New functions.
16632 (latex-complete, latex-indent-or-complete): New commands.
16634 * window.el (display-buffer-mark-dedicated): New var.
16635 (display-buffer): Obey it.
16636 * minibuffer.el (minibuffer-completion-help): Use it.
16638 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
16640 * filecache.el (file-cache-add-file): Use push and cons.
16641 (file-cache-delete-file-regexp): Use push.
16642 (file-cache-complete): Use completion-in-region.
16644 * simple.el (with-wrapper-hook): Fix thinko.
16646 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
16647 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
16648 Use with-current-buffer and string-to-number.
16649 (hfy-fallback-colour-values): Use assoc-string.
16650 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
16651 (hfy-face-at): Remove unused var `found-face'.
16652 (hfy-compile-stylesheet): Remove unused var `css'.
16653 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
16655 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
16656 Use with-current-buffer.
16657 (hfy-text-p): Use expand-file-name and fewer setq.
16659 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
16661 * htmlfontify.el, hfy-cmap.el: New files.
16663 2009-11-19 Juri Linkov <juri@jurta.org>
16665 * minibuffer.el (completions-format): New defcustom.
16666 (completion--insert-strings): Implement vertical format.
16668 * simple.el (switch-to-completions): Move point to the first
16669 completion when point was at the beginning of the buffer.
16671 2009-11-19 Juri Linkov <juri@jurta.org>
16673 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
16675 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
16677 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
16679 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
16680 (mail-signature): Change default to t.
16681 (mail-from-style): Deprecate `system-default' value.
16682 (mail-insert-from-field): For default value of mail-from-style,
16683 default to `angles' unless `angles' needs quoting and `parens'
16685 (mail-citation-prefix-regexp): Use citation regexp from
16688 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
16690 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
16691 Set variables for computing the prompt for reading password.
16693 2009-11-19 Glenn Morris <rgm@gnu.org>
16695 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
16697 * textmodes/flyspell.el (sgml-lexical-context): Declare.
16699 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
16700 (newsticker-treeview-listwindow-height): Fix custom type.
16702 2009-11-19 Kenichi Handa <handa@m17n.org>
16704 * descr-text.el (describe-char-padded-string): Compose with TAB
16705 only if there's a font for CH.
16706 (describe-char): Fix the condition for detecting a trivial composition.
16708 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
16710 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
16711 more accurate version of the regexp. (Bug#3910)
16713 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16715 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
16717 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
16719 * font-setting.el (font-use-system-font): Declare for byte-compiler.
16720 (font-setting-change-default-font): Fix typo in docstring.
16722 2009-11-18 Alan Mackenzie <acm@muc.de>
16724 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
16726 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16728 * font-setting.el (font-use-system-font): Move ...
16730 * cus-start.el (all): ... to here.
16732 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
16734 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
16735 Don't set `ad-return-value' if `ad-do-it' doesn't.
16737 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
16740 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16742 * menu-bar.el: Put "Use system font" in Option-menu.
16743 (menu-bar-options-save): Add font-use-system-font.
16745 * loadup.el: If feature system-font-setting or font-render-setting is
16746 there, load font-setting.
16748 * Makefile.in (ELCFILES): Add font-settings.el.
16749 * font-setting.el: New file.
16751 2009-11-17 Glenn Morris <rgm@gnu.org>
16753 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
16755 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
16756 Preserve point in the list buffer. (Bug#4939)
16758 (newsticker--treeview-list-update-highlight)
16759 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
16761 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16763 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
16766 * calc/calc-ext.el (calc-init-extensions): Remove references to
16769 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
16771 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
16772 * calc/calc-help.el (calc-b-prefix-help): Remove references to
16775 2009-11-16 Kevin Ryde <user42@zip.com.au>
16777 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16778 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
16780 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
16781 (lm-keywords-list): Allow comma-only separator like "foo,bar".
16782 Ignore trailing spaces by omit-nulls to split-string (fixing
16783 regression from Emacs 21 due to the incompatible split-string
16784 change). (Bug #4928.)
16786 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
16788 * vc.el (vc-log-show-limit): Default to 2000.
16789 (vc-print-log-internal): Insert buttons to request more entries
16790 when limiting the output.
16792 * vc-sccs.el (vc-sccs-print-log):
16793 * vc-rcs.el (vc-rcs-print-log):
16794 * vc-cvs.el (vc-cvs-print-log):
16795 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
16798 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16800 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
16801 error when `tramp-gvfs-dbus-event-vector' is set.
16802 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
16804 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16806 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
16808 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16810 * net/dbus.el (dbus-unregister-service): New defun.
16811 (dbus-register-property): Register the handlers of
16812 "org.freedesktop.DBus.Properties" for SERVICE.
16813 (dbus-property-handler): Fix docstring.
16815 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16817 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16818 Quote doc string reference in defvaralias as it is not in special form.
16819 (byte-compile-output-docform): Doc fix.
16821 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16823 * calc/calc.el (math-2-word-size, math-half-2-word-size)
16824 (calc-complement-signed-mode): New variables.
16825 (calc-set-mode-line): Add indicator for twos-complements.
16826 (math-format-number): Format twos-complement notation.
16828 * calc/calc-bin.el (calc-word-size): Reset the variables
16829 `math-2-word-size' and `math-half-2-word-size'.
16830 (math-format-complement-signed, math-symclip, calcFunc-symclip)
16831 (calc-symclip): New functions.
16833 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16835 * calc/calc-embed.el (calc-embedded-mode-vars):
16836 Add `calc-complement-signed-mode' to the list of modes.
16838 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16839 (calc-b-oper-keys): Add `calc-symclip' to list.
16841 * calc/calc-ext.el (math-read-number-fancy): Read complement
16843 (calc-init-extensions): Add binding for `calc-symclip'.
16844 Add autoload for `calcFunc-symclip' and `calc-symclip'.
16846 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16848 (calc-modes-menu): Add item for twos complement mode.
16850 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16852 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16854 * register.el (jump-to-register, insert-register): Handle Semantic
16855 tags. From commented-out advice in semantic/senator.el.
16857 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
16859 * vc.el (vc-log-show-limit): New variable.
16860 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
16861 when using a prefix argument.
16862 (vc-print-log-internal): Add new argument LIMIT.
16864 * vc-svn.el (vc-svn-print-log):
16865 * vc-mtn.el (vc-mtn-print-log):
16866 * vc-hg.el (vc-hg-print-log):
16867 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16868 pass it to the log command when set. Make the BUFFER argument
16871 * vc-sccs.el (vc-sccs-print-log):
16872 * vc-rcs.el (vc-rcs-print-log):
16873 * vc-git.el (vc-git-print-log):
16874 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16875 ignore it. Make the BUFFER argument non-optional.
16877 * bindings.el (mode-line-buffer-identification): Do not purecopy.
16879 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16881 * dired.el (dired-mode-map): Move encryption items to "Operate"
16884 * strokes.el (strokes-update-window-configuration): Make strokes
16885 buffer current before erasing (Bug#4906).
16887 2009-11-15 Juri Linkov <juri@jurta.org>
16889 * simple.el (set-mark-default-inactive): Add :type, :group
16890 and :version. (Bug#4876)
16892 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
16894 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16895 (archive-unique-fname): ... here. (Bug#4929)
16897 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
16899 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16902 * novice.el (disabled-command-function): Add useful args.
16903 Setup the help buffer so that [back] works.
16904 Remove redundant call to help-mode.
16905 (disabled-command-function): Use `case'.
16906 (en/disable-command): New function extracted from enable-command.
16907 (enable-command, disable-command): Use it.
16909 2009-11-14 Glenn Morris <rgm@gnu.org>
16911 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16912 constants. (Bug#4913)
16914 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16916 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
16918 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16919 defined in C that have no doc-strings. (Bug#1063)
16921 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
16923 * cus-edit.el (data, files):
16924 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
16926 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
16928 * simple.el (shell-command): Doc fix (Bug#4891).
16930 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16932 2009-11-14 Glenn Morris <rgm@gnu.org>
16934 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16935 statements for vc-diff, emerge-quit, and rmail-cease-edit.
16936 If they are already loaded, eval-after-load will do the right thing.
16938 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16941 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16943 * simple.el (x-selection-owner-p): Declare.
16944 (read-mail-command): Use custom radio type rather than choice.
16945 (completion-no-auto-exit): Doc fix.
16947 * custom.el (defgroup):
16948 * epg-config.el (epg): Doc fixes.
16950 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
16952 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16953 * international/ccl.el (define-ccl-program): Do not purecopy the
16954 docstring, defconst does it anyway.
16956 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16958 * add-log.el (add-change-log-entry): Avoid displaying the changelog
16961 * x-dnd.el (x-dnd-maybe-call-test-function):
16962 * window.el (split-window-vertically):
16963 * whitespace.el (whitespace-help-on):
16964 * vc-rcs.el (vc-rcs-consult-headers):
16965 * userlock.el (ask-user-about-lock-help)
16966 (ask-user-about-supersession-help):
16967 * type-break.el (type-break-force-mode-line-update):
16968 * time-stamp.el (time-stamp-conv-warn):
16969 * terminal.el (te-set-output-log, te-more-break, te-filter)
16970 (te-sentinel, terminal-emulator):
16971 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16972 (term-write-input-ring, term-check-source, term-start-output-log):
16973 (term-display-buffer-line, term-dynamic-list-completions):
16974 (term-ansi-make-term, serial-term):
16975 * subr.el (selective-display):
16976 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16977 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16978 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16979 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16980 (speedbar-remove-localized-speedbar-support)
16981 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16982 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16983 (speedbar-buffers-line-directory):
16984 * simple.el (shell-command-on-region, append-to-buffer)
16985 (prepend-to-buffer):
16986 * shadowfile.el (shadow-save-todo-file):
16987 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16988 (scroll-bar-maybe-set-window-start):
16989 * sb-image.el (speedbar-image-dump):
16990 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16991 (load-save-place-alist-from-file):
16992 * ps-samp.el (ps-print-message-from-summary):
16993 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16994 (ps-background-image, ps-begin-job, ps-do-despool):
16995 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16996 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16997 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16998 (pr-call-process, pr-file-list, pr-interface-save):
16999 * novice.el (disabled-command-function)
17000 (enable-command, disable-command):
17001 * mouse.el (mouse-buffer-menu-alist):
17002 * mouse-copy.el (mouse-kill-preserving-secondary):
17003 * macros.el (kbd-macro-query):
17004 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
17005 * informat.el (batch-info-validate):
17006 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
17007 * hippie-exp.el (try-expand-dabbrev-visible):
17008 * help-mode.el (help-make-xrefs):
17009 * help-fns.el (describe-variable):
17010 * generic-x.el (bat-generic-mode-run-as-comint):
17011 * finder.el (finder-mouse-select):
17012 * find-dired.el (find-dired-sentinel):
17013 * filesets.el (filesets-file-close):
17014 * files.el (list-directory):
17015 * faces.el (list-faces-display, describe-face):
17016 * facemenu.el (list-colors-display):
17017 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
17018 * epg.el (epg--process-filter, epg-cancel):
17019 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
17020 (epa--read-signature-type):
17021 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
17022 (emerge-file-names):
17023 * ehelp.el (electric-helpify):
17024 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
17025 * ediff-vers.el (rcs-ediff-view-revision):
17026 * ediff-util.el (ediff-setup):
17027 * ediff-mult.el (ediff-append-custom-diff):
17028 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
17030 * echistory.el (Electric-command-history-redo-expression):
17031 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
17032 * disp-table.el (describe-display-table):
17033 * dired.el (dired-find-buffer-nocreate):
17034 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
17035 * dabbrev.el (dabbrev--same-major-mode-p):
17036 * chistory.el (list-command-history):
17037 * apropos.el (apropos-documentation):
17038 * allout.el (allout-obtain-passphrase):
17039 (allout-copy-exposed-to-buffer):
17040 (allout-verify-passphrase): Use with-current-buffer.
17042 2009-11-13 Glenn Morris <rgm@gnu.org>
17044 * Makefile.in (ELCFILES): Regenerate.
17046 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
17048 * net/dbus.el (dbus-registered-objects-table): Rename from
17049 `dbus-registered-functions-table', because it contains also properties.
17050 (dbus-unregister-object): Unregister also properties.
17051 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
17052 Use a timeout of 500 msec, in order to not block.
17053 (dbus-register-property, dbus-property-handler): New defuns.
17055 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
17057 * simple.el (minibuffer-default-add-completions): Drop deprecated
17060 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
17062 * textmodes/artist.el (artist-mouse-choose-operation):
17063 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
17064 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
17065 (artist-compute-up-event-key): New function.
17066 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
17068 2009-11-13 Kenichi Handa <handa@m17n.org>
17070 * language/japan-util.el: Make sure that the value of jisx0208
17071 property is jisx0208 character.
17073 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
17075 * international/mule.el (auto-coding-regexp-alist): Only purecopy
17076 car or each item, not the whole list.
17078 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
17080 * minibuffer.el (minibuffer-completion-help):
17081 Use minibuffer-hide-completions.
17083 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
17085 * dired.el (dired-save-positions, dired-restore-positions): New funs.
17086 (dired-revert): Use them (bug#4880).
17088 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
17090 * tooltip.el (tooltip-frame-parameters): Undo previous change.
17092 2009-11-12 Juri Linkov <juri@jurta.org>
17094 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
17096 (find-file-literally-at-point): Alias of `ffap-literally'.
17098 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
17100 * textmodes/ispell.el (ispell-skip-region-alist):
17101 * textmodes/css-mode.el (auto-mode-alist):
17102 * progmodes/compile.el (auto-mode-alist):
17103 * international/mule.el (ctext-non-standard-encodings-alist)
17104 (ctext-non-standard-encodings-regexp):
17105 * simple.el (shell-command-switch, text-read-only):
17106 * replace.el (occur-mode-map):
17107 * paths.el (rmail-file-name):
17108 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
17109 * find-file.el (ff-special-constructs):
17110 * files.el (file-name-handler-alist):
17111 * composite.el: Purecopy strings.
17113 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
17115 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
17117 * widget.el (define-widget): Purecopy the docstring.
17118 * international/mule-cmds.el (charset): Do not purecopy the
17119 docstring here, define-widget does it.
17121 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
17122 * textmodes/bibtex-style.el (auto-mode-alist):
17123 * progmodes/inf-lisp.el (inferior-lisp-prompt):
17124 * progmodes/compile.el (compile-command):
17125 * language/korea-util.el (default-korean-keyboard):
17126 * international/mule-conf.el (file-coding-system-alist):
17127 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
17128 * tooltip.el (tooltip-frame-parameters):
17129 * newcomment.el (comment-end, comment-padding):
17130 * dired.el (dired-trivial-filenames):
17131 * comint.el (comint-file-name-prefix): Purecopy initial values.
17133 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
17135 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
17136 (tramp-advice-minibuffer-electric-tilde): Unload advices via
17138 (tramp-advice-make-auto-save-file-name)
17139 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
17140 after removing the advice.
17142 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
17144 * progmodes/grep.el (grep-regexp-alist):
17145 * international/mule-cmds.el (iso-2022-control-alist):
17146 * emacs-lisp/timer.el (timer-duration-words):
17147 * subr.el (version-separator, version-regexp-alist):
17148 * minibuffer.el (completion-styles-alist):
17149 * faces.el (face-attribute-name-alist, list-faces-sample-text):
17150 Change defvars to defconsts.
17152 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
17153 * loadup.el ("international/mule-conf"): Load the byte compiled version.
17154 * international/mule-conf.el: Allow to be byte compiled.
17156 * international/mule.el (define-charset): Purecopy props.
17157 (load-with-code-conversion): Purecopy doc string and file name.
17158 (put-charset-property): Purecopy strings.
17159 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
17161 * international/mule-cmds.el (register-input-method): Purecopy arguments.
17162 (define-char-code-property): Correctly purecopy the table.
17164 * international/ccl.el (define-ccl-program): Purecopy the docstring.
17166 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
17168 * subr.el (add-hook): Purecopy strings.
17169 (eval-after-load): Purecopy load-history-regexp and the form.
17171 * custom.el (custom-declare-group): Purecopy load-file-name.
17173 * subr.el (menu-bar-separator): New defconst.
17174 * net/eudc.el (eudc-tools-menu):
17175 * international/mule-cmds.el (set-coding-system-map)
17176 (mule-menu-keymap):
17177 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17178 * vc-hooks.el (vc-menu-map):
17179 * replace.el (occur-mode-map):
17180 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
17181 (menu-bar-edit-menu, menu-bar-goto-menu)
17182 (menu-bar-custom-menu, menu-bar-showhide-menu)
17183 (menu-bar-options-menu, menu-bar-tools-menu)
17184 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
17185 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
17186 (menu-bar-help-menu):
17187 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
17188 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
17190 * term/x-win.el (x-gtk-stock-map):
17191 * progmodes/vera-mode.el (auto-mode-alist):
17192 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
17193 (inferior-lisp-program, inferior-lisp-load-command):
17194 * progmodes/hideshow.el (hs-special-modes-alist):
17195 * progmodes/gud.el (same-window-regexps):
17196 * progmodes/grep.el (grep-program, find-program, xargs-program):
17197 * net/telnet.el (same-window-regexps):
17198 * net/rlogin.el (same-window-regexps):
17199 * language/ethiopic.el (font-ccl-encoder-alist):
17200 * vc-sccs.el (vc-sccs-master-templates):
17201 * vc-rcs.el (vc-rcs-master-templates):
17202 * subr.el (cl-assertion-failed):
17203 * simple.el (next-error-overlay-arrow-position):
17204 * lpr.el (lpr-command):
17205 * locate.el (locate-ls-subdir-switches):
17206 * info.el (same-window-regexps, info)
17207 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
17208 * image-mode.el (image-mode, auto-mode-alist):
17209 * hippie-exp.el (hippie-expand-ignore-buffers):
17210 * format.el (format-alist):
17211 * find-dired.el (find-ls-subdir-switches, find-grep-options)
17213 * facemenu.el (facemenu-keybindings):
17214 * dired.el (dired-listing-switches, dired-chown-program):
17215 * diff.el (diff-switches, diff-command):
17216 * cus-edit.el (same-window-regexps):
17217 * bindings.el (mode-line-mule-info)
17218 (mode-line-buffer-identification): Purecopy strings.
17220 2009-11-11 Juri Linkov <juri@jurta.org>
17222 * simple.el (dired-get-filename) <declare-function>:
17223 Tell the byte-compiler about dired-get-filename.
17224 (shell-command): In Dired mode, get filename from the current line
17225 as the default value.
17227 2009-11-10 Glenn Morris <rgm@gnu.org>
17229 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
17230 * calendar/holidays.el, progmodes/cperl-mode.el:
17231 Update x-popup-menu declarations.
17233 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
17234 (list-load-path-shadows): Use dolist.
17235 (list-load-path-shadows): Use with-current-buffer.
17237 2009-11-10 Juri Linkov <juri@jurta.org>
17239 * minibuffer.el (read-file-name): Support a list of default values
17240 in `default-filename'. Use the first file name where only one
17241 element is required. Doc fix.
17243 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
17245 * net/dbus.el (dbus-unregister-object): Release service, if no
17246 other method is registered for it.
17248 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
17250 * bookmark.el (bookmark-completing-read): Sort bookmark names if
17251 bookmark-sort-flag is non-nil (Bug#4653).
17253 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
17255 * emulation/cua-base.el: Add CUA property to some CC mode commands
17258 2009-11-08 Kevin Ryde <user42@zip.com.au>
17260 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
17261 at end of sentence (Bug#4818).
17263 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
17265 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17266 Handle "see declaration of" MSFT statements (Bug#4100).
17268 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
17270 * net/tramp.el (tramp-advice-make-auto-save-file-name)
17271 (tramp-advice-file-expand-wildcards): Unload via
17272 `ad-remove-advice'.
17274 * net/trampver.el: Update release number.
17276 2009-11-08 Kevin Ryde <user42@zip.com.au>
17278 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
17281 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
17283 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
17284 in order to keep context in SELinux.
17286 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
17288 * dired-aux.el (dired-query): Place cursor in echo area and allow
17291 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
17292 menu item if not on a directory (Bug#4701).
17294 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
17296 Sync with Tramp 2.1.17.
17298 * net/tramp.el (tramp-handle-copy-directory): Don't use
17299 `file-remote-p' (due to compatibility).
17301 * net/tramp-compat.el (tramp-compat-copy-directory)
17302 (tramp-compat-delete-directory): New defuns.
17304 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17305 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17306 Use `tramp-compat-delete-directory'.
17308 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
17309 (tramp-smb-handle-delete-directory):
17310 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
17312 * net/trampver.el: Update release number.
17314 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
17316 * tar-mode.el (tar-copy): Call write-region on the right buffer
17319 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
17320 by hand, if necessary (Bug#4878).
17322 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
17324 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
17325 align size column (Bug#4839).
17327 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
17330 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
17332 * progmodes/ld-script.el (auto-mode-alist):
17333 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
17335 * cus-face.el (custom-declare-face): Purecopy face spec.
17337 2009-11-06 Kenichi Handa <handa@m17n.org>
17339 * international/uni-bidi.el: Re-generated.
17340 * international/uni-category.el: Re-generated.
17341 * international/uni-combining.el: Re-generated.
17342 * international/uni-mirrored.el: Re-generated.
17344 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
17346 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
17347 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
17348 (tex-start-options, slitex-run-command, latex-run-command)
17349 (tex-run-command, tex-directory):
17350 * textmodes/ispell.el (ispell-html-skip-alists)
17351 (ispell-tex-skip-alists, ispell-tex-skip-alists):
17352 * textmodes/fill.el (adaptive-fill-first-line-regexp):
17353 (adaptive-fill-regexp):
17354 * textmodes/dns-mode.el (auto-mode-alist):
17355 * progmodes/python.el (interpreter-mode-alist):
17356 * progmodes/etags.el (tags-compression-info-list):
17357 * progmodes/etags.el (tags-file-name):
17358 * net/browse-url.el (browse-url-galeon-program)
17359 (browse-url-firefox-program):
17360 * mail/sendmail.el (mail-signature-file)
17361 (mail-citation-prefix-regexp):
17362 * international/mule-conf.el (eight-bit):
17363 * international/latexenc.el (latex-inputenc-coding-alist):
17364 * international/fontset.el (x-pixel-size-width-font-regexp):
17365 * emacs-lisp/warnings.el (warning-type-format):
17366 * emacs-lisp/trace.el (trace-buffer):
17367 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
17368 (emacs-lisp-mode-map):
17369 * calendar/holidays.el (holiday-solar-holidays)
17370 (holiday-bahai-holidays, holiday-islamic-holidays)
17371 (holiday-christian-holidays, holiday-hebrew-holidays)
17372 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
17373 (hebrew-holidays-1, holiday-oriental-holidays)
17374 (holiday-general-holidays):
17375 * x-dnd.el (x-dnd-known-types):
17376 * tool-bar.el (tool-bar):
17377 * startup.el (site-run-file):
17378 * shell.el (shell-dumb-shell-regexp):
17379 * rfn-eshadow.el (file-name-shadow-tty-properties)
17380 (file-name-shadow-properties):
17381 * paths.el (remote-shell-program, news-directory):
17382 * mouse.el ([C-down-mouse-3]):
17383 * menu-bar.el (menu-bar-tools-menu):
17384 * jka-cmpr-hook.el (jka-compr-load-suffixes)
17385 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
17386 (jka-compr-compression-info-list):
17387 * isearch.el (search-whitespace-regexp):
17388 * image-file.el (image-file-name-extensions):
17389 * find-dired.el (find-ls-option):
17390 * files.el (directory-listing-before-filename-regexp)
17391 (directory-free-space-args, insert-directory-program)
17392 (list-directory-brief-switches, magic-fallback-mode-alist)
17393 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
17394 (automount-dir-prefix):
17395 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
17396 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
17397 (face-font-registry-alternatives, face-font-registry-alternatives)
17398 (face-font-family-alternatives):
17399 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
17400 (facemenu-foreground-menu, facemenu-face-menu):
17401 * epa-hook.el (epa-file-name-regexp):
17402 * dnd.el (dnd-protocol-alist):
17403 * textmodes/rst.el (auto-mode-alist):
17404 * button.el (default-button): Purecopy strings.
17406 2009-11-06 Glenn Morris <rgm@gnu.org>
17408 * Makefile.in (ELCFILES): Update.
17410 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
17412 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
17413 * emacs-lisp/levents.el: Move to obsolete/levents.el.
17415 * nxml/xsd-regexp.el (xsdre-gen-categories):
17416 * nxml/xmltok.el (xmltok-parse-entity):
17417 * nxml/rng-parse.el (rng-parse-validate-file):
17418 * nxml/rng-maint.el (rng-format-manual)
17419 (rng-manual-output-force-new-line):
17420 * nxml/rng-loc.el (rng-save-schema-location-1):
17421 * nxml/rng-cmpct.el (rng-c-parse-file):
17422 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
17423 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
17425 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
17427 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
17428 Remove extra save-excursions and make-variable-buffer-local's.
17429 Suggested by Stefan Monnier.
17431 (verilog-getopt-file, verilog-module-inside-filename-p)
17432 (verilog-set-define): Merge GNU 1.35 and repair changes from
17433 switching to using with-current-buffer.
17435 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
17436 being treated as a number and confusing AUTORESET.
17437 Reported by Dan Dever.
17439 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
17440 Add verilog-auto-ignore-concat to fix backward compatibility with
17441 older verilog-modes. Reported by Dan Katz.
17443 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
17444 containing closing anchors "...$".
17446 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
17447 Reported by Wade Smith.
17449 (verilog-batch-execute-func): Comment on function usage.
17451 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
17453 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
17456 (verilog-label-re, verilog-calc-1): Support proper indent of named
17459 (verilog-backward-token, verilog-basic-complete-re)
17460 (verilog-beg-of-statement, verilog-indent-re): Support proper
17461 indent of the assert statement at the beginning of a block of text.
17463 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
17464 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
17467 2009-11-05 Glenn Morris <rgm@gnu.org>
17469 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
17470 Emacs 19. (Bug#1531)
17471 (byte-compile-fix-header): Update for the above change.
17472 Drop test for epoch::version.
17474 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
17475 * cus-dep.el (custom-make-dependencies):
17476 * finder.el (finder-compile-keywords):
17477 Use autoload-rubric's feature argument.
17479 * calendar/diary-lib.el (top-level): Make load behave more like require.
17481 * vc-git.el (vc-git-stash-map): Move definition before use.
17483 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
17485 * custom.el (custom-declare-group): Purecopy standard-value.
17486 (custom-declare-group): Purecopy custom-prefix.
17488 * international/mule.el (load-with-code-conversion):
17489 Call do-after-load-evaluation unconditionally.
17491 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
17493 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
17495 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
17497 2009-11-04 Glenn Morris <rgm@gnu.org>
17499 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
17500 (byte-compile-compatibility): Remove option.
17501 (byte-compile-close-variables, byte-compile-fix-header)
17502 (byte-compile-insert-header, byte-compile-output-docform)
17503 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
17504 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
17505 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
17506 (byte-compile-insert, byte-compile-defun):
17507 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
17508 (byte-defop-compiler19): Remove.
17509 Without byte-compile-compatibility, the 'emacs19-opcode property is not
17510 used by anything. Replace all calls with byte-defop-compiler.
17512 2009-11-04 Juri Linkov <juri@jurta.org>
17514 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
17515 (menu-bar-options-menu): Don't quote the `prop' arg of
17516 `menu-bar-make-mm-toggle'.
17518 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
17520 * calendar/calendar.el (cal-loaddefs):
17521 * calendar/diary-lib.el (diary-loaddefs):
17522 * calendar/holidays.el (hol-loaddefs):
17523 * eshell/esh-module.el (esh-groups): Load rather than require.
17525 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17527 * calendar/todo-mode.el (todo-add-category): Don't hardcode
17529 (todo-top-priorities): Only display-buffer when called interactively.
17530 (todo-item-start): Don't save excursion point.
17531 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
17532 (todo-insert-item-here, todo-file-item, todo-remove-item):
17533 Adjust uses of todo-item-start and todo-item-end.
17535 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
17536 (autoload-rubric): Don't use any more.
17538 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
17539 and only put a prop if it is non-nil.
17541 2009-11-03 Juri Linkov <juri@jurta.org>
17543 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
17544 (menu-bar-options-menu): Fix list quoting (Bug#4429).
17546 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
17547 and "Menu" to make top-level menu item visually one unit (like
17548 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
17549 multi-word menu items). Fix :help string for quit-window.
17551 2009-11-03 Glenn Morris <rgm@gnu.org>
17553 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
17554 (byte-compile-file-form-define-abbrev-table)
17555 (byte-compile-file-form-custom-declare-variable)
17556 (byte-compile-variable-ref, byte-compile-defvar):
17557 Whether or not a warning is enabled should only affect whether we issue
17558 the warning, not whether or not we collect the relevant data.
17559 Eg warnings can be turned on and off throughout the course of a file.
17561 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
17562 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
17564 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17566 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
17567 * play/mpuz.el (mpuz-create-buffer):
17568 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
17569 (lm-print-y,s,noise, lm-print-w0, lm-init):
17570 * play/gomoku.el (gomoku-prompt-for-move):
17571 * play/fortune.el (fortune-in-buffer):
17572 * play/dissociate.el (dissociated-press):
17573 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
17574 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
17575 * mail/supercite.el (sc-eref-show):
17576 * mail/smtpmail.el (smtpmail-send-it):
17577 * mail/rmailsum.el (rmail-summary-next-labeled-message)
17578 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
17579 (rmail-summary-undelete-many, rmail-summary-rmail-update)
17580 (rmail-summary-goto-msg, rmail-summary-expunge)
17581 (rmail-summary-get-new-mail, rmail-summary-search-backward)
17582 (rmail-summary-add-label, rmail-summary-output-menu)
17583 (rmail-summary-output-body):
17584 * mail/rfc822.el (rfc822-addresses):
17585 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
17586 * mail/mailpost.el (post-mail-send-it):
17587 * mail/hashcash.el (hashcash-generate-payment):
17588 * mail/feedmail.el (feedmail-run-the-queue)
17589 (feedmail-queue-send-edit-prompt-help-first)
17590 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
17591 (feedmail-deduce-address-list):
17592 * eshell/esh-ext.el (eshell-remote-command):
17593 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
17594 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
17595 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
17596 (viper-save-string-in-file, viper-valid-marker):
17597 * emulation/viper-keym.el (viper-toggle-key):
17598 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
17599 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
17600 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
17601 * emulation/viper-cmd.el (viper-exec-form-in-vi)
17602 (viper-exec-form-in-emacs, viper-brac-function):
17603 * emulation/viper.el (viper-delocalize-var):
17604 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
17605 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
17606 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
17607 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
17608 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
17609 * emulation/edt.el (edt-electric-helpify):
17610 * emulation/cua-rect.el (cua--rectangle-aux-replace):
17611 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
17612 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
17613 (cua-indent-to-global-mark-column):
17614 * calendar/diary-lib.el (calendar-mark-1):
17615 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
17616 Use with-current-buffer.
17617 * emulation/viper.el (viper-delocalize-var): Use dolist.
17619 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
17621 * comint.el (comint-replace-by-expanded-history-before-point):
17622 Replace !! with the previous input string literally (Bug#1795).
17624 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
17626 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
17627 to be made up of whitespace.
17629 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
17631 * minibuffer.el (read-file-name): Don't use file dialogs for
17632 remote directories (Bug#99).
17634 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
17636 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
17638 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
17640 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
17641 instead of deleting the window or frame.
17643 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17645 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
17646 Support face colors.
17648 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
17649 New function. Support face colors (Bug#1168).
17650 (tex-common-initialization): Use it.
17652 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
17653 mode allows it (Bug#1168).
17655 2009-10-31 Juri Linkov <juri@jurta.org>
17657 * facemenu.el (list-colors-display): Don't mark buffer as
17658 modified (Bug#3948).
17660 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17662 * international/mule-diag.el (list-character-sets-1):
17663 Minor message fix (Bug#3526).
17665 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
17666 Fix face property (Bug#4834).
17667 (etags-list-tags, etags-tags-apropos-additional)
17668 (etags-tags-apropos, tags-select-tags-table): Add follow-link
17671 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
17674 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
17676 * textmodes/two-column.el (2C-split):
17677 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
17678 * textmodes/tex-mode.el (tex-set-buffer-directory):
17679 * textmodes/spell.el (spell-region, spell-string):
17680 * textmodes/reftex.el (reftex-erase-buffer):
17681 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
17682 * textmodes/reftex-toc.el (reftex-toc-promote-action):
17683 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
17684 (reftex-select-item):
17685 * textmodes/reftex-ref.el (reftex-label-info-update)
17686 (reftex-offer-label-menu):
17687 * textmodes/reftex-index.el (reftex-index-change-entry)
17688 (reftex-index-phrases-info):
17689 * textmodes/reftex-global.el (reftex-create-tags-file)
17690 (reftex-save-all-document-buffers, reftex-ensure-write-access):
17691 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
17692 (reftex-view-crossref-from-bibtex):
17693 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
17694 (reftex-extract-bib-entries-from-thebibliography)
17695 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
17696 * textmodes/refbib.el (r2b-capitalize-title):
17697 (r2b-convert-buffer, r2b-help):
17698 * textmodes/page-ext.el (pages-directory)
17699 (pages-directory-goto-with-mouse):
17700 * textmodes/bibtex.el (bibtex-validate-globally):
17701 * textmodes/bib-mode.el (bib-capitalize-title):
17702 * textmodes/artist.el (artist-clear-buffer, artist-system):
17703 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
17704 (local-set-scheme-interaction-buffer, xscheme-process-filter)
17705 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
17706 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
17707 (xscheme-send-control-g-interrupt, xscheme-start-process)
17708 (xscheme-process-sentinel, xscheme-cd):
17709 * progmodes/verilog-mode.el (verilog-read-always-signals)
17710 (verilog-set-define, verilog-getopt-file)
17711 (verilog-module-inside-filename-p):
17712 * progmodes/sh-script.el:
17713 * progmodes/python.el (python-pdbtrack-get-source-buffer)
17714 (python-pdbtrack-grub-for-buffer, python-execute-file):
17715 * progmodes/octave-inf.el (inferior-octave):
17716 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
17717 (idlwave-shell-compile-helper-routines, idlwave-set-local)
17718 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
17719 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
17720 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
17721 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
17722 (idlwave-shell-filter, idlwave-shell-examine-highlight)
17723 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
17724 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
17725 (idlwave-shell-examine-display, idlwave-shell-run-region)
17726 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
17727 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
17728 * progmodes/idlw-help.el (idlwave-help-get-special-help)
17729 (idlwave-help-get-help-buffer):
17730 * progmodes/gud.el (gud-basic-call, gud-find-class)
17731 (gud-tooltip-activate-mouse-motions-if-enabled):
17732 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
17733 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
17734 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
17735 (ebrowse-tags-next-file):
17736 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
17737 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
17738 (ebnf-eps-finish-and-write):
17739 * progmodes/cpp.el (cpp-edit-save):
17740 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
17741 * progmodes/cc-defs.el (c-emacs-features):
17742 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
17743 (antlr-directory-dependencies):
17744 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
17745 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
17746 (ada-find-any-references, ada-make-filename-from-adaname)
17747 (ada-make-body-gnatstub):
17748 * obsolete/rnews.el (news-list-news-groups):
17749 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
17750 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
17751 * net/rcirc.el (rcirc-debug):
17752 * net/newst-treeview.el (newsticker--treeview-list-add-item)
17753 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
17754 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
17755 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
17756 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
17757 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
17758 (newsticker--treeview-list-clear-highlight)
17759 (newsticker--treeview-list-update-highlight)
17760 (newsticker--treeview-list-highlight-start)
17761 (newsticker--treeview-tree-update-highlight)
17762 (newsticker--treeview-get-selected-item)
17763 (newsticker-treeview-mark-list-items-old)
17764 (newsticker--treeview-set-current-node):
17765 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
17766 * net/newst-backend.el (newsticker--get-news-by-funcall)
17767 (newsticker--get-news-by-wget, newsticker--image-get)
17768 (newsticker--image-sentinel):
17769 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
17770 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
17771 (eudc-ph-close-session):
17772 * net/eudc.el (eudc-save-options):
17773 * language/thai-word.el (thai-update-word-table):
17774 * language/japan-util.el (japanese-string-conversion):
17775 * international/titdic-cnv.el (tsang-quick-converter)
17776 (ziranma-converter, ctlau-converter):
17777 * international/mule-cmds.el (describe-language-environment):
17778 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
17779 (skkdic-convert-postfix, skkdic-convert-prefix):
17780 (skkdic-convert-okuri-nasi, skkdic-convert):
17781 * emacs-lisp/re-builder.el (reb-update-overlays):
17782 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
17783 * emacs-lisp/gulp.el (gulp-send-requests):
17784 * emacs-lisp/find-gc.el (trace-call-tree):
17785 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
17786 (eieio-describe-generic):
17787 * emacs-lisp/eieio-base.el (eieio-persistent-read):
17788 * emacs-lisp/edebug.el (edebug-outside-excursion):
17789 * emacs-lisp/debug.el (debugger-make-xrefs):
17790 * emacs-lisp/cust-print.el (custom-prin1-to-string):
17791 * emacs-lisp/chart.el (chart-new-buffer):
17792 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
17793 Use with-current-buffer.
17794 * textmodes/artist.el (artist-system): Don't call
17795 copy-sequence on a fresh string.
17796 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
17798 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
17800 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
17801 is no item to edit. (Bug#4820)
17802 (todo-top-priorities): Restore point and restore narrowing in Todo
17805 2009-10-31 Glenn Morris <rgm@gnu.org>
17807 * net/ange-ftp.el (top-level): Don't require dired when compiling.
17808 (comint-last-output-start, comint-last-input-start)
17809 (comint-last-input-end): Don't defvar when compiling.
17810 (ange-ftp-process-file): Use bound-and-true-p.
17812 * pcmpl-rpm.el (top-level): Move provide statement to end.
17813 (pcmpl-rpm): Remove unused custom group.
17815 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17817 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17819 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17820 (byte-compile-warnings): Add `constants' as an option.
17821 (byte-compile-callargs-warn, byte-compile-arglist-warn)
17822 (display-call-tree): Update for byte-compile-fdefinition possibly
17823 returning `(macro lambda ...)'. (Bug#4778)
17824 (byte-compile-variable-ref, byte-compile-setq-default):
17825 Respect `constants' member of byte-compile-warnings.
17827 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17829 * vc-bzr.el (vc-bzr-revision-keywords): New var.
17830 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17833 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
17835 * textmodes/ispell.el (ispell-skip-region-alist):
17836 * international/mule-conf.el (eight-bit):
17837 * international/fontset.el (font-encoding-alist):
17838 * startup.el (pure-space-overflow-message):
17839 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17840 * paths.el (gnus-nntp-service, rmail-spool-directory)
17841 (term-file-prefix):
17842 * files.el (save-some-buffers-action-alist):
17843 * cmuscheme.el (same-window-buffer-names):
17844 * ielm.el (same-window-buffer-names):
17845 * shell.el (same-window-buffer-names):
17846 * mail/sendmail.el (same-window-buffer-names):
17847 * progmodes/inf-lisp.el (same-window-buffer-names):
17848 * bindings.el (mode-line-client)
17849 (mode-line-column-line-number-mode-map):
17850 * language/tibetan.el (tibetan-precomposition-rule-regexp)
17851 (tibetan-precomposed-regexp): Purecopy string arguments.
17853 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17855 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17856 (calcDigit-nondigit):
17857 * calc/calc-yank.el (calc-copy-to-buffer):
17858 * calc/calc-units.el (calc-invalidate-units-table):
17859 * calc/calc-trail.el (calc-trail-yank):
17860 * calc/calc-store.el (calc-insert-variables):
17861 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17862 * calc/calc-prog.el (calc-read-parse-table):
17863 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17864 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17865 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17866 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17867 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17868 (calc-graph-name, calc-graph-find-command, calc-graph-view)
17869 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17870 * calc/calc-ext.el (calc-realign):
17871 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17872 (calc-embedded-finish-edit, calc-embedded-make-info)
17873 (calc-embedded-finish-command, calc-embedded-stack-change):
17874 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17876 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17877 shell-dynamic-complete-filename in preference to
17878 comint-dynamic-complete-filename.
17880 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17881 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17882 Don't consider whether the display supports colors.
17883 (bookmark-import-new-list): Use dolist.
17884 (bookmark-bmenu-mode-map): Move initialization into declaration.
17885 (bookmark-bmenu-list): Use dolist, simplify.
17886 (bookmark-show-all-annotations): Use save-selected-window and dolist.
17887 (menu-bar-final-items): Use push.
17889 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
17891 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17892 it works on remote files.
17893 (vc-hg-diff): Don't pass any `--cwd' argument.
17895 2009-10-27 Kevin Ryde <user42@zip.com.au>
17897 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17898 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17899 (Further to Bug#3921).
17901 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
17903 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17904 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17905 calling `tramp-imap-put-file'. Add file size to the call.
17906 (tramp-imap-get-file-entries): Compute also user name, file size,
17908 (tramp-imap-handle-insert-directory): Insert uid and gid.
17909 (tramp-imap-handle-file-attributes): Transform uid and gid
17910 according to `id-format'.
17911 (tramp-imap-put-file): New optional parameter SIZE. Encode file
17912 size in header X-Size.
17914 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
17916 * simple.el (transpose-subr): Give clearer error when the mark
17917 is not set. (Bug#4807)
17919 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
17921 * net/tramp.el (tramp-perl-file-truename): New defconst.
17922 Perl code contributed by yary <not.com@gmail.com> (tiny change).
17923 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17924 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17925 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17927 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17928 Ignore `dired-call-process'.
17929 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17931 2009-10-26 Julian Scheid <julians37@gmail.com>
17933 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17934 (tramp-get-remote-readlink): New defun.
17935 (tramp-handle-file-truename): Use it.
17936 (tramp-handle-file-exists-p): Check file-attributes cache, assume
17937 file exists if cache value present.
17938 (tramp-check-cached-permissions): New defun.
17939 (tramp-handle-file-readable-p): Use it.
17940 (tramp-handle-file-writable-p): Likewise.
17941 (tramp-handle-file-executable-p): Likewise.
17942 (tramp-handle-file-name-all-completions): Try using Perl to get
17943 partial completions. When perl not available, combine `cd' and
17944 `ls' into single remote operation and use shell expansion to get
17945 partial remote directory contents. Set `file-exists-p' cache for
17946 directory and any files returned by ls. Change cache handling to
17947 support partial directory contents. Use error message emitted by
17948 remote `cd' or Perl code for local tramp-error.
17949 (tramp-do-copy-or-rename-file-directly): Avoid separate
17950 tramp-send-command-and-check call.
17951 (tramp-handle-process-file): Merge three remote ops into one.
17952 Do not flush all caches when `process-file-side-effects' is set.
17953 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17954 file-attributes shows uid/gid to be set already.
17956 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
17958 * textmodes/tex-mode.el (tex-dvi-view-command)
17959 (tex-show-queue-command, tex-open-quote):
17960 * progmodes/ruby-mode.el (auto-mode-alist)
17961 (interpreter-mode-alist): Purecopy strings.
17963 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17965 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17966 string for the hook, keymap and abbrev table.
17968 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17970 * x-dnd.el (x-dnd-xdnd-to-action):
17971 * startup.el (fancy-startup-text, fancy-about-text): Change to
17972 defconst from defvar.
17974 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17976 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17977 Purecopy initialization strings.
17979 * mail/sendmail.el (mail-header-separator)
17980 (mail-personal-alias-file):
17981 * mail/rmail.el (rmail-default-dont-reply-to-names)
17982 (rmail-ignored-headers, rmail-retry-ignored-headers)
17983 (rmail-highlighted-headers, rmail-secondary-file-directory)
17984 (rmail-secondary-file-regexp):
17985 * files.el (null-device, file-name-invalid-regexp)
17986 (locate-dominating-stop-dir-regexp)
17987 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17988 (interpreter-mode-alist): Use mapcar instead of mapc.
17990 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17992 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17993 (completion-ignored-extensions):
17994 (debug-ignored-errors): Purecopy strings.
17996 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17998 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17999 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
18000 (pcomplete--here): Use push.
18002 * subr.el (all-completions): Declare the 4th arg obsolete.
18004 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
18006 * pcomplete.el (pcomplete-unquote-argument-function): New var.
18007 (pcomplete-unquote-argument): New function.
18008 (pcomplete--common-suffix): Always pay attention to case.
18009 (pcomplete--table-subvert): Quote and unquote the text.
18010 (pcomplete--common-quoted-suffix): New function.
18011 (pcomplete-std-complete): Use it and pcomplete-begin.
18013 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
18014 we're inside a dedicated or minibuffer window.
18016 2009-10-24 Karl Fogel <kfogel@red-bean.com>
18018 * bookmark.el: Update documentation, especially documentation
18019 of `bookmark-alist' and of the bookmark file format.
18020 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
18022 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
18024 * mail/emacsbug.el (report-emacs-bug): Clarify that the
18025 keybindings apply to the mail buffer (Bug#4003). Shrink help
18028 * whitespace.el (whitespace-mode, whitespace-newline-mode)
18029 (global-whitespace-mode, global-whitespace-newline-mode)
18030 (whitespace-toggle-options, global-whitespace-toggle-options):
18031 Doc fix (Bug#3660).
18033 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
18034 of xmltok-start before the end tag was inserted (Bug#2840).
18036 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
18037 patterns that are preceded by an open-paren (Bug#1320).
18039 2009-10-24 Sven Joachim <svenjoac@gmx.de>
18041 * files.el (delete-directory): Delete symlinks to directories with
18042 delete-file (Bug#4739).
18044 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
18046 * vc.el (vc-backend-for-registration): Rename from
18047 vc-get-backend-for-registration. Update callers.
18049 * international/mule-cmds.el (set-language-info-alist):
18051 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
18052 (charset): Purecopy the name.
18053 (define-char-code-property): Purecopy string arguments.
18055 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18056 Purecopy string arguments.
18058 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
18059 * ediff-hook.el (menu-bar-ediff-menu):
18060 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
18061 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
18063 2009-10-24 Glenn Morris <rgm@gnu.org>
18065 * comint.el (comint-dynamic-list-completions):
18066 * term.el (term-dynamic-list-completions): Use choose-completion rather
18067 than obsolete alias mouse-choose-completion.
18069 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
18070 file-cache-choose-completion.
18071 (file-cache-choose-completion): Handle an optional event argument.
18072 (file-cache-mouse-choose-completion): Make it an obsolete alias.
18074 * progmodes/octave-mod.el (octave-complete-symbol):
18075 Use choose-completion if mouse-choose-completion is ever removed.
18077 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
18080 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
18083 * vc-hooks.el (vc-responsible-backend): Fix declaration.
18085 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
18087 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
18088 Ignore `pred' now that we receive one.
18089 Handle test-completion specially.
18091 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
18093 * vc.el (vc-responsible-backend): Throw an error if not backend is
18094 found. Remove the REGISTER argument. Move the code dealing with
18096 (vc-get-backend-for-registration): ... here. New function.
18097 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
18098 of vc-responsible-backend, pass the file name instead of the
18101 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
18103 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
18105 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
18106 (pcomplete-comint-setup): Don't modify a global var via
18107 accidental side-effects.
18108 (pcomplete-shell-setup): Adjust call accordingly.
18109 (pcomplete-parse-comint-arguments): Use push.
18111 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
18113 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
18114 Allow uncapitalized info node names (Bug#3921).
18116 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
18117 to the DEBUG file (Bug#3781).
18119 2009-10-23 Jari Aalto <jari.aalto@cante.net>
18121 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
18122 dictionary entry (Bug#4579).
18124 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
18126 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
18127 from `rfn-eshadow-update-overlay-hook' when unloading.
18128 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
18129 "rsyncc". Adjust doc string.
18130 (tramp-temp-buffer-file-name): New buffer-local defvar.
18131 (tramp-handle-insert-file-contents, tramp-handle-write-region):
18132 Keep temporary file when indicated by method ("rsync" and
18134 (tramp-handle-write-region): Handle APPEND.
18135 (tramp-delete-temp-file-function): New defun. Added to
18136 `kill-buffer-hook'.
18138 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
18140 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
18142 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
18144 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
18145 (color-name-rgb-alist, tty-standard-colors)
18146 (tty-color-mode-alist): Change to defconst.
18148 * simple.el (mark-inactive): Purecopy message.
18150 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
18151 (global-map, yank-menu):
18152 * textmodes/ispell.el (ispell-menu-map):
18153 * net/eudc.el (eudc-tools-menu):
18154 * international/mule-cmds.el (describe-language-environment-map)
18155 (setup-language-environment-map, set-coding-system-map)
18156 (mule-menu-keymap):
18157 * vc-hooks.el (vc-menu-entry, vc-menu-map):
18158 * replace.el (occur-mode-map):
18159 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
18161 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
18163 * calc/calc.el (math-read-number, math-read-number-simple):
18164 Use `save-match-data'.
18166 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
18168 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
18169 rather than fiddling with global-map bindings, since it should only
18170 affect per-terminal settings.
18171 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
18173 * minibuffer.el (completion-table-with-terminator): Allow to specify
18174 the terminator-regexp.
18176 * simple.el (switch-to-completions): Look for *Completions* in other
18179 * pcomplete.el: Allow the use of completion-tables.
18180 (pcomplete-std-complete): New command.
18181 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
18182 (pcomplete--here): Use a function for `form' rather than an expression,
18183 so it can be byte-compiled.
18184 (pcomplete-here, pcomplete-here*): Adjust accordingly.
18185 Add edebug declaration.
18186 (pcomplete-show-completions): Remove unused var `curbuf'.
18187 (pcomplete-do-complete, pcomplete-stub):
18188 Don't assume `completions' is a list of strings any more.
18190 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
18192 * find-dired.el (find-name-arg): Fix typo in docstring.
18194 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
18196 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
18197 (pcmpl-linux-fs-types): Same, and update to new modules layout.
18199 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
18202 * comint.el (comint-read-input-ring, comint-write-input-ring)
18203 (comint-substitute-in-file-name)
18204 (comint-dynamic-complete-as-filename)
18205 (comint-dynamic-simple-complete)
18206 (comint-dynamic-list-filename-completions)
18207 (comint-dynamic-list-completions)
18208 (comint-redirect-results-list-from-process): Minor simplifications.
18210 2009-10-21 Kevin Ryde <user42@zip.com.au>
18212 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
18213 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
18214 the first form. And insert a blank line after ";;; Code" since
18215 that's usual style. (Bug#4612)
18217 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
18219 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
18221 * minibuffer.el (completion-table-with-terminator): Properly implement
18222 boundaries, in case `terminator' appears in the suffix.
18223 (completion--embedded-envvar-table): Don't return boundaries if
18224 there's no valid completion. Simplify.
18225 (completion-file-name-table): New completion table extracted from
18226 completion--file-name-table.
18227 (completion--file-name-table): Use it.
18228 (read-file-name-predicate): Declare obsolete.
18229 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
18230 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
18231 completion-file-name-table, and use the `pred' argument.
18232 * files.el (locate-file-completion-table): Use the `pred' arg rather
18233 than read-file-name-predicate.
18234 (abbreviate-file-name): Use \` rather than ^ for BOS.
18236 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
18238 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
18239 vc-responsible-backend to register, it causes problems.
18241 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
18243 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
18245 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
18247 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
18248 (tramp-smb-handle-file-attributes): Use it.
18249 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
18250 (tramp-smb-handle-insert-directory): Use `mapc' rather than
18251 `mapcar'. Use `tramp-smb-get-stat-capability'.
18252 Add `dired-filename' text properties.
18253 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
18254 (tramp-smb-maybe-open-connection): Simplify check for smbclient
18257 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
18259 * subr.el (read-key-delay): Reduce to 0.01.
18260 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
18263 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
18265 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
18267 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
18268 (Info-menu): Remove unused vars `last' and `completions'.
18269 (Info-index-nodes): Remove unused var `node'.
18271 * info.el (Info-complete-menu-item): Use complete-with-action.
18273 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
18275 Make vc-annotate work through copies and renames.
18276 * vc-annotate.el (vc-annotate-extract-revision-at-line):
18277 Return the file name too.
18278 (vc-annotate-revision-at-line)
18279 (vc-annotate-find-revision-at-line)
18280 (vc-annotate-revision-previous-to-line)
18281 (vc-annotate-show-log-revision-at-line): Update to get the file
18282 name from vc-annotate-extract-revision-at-line.
18283 (vc-annotate-show-diff-revision-at-line-internal): Change the
18284 argument to mean whether to show a file diff or not. Get the file
18285 name from vc-annotate-extract-revision-at-line.
18286 (vc-annotate-show-diff-revision-at-line):
18287 Update vc-annotate-show-diff-revision-at-line call.
18288 (vc-annotate-warp-revision): Add an optional file argument.
18290 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
18291 (vc-git-annotate-extract-revision-at-line): Also return the file
18294 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
18295 command. Remove unused code.
18296 (vc-hg-annotate-re): Update to match --follow output.
18297 (vc-hg-annotate-extract-revision-at-line): Also return the file
18300 * vc.el: Update annotate-extract-revision-at-line documentation.
18302 2009-10-18 Kevin Ryde <user42@zip.com.au>
18304 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
18305 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
18307 * net/browse-url.el (browse-url): Identify alist with "consp and
18308 not functionp" and let all other things go down the `apply' leg,
18309 as suggested by Stefan. (Further to bug#4531.)
18311 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
18313 * minibuffer.el (read-file-name): Check for repeat before putting
18314 a default argument in file-name-history (Bug#4657).
18316 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
18317 read syntax (Bug#4737).
18319 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
18321 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18323 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
18324 (html-tag-alist, html-tag-help): Add descriptions for undocumented
18325 entries and make note of obsolete tags.
18327 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
18329 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
18331 2009-10-18 Glenn Morris <rgm@gnu.org>
18333 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
18334 grep, so that binary files (eg international/uni-bidi.el) can match.
18335 Remove test for "UnicodeData" files, since it is hopefully unnecessary
18336 now, and in any case the file header format has changed.
18338 2009-10-17 Glenn Morris <rgm@gnu.org>
18340 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
18341 (flyspell-get-word, flyspell-large-region)
18342 (flyspell-auto-correct-previous-word): Doc/error message fixes.
18344 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
18346 * Makefile.in (ELCFILES): Add ede/shell.
18348 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
18350 * term/common-win.el (x-colors): Purecopy it.
18352 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18354 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
18355 permissive for when the buffer is empty.
18356 (tar-header-block-tokenize): Decode the username and groupname.
18357 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
18359 2009-10-17 Eric Ludlam <zappo@gnu.org>
18361 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
18362 contains multibyte characters, choose first applicable coding
18363 system automatically.
18365 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18367 * international/mule-cmds.el (select-safe-coding-system): If the file
18368 has a coding cookie, use it regardless of any other setting (bug#4712).
18370 2009-10-17 Glenn Morris <rgm@gnu.org>
18372 * foldout.el (foldout-mouse-swallow-events):
18373 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
18375 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
18376 (dired-keep-marker-copy, dired-keep-marker-hardlink)
18377 (dired-keep-marker-symlink, dired-dwim-target)
18378 (dired-copy-preserve-time): Do not autoload these defcustoms.
18380 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
18381 messages from messing up the file coding. (Bug#4623)
18383 2009-10-17 Jari Aalto <jari.aalto@cante.net>
18385 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
18386 if no match is found for the current dictionary. (Bug#4578)
18388 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
18389 optional, since that is how it is documented, and this is often called
18390 with a nil argument. (Bug#4577)
18391 (flyspell-external-point-words, flyspell-auto-correct-word)
18392 (flyspell-correct-word-before-point, flyspell-word-search-forward)
18393 (flyspell-word-search-backward): Remove nil argument in calls to
18394 flyspell-get-word, since it is not needed now.
18396 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
18398 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
18400 2009-10-16 Glenn Morris <rgm@gnu.org>
18402 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
18404 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
18406 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
18407 (ange-ftp-file-size): New function.
18408 (ange-ftp-file-attributes): Use it.
18410 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
18412 * net/tramp-smb.el (tramp-smb-version): New defvar.
18413 (tramp-smb-maybe-open-connection): Use it, in order to avoid
18416 2009-10-16 Glenn Morris <rgm@gnu.org>
18418 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
18419 Maybe copy some custom properties from old to new name. (Bug#4706)
18421 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
18423 * subr.el (error, sit-for, start-process-shell-command)
18424 (start-file-process-shell-command): Set the calling convention
18425 after the function definition.
18427 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
18429 * subr.el (error, sit-for, start-process-shell-command)
18430 (start-file-process-shell-command): Use the new
18431 set-advertised-calling-convention feature.
18433 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
18435 * international/ucs-normalize.el (ucs-normalize-version):
18437 (check-range): Adjust for Unicode 5.2.
18439 2009-10-15 Juri Linkov <juri@jurta.org>
18441 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
18442 to the `menu-item' format.
18444 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
18446 * net/tramp.el (tramp-replace-environment-variables): Do not fail
18447 if the environment variable does not exist.
18449 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18450 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
18452 (tramp-smb-handle-add-name-to-file)
18453 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18454 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18455 (tramp-smb-handle-file-attributes)
18456 (tramp-smb-do-file-attributes-with-stat)
18457 (tramp-smb-handle-file-local-copy)
18458 (tramp-smb-handle-insert-directory)
18459 (tramp-smb-handle-make-directory)
18460 (tramp-smb-handle-make-directory-internal)
18461 (tramp-smb-handle-make-symbolic-link)
18462 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
18463 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
18464 (tramp-smb-maybe-open-connection): Apply the changed parameters.
18465 (tramp-smb-read-file-entry): Read Disk names in compressed format.
18466 Handle long file names.
18467 (tramp-smb-get-cifs-capabilities): Check, whether the connection
18468 process is running.
18469 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
18470 Read share names with "-g" option.
18472 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
18474 * net/rcirc.el (rcirc-view-log-file): New command.
18475 (rcirc-track-minor-mode-map): Remove C-c ` binding.
18476 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
18479 2009-10-15 Glenn Morris <rgm@gnu.org>
18481 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
18482 from the second command-line argument.
18483 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
18484 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
18485 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
18486 w32-batch-update-autoloads.
18487 * emacs-lisp/autoload.el (autoload-make-program): New variable.
18488 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
18490 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
18491 the headers cannot be located. Simplify, subtracting superflous
18494 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
18496 Replace completion-base-size by completion-base-position to fix bugs
18497 such as (bug#4699).
18498 * simple.el (completion-base-position): New var.
18499 (completion-base-size): Mark as obsolete.
18500 (choose-completion): Make it work for mouse events as well.
18501 Pass the new base-position to choose-completion-string.
18502 (choose-completion-guess-base-position): New function, extracted from
18503 choose-completion-delete-max-match.
18504 (choose-completion-delete-max-match): Use it. Make obsolete.
18505 (choose-completion-string): Use the new base-position info.
18506 (completion-root-regexp): Delete.
18507 (completion-setup-function): Preserve completion-base-position.
18508 Eliminate obsolete base-size manipulation.
18509 * minibuffer.el (display-completion-list): Don't mess with base-size.
18510 (minibuffer-completion-help): Set completion-base-position instead.
18511 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
18513 * textmodes/bibtex.el (bibtex-complete):
18514 * emacs-lisp/crm.el (crm--choose-completion-string):
18515 Adjust to new calling convention.
18516 * complete.el (partial-completion-mode): Use minibufferp to avoid
18517 bumping into incompatible change to choose-completion-string-functions.
18518 * ido.el (ido-choose-completion-string): Make its calling convention
18520 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
18521 base-size manipulation.
18522 (comint-dynamic-list-input-ring): Use dotimes and push.
18523 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
18524 fundamental-mode. Use `or'.
18526 2009-10-14 Juri Linkov <juri@jurta.org>
18528 * misearch.el (multi-isearch-next-buffer-from-list)
18529 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
18531 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18533 * Makefile.in (compile-onefile): Load `bytecomp' rather than
18536 * minibuffer.el (completion-pcm--merge-completions): Make sure the
18537 string we return is all made up of text from the completions rather
18538 than part from the completions and part from the input (bug#4219).
18540 * ido.el (ido-everywhere): Use define-minor-mode.
18542 * buff-menu.el (list-buffers, ctl-x-map):
18543 Mark the entry points with ;;;###autoload cookies.
18545 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
18547 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
18548 correctly in the detached head case.
18549 (vc-git-print-log): Remove unused binding.
18551 * vc.el (vc-responsible-backend): When a directory is passed for
18552 for registration create a VC repository if no backend is
18553 responsible for the directory argument.
18554 (vc-deduce-fileset): Tell vc-responsible-backend to register.
18556 * vc.el: Move comments about RCS and SCCS ...
18558 * vc-sccs.el: ... here, respectively.
18560 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18562 * minibuffer.el (completion--file-name-table): Return nil if there's
18563 no file completion, even if substitute-in-file-name changed
18564 the string (bug#4708).
18566 2009-10-13 Juri Linkov <juri@jurta.org>
18568 * files-x.el (read-file-local-variable-value): Don't filter out
18569 minor modes from mode name completion (bug#4664).
18571 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18573 * international/mule-cmds.el (ucs-names): Remove exclusion of
18574 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
18576 2009-10-13 Kenichi Handa <handa@m17n.org>
18578 * international/uni-name.el: Regenerated.
18580 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18582 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
18583 should be automatically buffer-local, but isn't.)
18585 2009-10-12 Sam Steingold <sds@gnu.org>
18587 * progmodes/compile.el (compilation-next-error-function): Fix the
18588 timestamps if the buffer has been visited before.
18589 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
18590 non-anchored patterns, like the perl one (bug#3928).
18592 2009-10-12 Glenn Morris <rgm@gnu.org>
18594 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
18597 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
18599 * proced.el (proced-unload-function): New function.
18601 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
18602 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
18605 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
18607 2009-10-11 Juri Linkov <juri@jurta.org>
18609 * files-x.el (read-file-local-variable-value):
18610 Provide default value only for bound variables (bug#4664).
18612 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
18614 * net/tramp.el (tramp-local-host-p): Function shall return nil for
18615 connection methods like smb.
18617 * net/tramp-cache.el (tramp-flush-connection-property): The hash
18620 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18621 (tramp-smb-file-name-handler-alist): Add handlers for
18622 `add-name-to-file', `make-symbolic-link'.
18623 (tramp-smb-handle-add-name-to-file)
18624 (tramp-smb-do-file-attributes-with-stat)
18625 (tramp-smb-handle-make-symbolic-link)
18626 (tramp-smb-get-cifs-capabilities): New defuns.
18627 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18628 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18629 (tramp-smb-handle-file-local-copy)
18630 (tramp-smb-handle-make-directory-internal)
18631 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
18632 The file name syntax depends on cifs capabilities.
18633 (tramp-smb-handle-file-attributes):
18634 Call `tramp-smb-do-file-attributes-with-stat' if possible.
18635 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
18636 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
18638 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
18640 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
18641 (eieio-defclass): Apply deftype handler and setf-method properties
18643 (eieio-add-new-slot): Avoid union function from cl library.
18644 (eieio--typep): New function.
18645 (eieio-perform-slot-validation): Use it.
18647 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18649 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
18650 Update documentation to refer to the variables documented in r1.135.
18653 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18655 * bookmark.el (Info-suffix-list): Remove this unused variable.
18656 (bookmark-current-point): Remove this obsolete variable.
18657 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
18658 Adjust for removal of bookmark-current-point.
18660 (bookmarks-already-loaded, bookmark-current-buffer)
18661 (bookmark-yank-point): Document. (Bug#4188)
18663 2009-10-10 Glenn Morris <rgm@gnu.org>
18665 * frame.el (frame-height): Doc fix.
18667 * calendar/calendar.el (calendar-split-width-threshold): New option.
18668 (calendar-basic-setup): Use calendar-split-width-threshold.
18670 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
18672 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
18673 Ideographic Supplement" range (U+1F200..U+1F2FF).
18675 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18677 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
18678 since the list will have been rebuilt anyway. (Bug#4349)
18680 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18682 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
18683 (bookmark-bmenu-execute-deletions): Don't save here, as
18684 bookmark-delete will now do so if necessary.
18685 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
18688 2009-10-09 Glenn Morris <rgm@gnu.org>
18690 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
18692 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18694 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
18695 (bookmark-jump-other-window): Just invoke bookmark-jump with new
18696 argument now, so the two function's behaviors will match. (Bug#3645)
18698 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
18700 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
18701 (tramp-file-name-real-host, tramp-file-name-port):
18702 Apply `save-match-data'.
18704 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
18705 case both directories are remote.
18706 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
18707 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
18709 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18711 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
18713 2009-10-07 Glenn Morris <rgm@gnu.org>
18715 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
18718 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
18720 * files-x.el (read-file-local-variable): Include some
18721 non-user-variables in the completion table (bug#4664).
18723 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
18725 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
18728 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18729 (tramp-smb-file-name-handler-alist): Add handler for
18730 `copy-directory', `expand-file-name', `set-file-modes'.
18731 (tramp-smb-handle-copy-directory)
18732 (tramp-smb-handle-expand-file-name)
18733 (tramp-smb-handle-set-file-modes): New defuns.
18734 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
18735 (tramp-smb-handle-file-attributes): Simplify check for retrieving
18737 (tramp-smb-handle-insert-directory): Don't flush the cache.
18738 (tramp-smb-maybe-open-connection): Check for samba client and
18741 2009-10-07 Eli Zaretskii <eliz@gnu.org>
18743 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
18744 to not error out of search for "^lisp=" fails.
18746 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18748 * makefile.w32-in (WINS_UPDATES): New macro.
18749 (custom-deps, finder-data, autoloads): Use it.
18751 2009-10-07 Glenn Morris <rgm@gnu.org>
18753 * Makefile.in (autoloads): Revert previous change.
18754 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
18755 the list of preloaded files passed on the command-line, get
18756 it from src/Makefile.
18758 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
18759 show the original buffer rather than a random one.
18761 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
18763 * help.el (describe-no-warranty): Place point in a slightly better
18764 position in the GPLv3 text.
18766 2009-10-06 Sam Steingold <sds@gnu.org>
18768 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
18769 the comm attribute is present before calling regexp-quote.
18771 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
18773 * play/animate.el (animate-string): For good effect, make sure
18774 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
18776 * play/animate.el (animate-sequence, animate-birthday-present):
18777 * misc.el (butterfly): Don't set `indent-tabs-mode'.
18779 2009-10-06 Glenn Morris <rgm@gnu.org>
18781 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
18783 * emacs-lisp/autoload.el (autoload-excludes): New variable.
18784 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
18785 (batch-update-autoloads): Process a string value of autoload-excludes,
18786 set during the build process.
18787 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
18789 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
18790 inside with-parsed... macro so that `v' is defined.
18792 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
18793 * progmodes/fortran.el (fortran-end-of-block)
18794 (fortran-beginning-of-block):
18795 Also push mark in the macro case.
18797 * emerge.el (emerge-show-file-name):
18798 * calc/calc.el (calc-quit):
18799 * calc/calc-misc.el (calc-big-or-small):
18800 * calc/calc-graph.el (calc-graph-view):
18801 * calc/calc-ext.el (calc-reset):
18802 * calendar/calendar.el (calendar-basic-setup):
18803 Use window-full-height-p.
18805 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
18806 header we don't understand, don't insert another. (Bug#4624)
18807 If changing mime charset, insert the new one in the right place.
18809 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
18811 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
18812 (cal-tex-cursor-month): Correctly increment the end date for diary and
18813 holiday listing. (Bug#4626)
18815 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18817 * help-fns.el (describe-function-1): Don't burp if the function is not
18820 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
18822 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18823 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18824 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18825 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18827 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18828 (eieio-default-superclass): Reflow docstrings.
18829 (this, class-option-assoc, defclass, eieio-class-un-autoload)
18830 (eieio-unbind-method-implementations, defmethod)
18831 (eieio-validate-slot-value, eieio-validate-class-slot-value)
18832 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18833 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18834 (eieio-slot-originating-class-p, eieio-slot-name-index)
18835 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18836 (constructor, initialize-instance, no-next-method, object-print)
18837 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18838 Fix typos in docstrings.
18839 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18840 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18841 (next-method-p): Doc fixes.
18842 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18843 Fix typos in error messages.
18844 (eieio-defmethod): Fix typo in description of generic method.
18846 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18847 (eieio-persistent-save-interactive, slot-missing):
18848 Fix typos in docstrings.
18849 (eieio-instance-inheritor-slot-boundp): Doc fix.
18851 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18852 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18854 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18855 (eieio-custom-object-apply-reset):
18856 Fix typos in docstrings and error messages.
18858 * emacs-lisp/eieio-datadebug.el (data-debug-show):
18859 Fix typo in docstring.
18861 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18862 (eieio-browse-tree): Doc fix.
18863 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18864 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18865 Fix typos in docstrings.
18867 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18868 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18869 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18870 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18873 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
18875 * vc-hg.el (log-view-vc-backend): Declare for compiler.
18876 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18877 Set log-view-vc-backend so that diff can work.
18879 * log-view.el (log-view-diff): Use vc-diff-internal instead of
18881 (vc-diff-internal): Autoload this instead of vc-version-diff.
18883 2009-10-05 Eli Zaretskii <eliz@gnu.org>
18885 * simple.el (eval-expression): Doc fix.
18887 * progmodes/cwarn.el (cwarn-mode): Doc fix.
18889 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
18891 * files.el (directory-files-no-dot-files-regexp): New defconst.
18892 (delete-directory): Use it.
18893 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
18895 * net/tramp.el (tramp-verbose): Fix docstring.
18896 (tramp-methods): Add recursive option to `tramp-copy-args'.
18897 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
18898 "scp1_old", "scp2_old", "rsync", "rsyncc".
18899 (tramp-default-method): Check also for `auth-source-user-or-password'.
18900 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18901 Add handler for `copy-directory'.
18902 (tramp-handle-copy-directory): New defun.
18903 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18904 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18905 Optimize sent command.
18907 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18909 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18910 window if necessary.
18912 * calendar/calendar.el (calendar-basic-setup): Don't call
18913 switch-to-buffer in a dedicated window.
18915 2009-10-05 Karl Fogel <kfogel@red-bean.com>
18917 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18918 don't do anything related to relocating, just return nil.
18919 (bookmark-error-no-filename): New error.
18920 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18921 bookmark has no file. Don't even attempt to handle things that
18922 are not files; the whole point of custom handlers is to keep that
18923 knowledge elsewhere anyway. Tighten some comments.
18924 (bookmark-file-or-variation-thereof): Remove now-unused function.
18925 (bookmark-location): Doc string fix.
18928 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18930 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18931 don't use a file dialog, because they usually don't know how to read
18932 a directory target from the user. (Bug#4230)
18933 Also, make sure the prompt can display directories as well as files.
18935 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18937 * bookmark.el (bookmark-set, bookmark-buffer-name):
18938 Improve doc strings. (Bug#1193)
18940 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18942 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18943 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18944 (bookmark-get-annotation, bookmark-set-annotation)
18945 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18946 (bookmark-set-position, bookmark-get-front-context-string)
18947 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18948 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18949 (bookmark-jump-other-window, bookmark-handle-bookmark)
18950 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18951 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18952 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18953 Improve doc strings to say whether bookmark can be a string or
18954 a record or both, and make other consistency and clarity fixes.
18955 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18956 (bookmark-default-annotation-text, bookmark-yank-word)
18957 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18958 (bookmark-import-new-list, bookmark-maybe-rename)
18959 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18960 (bookmark-bmenu-bookmark): Give these doc strings.
18961 (bookmark-bmenu-check-position): Give this a doc string, but also
18962 add a FIXME comment about how the function may be pointless.
18963 (bookmark-default-handler): Rework doc string and change a
18964 parameter name, to clarify that this takes a bookmark record
18965 not a bookmark name.
18966 (bookmark-set): Change a parameter name to indicate its meaning,
18967 and improve the doc string a bit.
18970 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18972 * bookmark.el (bookmark-alist): Document the new `handler' element
18973 in the param alist.
18974 (bookmark-make-record-function): Adjust documentation for above.
18977 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18979 * info.el (Info-bookmark-make-record): Document this function.
18980 (Info-bookmark-jump): Document with a doc string, not just a comment.
18983 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
18985 * files.el (copy-directory): New defun.
18987 * dired-aux.el (dired-copy-file-recursive): Use it.
18989 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
18991 * files-x.el (modify-dir-local-variable)
18992 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18995 * recentf.el (recentf-unload-function): New function.
18997 2009-10-04 Glenn Morris <rgm@gnu.org>
18999 * window.el (window-full-height-p): Add doc string.
19001 2009-10-04 Martin Rudalics <rudalics@gmx.at>
19003 * window.el (window-full-height-p): New function. (Bug#4543)
19005 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
19007 * vc.el: Remove commented out code.
19008 (vc-derived-from-dir-mode): Remove, unused.
19009 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
19011 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
19013 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
19014 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
19015 there could be recursive loading when `default-directory' is a
19016 remote file name. (Bug#4614)
19018 2009-10-03 Glenn Morris <rgm@gnu.org>
19020 * calendar/calendar.el (calendar-basic-setup): Handle the case where
19022 (calendar-generate-window): Test for shrinkability rather than width.
19024 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
19025 reusing existing buffers, in case we happen to visit two files with the
19026 same basename. (Bug#4593)
19028 2009-10-02 Eli Zaretskii <eliz@gnu.org>
19030 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
19031 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
19032 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
19033 subdirs of cedet as well.
19034 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
19036 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
19038 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
19039 Obey advertised-signature-table.
19041 * help-fns.el (help-function-arglist): Don't check
19042 advertised-signature-table.
19043 (describe-function-1): Do it here instead so it also applies to subrs.
19045 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
19047 * simple.el (start-file-process): Say in the doc-string, that file
19048 handlers might not support pty association, if PROGRAM is nil.
19050 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
19051 HOST and USER are strings. They are nil, when there are
19052 incomplete entries in ~/.netrc, for example.
19053 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
19054 root directory ("device busy" error otherwise).
19056 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
19057 Flush file properties of created directory.
19059 2009-10-02 Eli Zaretskii <eliz@gnu.org>
19061 * makefile.w32-in (WINS_BASIC): Remove cedet.
19062 (WINS_CEDET): Add cedet.
19063 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
19065 2009-10-02 Kevin Ryde <user42@zip.com.au>
19067 * net/browse-url.el (browse-url): Pass any symbol in
19068 browse-url-browser-function to `apply', since if you've mistakenly put
19069 an unbound symbol then the error is clearer. (Bug#4531)
19071 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
19073 * allout.el (allout-init, allout-back-to-current-heading)
19074 (allout-beginning-of-current-entry, allout-ascend-to-depth)
19075 (allout-ascend, allout-up-current-level, allout-end-of-level)
19076 (allout-previous-visible-heading, allout-forward-current-level)
19077 (allout-backward-current-level, allout-show-children):
19078 * apropos.el (apropos-describe-plist):
19079 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
19080 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
19081 * completion.el (add-completion, add-permanent-completion):
19082 * descr-text.el (describe-text-category, describe-char):
19083 * desktop.el (desktop-lazy-abort):
19084 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
19085 * dired.el (dired-build-subdir-alist):
19086 * ediff.el (ediff-version):
19087 * elide-head.el (elide-head, elide-head-show):
19088 * emerge.el (emerge-version):
19090 * face-remap.el (variable-pitch-mode):
19091 * faces.el (describe-face):
19092 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
19094 * files.el (find-file-existing, auto-save-mode):
19095 * font-lock.el (font-lock-fontify-buffer):
19096 * help-fns.el (describe-function, describe-variable)
19097 (describe-syntax, describe-categories):
19098 * help.el (view-lossage, describe-bindings, describe-key)
19100 * hexl.el (hexl-current-address):
19101 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
19102 * info.el (Info-goto-emacs-key-command-node):
19103 * log-edit.el (log-edit-insert-cvs-template)
19104 (log-edit-insert-cvs-rcstemplate):
19105 * menu-bar.el (menu-bar-mode):
19106 * mouse.el (mouse-appearance-menu):
19107 * newcomment.el (comment-indent-new-line):
19108 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
19109 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
19110 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
19111 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
19112 * recentf.el (recentf-mode):
19113 * savehist.el (savehist-mode, savehist-save):
19114 * shadowfile.el (shadow-copy-files):
19115 * simple.el (kill-ring-save, next-line, previous-line)
19116 (normal-erase-is-backspace-mode):
19117 * strokes.el (strokes-update-window-configuration)
19118 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
19119 (strokes-xpm-for-stroke):
19120 * time.el (emacs-uptime, emacs-init-time):
19121 * tutorial.el (tutorial--describe-nonstandard-key)
19122 (tutorial--detailed-help):
19123 * type-break.el (type-break-mode)
19124 (type-break-mode-line-message-mode, type-break-query-mode)
19125 (type-break-guesstimate-keystroke-threshold):
19126 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
19127 * version.el (emacs-version):
19128 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
19129 * winner.el (winner-mode):
19130 * calendar/timeclock.el (timeclock-in, timeclock-out)
19131 (timeclock-status-string, timeclock-change)
19132 (timeclock-workday-remaining-string)
19133 (timeclock-workday-elapsed-string)
19134 (timeclock-when-to-leave-string):
19135 * calendar/todo-mode.el (todo-add-category):
19136 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
19137 * emacs-lisp/autoload.el (update-file-autoloads):
19138 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
19139 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
19140 (checkdoc-message-text, checkdoc-defun):
19141 * emacs-lisp/debug.el (debugger-list-functions):
19142 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
19143 * emacs-lisp/eieio-opt.el (eieio-describe-class)
19144 (eieio-describe-generic):
19145 * emacs-lisp/lisp-mnt.el (lm-synopsis):
19146 * emacs-lisp/shadow.el (list-load-path-shadows):
19147 * emulation/cua-base.el (cua-mode):
19148 * emulation/edt.el (edt-set-scroll-margins):
19149 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
19150 (tpu-toggle-regexp, tpu-toggle-search-direction)
19151 (tpu-toggle-rectangle, tpu-toggle-control-keys):
19152 * emulation/tpu-extras.el (tpu-set-scroll-margins):
19153 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
19154 (viper-set-parsing-style-toggling-macro)
19155 (viper-set-emacs-state-searchstyle-macros):
19156 * emulation/viper.el (viper-set-hooks):
19157 * eshell/esh-mode.el (eshell-truncate-buffer):
19158 * international/mule-cmds.el (prefer-coding-system)
19159 (describe-input-method, describe-language-environment):
19160 * international/mule-diag.el (list-character-sets)
19161 (describe-character-set, describe-coding-system)
19162 (describe-fontset, list-fontsets, list-input-methods):
19163 * mail/sendmail.el (mail-signature):
19164 * net/ange-ftp.el (ange-ftp-copy-file):
19165 * net/browse-url.el (browse-url):
19166 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
19167 * net/quickurl.el (quickurl-add-url):
19168 * net/rcirc.el (names, topic):
19169 * net/xesam.el (xesam-mode):
19170 * play/5x5.el (5x5-new-game):
19171 * play/yow.el (apropos-zippy):
19172 * progmodes/ada-mode.el (ada-mode-version):
19173 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
19175 (f90-beginning-of-block):
19176 * progmodes/fortran.el (fortran-end-of-block)
19177 (fortran-beginning-of-block):
19178 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
19179 * progmodes/python.el (python-describe-symbol, python-shell):
19180 * term/ns-win.el (ns-print-buffer):
19181 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
19182 * textmodes/flyspell.el (flyspell-mode-on):
19183 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
19184 (pages-directory-for-addresses):
19185 * textmodes/table.el (table-recognize-cell)
19186 (table-query-dimension, table-generate-source)
19187 (table-insert-sequence, table--warn-incompatibility):
19188 * textmodes/tex-mode.el (tex-validate-buffer):
19189 * textmodes/texinfmt.el (texinfmt-version)
19190 (texinfo-format-buffer):
19191 Use `called-interactively-p' instead of `interactive-p'.
19193 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
19195 * image-mode.el (image-toggle-display):
19196 * emacs-lisp/elp.el (elp-instrument-function):
19197 * emacs-lisp/advice.el (ad-make-advised-definition):
19198 * emacs-lisp/easy-mmode.el (define-minor-mode):
19199 * net/browse-url.el (browse-url-maybe-new-window):
19200 * progmodes/sh-script.el (sh-learn-buffer-indent):
19201 Pass new argument 'any to `called-interactively-p'.
19203 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
19205 * international/uni-bidi.el:
19206 * international/uni-category.el:
19207 * international/uni-combining.el:
19208 * international/uni-comment.el:
19209 * international/uni-decimal.el:
19210 * international/uni-decomposition.el:
19211 * international/uni-digit.el:
19212 * international/uni-lowercase.el:
19213 * international/uni-mirrored.el:
19214 * international/uni-name.el:
19215 * international/uni-numeric.el:
19216 * international/uni-old-name.el:
19217 * international/uni-titlecase.el:
19218 * international/uni-uppercase.el:
19219 Regenerate from Unicode 5.2.0 data.
19221 2009-10-01 Glenn Morris <rgm@gnu.org>
19223 * Makefile.in (ELCFILES): Regenerate.
19225 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
19227 * subr.el (interactive-p): Mark obsolete.
19228 (called-interactively-p): Make the optional-ness of `kind' obsolete.
19229 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
19230 advertised-signature-table for subroutines as well.
19232 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
19233 (set-advertised-calling-convention): New function.
19234 (make-obsolete, define-obsolete-function-alias)
19235 (make-obsolete-variable, define-obsolete-variable-alias):
19236 Make the optional-ness of `when' obsolete.
19237 (define-obsolete-face-alias): Make `when' non-optional.
19238 * help-fns.el (help-function-arglist):
19239 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
19240 Use advertised-signature-table.
19242 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
19244 * files.el (delete-directory): New defun. The original function
19245 in fileio.c has been renamed to `delete-directory-internal'.
19247 * dired.el (dired-delete-file): Call `delete-directory' with
19248 RECURSIVE parameter.
19250 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
19251 parameter RECURSIVE. Implementation is missing.
19253 * net/tramp.el (tramp-handle-make-directory): Flush upper
19254 directory's file properties.
19255 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
19256 (tramp-handle-dired-recursive-delete-directory): Flush directory
19257 properties after the remove command only.
19259 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
19260 Handle optional parameter RECURSIVE.
19262 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
19263 Handle optional parameter RECURSIVE.
19265 * net/tramp-smb.el (tramp-smb-errors): Add error message for
19266 connection timeout.
19267 (tramp-smb-handle-delete-directory): Handle optional parameter
19270 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
19272 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
19273 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
19274 (byte-compile-defmacro): Use backquotes.
19276 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
19278 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
19279 has no associated file.
19280 (vc-resynch-buffer): Use vc-dir-buffers.
19282 2009-10-01 Glenn Morris <rgm@gnu.org>
19284 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
19285 (chart-file-count):
19286 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
19287 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
19288 * emacs-lisp/eieio-opt.el (eieio-describe-class):
19289 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
19290 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
19291 (eieio-copy-parents-into-subclass, make-instance, class-children)
19292 (eieio-generic-form):
19294 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
19295 match-data. (Bug#4555).
19297 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
19298 rather than parsing it as a regexp. This relaxes the layout
19299 requirements and makes errors easier to detect.
19300 (check-declare-verify): Check file is regular.
19301 (check-declare-directory): Doc fix.
19302 * subr.el (declare-function): Doc fix.
19304 * ibuffer.el (ibuffer-format-qualifier):
19305 * isearch.el (hi-lock-regexp-okay):
19306 * calc/calc.el (math-zerop):
19307 * mail/uce.el (rmail-msgbeg, rmail-msgend):
19308 * term/w32-win.el (setup-default-fontset, set-fontset-font):
19309 Remove unused declarations.
19311 2009-09-30 Eric Ludlam <zappo@gnu.org>
19313 * emacs-lisp/eieio.el (boolean-p): Delete.
19315 2009-09-30 Glenn Morris <rgm@gnu.org>
19317 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
19319 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
19320 filename is not a string.
19322 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
19324 * files.el (safe-local-eval-forms): Fix typo.
19326 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
19328 * vc-hooks.el (vc-dir-buffers): New var.
19329 (vc-state-refresh): New function.
19330 (vc-state): Use it.
19331 (vc-after-save): Always ask the backend to recompute the new state.
19332 Always call vc-dir if necessary, using vc-dir-buffers.
19333 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
19334 Use vc-dir-buffers.
19335 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
19336 (vc-dir-prepare-status-buffer, vc-dir-update)
19337 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
19338 Don't call expand-file-name on default-directory.
19340 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
19342 * speedbar.el (speedbar-item-delete):
19343 * calc/calc-prog.el (calc-kbd-if):
19344 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
19346 * epa.el (epa-key-list-mode-map):
19347 * hi-lock.el (hi-lock-menu): Fix typos in menus.
19349 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
19350 (hs-show-hook): Fix typo in docstring.
19352 2009-09-29 Glenn Morris <rgm@gnu.org>
19354 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
19355 file-name-nondirectory call preventing location of cedet files.
19356 (check-declare-verify): Use literal search rather than re-search.
19357 Add basic defmethod and defclass, and define-overloadable-function.
19359 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
19360 Use tramp-compat-file-attributes rather than nonexistent
19361 tramp-compat-handle-file-attributes.
19363 * Makefile.in (lisptagsfiles4): New.
19364 (AUTOGENEL): Add cedet loaddefs files.
19365 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
19366 (update-elclist, compile-always, backup-compiled-files)
19367 (bootstrap-clean): Add yet another directory level.
19368 (update-elclist): Use LC_COLLATE rather than COLLATE.
19369 (ELCFILES): Update, via `make update-elclist'.
19371 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
19373 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
19374 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
19375 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
19377 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
19379 * Makefile.in (lisptagsfiles3): Define.
19380 (TAGS, TAGS-LISP): Use it.
19381 (update-elclist): Add third directory level to look for elc files.
19382 (compile-always): Likewise.
19383 (backup-compiled-files): Likewise.
19384 (bootstrap-clean): Likewise.
19385 (ELCFILES): Update.
19387 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
19389 * Makefile.in (ELCFILES): Add CEDET files.
19391 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
19393 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
19395 * net/tramp.el (top): Require tramp-imap.
19397 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
19398 Use `tramp-compat-handle-file-attributes'.
19400 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
19402 * net/tramp-imap.el: New package.
19404 2009-09-28 Eric Ludlam <zappo@gnu.org>
19406 * emacs-lisp/chart.el:
19407 * emacs-lisp/eieio-base.el:
19408 * emacs-lisp/eieio-comp.el:
19409 * emacs-lisp/eieio-custom.el:
19410 * emacs-lisp/eieio-datadebug.el:
19411 * emacs-lisp/eieio-opt.el:
19412 * emacs-lisp/eieio-speedbar.el:
19413 * emacs-lisp/eieio.el: New files.
19415 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19417 * whitespace.el (whitespace-trailing-regexp)
19418 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
19421 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
19423 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
19426 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
19427 menu-bar-ediff-menu.
19429 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
19430 define-overloadable-function.
19432 * progmodes/autoconf.el: Provide autoconf as well, so that this
19433 file can be `require'd.
19435 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
19437 * emacs-lisp/autoload.el (generated-autoload-feature)
19438 (generated-autoload-load-name): New vars.
19439 (autoload-rubric, autoload-generate-file-autoloads): Use them.
19440 (make-autoload): Recognize define-overloadable-function and
19441 defclass forms (for EIEIO).
19443 * Makefile.in (update-subdirs): Exclude cedet directory.
19445 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
19447 * term/ns-win.el: Don't set the region face background. (Bug#4381)
19449 * faces.el: Default light-background background for region face to
19450 ns_selection_color under NS.
19452 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
19454 * net/imap-hash.el: New library, see NEWS.
19456 * Makefile.in (ELCFILES): Add imap-hash.el.
19458 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
19460 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
19461 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
19462 * help-macro.el (make-help-screen): Avoid using an ambiguous function
19463 definition where the docstring could be taken for the return value.
19465 2009-09-26 Glenn Morris <rgm@gnu.org>
19467 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
19468 Add option to only show images below a certain size.
19469 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
19470 save-excursion calls.
19472 2009-09-26 Eli Zaretskii <eliz@gnu.org>
19474 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
19475 subdirectories) and eieio.
19477 2009-09-26 Alan Mackenzie <acm@muc.de>
19479 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19480 Correct buggy bracketing. (Bug#4289)
19482 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
19483 character constants (as case labels). (Bug#4289)
19485 2009-09-25 Juri Linkov <juri@jurta.org>
19487 * files.el (safe-local-eval-forms): Allow time-stamp in
19488 before-save-hook (Bug#4554).
19490 2009-09-25 Drew Adams <drew.adams@oracle.com>
19492 * menu-bar.el (list-buffers-directory): Doc fix.
19494 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
19496 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
19497 Try and avoid copying twice the same paragraph.
19498 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
19499 Remove save-excursion.
19500 (log-edit-changelog-entry): Do it here instead.
19502 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
19504 * bs.el (bs--get-file-name): Use `list-buffers-directory'
19505 when available, instead of hardcoding mode names. Doc fix.
19507 * menu-bar.el (list-buffers-directory): Add docstring.
19508 Make automatically buffer-local.
19510 * dired.el (dired-mode):
19511 * files.el (cd-absolute):
19512 * pcvs.el (cvs-temp-buffer):
19513 * pcvs-util.el (cvs-get-buffer-create):
19514 * shell.el (shell-mode):
19515 * vc-dir.el (vc-dir-mode):
19516 Don't make `list-buffers-directory' buffer local.
19518 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
19520 * comint.el (comint-exec, comint-run, make-comint):
19521 Doc fixes (Bug#4542).
19523 2009-09-25 Glenn Morris <rgm@gnu.org>
19525 * mail/rmailmm.el (rmail-mime): New custom group.
19526 Move all defcustoms in this file into this group.
19527 (rmail-mime-media-type-handlers-alist): Revert previous change.
19528 (rmail-mime-show-images): New option.
19529 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
19530 references to it, since it wasn't actually used for anything.
19531 (rmail-mime-insert-image): New function.
19532 (rmail-mime-image): Use rmail-mime-insert-image.
19533 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
19534 obey the value of `rmail-mime-show-images' option. Print the size of
19537 2009-09-25 David Engster <deng@randomsample.de>
19539 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
19541 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19543 * whitespace.el: Does not highlight trailing spaces While point is
19544 at end of line. Does not highligt spaces at beginning of buffer
19545 while point is at beginning of buffer. Does not highlight spaces
19546 at end of buffer while point is at end of buffer. (Bug#4177)
19548 (whitespace-display-mappings): Adjust initialization.
19549 (whitespace-point, whitespace-font-lock-refontify): New vars.
19550 (whitespace-color-on, whitespace-color-off): Adjust code.
19551 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
19552 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
19553 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
19555 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
19557 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
19559 * textmodes/sgml-mode.el: Remove xml-mode alias.
19561 * files.el (auto-mode-alist, conf-mode-maybe)
19562 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
19564 2009-09-24 Alan Mackenzie <acm@muc.de>
19566 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
19567 c-forward-conditionals, but it doesn't move point and doesn't set
19569 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
19570 (c-down-conditional-with-else, c-backward-conditional)
19571 (c-forward-conditional): Refactor to use c-scan-conditionals.
19573 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19575 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
19576 (help-default-arg-highlight): Remove.
19577 (help-highlight-arg): New function.
19578 (help-do-arg-highlight): Use it.
19579 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
19581 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19583 * term.el (term-set-scroll-region, term-handle-ansi-escape):
19584 Undo last change, which didn't fix the problem and introduced others.
19586 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
19588 * progmodes/gdb-mi.el: Don't require speedbar.
19589 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
19591 2009-09-24 Glenn Morris <rgm@gnu.org>
19593 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
19595 * term/ns-win.el (ns-reg-to-script): Define for compiler.
19597 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
19598 there is no newline after the final mime boundary. (Bug#4539)
19599 Move markers on insertion so that any buttons inserted don't end up in
19600 the next part of a multipart message.
19601 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
19602 (rmail-mime-bulk-handler): Optionally handle images.
19603 (rmail-mime-image): New button action.
19604 (rmail-mime-image-handler): New function.
19605 (rmail-mime-mode): New mode.
19606 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
19608 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19610 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
19611 than just dropping elements from it (bug#4504).
19613 * term.el (term-set-scroll-region): Don't move cursor any more.
19614 (term-handle-ansi-escape): Call term-goto here instead.
19615 Suggested by Ivan Kanis <apple@kanis.eu>.
19617 * term.el: Require CL.
19618 (term-ansi-reset): New function.
19619 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
19620 (term-handle-colors-array): Simplify.
19622 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19624 * allout.el (allout-overlay-interior-modification-handler)
19625 (allout-obtain-passphrase):
19626 * epa-file.el (epa-file-write-region):
19627 * ps-print.el (ps-begin-job):
19628 * vc-hooks.el (vc-toggle-read-only):
19629 * vc-rcs.el (vc-rcs-rollback):
19630 * vc-sccs.el (vc-sccs-rollback):
19631 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
19632 (vc-version-diff, vc-revert, vc-rollback):
19633 * wdired.el (wdired-check-kill-buffer):
19634 * emacs-lisp/authors.el (authors):
19635 * net/socks.el (socks-open-connection):
19636 * net/zeroconf.el (zeroconf-service-add-hook):
19637 * obsolete/vc-mcvs.el (vc-mcvs-register):
19638 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
19639 (gdb-select-frame):
19640 * progmodes/grep.el (lgrep, rgrep):
19641 * progmodes/idlw-help.el (idlwave-help-check-locations)
19642 (idlwave-help-html-link, idlwave-help-assistant-open-link):
19643 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
19644 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
19645 (reftex-toc-rename-label): Fix typos in error messages.
19647 * dired-aux.el (dired-do-shell-command): Reflow docstring.
19648 (dired-copy-how-to-fn): Doc fix.
19649 (dired-files-attributes, dired-read-shell-command):
19650 Fix typos in docstrings.
19652 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
19653 (dired-x-find-file-other-window): Reflow docstrings.
19654 (dired-omit-marker-char, dired-read-shell-command)
19655 (dired-x-submit-report): Fix typos in docstrings.
19657 * shell.el (shell-mode-hook):
19658 * view.el (View-scroll-line-forward):
19659 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
19660 Fix typos in docstrings.
19662 * net/dig.el (dig-invoke): Fix typo in docstring.
19663 (query-dig): Reflow docstring.
19665 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
19666 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
19667 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
19668 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
19669 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
19670 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
19671 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
19672 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
19673 (idlwave-completion-map, idlwave-current-indent)
19674 (idlwave-custom-ampersand-surround, idlwave-customize)
19675 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
19676 (idlwave-define-abbrev, idlwave-determine-class-special)
19677 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
19678 (idlwave-end-block-reg, idlwave-end-of-statement)
19679 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
19680 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
19681 (idlwave-explicit-class-listed, idlwave-file-header)
19682 (idlwave-fill-paragraph, idlwave-find-class-definition)
19683 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
19684 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
19685 (idlwave-in-quote, idlwave-indent-action-table)
19686 (idlwave-indent-expand-table, idlwave-indent-line)
19687 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
19688 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
19689 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
19690 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
19691 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
19692 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
19693 (idlwave-outlawed-buffers, idlwave-popup-select)
19694 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
19695 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
19696 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
19697 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
19698 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
19699 (idlwave-statement-type, idlwave-struct-skip)
19700 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
19701 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
19702 (idlwave-what-module-find-class): Fix typos in docstrings.
19703 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
19704 (idlwave-calculate-cont-indent, idlwave-expand-equal)
19705 (idlwave-find-module, idlwave-find-structure-definition)
19706 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
19707 (idlwave-list-load-path-shadows, idlwave-next-statement)
19708 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
19709 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
19710 (idlwave-template): Reflow docstrings.
19712 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
19713 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
19714 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
19715 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
19716 (idlwave-shell-display-line, idlwave-shell-display-wframe)
19717 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
19718 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
19719 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
19720 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
19721 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
19722 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
19723 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
19724 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
19725 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
19726 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
19727 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
19728 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
19729 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
19730 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
19731 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
19732 Fix typos in docstrings.
19733 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
19734 (idlwave-shell-hide-output, idlwave-shell-mode)
19735 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
19738 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
19740 2009-09-24 Ivan Kanis <apple@kanis.eu>
19742 * term.el (term-bold-attribute): New var.
19743 (term-handle-colors-array): Use it.
19745 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
19747 * progmodes/gdb-mi.el (gdb-version): New variable.
19748 (gdb-non-stop-handler): Set gdb-version.
19749 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
19750 Condition "--thread" option on gdb-version.
19751 (gdb-invalidate-threads): Remove unused argument.
19753 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19755 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
19756 to looking-back to avoid ridiculous slow down in large files (bug#4511).
19758 2009-09-23 Glenn Morris <rgm@gnu.org>
19760 * mail/rmail.el (rmail-reply): Don't try to add a References header when
19761 replying to mail without References or Message-Id. (Bug#4525)
19763 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
19765 * term/ns-win.el (ns-reg-to-script): New variable.
19767 2009-09-23 Daiki Ueno <ueno@unixuser.org>
19769 * epg.el (epg-wait-for-status): Preserve existing 'error results.
19771 2009-09-22 Sam Steingold <sds@gnu.org>
19773 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
19774 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
19775 to 1 because hg returns status 1 when nothing is found.
19776 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
19778 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
19780 * textmodes/fill.el: Convert to utf-8 encoding.
19781 (fill-french-nobreak-p): Remove redundant » and « inherited from our
19784 * add-log.el (change-log-fill-forward-paragraph): New function.
19785 (change-log-mode): Use it so fill-region DTRT.
19786 Set fill-indent-according-to-mode here rather than in
19787 change-log-fill-paragraph.
19788 (change-log-fill-paragraph): Remove.
19790 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
19792 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
19793 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
19795 2009-09-22 Glenn Morris <rgm@gnu.org>
19797 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
19798 the scroll-bar scroll the calendar window rather than the buffer.
19800 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
19801 commands that move point (as opposed to scrolling).
19803 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
19805 * emacs-lisp/elint.el (elint): New custom group.
19806 (elint-log-buffer): Make it a defcustom.
19807 (elint-scan-preloaded, elint-ignored-warnings)
19808 (elint-directory-skip-re): New options.
19809 (elint-builtin-variables): Doc fix.
19810 (elint-preloaded-env): New variable.
19811 (elint-unknown-builtin-args): Add an entry for encode-time.
19812 (elint-extra-errors): Make it a variable rather than a constant.
19813 (elint-preloaded-skip-re): New constant.
19814 (elint-directory): Skip files matching elint-directory-skip-re.
19815 (elint-features): New variable, local to linted buffers.
19816 (elint-update-env): Initialize elint-features. Possibly add
19817 elint-preloaded-env to the buffer's environment.
19818 (elint-get-top-forms): Bind elint-current-pos, for log messages.
19820 (elint-init-form): New function, extracted from elint-init-env.
19821 Make non-list forms a warning rather than an error.
19822 Add the mode-map for define-derived-mode. Handle define-minor-mode,
19823 easy-menu-define, put that adds an error-condition, and provide.
19824 When requiring cl, also require cl-macs. Really require cl, to handle
19825 some cl macros. Store required libraries in the list elint-features,
19826 so as not to re-load them. Treat cc-require like require.
19827 (elint-init-env): Call elint-init-form to do the work.
19828 Handle eval-and-compile and such like.
19829 (elint-add-required-env): Do not clear messages.
19830 (elint-special-forms): Add handlers for function, defalias, if, when,
19832 (elint-form): Add optional argument to ignore elint-special-forms,
19833 useful to prevent recursive calls from handlers. Doc fix.
19834 Respect elint-ignored-warnings.
19835 (elint-form): Respect elint-ignored-warnings.
19836 (elint-bound-variable, elint-bound-function): New variables.
19837 (elint-unbound-variable): Respect elint-bound-variable.
19838 (elint-get-args): Respect elint-bound-function.
19839 (elint-check-cond-form): Add some simple handling for (f)boundp and
19841 (elint-check-defalias-form): New handler.
19842 (elint-check-let-form): Make an empty let a warning rather than an
19844 (elint-check-setq-form): Make an empty setq a warning rather than an
19845 error. Respect elint-ignored-warnings.
19846 (elint-check-defvar-form): Accept null doc-strings.
19847 (elint-check-conditional-form): New handler. Does some simple-minded
19848 checking of featurep and (f)boundp tests.
19849 (elint-put-function-args): New function.
19850 (elint-initialize): Use elint-scan-doc-file rather than
19851 elint-find-builtin-variables. Use elint-put-function-args.
19852 Possibly scan preloaded-file-list.
19853 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19854 extend to handle functions as well.
19856 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
19858 * linum.el (linum-delete-overlays, linum-update-window):
19859 Do not modify the right margin. (Bug#3971)
19861 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
19863 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19864 Use nxml-mode instead of xml-mode.
19866 2009-09-21 Kevin Ryde <user42@zip.com.au>
19868 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
19870 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19872 * net/dig.el (dig-mode): Use define-derived-mode.
19874 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
19876 * vc-dispatcher.el (vc-do-command): Return the process object in
19877 the asynchronous case. Use when instead of if. Do not run
19878 vc-exec-after to display a message if not enabled. (Bug#4463)
19880 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19881 properties to the stash strings.
19882 (vc-git-stash-list): Return a list of strings.
19883 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19884 (vc-git-stash-show-at-point): New functions.
19885 (vc-git-stash-map): New keymap.
19887 * register.el (ctl-x-r-map): Define the keys here instead of
19890 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
19892 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19893 list, to workaround performance problem (bug#4485).
19895 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
19897 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19899 2009-09-20 Daiki Ueno <ueno@unixuser.org>
19901 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19902 Document that this option is not recommended to use.
19904 2009-09-19 Glenn Morris <rgm@gnu.org>
19906 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19909 * calc/calc-alg.el (var):
19910 * calc/calcalg2.el (var): Define for compiler.
19912 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
19914 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19915 Doc fix (Bug#3932).
19917 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19919 * time-stamp.el (time-stamp-month-dd-yyyy)
19920 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19921 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19922 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19923 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19924 Remove functions that have been obsolete since 1995 (Bug#4436).
19926 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19927 indent buffer only if called interactively (Bug#4452).
19929 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
19930 Eli Zaretskii <eliz@gnu.org>
19932 This fixes bug#4197 (merged to bug#865, though not identical).
19933 * server.el (server-auth-dir): Add docstring note about FAT32.
19934 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19935 but warn against using them.
19937 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
19939 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19940 older GDB where there is no has_more field.
19942 2009-09-19 Glenn Morris <rgm@gnu.org>
19944 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19946 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
19948 * files.el (auto-mode-alist): Change default for XML files to nXML
19951 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
19953 * server.el (server-ensure-safe-dir): Pass 'integer
19954 to `file-attributes', as suggested.
19956 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
19958 * dired-aux.el (dired-query-alist): Remove spurious backslash.
19959 (dired-query): Use read-key.
19961 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
19963 * cus-start.el (ns-use-qd-smoothing): Remove.
19965 2009-09-18 Glenn Morris <rgm@gnu.org>
19967 * allout.el (top-level): Remove unnecessary progn.
19969 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19971 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19972 definition of abbrev table.
19974 * speedbar.el (speedbar-track-mouse):
19975 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19976 * net/eudc.el (eudc-expand-inline):
19977 * net/newst-backend.el (newsticker--cache-read-feed):
19978 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19979 condition-case handlers.
19981 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
19983 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19984 (gdb-var-list): Add an element for has_more field.
19985 (gdb-non-stop-handler): Enable pretty printing for STL containers.
19986 (gdb-var-create-handler, gdb-var-list-children-handler-1)
19987 (gdb-var-update-handler-1): Parse output of dynamic variable
19988 objects (STL containers).
19989 (gdb-var-delete-1): Pass var1 as an explicit second argument.
19990 (gdb-get-field): Delete alias. Use bindat-get-field directly.
19992 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19994 (gud-speedbar-buttons): Make node expandable if expression "has more"
19997 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
19999 * startup.el (emacs-quick-startup): Remove variable and all uses.
20000 (command-line): Set `inhibit-x-resources' instead.
20001 (command-line-1): Use `inhibit-x-resources' instead.
20003 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
20005 * subr.el: Fix last change to avoid using the `unless' macro,
20006 which breaks bootstrapping.
20008 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
20010 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
20011 extended definitions, in case we reload subr.el after having
20013 (eval-next-after-load): Mark as obsolete.
20015 2009-09-17 Juri Linkov <juri@jurta.org>
20017 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
20018 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
20019 (menu-bar-showhide-menu, menu-bar-tools-menu)
20020 (menu-bar-describe-menu, menu-bar-help-menu)
20021 (minibuffer-local-completion-map, minibuffer-local-map):
20024 2009-09-17 Glenn Morris <rgm@gnu.org>
20026 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
20027 arguments, whether or not it has a handler.
20029 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
20031 * simple.el (hard-newline): Give it a doc-string.
20033 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20034 (lisp-mode-syntax-table): Give them doc-strings.
20036 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
20038 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
20039 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
20040 (menu-bar-options-menu, menu-bar-showhide-menu)
20041 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
20042 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
20043 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
20044 (menu-bar-options-menu, menu-bar-tools-menu)
20045 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
20046 (menu-bar-help-menu):
20047 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
20050 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
20051 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
20052 calls for the menu names and :help.
20054 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
20056 * mouse.el (minor-mode-menu-from-indicator): Pay attention
20057 to :minor-mode-function (bug#4455).
20059 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
20061 * startup.el (command-line): Initialize the window-system after
20062 processing the command-line.
20064 * textmodes/page.el (what-page): Make sure we don't inf-loop if
20065 page-delimiter matches the empty string.
20067 2009-09-16 Glenn Morris <rgm@gnu.org>
20069 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
20070 byte-compile-not-obsolete-var. It's a list now.
20071 (byte-compile-not-obsolete-funcs): New variable.
20072 (byte-compile-warn-obsolete): Don't warn about functions if they are in
20073 byte-compile-not-obsolete-funcs.
20074 (byte-compile-variable-ref, byte-compile-defvar): Update for
20075 byte-compile-not-obsolete-vars name-change and list nature.
20076 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
20077 and variables behind (f)boundp tests.
20078 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
20080 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
20082 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
20084 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
20086 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
20087 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
20090 2009-09-15 Stephen Eglen <stephen@gnu.org>
20092 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
20093 the virtual-buffers, use the name of the buffer specified by
20094 find-file-noselect, as the match may be a symlink. (This was a
20095 problem if the target and the symlink had different names.)
20097 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
20099 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
20101 * desktop.el (desktop-path): Check user-emacs-directory.
20103 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
20105 * loadup.el: Use after-load-functions to GC after loading each file.
20106 Remove the explicit GC calls that used to be sprinkled around.
20108 * subr.el (after-load-functions): New hook.
20109 (do-after-load-evaluation): Run it. Use string-match-p to detect
20110 `obsolete' packages, rather than painfully extracting the relevant
20113 2009-09-15 Glenn Morris <rgm@gnu.org>
20115 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
20116 free variable `doc'.
20118 * dired.el (dired-mode-map): Add menu entry for async shell command.
20120 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
20121 variables, also consider the .elc files, since the .el files are
20122 normally gzipped (subsequent code locates the .el.gz from the .elc).
20124 * calc/calc-prog.el (arglist): Define for compiler.
20126 * calendar/diary-lib.el (diary-display-function): Change the default to
20128 (body): Define for compiler.
20130 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
20131 (byte-compile-file-form, byte-compile-lambda)
20132 (byte-compile-top-level-body, byte-compile-form)
20133 (byte-compile-variable-ref, byte-compile-setq)
20134 (byte-compile-setq-default, byte-compile-body)
20135 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
20136 (batch-byte-compile): Give some more local variables with common names
20137 a "bytecomp-" prefix to avoid masking warnings about free variables.
20139 * startup.el (command-line-1): Give local variables with common names a
20140 distinguishing prefix, so as not to hide free variable warnings during
20143 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
20144 clever and add a suffix to make a unique name, just let the user decide
20145 whether or not to overwrite it. If the input is a directory, write the
20146 default filename to that directory. (Bug#4388)
20147 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
20148 is a filename-as-a-directory.
20150 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
20152 * textmodes/page.el (what-page): Don't move to beginning of line.
20153 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
20155 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
20157 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
20159 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
20161 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
20162 * help.el (help-for-help-internal): Add purecopy calls for text.
20164 * vc.el (top): print-log method now takes an optional SHORTLOG
20165 argument. Add a new method: root.
20166 (vc-root-diff, vc-print-root-log): New functions.
20167 (vc-log-short-style): New variable.
20168 (vc-print-log-internal): Add support for showing short logs.
20170 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
20171 vc-print-root-log and vc-print-root-diff.
20173 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
20174 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
20175 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
20178 * vc-cvs.el (vc-cvs-print-log):
20179 * vc-mtn.el (vc-mtn-print-log):
20180 * vc-rcs.el (vc-rcs-print-log):
20181 * vc-sccs.el (vc-sccs-print-log):
20182 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
20183 that is ignored for now.
20185 * vc-mtn.el (vc-mtn-annotate-command):
20186 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
20188 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20190 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
20191 to function-key-map, and give them ascii-character property.
20192 * term/x-win.el (x-alternatives-map):
20193 * term/ns-win.el (ns-alternatives-map):
20194 * term/internal.el (msdos-key-remapping-map):
20195 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
20197 2009-09-14 Glenn Morris <rgm@gnu.org>
20199 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
20200 temp-buffers (2009-09-12).
20202 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
20204 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
20205 the new read-key function.
20207 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
20209 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
20210 is defined (Bug#4405).
20212 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
20214 * recentf.el (recentf-cleanup): Use a hash table to find
20215 duplicates (Bug#4407).
20217 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
20219 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
20220 kp-0 to ascii equivalents (Bug#4325).
20222 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
20224 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
20226 * eshell/em-hist.el:
20227 * eshell/em-dirs.el (eshell-complete-user-reference):
20228 Declare pcomplete functions and variables to avoid compiler warnings.
20230 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
20232 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
20233 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
20234 * eshell/em-alias.el (eshell-aliases-file):
20235 * eshell/em-hist.el (eshell-history-file-name):
20236 Use expand-file-name instead of concat to make file names (Bug#4308).
20238 2009-09-13 Glenn Morris <rgm@gnu.org>
20240 * ediff-merg.el (ediff-do-merge):
20241 * filesets.el (filesets-run-cmd):
20242 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
20243 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
20244 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
20245 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
20246 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
20247 Replace empty `let's with `progn'.
20249 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
20251 * mail/sendmail.el (send-mail-function):
20252 * tooltip.el (tooltip-mode):
20253 * simple.el (transient-mark-mode):
20254 * rfn-eshadow.el (file-name-shadow-mode):
20255 * frame.el (blink-cursor-mode):
20256 * font-core.el (global-font-lock-mode):
20257 * files.el (temporary-file-directory)
20258 (small-temporary-file-directory, auto-save-file-name-transforms):
20259 * epa-hook.el (auto-encryption-mode):
20260 * composite.el (global-auto-composition-mode):
20261 Use custom-initialize-delay.
20262 * startup.el (command-line): Don't explicitly call
20263 custom-reevaluate-setting for all the above vars.
20264 * custom.el (custom-initialize-safe-set)
20265 (custom-initialize-safe-default): Delete.
20267 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20269 * term/x-win.el (x-initialize-window-system):
20270 * term/w32-win.el (w32-initialize-window-system):
20271 * term/ns-win.el (ns-initialize-window-system): Don't call
20272 mouse-wheel-mode since it's enabled globally by default already.
20274 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
20275 actually define the variable, but only silences the byte-compiler.
20276 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
20277 before looking it up.
20278 (mouse-wheel-scroll-amount): Also reset the bindings if this value
20281 2009-09-12 Glenn Morris <rgm@gnu.org>
20283 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
20285 (elint-add-required-env): Don't beep on error.
20286 (elint-forms): In case of error, return ENV unchanged.
20287 (elint-init-env): Skip non-list forms.
20288 (elint-log): Handle unknown file positions.
20290 2009-09-12 Daiki Ueno <ueno@unixuser.org>
20292 * epg.el (epg-make-context): Add autoload cookie.
20293 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
20294 (epg-decrypt-string, epg-start-verify, epg-verify-file)
20295 (epg-verify-string, epg-start-sign, epg-sign-file)
20296 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
20297 (epg-encrypt-string, epg-start-export-keys)
20298 (epg-export-keys-to-file, epg-export-keys-to-string)
20299 (epg-start-import-keys, epg-import-keys-from-file)
20300 (epg-import-keys-from-string, epg-start-receive-keys)
20301 (epg-receive-keys, epg-import-keys-from-server)
20302 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
20303 (epg-sign-keys, epg-start-generate-key)
20304 (epg-generate-key-from-file, epg-generate-key-from-string):
20305 Remove autoload cookie.
20307 2009-09-12 Eli Zaretskii <eliz@gnu.org>
20309 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
20310 reevaluation of trash-directory.
20312 * mwheel.el: Fix last change.
20313 (mouse-wheel-mode): New defvar.
20314 (mouse-wheel-mode): Remove autoload cookie.
20316 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20318 * mwheel.el (mwheel-installed-bindings): New var.
20319 (mouse-wheel-mode): Use it, so as to make sure we really remove all
20320 the bindings we set last time. Use custom-initialize-delay.
20321 * loadup.el: Load mwheel after term/*-win.el.
20322 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
20323 and mouse-wheel-up-event now that their first evaluation is done
20324 sufficiently late to be correct.
20326 * startup.el (tutorial-directory): Make it a defcustom.
20327 Use custom-initialize-delay rather than eval-at-startup to set it.
20328 * image.el (image-load-path): Make it a defcustom.
20329 Use custom-initialize-delay rather than eval-at-startup to set it.
20330 * subr.el (eval-at-startup): Remove.
20331 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
20333 * subr.el (do-after-load-evaluation): Warn the user after loading an
20336 2009-09-12 Glenn Morris <rgm@gnu.org>
20338 * proced.el (proced-mark-alt): Remove alias.
20339 (proced-mode-map): Remove proced-mark-alt.
20341 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
20342 Elint file and directory. Remove initialization entry.
20344 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
20346 (elint-current-buffer): Set mode-line-process.
20347 (elint-init-env): Handle define-derived-mode.
20348 Fix declare-function with unspecified arglist. Guard against odd
20349 defalias statements (eg iso-insert's 8859-1-map).
20350 (elint-add-required-env): Use a temp buffer.
20351 (elint-form): Just print the function/macro name, not the whole form.
20352 Return env unchanged if we fail to parse a macro.
20353 (elint-forms): Guard against parse errors.
20354 (elint-output): New function, to handle batch mode.
20355 (elint-log-message): Add optional argument. Use elint-output.
20356 (elint-set-mode-line): New function.
20358 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
20360 * emacs-lisp/elp.el (elp-not-profilable): Add more
20361 functions (Bug#4233).
20363 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
20365 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
20366 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
20368 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
20370 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
20371 (gdb-var-list-children): Use json parsing.
20373 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
20375 * progmodes/js.el (js--proper-indentation): Handle the case where
20376 char-before is null. Reported by Deniz Dogan.
20378 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
20380 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
20382 2009-09-11 Daiki Ueno <ueno@unixuser.org>
20384 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
20385 (epg-digest-algorithm-alist): Add SHA224.
20386 (epg-context-set-passphrase-callback)
20387 (epg-context-set-progress-callback): Add description about
20390 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20392 * custom.el (custom-delayed-init-variables): New var.
20393 (custom-initialize-delay): New function.
20394 * startup.el (command-line): "Re"evaluate all vars in
20395 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
20396 explicitly any more.
20397 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
20398 to avoid creating a ~/.emacs.d at build-time (bug#4347).
20400 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
20402 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
20404 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
20405 (gdb-var-update-handler): Use json parsing.
20407 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
20409 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
20410 decode annotated text, regardless of language environment. (Bug#2741)
20412 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20414 * Makefile.in (autoloads): Make rmail.el writable as well.
20416 2009-09-11 Glenn Morris <rgm@gnu.org>
20418 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
20420 * dired.el: Regenerate with extracted autoloads.
20421 * Makefile.in (autoloads): Make dired.el writable.
20423 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
20424 * ibuffer.el: Regenerate with extracted autoloads.
20425 * Makefile.in (autoloads): Make ibuffer.el writable.
20427 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
20428 * version.el (emacs-copyright, emacs-major-version)
20429 (emacs-minor-version): Reformat doc-strings for make-docfile.
20431 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
20432 functions and variables, since they must be stuff specific to some other
20434 (apropos-print): Make mouse-click message less specific about button.
20436 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
20437 that records where a macro was defined.
20438 * help-fns.el (describe-function-1): Mention if a function has a
20440 * help-mode.el (help-function-cmacro): New button.
20442 * locate.el (top-level): Always require dired.
20443 (locate-mode-map): Initialize inside the defvar.
20445 * net/ange-ftp.el (dired-compress-file): Declare.
20446 (ange-ftp-dired-compress-file): Add doc string.
20448 * term/ns-win.el (x-display-name, x-setup-function-keys):
20449 Unify doc-strings with X versions.
20451 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20453 * emulation/crisp.el (crisp-mode-map): Move initialization
20455 (crisp-mode): Use define-minor-mode.
20457 * progmodes/xscheme.el (xscheme-evaluation-commands):
20458 Put a :advertised-binding property rather than using
20459 advertised-xscheme-send-previous-expression.
20460 (advertised-xscheme-send-previous-expression): Declare obsolete.
20461 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
20463 (crisp-mode): Add corresponding bindings to
20464 undo's :advertised-binding instead.
20465 * dired.el (dired-mode-map): Put a :advertised-binding property rather
20466 than using dired-advertised-find-file.
20467 (dired-advertised-find-file):
20468 * simple.el (advertised-undo):
20469 * wid-edit.el (advertised-widget-backward): Declare obsolete.
20470 (widget-keymap): Put a :advertised-binding property rather
20471 than using advertised-widget-backward.
20472 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
20473 than using advertised-undo.
20474 * tutorial.el (tutorial--default-keys): Adjust accordingly.
20476 2009-09-10 Simon South <ssouth@slowcomputing.org>
20478 * progmodes/delphi.el (delphi-tab): Indent region when Transient
20479 Mark mode is enabled and region is active; otherwise indent or
20480 insert TAB as usual.
20481 (delphi-mode): Update description of TAB-key binding.
20483 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
20485 * subr.el (define-key-rebound-commands): Mark obsolete.
20486 * startup.el (precompute-menubar-bindings): Remove.
20487 (normal-top-level): Remove obsolete code that tried to precompute
20489 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
20490 define-key-rebound-commands and precompute-menubar-bindings.
20492 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
20494 * net/imap.el (imap-interactive-login): Better messages.
20495 (imap-open): Fix bug with renamed buffer on reconnect.
20496 (imap-authenticate): Add buffer-local imap-last-authenticator variable
20497 for easier debugging and cleaner code. On successful (guessed based on
20498 server capabilities) secondary authentication, set imap-state
20500 (imap-last-authenticator): Define imap-last-authenticator as a variable
20503 2009-09-10 Glenn Morris <rgm@gnu.org>
20505 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
20507 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
20508 (byte-compile-file-form-autoload): Don't warn about unknown functions
20509 where the autoload statement comes after the use.
20510 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
20511 that any handlers inside the body (eg require) are in turn respected.
20513 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
20516 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
20517 and syntax and abbrev tables basic docs, if they don't have any.
20519 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
20521 * international/mule-cmds.el (top-level): Require cl when compiling.
20522 (view-hello-file): Use default-value rather than
20523 default-enable-multibyte-characters.
20525 * progmodes/fortran.el: Move all safe and risky properties into the
20528 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
20529 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
20530 * mail/undigest.el:
20531 Put autoloads in rmail.el rather than loaddefs.el.
20532 * mail/rmail.el: Regenerate with extracted autoloads.
20534 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
20535 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
20537 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
20539 Reported in thread for Bug#4375.
20540 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
20541 "-data-evaluate-expression" instead of print.
20542 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
20543 (gdb-tooltip-print): Parse output from above MI command.
20544 (gdb): Revert 2009-08-11 change. User should detach inferior
20547 Remove the word "separate" from IO functions as inferior
20548 output is now never displayed in the GUD buffer.
20550 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
20552 * startup.el (command-line-normalize-file-name): On Windows and
20553 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
20555 2009-09-10 Juri Linkov <juri@jurta.org>
20557 * isearch.el (isearch-text-char-description): Propertize escape
20558 character sequences with the `escape-glyph' face. (Bug#4344)
20560 * simple.el (shell-command): Set asynchronous process filter to
20561 `comint-output-filter'. (Bug#4343)
20563 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
20564 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
20565 the list. Move "asm" to the bottom.
20566 (grep-find-ignored-directories): Add `choice' with nil value
20567 to empty the list easily.
20568 (grep-find-ignored-files): New option.
20569 (grep-files-history): Set to nil by default instead of '("ch" "el").
20570 (grep-compute-defaults): Add "<X>" to `grep-template'.
20571 (grep-read-files): Bind new local variables `default-alias' and
20572 `default-extension'. Use a list of default values for the file prompt.
20573 (lgrep): Add `--exclude=' command line options composed from
20574 `grep-find-ignored-files'.
20575 (rgrep): Add `-name' command line options composed from
20576 `grep-find-ignored-files'. (Bug#4301)
20578 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
20580 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
20583 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
20585 * calendar/time-date.el (autoload):
20586 Expand define-obsolete-function-alias into defalias and make-obsolete
20587 for old Emacsen that Gnus supports.
20588 (with-no-warnings): Define it for old Emacsen.
20589 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
20591 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
20592 float-time is available; suppress compile warning for time-to-seconds.
20594 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
20596 * net/imap.el (imap-message-map): Docstring fix.
20598 2009-09-09 Glenn Morris <rgm@gnu.org>
20600 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
20601 line numbers too. (Bug#4374)
20603 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
20605 * smerge-mode.el (smerge-remove-props, smerge-refine):
20606 Use with-silent-modifications (bug#4342).
20608 * subr.el (with-silent-modifications): New macro.
20610 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
20612 * files.el (top-level): Require `cl' when compiling.
20614 2009-09-07 Glenn Morris <rgm@gnu.org>
20616 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
20618 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
20619 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
20621 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
20623 * vc-git.el (vc-git-annotate-command): Use separator to parse
20624 arguments correctly.
20626 2009-09-06 Eli Zaretskii <eliz@gnu.org>
20628 * proced.el (proced-mode): Doc fix.
20630 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
20632 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
20634 (tramp-do-file-attributes-with-ls): Check for file existence at
20636 (tramp-do-file-attributes-with-stat): Likewise.
20637 (tramp-convert-file-attributes): Return nil when attr is nil.
20639 2009-09-05 Glenn Morris <rgm@gnu.org>
20641 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
20642 properties to this button.
20643 (diary-fancy-display): Don't extend the button to the final newline.
20644 (diary-fancy-display-mode): Continue to define "q" as a local key.
20646 * calendar/cal-china.el (holiday-chinese): Make it slightly more
20649 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
20651 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
20652 (byte-compile-dest-file-function): New option.
20653 (byte-compile-dest-file): Doc fix.
20654 Obey byte-compile-dest-file-function.
20655 (byte-compile-cl-file-p): New function.
20656 (byte-compile-eval): Only suppress noruntime warnings about cl functions
20657 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
20658 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
20659 than for file being previously loaded.
20660 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
20661 (byte-compile-file-form-require): Handle the case where requiring a file
20662 indirectly causes CL to be loaded.
20664 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20666 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
20667 before killing the old buffer, since by the time `kill-buffer' is
20668 run so many buffer variables have been set to nil that it may not
20669 behave as expected. (Bug#4061)
20671 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20673 * files.el (find-alternate-file): If the old buffer is modified
20674 and visiting a file, behave similarly to `kill-buffer' when
20675 killing it, thus reverting to the pre-1.878 behavior; see
20676 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
20677 for discussion. Also, consult `buffer-file-name' as a variable
20678 not as a function, for consistency with the rest of the code.
20680 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
20682 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
20683 also when adding a new directory.
20685 * net/tramp-compat.el (tramp-compat-line-beginning-position):
20688 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
20690 * files.el (locate-file-completion-table): Make it provide boundary
20691 information, so partial-completion works better.
20693 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
20695 * mail/footnote.el (Footnote-text-under-cursor):
20696 Check footnote-text-marker-alist before using it (bug#4324).
20698 2009-09-04 Glenn Morris <rgm@gnu.org>
20700 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
20701 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
20702 * play/solitaire.el, play/tetris.el:
20703 Remove leading * from defcustom and defface docs.
20705 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
20707 (diary-fancy-overriding-map): New variable.
20708 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
20711 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
20714 2009-09-03 Glenn Morris <rgm@gnu.org>
20716 * arc-mode.el (archive-mode):
20717 * dos-fns.el (set-default-process-coding-system):
20718 * man.el (Man-getpage-in-background):
20719 * menu-bar.el (menu-bar-describe-menu):
20720 * server.el (server-process-filter):
20721 * startup.el (command-line):
20722 * tar-mode.el (tar-header-block-tokenize, tar-extract):
20723 * w32-fns.el (set-default-process-coding-system):
20724 * x-dnd.el (x-dnd-handle-file-name):
20725 * international/mule-cmds.el (mule-menu-keymap)
20726 (set-default-coding-systems, language-info-alist, set-language-info)
20727 (set-language-environment, standard-display-european-internal)
20728 (set-locale-environment):
20729 * international/mule-diag.el (mule-diag):
20730 * mail/emacsbug.el (report-emacs-bug):
20731 * mail/rmail.el (rmail-mode):
20732 * mail/sendmail.el (mail-setup):
20733 Use default-value rather than default-enable-multibyte-characters.
20735 * progmodes/f90.el: Move all safe properties into the defcustoms.
20736 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
20738 * calendar/appt.el (appt-check):
20739 * calendar/diary-lib.el (diary-set-header, diary-live-p)
20740 (diary-check-diary-file, diary-list-entries)
20741 (diary-include-other-diary-files, diary-simple-display)
20742 (diary-fancy-display, diary-print-entries)
20743 (diary-mark-included-diary-files, diary-make-entry):
20744 Don't call substitute-in-file-name on diary-file.
20746 2009-09-03 Eduard Wiebe <usenet@pusto.de>
20747 Stefan Monnier <monnier@iro.umontreal.ca>
20749 * mail/footnote.el (footnote-prefix): Make it a defcustom.
20750 (footnote-mode-map): Move initialization into the declaration.
20751 (footnote-minor-mode-map): Define it rather than changing global-map.
20752 (footnote-mode): Use define-minor-mode.
20754 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
20756 * net/tramp.el (tramp-handle-file-attributes-with-ls)
20757 (tramp-do-file-attributes-with-perl)
20758 (tramp-do-file-attributes-with-stat): Rename from
20759 `tramp-handle-file-attributes-with-*'.
20760 (tramp-handle-file-attributes): Use them.
20761 (tramp-do-directory-files-and-attributes-with-perl)
20762 (tramp-do-directory-files-and-attributes-with-stat): Rename from
20763 `tramp-handle-directory-files-and-attributes-with-*'.
20764 (tramp-handle-directory-files-and-attributes): Use them.
20765 (tramp-method-out-of-band-p): Additional parameter SIZE.
20766 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
20767 (tramp-handle-write-region): Use it.
20768 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
20769 (tramp-handle-vc-registered): Check, whether the first run did
20770 return files to be tested.
20771 (tramp-advice-make-auto-save-file-name): Do not call directly
20772 `tramp-handle-make-auto-save-file-name', because this would bypass
20773 the locking mechanism.
20775 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
20776 (file-remote-p, process-file, start-file-process, set-file-times)
20777 (tramp-compat-file-attributes): Compatibility functions shall not
20778 call directly `tramp-handle-*', because this would bypass the
20780 (tramp-compat-number-sequence): New defun.
20782 2009-09-02 Glenn Morris <rgm@gnu.org>
20784 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
20785 alias for float-time.
20786 (time-to-number-of-days): In Emacs, use float-time.
20787 * net/newst-backend.el (time-add): Suppress warnings from compat
20789 * time.el (emacs-uptime, emacs-init-time):
20790 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
20791 Use float-time rather than time-to-seconds.
20793 * minibuffer.el (completion-initials-expand): Fix typo.
20795 * faces.el (modeline, modeline-inactive, modeline-highlight)
20796 (modeline-buffer-id):
20797 * info.el (info-menu-5): Mark these face aliases as obsolete.
20799 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20801 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
20803 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
20804 no "--thread" option.
20805 (gdb-stopped): Don't print "Switched to thread" message when it is
20808 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
20810 * minibuffer.el (completion-try-completion)
20811 (completion-all-completions): Remove ill-defined (and
20812 mistakenly installed and luckily never used nor documented)
20813 `completion-styles' property.
20814 (completion-initials-expand, completion-initials-all-completions)
20815 (completion-initials-try-completion): New functions.
20816 (completion-styles-alist): Add doc to each entry.
20817 Add new `initials' entry.
20819 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20821 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20822 MI command -var-evaluate-expression.
20823 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20824 and tweak for case of string child.
20825 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20827 2009-09-01 Glenn Morris <rgm@gnu.org>
20829 * add-log.el (change-log-date-face, change-log-name-face)
20830 (change-log-email-face, change-log-file-face, change-log-list-face)
20831 (change-log-conditionals-face, change-log-function-face)
20832 (change-log-acknowledgement-face):
20833 * cus-edit.el (custom-invalid-face, custom-rogue-face)
20834 (custom-modified-face, custom-set-face, custom-changed-face)
20835 (custom-saved-face, custom-button-face, custom-button-pressed-face)
20836 (custom-documentation-face, custom-state-face, custom-comment-face)
20837 (custom-comment-tag-face, custom-variable-tag-face)
20838 (custom-variable-button-face, custom-face-tag-face)
20839 (custom-group-tag-face-1, custom-group-tag-face):
20840 * diff-mode.el (diff-header-face, diff-file-header-face)
20841 (diff-index-face, diff-hunk-header-face, diff-removed-face)
20842 (diff-added-face, diff-changed-face, diff-function-face)
20843 (diff-context-face, diff-nonexistent-face):
20844 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20845 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20846 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20847 (Info-title-4-face):
20848 * isearch.el (isearch-lazy-highlight-face):
20849 * log-view.el (log-view-file-face, log-view-message-face):
20850 * paren.el (show-paren-match-face, show-paren-mismatch-face):
20851 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20852 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20854 * smerge-mode.el (smerge-mine-face, smerge-other-face)
20855 (smerge-base-face, smerge-markers-face):
20856 * wid-edit.el (widget-documentation-face, widget-button-face)
20857 (widget-field-face, widget-single-line-field-face)
20858 (widget-inactive-face, widget-button-pressed-face):
20859 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20860 (woman-addition-face):
20861 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20862 (eshell-ls-executable-face, eshell-ls-readonly-face)
20863 (eshell-ls-unreadable-face, eshell-ls-special-face)
20864 (eshell-ls-missing-face, eshell-ls-archive-face)
20865 (eshell-ls-backup-face, eshell-ls-product-face)
20866 (eshell-ls-clutter-face):
20867 * eshell/em-prompt.el (eshell-prompt-face):
20868 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20869 * obsolete/old-whitespace.el (whitespace-highlight-face):
20870 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20871 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20872 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20873 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20874 (antlr-font-lock-literal-face):
20875 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20876 (ebrowse-root-class-face, ebrowse-file-name-face)
20877 (ebrowse-default-face, ebrowse-member-attribute-face)
20878 (ebrowse-member-class-face, ebrowse-progress-face):
20879 * progmodes/make-mode.el (makefile-space-face):
20880 * progmodes/sh-script.el (sh-heredoc-face):
20881 * textmodes/flyspell.el (flyspell-incorrect-face)
20882 (flyspell-duplicate-face):
20883 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20884 * textmodes/texinfo.el (texinfo-heading-face):
20885 Mark face aliases with "-face" suffix as obsolete.
20887 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20890 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20891 (eudc-bob-sound-menu): Use defvar rather than defconst, since
20892 easy-menu-define wants to modify these.
20894 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20896 * net/browse-url.el (browse-url-file-url):
20897 * term/internal.el (dos-codepage-setup):
20898 Use default-value rather than default-enable-multibyte-characters.
20900 * progmodes/etags.el (etags-goto-tag-location):
20901 * progmodes/flymake.el (flymake-highlight-line)
20902 (flymake-goto-file-and-line, flymake-goto-line):
20903 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20904 (gdb-goto-breakpoint):
20905 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20906 * progmodes/python.el (python-find-function)
20907 (python-pdbtrack-track-stack-file):
20908 * progmodes/verilog-mode.el (verilog-surelint-off):
20909 * term/ns-win.el (ns-open-file-select-line):
20910 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20911 Use forward-line rather than goto-line.
20913 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20914 * textmodes/reftex-index.el (reftex-display-index):
20915 * textmodes/reftex-ref.el (reftex-offer-label-menu):
20916 * textmodes/reftex-toc.el (reftex-toc):
20917 Remove unnecessary bindings of default-major-mode (all are followed by
20918 major-mode check and possible mode switch).
20920 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20922 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20923 Handle watchpoints (bug#4282).
20924 (def-gdb-thread-buffer-command): Enable thread to be selected by
20925 clicking without selecting threads buffer first.
20926 (gdb-current-context-command): Use selected frame so that "up",
20927 "down" etc work in the GUD buffer.
20928 (gdb-update): Find selected frame before rendering stack buffer.
20929 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20931 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
20933 * progmodes/sym-comp.el (displayed-completions): Remove.
20934 (symbol-complete): Use minibuffer-complete.
20936 2009-08-31 Glenn Morris <rgm@gnu.org>
20938 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20940 * apropos.el (apropos-symbols-internal):
20941 Handle (obsolete) face aliases.
20943 * faces.el (describe-face): Adjust the output format to be more like
20944 describe-variable, and to mention (obsolete) face aliases.
20945 Adjust the whitespace so that help-setup-xref works.
20947 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20948 * calendar/diary-lib.el (diary-button-face):
20949 Mark these face aliases as obsolete.
20951 * calendar/calendar.el (calendar-today): Doc fix.
20953 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20955 * progmodes/gdb-mi.el (gdb-control-all-threads)
20956 (gdb-control-current-thread): Force tool bar update.
20957 (gdb-non-stop-handler): New function.
20958 (gdb-init-1): Use it to test if non-stop mode is supported.
20959 Remove unused gdbmi buffer type.
20961 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
20963 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20964 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
20966 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
20968 * comint.el (comint-exec-1): Check command is non-null first.
20969 Part of gdb-mi.el change (2009-08-28).
20971 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20973 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20975 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
20977 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20978 instead of `dolist' to avoid a recursive require when bootstrapping.
20980 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20982 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20984 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20986 * net/imap.el (imap-send-command): Simplify.
20987 (imap-wait-for-tag): point-max -> buffer-size.
20989 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20991 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20992 with constant argument.
20994 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20996 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20998 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20999 Change default, since most of our files don't have a history.
21000 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
21003 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21006 * calc/calc.el: Improve commenting convention.
21007 (calc-digit-map, toplevel): Simplify.
21009 * comint.el (comint-insert-input): Be careful to only set point if we
21010 don't delegate to some other command.
21012 * proced.el (proced-signal-list): Make it an alist.
21013 (proced-grammar-alist): Capitalize names.
21014 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
21015 Disable undo manually and make it read-only.
21016 Use completion-annotate-function.
21018 * minibuffer.el (minibuffer-message): If the current buffer is not
21019 a minibuffer, insert the message in the echo area rather than at the
21021 (completion-annotate-function): New variable.
21022 (minibuffer-completion-help): Use it.
21023 (completion--embedded-envvar-table): Environment vars are
21024 always case-sensitive.
21026 2009-08-30 Glenn Morris <rgm@gnu.org>
21028 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
21029 from fortran-current-defun.
21030 (fortran-beginning-of-subprogram): Be more precise about finding the
21031 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
21032 (fortran-end-of-subprogram): Simplify.
21033 (fortran-current-defun): Use fortran-start-prog-re.
21035 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
21037 * subr.el (do-after-load-evaluation): Simplify.
21039 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
21041 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
21043 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
21044 (vc-rcs-print-log): Use it.
21046 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
21048 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
21050 * paths.el (abbrev-file-name): Move to abbrev.el.
21051 * abbrev.el (abbrev-file-name): Move from paths.el.
21052 Obey user-emacs-directory.
21053 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
21054 user-emacs-directory.
21055 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
21056 abbrev-file-name and calc-settings-file any more.
21057 * startup.el (command-line): Recompute abbrev-file-name and
21058 abbreviated-home-dir.
21059 (normal-no-mouse-startup-screen): Improve the generic code and get rid
21060 of the special code for when C-h bindings haven't been changed.
21061 (display-startup-echo-area-message): Use with-current-buffer.
21062 (command-line-1): Use a list of strings, rather than a list of lists
21063 of strings for longopts.
21065 * files.el (get-free-disk-space): Use / for default-directory.
21067 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
21068 Use with-current-buffer.
21070 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
21071 Recognize immutable variables like most-positive-fixnum.
21072 (byte-compile-setq-default): Check and warn if trying to assign
21073 to an immutable variable, or a non-variable.
21075 * progmodes/cc-vars.el (c-comment-continuation-stars):
21076 * progmodes/cc-engine.el (c-looking-at-bos):
21077 * progmodes/cc-cmds.el (c-toggle-auto-state)
21078 (c-forward-into-nomenclature, c-backward-into-nomenclature)
21079 (c-comment-line-break-function): Add version of obsolescence.
21081 2009-08-28 Juri Linkov <juri@jurta.org>
21083 * files.el (magic-fallback-mode-alist): Add ZIP magic number
21084 associated with `archive-mode'.
21086 * image.el (image-type-header-regexps): Use only JPEG magic number
21087 to determine JPEG images, and don't use `image-jpeg-p' because
21088 Emacs can display non-JFIF non-Exif JPEG images.
21090 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
21092 * arc-mode.el (archive-mode):
21093 * emacs-lisp/re-builder.el (re-builder-unload-function):
21094 Protect against the default value of `major-mode' being nil.
21096 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
21098 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
21099 Fix typos in docstrings.
21101 * progmodes/js.el (js--macro-decl-re): Doc fix.
21102 (js--plain-method-re, js--split-name): Refloc docstring.
21103 (js--class-styles, js--make-merged-item, js--splice-into-items):
21104 Fix typos in docstrings; reflow docstrings.
21105 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
21106 (js--variable-decl-matcher, js--inside-pitem-p)
21107 (js--parse-state-at-point, js--get-all-known-symbols)
21108 (js--symbol-history, js-find-symbol, js--js-references)
21109 (js--moz-interactor, js--js-encode-value, js--read-tab):
21110 Fix typos in docstrings.
21112 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21114 * textmodes/reftex.el (reftex-get-file-buffer-force):
21115 * progmodes/verilog-mode.el (verilog-batch-execute-func):
21116 * emulation/viper.el (viper-go-away, viper-set-hooks):
21117 * emacs-lisp/re-builder.el (re-builder-unload-function):
21118 * emacs-lisp/bytecomp.el (byte-compile-file):
21119 * ses.el (ses-unload-function):
21120 * hexl.el (hexl-find-file):
21121 * files.el (normal-mode):
21122 * ehelp.el (with-electric-help):
21123 * autoinsert.el (auto-insert-alist):
21124 * arc-mode.el (archive-mode):
21125 Use (default-value 'major-mode) instead of default-major-mode.
21127 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
21128 * international/mule.el (load-with-code-conversion):
21129 * emacs-lisp/debug.el (debug):
21130 * ediff-vers.el (ediff-rcs-get-output-buffer):
21131 * dired.el (dired-internal-noselect): Don't let-bind
21132 default-major-mode around code that doesn't use it.
21133 E.g. buffer creation via get-buffer-create doesn't use it.
21135 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
21137 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
21138 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
21139 when writing the temp file. Otherwise, epa-file gets confused.
21140 (tramp-register-file-name-handlers): Make it a defun. Move also
21141 `epa-file-handler' to the front of `file-name-handler-alist'.
21143 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21145 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
21146 start right after a ^M.
21147 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
21148 (tramp-completion-file-name-regexp-separate)
21149 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
21150 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
21151 Don't modify last-coding-system-used by accident.
21152 (tramp-completion-file-name-handler): Apply the checks here,
21153 instead during registration.
21154 (tramp-register-file-name-handlers): Rename from
21155 `tramp-register-file-name-handler'. Register both
21156 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
21157 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
21159 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
21161 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
21162 Remove variable ...
21163 (gdb-init-1, gdb-display-separate-io-buffer)
21164 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
21166 (gdb-inferior-io-mode): Use make-comint-in-buffer.
21167 (gdb-inferior-filter): Use comint-output-filter to stop
21168 echoing and remove ^M characters.
21170 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21172 * emulation/viper-init.el (viper-restore-cursor-type):
21173 * emulation/cua-base.el (cua--update-indications):
21174 Replace default-cursor-type with (default-value 'cursor-type).
21176 * mail/sendmail.el (mail-recover-1):
21177 * international/mule-diag.el (describe-current-coding-system-briefly)
21178 (describe-current-coding-system):
21179 * international/mule-cmds.el (select-safe-coding-system)
21180 (select-message-coding-system)
21181 (set-language-environment-coding-systems, set-locale-environment):
21182 * hexl.el (hexl-insert-multibyte-char):
21183 * dos-w32.el (find-buffer-file-type-coding-system):
21184 * simple.el (what-cursor-position):
21185 Replace uses of default-buffer-file-coding-system
21186 with (default-value 'buffer-file-coding-system).
21188 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
21189 Replace uses of default-cursor-in-non-selected-windows
21190 with (default-value 'cursor-in-non-selected-windows).
21191 Use with-current-buffer.
21193 * mail/feedmail.el: Use CL macros.
21194 (feedmail-run-the-queue, feedmail-send-it-immediately):
21195 * dos-w32.el (find-buffer-file-type): Replace uses of
21196 default-buffer-file-type with (default-value 'buffer-file-type).
21198 2009-08-28 Glenn Morris <rgm@gnu.org>
21200 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
21201 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
21202 Use default-value of major-mode rather than default-major-mode.
21204 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
21206 * Makefile.in (update-elcfiles): Report left over elc files.
21208 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
21209 expand-file-name and with-current-buffer.
21210 (mail-get-names, mail-directory): Use with-current-buffer.
21212 * vc.el (vc-read-revision): New function.
21213 (vc-version-diff, vc-merge): Use it.
21215 2009-08-27 Sam Steingold <sds@gnu.org>
21217 * simple.el (kill-do-not-save-duplicates): New user option.
21218 (kill-new): When it is non-nil, and the new string is the same as
21219 the latest kill, set replace to t to avoid duplicates in kill-ring.
21221 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
21223 * net/tramp.el (tramp-handle-process-file): Do not flush all
21224 caches when `process-file-side-effects' is set.
21225 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
21226 instead of `tramp-find-file-exists-command'.
21227 Unset `process-file-side-effects'.
21229 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
21231 * net/tramp.el (tramp-methods): New method "rsyncc".
21232 (top): Add completion function for "rsyncc".
21233 (tramp-message-show-message): New defvar.
21234 (tramp-message, tramp-error): Use it.
21235 (tramp-do-copy-or-rename-file-directly): Extend check for direct
21237 (tramp-do-copy-or-rename-file-out-of-band): Handle new
21238 `tramp-methods' entry `copy-env' of "rsyncc".
21239 (tramp-vc-registered-read-file-names): New defconst.
21240 (tramp-vc-registered-file-names): New defvar.
21241 (tramp-handle-vc-registered): Implement optimization strategy.
21242 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
21243 (tramp-vc-file-name-handler): New defun.
21244 (tramp-get-ls-command, tramp-get-test-command)
21245 (tramp-get-file-exists-command, tramp-get-remote-ln)
21246 (tramp-get-remote-perl, tramp-get-remote-stat)
21247 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
21249 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
21250 (tramp-cache-inhibit-cache): Extend doc string. It allows also
21252 (tramp-get-file-property): Check for timestamps in
21253 `tramp-cache-inhibit-cache'.
21254 (tramp-set-file-property): Write timestamp.
21256 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21258 * language/japan-util.el (japanese-symbol-table): Add entries for
21261 * international/characters.el: Add category `j' to cp932-2-byte.
21263 2009-08-27 Kenichi Handa <handa@m17n.org>
21265 * international/fontset.el (build-default-fontset-data): New macro.
21266 (setup-default-fontset): Use build-default-fontset-data for CJK,
21267 tibetan, ethiopic, and ipa.
21269 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
21271 * cus-start.el (default-major-mode): Customize `major-mode' instead.
21272 (enable-multibyte-characters): Not customizable any more.
21274 * subr.el (default-mode-line-format, default-header-line-format)
21275 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
21276 (default-direction-reversed, default-truncate-lines)
21277 (default-left-margin, default-tab-width, default-case-fold-search)
21278 (default-left-margin-width, default-right-margin-width)
21279 (default-left-fringe-width, default-right-fringe-width)
21280 (default-fringes-outside-margins, default-scroll-bar-width)
21281 (default-vertical-scroll-bar, default-indicate-empty-lines)
21282 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
21283 (default-fringe-cursor-alist, default-scroll-up-aggressively)
21284 (default-scroll-down-aggressively, default-fill-column)
21285 (default-cursor-type, default-buffer-file-type)
21286 (default-cursor-in-non-selected-windows)
21287 (default-buffer-file-coding-system, default-major-mode)
21288 (default-enable-multibyte-characters): Mark as obsolete.
21290 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
21292 * vc-dir.el (vc-dir-update): Remove debug helper.
21294 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
21296 2009-08-26 Sam Steingold <sds@gnu.org>
21298 * simple.el (save-interprogram-paste-before-kill): New user option.
21299 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
21300 save the interprogram-paste into kill-ring before overriding it
21301 with the Emacs kill.
21303 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
21305 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
21306 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
21307 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
21308 and move to vc-rcs.el.
21309 (vc-default-next-revision): Rename to vc-rcs-next-revision and
21311 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
21312 (vc-rcs-update-changelog): Remove.
21313 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
21314 and move to vc-rcs.el.
21316 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
21317 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
21319 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
21320 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
21321 vc.el, renamed to be RCS specific.
21323 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
21325 (vc-cvs-update-changelog): Move here from vc.el.
21327 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
21330 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
21332 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
21334 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
21336 * vc-git.el (vc-git-register): Use "git add" for directories.
21337 (vc-git-stash, vc-git-stash-show): New functions.
21338 (vc-git-extra-menu-map): Bind them.
21340 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
21341 directory correctly in case the item is a directory itself.
21343 * vc.el: Document the desired behavior for reverted files in the
21345 (vc-default-prettify-state-info): Remove function, unused.
21347 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
21349 2009-08-26 Glenn Morris <rgm@gnu.org>
21351 * bindings.el (standard-mode-line-format): Reposition dashes in
21352 which-func entry. (Bug#4217)
21354 * files.el (enable-local-variables, enable-local-eval)
21355 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
21357 (auto-mode-alist, ignored-local-variables)
21358 (save-some-buffers-action-alist): Move risky declarations to the
21360 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
21361 (font-lock-defaults, format-alist, imenu--index-alist)
21362 (imenu-generic-expression, input-method-alist, minor-mode-alist)
21363 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
21364 (mode-line-modified, mode-line-mule-info, mode-line-position)
21365 (mode-line-process, mode-line-remote, outline-level)
21366 (parse-time-rules, rmail-output-file-alist)
21367 (special-display-buffer-names, vc-mode):
21368 Move risky declarations to the relevant files.
21369 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
21370 (mode-line-modified, mode-line-process, mode-line-position)
21371 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
21372 * font-core.el (font-lock-defaults):
21373 * format.el (format-alist):
21374 * vc-hooks.el (vc-mode):
21375 * window.el (special-display-buffer-names):
21376 * international/mule-cmds.el (input-method-alist):
21377 Define riskiness here (dumped file) rather than in files.el.
21378 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
21379 * imenu.el (imenu-generic-expression, imenu--index-alist):
21380 * outline.el (outline-level):
21381 * time.el (display-time-string):
21382 * calendar/parse-time.el (parse-time-rules):
21383 * mail/rmailout.el (rmail-output-file-alist):
21384 Autoload riskiness here, rather than placing in files.el.
21386 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
21388 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
21390 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
21392 * simple.el (process-file-side-effects): New defvar.
21394 * dired-aux.el (dired-show-file-type):
21395 * vc.el (vc-diff-internal):
21396 * vc-arch.el (vc-arch-diff):
21397 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
21398 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
21399 * vc-git.el (vc-git-registered, vc-git-working-revision)
21400 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
21401 (vc-git--empty-db-p):
21402 * vc-hooks.el (vc-user-login-name):
21403 * vc-svn.el (vc-svn-registered, vc-svn-state)
21404 (vc-svn-dir-extra-headers, vc-svn-find-revision):
21405 * progmodes/grep.el (grep-probe): Let-bind
21406 `process-file-side-effects' with nil.
21408 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
21410 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
21411 daemon. Replace ping by checking for running service for bluez
21412 and zeroconf. (Bug#4239)
21414 2009-08-25 Kevin Ryde <user42@zip.com.au>
21416 * net/dig.el (dig): Add autoload cookie.
21418 2009-08-25 Glenn Morris <rgm@gnu.org>
21420 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
21421 load-history for absolute file-names.
21422 (byte-compile-file-form-require): Warn about use of the cl package.
21424 * format.el (format-alist): Doc fix.
21426 * play/bubbles.el (top-level): Don't require cl at run-time.
21428 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
21431 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
21433 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
21435 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
21437 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
21439 * calc/calc-alg.el (math-trig-rewrite)
21440 (math-hyperbolic-trig-rewrite): New functions.
21441 (calc-simplify): Simplify trig functions when asked.
21443 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21445 * diff-mode.el (diff-find-source-location): Avoid goto-line.
21447 2009-08-24 Kenichi Handa <handa@m17n.org>
21449 * language/ind-util.el (mapthread): Delete it.
21450 (combinatorial): New function.
21451 (indian--puthash-cv): Use combinatorial instead of mapthread.
21453 2009-08-22 Kevin Ryde <user42@zip.com.au>
21455 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
21456 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
21457 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
21458 Clarify docstring that the value is strings not symbols.
21459 (checkdoc-list-of-strings-p): New function.
21461 2009-08-22 Glenn Morris <rgm@gnu.org>
21463 * files.el (auto-mode-alist):
21464 * hippie-exp.el (he-concat-directory-file-name):
21465 * lpr.el (lpr-windows-system, printer-name):
21466 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
21467 * ps-print.el (ps-windows-system):
21468 * startup.el (command-line):
21469 * emulation/viper-ex.el (viper-glob-function):
21470 * international/mule-cmds.el (set-language-environment-coding-systems):
21471 * net/ange-ftp.el (ange-ftp-write-region):
21472 * obsolete/fast-lock.el (fast-lock-cache-name):
21473 Remove code for defunct system-types emx, macos, mswindows, next-mach,
21474 unisoft-unix, vax-vms, win32, w32.
21476 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
21477 given name if the pattern is not more specific.
21479 * calendar/lunar.el (lunar-phase-names): New option.
21480 (lunar-phase): Doc fix.
21481 (lunar-cycles-per-year): New constant.
21482 (lunar-index): New function.
21483 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
21484 (lunar-phase-name): Use lunar-phase-names.
21485 (calendar-lunar-phases): Use format.
21486 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
21488 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
21489 Copy imenu-example--name-and-position function here for own use.
21490 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
21492 * bs.el (bs--redisplay):
21493 * cus-edit.el (custom-redraw):
21494 * ibuffer.el (ibuffer-bury-buffer):
21495 * server.el (server-goto-line-column):
21496 * startup.el (command-line-1):
21497 * strokes.el (strokes-xpm-for-stroke):
21498 * term.el (term-display-buffer-line):
21499 * view.el (View-goto-line):
21500 * calc/calc.el (calc-do, calc-trail-buffer):
21501 * play/gamegrid.el (gamegrid-add-score-insecure):
21502 * progmodes/ada-mode.el (ada-compile-goto-error):
21503 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
21504 (ebrowse-select-1st-to-9nth):
21505 * progmodes/cperl-mode.el (cperl-time-fontification):
21506 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
21507 * progmodes/gud.el (gud-display-line):
21508 (idlwave-shell-display-line):
21509 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
21510 * progmodes/make-mode.el (makefile-browser-toggle):
21511 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
21512 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
21513 * textmodes/picture.el (picture-draw-rectangle):
21514 * textmodes/reftex-index.el (reftex-index-goto-letter):
21515 (reftex-select-jump-to-previous):
21516 * textmodes/reftex-sel.el (reftex-find-start-point)
21517 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
21518 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
21519 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
21520 * textmodes/tex-mode.el (tex-compilation-parse-errors):
21521 * textmodes/two-column.el (2C-associated-buffer):
21522 Use forward-line rather than goto-line.
21524 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
21527 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
21528 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
21529 (quick-check-list-to-regexp): Declare.
21531 * progmodes/make-mode.el (makefile-browser-insert-selection):
21532 Use goto-char rather than goto-line.
21534 * progmodes/prolog.el (compilation-error-regexp-alist)
21535 (compilation-forget-errors): Declare.
21537 2009-08-22 Juri Linkov <juri@jurta.org>
21539 * progmodes/grep.el (lgrep, rgrep): At the beginning
21540 set `dir' to `default-directory' unless `dir' is a non-nil
21541 readable directory. (Bug#4052)
21542 (lgrep, rgrep): Change a weird way to report an error
21543 from using `read-string' to using `error'.
21544 Instead of using interactive arguments in the function body,
21545 add new argument `confirm'.
21547 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
21549 * textmodes/remember.el (remember-buffer):
21550 * progmodes/cperl-mode.el (cperl-vc-header-alist):
21551 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
21552 (icalendar-extract-ical-from-buffer):
21553 * net/newst-treeview.el (newsticker-groups-filename):
21554 * net/newst-backend.el (newsticker-cache-filename):
21555 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
21556 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
21557 (speedbar-add-ignored-path-regexp, speedbar-line-path)
21558 (speedbar-buffers-line-path, speedbar-path-line)
21559 (speedbar-buffers-line-path):
21560 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
21562 * epa.el (epa-display-verify-result):
21563 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
21565 2009-08-21 Glenn Morris <rgm@gnu.org>
21567 * progmodes/js.el (inferior-moz-process): Fix declaration.
21569 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
21571 * obsolete/rnewspost.el (news-mail-reply):
21572 Use goto-char rather than goto-line.
21574 * term/ns-win.el (ns-open-file-select-line):
21575 Use line-beginning-position rather than goto-line.
21577 * apropos.el (apropos-command):
21578 * ehelp.el (electric-helpify):
21579 * printing.el (pr-show-setup):
21580 * strokes.el (strokes-help):
21581 * tutorial.el (tutorial--describe-nonstandard-key)
21582 (tutorial--detailed-help):
21583 * woman.el (woman-mini-help, woman-display-extended-fonts):
21584 * calc/calc-help.el (calc-describe-key):
21585 * emulation/edt.el (edt-electric-helpify):
21586 * international/mule-diag.el (mule-diag):
21587 * play/yow.el (apropos-zippy):
21588 * progmodes/python.el (python-describe-symbol):
21589 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
21590 * textmodes/table.el (*table--cell-describe-mode)
21591 (*table--cell-describe-bindings):
21592 Use help-print-return-message rather than the now obsolete alias.
21594 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
21595 (calendar-cursor-to-visible-date):
21596 * play/5x5.el (5x5-position-cursor):
21597 * play/decipher.el (decipher):
21598 * play/gomoku.el (gomoku-goto-xy):
21599 * play/landmark.el (lm-goto-xy):
21600 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
21601 (mpuz-paint-digit):
21602 Use forward-line, not goto-line.
21604 * mail/rmail.el (rmail-obsolete): Delete custom group.
21605 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
21606 (rmail-remote-password, rmail-remote-password-required):
21607 Remove unneeded :set-after and :set properties.
21609 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
21611 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
21613 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
21615 * loadup.el: Remove leftover macos code.
21617 * vc-git.el (vc-git-annotate-command): Run asynchronously.
21618 Explicitly pass the date format to git blame so that user local
21619 so that the output format can be parsed.
21621 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
21623 * net/dbus.el (top): Don't check for (getenv
21624 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
21626 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
21628 * log-edit.el (log-edit-strip-single-file-name): New var.
21629 (log-edit-insert-changelog): Use it. Bug#3571.
21631 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21633 * subr.el (read-passwd): Use read-key so keypad keys work as well.
21636 * help.el (help-print-return-message): Rename from
21637 print-help-return-message.
21639 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
21640 cvs-mode-map parent hack.
21641 (log-view-mode): Derive from special-mode.
21643 * linum.el (linum-mode): window-size-change-functions is redundant.
21644 Adapt to new window-configuration-change-hook behavior.
21645 (linum-after-size, linum-after-config): Remove.
21647 * imenu.el (imenu-example--name-and-position)
21648 (imenu-example--lisp-extract-index-name)
21649 (imenu-example--create-lisp-index, imenu-example--create-c-index):
21652 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
21653 (inferior-prolog-mode): Use it.
21654 (inferior-prolog-load-file): Reset list of errors.
21656 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21658 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
21660 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
21662 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
21664 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
21665 is running already.
21667 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21669 * subr.el (listify-key-sequence-1): Use normal syntax since those
21670 integers are nowadays always represented by the same (positive) number
21672 (read-key-empty-map): New const.
21673 (read-key-delay): New var.
21674 (read-key): New function.
21675 (force-mode-line-update): Use with-current-buffer.
21676 (locate-user-emacs-file): Don't forget to abbreviate the file name.
21677 (start-process-shell-command, start-file-process-shell-command):
21678 Discourage the use of command-args.
21680 2009-08-19 Glenn Morris <rgm@gnu.org>
21682 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
21684 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21686 * simple.el (choose-completion-string): Don't rely on
21687 minibuffer-completing-file-name and ad-hoc checks to decide whether
21688 to continue completion or not.
21690 * minibuffer.el (minibuffer-hide-completions): New function.
21691 (completion--do-completion): Use it.
21692 (completions-annotations): New face.
21693 (completion--insert-strings): Use it.
21694 (completion-pcm--delim-wild-regex): Add docstring.
21695 (completion-pcm--string->pattern): Add support for 0-width delimiters
21696 in completion-pcm--delim-wild-regex.
21698 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
21700 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
21701 Remove unused var `buffer-modified-p'.
21703 * minibuffer.el (completion--do-completion): Move point for the #b001
21704 case as well (bug#4176).
21705 (minibuffer-complete, minibuffer-complete-word): Don't move point.
21707 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
21709 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
21710 and :session buses.
21712 2009-08-18 Kenichi Handa <handa@m17n.org>
21714 * international/ucs-normalize.el (ucs-normalize-version):
21716 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
21717 (utf-8-hfs): Make it perform normalization on encoding too.
21719 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
21720 (sentence-end-without-space): Delete duplicated chars.
21721 (sentence-end-base): Likewise.
21723 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
21724 (html-mode): Delete duplicated chars from sentence-end-base.
21726 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
21727 (texinfo-mode): Delete duplicated chars from sentence-end-base.
21729 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
21731 * files.el (hack-one-local-variable): If the mode function is for
21732 a minor mode, pass it an argument (Bug#4148).
21734 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
21736 * net/tramp.el (tramp-register-completion-file-name-handler):
21737 Check also for (member 'partial-completion completion-styles).
21739 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21741 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
21744 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
21746 * progmodes/cperl-mode.el: Merge upstream 6.2.
21747 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
21748 (cperl-forward-re): Check cperl-brace-recursing.
21749 (cperl-highlight-charclass): New function.
21750 (cperl-find-pods-heres): Use it.
21751 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
21752 (cperl-beautify-regexp-piece): Fix column calculation.
21753 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
21754 (cperl-beautify-level): Don't process entire regexp.
21755 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
21757 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
21758 (cperl-init-faces): Build a list in the normal way.
21760 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21762 * calendar/parse-time.el (parse-time-string-chars): Save match
21765 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
21767 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
21768 (sql-product): Use it.
21769 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
21770 (sql-set-product): Add completion.
21771 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
21772 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
21773 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
21774 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
21775 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
21776 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
21777 (sql-highlight-db2-keywords): Remove.
21778 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
21779 (sql-highlight-product): Use derived-mode-p.
21780 (sql-set-sqli-buffer): Use with-current-buffer.
21781 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
21784 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
21786 * term.el: Fix commenting convention, turn comments into docstrings.
21788 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21790 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
21792 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
21794 * calendar/parse-time.el (parse-time-string-chars): Compute using
21795 character classes, to handle non-ascii characters (Bug#3190).
21797 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21799 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
21800 another heredoc if the user adds another < (Bug#3226).
21802 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
21803 Don't initialize based on window-system (Bug#4124).
21805 * facemenu.el (facemenu-read-color): Use a completion function
21806 that accepts any defined color, such as RGB triplets (Bug#3677).
21808 * files.el (get-free-disk-space): Change fallback default
21809 directory to /. Expand DIR argument before switching to fallback.
21810 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
21812 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21814 * files.el (load-library): Doc fix.
21816 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
21818 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21819 (viper-if-string): Redefine C-s in the minibuffer to insert the last
21820 incremental search string.
21822 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21825 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21826 (ediff-merge-region-is-non-clash)
21827 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21828 Also check if the job is really a merge job.
21830 * ediff.el (ediff-current-file): New function.
21832 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21834 * progmodes/js.el: Edit docstrings throughout to follow Emacs
21836 (js-insert-and-indent): Delete function.
21837 (js-mode-map): Don't bind keys to js-insert-and-indent.
21838 (js-beginning-of-defun): Rename from js--beginning-of-defun.
21839 (js-end-of-defun): Rename from js--end-of-defun.
21840 (js-auto-indent-flag): Delete variable.
21842 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
21844 * progmodes/js.el: Remove proclaim statement.
21845 Defvar which-func-imenu-joiner-function to silence compiler.
21847 * files.el (auto-mode-alist): Use js-mode for .js files.
21849 * progmodes/js2-mode.el: Remove file.
21851 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21853 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21855 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21857 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
21858 Karl Landstrom <karl.landstrom@brgeight.se>
21860 * progmodes/js.el: New file.
21862 2009-08-14 Mark A. Hershberger <mah@everybody.org>
21864 * timezone.el (timezone-parse-date): Add ability to understand ISO
21865 basic format (minimal separators) dates in addition to the
21866 already-supported extended format dates.
21868 2009-08-14 Eli Zaretskii <eliz@gnu.org>
21870 * international/ucs-normalize.el: Add a `coding' file variable.
21872 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21874 2009-08-14 Sam Steingold <sds@gnu.org>
21876 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21878 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
21880 * faces.el (help-argument-name): Define it here instead of
21881 help-fns.el, because in daemon mode help-fns.el may be loaded when
21882 faces are still uninitialized (Bug#1078).
21884 * help-fns.el (help-argument-name): Move defface to faces.el.
21886 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
21888 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21889 create buffer with a pty but no process so that GDB can make the
21890 inferior the controlling process.
21892 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
21894 * international/ucs-normalize.el: New file.
21896 2009-08-13 Richard Stallman <rms@gnu.org>
21898 * mail/rmail.el (rmail-get-attr-names):
21899 Accept an attribute header that is too short.
21901 * mail/rmail.el (rmail-forget-messages):
21902 Ignore nil elt in rmail-message-vector. Use dotimes.
21904 * progmodes/compile.el (compilation-goto-locus):
21905 Use next-error-move-function.
21907 * simple.el (next-error-move-function): New variable.
21909 2009-08-12 Juri Linkov <juri@jurta.org>
21911 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21912 always non-nil. (Bug#4052)
21914 * replace.el (read-regexp): Return empty string when
21915 `default-value' is nil.
21916 (keep-lines-read-args): Don't use empty string as the
21917 default value for `read-regexp'. (Bug#2495)
21919 2009-08-12 Juri Linkov <juri@jurta.org>
21921 * international/mule-cmds.el (ucs-insert): Change arguments
21922 from `arg' to `character', `count', `inherit' to be the same
21923 as in `insert-char'. Doc fix. (Bug#4039)
21925 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21927 2009-08-12 Juri Linkov <juri@jurta.org>
21929 * files-x.el: New file.
21931 * files.el: Move code that deals with adding/deleting
21932 file/directory-local variables to files-x.el.
21934 * Makefile.in (ELCFILES): Add files-x.elc.
21936 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
21938 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21939 to use `goto-line'.
21940 (gdb-place-breakpoints, gdb-get-location): Rewritten without
21942 (gdb-invalidate-disassembly): Do not refresh upon receiving
21943 'update signal. Instead, update all disassembly buffers only after
21945 (gdb): Send -target-detach when buffer is killed (Bug#3794).
21946 (gdb-starting): Move -data-list-register-names...
21947 (gdb-stopped): ...here so it's sent when first thread stops.
21948 (gdb-registers-handler-custom): Do nothing if register names are
21951 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21952 from `gdb-mi.el' to avoid extra tangling.
21954 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21955 change which breaks `gud-def' definitions used in `gdb'.
21956 (gdb-update-gud-running): No extra fuss for updating frame number.
21958 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
21960 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21961 (describe-language-environment-map, setup-language-environment-map)
21962 (set-coding-system-map): Move initialization into declaration.
21963 (set-language-info-alist): Last arg to define-key-after can be skipped.
21965 * international/quail.el (quail-completion-1): Simplify.
21966 (quail-define-rules): Use slightly more compact code.
21967 (quail-insert-decode-map): Propertize keys, compact columns.
21969 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21972 2009-08-10 Miles Bader <miles@gnu.org>
21974 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21975 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21976 (js2-instance-member, js2-private-member, js2-private-function-call)
21977 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21978 (js2-magic-paren, js2-external-variable):
21979 Remove "-face" suffix from face names.
21980 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21981 (js2-highlight-undeclared-vars, js2-peek-token)
21982 (js2-parse-function-params, js2-mode-show-errors)
21983 (js2-mode-show-warnings, js2-make-magic-delimiter)
21984 (js2-mode-highlight-magic-parens): Update to use new face names.
21986 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
21988 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21989 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
21991 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
21993 * subr.el: Provide hashtable-print-readable.
21995 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21996 hs-c-like-adjust-block-beginning.
21997 (hs-hide-block-at-point): Stop hiding at the beginning of
21998 hs-block-end-regexp (Bug#700).
22000 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
22002 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
22004 (gdb-registers-handler-custom): Do not fail when register names
22007 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
22009 * progmodes/gdb-mi.el (gdb-control-all-threads)
22010 (gdb-control-current-thread): Interactive setters for
22011 `gdb-gud-control-all-threads' to use in menu.
22012 (gdb-show-run-p): Show «Go» when process is not active.
22013 (gud-tool-bar-map): Add non-stop/A,T indicator.
22014 Uses gud/thread.xpm and gud/all.xpm.
22016 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
22018 * net/net-utils.el (net-utils-font-lock-keywords): New var.
22019 (nslookup-font-lock-keywords): Make it a variable.
22020 (net-utils-mode): New mode for viewing diagnostic network output.
22021 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
22022 (net-utils-run-simple): New function.
22023 (ifconfig, iwconfig, netstat, arp, route): Use it.
22025 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
22027 * progmodes/gdb-mi.el (gdb-read-memory-custom)
22028 (gdb-memory-set-address, def-gdb-set-positive-number)
22029 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
22030 after changing settings.
22031 (gdb-invalidate-disassembly): Update when first shown.
22032 (gdb-edit-locals-value): Fix.
22033 (gdb-registers-handler-custom): Print registers in right order and
22034 allow changing register values (only for current thread yet).
22035 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
22036 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
22037 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
22038 (gdb-locals-handler-custom, gdb-registers-handler-custom):
22039 Thread info in mode name.
22040 (gdb-registers-mode-map): TAB to switch to locals.
22042 2009-08-08 Eli Zaretskii <eliz@gnu.org>
22044 * mail/rmail.el (rmail-add-mbox-headers)
22045 (rmail-set-message-counters-counter): Search for
22046 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
22048 2009-08-08 Glenn Morris <rgm@gnu.org>
22050 * Makefile.in (ELCFILES): Update.
22052 2009-08-07 Eli Zaretskii <eliz@gnu.org>
22054 * mail/sendmail.el (mail-yank-original):
22055 Set buffer-file-coding-system from the one used by the message whose
22058 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
22059 to "windows" when "pgnuplot" is used.
22060 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
22061 Don't call accept-process-output if "pgnuplot" is used.
22062 (calc-graph-init): Don't send -display and -geometry to
22063 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
22064 running "pgnuplot -V" with shell-command-to-string.
22066 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
22069 2009-08-07 Eli Zaretskii <eliz@gnu.org>
22071 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
22074 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
22076 * vc-dispatcher.el (vc-resynch-window): Update comment.
22078 * term.el (term-handle-ansi-escape): Add comments with the
22079 terminfo capabilities implemented.
22081 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
22083 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
22084 (gdb-var-create-handler): Rewritten using JSON parser.
22085 (gdb-propertize-header): Move earlier.
22086 (gdb-set-header): Remove to avoid duplication.
22087 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
22088 Refresh disassembly buffers only after threads list have been
22090 (gdb-threads-header, gdb-registers-header): Per-buffer header line
22093 2009-08-04 Juri Linkov <juri@jurta.org>
22095 * files.el: Commands to add/delete file/directory-local variables.
22096 (read-file-local-variable, read-file-local-variable-value)
22097 (read-file-local-variable-mode, modify-file-local-variable)
22098 (modify-file-local-variable-prop-line)
22099 (modify-dir-local-variable): New functions.
22100 (add-file-local-variable, delete-file-local-variable)
22101 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
22102 (add-dir-local-variable, delete-dir-local-variable)
22103 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
22104 (copy-dir-locals-to-file-locals-prop-line): New commands.
22106 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
22108 * abbrev.el (insert-abbrev-table-description): Prettify output.
22109 Suggested by Karl Chen.
22111 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
22113 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
22114 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
22115 (gdb-overlay-arrow-position, gdb-thread-position)
22116 (gdb-disassembly-position): Declare variables.
22117 (gdb-wait-for-pending): Function now.
22118 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
22119 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
22120 compilation goes smoothly.
22121 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
22122 (gdb-non-stop-setting): New customization setting which replaces
22123 `gdb-non-stop' so changing it doesn't break active GDB session.
22124 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
22125 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
22126 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
22127 (gdb-show-threads-by-default): New customization options.
22128 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
22130 (gdb-get-buffer-create): Send buffers update signal when they are
22132 (gdb-invalidate-locals, gdb-invalidate-registers)
22133 (gdb-invalidate-breakpoints)
22134 (gdb-invalidate-threads, gdb-invalidate-disassembly)
22135 (gdb-invalidate-memory): Accept update signal.
22136 (gdb-current-context-command): Use --frame option.
22137 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
22138 Implement `gdb-frame-number' selection logic.
22139 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
22140 whether to show GUD toolbar buttons.
22141 (gdb-thread-exited): Unselect current thread when it exits.
22142 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
22143 (gdb-mark-line): Routine which sets overlay arrow or inverses
22144 video on fringeless displays.
22145 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
22146 to build aligned columns of data in GDB buffers and set text
22147 properties line-by-line.
22148 (gdb-invalidate-breakpoints)
22149 (gdb-breakpoints-list-handler-custom)
22150 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
22151 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
22152 (gdb-registers-handler-custom): Align data columns.
22153 (gdb-locals-handler-custom): Now prints data like in variable
22155 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
22156 Remove confusing buttons.
22157 (gdb-invalidate-threads): Append --frame.
22158 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
22159 between breakpoints/threads buffers.
22160 (gdb-set-window-buffer): Now can ignore dedicated windows.
22161 (gdb-propertize-header): Use `gdb-set-window-buffer'.
22162 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
22163 (def-gdb-thread-buffer-gud-command): Replaces
22164 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
22165 for fine thread control.
22166 (gdb-preempt-existing-or-display-buffer): New function used to
22167 display bound buffers without breaking window layout.
22168 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
22169 (gdb-select-frame): New version of `gdb-frames-select' which now
22170 sets `gdb-frame-number' so commands may use --frame option instead
22171 of inner debugger state.
22172 (gdb-frame-handler): Do not set `gdb-frame-number'.
22173 (gdb-threads-mode-map): Select threads with mouse.
22175 * progmodes/gud.el (gdb-gud-context-call): Declare function to
22176 avoid compilation warning.
22177 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
22180 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
22181 Argument `key' renamed to `buffer-type'.
22182 (gdb-current-context-buffer-name): Do not add thread info to
22183 buffer name when no thread is selected.
22184 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
22185 command (bug 3794).
22186 (gdb-thread-selected): Handle `=thread-selected' notification.
22187 (gdb-wait-for-pending): New macro to deal with congestion problems.
22188 (gdb-breakpoints-list-handler-custom): Don't fail on pending
22190 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
22191 This fixes problem similar to one described in bug 3947.
22192 (gud-menu-map): More menu items.
22193 (gdb-init-1): Reset `gdb-thread-number' to nil.
22195 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
22198 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
22199 (gdb-current-context-command): Do not append --thread if
22200 `gdb-thread-number' is nil.
22201 (gdb-running-threads-count, gdb-stopped-threads-count):
22203 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
22204 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
22205 New customization options.
22206 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
22208 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
22209 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
22210 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
22211 set `gdb-thread-number' and update `gud-running' properly.
22212 (gdb-running): Update threads list when new threads appear.
22213 (gdb-stopped): Support non-stop operation and new thread switching
22215 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
22216 (gdb-json-partial-output): New set of JSON routines.
22217 (def-gdb-auto-update-trigger): New `signal-list' optional
22219 (gdb-thread-list-handler-custom): Update `gud-running',
22220 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
22221 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
22222 (gdb-continue-thread, gdb-step-thread): New commands for fine
22223 thread execution control.
22224 (gud-menu-map): New menu items to switch non-stop options.
22225 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
22226 (gdb-send): Mimic RET properly (bug 3794).
22228 * progmodes/gdb-mi.el (gdb-rules-name-maker)
22229 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
22231 (def-gdb-auto-update-handler): New nopreserve optional argument.
22232 (gdb-stack-list-frames-custom): Print stack from top to bottom.
22234 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
22235 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
22236 (gdb-parent-mode): New mode to derive other GDB modes from.
22237 (gdb-display-disassembly-for-thread)
22238 (gdb-frame-disassembly-for-thread): New commands for threads
22241 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
22242 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
22243 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
22244 (gdb-update): We now store all GDB buffers in a list so that they
22245 can be updated by traversing a list instead of calling invalidate
22246 triggers explicitly.
22247 (def-gdb-trigger-and-handler): New macro to define trigger-handler
22248 pair for GDB buffer.
22249 (gdb-stack-buffer-name): Add thread information.
22250 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
22251 handle pending triggers.
22252 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
22253 (def-gdb-thread-buffer-simple-command)
22254 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
22255 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
22256 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
22257 New commands which show buffers bound to thread.
22258 (gdb-stack-list-locals-regexp): Remove unused regexp.
22260 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
22261 (gdb-locals-buffer-name, gdb-registers-buffer-name)
22262 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
22263 to (gud-comint-buffer) in *-buffer-name functions
22264 because (gdb-get-target-string) already does that.
22265 (gdb-locals-handler-custom, gdb-registers-handler-custom)
22266 (gdb-changed-registers-handler): Rewritten without regexps.
22268 * progmodes/gdb-mi.el: Basic thread selection support.
22269 (gdb-thread-number): New variable.
22270 (gdb-current-context-command): New macro which adds --thread
22272 (gdb-threads-mode-map): Select thread with SPC.
22273 (gdb-thread-list-handler-custom): Mark current thread with overlay
22274 arrow. Synchronize GDB thread and Emacs thread.
22275 (gdb-select-thread): New command which selects current thread.
22276 (gdb-invalidate-frames, gdb-invalidate-locals)
22277 (gdb-invalidate-registers): Use --thread option.
22279 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
22281 * net/tramp.el (top): Make check for tramp-gvfs loading more
22283 (tramp-handle-insert-file-contents): `unwind-protect' must be
22284 inside `with-parsed-tramp-file-name'.
22286 * net/tramp-gvfs.el (top): Remove superfluous message when loading
22289 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
22291 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
22292 directory if CLASSPATH is not set.
22294 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
22296 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
22298 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
22300 2009-08-02 Kevin Ryde <user42@zip.com.au>
22302 * net/newst-backend.el (newsticker--raw-url-list-defaults):
22303 Update freshmeat link. Delete newsforge.com as it seems gone.
22305 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
22307 * select.el (x-set-selection): Doc fix (Bug#4021).
22309 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
22311 * help-fns.el (describe-variable): Treat list return values from
22312 dir-locals-find-file properly (Bug#4005).
22314 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
22316 * net/tramp.el (tramp-debug-message): Print also microseconds.
22318 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
22320 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
22322 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
22323 (tramp-get-debug-buffer): Change `outline-regexp' according to new
22326 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
22327 (tramp-get-file-property): Use it.
22329 * autorevert.el (auto-revert-handler):
22330 Allow `auto-revert-tail-mode' for remote files.
22332 2009-08-02 Jason Rumney <jasonr@gnu.org>
22334 * minibuffer.el (read-file-name): Treat confirm options to
22335 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
22337 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
22339 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
22340 (font-lock-variable-name-face, font-lock-constant-face):
22341 Darken the colors for light backgrounds.
22343 2009-08-01 Eli Zaretskii <eliz@gnu.org>
22345 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
22346 month names. (Bug#3987)
22348 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
22350 * simple.el (line-move-finish): Pass whole number to
22351 line-move-to-column.
22352 (line-move-visual): Perform hscroll to the recorded position.
22354 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
22356 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
22358 2009-07-29 Alan Mackenzie <acm@muc.de>
22360 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
22362 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
22364 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
22365 (gdb-place-breakpoints): Use full path when setting breakpoints.
22367 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
22369 * calc/calc.el (calc-mode-map): Add keybinding for
22370 `calc-transpose-lines'.
22372 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
22374 * calc/calc-misc.el (calc-transpose-lines): New function.
22376 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
22378 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
22379 Simplify check for out-of-band methods.
22380 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
22381 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
22383 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
22385 * vc-git.el (vc-git-checkin): Fix typo.
22387 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
22389 * progmodes/js2-mode.el: New file.
22391 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
22393 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
22394 (gud-menu-map): Adjust tooltip accordingly.
22396 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
22398 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
22399 (vc-bzr-log-view-mode): Adjust log-view-file-re.
22401 * add-log.el (change-log-mode-map): Add a menu.
22403 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
22405 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
22406 function returns nil.
22407 (dbus-handle-event): Handle special return value :ignore.
22408 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
22410 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
22412 * view.el (view-mode-enable): Don't define Helper-return-blurb if
22415 2009-07-25 Eli Zaretskii <eliz@gnu.org>
22419 * w32-vars.el (x-select-enable-clipboard): Doc fix.
22421 * term/pc-win.el (x-display-name, x-colors)
22422 (x-select-enable-clipboard, x-select-text): Doc fix.
22424 * term/common-win.el (x-display-name, x-colors): Doc fix.
22426 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
22427 (xw-defined-colors): Doc fix.
22429 * w32-fns.el (x-select-text, x-setup-function-keys)
22430 (x-get-selection, x-set-selection): Doc fix.
22432 * term/x-win.el (x-select-text, x-setup-function-keys)
22433 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
22435 * select.el (x-set-selection): Doc fix.
22437 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
22439 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
22440 instead of "IsNSSSupportAvailable". Avahi ought to work also when
22441 "IsNSSSupportAvailable" method is not available.
22442 Reported by Steve Youngs <steve@sxemacs.org>.
22444 2009-07-24 Kenichi Handa <handa@m17n.org>
22446 * international/characters.el: Fix setting of category ?C, ?|, ?K,
22447 and ?H. Fix setting of case for Latin Extended and Greek Extended.
22448 (build-unicode-category-table): Fix range checks.
22450 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
22452 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
22453 the buffer we try to sync is current when calling
22456 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
22457 not show up to date files.
22459 2009-07-24 Glenn Morris <rgm@gnu.org>
22461 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
22462 Add autoload cookies. If necessary, initialize.
22463 (elint-log): Handle non-file buffers.
22464 (elint-initialize): Add optional argument to reinitialize.
22465 (elint-find-builtin-variables): Save excursion.
22467 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
22469 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
22472 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
22474 * vc.el (vc-print-log-internal): New function, split out from ...
22475 (vc-print-log): ... here.
22476 (vc-dir-move-to-goal-column): Declare.
22478 * vc-git.el (vc-git-add-signoff): New variable.
22479 (vc-git-checkin): Use it.
22480 (vc-git-toggle-signoff): New function.
22481 (vc-git-extra-menu-map): Bind it to menu.
22482 (vc-git--run-command-string): Accept a nil FILE argument.
22483 (vc-git-stash-list): New function.
22484 (vc-git-dir-extra-headers): Use it.
22486 2009-07-23 Glenn Morris <rgm@gnu.org>
22488 * help-fns.el (describe-variable): Describe ignored and risky local
22489 variables in a similar way to that in which we describe safe ones.
22491 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
22492 (byte-compile-output-file-form, byte-compile-output-docform)
22493 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
22494 Give some more local variables with common names a "bytecomp-" prefix,
22495 so as not to shadow things during compilation.
22496 * emacs-lisp/cl-macs.el (load-time-value)
22497 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
22498 `outbuffer' to `bytecomp-outbuffer'.
22500 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
22501 since the next two variables cover them automatically now.
22502 (elint-builtin-variables, elint-autoloaded-variables): New.
22503 (elint-unknown-builtin-args): Remove all members, since they can be
22504 parsed automatically now.
22505 (elint-extra-errors): New.
22506 (elint-env-add-env, elint-env-add-macro): Use cadr.
22507 (elint-current-buffer): Use or. Change final message.
22508 (elint-get-top-forms): Use line-end-position.
22509 (elint-init-env): Use cadr. Handle autoload, declare-function,
22511 (elint-add-required-env): Doc fix. Use or. Standardize error.
22512 (regexp-assoc): Remove unused function.
22513 (elint-top-form): Set elint-current-pos, to record the start of the
22514 top-level form, for compilation-mode.
22515 (elint-form): Trap errors in macro expansion. Use dolist.
22516 (elint-unbound-variable): Use elint-builtin-variables and
22517 elint-autoloaded-variables.
22518 (elint-get-args): Use cadr, or.
22519 (elint-check-cond-form): Use dolist, cadr.
22520 (elint-check-condition-case-form): Doc fix. Use cadr.
22521 Use elint-extra-errors.
22522 (elint-log): New function.
22523 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
22524 Distinguish errors and warnings.
22525 (elint-log-message): Use with-current-buffer. Inhibit read-only.
22526 Use a bytecomp-style format.
22527 (elint-clear-log): Preserve default-directory. Inhibit read-only.
22528 (elint-get-log-buffer): Use compilation mode. Disable undo.
22529 Don't truncate lines.
22530 (elint-initialize): Set builtin and autoloaded variable lists.
22531 Only process elint-unknown-builtin-args if non-nil.
22532 (elint-find-builtin-variables, elint-find-autoloaded-variables):
22534 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
22536 2009-07-22 Kevin Ryde <user42@zip.com.au>
22538 * net/newst-backend.el (newsticker--parse-atom-1.0)
22539 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
22540 (newsticker--parse-rss-1.0):
22541 * progmodes/idlwave.el (idlwave-mode):
22542 * progmodes/idlw-shell.el (idlwave-shell-mode):
22543 * progmodes/vera-mode.el (vera-mode):
22544 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
22545 * progmodes/vhdl-mode.el (vhdl-mode):
22546 * textmodes/table.el (table-generate-source)
22547 (table--warn-incompatibility):
22548 Hyperlink urls in docstrings with URL `...'.
22550 2009-07-22 Glenn Morris <rgm@gnu.org>
22552 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
22553 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
22554 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
22555 Remove leading * from defcustom docs.
22557 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
22559 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
22561 (list-load-path-shadows): Optionally, just return shadows as a string.
22563 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
22565 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
22567 * mail/rmailedit.el (rmail-edit-mode):
22568 Use auto-save-include-big-deletions.
22570 * mail/rmail.el (rmail-variables):
22571 Use auto-save-include-big-deletions.
22573 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
22576 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
22578 * calc/calc.el (calc-undo-length): New variable.
22579 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
22581 2009-07-21 Richard Stallman <rms@gnu.org>
22583 * files.el (auto-save-mode): Handle buffer-save-size = -2
22586 2009-07-21 Glenn Morris <rgm@gnu.org>
22588 * textmodes/ispell.el (ispell-looking-back): Update declaration.
22590 * calendar/todo-mode.el (calendar-current-date): Update declaration.
22592 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
22593 silence compiler. Instead...
22594 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
22595 (ps-print-ensure-fontified): Update for above function name changes.
22597 * printing.el (pr-mh-get-msg-num, pr-mh-show)
22598 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
22599 silence compiler. Instead...
22600 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
22601 (mh-show-buffer): Only define for compiler.
22602 (pr-mh-current-message): Update for above function name changes.
22604 * files.el (abort-if-file-too-large): Explicitly pass `filename'
22606 (find-file-noselect, insert-file-1): Update for above change.
22608 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
22610 * mail/mailclient.el (mailclient-send-it): Fix message.
22612 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
22613 (edebug-eval): Check cl-debug-env is bound.
22614 (print-level, print-circle): Don't redefine built-in variables.
22616 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
22617 (custom-print-vectors): Remove old comments from doc.
22619 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
22620 (emerge-version): Make the variable an obsolete alias for the
22621 emacs-version variable. Make the function obsolete.
22622 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
22623 Emerge options, rather than merging in into the main Options menu.
22624 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
22625 and auto advance modes. Disable edit/fast items when not relevant.
22627 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
22629 * term/vt420.el (terminal-init-vt420): Fix typo.
22631 2009-07-20 Sam Steingold <sds@gnu.org>
22633 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
22634 variable (removed from compile.el on 2004-03-11).
22636 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
22638 * files.el (hack-local-variables-filter): Fix last change.
22640 2009-07-19 Juri Linkov <juri@jurta.org>
22642 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
22643 (dir-local-variables-alist): New buffer-local variable.
22644 (hack-local-variables-filter): If variable is not dir-local,
22645 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
22646 because file-local overrides dir-local.
22647 (c-postprocess-file-styles) <declare-function>:
22648 Remove obsolete declaration.
22649 (hack-dir-local-variables): Add dir-local variable/value pair to
22650 `dir-local-variables-alist' and remove duplicates. Doc fix.
22652 * help-fns.el (describe-variable): Add information about
22653 file-local and dir-local variables.
22655 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
22657 * files.el (hack-local-variables-filter): Rewrite.
22659 2009-07-19 Glenn Morris <rgm@gnu.org>
22661 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
22662 Silence compiler by only defining on XEmacs.
22664 * international/mule.el (auto-coding-regexp-alist): Only match
22665 BABYL... at the start of buffer, not of lines. (Bug#3790)
22667 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
22668 non-calendar buffers (Bug#3862). Restore "not on a date" message.
22669 (cal-menu-context-mouse-menu): Doc fix.
22671 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
22673 * simple.el (mail-user-agent): Doc fix. Set :version tag.
22675 2009-07-18 Juri Linkov <juri@jurta.org>
22677 * info.el: Virtual Info keyword finder.
22678 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
22679 (Info-finder-file): New variable.
22680 (Info-finder-find-file): New function.
22681 (finder-known-keywords, finder-package-info)
22682 (find-library-name, lm-commentary): Use defvar and
22683 declare-function to silence compiler warnings.
22684 (Info-finder-find-node): New function.
22685 (info-finder): New command.
22687 * subr.el (process-kill-buffer-query-function): New function.
22688 (add-hook)<kill-buffer-query-functions>: Add hook
22689 `process-kill-buffer-query-function'.
22691 2009-07-18 Alan Mackenzie <acm@muc.de>
22693 * progmodes/cc-mode.el (c-before-hack-hook)
22694 (c-postprocess-file-styles): Give invocation of `c-set-style'
22695 DONT-OVERRIDE parameter of t. Already set style variables will
22696 thus not be overridden by style settings given by `c-file-syle'.
22698 * files.el (hack-local-variables-filter): Remove entries with
22699 duplicate keys from `file-local-variables-alist'.
22701 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22703 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
22704 x-set-selection if display-selections-p returns nil for the
22707 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
22709 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
22711 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22713 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
22714 Accept nil in addition to a regexp.
22715 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
22716 Accept nil in addition to a regexp.
22717 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
22718 buffers that have an associated file. Handle nil values of
22719 desktop-buffers-not-to-save and desktop-files-not-to-save.
22722 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
22723 (x-disown-selection-internal): New functions.
22725 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
22727 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
22729 (gdb-breakpoints-header): Move forward to avoid compiler warning.
22730 (gdb-make-header-line-mouse-map): Remove duplicate definition.
22732 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
22734 * simple.el (set-mark): Revert last change.
22736 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
22738 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
22739 rendering of pngs is not possible instead of messaging a long
22742 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
22744 * w32-fns.el (x-selection-owner-p): New function.
22746 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
22747 (mouse-yank-at-click, mouse-yank-primary):
22748 If select-active-regions is non-nil, deactivate the mark before
22751 * simple.el (deactivate-mark, set-mark): Only save selection if we
22754 2009-07-17 Kenichi Handa <handa@m17n.org>
22756 * case-table.el (describe-buffer-case-table): Fix for the case
22757 that KEY is a cons.
22759 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
22761 * vc-rcs.el (vc-rcs-find-file-hook):
22762 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
22764 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
22766 * net/tramp.el (tramp-wait-for-output): Handle the case when
22767 commands do not return a newline but a null byte before the shell
22770 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22772 * term/ns-win.el (ns-set-alpha): Don't declare.
22773 (ns-set-background-alpha): Remove function.
22775 2009-07-16 Kevin Ryde <user42@zip.com.au>
22777 * emacs-lisp/copyright.el (copyright-update): Save match-data across
22778 y-or-n-p, for safety.
22780 2009-07-16 Richard Stallman <rms@gnu.org>
22782 * files.el (auto-save-mode): If buffer-saved-size is -2,
22785 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
22786 (rmail-retry-ignored-headers): Add more uninteresting fields.
22788 2009-07-15 Jari Aalto <jari.aalto@cante.net>
22790 * net/rcirc.el (rcirc): Use history variables.
22791 (rcirc-server-name-history, rcirc-nick-name-history)
22792 (rcirc-server-port-history): New variables.
22794 2009-07-15 Kenichi Handa <handa@m17n.org>
22796 * international/mule-cmds.el (set-language-environment-charset):
22797 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
22800 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
22801 Delete unibyte-display.
22803 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22805 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
22807 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22809 * simple.el (deactivate-mark): Optional argument FORCE.
22810 (set-mark): Use deactivate-mark.
22812 * info.el (Info-search): No need to check transient-mark-mode
22813 before calling deactivate-mark.
22815 * select.el (x-set-selection): Doc fix.
22816 (x-valid-simple-selection-p): Allow buffer values.
22817 (xselect--selection-bounds): Handle buffer values.
22818 Suggested by David De La Harpe Golden.
22820 * mouse.el (mouse-set-region, mouse-drag-track):
22821 Call copy-region-as-kill before setting the mark, to let
22822 select-active-regions work.
22824 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
22826 * simple.el (deactivate-mark): If select-active-regions is
22827 non-nil, copy the selection data into a string.
22828 (activate-mark): If select-active-regions is non-nil, set the
22829 selection to the current buffer.
22830 (set-mark): Update selection if select-active-regions is non-nil.
22832 * select.el (x-valid-simple-selection-p): Allow buffer values.
22834 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
22836 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22837 and more featureful message-mode.
22839 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
22841 * select.el (x-set-selection): Doc fix.
22842 (x-valid-simple-selection-p): Disallow selection data consisting
22843 of a list or cons of integers, since that is not used.
22844 (xselect--selection-bounds, xselect--int-to-cons): New functions.
22845 (xselect-convert-to-string, xselect-convert-to-length)
22846 (xselect-convert-to-filename, xselect-convert-to-charpos)
22847 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22849 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
22851 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22852 output in -break-info command (Emacs bug #3794).
22854 2009-07-14 Glenn Morris <rgm@gnu.org>
22856 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22857 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22858 (edebug-print-length, edebug-print-level, edebug-print-circle)
22859 (edebug-sit-for-seconds, edebug-view-outside)
22860 (edebug-bounce-point, edebug-set-global-break-condition)
22861 (edebug-Go-nonstop-mode, edebug-trace-mode)
22862 (edebug-Trace-fast-mode, edebug-continue-mode)
22863 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22864 (edebug-visit-eval-list): Doc fixes.
22866 * subr.el (def-edebug-spec): Doc fix.
22868 2009-07-14 Kenichi Handa <handa@m17n.org>
22870 * international/characters.el: Fix setting of category ?C.
22872 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
22874 * term/ns-win.el (x-select-font): defalias x-select-font to
22875 ns-popup-font-panel instead of generate-fontset-menu.
22877 2009-07-12 Eli Zaretskii <eliz@gnu.org>
22879 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
22881 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
22883 * arc-mode.el (archive-find-type): Allow for a PK00 string before
22884 the PK\003\004 header (Bug#3770).
22886 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
22888 * pcomplete.el (pcomplete-comint-setup): Check for
22889 shell-dynamic-complete-filename too.
22891 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
22893 * simple.el (temporary-goal-column): Change the value for
22894 line-move-visual to a cons cell.
22895 (line-move-visual): Record or set the window hscroll, if
22896 necessary (Bug#3494).
22897 (line-move-1): Handle cons value of temporary-goal-column.
22899 2009-07-11 Kenichi Handa <handa@m17n.org>
22901 * international/mule-diag.el (describe-character-set): Don't show
22904 2009-07-10 Sam Steingold <sds@gnu.org>
22906 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22907 Omake sometimes indents the errors it prints, so allow all
22908 regexps to start with spaces.
22910 2009-07-10 Eli Zaretskii <eliz@gnu.org>
22912 * cus-edit.el (customize-changed-options-previous-release):
22913 Bump value to 22.1. (Bug#3804)
22915 2009-07-08 Sam Steingold <sds@gnu.org>
22917 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22918 to be a cons cell (test . ignored-directory) to selectively ignore
22919 some directories depending on the location of the search.
22921 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
22923 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22924 remote user is root, on the local host.
22925 (tramp-local-host-p): Either the local user or the remote user
22926 must be root. (Bug#3771)
22928 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22930 * progmodes/gdb-mi.el (gdb): Remove description of
22931 gdb-use-separate-io-buffer.
22932 (menu): Don't allow toggling of or enable
22933 gdb-use-separate-io-buffer from menubar.
22935 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
22937 * mail/unrmail.el (unrmail): Make sure the message ends with two
22938 newlines (Bug#3769).
22940 2009-07-08 Glenn Morris <rgm@gnu.org>
22942 * calendar/calendar.el (calendar-current-date): Rework previous change.
22944 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
22946 * calendar/calendar.el (calendar-current-date):
22947 Add an optional argument giving an offset from today.
22949 2009-07-08 Glenn Morris <rgm@gnu.org>
22951 * tutorial.el (tutorial--describe-nonstandard-key):
22952 Adjust the message for when a key has been unbound.
22953 (help-with-tutorial): Hide the arch-tag.
22955 2009-07-08 Kenichi Handa <handa@m17n.org>
22957 * international/fontset.el (setup-default-fontset): For each
22958 script, append (not set) font-specs.
22960 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22963 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22965 * progmodes/gdb-mi.el (gdb-init-1): Move sending
22966 -data-list-register-names to ...
22967 (gdb-starting): ... here because GDB 7.0 requires execution to
22968 have started when using this MI command.
22969 (gdb-set-header): New function to distinguish select and
22970 unselected tabs in gdb buffers.
22971 (gdb-propertize-header): New macro that uses gdb-set-header.
22972 (gdb-breakpoints-header, gdb-locals-header): Use it.
22973 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22975 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
22977 * Makefile.in (ELCFILES): Remove fadr.elc.
22979 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
22981 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22982 may contain frame information, so `string-match' should be used.
22983 (gdb-update): Disassembly is invalidated through
22984 `gdb-get-selected-frame'.
22985 (gdb-pad-string): New function to pad string with spaces.
22986 (gdb-invalidate-disassembly): Invalidate only if the buffer
22988 (gdb-disassembly-handler-custom): Column alignment.
22989 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22991 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22993 (gdb-frame-handler): Match convention to for disassembly buffer
22995 (gdb-stack-list-frames-handler): Rewritten without regexps.
22996 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22997 not highlight breakpoints without line information.
22998 (gdb-input): Add trailing newline to command.
23000 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
23002 (gdb-breakpoints-list-handler-custom): Replacement for
23003 `gdb-break-list-handler'. Using real parser instead of regexps
23005 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
23006 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
23007 to place breakpoints.
23008 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
23010 (gdb-disassembly-handler-custom): Show overlay arrow.
23011 (gdb-disassembly-place-breakpoints): Show breakpoints in
23012 disassembly buffer.
23013 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
23014 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
23015 instead of parsing breakpoints buffer. Fixed old menu references
23020 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
23021 (gdb-memory-address): New variable which holds top address of
23022 memory page shown in memory buffer.
23023 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
23024 New customization variables.
23026 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
23027 display the memory buffer.
23028 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
23029 buffer display parameters.
23030 (def-gdb-memory-format, gdb-memory-format-binary)
23031 (gdb-memory-format-octal, gdb-memory-format-unsigned)
23032 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
23033 Functions for setting memory buffer format.
23034 (gdb-memory-unit-word, gdb-memory-unit-halfword)
23035 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
23036 unit size used in memory buffer.
23037 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
23038 Switch to next/previous page of memory buffer.
23039 Now using (bindat-get-field) instead of fadr functions.
23041 2009-07-07 Sam Steingold <sds@gnu.org>
23043 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
23044 non-top-level files.
23046 2009-07-07 Kenichi Handa <handa@m17n.org>
23048 * international/mule-cmds.el (reset-language-environment):
23049 Put the highset priority to the charset iso-8859-1.
23051 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
23053 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
23054 to the end of the line when locating the block (Bug#700).
23056 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
23058 * net/tramp.el (tramp-handle-write-region): Flush file properties
23059 in case of short track.
23061 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
23063 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
23064 Coded custom representation of verilog error regular expressions
23065 to work with Emacs-22's new format.
23066 (verilog-error-regexp-xemacs-alist): Coded custom representation
23067 of verilog error regular expressions to work with XEmacs format.
23068 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
23069 error recognition into XEmacs.
23070 (verilog-error-regexp-add-emacs): Hook routine to install verilog
23071 error recognition into Emacs-22.
23073 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
23075 * woman.el: Remove stand-alone closing parentheses.
23076 (woman-file-name, woman2-format-paragraphs)
23077 (woman-leave-blank-lines): Code cleanup.
23078 (woman-use-own-frame): Change default to nil.
23079 (woman-italic, woman-bold, woman-unknown, woman-addition):
23080 Change defaults to inherit from default faces.
23081 (woman2-process-escapes): Consume the newline after a stand-alone
23082 filler character (Bug#3651).
23084 2009-07-06 Glenn Morris <rgm@gnu.org>
23086 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
23087 (top-level): Move provide to the end.
23088 (ffap): Remove defunct URL from custom group.
23090 * subr.el (eval-after-load): Doc fix.
23092 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
23094 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
23095 `calc-embedded-word' is called twice.
23097 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23099 * files.el (find-alternate-file-other-window, find-alternate-file):
23100 Obey confirm-nonexistent-file-or-buffer.
23102 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
23104 * dired-aux.el (dired-show-file-type): Handle remote files.
23106 2009-07-05 Jari Aalto <jari.aalto@cante.net>
23108 * desktop.el (desktop-globals-to-save):
23109 Add file-name-history (Bug#2750).
23111 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
23113 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
23115 2009-07-04 Johan Bockgård <bojohan@gnu.org>
23117 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
23118 property on entire argument since this is what eshell-lisp-command
23121 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
23123 * net/tramp-gvfs.el (tramp-gvfs-methods)
23124 (tramp-gvfs-zeroconf-domain)
23125 (tramp-bluez-discover-devices-timeout): Add version flag.
23126 (tramp-gvfs-handler-mounted-unmounted)
23127 (tramp-gvfs-connection-mounted-p): Polish handling of
23128 incompatibilities between GVFS 0.2 and 1.0.
23130 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
23132 * cus-start.el (all): Add make-pointer-invisible.
23134 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
23136 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
23137 formatted correctly.
23139 2009-07-02 Juri Linkov <juri@jurta.org>
23141 * info.el: Virtual Info files and nodes.
23142 (Info-virtual-files, Info-virtual-nodes): New variables.
23143 (Info-current-node-virtual): New variable.
23144 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
23146 (Info-file-supports-index-cookies): Use Info-virtual-file-p
23147 to check for a virtual file instead of checking a fixed list
23149 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
23150 instead of ad-hoc processing of "dir" and (apropos history toc).
23151 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
23152 instead of ad-hoc processing of "dir" and (apropos history toc).
23153 Reread a file when moving from a virtual node.
23154 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
23155 (Info-directory-toc-nodes, Info-directory-find-file)
23156 (Info-directory-find-node): New functions.
23157 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
23158 (Info-history): Move part of code to
23159 `Info-history-find-node'.
23160 (Info-history-toc-nodes, Info-history-find-file)
23161 (Info-history-find-node): New functions.
23162 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
23163 (Info-toc): Move part of code to `Info-toc-find-node'.
23164 (Info-toc-find-node): New function.
23165 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
23166 the current Info file name to references because now the node
23167 "*TOC*" belongs to the same Info manual.
23168 (Info-toc-build): Rename from `Info-build-toc'.
23169 (Info-toc-nodes): Rename input argument `file' to `filename'.
23170 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
23171 instead of ad-hoc processing of ("dir" apropos history toc).
23172 (Info-index-nodes): Use Info-virtual-file-p
23173 to check for a virtual file instead of checking a fixed list
23175 (Info-index-node): Add check for `Info-current-node-virtual'.
23176 Raise `save-match-data' higher up the tree to contain
23177 `search-forward' too (bug fix).
23178 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
23179 (Info-virtual-index-nodes): New variable.
23180 (Info-virtual-index-find-node, Info-virtual-index): New functions.
23181 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
23182 (Info-apropos-file, Info-apropos-nodes): New variables.
23183 (Info-apropos-toc-nodes, Info-apropos-find-file)
23184 (Info-apropos-find-node, Info-apropos-matches): New functions.
23185 (info-apropos): Move part of code to `Info-apropos-find-node' and
23186 `Info-apropos-matches'.
23187 (Info-mode-map): Bind "I" to `Info-virtual-index'.
23188 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
23189 for a virtual file instead of checking a fixed list of node names.
23191 * simple.el (async-shell-command): New command.
23193 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
23195 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
23196 instead of `mount-info'.
23198 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
23200 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
23201 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
23203 2009-07-02 Kenichi Handa <handa@m17n.org>
23205 * international/mule.el (set-keyboard-coding-system): Force *-unix
23206 coding-system to avoid eol conversion.
23208 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
23210 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
23211 Add handler for `process-file', `shell-command' and
23212 `start-file-process'.
23213 (tramp-gvfs-handle-shell-command)
23214 (tramp-gvfs-handle-start-file-process)
23215 (tramp-gvfs-handle-process-file): New defuns.
23216 (tramp-synce-list-devices): Simplify check for existence of property.
23218 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
23220 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
23222 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
23224 * language/korean.el (set-language-info-alist): Add korean-cp949,
23227 2009-07-01 Kenichi Handa <handa@m17n.org>
23229 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
23231 * international/encoded-kb.el: Deleted.
23233 * international/mule.el (set-keyboard-coding-system): Perform the
23234 necessary setup here instead of calling encoded-kbd-setup-display.
23236 2009-07-01 Glenn Morris <rgm@gnu.org>
23238 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
23240 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
23242 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
23244 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
23246 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
23247 Handle also the 'rename case, when setting file modes. (Bug#3712)
23248 (tramp-default-file-modes): Remove execute permissions.
23250 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
23251 (top): Add a default for "synce" in `tramp-default-user-alist'.
23252 Add completion function for "synce" method.
23253 (tramp-hal-service, tramp-hal-path-manager)
23254 (tramp-hal-interface-manager, tramp-hal-interface-device):
23256 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
23257 (tramp-synce-list-devices, tramp-synce-parse-device-names):
23260 * net/trampver.el: Update release number.
23262 2009-06-30 Kenichi Handa <handa@m17n.org>
23264 * international/fontset.el (setup-default-fontset): Add CJK fonts
23265 for symbols and the other miscellaneous characters.
23267 * language/korea-util.el (setup-korean-environment-internal):
23268 Make char-width-table suitable for Korean environments.
23269 (exit-korean-environment): Cancel above.
23271 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
23272 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
23273 setup-function to make char-width-table suitable for respective
23274 environments, and an exit-function to cancel that.
23276 * language/japan-util.el (setup-japanese-environment-internal):
23277 Call use-cjk-char-width-table with arg `ja_JP'.
23279 * international/characters.el (cjk-char-width-table): Delete it.
23280 (cjk-char-width-table-list): New variable.
23281 (use-cjk-char-width-table): New arg local-name.
23282 (use-default-char-width-table): Fix for the case that Emacs is
23283 already using the default char-width-table.
23285 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
23287 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
23288 modes mandatory. (Bug#3712)
23290 2009-06-29 Alan Mackenzie <acm@muc.de>
23292 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
23293 correction between the visible width of TABs and their number of bytes.
23295 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
23297 * server.el (server-buffer-done): Prevent kill-buffer from
23298 prompting by clearing the buffer modification flag (Bug#3696).
23300 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
23302 * progmodes/verilog-mode.el (verilog-beg-of-statement)
23303 (verilog-endcomment-reason-re): Support unique case and priority case.
23304 (verilog-basic-complete-re): Support localparam lineup.
23305 (verilog-beg-of-statement-1): Fix for robustness, unique case.
23306 (verilog-set-auto-endcomments): Fix for unique case, always_comb
23308 (verilog-leap-to-case-head): Now support *nested* unique &
23309 priority case statements.
23310 (verilog-auto-lineup): Make just declarations the default (as it
23312 (verilog-leap-to-case-head): Support priority/unique case statements.
23313 (verilog-auto-lineup): Rework to give users radio buttons to
23314 select the various styles of automatic lineup.
23315 (verilog-error-regexp-alist): Rework to support the XEmacs style
23316 of error regular expressions from compilers, lint tools &
23317 simulators. Note that GNU Emacs has made it impossible for a mode
23318 to load such things.
23319 (electric-verilog-terminate-line, verilog-indent-declaration)
23320 (verilog-auto-wiure): Rework for radio button selection of
23321 auto-lineup selection of specification of auto lineup.
23322 (verilog-beg-of-statement-1): Redesign to support proper operation
23323 in additional code, based on testing with auto-lineup.
23324 (verilog-calculate-indent, assignments & declarations)
23325 (verilog-backward-token): Enhance to support auto-lineup of
23326 assignments & declarations.
23327 (verilog-in-directive-p, verilog-at-struct-p): New function for
23328 easy test of whether we are.
23329 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
23330 to support safe execution at almost anyline.
23331 (verilog-calc-1): Properly support indenting deep inside generate
23333 (verilog-init-font): Remove definition & use of verilog-init-font,
23334 as it is redundant with font-lock-defaults.
23335 (verilog-mode): Alter the definition of verilog-font-lock-defaults
23336 to avoid circular calls if syntax-ppss is a function (as is the
23337 case now in 22.x GNU Emacs) as that function would sometimes call
23338 itself, leading to (nearly) infinite recursion.
23339 (verilog-ovm-begin-re, verilog-ovm-end-re)
23340 (verilog-ovm-statement-re, verilog-leap-to-head)
23341 (verilog-backward-token): Add support for OVM macros. Some are
23342 complete statements, and others open and close scopes like begin
23344 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
23345 (verilog-defun-level-generate-only-re): Really fix the defun-list
23347 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
23348 coverpoint, constraint and cross statements.
23349 (verilog-defun-level-list, verilog-generate-defun-level-list)
23350 (verilog-all-defun-level-list): Redo these specifications - it is
23351 too hard to support eval-when compile aggregation of lists also
23352 built at when-compile time.
23353 (verilog-defun-level-list): Place defconsts of variables used in
23354 building regular expressions which are built in eval-when-compile
23355 bodies in the same eval-when-compile body to facilitate compile
23357 (verilog-beg-block-re-ordered): Support indenting
23358 virtual/protected tasks and functions.
23359 (verilog-defun-level-list, verilog-in-generate-region-p)
23360 (verilog-backward-ws&directives, verilog-calc-1): Speed up
23361 indentation of some module items (generate items).
23362 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
23363 across virtual/protected tasks and functions.
23365 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
23367 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
23368 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
23369 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
23370 in concatenations. Reported by Yishay Belkind.
23371 (verilog-auto-ascii-enum): Support one-hot state machines in
23372 AUTOASCIIENUM. Suggested by Lloyd Gomez.
23373 (verilog-auto-inst, verilog-auto-inst-port): Include interface
23374 modport in AUTOINST and add vl-modport for users.
23375 Reported by David Rogoff.
23376 (verilog-auto-inout-module, verilog-auto-inst)
23377 (verilog-decls-get-interfaces, verilog-insert-definition)
23378 (verilog-insert-one-definition, verilog-read-decls)
23379 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
23380 (verilog-sig-modport, verilog-signals-combine-bus)
23381 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
23382 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
23383 Suggested by David Rogoff.
23384 (verilog-repair-open-comma): Fix non-insertion of comma when
23385 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
23386 (verilog-make-width-expression): Simplify [A-1:0] expression
23387 widths to just {A{1'b0}}.
23388 (verilog-mode): Cleanup checkdoc warnings.
23389 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
23390 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
23391 inputs/outputs or data type. Suggested by Vasu Kandadi.
23392 (next-error-last-buffer): Fix byte-compiler warning.
23393 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
23394 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
23395 or shell command text during AUTO expansion. Suggested by Tad Truex.
23396 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
23397 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
23398 Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
23399 in AUTOINOUT. Reported by Matthew Lovell.
23400 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
23401 causing use of <= assignments. Reported by Alex Reed.
23402 (verilog-read-decls): Fix triand, trior, wand, wor to be
23403 recognized by AUTOWIRE. Reported by Spencer Isaacson.
23404 (verilog-extended-complete-re): Support import "DPI-C" functions.
23405 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
23406 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
23407 (verilog-insert-date, verilog-insert-year)
23408 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
23409 Windows systems. Reported by Michael Potts.
23410 (verilog-read-module-name): Fix AUTOINST when the child module
23411 declaration's name is a tick define. Reported by Elliot Mednick.
23412 (verilog-read-decls): Fix V2K parameter bit subscripts getting
23413 passed to next parameter's definition. Reported by Bruce T.
23414 (verilog-read-decls): Fix detecting "parameter int" when using
23415 AUTOINSTPARAM. Reported by Bruce T.
23416 (verilog-goto-defun): Fix goto not finding modules unless first
23417 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
23418 (verilog-mode): Expand -f flag arguments on entry to mode so
23419 verilog-goto-defun will work. Reported by Lawrence Butcher.
23420 (verilog-getopt): Expand environment variables in -f file
23421 arguments. Suggested by Lawrence Butcher.
23422 (verilog-set-define): Fix "Symbol's value as variable is void"
23423 when reading enumerations.
23424 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
23425 Suggested by Stephen Peltan.
23426 (verilog-read-defines): Fix reading of enumerations in include
23427 files. Reported by Steve Peltan.
23429 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
23431 * files.el (trash-directory): Fix defcustom type.
23433 2009-06-28 Juri Linkov <juri@jurta.org>
23435 * help-fns.el (describe-function-1): Correctly locate adviced
23436 functions in hyperlink (Bug#2438).
23438 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
23440 * files.el (trash-directory): Change default to nil.
23441 (move-file-to-trash): If trash-directory is nil and
23442 system-move-file-to-trash is unbound, perform freedesktop-style
23445 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
23447 * files.el (move-file-to-trash): Add freedesktop trash
23450 2009-06-28 Glenn Morris <rgm@gnu.org>
23452 * autorevert.el (global-auto-revert-non-file-buffers)
23453 (global-auto-revert-mode): Doc fixes.
23455 2009-06-27 Johan Bockgård <bojohan@gnu.org>
23457 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
23459 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
23461 * faces.el (x-handle-named-frame-geometry): Ensure that we have
23462 opened an X connection before calling x-get-resource (Bug#3194).
23464 * play/doctor.el: Remove reference to obsolete website.
23465 (make-doctor-variables): Correct grammar mistake (Bug#2633).
23467 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
23469 Remove find-file-not-found-hook VC method. (Bug#2757)
23470 * vc-hooks.el (vc-file-not-found-hook)
23471 (vc-default-find-file-not-found-hook): Remove functions.
23472 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
23473 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
23476 * vc-git.el: Do not mention find-file-not-found-hook VC method.
23478 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
23480 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
23481 compatibility function for `looking-back'.
23483 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
23484 Use `ispell-looking-back'.
23486 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
23488 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
23489 rather than `filename'.
23491 2009-06-23 Miles Bader <miles@gnu.org>
23493 * face-remap.el (text-scale-set): New function.
23495 2009-06-23 Glenn Morris <rgm@gnu.org>
23497 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
23499 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
23501 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
23503 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
23505 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
23506 Simplify Persian conditionals.
23508 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
23509 variable `filename'.
23511 * comint.el (comint-insert-input): Doc fix.
23513 * Makefile.in (ELCFILES): Fix typo in previous change.
23515 2009-06-23 Miles Bader <miles@gnu.org>
23517 * cus-start.el: Add entry for `recenter-redisplay'.
23519 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23521 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
23522 Add an optional argument for the backend, use it instead of
23523 calling vc-backend.
23524 (vc-mode-line): Add an optional argument for the backend.
23525 Pass the backend to vc-state and vc-working-revision. Move code for
23526 special handling for vc-state being a buffer to ...
23528 * vc-rcs.el (vc-rcs-find-file-hook):
23529 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
23531 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
23532 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
23533 vc-stay-local-p and vc-mode-line calls.
23535 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
23536 (vc-cvs-diff, vc-cvs-annotate-command)
23537 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
23538 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
23539 vc-mode-line calls.
23541 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
23543 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
23544 backend when calling vc-mode-line.
23545 (vc-register): Do not create a closure for calling the vc register
23546 function, call it directly.
23548 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23550 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
23551 to make it obvious item can be clicked.
23553 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
23555 2009-06-23 Kenichi Handa <handa@m17n.org>
23557 * language/korea-util.el (korean-key-bindings): Change the binding
23558 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
23561 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
23563 Sync with Tramp 2.1.16.
23565 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
23567 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
23568 when a loading of a package fails. Completion function for rsync
23569 is `tramp-completion-function-alist-ssh'.
23570 (all): Replace all calls of `split-string' and
23571 `tramp-split-string' by `tramp-compat-split-string'.
23572 (tramp-default-method): Use `tramp-compat-process-running-p'.
23573 (tramp-default-proxies-alist): Allow also Lisp forms.
23574 (tramp-remote-path): Add choice "Private Directories".
23575 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
23576 (tramp-domain-regexp): Allow also "-", "_" and ".".
23577 (tramp-end-of-output): Remove newlines, and add "$" at the end.
23578 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
23579 (tramp-debug-message): Insert header line in debug buffer.
23580 (tramp-handle-directory-files-and-attributes-with-stat):
23581 Care about filenames with spaces, or starting with "-".
23582 (tramp-handle-dired-uncache): New defun.
23583 (tramp-handle-insert-directory): Don't flush the directory from
23584 cache, this is handled by `dired-uncache' now.
23585 (tramp-handle-insert-file-contents): Improve error handling.
23586 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
23587 Quote `tramp-end-of-output'.
23588 (tramp-action-password): Improve trace message.
23589 (tramp-check-for-regexp): Both echoes must be present, before removing.
23590 (tramp-open-connection-setup-interactive-shell): Trace coding system.
23591 (tramp-compute-multi-hops): Eval cons cells of
23592 `tramp-default-proxies-alist'.
23593 (tramp-maybe-open-connection): Use the same command pattern for
23594 first hop and further hops.
23595 (tramp-wait-for-output): Remove handling of newlines.
23596 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
23597 (tramp-split-string): Remove function. It is handled in
23600 * net/tramp-cmds.el (tramp-bug):
23601 Recommend `tramp-cleanup-all-connections' in the bug mail.
23603 * net/tramp-compat.el (tramp-compat-split-string)
23604 (tramp-compat-process-running-p): New defuns.
23606 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
23607 for `dired-uncache'.
23609 * net/tramp-gvfs.el: New package.
23611 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
23612 Add handler for `dired-uncache'.
23613 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
23615 * net/trampver.el: Update release number. Make version check fit
23618 2009-06-22 Jim Meyering <meyering@redhat.com>
23620 Automatically handle .xz suffix (XZ-compressed files), too.
23621 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
23622 XZ is the successor to LZMA: <http://tukaani.org/xz/>
23624 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
23625 Nick Roberts <nickrob@snap.net.nz>
23627 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
23628 repository (http://sphinx.net.ru/hg/gdb-mi/).
23630 2009-06-22 Glenn Morris <rgm@gnu.org>
23632 * files.el (dir-locals-collect-mode-variables): Allow for any number of
23633 `mode' and `eval' entries. (Bug#3430)
23635 * Makefile.in (ELCFILES): Add fadr.elc.
23637 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
23638 differing behavior of \n and ^ in strings. (Bug#3385)
23640 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
23642 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
23644 (lisp-indent-function): Make it a defcustom.
23646 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
23648 * progmodes/gdb-ui.el: Replace with ...
23649 * progmodes/gdb-mi.el: ... this file.
23650 * progmodes/gud.el: Modify for gdb-mi.el.
23652 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
23654 * fadr.el: New file.
23656 See ChangeLog.14 for earlier changes.
23658 ;; Local Variables:
23662 Copyright (C) 2009-2011 Free Software Foundation, Inc.
23664 This file is part of GNU Emacs.
23666 GNU Emacs is free software: you can redistribute it and/or modify
23667 it under the terms of the GNU General Public License as published by
23668 the Free Software Foundation, either version 3 of the License, or
23669 (at your option) any later version.
23671 GNU Emacs is distributed in the hope that it will be useful,
23672 but WITHOUT ANY WARRANTY; without even the implied warranty of
23673 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23674 GNU General Public License for more details.
23676 You should have received a copy of the GNU General Public License
23677 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.