1 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
3 * font-lock.el (font-lock-refresh-defaults):
4 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
5 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
7 * info.el (Info-directory-list, Info-read-node-name-2)
8 (Info-split-parameter-string): Doc fixes.
9 (Info-virtual-nodes): Reflow docstring.
10 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
11 (Info-apropos-toc-nodes, info-finder, Info-get-token)
12 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13 Fix typos in docstrings.
14 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
15 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
17 (Info-restore-desktop-buffer): Mark unused parameters.
18 (Info-directory-find-file, Info-directory-find-node)
19 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20 (Info-virtual-index-find-node, Info-apropos-find-file)
21 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
22 Mark unused parameters; fix typos in docstrings.
23 (Info-virtual-index): Remove unused local variable `nodename'.
25 2011-04-05 Deniz Dogan <deniz@dogan.se>
27 * net/rcirc.el: Update my e-mail address.
28 (rcirc-mode-map): Remove M-o binding.
30 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
32 * startup.el (command-line): Save the cursor's theme-face
33 directly, instead of using face-override-spec.
35 * custom.el (load-theme): Minor optimization in assigning faces.
37 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
39 * help-fns.el (describe-variable): Complete all variables having
40 documentation, including keywords.
41 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
43 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
45 Convert to lexical-binding.
47 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
48 (bs--get-marked-string, bs--get-modified-string)
49 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
50 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
51 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
53 * ehelp.el (electric-help-execute-extended)
54 (electric-help-ctrl-x-prefix):
55 * hexl.el (hexl-revert-buffer-function):
56 * linum.el (linum-after-change, linum-after-scroll):
57 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
59 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
61 2011-04-04 Daiki Ueno <ueno@unixuser.org>
68 * epg.el: Use lexical binding.
70 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
72 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
74 * textmodes/flyspell.el (flyspell-word): Recognize default
75 dictionary case for flyspell-mark-duplications-exceptions. Use
76 regexp matching for languages.
77 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
78 default dictionary (Bug#7926).
80 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
82 * emacs-lisp/package.el (package--with-work-buffer): Recognize
85 * net/network-stream.el: Move from gnus/proto-stream.el. Change
86 prefix to network-stream throughout.
87 (open-protocol-stream): Merge into open-network-stream, leaving
88 open-protocol-stream as an alias. Handle nil BUFFER args.
90 * subr.el (open-network-stream): Move to net/network-stream.el.
92 2011-04-02 Glenn Morris <rgm@gnu.org>
94 * find-dired.el (find-exec-terminator): New option.
95 (find-ls-option): Test for -ls support.
96 (find-ls-subdir-switches): Test for -b in find-ls-option.
97 (find-dired, find-grep-dired): Doc fixes.
98 (find-dired): Use find-exec-terminator.
100 * find-dired.el (find-ls-option, find-ls-subdir-switches)
101 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
102 (find-name-arg): Remove purecopy.
104 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
105 (grep-compute-defaults): Check for `-exec COMMAND +' support.
106 Set grep-find-use-xargs, grep-find-command, and grep-find-template
107 accordingly. Don't add the null-device if not needed.
109 * files.el (save-some-buffers): Doc fix.
111 2011-04-02 Eli Zaretskii <eliz@gnu.org>
113 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
115 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
117 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
118 Use `dolist' rather than `mapcar'.
120 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
124 * subr.el (apply-partially): Use new closures rather than CL.
125 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
126 (dolist, dotimes): Use slightly different expansion for lexical code.
127 (functionp): Move to C.
129 (with-wrapper-hook): Use it and apply-partially instead of CL.
130 (eval-after-load): Preserve lexical-binding.
131 (save-window-excursion, with-output-to-temp-buffer): Turn them
134 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
136 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
138 (help-add-fundoc-usage): Don't add `Not documented'.
139 (help-function-arglist): Handle closures, subroutines, and new
141 (help-make-usage): Remove leading underscores.
142 (describe-function-1): Handle closures.
143 (describe-variable): Use special-variable-p for completion.
145 * files.el (lexical-binding): Declare safe.
147 * emacs-lisp/pcase.el: Don't use destructuring-bind.
148 (pcase--memoize): Rename from pcase-memoize. Change weakness.
149 (pcase): Add `let' pattern.
150 Change memoization so it actually works.
151 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
152 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
155 * emacs-lisp/macroexp.el: Use lexical binding.
156 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
157 Don't convert ' to #' without checking that it's indeed quoting
160 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
161 Use eval-sexp-add-defvars.
162 (eval-sexp-add-defvars): New fun.
164 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
166 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
168 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
169 than the internal `byte-compile-lambda'.
170 (defmethod): Don't hide code under quotes.
171 (eieio-defmethod): New `code' argument.
173 * emacs-lisp/eieio-comp.el: Remove.
175 * emacs-lisp/edebug.el (edebug-eval-defun)
176 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
177 (edebug-toggle): Avoid `eval'.
179 * emacs-lisp/disass.el (disassemble-internal): Handle new
181 (disassemble-1): Handle new byte codes.
183 * emacs-lisp/cl.el (pushnew): Silence warning.
185 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
186 (cl-byte-compile-throw): Remove.
187 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
189 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
192 * emacs-lisp/cconv.el: New file.
194 * emacs-lisp/bytecomp.el: Use lexical binding instead of
195 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
196 (byte-compile-initial-macro-environment):
197 Handle declare-function here.
198 (byte-compile--lexical-environment): New var.
199 (byte-stack-ref, byte-stack-set, byte-discardN)
200 (byte-discardN-preserve-tos): New lap codes.
201 (byte-interactive-p): Don't use any more.
202 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
204 (byte-compile-lapcode): Use them and handle new lap codes.
205 (byte-compile-obsolete): Remove.
206 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
207 (byte-compile-arglist-warn): Check late def of inlinable funs.
208 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
209 since they should have been expanded by now.
210 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
211 (byte-compile-from-buffer): Remove unused second arg.
212 (byte-compile-preprocess): New function.
213 (byte-compile-toplevel-file-form): New function to distinguish
214 file-form calls from outside from file-form calls from hunk-handlers.
215 (byte-compile-file-form): Simplify.
216 (byte-compile-file-form-defsubst): Remove.
217 (byte-compile-file-form-defmumble): Simplify now that
218 byte-compile-lambda always returns a byte-code-function.
219 (byte-compile): Preprocess.
220 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
221 Remove, not used any more.
222 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
223 (byte-compile-make-args-desc): New funs.
224 (byte-compile-lambda): Handle lexical functions. Always return
225 a byte-code-function.
226 (byte-compile-reserved-constants): New var, to make up room for
227 closed-over variables.
228 (byte-compile-constants-vector): Obey it.
229 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
230 (byte-compile-macroexpand-declare-function): New function.
231 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
233 (byte-compile-form): Check obsolescence here.
234 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
235 (byte-compile-variable-ref): Remove.
236 (byte-compile-dynamic-variable-op): New fun.
237 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
238 (byte-compile-variable-set): New funs.
239 (byte-compile-discard): Add 2 args.
240 (byte-compile-stack-ref, byte-compile-stack-set)
241 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
242 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
243 macroexpand-all instead.
244 (byte-compile-quote-form): Remove.
245 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
246 (byte-compile-bind, byte-compile-unbind): New funs.
247 (byte-compile-let): Handle let* and lexical binding.
248 (byte-compile-let*): Remove.
249 (byte-compile-catch, byte-compile-unwind-protect)
250 (byte-compile-track-mouse, byte-compile-condition-case):
251 Handle a new :fun-body form, used for lexical scoping.
252 (byte-compile-save-window-excursion)
253 (byte-compile-with-output-to-temp-buffer): Remove.
254 (byte-compile-defun): Simplify.
255 (byte-compile-stack-adjustment): New fun.
256 (byte-compile-out): Use it.
257 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
259 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
262 * emacs-lisp/byte-opt.el: Use lexical binding.
263 (byte-inline-lapcode): Remove (to bytecomp).
264 (byte-compile-inline-expand): Pay attention to inlining to/from
265 lexically bound code.
266 (byte-compile-unfold-lambda): Don't handle byte-code-functions
268 (byte-optimize-form-code-walker): Don't handle save-window-excursion
269 any more and don't call compiler-macros.
270 (byte-compile-splice-in-already-compiled-code): Remove.
271 (byte-code): Don't inline any more.
272 (disassemble-offset): Receive `bytes' as argument rather than via
274 (byte-compile-tag-number): Declare before first use.
275 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
276 `return' even if make-spliceable.
277 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
278 obsolete interactive-p.
279 (byte-optimize-lapcode): Optimize new lap-codes.
280 Don't trip up on new form of `byte-constant' lap code.
282 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
284 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
286 * custom.el (custom-initialize-default, custom-declare-variable):
289 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
291 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
292 (COMPILE_FIRST): Add macroexp and cconv.
293 * makefile.w32-in: Mirror changes in Makefile.in.
300 * textmodes/bibtex-style.el:
309 * emacs-lisp/smie.el:
312 * abbrev.el: Use lexical binding.
314 2011-04-01 Eli Zaretskii <eliz@gnu.org>
316 * info.el (info-display-manual): New function.
318 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
320 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
322 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
324 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
325 an entry for that server in rcirc-authinfo. (Bug#8385)
327 2011-03-31 Glenn Morris <rgm@gnu.org>
329 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
331 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
333 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
335 * progmodes/python.el (python-default-interpreter)
336 (python-python-command-args, python-jython-command-args)
337 (python-which-shell, python-which-args, python-which-bufname)
338 (python-file-queue, python-comint-output-filter-function)
339 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
340 variables and functions.
342 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
344 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
345 (completion-in-region-mode): New minor mode.
346 (completion-in-region): Use it.
347 (completion-in-region--data, completion-in-region-mode-map): New vars.
348 (completion-in-region--postch): New function.
349 (completion--capf-misbehave-funs, completion--capf-safe-funs):
351 (completion--capf-wrapper): New function.
352 (completion-at-point): Use it to track well-behavedness of
354 (completion-help-at-point): New command.
356 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
358 * vc/add-log.el (add-change-log-entry): Don't use whitespace
359 syntax class to search for whitespace on a single line
360 (Message-ID: <4D938140.4030905@redhat.com>).
362 2011-03-30 Leo Liu <sdl.web@gmail.com>
364 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
366 (edit-abbrevs-map): Bind them here.
367 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
369 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
371 * allout.el (allout-hide-by-annotation, allout-flag-region):
372 Reduce possibility of overlay leakage by making them volatile.
374 * allout-widgets.el (allout-widgets-tally): Define as nil so the
375 hash is not shared between buffers. Mode initialization is
376 responsible for giving it a useful starting value.
377 (allout-item-span): Reduce possibility of overlay leakage by
378 making them volatile.
379 (allout-widgets-count-buttons-in-region): Add diagnostic function
380 for tracking down button overlay leaks.
382 2011-03-29 Leo Liu <sdl.web@gmail.com>
384 * ido.el (ido-read-internal): Use the default history var
385 minibuffer-history if no HISTORY is specified.
387 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
389 * net/imap.el (imap-shell-open, imap-process-connection-type):
390 Use imap-process-connection-type for 'shell' streams as well as
391 Kerberos, SSL, other subprocesses.
393 2011-03-28 Leo Liu <sdl.web@gmail.com>
395 * abbrev.el (abbrev-table-empty-p): New function.
396 (prepare-abbrev-list-buffer): Place empty abbrev tables after
397 nonempty ones. (Bug#5937)
399 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
401 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
403 2011-03-27 Leo Liu <sdl.web@gmail.com>
405 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
406 for foreground and background colors.
407 (ansi-color-make-color-map): Adapt.
409 2011-03-25 Leo Liu <sdl.web@gmail.com>
411 * midnight.el (midnight-time-float): Remove. Note it calculates
412 the microsecond component incorrectly and seconds-to-time does the
414 Remove redundant (require 'timer).
416 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
417 (ido-completions): Remove unused arguments. (Bug#8329)
419 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
421 * minibuffer.el (completion--flush-all-sorted-completions):
422 Remove itself from hook.
423 (completion-at-point): Let the functions perform the completion
424 immediately and return nil or t.
425 * comint.el (comint-dynamic-complete-functions): Now identical to
426 completion-at-point-functions.
427 (comint-dynamic-list-input-ring): Remove unused var `index'.
428 (comint--match-partial-filename, comint--unquote&expand-filename):
429 New funs, split from comint-match-partial-filename.
430 (comint-dynamic-complete): Use completion-at-point.
431 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
433 2011-03-24 Drew Adams <drew.adams@oracle.com>
435 * thingatpt.el: Support `defun'.
437 2011-03-23 Leo Liu <sdl.web@gmail.com>
439 * abbrevlist.el: Move to obsolete/abbrevlist.el.
441 * help-mode.el (help-mode-finish): Tweak regexp.
443 2011-03-23 Glenn Morris <rgm@gnu.org>
445 * eshell/esh-opt.el (eshell-eval-using-options):
446 Do not bind unused local variable `eshell-option-stub'.
448 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
450 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
452 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
453 keymap variable in `with-no-warnings' to avoid a warning when the
454 keymap has been already `defconst'ed.
456 2011-03-22 Leo Liu <sdl.web@gmail.com>
458 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
459 encode all chars in abbrevs; otherwise use emacs-mule or
460 utf-8-emacs. (Bug#8308)
462 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
464 * simple.el (backward-delete-char-untabify):
465 Avoid warning about using `delete-backward-char'.
467 * image.el (image-type-file-name-regexps): Make it variable.
468 `imagemagick-register-types' modifies it, and the user may want
469 to add new extensions for known image types.
470 (imagemagick-register-types): Throw error if not using ImageMagick.
472 2011-03-22 Leo Liu <sdl.web@gmail.com>
474 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
475 located before rcirc-prompt-end-marker.
476 (rcirc-complete): Error if point is not after rcirc prompt.
477 Handle the case when table is nil.
478 (rcirc-user-authenticated): Define to fix compiler warning.
480 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
482 * custom.el (custom--inhibit-theme-enable): Make it affect only
483 custom-theme-set-variables and custom-theme-set-faces.
484 (provide-theme): Ignore custom--inhibit-theme-enable.
485 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
486 (custom-enabling-themes): Delete variable.
487 (enable-theme): Accept only loaded themes as arguments.
488 Ignore the special custom-enabled-themes variable.
489 (custom-enabled-themes): Forbid themes from setting this.
490 Eliminate use of custom-enabling-themes.
491 (custom-push-theme): Quote "changed" custom var entry.
493 2011-03-21 Leo Liu <sdl.web@gmail.com>
495 * ido.el (ido-read-internal): Add ido-selected to history instead
498 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
500 * subr.el (deferred-action-list, deferred-action-function):
503 2011-03-21 Leo Liu <sdl.web@gmail.com>
505 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
506 change on 2011-02-13 (bug#8309).
508 * minibuffer.el (read-file-name-function): Change default value.
509 (read-file-name--defaults): Rename from read-file-name-defaults.
510 (read-file-name-default): Rename from read-file-name.
511 (read-file-name): Call read-file-name-function.
513 2011-03-21 Glenn Morris <rgm@gnu.org>
515 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
518 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
520 * cus-theme.el: Add missing provide statement.
521 (customize-create-theme): Extract theme value correctly.
522 (custom-theme-visit-theme): Autoload.
523 (customize-create-theme): Prompt before inserting default faces.
525 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
527 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
528 units and musical notes.
530 2011-03-20 Leo <sdl.web@gmail.com>
532 * ido.el (ido-read-internal): Use completing-read-default.
533 (ido-completing-read): Fix compatibility with completing-read.
535 2011-03-20 Christian Ohler <ohler@gnu.org>
537 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
538 (ert-delete-all-tests): Use `called-interactively-p' rather than
540 (ert--make-xrefs-region): Respect END.
542 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
544 * dired-aux.el (dired-create-directory): Signal an error if the
545 directory already exists (Bug#8246).
547 * facemenu.el (list-colors-display): Call list-faces-display
548 inside with-help-window.
549 (list-colors-print): Use display property to align the final
550 column, instead of checking window-width.
552 2011-03-19 Eli Zaretskii <eliz@gnu.org>
554 * emerge.el (emerge-metachars): Separate value for ms-dos and
556 (emerge-protect-metachars): Quote correctly for ms-dos and
559 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
561 * info.el (info-initialize): Replace all uses of `:' with
562 path-separator for compatibility with non-Unix systems.
563 Cache quoting of path-separator. (Bug#8258)
565 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
567 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
568 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
569 (mouse-avoidance-mode): Fix typos in docstrings.
571 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
573 * startup.el (package-subdirectory-regexp): Move from package.el.
574 Omit \\` and \\', and let callers add them.
576 * emacs-lisp/package.el (package-strip-version)
577 (package-load-all-descriptors): Add \\` and \\' to
578 package-subdirectory-regexp before using it.
579 (package-untar-buffer): New arg DIR; ensure that file untars only
580 into this expected directory. Remove superfluous delete-region.
581 (package-unpack): Caller changed.
582 (package-tar-file-info): Use package-subdirectory-regexp.
584 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
586 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
587 diff-mode-shared-map (bug#8284).
588 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
590 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
592 * calendar/time-date.el (format-seconds): Use assoc instead of
593 assoc-string, since assoc-string doesn't exist in XEmacs.
595 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
597 * custom.el (custom-known-themes): Reflow docstring.
598 (custom-theme-load-path): Fix typo in docstring.
599 (load-theme): Fix typo in error message.
600 (custom-available-themes, custom-variable-theme-value):
601 Use `let', not `let*'.
603 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
605 * calc/README: Mention inclusion of musical notes.
607 * calc/calc-units.el (calc-lu-quant): Rename from
608 `calc-logunits-quantity'.
609 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
610 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
611 (calc-db): Rename from `calc-dblevel'.
612 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
613 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
614 (calc-np): Rename from `calc-nplevel'.
615 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
616 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
617 (calc-lu-plus): Rename from `calc-logunits-add'.
618 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
619 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
620 (calc-lu-minus): Rename from `calc-logunits-sub'.
621 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
622 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
623 (calc-lu-times): Rename from `calc-logunits-mul'.
624 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
625 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
626 (calc-lu-divide): Rename from `calc-logunits-div'.
627 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
628 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
630 * calc/calc-ext.el (calc-init-extensions): Update the names of the
631 functions being autoloaded.
633 * calc/calc.el (calc-lu-power-reference): Rename from
634 `calc-logunits-power-reference'.
635 (calc-lu-field-reference): Rename from
636 `calc-logunits-field-reference'.
638 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
640 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
642 * minibuffer.el (completion-all-sorted-completions):
643 Use :completion-cycle-penalty text property if present.
645 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
647 * allout.el (allout-yank-processing): Adjust for new rebulleting
648 regime so bullet being yanked is used without prompting the user
651 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
653 * startup.el (command-line): Warn the user that _emacs is deprecated.
655 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
657 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
658 (delphi-verbose, delphi-comment-face, delphi-string-face)
659 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
660 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
661 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
662 (delphi-new-comment-line, delphi-font-lock-defaults)
663 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
664 Fix typos in docstrings.
666 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
668 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
669 Invert the roles of character and string values for INSTEAD, so a
670 string is used for the more common case of a defaulting prompt.
672 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
674 * progmodes/ruby-mode.el (ruby-backward-sexp):
675 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
676 * play/gamegrid.el (gamegrid-make-face):
677 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
678 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
679 * notifications.el (notifications-notify):
680 * net/xesam.el (xesam-search-engines):
681 * net/quickurl.el (quickurl-list-insert):
682 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
684 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
686 * startup.el (command-line): Update package subdirectory regexp.
688 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
690 * allout.el (allout-abbreviate-flattened-numbering)
691 (allout-mode-deactivate-hook): Fix up obsolescence "date".
693 * subr.el (read-char-choice): Only show the cursor after the prompt,
694 not after the answer.
696 2011-03-15 Kevin Ryde <user42@zip.com.au>
698 * help-fns.el (variable-at-point): Skip leading quotes, if any
701 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
703 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
706 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
708 * shell.el (shell): When called interactively, offer to change the
709 shell file name on remote hosts.
711 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
713 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
714 integration for LDAP parameters. The host, base, user or binddn,
715 and secret tokens can be specified in a netrc file, for instance.
716 This is optional because an `auth-source' parameter must be
717 specified in the search attributes.
719 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
721 * help.el (describe-mode): Link to the mode's definition (bug#8185).
723 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
725 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
726 into declaration. Remove redundant and harmful binding.
728 2011-03-12 Eli Zaretskii <eliz@gnu.org>
730 * files.el (file-ownership-preserved-p): Pass `integer' as an
731 explicit 2nd argument to `file-attributes'. If the file's owner
732 is the Administrators group on Windows, and the current user is
733 Administrator, consider that a match.
735 * server.el (server-ensure-safe-dir): Consider server directory
736 safe on MS-Windows if its owner is the Administrators group while
737 the current Emacs user is Administrator. Use `=' to compare
738 numerical UIDs, since they could be integers or floats.
740 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
742 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
744 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
746 Sync with Tramp 2.2.1.
748 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
750 * net/trampver.el: Update release number.
752 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
754 * progmodes/compile.el (compilation--previous-directory): Fix up
755 various nil/dead-marker mismatches (bug#8014).
756 (compilation-directory-properties, compilation-error-properties):
757 Don't call it at a position past the one we're about to change.
759 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
760 Disable obsolescence warnings in the file that declares it.
762 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
764 * allout-widgets.el (allout-widgets-tally): Initialize
765 allout-widgets-tally as a hash table rather than nil to prevent
766 mode-line redisplay warnings.
767 Also, clarify the module description and fix a comment typo.
769 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
771 * help-fns.el (describe-variable): Don't complete keywords.
772 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
774 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
776 * emacs-lisp/package.el (package-version-join): Impose a standard
777 string representation for pre/alpha/beta version lists.
778 (package-unpack-single): Standardize the directory name by passing
779 it through package-version-join.
780 (package-strip-rcs-id): Accept any version string that does not
781 signal an error in version-to-list.
783 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
785 * simple.el (delete-trailing-whitespace): Return nil for the
786 benefit of `write-file-functions'.
788 2011-03-10 Glenn Morris <rgm@gnu.org>
790 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
792 * vc/vc-git.el (vc-git-program): New option.
793 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
794 (vc-git--call): Use it.
796 * eshell/esh-util.el (eshell-condition-case): Doc fix.
798 * cus-edit.el (Custom-newline): If no button at point, look
799 for a subgroup button at start-of-line. (Bug#2298)
801 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
803 2011-03-10 Julien Danjou <julien@danjou.info>
805 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
806 `cursor-type' is nil.
808 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
810 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
812 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
814 * allout.el Summary: Change so yank of distinctive-bullet items
815 preserves the existing header prefix, rebulleting it if necessary,
816 rather than replacing it. This is necessary for proper operation
817 of cooperative addons like allout-widgets.
818 (allout-make-topic-prefix, allout-rebullet-heading): Change
819 SOLICIT arg to INSTEAD, and interpret additionally a string value
820 as alternate bullet to be used, instead of prompting the user for
823 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
825 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
826 Do not use `tramp-file-name-port', because this returns also
827 `tramp-default-port'.
829 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
831 * net/rcirc.el (rcirc-handler-001): Remove useless
832 with-rcirc-process-buffer.
833 (rcirc-check-auth-status): Swap arguments to string-match.
835 2011-03-09 Glenn Morris <rgm@gnu.org>
837 * shell.el (shell-mode):
838 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
840 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
841 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
843 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
845 * emacs-lisp/package.el (package-refresh-contents)
846 (package-menu-execute): Use condition-case-no-debug.
848 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
850 * simple.el (shell-command-to-string): Use `process-file'.
852 * emacs-lisp/package.el (package-tar-file-info): Handle also
855 * emacs-lisp/package-x.el (package-upload-buffer-internal):
856 Use `equal' for upload base check.
858 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
860 * textmodes/texinfo.el (texinfo-environments):
861 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
863 2011-03-08 Glenn Morris <rgm@gnu.org>
865 * cus-start.el (cursor-in-non-selected-windows):
866 Fix :set quoting oddness. (Bug#8192)
868 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
869 in some setf expressions. (Bug#2159)
871 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
873 * custom.el (custom-available-themes): Return themes in
876 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
878 * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
879 application of patch from Alan Mackenzie (Bug#7595).
881 2011-03-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
883 * net/rcirc.el (rcirc-connect): Fix PASS bug.
885 2011-03-07 Glenn Morris <rgm@gnu.org>
887 * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
888 Give an explicit error if failed to make writable. (Bug#6146)
890 2011-03-07 Ed Reingold <reingold@emr.cs.iit.edu>
892 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
893 Add optional `after-sunset' argument. (Bug#8190)
895 2011-03-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
897 * play/morse.el (nato-alphabet, nato-region, denato-region):
898 New variable and functions. (Bug#2288)
899 (morse-region, unmorse-region): Barf if read-only.
901 2011-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
903 * progmodes/gud.el (gdb-script-syntax-propertize-function):
904 Don't change the syntax of a \n that closes a comment (bug#8169).
906 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
908 * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
910 (package--update-file): Doc fix. Accept relative file names.
911 (package--archive-contents-from-file): Remove the argument, since
912 it's necessarily always "archive-contents".
913 (package-maint-add-news-item): Pass relative file name args to
914 package--update-file.
915 (package-upload-buffer-internal): Prompt for a destination if
916 package-archive-upload-base is invalid. Create the directory if
918 (package-upload-buffer, package-upload-file): Doc fix.
920 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
922 * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
923 and move isearch-yank-line to M-s C-e (Bug#8183).
925 2011-03-06 Alan Mackenzie <acm@muc.de>
927 * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
928 (c-guess-basic-syntax): Move CASE 19 to a different place,
929 correctly to process template-args-cont lines.
931 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
933 * calc/calc-ext.el (calc-init-extensions):
934 Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
935 and calc-nplevel, respectively. Add keybindings for calc-spn,
936 calc-midi and calc-freq. Add autoloads for calcFunc-spn,
937 calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
939 * calc/calc-units.el (calc-dblevel): Rename from
940 calc-logunits-dblevel.
941 (calc-nplevel): Rename from calc-logunits-nplevel.
942 (math-midi-round, math-freqp, math-midip, math-spnp)
943 (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
944 (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
945 (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
946 (math-notes): New variable.
948 * calc/calc.el (calc-note-threshold): New variable.
950 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
952 * emacs-lisp/package.el (package-archives): Accept either ordinary
953 directory names, in addition to HTTP URLs.
954 (package--with-work-buffer): New macro. Handle normal directories.
955 (package-handle-response): Don't display the failing buffer.
956 (package-download-single, package-download-tar)
957 (package--download-one-archive): Use package--with-work-buffer.
958 (package-archive-base): Rename from package-archive-url.
960 2011-03-06 Glenn Morris <rgm@gnu.org>
962 * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
963 (xmodmap-generic-mode): Respect generic-extras-enable-list.
965 2011-03-06 Daniel Clemente <dcl441-bugs@yahoo.com> (tiny change)
967 * generic-x.el (xmodmap-generic-mode): New. (Bug#2065)
969 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
971 * allout.el (allout-init, allout-prefixed-keybindings)
972 (allout-unprefixed-keybindings):
973 * progmodes/prolog.el (prolog-find-term):
974 Fix typos in docstrings.
976 2011-03-06 Nikolaj Schumacher <me@nschum.de> (tiny change)
978 * emacs-lisp/elp.el (elp-results): Fix off-by-one in header. (Bug#2746)
980 2011-03-06 Kevin Ryde <user42@zip.com.au>
982 * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc. (Bug#5326)
984 2011-03-06 Michael Shields <shields@msrl.com> (tiny change)
986 * window.el (one-window-p, walk-windows, display-buffer):
987 Doc fixes. (Bug#5567)
989 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
991 * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
992 of the variable if it exists.
994 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
1001 * net/tramp-cache.el:
1002 * obsolete/fast-lock.el:
1003 * textmodes/reftex.el:
1004 Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
1006 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
1008 * files.el (delete-directory, copy-directory, list-directory):
1009 Use read-directory-name.
1011 * find-file.el (ff-find-the-other-file):
1012 * net/ange-ftp.el (ange-ftp-make-directory):
1013 * printing.el (pr-interactive-dir):
1014 * progmodes/ada-prj.el (ada-prj-load-directory):
1015 * progmodes/ebnf2ps.el (ebnf-print-directory)
1016 (ebnf-spool-directory, ebnf-eps-directory)
1017 (ebnf-syntax-directory):
1019 * speedbar.el (speedbar-create-directory):
1020 * vc/emerge.el (emerge-merge-directories):
1021 * vc/vc-dir.el (vc-dir):
1022 * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
1024 2011-03-05 Chong Yidong <cyd@stupidchicken.com>
1026 * help-mode.el (help-buffer): If we are to return the current
1027 buffer, signal an error if it's not in Help mode (Bug#8147).
1029 2011-03-05 Reuben Thomas <rrt@sc3d.org>
1031 * files.el (file-name-version-regexp): Handle backup files of the
1032 form `foo.js.~HEAD~1~' (Bug#8159).
1034 2011-03-05 Glenn Morris <rgm@gnu.org>
1036 * eshell/esh-var.el: Don't require esh-test when compiling.
1037 * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
1038 * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
1039 * eshell/esh-test.el: Move to ../../test/eshell.el.
1041 2011-03-05 David Engster <deng@randomsample.de>
1043 * files.el (save-some-buffers): Report the names of buffers saved
1044 automatically due to buffer-save-without-query (Bug#8134).
1046 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1048 * net/rcirc.el: Add QuakeNet authentication support.
1049 (rcirc-authinfo, rcirc-check-auth-status)
1050 (rcirc-authenticate): Support QuakeNet.
1052 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1054 * net/rcirc.el: Add functionality to authenticate before
1055 autojoining channels.
1056 (rcirc-authenticate-before-join): New option.
1057 (rcirc-authenticated-hook): New variable.
1058 (rcirc-connect): Make local variable rcirc-user-authenticated.
1059 (rcirc-handler-001): Respect rcirc-authenticate-before-join.
1060 (rcirc-check-auth-status, rcirc-join-channels-post-auth):
1062 (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
1063 Call rcirc-check-auth-status.
1065 2011-03-05 Alex Harsanyi <AlexHarsanyi@gmail.com>
1067 * net/soap-client.el (soap-namespace-put-link): Check if the target
1068 name is fully qualified -- use only the name part.
1069 (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
1070 types, treated the same as xsd:sequence. (Bug#8166)
1072 2011-03-05 Eli Zaretskii <eliz@gnu.org>
1074 * files.el (find-file-noselect): Don't ask about re-visiting
1075 non-literally if the file is already visited in image-mode.
1078 2011-03-05 Glenn Morris <rgm@gnu.org>
1080 * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
1081 (eshell-mode): Use eshell-kill-buffer-function.
1082 Run the -initialize functions independently of the -load-hooks.
1083 * eshell/esh-proc.el (eshell-kill-process-function): New function.
1084 (eshell-gather-process-output, eshell-sentinel)
1085 (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
1086 Use eshell-kill-process-function.
1087 * eshell/em-alias.el (eshell-alias-load-hook):
1088 * eshell/em-banner.el (eshell-banner-load-hook):
1089 * eshell/em-cmpl.el (eshell-cmpl-load-hook):
1090 * eshell/em-dirs.el (eshell-dirs-load-hook):
1091 * eshell/em-glob.el (eshell-glob-load-hook):
1092 * eshell/em-hist.el (eshell-hist-load-hook):
1093 * eshell/em-pred.el (eshell-pred-load-hook):
1094 * eshell/em-prompt.el (eshell-prompt-load-hook):
1095 * eshell/em-rebind.el (eshell-rebind-load-hook):
1096 * eshell/em-script.el (eshell-script-load-hook):
1097 * eshell/em-smart.el (eshell-smart-load-hook):
1098 * eshell/em-term.el (eshell-term-load-hook):
1099 * eshell/em-unix.el (eshell-unix-load-hook):
1100 * eshell/esh-arg.el (eshell-arg-load-hook):
1101 * eshell/esh-cmd.el (eshell-cmd-load-hook):
1102 * eshell/esh-ext.el (eshell-ext-load-hook):
1103 * eshell/esh-io.el (eshell-io-load-hook):
1104 * eshell/esh-mode.el (eshell-exit-hook):
1105 * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
1106 * eshell/esh-var.el (eshell-var-load-hook):
1107 Set default hook values to nil. (Bug#5375)
1109 * eshell/esh-module.el (eshell-module-unload-hook)
1110 (eshell-modules-list): Remove leading * from defcustom docs.
1112 * eshell/esh-util.el (eshell-for): Make it obsolete.
1113 * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
1114 * eshell/em-dirs.el (eshell-save-some-last-dir):
1115 * eshell/em-hist.el (eshell-save-some-history)
1116 (eshell-hist-parse-modifier):
1117 * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
1118 (eshell-ls-entries):
1119 * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
1120 * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
1122 * eshell/esh-ext.el (eshell-find-interpreter):
1123 * eshell/esh-mode.el (eshell-mode):
1124 * eshell/esh-module.el (eshell-unload-extension-modules):
1125 * eshell/esh-proc.el (eshell-process-interact):
1126 * eshell/esh-test.el (eshell-test):
1127 * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
1128 * eshell/esh-var.el (eshell/env, eshell-environment-variables)
1129 (eshell-variables-list):
1130 * eshell/eshell.el (eshell-unload-all-modules):
1131 Replace eshell-for with dolist.
1133 2011-03-04 Glenn Morris <rgm@gnu.org>
1135 * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0. (Bug#8170)
1137 2011-03-04 Tom Tromey <tromey@redhat.com>
1139 * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
1141 2011-03-04 Glenn Morris <rgm@gnu.org>
1143 * outline.el (outline-regexp): No longer allow nil.
1144 (outline-heading-end-regexp): Add safety predicate. (Bug#7619)
1146 * net/browse-url.el (browse-url):
1147 Handle deleted default-directory. (Bug#6077)
1149 * recentf.el (recentf-include-p): In case of a buggy predicate,
1150 err on the side of including, not excluding. (Bug#5843)
1152 2011-03-04 Jay Belanger <jay.p.belanger@gmail.com>
1154 * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
1157 2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
1159 * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
1160 if there is no node. (Bug#3261)
1162 2011-03-04 Leo <sdl.web@gmail.com>
1164 * vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
1166 * time.el (display-time-world-list): Fix typo. (Bug#7571)
1168 2011-03-04 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
1170 * cus-edit.el (custom-buffer-create-internal):
1171 Split search string before passing it to `customize-apropos' (bug#8136).
1173 2011-03-04 Drew Adams <drew.adams@oracle.com>
1175 * image-dired.el (image-dired-cmd-read-exif-data-options):
1176 Fix typo in docstring (bug#8156).
1178 2011-03-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1180 * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
1182 2011-03-03 Christian Ohler <ohler@gnu.org>
1184 * emacs-lisp/ert.el (ert--explain-equal): New function.
1185 (ert--explain-equal-rec): Rename from `ert--explain-not-equal'.
1186 All callers changed.
1187 (ert--explain-equal-including-properties): Rename from
1188 `ert--explain-not-equal-including-properties'. All callers
1191 2011-03-03 Christian Ohler <ohler@gnu.org>
1193 * emacs-lisp/ert.el (ert--stats-set-test-and-result)
1194 (ert-char-for-test-result, ert-string-for-test-result)
1195 (ert-run-tests-batch, ert--print-test-for-ewoc):
1196 Handle `ert-test-quit'.
1198 2011-03-03 David Abrahams <dave@boostpro.com> (tiny change)
1200 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1201 Move ediff-defvar-local calls after defcustoms. (Bug#1821)
1203 2011-03-03 Glenn Morris <rgm@gnu.org>
1205 * files.el (file-truename): Doc fix. (Bug#2341)
1207 2011-03-03 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1209 * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
1211 2011-03-03 Vagn Johansen <gonz808@hotmail.com> (tiny change)
1213 * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
1214 programs output backslashes. (Bug#7663)
1216 2011-03-03 Glenn Morris <rgm@gnu.org>
1218 * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
1219 (mail-mode): Remove mail-sent-via from the doc.
1220 (mail-sent-via): Make it obsolete. (Bug#1776)
1222 * progmodes/grep.el (grep-highlight-matches): Doc fix.
1223 (grep-process-setup): No highlighting without font-lock. (Bug#8084)
1225 * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
1226 with no parents. (Bug#8025)
1228 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
1230 * password-cache.el (password-in-cache-p): Add autoload.
1232 2011-03-02 Glenn Morris <rgm@gnu.org>
1234 * man.el (Man-support-local-filenames): Also handle Red Hat's man.
1235 * dired-x.el (Man-support-local-filenames): Autoload it.
1236 (dired-guess-shell-alist-default): Also handle Red Hat's man.
1238 * dired-x.el (dired-default-directory-alist, dired-default-directory):
1240 (dired-smart-shell-command): Just call dired-current-directory.
1242 * dired-x.el (dired-jump-other-window): Add autoload.
1243 (dired-default-directory-alist, dired-default-directory): Doc fixes.
1244 (dired-default-directory-alist): Mark as risky.
1246 * dired-x.el (dired-omit-here-always): Make it obsolete.
1248 2011-03-02 Chong Yidong <cyd@stupidchicken.com>
1250 * textmodes/artist.el (artist-curr-go): Default to pen-line.
1251 (artist-select-op-pen-line): New function.
1252 (artist-menu-map): New variable.
1253 (artist-mode-map): Add a menu to the menu-bar.
1255 2011-03-02 Jay Belanger <jay.p.belanger@gmail.com>
1257 * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
1260 * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
1262 (math-logunits-add, math-logunits-mul, math-logunits-divide):
1263 (math-logunits-quant, math-logunits-level):
1264 Use `math-conditional-apply' and `math-conditional-pow' to evaluate
1266 (math-logunits-level): Extract units from ratio.
1268 2011-03-01 Juanma Barranquero <lekktu@gmail.com>
1270 * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
1272 2011-03-01 Glenn Morris <rgm@gnu.org>
1274 * calendar/cal-hebrew.el (calendar-hebrew-birthday)
1275 (diary-hebrew-birthday): Rename and rework functions added
1278 2011-03-01 Ed Reingold <reingold@emr.cs.iit.edu>
1280 * calendar/cal-hebrew.el (hebrew-calendar-birthday)
1281 (diary-hebrew-birthday): New functions.
1283 2011-03-01 Glenn Morris <rgm@gnu.org>
1285 * dired.el (dired-safe-switches-p): Beef it up.
1286 (dired-actual-switches): Use it for the safe-local prop. (Bug#3230)
1288 2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
1290 * dired.el (dired-safe-switches-p): New function.
1292 2011-03-01 Glenn Morris <rgm@gnu.org>
1294 * files.el (dir-locals-collect-variables):
1295 Add the ability to exclude subdirectories. (Bug#8100)
1297 * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
1299 2011-02-28 Christoph Scholtes <cschol2112@googlemail.com>
1301 * ido.el (ido-everywhere): Doc fix.
1302 (ido-mode): Doc fix.
1304 2011-02-28 Glenn Morris <rgm@gnu.org>
1306 * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
1308 2011-02-28 Michael Albinus <michael.albinus@gmx.de>
1310 * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
1313 2011-02-28 Antoine Levitt <antoine.levitt@gmail.com>
1315 * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
1317 2011-02-28 Juanma Barranquero <lekktu@gmail.com>
1319 * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
1320 Fix typos in docstrings.
1322 2011-02-28 Stephen Berman <stephen.berman@gmx.net>
1324 * dired-aux.el (dired-update-file-line):
1325 Fix 2010-11-09 change. (Bug#8131)
1327 2011-02-28 Eli Zaretskii <eliz@gnu.org>
1329 * international/mule-cmds.el (set-default-coding-systems): Use the
1330 -unix variant of encoding in default-keyboard-coding-system.
1333 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
1335 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
1337 2011-02-27 Prestoo Ten <prestooten@gmail.com> (tiny change)
1339 * term/screen.el: New file (Bug#2650).
1341 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
1343 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
1344 (pcase-mutually-exclusive-predicates): New var.
1345 (pcase--split-consp, pcase--split-pred): Use it.
1346 (pcase--split-equal, pcase--split-member): When splitting against
1347 a pure predicate, run it to know the outcome.
1348 (pcase--u1): Mark vars that are actually used.
1349 (pcase--q1): Avoid introducing unused vars.
1351 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
1353 * calc/calc-ext.el (calc-init-extensions):
1354 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
1356 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
1359 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
1360 argument is a variable.
1362 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1364 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
1365 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
1366 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
1368 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
1370 * password-cache.el (password-in-cache-p): Convenience function to
1371 check if a key is in the cache, even if the value is nil.
1373 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
1375 * emacs-lisp/package-x.el (package--archive-contents-from-url)
1376 (package--archive-contents-from-file): New functions.
1377 (package-update-news-on-upload): New var.
1378 (package-upload-buffer-internal): Extract archive-contents from
1379 package-archive-upload-base if it is not found at archive-url.
1380 Obey package-update-news-on-upload.
1381 (package-upload-buffer, package-upload-file): Doc fix.
1383 2011-02-24 Glenn Morris <rgm@gnu.org>
1385 * files-x.el (modify-dir-local-variable): Handle dir-locals from
1386 the cache, and from non-file sources.
1388 * help-fns.el (describe-variable): Return consistent results when a
1389 dir-local from a file came from the cache or did not. (Bug#8095)
1390 If a dir-local has no associated file, say it came from a "directory".
1392 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
1393 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
1395 * files.el (dir-locals-find-file): Doc fix.
1396 Fix the check for cache elements that have no associated file,
1397 and the mtime check for those that do. (Bug#8095)
1399 * dired-x.el (dired-hack-local-variables):
1400 Handle interrupts during hacking local variables. (Bug#5216)
1402 * emacs-lisp/autoload.el (autoload-save-buffers)
1403 (autoload-find-destination, update-directory-autoloads):
1404 Avoid prompts when updating autoloads.
1406 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1408 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
1410 2011-02-23 Kenichi Handa <handa@m17n.org>
1412 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
1413 error when a multipart boundary in the nested multipart is found.
1415 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
1418 2011-02-23 Glenn Morris <rgm@gnu.org>
1420 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
1421 * dired-x.el (dired-omit-mode): Safe if boolean.
1422 (dired-enable-local-variables): Fix doc and custom type.
1423 (dired-enable-local-variables, dired-local-variables-file)
1424 (dired-hack-local-variables): Make obsolete.
1425 (dired-omit-here-always): Use dir-locals.el instead.
1427 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
1429 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
1431 * help-fns.el (describe-function-1): Don't signal an error just because
1432 the DOC file disappeared.
1434 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
1436 * eshell/esh-ext.el (eshell-external-command): Do not restrict
1437 remote check to "ftp". (Bug#8089)
1439 2011-02-21 Alan Mackenzie <acm@muc.de>
1442 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
1443 in macros finding their way into c-state-nonlit-pos-cache.
1444 Strengthen the comments.
1445 (c-state-dump): New commented out diagnostic routine.
1447 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
1449 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
1450 `field' property of `rfn-eshadow-overlay'.
1452 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
1454 * net/netrc.el (netrc-parse): Comment fix.
1456 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
1458 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
1459 Autoload. Add optional arg FRAME, and pass it to color-values.
1460 (color-complement): Caller changed. Doc fix.
1461 (color-gradient): Rewrite for better clarity and efficiency.
1463 * faces.el (color-values): Use cond for clarity. Doc fix.
1465 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
1467 (list-colors-sort-key, list-colors-print):
1468 Use color-normalized-values.
1470 2011-02-20 Drew Adams <drew.adams@oracle.com>
1472 * color.el: First part of merge from hexrgb.el.
1473 (color-rgb-to-hex): Rename from color-rgb->hex.
1474 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
1475 saturation to zero if the value is too small.
1476 (color-rgb-to-hsl): Rename from color-rgb->hsl.
1477 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
1478 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
1479 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
1480 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
1481 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
1482 (color-cie-de2000): Doc fix.
1484 2011-02-20 Alan Mackenzie <acm@muc.de>
1486 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
1487 locating the beginning of a macro. (Bug#7595)
1489 2011-02-20 Glenn Morris <rgm@gnu.org>
1491 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
1494 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1495 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
1497 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
1498 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
1500 * progmodes/hideshow.el (hs-find-block-beginning)
1501 (hs-hide-level-recursive): Ignore comments when parsing braces
1504 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1506 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
1507 (vc-bzr-pull): Use it.
1509 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1511 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
1512 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
1513 but returning an alist. Ignore comments in bzr conffile.
1514 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
1515 (vc-bzr-error-regex-alist): New var.
1516 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
1518 * vc/vc-dispatcher.el (vc-do-async-command):
1519 Bind inhibit-read-only to t.
1521 * progmodes/compile.el (compilation--flush-directory-cache):
1522 Handle the case where cdr of compilation--flush-directory-cache
1523 points to no buffer, which can occur if we previously switched to
1524 compilation-mode in a pregenerated buffer.
1526 2011-02-19 Kenichi Handa <handa@m17n.org>
1528 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
1529 get the header copy into the temporary buffer.
1530 (rmail-mime-insert-decoded-text): Ignore us-ascii.
1531 (rmail-show-mime): When rmail-mime-coding-system is nil, set
1532 buffer-file-coding-system to undecided.
1534 2011-02-19 Eli Zaretskii <eliz@gnu.org>
1536 * international/mule-cmds.el (read-char-by-name, ucs-insert):
1537 Document completion with asterisk and a substring.
1539 2011-02-19 Glenn Morris <rgm@gnu.org>
1541 * files.el (find-file-literally): Doc fix.
1543 * simple.el (rfc822-goto-eoh): Give it a doc-string.
1545 * log-edit.el (log-edit-insert-changelog):
1546 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
1548 2011-02-19 Glenn Morris <rgm@gnu.org>
1550 * dired-x.el: Don't require dired-aux.
1551 (dired-do-create-files, dired-mark-read-regexp)
1552 (dired-do-create-files-regexp): Autoload from dired-aux.
1554 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
1555 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
1557 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
1558 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
1560 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
1561 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
1562 (dired-clean-up-buffers-too): Declare.
1564 * dired-x.el (dired-initial-position): Merge into dired.el's version.
1565 * dired.el (dired-initial-position): Merge dired-x's version here.
1566 (dired-find-subdir): Declare.
1568 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
1569 * dired-aux.el (dired-add-entry): Give it a doc-string.
1570 Merge dired-x's dired-omit handling here.
1571 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
1573 * international/mule-diag.el (list-input-methods-1):
1574 Indent all lines of multi-line doc-strings. (Bug#8066)
1576 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
1578 Fix 2011-02-02 changes.
1580 * apropos.el (apropos-print): Call apropos-mode before setting up
1581 buffer variables. Use inhibit-read-only.
1583 * emacs-lisp/package.el (package--list-packages):
1584 Call package-menu-mode before setting up buffer variables.
1586 * play/solitaire.el (solitaire): Call solitaire-mode before
1587 setting up buffer variables. Use inhibit-read-only.
1589 2011-02-18 Lawrence Mitchell <wence@gmx.li>
1591 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
1592 Bind case-fold-search to nil when looking for end of here-doc.
1594 2011-02-18 Eli Zaretskii <eliz@gnu.org>
1596 * image-mode.el (image-toggle-display-image):
1597 Set find-file-literally non-nil in buffers visiting binary image
1600 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1602 * files.el (cd): Make completion obey cd-path (bug#7924).
1604 2011-02-18 Glenn Morris <rgm@gnu.org>
1606 * progmodes/prolog.el: Don't require compile when compiling.
1607 (compilation-shell-minor-mode, compilation-error-regexp-alist)
1608 (compilation-forget-errors, compilation-fake-loc)
1609 (compilation-parse-errors-function, compilation-error-list): Declare.
1610 (prolog-inferior-mode): Require 'compile.
1612 * emulation/cua-base.el (pc-selection-mode): Declare.
1614 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
1615 (customize-object): Add autoload cookie.
1616 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
1617 (eieio-browse, describe-class, eieio-describe-class)
1618 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
1619 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
1620 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
1621 * Makefile.in (autoloads): Make eieio.el writable.
1623 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
1624 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
1625 (dired-hack-local-variables): Use inhibit-read-only.
1626 (dired-guess-default): Simplify.
1627 (dired-make-relative-symlink): Use dotimes.
1628 (dired-simultaneous-find-file): Use dolist.
1629 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
1630 (dired-x-hands-off-my-keys): Doc fix.
1631 (dired-x-bind-find-file): Doc fix. Use remapping.
1632 (after-init-hook): No need to add dired-x-bind-find-file.
1633 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
1634 No need to call expand-file-name.
1635 (dired-filename-at-point): Remove unused locals `end', `filename'.
1637 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1639 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
1641 2011-02-18 Christian Ohler <ohler@gnu.org>
1643 * emacs-lisp/ert.el (ert--setup-results-buffer)
1644 (ert-results-pop-to-backtrace-for-test-at-point)
1645 (ert-results-pop-to-messages-for-test-at-point)
1646 (ert-results-pop-to-should-forms-for-test-at-point)
1647 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
1648 were incorrect and unnecessary. This should make `make check'
1651 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
1653 * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
1654 (allout-widgets-icons-dark-subdir): Track relocations of icons.
1655 * lisp/allout.el: Remove commentary about remove encryption
1656 passphrase mnemonic support and verification.
1657 (allout-encrypt-string): Recognize epg failure to decrypt gpg2
1658 armored text using gpg1, and indicate that the gpg version *might*
1659 be the problem in the error message.
1661 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1663 * net/rcirc.el (rcirc-float-time): New function.
1664 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
1665 (rcirc-ctcp-sender-PING): Use it.
1667 2011-02-17 Glenn Morris <rgm@gnu.org>
1669 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
1670 (speedbar-update-flag, speedbar-fetch-etags-command)
1671 (speedbar-fetch-etags-arguments):
1672 * term.el (term-buffer-maximum-size, term-input-chunk-size)
1673 (term-completion-autolist, term-completion-addsuffix)
1674 (term-completion-recexact, term-completion-fignore):
1675 * term/sup-mouse.el (sup-mouse-fast-select-window):
1676 * term/x-win.el (x-select-request-type):
1677 Convert some defvars with "*" to defcustoms.
1679 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
1681 * vc/vc.el (vc-default-previous-version):
1682 Remove alias that points nowhere. (Bug#4496)
1684 * dired-x.el (dired-clean-up-after-deletion):
1685 kill-buffer does not need save-excursion.
1686 (dired-do-run-mail): Doc fix.
1687 (dired-filename-at-point): Doc fix.
1688 Use looking-at, and skip-chars rather than re search.
1690 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
1692 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
1694 * allout-widgets.el: New allout extension that shows allout
1695 outline structure with graphical widgets. 'allout-widgets'
1696 customize group is an 'allout' subgroup, for easy discovery.
1698 * allout.el: Include PGP and GnuPG in Keywords, and other
1699 commentary refinements.
1700 (allout-abbreviate-flattened-numbering): Rename to
1701 allout-flattened-numbering-abbreviation, and
1702 define-obsolete-variable-alias the old name.
1703 (allout-flattened-numbering-abbreviation): Rename from
1704 allout-abbreviate-flattened-numbering.
1705 (allout-mode-p): Include among autoloads, for use by other modes
1707 (allout-listify-exposed):
1708 Use allout-flattened-numbering-abbreviation.
1709 (allout-encrypt-string): Use set-buffer-multibyte directly.
1710 (allout-set-buffer-multibyte): Remove.
1712 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1714 * simple.el (just-one-space): Remove useless `or' call.
1716 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1718 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
1719 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
1720 (soap-decoded-multi-refs, soap-current-wsdl)
1721 (soap-encoded-namespaces): Rename CL-style *...* variables.
1723 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
1725 * net/soap-client.el: Add "comm" and "hypermedia" to the
1726 keywords. Reflow too long lines.
1728 * net/soap-inspect.el: Ditto. Require 'cl.
1730 2011-02-16 Bastien Guerry <bzg@altern.org>
1732 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
1733 in a `doctor-type' argument.
1735 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1737 * net/soap-client.el:
1738 * net/soap-inspect.el: New files.
1740 2011-02-16 Leo <sdl.web@gmail.com>
1742 * dired-x.el (dired-mode-map, dired-extra-startup):
1743 Remove dired-copy-filename-as-kill since it's already in dired.el.
1745 2011-02-16 Glenn Morris <rgm@gnu.org>
1747 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
1748 Doc fixes. Add :set property, replacing top-level calls.
1749 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
1750 (dired-guess-shell-gnutar): Test tar version rather than system-type.
1751 (dired-extra-startup, dired-man, dired-info): Doc fixes.
1752 (dired-clean-up-after-deletion): Use when and dolist.
1753 (dired-jump): Use unless and when.
1754 (dired-virtual): Use line-end-position.
1755 (dired-default-directory-alist): Rename from default-directory-alist.
1756 (dired-default-directory): Update for above name change.
1757 (dired-vm): Drop VM < 5 and simplify.
1758 (dired-buffer-more-recently-used-p): Rewrite.
1759 (dired-filename-at-point): Use when and or.
1760 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
1763 2011-02-15 Glenn Morris <rgm@gnu.org>
1765 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
1767 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
1769 * vc/vc-git.el (vc-git-root-log-format): New option for
1770 customizing log format.
1771 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
1772 (vc-git-log-view-mode): Use it.
1773 (vc-git-expanded-log-entry): New function.
1774 (vc-git-log-view-mode): Use it. Truncate lines in root log.
1776 * vc/vc-hg.el (vc-hg-root-log-template): New option for
1777 customizing log format.
1778 (vc-hg-print-log): Use it.
1779 (vc-hg-expanded-log-entry): New function.
1780 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
1781 vc-hg-expanded-log-entry. Truncate lines in root log.
1783 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
1785 * vc/log-view.el (log-view-mode-menu):
1786 Add log-view-toggle-entry-display.
1788 2011-02-14 Glenn Morris <rgm@gnu.org>
1790 * dired-x.el: Don't require man when compiling.
1791 (dired-omit-extensions, dired-local-variables-file)
1792 (dired-x-hands-off-my-keys): Make them defcustoms.
1793 (Man-support-local-filenames, Man-getpage-in-background): Declare.
1794 (vm-visit-folder): Declare rather than defining.
1795 (dired-x-help-address, dired-x-variable-list): Remove.
1796 (dired-x-submit-report): Make it an obsolete alias.
1798 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
1800 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
1802 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1804 * net/imap.el: Bring it back.
1806 2011-02-13 Alan Mackenzie <acm@muc.de>
1808 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
1809 narrow-to-region call that cuts context off the end (Bug#7722).
1811 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1812 Refactor nested if-forms with a simple cond.
1813 (c-forward-<>-arglist): Revert 2011-01-31 change.
1815 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1817 * vc/log-view.el: New command log-view-toggle-entry-display for
1818 toggling log entries between concise and detailed forms.
1819 (log-view-toggle-entry-display): New command.
1820 (log-view-mode-map): Bind RET to it.
1821 (log-view-expanded-log-entry-function): New variable.
1822 (log-view-current-entry, log-view-inside-comment-p)
1823 (log-view-current-tag): New functions.
1824 (log-view-toggle-mark-entry): Use log-view-current-entry and
1825 log-view-end-of-defun instead of searching directly with
1826 log-view-message-re.
1827 (log-view-end-of-defun): Likewise. Add optional ARG for
1828 compatibility with end-of-defun.
1829 (log-view-end-of-defun): Ignore comments and VC buttons.
1831 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
1832 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
1834 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1836 * net/imap.el: Remove file. All the functionality is in nnimap.el.
1838 * net/imap-hash.el: Remove file.
1840 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
1842 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
1844 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
1847 * net/tramp-imap.el: Remove file.
1849 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1851 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
1852 widget library for buttons, just use button.el.
1854 * vc/log-view.el (log-view-mode-map): Don't inherit from
1857 2011-02-12 Glenn Morris <rgm@gnu.org>
1859 * emacs-lisp/cl-seq.el (union, nunion, intersection)
1860 (nintersection, set-difference, nset-difference)
1861 (set-exclusive-or, nset-exclusive-or): Doc fix.
1863 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1865 * faces.el (face-attr-match-p): Handle the obsolete :bold and
1866 :italic props, so that frame-set-background-mode works. (Bug#7966)
1868 * simple.el (next-error): Doc fix.
1870 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1872 * dired-aux.el (dired-create-files): Adapt destination name to
1873 match the new behavior of copy-directory.
1875 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
1877 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1878 from rmail-dont-reply-to-names. Callers changed.
1879 (mail-dont-reply-to): Rename from mail-dont-reply-to.
1880 (rmail-dont-reply-to): Make it an obsolete alias.
1882 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1883 nil, and make obsolete (Bug#7888).
1884 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1886 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1888 * mail/rmailsort.el (rmail-sort-by-correspondent)
1889 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
1891 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1893 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1895 * files.el (copy-directory): New argument COPY-CONTENTS for
1896 copying directory contents into another existing directory.
1898 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
1900 * minibuffer.el (completion-table-case-fold): New function for
1901 creating a case-insensitive completion table.
1903 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1905 * net/tramp.el (tramp-default-method): Also check if
1906 `auth-source-search' is bound.
1907 (tramp-read-passwd): Use `auth-source-search' instead of
1908 `auto-source-user-or-password'.
1910 * net/tramp-imap.el: Autoload `auto-source-search' instead of
1911 `auto-source-user-or-password.
1912 (tramp-imap-passphrase-callback-function): Use it.
1914 * net/imap-hash.el: Autoload `auto-source-search' instead of
1915 `auto-source-user-or-password.
1916 (imap-hash-open-connection): Use it.
1918 * mail/smtpmail.el: Autoload `auto-source-search' instead of
1919 `auto-source-user-or-password.
1920 (smtpmail-try-auth-methods): Use it.
1922 2011-02-12 Phil Hagelberg <phil@hagelb.org>
1924 * emacs-lisp/package.el: Allow packages to be reinstalled.
1925 (package--write-file-no-coding): Remove EXCL arg.
1926 (package-unpack-single): Don't use it.
1928 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
1930 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1931 in each sub directory.
1932 (vc-svn-registered): Use vc-svn-root.
1933 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
1934 (vc-svn-repository-hostname): Use "svn info".
1936 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1938 * simple.el (delete-trailing-whitespace): New optional buffer
1941 2011-02-11 Bastien Guerry <bzg@altern.org>
1943 * files.el (basic-save-buffer): save unmodified buffers when
1944 the file pointed by buffer-file-name doesn't exist.
1946 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1948 * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1950 2011-02-11 Glenn Morris <rgm@gnu.org>
1952 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1954 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
1956 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1958 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
1960 * server.el (server-process-filter): Use pcase.
1962 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1964 (smie-indent--parent): Extend to "parent of arg".
1965 (smie-indent-inside-string): New function.
1966 (smie-indent-functions): Use it.
1968 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1969 bzr locking race condition.
1971 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1972 still valid before using it.
1974 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1975 `message' -> `compilation-message' rename (bug#8004).
1977 Move keymap initialization into declaration.
1978 * textmodes/enriched.el (enriched-mode-map):
1979 * textmodes/bib-mode.el (bib-mode-map):
1980 * term/lk201.el (lk201-function-map):
1981 * tar-mode.el (tar-mode-map):
1982 * replace.el (occur-mode-map):
1983 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1984 * progmodes/idlw-help.el (idlwave-help-mode-map):
1985 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1986 * play/solitaire.el (solitaire-mode-map):
1987 * play/snake.el (snake-mode-map, snake-null-map):
1988 * play/pong.el (pong-mode-map):
1989 * play/handwrite.el (menu-bar-handwrite-map):
1990 * play/gametree.el (gametree-mode-map):
1991 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1992 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1993 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1994 (newsticker--url-keymap):
1995 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1996 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1997 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1998 (menu-bar-edit-menu, menu-bar-custom-menu)
1999 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
2000 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
2001 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
2002 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
2003 (menu-bar-tools-menu, menu-bar-describe-menu)
2004 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
2005 (menu-bar-help-menu):
2006 * mail/rmailsum.el (rmail-summary-mode-map):
2007 * kmacro.el (kmacro-step-edit-map):
2008 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
2009 (ibuffer-mode-operate-map):
2010 * hi-lock.el (hi-lock-menu, hi-lock-map):
2011 * emulation/vip.el (vip-mode-map):
2012 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
2013 * bookmark.el (bookmark-bmenu-mode-map):
2014 * help-mode.el (help-mode-map): Move initialization into declaration.
2016 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2018 * net/rcirc.el: Add PRIVMSG and CTCP functions.
2019 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
2020 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
2021 (rcirc-cmd-me, rcirc-authenticate): Use them.
2023 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
2025 * allout.el: Synopsis: Change allout user configuration so
2026 auto-activation is controlled solely by customization
2027 `allout-auto-activation'.
2029 (allout-auto-activation-helper, allout-setup): New autoloads
2030 implement new custom set procedure for allout-auto-activation.
2031 Also, explicitly invoke (allout-setup) after allout-auto-activation
2032 is custom-defined, to affect the settings in emacs sessions besides
2033 the few where allout-auto-activation customization is done.
2034 (allout-auto-activation): Use allout-auto-activation-helper to
2035 :set. Revise the docstring.
2036 (allout-init): Reduce functionality to just customizing
2037 allout-auto-activation, and mark obsolete.
2038 (allout-mode): Respect string values for allout-auto-activation.
2039 Run allout-after-copy-or-kill-hook without any args.
2040 (allout-mode, allout-layout, allout-default-layout)
2041 (outlineify-sticky): Adjust docstring for new scheme.
2042 (allout-after-copy-or-kill-hook): No arguments - hook implementers
2043 should concentrate on the kill ring.
2045 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
2047 * password-cache.el (password-cache-remove): Accept secrets that are
2050 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2052 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
2053 of here-doc that immediately follows a comment.
2055 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2057 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
2059 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
2061 (rcirc-ctcp-sender-PING): New function.
2063 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
2065 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
2066 Remove the mark/nomark handling, and activate shift-select-mode instead.
2068 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
2070 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
2072 * calc/calc-units.el (math-logunits-quant): Add support for
2073 non-logarithmic units.
2075 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
2077 * allout.el (allout-after-copy-or-kill-hook): New hook for
2078 extension-specific processing of killed text.
2079 (allout-mode): Include new allout-after-copy-or-kill-hook among
2081 (allout-kill-line, allout-kill-topic): Ensure that processing
2082 after kill happens even if barf-if-buffer-read-only is raised.
2083 Include new allout-after-copy-or-kill-hook among that subsequent
2085 (allout-deannotate-hidden): Actually remove the annotation text
2088 * allout.el (allout-listify-exposed): Copy text sans text properties.
2090 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
2092 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
2094 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2096 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
2098 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
2100 * calc/calc.el (calc-logunits-field-reference): Rename from
2101 `calc-default-field-reference-level'.
2102 (calc-logunits-power-reference): Rename from
2103 `calc-default-power-reference-level'.
2105 * calc/calc-units.el (math-logunits-quant): Rename from
2106 `math-logunits-level'
2107 (math-logunits-plus): Rename from math-logcombine.
2108 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
2109 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
2110 (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
2112 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
2113 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
2114 (calc-logunits-quantity): Rename from `calc-level'.
2115 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
2116 (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
2117 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
2118 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
2119 (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
2122 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
2123 (calc-ul-prefix-help): Remove.
2124 (calc-l-prefix-help): New function.
2125 (calc-full-help): Add reference to `calc-l-prefix-help'.
2127 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
2129 * calc/README: Mention logarithmic units.
2131 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
2133 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
2134 non-ASCII characters (Bug#7925).
2136 2011-02-05 Glenn Morris <rgm@gnu.org>
2138 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
2140 * calendar/diary-lib.el (diary-font-lock-keywords):
2141 Tweak diary-time-regexp match. (Bug#7891)
2143 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
2144 (f90-mode): Use it for mode's `find-tag-default-function' property.
2146 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
2148 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
2150 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2152 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
2155 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
2157 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
2158 font-lock-syntax-table remappings.
2159 (sh-here-doc-markers, sh-here-doc-re): Remove.
2160 (sh-font-lock-close-heredoc): Remove.
2161 (sh-syntax-propertize-here-doc): New function.
2162 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
2163 instead of the sh-here-doc-re.
2164 (sh-font-lock-paren): Don't do anything in comments or strings.
2165 Handle line continuations. Accept a few more chars.
2166 Don't rely on the font-lock-syntax-table remappings.
2167 `esac' is not a valid pattern.
2168 (sh-syntax-propertize-function): Handle here-docs differently, so we
2169 don't bother syntax-propertizing the insides.
2171 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
2172 Handle new bashisms ";&" and ";;&" (bug#7947).
2174 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
2176 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
2177 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
2179 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
2181 * net/tramp.el (tramp-postfix-method-format)
2182 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
2183 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
2184 (tramp-postfix-user-regexp, tramp-prefix-port-format)
2185 (tramp-prefix-port-regexp, tramp-postfix-host-format)
2186 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
2189 2011-02-04 Sam Steingold <sds@gnu.org>
2191 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
2193 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
2195 * international/mule-util.el (with-coding-priority): Doc fix.
2197 2011-02-04 Eli Zaretskii <eliz@gnu.org>
2199 * arc-mode.el (archive-mode-map): Fix a typo in last change.
2201 2011-02-03 Sam Steingold <sds@gnu.org>
2203 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2204 Do not error out when `func' is nil.
2206 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
2208 * net/tramp-sh.el (tramp-remote-path): Add default settings for
2209 `tramp-default-remote-path' to the docstring.
2210 (tramp-get-remote-path): Suppress error message when `getconf
2213 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
2215 2011-02-03 Glenn Morris <rgm@gnu.org>
2217 * vc/vc-hg.el (vc-hg-command): Doc fix.
2219 * term/w32-win.el (libpng-version): Declare for compiler.
2221 * msb.el: No need to load dired while compiling.
2223 * emacs-lisp/elint.el (elint-standard-variables):
2224 Remove a couple of built-ins that now have doc-strings.
2226 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
2227 `require' is automatically `eval-and-compile'd.
2229 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
2230 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
2232 * strokes.el (strokes-fill-current-buffer-with-whitespace):
2233 Move definition before use.
2234 (strokes-report-bug): Make it obsolete.
2236 2011-02-02 Sam Steingold <sds@gnu.org>
2238 * apropos.el (apropos-print): Now that `apropos-mode' inherits
2239 from `special-mode', entering it makes the buffer read-only, so
2240 call it only when everything has been already inserted.
2241 * emacs-lisp/ert.el (ert--setup-results-buffer)
2242 (ert-results-pop-to-backtrace-for-test-at-point)
2243 (ert-results-pop-to-messages-for-test-at-point)
2244 (ert-results-pop-to-timings): Ditto.
2245 * emacs-lisp/package.el (package--list-packages): Ditto.
2246 * play/solitaire.el (solitaire): Ditto.
2248 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
2250 * progmodes/compile.el: Make all faces inherit.
2251 (compilation-warning): Inherit from font-lock-variable-name-face.
2252 (compilation-info): Inherit from font-lock-type-face.
2253 (compilation-line-number): Reassign to font-lock-keyword-face.
2254 (compilation-column-number): Reassign to font-lock-doc-face.
2255 (compilation-leave-directory-face): Reassign to
2256 font-lock-builtin-face.
2258 2011-02-02 Eli Zaretskii <eliz@gnu.org>
2260 * dired.el (dired-insert-directory): Don't invoke `ls' when
2261 ls-lisp.el is used to emulate it.
2263 2011-02-01 Julien Danjou <julien@danjou.info>
2265 * color.el (color-gradient): Add a color-gradient function.
2267 2011-02-01 Sam Steingold <sds@gnu.org>
2269 * simple.el (special-mode-map): Bind "h" to `describe-mode';
2270 bind "z" to `kill-this-buffer'.
2271 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
2272 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
2273 (apropos-mode): Inherit from `special-mode'.
2274 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
2275 * bookmark.el (bookmark-bmenu-mode): Define using
2276 `define-derived-mode' inheriting from `special-mode'.
2277 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
2278 * image-mode.el (image-mode-map): Ditto.
2279 * replace.el (occur-mode): Define using
2280 `define-derived-mode' inheriting from `special-mode'.
2281 * tar-mode.el (tar-mode): Inherit from `special-mode'.
2282 * calendar/diary-lib.el (diary-fancy-display-mode):
2283 Inherit from `special-mode-map'.
2284 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
2285 Inherit from `special-mode'.
2286 * emacs-lisp/package.el (package-menu-mode-map): Copy from
2288 (package-menu-mode): Define using `define-derived-mode'
2289 inheriting from `special-mode'.
2290 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
2291 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
2292 (xesam-mode-map): Define separately.
2293 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
2294 * progmodes/compile.el (compilation-minor-mode-map)
2295 (compilation-mode-map): Inherit from `special-mode-map'.
2296 * vc/diff-mode.el (diff-mode-shared-map):
2297 Inherit from `special-mode-map'.
2298 * vc/log-view.el (log-view-mode-map): Add a comment.
2300 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
2302 * custom.el (load-theme): Define return value. Drop use of
2303 unsafep; call custom-theme-load-confirm for non-known-safe themes.
2304 (custom-theme-load-confirm): Scroll in the correct window.
2305 (custom-enabled-themes): Add custom-safe-themes to :set-after.
2307 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
2308 checkbox if load-theme fails.
2310 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2312 * progmodes/compile.el (compilation-next-error): Check there's
2313 a message before using it (bug#7941).
2315 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
2317 * calc/calc-mtx.el (math-lud-pivot-check): New function.
2318 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
2319 of potential pivots.
2321 2011-01-31 Alan Mackenzie <acm@muc.de>
2323 * progmodes/cc-cmds.el (c-forward-over-illiterals):
2324 Continue parsing if we encounter a naked # (Bug#7595).
2325 (c-beginning-of-statement): Avoid loop in locating the beginning
2326 of a macro. (Not actually committed until 2011-02-20, see above).
2328 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2330 * files.el (copy-directory): Fix arguments to recursive call.
2332 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2334 * files.el (copy-directory): If destination is an existing
2335 directory, copy into a subdirectory there.
2337 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
2339 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
2342 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2344 * image-dired.el (image-dired-mouse-display-image): No-op if no
2345 file is found (Bug#7817).
2347 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
2349 2011-01-31 Kenichi Handa <handa@m17n.org>
2351 * international/quail.el (quail-keyboard-layout-alist):
2352 Remove superfluous SPC for "pc105-uk" (bug#7927).
2354 2011-01-31 Glenn Morris <rgm@gnu.org>
2356 * msb.el (msb-menu-bar-update-buffers): Update for changed
2357 argument handling of menu-bar-select-frame. (Bug#7902)
2359 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2361 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
2362 to the recursion depth (Bug#7722).
2364 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
2366 * term/ns-win.el (ns-find-file): Expand ns-input-file with
2367 command-line-default-directory (Bug#7872).
2369 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2371 * progmodes/compile.el (compilation--flush-directory-cache):
2372 New function, extracted from compilation--remove-properties.
2373 (compilation--remove-properties, compilation--parse-region): Use it.
2374 (compilation--previous-directory): Handle one more case.
2375 (compilation-enable-debug-messages): Remove.
2376 (compilation-parse-errors, compilation--flush-parse): Just remove the
2377 left over debug messages.
2379 2011-01-31 Sam Steingold <sds@gnu.org>
2381 * progmodes/compile.el (compilation-enable-debug-messages):
2382 Add a variable to make the parsing messages introduced in
2383 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
2384 (compilation-parse-errors, compilation--flush-parse): Use it.
2386 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2388 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
2389 (rcirc-nick-completion-format): New defcustom.
2390 (rcirc-complete): Use it.
2392 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2394 * net/rcirc.el: Clean log filenames (Bug#7933).
2395 (rcirc-log-write): Use convert-standard-filename.
2396 (rcirc-log-filename-function): Documentation updates.
2398 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
2400 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
2401 Check report-emacs-bug-can-use-osx-open and use that if t.
2402 (report-emacs-bug-can-use-osx-open): New function.
2403 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
2404 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
2406 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
2408 * vc/vc-dispatcher.el (vc-set-async-update): New function for
2409 updating Dired or VC-dir buffers after async command completes.
2411 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
2412 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
2414 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
2415 completions if it exists. Use vc-set-async-update.
2416 (vc-git-pull): Use vc-set-async-update.
2418 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
2419 read-shell-command. Use vc-set-async-update.
2420 (vc-hg-merge-branch): Use vc-set-async-update.
2422 2011-01-29 Daiki Ueno <ueno@unixuser.org>
2424 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
2425 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
2428 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
2430 * progmodes/compile.el: Avoid an N² behavior in grep.
2431 (compilation--previous-directory): New fun.
2432 (compilation--previous-directory-cache): New var.
2433 (compilation--remove-properties): Flush it.
2434 (compilation-directory-properties, compilation-error-properties):
2435 Use the new fun to speed up looking for the current directory.
2437 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
2439 * vc/vc-hg.el (vc-hg-history): New var.
2440 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
2441 (vc-hg-merge-branch): New function.
2443 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
2444 the other way around.
2446 * vc/vc-git.el (vc-git-branches, vc-git-pull)
2447 (vc-git-merge-branch): New functions.
2448 (vc-git-history): New var.
2450 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2452 * vc/vc-dispatcher.el (vc-do-async-command): New function.
2454 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
2455 vc-do-async-command.
2457 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
2460 2011-01-28 Leo <sdl.web@gmail.com>
2462 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
2463 highlighting to the "this function is advised" message.
2465 * help-mode.el (help-mode-finish): Apply highlighting here, to
2466 avoid clobbering by substitute-command-keys (Bug#6304).
2468 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2470 * woman.el (woman0-roff-buffer): Process roff escape sequences
2471 occurring prior to the first request (Bug#7843).
2473 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2475 * progmodes/compile.el: Don't use font-lock any more.
2476 (compilation-error-regexp-alist-alist): Change handling of makepp
2477 so it preserves the warning/error distinction on subsequent files.
2478 Simplify various rules.
2479 (compilation-directory-properties): Use font-lock-face.
2480 Add a compilation-message property.
2481 (compilation-internal-error-properties): Use font-lock-face.
2482 Don't set the compilation-debug property here.
2483 (compilation--put-prop, compilation--remove-properties)
2484 (compilation--parse-region, compilation--ensure-parse)
2485 (compilation--ensure-parse): New functions.
2486 (compilation-parse-errors): New function, largely inspired of
2487 compilation-mode-font-lock-keywords. Set compilation-debug here.
2488 (compilation--parsed): New var.
2489 (compilation--flush-parse): Use compilation--ensure-parse.
2490 (compilation-start): Don't call font-lock.
2491 (compilation-turn-on-font-lock): Remove.
2492 (compilation-setup): Don't set font-lock-extra-managed-props not change
2493 other font-lock settings, other than keywords.
2494 Don't activate font-lock-mode.
2495 Set change-major-mode-hook and before-change-functions.
2496 (compilation--unsetup): Remove properties and hooks.
2497 (compilation-next-single-property-change): New function.
2498 (compilation-next-error): Use it to parse when needed.
2499 (compile-goto-error): Parse buffer as needed.
2500 (compilation--compat-error-properties): Don't need a dummy `face'
2503 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2505 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
2506 (compilation-process-setup-function): Fix docstring's false promises.
2507 (compilation-error-regexp-alist-alist): Catch omake's continuous
2508 recompilation message and avoid reuse of old markers.
2509 (compilation-parse-errors-function): Declare obsolete.
2510 (compilation-buffer-modtime): Remove.
2511 (compilation--make-cdrloc, compilation--loc->col)
2512 (compilation--loc->line, compilation--loc->file-struct)
2513 (compilation--loc->marker, compilation--loc->visited)
2514 (compilation--make-file-struct, compilation--file-struct->file-spec)
2515 (compilation--file-struct->formats)
2516 (compilation--file-struct->loc-tree): New macros. Use them.
2517 (compilation--message): New defstruct. Use them.
2518 (compilation-next-error-function): Don't mess with timestamps to try
2519 and guess when to reparse.
2521 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2523 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
2524 (tex-old-error-file-name): New function,
2525 extracted from tex-compilation-parse-errors.
2526 (tex-compilation-parse-errors): Remove.
2527 (tex-error-regexp-alist): New var.
2528 (tex-shell): Use it to avoid compilation-parse-errors-function.
2530 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
2531 (grep-mode-font-lock-keywords): Remove regexp that seems like
2532 a left-over from before we used compile.el.
2533 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
2534 modifying the buffer within with-silent-modifications.
2536 * progmodes/compile.el: Cleanup text-properties namespace by using
2537 `compilation-message' instead of `message', `compilation-directory'
2538 instead of `directory', and `compilation-debug' instead of `debug'.
2539 (compilation-last-buffer, compilation-parsing-end)
2540 (compilation-error-list, compilation-old-error-list): Move to the
2541 compatibility part of the code.
2542 (compilation-error-properties): If `file' is a function, let it return
2544 (compilation-mode-font-lock-keywords): Be more conservative with the
2545 omake "^ *" pattern prefix, to try and minimize the risk of
2546 pathologically slow regexp matching.
2547 (compilation-start): Use inhibit-read-only.
2548 (compilation--unsetup): New function.
2549 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
2550 (compilation-filter): Minor tweaks.
2551 (compilation-next-error-function): Try and avoid abusing variables.
2552 (compilation--flush-file-structure): New fun.
2553 (compilation-fake-loc): Use it to improve behavior when file is reused.
2554 (debug-ignored-errors): Add "Moved past last ...".
2555 (compilation--compat-error-properties)
2556 (compilation--compat-parse-errors): Rename by doubling the "-".
2558 Port features from the previous prolog.el to the new one.
2559 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
2560 (prolog-program-name, prolog-program-switches, prolog-consult-string)
2561 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
2562 variable and use a function to compute the value dynamically.
2563 (prolog-prompt-regexp): Add regexp for GNU Prolog.
2564 (prolog-continued-prompt-regexp): Remove, unused.
2565 (prolog-find-value-by-system): Try and use the value of prolog-system
2566 in the *prolog* buffer if it helps.
2567 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
2568 (prolog-zip-on): ..and check prolog-system and version here instead.
2569 (prolog-inferior-self-insert-command): New command.
2570 (prolog-inferior-mode-map): Use it.
2571 (prolog-inferior-error-regexp-alist): New var.
2572 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
2573 (prolog-input-filter): Use derived-mode-p.
2574 (prolog-inferior-guess-flavor): New function.
2575 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
2576 make-comint to avoid running comint-mode twice.
2577 (prolog-inferior-buffer): New fun.
2578 (prolog-old-process-region, prolog-old-process-file):
2579 Don't call prolog-bsts here...
2580 (prolog-build-prolog-command): ...do it here instead.
2581 (prolog-old-process-region, prolog-old-process-file):
2582 Use compilation-fake-loc and compilation-forget-errors.
2583 (prolog-consult-compile-region): Use bolp.
2585 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2587 * image-mode.el (image-display-size): Doc fix (Bug#7820).
2589 2011-01-27 Sam Steingold <sds@gnu.org>
2591 * midnight.el (clean-buffer-list-kill-never-buffer-names):
2592 Remove "*server*" which is never created by emacs server.
2594 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2596 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
2597 there are some diff switches.
2599 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
2601 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2602 Copy change made to ruby-font-lock-syntactic-keywords.
2604 * htmlfontify.el: Make it obey the font-lock-face text property.
2605 Miscellaneous cleanup such as:
2606 - Don't hide expressions after a closing paren.
2607 - Move initial setq into let.
2608 - Hoist common parts out of ifs.
2609 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
2610 (hfy-face-at): Use get-text-property instead.
2611 (hfy-prop-invisible-p): Use invisible-p if available.
2612 (htmlfontify-manual): Use \\[...].
2613 (hfy-html-quote-regex): Use [...].
2614 (hfy-combined-face-spec): Simplify.
2615 (hfy-compile-face-map): Don't presume point-min==1.
2616 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
2617 match end of string.
2618 (hfy-text-p): η-reduce.
2619 (hfy-tags-for-file): Receive cache-hash directly.
2620 (hfy-mark-tag-names): Adjust call.
2622 2011-01-27 Glenn Morris <rgm@gnu.org>
2624 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
2625 (msb-after-load-hook): Remove eval-after-load wackiness.
2627 2011-01-25 Sam Steingold <sds@gnu.org>
2629 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
2630 literal "diff" (important for windows-nt).
2632 2011-01-25 Glenn Morris <rgm@gnu.org>
2634 * emacs-lisp/copyright.el (copyright-at-end-flag)
2635 (copyright-names-regexp): Add safety properties.
2636 (copyright-year-ranges): New option.
2637 (copyright-find-end): New function, split from copyright-update-year.
2638 (copyright-update-year): Use copyright-find-end.
2639 (copyright-fix-years): Optionally, convert years to ranges.
2640 Handle years continued over comment lines.
2641 Do not mess with the fill-prefix.
2642 Do not call copyright-update.
2643 (copyright-update-directory): Optionally, fix years rather than update.
2644 Skip directories. Find files with only safe local vars.
2646 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
2648 * files.el (file-name-non-special): Only change buffer-file-name after
2649 insert-file-contents if it's `visit'ing the file (bug#7854).
2651 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
2653 * dired.el (dired-revert): Doc fix (Bug#7758).
2655 * simple.el (line-move-visual): Doc fix (Bug#7594).
2657 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
2659 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
2660 here-doc which ends with an underscore.
2661 (ruby-mode-set-encoding): Skip shebang line always.
2662 (ruby-mode-map): Bind C-c C-c to comment-region.
2663 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
2664 (ruby-forward-sexp): Stop after literal hash key labels.
2665 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
2668 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
2670 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
2671 the correct buffer (Bug#7650).
2673 2011-01-25 Glenn Morris <rgm@gnu.org>
2675 * comint.el (comint-mode): Doc fix. (Bug#7897)
2677 * simple.el (do-auto-fill): Give it a doc string.
2679 * button.el (make-text-button): Doc fix. (See bug#7881)
2681 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
2683 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2684 Don't move backward, so as not to fall in an inf-loop (bug#7736).
2686 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
2687 Handle ?" and friends differently (e.g. don't use backrefs).
2689 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
2691 * calc/calc.el (calc-default-power-reference-level)
2692 (calc-default-field-reference-level): New variables.
2693 * calc/calc-units.el (math-standard-units): Add dB and Np.
2694 (math-logunits): New variable.
2695 (math-extract-logunits, math-logcombine, calcFunc-luplus)
2696 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
2697 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
2699 (math-find-base-units-rec): Add entry for ln(10).
2700 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
2701 (calc-ul-prefix-help): New function.
2702 * calc/calc-ext.el (calc-init-extensions): Autoload new units
2703 functions. Add keybindings for new units functions.
2705 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
2707 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
2708 rcirc buffers. (Bug#4940)
2710 2011-01-22 Glenn Morris <rgm@gnu.org>
2712 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
2713 split out from copyright-update-year.
2714 (copyright-update): Don't mess with the GPL version if we don't own the
2715 copyright. Update license regexp, and remove no longer needed
2717 (copyright-fix-years): Use copyright-find-copyright.
2719 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2721 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
2723 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2725 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
2726 (lm): Rename to landmark.
2727 (lm-test-run): Rename to landmark-test-run.
2729 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2731 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
2732 "Case sensitive" menu item.
2734 2011-01-22 Roland McGrath <roland@frob.com>
2736 * comint.el (comint-replace-by-expanded-history-before-point): Fix
2737 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
2739 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2741 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
2743 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2745 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2746 Assume foo(bar) is a manpage reference rather than some unquoted
2749 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2751 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
2752 Suggested by Flo <sensorflo@gmail.com>.
2754 2011-01-22 Glenn Morris <rgm@gnu.org>
2756 * progmodes/compile.el (compilation-error-regexp-alist):
2757 Fix custom type. (Bug#7812)
2759 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
2761 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
2762 allout-number-siblings, in keeping with what obtained due to
2763 (now-defunct) allout-keybindings-list. Ditch repeat binding to
2765 (allout-before-change-handler): Better expose spots affected by
2768 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2770 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
2772 2011-01-22 Phil Hagelberg <phil@evri.com>
2774 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
2775 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
2776 (pcmpl-ssh-config-hosts): New function.
2777 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
2778 pcmpl-ssh-known-hosts.
2780 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2782 * calc/calc-undo.el (calc-undo): Autoload it.
2783 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
2784 and autoload for `calc-undo'.
2785 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
2786 * calc/calc-prog.el:
2787 * calc/calc-graph.el:
2788 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2790 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
2792 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
2793 keybindings to `calc-undo'.
2795 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2797 Don't mess with *temp*.
2798 * obsolete/spell.el: Move from textmodes/spell.el.
2800 * term.el (term-read-input-ring):
2801 * startup.el (display-startup-echo-area-message):
2802 * progmodes/antlr-mode.el (antlr-directory-dependencies):
2803 * comint.el (comint-read-input-ring): Use with-temp-buffer.
2804 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
2807 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
2809 * allout.el (allout-institute-keymap): Use fset instead of
2810 reapplying defalias.
2812 (allout-hotspot-key-handler): Check for non-control-modified
2813 bindings for hotspot characters if there are no control-modified
2816 * allout.el: Summary - migrate to defining allout mode using
2817 define-minor-mode instead of defun. Significantly clean-up
2818 internal keymap provisions, refactoring and, in the process,
2819 removing a lot of accumulated cruft.
2821 allout-mode-map is now a keymap by virtue of being a defalias to
2822 allout-mode-map-value, which contains the actual keymap structure.
2824 (allout-mode): Use define-minor-mode rather than defun.
2825 Remove now-unnecessary minor-mode setup activities from the body.
2826 Specify :keymap as allout-mode-map so the minor-mode-map-alist
2827 entry will be '(allout-mode . allout-mode-map) - see
2828 allout-mode-map-value, below. Adjust docstring to track changes.
2829 (allout-minor-mode): Remove this defalias, now that we're using
2831 (allout-mode-map): Set value to be 'allout-mode-map. The actual
2832 keymap is allout-mode-map-value, via defalias.
2833 (allout-mode-map-value): The variable holding the actual mode
2834 keymap structure, by virtue of defalias from allout-mode-map.
2835 (allout-compose-and-institute-keymap): Rename from
2836 allout-bind-keys, and including the binding-composition
2837 functionality of the former produce-allout-mode-map and
2838 allout-setup-mode-map.
2839 (allout-institute-keymap): Take over the "setup" part of the former
2840 allout-setup-mode-map. Reassign allout-mode-map-value value and
2841 update the defalias.
2842 (allout-command-prefix, allout-prefixed-keybindings)
2843 (allout-unprefixed-keybindings):
2844 Use allout-compose-and-institute-keymap to process the bindings.
2845 (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
2846 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
2847 user can customize if they want to use that binding.
2848 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
2849 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
2850 elided that, previously, instead of the one for \C-h.)
2851 (allout-hotspot-key-handler): Remove attempt to resolve the key
2852 through the literal key-string lookup on allout-keybindings-list.
2853 That probably hasn't worked for a Long Time, and removal of
2854 allout-keybindings-list further simplifies the keybindings situation.
2855 (allout-pre-command-business): Use allout-mode-map-value instead
2857 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
2858 the bindings if they want to use a keybinding having a trailing
2859 \C-h. No deprecation needed since this feature was never in a release.
2860 (allout-keybindings-list): Remove. It's not been useful for a
2861 while. (See allout-hotspot-key-handler changes, above.)
2862 (produce-allout-mode-map): Remove. Consolidate into
2863 allout-compose-and-institute-keymap.
2864 (allout-mode-map-adjustments): Remove. No longer necessary with
2865 removal of allout-preempt-trailing-ctrl-h.
2866 (allout-setup-mode-map): Remove. Consolidate into
2867 allout-compose-and-institute-keymap and allout-institute-keymap.
2869 2011-01-20 Glenn Morris <rgm@gnu.org>
2871 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2873 * simple.el (read-expression-history): Remove, it's in minibuf.c.
2875 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
2877 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2879 * files.el (find-alternate-file, basic-save-buffer)
2880 (basic-save-buffer-2, revert-buffer, recover-file)
2881 (kill-buffer-ask, abort-if-file-too-large)
2882 (set-visited-file-name, write-file, backup-buffer)
2883 (basic-save-buffer, save-some-buffers):
2884 * dired-aux.el (dired-compress-file): Callers changed.
2886 2011-01-19 Glenn Morris <rgm@gnu.org>
2888 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2889 Also check the property status. (Bug#7861)
2891 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
2893 * net/tramp.el (tramp-debug-message): Extend function exclude
2894 list. Use `regexp-opt'.
2896 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2898 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2899 highlighting doesn't spill over subsequent lines.
2901 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2902 keymap expression. Improve docstring.
2904 * electric.el (electric-indent-post-self-insert-function):
2905 Don't auto-indent for indent-to-left-margin, it's too often
2908 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
2910 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2911 spaces if the frame was resized, so that the full visible buffer
2912 serves as canvas for strokes.
2914 2011-01-16 Glenn Morris <rgm@gnu.org>
2916 * info-xref.el (info-xref-docstrings): Replace cl function.
2917 Also skip directories.
2919 2011-01-16 Kevin Ryde <user42@zip.com.au>
2921 * info-xref.el: Version 3.
2922 (info-xref-check, info-xref-check-all): Move commentary details
2923 into docstrings for better visibility.
2924 Use compilation-mode for the results buffer.
2925 (info-xref-output, info-xref-output-error, info-xref-with-output)
2926 (info-xref-filename, info-xref-in-progress):
2927 New internals for this.
2928 (info-xref-check-list, info-xref-check-buffer)
2929 (info-xref-check-all-custom): Use those.
2930 (info-xref-output-buffer): Rename from info-xref-results-buffer.
2931 (info-xref-output-heading): Rename from info-xref-filename-heading.
2932 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2933 (info-xref-filename-heading): Move to output managing section.
2934 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2935 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2936 (info-xref-subfile-p): Move to generic section with those two.
2937 (info-xref-check-node): New function split from
2938 info-xref-check-buffer, shared by info-xref-docstrings.
2939 (info-xref-goto-node-p): Move to a checking section with that func.
2940 (info-xref-unavail): New counter.
2941 (info-xref-check-node): Use it.
2942 (info-xref-with-output): Show count of unavailables at end of output.
2943 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
2944 symlinks. Exclude .texi files. Exclude Emacs backup files.
2945 (info-xref-check-all-custom): Fix quietening viper-mode and
2946 gnus-registry-install -- use setq not let so as not to unbind
2949 2011-01-16 Juri Linkov <juri@jurta.org>
2951 * isearch.el (isearch-abort): Don't quit if search has
2952 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
2954 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
2956 * files.el (backup-buffer): Make last-resort backup file in
2957 .emacs.d (Bug#6953).
2959 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2960 make it with permission 700.
2962 2011-01-15 Kenichi Handa <handa@m17n.org>
2964 * mail/rmailmm.el (rmail-mime-insert-header):
2965 Set rmail-mime-coding-system to a cons whose car is the last coding
2966 system used to decode the header.
2967 (rmail-mime-find-header-encoding): New function.
2968 (rmail-mime-insert-decoded-text):
2969 Override rmail-mime-coding-system if it is a cons.
2970 (rmail-show-mime): If only a header part was decoded, find the
2971 coding system while ignoring mm-charset-override-alist.
2973 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
2975 * subr.el (event-start, event-end): Doc fix (Bug#7826).
2977 2011-01-15 Kenichi Handa <handa@m17n.org>
2979 * mail/rmailmm.el (rmail-mime-next-item)
2980 (rmail-mime-previous-item): Delete them.
2981 (rmail-mime-shown-mode): Recursively call for children.
2982 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2984 (rmail-mime-raw-mode): Recursively call for children.
2985 (rmail-mode-map): Change mapping of tab and backtab to
2986 forward-button and backward-button respectively.
2987 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2989 (rmail-mime-update-tagline): New function.
2990 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2991 body display is changed.
2992 (rmail-mime-toggle-button): Rename from rmail-mime-image.
2993 (rmail-mime-image): Delete this button type.
2994 (rmail-mime-toggle): New button type.
2995 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2996 body display is changed. Change the save button label to "Save".
2997 Don't process show/hide button here.
2998 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2999 the body display is changed. Unconditionally call
3000 rmail-mime-insert for children.
3001 (rmail-mime-handle): Update `display' vector of the just inserted
3003 (rmail-mime-process): If mail-header-parse-content-type returns
3004 nil, use "text/plain" as the fallback type.
3005 (rmail-mime-insert): For raw-mode, recursively call
3006 rmail-mim-insert for children.
3007 (rmail-mime): Handle the case that the current buffer is not rmail
3008 buffer (e.g. in summary buffer).
3010 2011-01-15 Kenichi Handa <handa@m17n.org>
3012 * mail/rmailmm.el (rmail-mime-next-item)
3013 (rmail-mime-previous-item): Skip the body of a non-multipart
3014 entity if a tagline is shown.
3016 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
3018 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
3019 (tmm-prompt): Simplify.
3020 (tmm-add-prompt): Remove unused var `win'.
3022 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
3023 to minor mode which used nil accidentally to mean "turn off".
3025 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
3027 * net/tramp-sh.el (tramp-find-inline-compress)
3028 (tramp-get-inline-coding): Quote command after pipe symbol for
3029 local calls under W32. (Bug#6784)
3031 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
3033 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
3034 only when running under W32.
3036 2011-01-15 Eli Zaretskii <eliz@gnu.org>
3038 * progmodes/grep.el (grep-compute-defaults): Quote the program
3039 file name after the pipe symbol in Grep templates. (Bug#6784)
3040 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
3042 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
3044 * buff-menu.el (Buffer-menu-buffer-list): New var.
3045 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
3046 restricted buffer list is not lost on revert (Bug#7749).
3048 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
3050 * net/ldap.el (ldap-search-internal): Discard stderr output.
3052 2011-01-15 Eli Zaretskii <eliz@gnu.org>
3054 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
3056 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
3058 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
3060 2011-01-15 Kenichi Handa <handa@m17n.org>
3062 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
3063 part as a plain text.
3064 (rmail-mime-process-multipart): Set the default content-type to
3065 nil for unknown multipart subtypes (bug#7651).
3067 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3069 * hexl.el (hexl-mode-old-*): Remove.
3070 (hexl-mode--old-var-vals): New var to replace them.
3071 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
3072 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
3073 Use them to set local vars (bug#7846).
3074 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
3075 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
3076 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
3078 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
3079 (smerge-resolve--normalize-re): New var.
3080 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
3081 (smerge-resolve): Use them.
3082 * newcomment.el (comment-only-p): New function.
3083 (comment-or-uncomment-region): Use it.
3085 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
3087 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
3088 table, get the value before switching to the output buffer. (Bug#7733)
3090 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3092 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
3094 2011-01-14 Kim F. Storm <storm@cua.dk>
3096 * emulation/cua-base.el (cua--init-keymaps):
3097 Remap exchange-point-and-mark in cua-global-keymap.
3099 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
3101 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
3104 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3106 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
3108 (easy-menu-create-menu, easy-menu-convert-item-1):
3109 Use :label rather than nil for labels. Use `case'.
3110 Add :enable as alias for :active.
3111 (easy-menu-binding): Obey :label.
3113 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3115 Use run-mode-hooks for major mode hooks (bug#513).
3116 * textmodes/reftex-toc.el (reftex-toc-mode-map):
3117 Rename from reftex-toc-map.
3118 (reftex-toc-mode): Use define-derived-mode.
3119 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
3120 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
3121 Rename from reftex-select-(label|bib)-map. Move init into declaration.
3122 (reftex-select-label-mode, reftex-select-bib-mode):
3123 Use define-derived-mode.
3124 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
3125 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
3126 Move init into delcaration.
3127 (reftex-index-mode, reftex-index-phrases-mode):
3128 Use define-derived-mode.
3129 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
3130 speedbar-syntax-table. Move init into declaration.
3131 (speedbar-mode-map): Rename from speedbar-key-map.
3132 Move init into declaration.
3133 (speedbar-file-key-map): Move init into declaration.
3134 (speedbar-mode): Use define-derived-mode.
3135 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
3136 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
3137 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
3138 (chart-face-list): Move initialization into declaration.
3139 (chart-mode): Use define-derived-mode.
3140 * calculator.el (calculator-mode-map): Move init into declaration.
3141 (calculator-mode): Use define-derived-mode.
3143 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
3144 work for nested comments.
3146 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
3147 (prolog-use-prolog-tokenizer-flag): Change default when
3148 syntax-propertize can be used.
3149 (prolog-syntax-propertize-function): New var.
3150 (prolog-mode-variables): Move make-local-variable into `set'.
3151 Don't make comment-column local since we don't set it.
3152 Set comment-add (as it was in previous prolog.el). Use dolist.
3153 Set syntax-propertize-function.
3154 (prolog-mode, prolog-inferior-mode):
3155 Call prolog(-inferior)-menu directly, not through the mode-hook.
3156 (prolog-buffer-module, prolog-indent-level)
3157 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
3158 (prolog-comment-limits, prolog-goto-comment-column):
3159 Use line-(end|beginning)-position.
3160 (prolog-build-prolog-command): Tighten up regexp.
3161 (prolog-consult-compile): Move make-local-variable into `set'.
3162 (prolog-consult-compile-filter, prolog-goto-next-paren)
3163 (prolog-help-on-predicate, prolog-clause-info)
3164 (prolog-mark-predicate): Don't let+setq.
3165 (prolog-indent-line): Use indent-line-to.
3166 Only call prolog-goto-comment-column if necessary.
3167 (prolog-indent-level): Use bobp.
3168 (prolog-first-pos-on-line): Remove, not used any more.
3169 (prolog-in-string-or-comment): Use syntax-ppss if available.
3170 (prolog-help-on-predicate): Use read-string.
3171 (prolog-goto-predicate-info): Simplify.
3172 (prolog-read-predicate): Use `default' rather than `initial'.
3173 (prolog-temporary-file): Use make-temp-file to close a security hole.
3174 (prolog-toggle-sicstus-sd): New command.
3175 (prolog-electric-underscore, prolog-variables-to-anonymous):
3176 Use dynamic-scoping as it was meant.
3177 (prolog-menu): Move menu definitions to top-level.
3178 Use a toggle-button for Sicstus's source debugger.
3179 Change "Code" to the more usual "Prolog", and hence change "Prolog"
3181 (prolog-inferior-menu): Reuse prolog-menu's help menu.
3182 Move other menu definition to top-level.
3184 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
3186 * doc-view.el (doc-view-open-text): Use meaningful text buffer
3187 name. Keep original document's directory as default-directory
3189 (doc-view-initiate-display): Fall back to normal mode when
3190 doc-view-mode cannot be enabled, also when extracting the document
3191 text into a separate buffer (bug#6446).
3193 * simple.el (shell-command): Don't error out if shell command
3194 buffer contains text with non-nil read-only property when erasing
3197 2011-01-13 Kim F. Storm <storm@cua.dk>
3199 * ido.el (ido-may-cache-directory): Move "too-big" check later.
3200 (ido-next-match, ido-prev-match): Fix stray reordering of matching
3201 items when cycling through the matches.
3203 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
3205 * dired-x.el (dired-omit-verbose): New defcustom that allows
3206 disabling the omit messages.
3207 (dired-omit-expunge): Use it.
3209 2011-01-13 Christian Ohler <ohler@gnu.org>
3211 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
3213 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
3215 * font-lock.el (font-lock-verbose): Default to nil.
3217 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
3219 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
3220 (compose-mail): New arg RETURN-ACTION.
3221 (compose-mail-other-window, compose-mail-other-frame): Likewise.
3223 * mail/sendmail.el (mail-return-action): New var.
3224 (mail-mode): Make it buffer-local.
3225 (mail-bury): Obey it. Move special Rmail window handling to
3227 (mail, mail-setup): New arg RETURN-ACTION.
3228 (sendmail-user-agent-compose): Move from simple.el.
3230 * mail/rmail.el (rmail-mail-return): New function.
3231 (rmail-start-mail): Pass it to compose-mail.
3233 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
3235 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
3236 menus. Add menu item for customize-themes.
3238 * cus-theme.el (customize-themes):
3239 * emacs-lisp/package.el (package--list-packages):
3240 Use switch-to-buffer.
3242 2011-01-11 Johan Bockgård <bojohan@gnu.org>
3244 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
3246 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
3248 * progmodes/prolog.el: Fix up coding convention and such.
3249 (prolog-indent-width): Use the same default as in
3250 previous prolog.el rather than tab-width which depends on which buffer
3251 is current when the file is loaded.
3252 (prolog-electric-newline-flag): Only enable if electric-indent-mode
3254 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
3255 (prolog-known-systems): Remove.
3256 (prolog-mode-syntax-table, prolog-inferior-mode-map):
3257 Move initialization into declaration.
3258 (prolog-mode-map): Move initialization into declaration.
3259 Remove system-specific mode-map vars, since they referred to the same
3261 (prolog-mode-variables): Obey the user's preference w.r.t
3262 adaptive-fill-mode. Prefer symbol-value to `eval'.
3263 (prolog-mode-keybindings-edit): Add compatibility bindings.
3264 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
3265 (mercury-mode-map): New var.
3266 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
3267 (prolog-ensure-process, prolog-process-insert-string)
3268 (prolog-consult-compile): Use with-current-buffer.
3269 (prolog-guess-fill-prefix): Simplify data flow.
3270 (prolog-replace-in-string): New function to use instead of
3272 (prolog-enable-sicstus-sd): Don't abuse `eval'.
3273 (prolog-uncomment-region): Use `uncomment-region' when available.
3274 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
3275 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
3276 of int-to-char and char-to-int.
3277 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
3279 2011-01-11 Stefan Bruda <stefan@bruda.ca>
3281 * progmodes/prolog.el: Replace by a whole new file.
3283 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
3285 * subr.el (eval-after-load): Fix timing for features (bug#7769).
3286 (declare-function, undefined, insert-for-yank)
3287 (replace-regexp-in-string): Follow checkdoc's recommendations.
3289 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3291 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
3292 refreshing the diary buffer.
3294 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
3296 * allout.el: Add 2011 to the file copyright.
3297 (allout-encrypt-string): Prevent encryption from adding an extra
3298 newline at the end of the topic body.
3299 (allout-version): Increment to 2.3.
3301 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
3303 * net/dbus.el (dbus-unregister-service): Complete doc.
3304 Fix call of dbus-error signal.
3305 (dbus-register-property): Use `dont-register' keyword.
3307 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
3309 * net/dbus.el (dbus-unregister-service): Translate returned
3310 integer into a symbol.
3311 (dbus-register-property): Use `dbus-register-service' to do the
3314 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
3316 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
3317 Suggested by Joakim Verona.
3319 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
3321 * wid-edit.el (visibility): Replace :on-image and :off-image
3322 widget properties with :on-glyph and :off-glyph, for consistency
3323 with the `visibility' widget.
3324 (widget-toggle-value-create, widget-visibility-value-create):
3325 Merge into a single function `widget-toggle-value-create'.
3327 * cus-edit.el (custom-variable-value-create, custom-visibility)
3328 (custom-face-edit-value-create, custom-face-value-create):
3329 Replace :on-image and :off-image widget properties with :on-glyph and
3330 :off-glyph, for consistency with the `visibility' widget.
3332 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
3334 * net/ldap.el (ldap-search-internal): Don't use eval.
3336 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
3338 * subr.el (read-char-choice): Use read-key.
3340 * custom.el (custom-safe-themes): Rename from
3341 custom-safe-theme-files. Add :risky tag.
3342 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
3343 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
3345 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
3347 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
3348 from Search and add a label to Undo.
3350 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
3351 inappropriate buttons and adding :vert-only tags.
3353 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
3354 removal of Help tool-bar button. Remove Undo button for space.
3356 * info.el (info-tool-bar-map): Add :vert-only tags.
3358 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
3360 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
3361 image backend support. Either of them is fine.
3363 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
3365 * subr.el (y-or-n-p): Doc fix.
3367 * custom.el (custom-safe-theme-files): New defcustom.
3368 (custom-theme-load-confirm): New function.
3369 (load-theme): Load theme using `load', confirming with
3370 custom-theme-load-confirm if necessary.
3372 * subr.el (read-char-choice): New function, factored out from
3373 dired-query and hack-local-variables-confirm.
3375 * dired-aux.el (dired-query):
3376 * files.el (hack-local-variables-confirm): Use it.
3378 * dired-aux.el (dired-compress-file):
3379 * files.el (abort-if-file-too-large, find-alternate-file)
3380 (set-visited-file-name, write-file, backup-buffer)
3381 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
3382 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
3383 Use new format string args for y-or-n-p and yes-or-no-p.
3385 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
3387 * progmodes/compile.el (compilation-error-regexp-alist-alist)
3388 [gcc-include]: Tighten file name match, add match for column
3390 [gnu]: Remove unused group.
3392 2011-01-08 Glenn Morris <rgm@gnu.org>
3394 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
3396 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
3398 2011-01-07 Sam Steingold <sds@gnu.org>
3400 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
3401 the `explicit-shell-file-name' because that is the
3402 non-interactive shell.
3404 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
3406 * subr.el (y-or-n-p): Accept format string args.
3408 2011-01-07 Glenn Morris <rgm@gnu.org>
3410 * Makefile.in (EMACSOPT): Add --no-site-lisp.
3412 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
3414 * allout.el (allout-back-to-current-heading): Ensure return to
3415 the visible containing topic, rather than a collapsed one.
3416 (allout-view-change-hook): Remove hook that was deprecated long ago.
3417 (allout-exposure-change-hook): Remove documentation remarks
3418 concerning removed allout-view-change-hook.
3419 (allout-flag-region): Remove invocation of and documentation
3420 remarks concerning allout-view-change-hook.
3422 2011-01-06 Glenn Morris <rgm@gnu.org>
3424 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
3425 (vc-bzr-annotate-extract-revision-at-line):
3426 Handle authors with embedded spaces. (Bug#7792)
3428 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
3430 * doc-view.el (doc-view-image-width): New variable.
3431 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
3432 backend for PNG images, and do dynamic rescaling instead of
3433 reconverting the whole doc.
3435 2011-01-05 Glenn Morris <rgm@gnu.org>
3437 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
3439 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
3441 * allout.el: Reconcile with changes in line movement behavior for
3442 long text lines that cross more than a single physical window
3443 line, ie when truncate-lines is nil.
3444 (allout-next-visible-heading): Provide for change in line-move
3445 behavior on long lines when truncate-lines is nil. In that case,
3446 line-move can wind up on the same textual line when it moves to
3447 the next window line, and moving to the bullet position after the
3448 move yields zero advancement. Add logic to detect and compensate
3449 for the lack of progress.
3450 (allout-current-topic-collapsed-p): move-end-of-line respect for
3451 field boundaries is different when operating with body lines
3452 shorter than window width versus ones greater than window width,
3453 which can yield false negatives in this function. Avoid
3454 difference by applying move-end-of-line while field-text-motion is
3457 2011-01-04 Glenn Morris <rgm@gnu.org>
3459 * textmodes/rst.el (rst-compile-toolsets):
3460 Add pdf and s5 to option alist.
3462 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
3464 * net/dbus.el (dbus-register-property): Add optional parameter
3465 dont-register-service. Updated docstring accordingly.
3467 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
3469 * textmodes/rst.el (rst-compile-pdf-preview)
3470 (rst-compile-slides-preview): Remove extra line.
3472 2011-01-04 Glenn Morris <rgm@gnu.org>
3474 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
3475 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
3476 default to `prog' without a .py extension.
3477 (rst-compile-pdf-preview, rst-compile-slides-preview):
3478 Use program names from rst-compile-toolsets, rather than hard-coding.
3479 (rst-portable-mark-active-p): Fix presumed typo.
3481 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3483 * term/w32-win.el (dynamic-library-alist): Set up correctly for
3484 libpng versions both before and after 1.4.0. (Bug#7716)
3486 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3488 * time.el (display-time-mode): Mention display-time-interval in
3489 the doc string. (Bug#7713)
3491 2011-01-02 Kenichi Handa <handa@m17n.org>
3493 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
3494 condition-case and return an error message string if something
3496 (rmail-show-mime): Adjust for the above change. Insert the
3497 header by rmail-mime-insert-header.
3499 2011-01-02 Kenichi Handa <handa@m17n.org>
3501 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
3502 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
3503 (rmail-mime-mbox-buffer)
3504 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
3505 (rmail-mime-entity): Argument changed. All codes handling an
3506 entity object are changed.
3507 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
3509 (rmail-mime-entity-children, rmail-mime-entity-handler)
3510 (rmail-mime-entity-tagline): New functions.
3511 (rmail-mime-message-p): New function.
3512 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
3513 (rmail-mime-entity-segment, rmail-mime-next-item)
3514 (rmail-mime-previous-item, rmail-mime-shown-mode)
3515 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
3516 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
3517 (rmail-mime-insert-tagline, rmail-mime-insert-header):
3519 (rmail-mime-text-handler): Call rmail-mime-insert-text.
3520 (rmail-mime-insert-decoded-text): New function.
3521 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
3522 (rmail-mime-insert-image): Argument changed. Caller changed.
3523 (rmail-mime-image): Call rmail-mime-toggle-hidden.
3524 (rmail-mime-set-bulk-data): New function.
3525 (rmail-mime-insert-bulk): Argument changed.
3526 (rmail-mime-multipart-handler): Return t.
3527 (rmail-mime-process-multipart): Argument changed.
3528 Handle "multipart/alternative" here.
3529 (rmail-mime-process): Argument changed.
3530 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
3531 (rmail-mime-insert): Argument changed. Handle raw display mode.
3532 (rmail-mime): Argument changed. Handle toggling of raw display
3534 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
3535 rmail-mime-view-buffer.
3536 (rmail-insert-mime-forwarded-message): Likewise.
3537 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
3539 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
3540 non-nil, handle the header in rmail-show-mime-function.
3542 2011-01-02 Leo <sdl.web@gmail.com>
3544 * help-fns.el (describe-variable): Fix previous change.
3546 2011-01-02 Juri Linkov <juri@jurta.org>
3548 * isearch.el (isearch-lazy-highlight-error): New variable.
3549 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
3550 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
3551 to the current value of `isearch-error' (Bug#7468).
3553 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3555 * help-fns.el (describe-variable): Don't emit trailing whitespace
3558 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3560 * textmodes/rst.el (rst-compile-pdf-preview)
3561 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
3563 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3565 * emulation/edt-mapper.el: Override mapping of function keys so
3566 that the later call to read-key-sequence works.
3568 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3570 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
3571 Unix EOLs. (Bug#7589)
3573 2011-01-02 Leo <sdl.web@gmail.com>
3575 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
3576 if point is not behind eshell-last-output-end (Bug#7585).
3578 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
3580 * files.el (file-local-variables-alist):
3581 Make permanent-local (bug#7767).
3583 2011-01-02 Glenn Morris <rgm@gnu.org>
3585 * version.el (emacs-copyright): Set short copyright year to 2011.
3587 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3589 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
3590 an existing temp buffer. (Bug#7746)
3592 2011-01-02 Glenn Morris <rgm@gnu.org>
3594 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
3595 multiple addresses. (Bug#7760)
3597 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
3599 * allout.el (allout-auto-fill): Do not infinitely recurse - use
3600 do-auto-fill if everything points back to allout-auto-fill.
3601 (allout-mode-deactivate-hook): Declare obsolete, in favor of
3602 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
3604 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
3606 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
3609 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3611 * doc-view.el (doc-view-set-doc-type): New function refactored
3613 (doc-view-fallback-mode): New function.
3614 (doc-view-mode): Use it.
3615 (doc-view-mode-maybe): New function that checks if doc-view-mode
3616 can be used and falls back to the next best mode otherwise.
3618 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
3619 DVI, OpenDocument, and MS Office files.
3621 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
3623 * emacs-lisp/rx.el (rx-syntax): Fix typo.
3625 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3627 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
3628 on a copy of auto-mode-alist, because that deletes with side
3631 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3633 * doc-view.el (doc-view-mode, doc-view-toggle-display):
3634 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
3635 fallback instead of hard coding fundamental mode.
3637 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3639 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
3640 Office) files also for searching.
3642 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3644 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
3645 Office) files. Not yet enabled via auto-mode-list.
3646 (doc-view-unoconv-program): New custom variable.
3647 (doc-view-mode-p): Handle new odf document type.
3648 (doc-view-odf->pdf): New conversion function.
3649 (doc-view-convert-current-doc): Call it for odf files.
3650 (doc-view-mode): Recognize newly supported file extensions.
3652 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
3654 * net/tramp.el (tramp-default-method-alist)
3655 (tramp-default-user-alist)
3656 (tramp-local-host-regexp, tramp-prefix-domain-format)
3657 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
3660 * net/tramp-gvfs.el:
3662 * net/tramp-imap.el:
3664 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
3665 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
3667 2010-12-29 Karl Fogel <kfogel@red-bean.com>
3669 * saveplace.el (save-place-alist-to-file): Save list sorted and
3670 pretty-printed, so that it is mergeable by line-based text merging,
3671 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
3673 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
3675 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
3676 (allout-mode): Argument "toggle" => "force".
3677 Refine the docstring.
3678 Remove special provisions for reactivation, besides the 'force'
3680 Consolidate layout provisions coce directly into the activation
3681 condition branch, now that we've removed those provisions.
3682 (allout-unload-function): Explicitly activate the mode before
3683 deactivating, if it's initially deactivated.
3684 (allout-set-buffer-multibyte): Properly prevent byte-compiler
3685 warnings for version of function used only where
3686 set-buffer-multibyte is unavailable.
3688 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
3690 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
3691 are handled by the menu-bar entries. As before, don't use
3692 :visibile to avoid changing the tool-bar.
3694 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3696 * net/secrets.el (secrets-delete-alias): New defun.
3698 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3700 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
3701 methods, otherwise ~/.ssh/config would be ignored.
3703 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
3705 * emacs-lisp/rx.el: Make it a superset of sregex.
3706 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
3707 of args, add `regex' alias.
3708 (rx-info): Add arg to distinguish head and standalone forms.
3709 (rx-check, rx-form): Pass the corresponding arg.
3711 (rx-repeat): Make it work for any number of args.
3712 (rx-syntax): Make it accept syntax chars as is.
3713 * obsolete/sregex.el: Move from emacs-lisp/.
3714 * emacs-lisp/re-builder.el: Remove sregex support.
3715 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
3717 2010-12-25 Eli Zaretskii <eliz@gnu.org>
3719 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
3720 PRIMARY first, then the clipboard. (Bug#7699)
3722 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3724 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
3727 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
3729 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
3730 .emacs.elc (Bug#7530).
3732 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
3733 image spec (Bug#7480).
3735 2010-12-21 Daiki Ueno <ueno@unixuser.org>
3737 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
3738 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
3741 2010-12-20 Leo <sdl.web@gmail.com>
3743 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
3744 always be performed (Bug#7680).
3746 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
3748 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
3749 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
3752 * color.el: Move from gnus/.
3754 * vc/diff.el (diff-better-file-name): Function deleted.
3755 abbreviating file names causes problems with shell-quote-argument.
3756 (diff-no-select): Just use expand-file-name.
3758 * tool-bar.el (tool-bar--image-expression): New function.
3759 (tool-bar-local-item, tool-bar--image-exp): Use it.
3760 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
3761 Use :enable instead of :visible to avoid changing the tool-bar
3762 configuration unnecessarily.
3764 * info.el (info-tool-bar-map): Add separators.
3766 2010-12-17 Ken Brown <kbrown@cornell.edu>
3768 * loadup.el: Use version numbers in Cygwin build.
3770 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
3772 * ido.el (ido-file-internal): Ask for confirmation before
3773 overwriting an existing file (Bug#1238).
3775 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
3777 * tool-bar.el (tool-bar-setup): Add separators.
3779 * menu-bar.el (featurep): Use menu-bar-separator.
3781 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
3783 Migrate allout encryption provisions from pgg to epg.
3785 * allout.el (allout-toggle-current-subtree-encryption)
3786 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
3787 defaulting policy and other changes. Change fetch-pass to keymode-cue,
3788 for simpler universal argument interpretation.
3789 (allout-toggle-subtree-encryption): Adjust docstring to describe
3790 changed encryption provisions. Change fetch-pass to keymode-cue, for
3791 simpler universal argument interpretation. Remove provisions for
3792 handling key type and identity - they'll all be within
3793 allout-encrypt-string or epg/epg or even contained all the way in gpg.
3794 (allout-encrypt-string): Include keymode-cue, for optionally prompting
3795 for keypair recipients (universal argument > 1) and, in addition,
3796 associating the specified recipients with the outline (universal
3797 argument > 4) using a file local variable setting for
3798 'epa-file-encrypt-to'.
3799 Require epa, for recipients handling.
3800 Change how regexp filtering elements are named.
3801 Describe the problem with caching of incorrect symmetric-decryption
3803 Use the epa-passphrase-callback-function, in case the user is using
3805 Support saving of the selected keypair recipients when invoked with a
3807 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
3809 Establish epg-context with armoring and default epg-protocol.
3810 Remove all passphrase cache, verification, and hinting code.
3811 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
3812 No longer used, delete.
3813 (allout-mode): Adjust docstring to describe changed encryption
3814 provisions. Describe the problem with caching of incorrect
3815 symmetric-decryption keys.
3816 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
3817 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
3818 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
3819 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
3822 2010-12-16 Daiki Ueno <ueno@unixuser.org>
3824 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
3825 key selection prompt; make 'silent as default (Bug#7487).
3827 2010-12-16 Leo <sdl.web@gmail.com>
3829 * eshell/eshell.el (eshell-directory-name):
3830 Use locate-user-emacs-file (Bug#7578).
3832 2010-12-15 Glenn Morris <rgm@gnu.org>
3834 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
3836 2010-12-15 Jari Aalto <jari.aalto@cante.net>
3837 Scott Evans <gse@antisleep.com>
3839 * rect.el (rectange--default-line-number-format)
3840 (rectangle-number-line-callback): New functions.
3841 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
3843 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
3845 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
3846 Delete unused variables.
3847 (move-to-column-force): Remove function obsolete since 21.2.
3849 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
3851 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
3852 (tramp-handle-insert-file-contents): Do not set permanent-local
3855 * net/tramp-cache.el (tramp-persistency-file-name):
3856 Use `locate-user-emacs-file' if fboundp.
3858 * net/tramp-sh.el (tramp-methods): Add "ksu".
3859 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
3862 2010-12-14 Glenn Morris <rgm@gnu.org>
3864 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3865 (find-tag-marker-ring): Declare.
3866 (js-find-symbol): Require etags.
3868 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3870 (mail-alias-file): Don't autoload. Doc fix.
3871 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3872 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
3873 Mark as obsolete, and risky.
3874 (mail-setup): Simplify.
3876 * mail/mailalias.el (build-mail-aliases): Make it interactive.
3877 * mail/sendmail.el (build-mail-aliases): Update autoload.
3879 * dired.el (dired-trivial-filenames, dired-chown-program)
3880 (dired-auto-revert-buffer): Remove autoload cookies.
3881 * mail/sendmail.el (mail-recover-1): Require 'dired.
3883 * dired.el (dired-subdir-switches, dired-chown-program)
3884 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3885 Make into defcustoms.
3886 (dired-chown-program): Simplify initialization.
3888 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3890 2010-12-13 Romain Francoise <romain@orebokech.com>
3892 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3894 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3896 * net/netrc.el (netrc-point-at-eol): Remove the unused
3897 netrc-point-at-old and netrc-bound-and-true-p bindings.
3898 (netrc-parse): Cache the netrc contents.
3900 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3902 * subr.el (posn-col-row): Evaluate header-line-format in the
3903 context of the POSITION window's buffer.
3905 2010-12-13 Glenn Morris <rgm@gnu.org>
3907 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3908 (with-silent-modifications): Doc fixes.
3910 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3912 * net/tramp.el (tramp-action-password, tramp-process-actions):
3913 Revert previous from. Use `save-restriction'.
3915 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
3917 * calendar/diary-lib.el (diary-list-sexp-entries):
3918 Handle case of no newline at end of file. (Bug#7536)
3920 2010-12-13 Glenn Morris <rgm@gnu.org>
3922 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3924 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3926 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3927 (tramp-process-actions): Do not widen.
3929 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3930 Protect buffer-modified value. (Bug#7557)
3932 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
3934 * log-edit.el (log-edit-changelog-entries):
3935 Regexp quote filename. (Bug#7505)
3937 2010-12-13 Tom Breton <tehom@panix.com>
3939 * cus-edit.el (custom-save-all):
3940 Bind print-length and print-level to nil. (Bug#7581)
3942 2010-12-13 Glenn Morris <rgm@gnu.org>
3944 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3945 Run hooks to update menu contents. (Bug#7586)
3947 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3948 file names, for the sake of MS Windows. (Bug#7588)
3950 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3952 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3953 empty lines without a leading space.
3955 2010-12-13 Leo <sdl.web@gmail.com>
3957 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3958 while mapping over marks (Bug#6810).
3960 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3962 * image-dired.el (image-dired-db-file)
3963 (image-dired-temp-image-file, image-dired-gallery-dir)
3964 (image-dired-temp-rotate-image-file): Set default values relative
3965 to image-dired-dir (Bug#7518).
3967 2010-12-13 Lawrence Mitchell <wence@gmx.li>
3969 * format.el (format-decode-run-method): Pass args FROM and TO, not
3970 point-min and point-max, to shell-command-on-region (Bug#7488).
3972 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
3974 * frame.el (blink-cursor-mode): Make default t for ns.
3976 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3978 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3980 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3982 * comint.el (comint-dynamic-list-input-ring)
3983 (comint-dynamic-complete-filename)
3984 (comint-replace-by-expanded-filename)
3985 (comint-dynamic-simple-complete)
3986 (comint-dynamic-list-filename-completions)
3987 (comint-dynamic-list-completions): Doc fix (Bug#7499).
3989 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3992 2010-12-13 Martin Rudalics <rudalics@gmx.at>
3994 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3997 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
3999 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
4002 2010-12-13 Eli Zaretskii <eliz@gnu.org>
4004 * files.el (file-relative-name): Handle UNC file names on
4005 DOS/Windows. (Bug#4674)
4007 2010-12-13 Daiki Ueno <ueno@unixuser.org>
4009 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
4010 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
4011 (epg-context-set-passphrase-callback): Mention that the callback
4012 is not called when used with GnuPG 2.x.
4014 2010-12-13 Glenn Morris <rgm@gnu.org>
4016 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
4017 Ensure ps-footer-font-size-internal is initialized.
4018 Call ps-get-page-dimensions before trying to use ps-font-for-text.
4020 2010-12-13 Kenichi Handa <handa@m17n.org>
4022 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
4023 within condition-case.
4024 (rmail-show-mime): Don't use condition-case.
4025 (rmail-search-mime-message): New function.
4026 (rmail-search-mime-message-function): Set to
4027 rmail-search-mime-message.
4029 2010-12-13 Leo <sdl.web@gmail.com>
4031 * ido.el (ido-common-initialization): New function. (bug#3274)
4033 (ido-completing-read): Call it.
4035 2010-12-12 Karl Fogel <kfogel@red-bean.com>
4037 * bookmark.el (bookmark-name-from-full-record): Rename back to
4038 this original name from `bookmark-name-from-record' reverting part
4039 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
4040 As Drew Adams pointed out, there was no reason to cause churn for
4041 third-party callers. (Bug#7609)
4043 2010-12-12 Alan Mackenzie <acm@muc.de>
4045 * progmodes/cc-engine.el (c-forward-type): Before scanning a
4046 template arglist, check that the current language supports this.
4048 2010-12-11 Glenn Morris <rgm@gnu.org>
4050 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
4051 state of the file matches. (Bug#7544)
4052 (vc-bzr-register, vc-bzr-checkin)
4053 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
4054 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
4056 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
4058 2010-12-11 Karel Klíč <kklic@redhat.com>
4060 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
4062 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4064 Derive from prog-mode, use derived-mode-p, and fix up various
4065 minor style issues in lisp/progmodes.
4067 * progmodes/vhdl-mode.el (vhdl-mode):
4068 * progmodes/verilog-mode.el (verilog-mode):
4069 * progmodes/vera-mode.el (vera-mode):
4070 * progmodes/sql.el (sql-mode):
4071 * progmodes/scheme.el (scheme-mode):
4072 * progmodes/perl-mode.el (perl-mode):
4073 * progmodes/octave-inf.el (inferior-octave-mode):
4074 * progmodes/autoconf.el (autoconf-mode):
4075 * progmodes/m4-mode.el (m4-mode):
4076 * progmodes/inf-lisp.el (inferior-lisp-mode):
4077 * progmodes/idlwave.el (idlwave-mode):
4078 * progmodes/icon.el (icon-mode):
4079 * progmodes/idlw-help.el (idlwave-help-mode):
4080 * progmodes/dcl-mode.el (dcl-mode):
4081 * progmodes/idlw-shell.el (idlwave-shell-mode):
4082 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
4083 (ebrowse-member-mode, ebrowse-electric-position-mode):
4084 Use define-derived-mode.
4086 * progmodes/xscheme.el (exit-scheme-interaction-mode)
4087 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
4088 (xscheme-debugger-mode-p, xscheme-send-string-1):
4089 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
4090 (tcl-load-file, tcl-restart-with-file):
4091 * progmodes/ps-mode.el (ps-run-running):
4092 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
4093 * progmodes/js.el (js--get-all-known-symbols):
4094 * progmodes/inf-lisp.el (inferior-lisp-proc):
4095 * progmodes/idlwave.el (idlwave-beginning-of-statement)
4096 (idlwave-template, idlwave-update-buffer-routine-info)
4097 (idlwave-update-current-buffer-info)
4098 (idlwave-get-routine-info-from-buffers, idlwave-choose)
4099 (idlwave-scan-class-info, idlwave-fix-keywords)
4100 (idlwave-list-buffer-load-path-shadows):
4101 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
4102 (idlwave-toolbar-remove):
4103 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
4104 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
4105 (idlwave-shell-menu-def):
4106 * progmodes/idlw-complete-structtag.el
4107 (idlwave-prepare-structure-tag-completion):
4108 * progmodes/gud.el (gud-set-buffer):
4109 * progmodes/f90.el (f90-backslash-not-special):
4110 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
4112 * progmodes/xscheme.el (xscheme-start)
4113 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
4114 * progmodes/which-func.el (which-function):
4115 * progmodes/vhdl-mode.el (vhdl-set-style):
4116 * progmodes/verilog-mode.el (verilog-set-compile-command)
4117 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
4118 (verilog-set-define, verilog-auto-reeval-locals):
4119 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
4120 * progmodes/simula.el (simula-mode):
4121 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
4122 * progmodes/python.el (python-check, python-mode):
4123 * progmodes/prolog.el (prolog-mode-variables):
4124 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
4125 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
4126 * progmodes/delphi.el (delphi-mode):
4127 * progmodes/cc-styles.el (c-setup-paragraph-variables):
4128 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
4129 (c-font-lock-init): Move make-local-variable to their setq.
4131 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
4132 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
4134 * progmodes/sh-script.el (sh-require-final-newline): Remove.
4135 (sh-set-shell): Don't set require-final-newline since it's already done
4137 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
4138 since we never set it.
4139 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
4140 Use read-string and standard prompt.
4141 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
4142 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
4143 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
4144 (meta-common-mode-map): Rename from meta-mode-map.
4145 Remove C-m binding, which is a user preference, not mode specific.
4146 (meta-common-mode): New major mode; replace meta-common-initialization.
4147 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
4148 around with font-lock.
4149 * progmodes/etags.el (select-tags-table-mode):
4150 Derive from special-mode.
4151 * progmodes/octave-mod.el (octave-mode):
4152 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
4153 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
4154 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
4155 Let define-derived-mode do its job.
4156 * progmodes/cpp.el (cpp-edit-mode-map):
4157 Move initialization into declaration.
4158 (cpp-edit-mode): Use define-derived-mode.
4159 (cpp-edit-load): Use derived-mode-p.
4160 * progmodes/mixal-mode.el (mixal-mode):
4161 * progmodes/f90.el (f90-mode):
4162 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
4163 require-final-newline since prog-mode does it already.
4164 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
4165 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
4166 * progmodes/antlr-mode.el: Require cc-mode upfront.
4167 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
4169 (antlr-directory-dependencies, antlr-show-makefile-rules):
4171 (antlr-language-option): Don't assume point-min==1.
4172 (antlr-mode): Use define-derived-mode.
4173 * progmodes/ada-mode.el: Use derived-mode-p.
4174 (ada-mode): Use define-derived-mode.
4175 Use hack-local-variables-hook.
4177 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4179 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
4180 (texinfo-mode): Don't disable adaptive-fill-mode.
4181 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
4182 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
4183 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
4184 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
4185 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
4186 (texinfo-insert-@quotation, texinfo-insert-@samp)
4187 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
4188 (texinfo-insert-@uref): Use define-skeleton.
4189 (texinfo-insert-@-with-arg): Delete.
4191 2010-12-10 Eli Zaretskii <eliz@gnu.org>
4193 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
4194 nil, do quote archive member names. (Bug#6144)
4196 2010-12-10 Glenn Morris <rgm@gnu.org>
4198 * files.el (diff-no-select): Declare.
4200 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
4201 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
4203 * comint.el (comint-input-ring-file-name): Doc fix.
4205 2010-12-09 Eli Zaretskii <eliz@gnu.org>
4207 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
4209 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
4210 Use them instead of `nil' and `>', respectively.
4211 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
4213 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
4214 and menu-bar-positive-p instead of `nil' and `>', respectively.
4217 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4219 * whitespace.el (whitespace-newline-mode): Code fix.
4221 2010-12-09 Glenn Morris <rgm@gnu.org>
4223 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
4224 Rename functions without commas, update callers.
4226 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
4228 * whitespace.el (whitespace-cleanup-region):
4229 Clean up spaces before tabs. (Bug#7582)
4231 2010-12-08 Karl Fogel <kfogel@red-bean.com>
4233 * bookmark.el: Adjust parameter names and doc strings to resolve
4234 confusion over whether "bookmark" meant a bookmark name or a
4235 bookmark record. Along the way, shorten one function's name for
4236 similar reasons. (Issue #7548)
4237 (bookmark-name-from-record): New name for
4238 `bookmark-name-from-full-record'. All callers changed.
4239 (bookmark-get-bookmark, bookmark-get-bookmark-record)
4240 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
4241 (bookmark-get-annotation, bookmark-set-annotation)
4242 (bookmark-get-filename, bookmark-set-filename)
4243 (bookmark-get-position, bookmark-set-position)
4244 (bookmark-get-front-context-string, bookmark-set-front-context-string)
4245 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
4246 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
4247 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
4248 Rename `bookmark' parameter to `bookmark-name-or-record', to
4249 clearly show its role, and shorten or adjust doc strings accordingly.
4250 (bookmark-set-name): Same, and pass the parameter directly to
4251 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
4252 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
4253 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
4254 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
4255 and in some cases shorten doc string accordingly.
4256 (bookmark-rename): Change `old' and `new' parameters to `old-name'
4257 and `new-name', and adjust an internal variable to avoid confusion.
4258 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
4259 parameter in doc string.
4261 2010-12-08 Glenn Morris <rgm@gnu.org>
4263 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
4264 from gdb's history file. (Bug#7575)
4266 * mail/emacsbug.el (report-emacs-bug):
4267 Try to handle some other mail clients.
4269 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4271 * files.el (dir-locals-collect-variables): Don't let errors stop us.
4272 Use string-prefix-p.
4273 (file-name-version-regexp): New var.
4274 (file-name-sans-versions):
4275 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
4276 (jka-compr-get-compression-info): Use dolist.
4277 (jka-compr-compression-info-list): Don't bother specifying
4278 version/backup regexps.
4280 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
4282 * simple.el (just-one-space): Make argument n default to 1 if
4285 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4287 * electric.el (electric-indent-post-self-insert-function):
4288 Delete trailing newlines even if we don't reindent.
4290 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4292 * minibuffer.el (completion-at-point): Remove the `arg'.
4293 * bindings.el (complete-symbol): Move back from minibuffer.el.
4295 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4297 * simple.el (just-one-space): Delete newlines for negative arg.
4299 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4301 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
4302 (ansi-color-filter-apply): Simplify.
4303 (ansi-color-apply): Use `font-lock-face' rather than `face'.
4305 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
4307 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
4309 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
4311 * dired.el (dired-use-ls-dired): Set default to a special
4312 "unspecified" value.
4313 (dired-insert-directory): When called the first time, check
4314 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
4316 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
4318 * replace.el: Add "collect" feature to occur.
4319 (occur-collect-regexp-history): New var.
4320 (occur-read-primary-args): Return a replace string for nlines,
4322 (occur): Extend the meaning of nlines.
4324 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4326 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
4327 (which-func-update-1): Distinguish symbols from strings.
4328 (which-function): Stay within 80 columns.
4330 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4332 * subr.el (with-demoted-errors): Distinguish symbols from strings.
4334 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
4336 (comment-style): Use comment-styles's docs to describe values.
4338 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
4340 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
4341 and ns-show-prefs (Bug#7535).
4343 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
4344 bindings (Bug#7535).
4346 2010-12-03 Glenn Morris <rgm@gnu.org>
4348 * nxml/nxml-mode.el: Require rng-nxml.
4349 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
4350 Remove declarations.
4352 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
4353 * nxml/rng-nxml.el, nxml/rng-valid.el:
4354 Remove leading `*' from defcustom docs.
4356 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
4357 (normal-top-level-add-to-load-path, tty-handle-args):
4358 Convert comments to basic doc-strings.
4360 * net/browse-url.el (browse-url-url-at-point)
4361 (browse-url-default-browser): Remove autoload cookies.
4363 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4364 Remove more undefined cl functions.
4366 * vc/diff.el (diff-sentinel): Make new arguments optional.
4367 * ibuf-ext.el (diff-sentinel): Update declaration.
4369 2010-12-03 Daiki Ueno <ueno@unixuser.org>
4371 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
4372 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
4373 (epg-context-set-passphrase-callback): Mention that the callback
4374 is not called when used with GnuPG 2.x.
4376 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
4378 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
4379 (tramp-file-name-port): Check also for `tramp-default-port'.
4380 (tramp-get-connection-name): New defun.
4381 (tramp-get-connection-process): Use it.
4382 (tramp-debug-message): Extend function exclude list.
4383 (tramp-drop-volume-letter): Fix doc string.
4385 * net/tramp-cmds.el: Remove solved todo item.
4388 * net/tramp-gvfs.el:
4390 * net/tramp-imap.el:
4391 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
4392 and `tramp-default-user-alist', respectively.
4394 * net/tramp-gw.el (tramp-gw-open-connection):
4395 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
4397 * net/tramp-imap.el (tramp-imap-make-iht): Use just
4398 `tramp-file-name-port'.
4400 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
4401 and "psftp". Exchange "%k" marker with options.
4402 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
4403 Compute size of link target.
4404 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
4405 `tramp-current-*' up due to gateway methods. Optimize computing of
4406 copy arguments. Use `tramp-get-connection-name' and
4407 `tramp-get-connection-buffer'. Improve debug messages.
4408 (tramp-compute-multi-hops): Remove port determination.
4409 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
4411 * net/trampver.el: Update release number.
4413 2010-12-02 Glenn Morris <rgm@gnu.org>
4415 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4416 Avoid infinite loop over windows. (Bug#7492)
4418 * progmodes/flymake.el (flymake-check-file-limit):
4419 Allow nil to mean "no limit".
4420 (flymake-check-patch-master-file-buffer): Update for above change.
4421 Allow a .tex file-name extension to be optional.
4422 (flymake-master-tex-init): Also match \include statements.
4424 2010-11-30 Sam Steingold <sds@gnu.org>
4426 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
4427 (nxml-parent-document-set): A function to set `nxml-parent-document'.
4428 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
4429 (nxml-mode-hook): Remove `defcustom' (auto-defined by
4430 define-derived-mode').
4431 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
4432 users who want to call `nxml-parent-document-set'.
4434 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4436 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
4437 stand-alone lines, since that is handled by log-edit-match-to-eoh
4440 2010-11-27 Eduard Wiebe <usenet@pusto.de>
4442 * dired.el (dired-get-filename): Replace backslashes with slashes
4443 in file names on MS-Windows, needed by `locate'. (Bug#7308)
4444 * locate.el (locate-default-make-command-line): Don't consider
4445 drive letter and root directory part of
4446 `directory-listing-before-filename-regexp'. (Bug#7308)
4447 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
4449 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4451 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
4452 of :smie-open/close-alist.
4453 (smie-next-sexp): Make it accept a "start token" as argument.
4454 (smie-indent-keyword): Be careful not to misidentify tokens that span
4455 more than one line, as empty lines. Add argument `token'.
4457 2010-11-27 Kenichi Handa <handa@m17n.org>
4459 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
4460 multipart subtypes, insert all as usual.
4462 * mail/rmail.el: Require rfc2047.
4464 2010-11-27 Kenichi Handa <handa@m17n.org>
4466 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
4467 (rmail-mime-entity-disposition)
4468 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
4469 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
4470 (rmail-mime-save): Handle the case that the button's `data' is a
4472 (rmail-mime-insert-text): New function.
4473 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
4474 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
4475 (rmail-mime-insert-bulk): New function mostly copied from the old
4476 rmail-mime-bulk-handler.
4477 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
4478 (rmail-mime-process-multipart): New function mostly copied from
4479 the old rmail-mime-multipart-handler.
4480 (rmail-mime-show): Just call rmail-mime-process.
4481 (rmail-mime-process): New function mostly copied from the old
4483 (rmail-mime-insert-multipart, rmail-mime-parse)
4484 (rmail-mime-insert, rmail-show-mime)
4485 (rmail-insert-mime-forwarded-message)
4486 (rmail-insert-mime-resent-message): New functions.
4487 (rmail-insert-mime-forwarded-message-function): Set to
4488 rmail-insert-mime-forwarded-message.
4489 (rmail-insert-mime-resent-message-function): Set to
4490 rmail-insert-mime-resent-message.
4492 * mail/rmailsum.el: Require rfc2047.
4493 (rmail-header-summary): Handle multiline Subject: field.
4494 (rmail-summary-line-decoder): Change the default to
4495 rfc2047-decode-string.
4497 * mail/rmail.el (rmail-enable-mime): Change the default to t.
4498 (rmail-mime-feature): Change the default to `rmailmm'.
4499 (rmail-quit): Delete the specifal code for rmail-enable-mime.
4500 (rmail-display-labels): Likewise.
4501 (rmail-show-message-1): Check rmail-enable-mime, and use
4502 rmail-show-mime-function for a MIME message. Decode the headers
4503 according to RFC2047.
4505 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4507 * progmodes/which-func.el (which-func-imenu-joiner-function):
4508 Return a string, as expected.
4509 (which-function-mode): Make sure we stop any previous timer before
4512 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
4514 * net/tramp.el (tramp-default-method-alist)
4515 (tramp-default-user-alist, tramp-default-proxies-alist):
4516 Adapt custom options type. (Bug#7445)
4518 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4520 * progmodes/python.el: Add Ipython support (Bug#5390).
4521 (python-shell-prompt-alist)
4522 (python-shell-continuation-prompt-alist): New options.
4523 (python--set-prompt-regexp): New function.
4524 (inferior-python-mode, run-python, python-shell):
4525 Require ansi-color. Use python--set-prompt-regexp to set the comint
4526 prompt based on the Python interpreter.
4527 (python--prompt-regexp): New var.
4528 (python-check-comint-prompt)
4529 (python-comint-output-filter-function): Use it.
4530 (run-python): Use a pipe (Bug#5694).
4532 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4534 * progmodes/python.el (run-python): Doc fix.
4535 (python-keep-current-directory-in-path): New var (Bug#7454).
4537 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4539 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4540 Prompt user before actually printing.
4542 2010-11-27 Glenn Morris <rgm@gnu.org>
4544 * startup.el (package-enable-at-startup, package-initialize):
4545 Remove unnecessary declarations.
4547 2010-11-27 Eli Zaretskii <eliz@gnu.org>
4549 * international/characters.el (glyphless-char-display-control):
4550 Exclude newline and TAB from the c0-control group.
4552 2010-11-27 Glenn Morris <rgm@gnu.org>
4554 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
4555 (expand-mail-aliases): Remove unnecessary autoload.
4557 * allout.el (allout-command-prefix, allout-mode-map): Declare.
4559 * shell.el (shell-dir-cookie-re): Move definition before use.
4561 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4562 Replace undefined CL functions.
4564 2010-11-26 Eli Zaretskii <eliz@gnu.org>
4566 * simple.el (prog-mode): Set bidi-paragraph-direction to
4569 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
4571 2010-11-26 Glenn Morris <rgm@gnu.org>
4573 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
4574 diary-outlook-formats can be sensitive to calendar-date-style.
4575 (diary-outlook-formats): Simplify the default setting.
4576 (diary-from-outlook-internal): Pass subject and body as arguments.
4577 Use dolist rather than dotimes. Don't save the diary buffer.
4578 (diary-from-outlook-gnus, diary-from-outlook-rmail):
4579 Pass subject and body as explicit arguments to the -internal function.
4581 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4583 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
4584 parsing them. This makes mailto:...?subject=foo\nbar work.
4586 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4588 * vc/diff.el (diff): Fix last change.
4590 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4592 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
4593 (pcase--dontcare-upats): New var.
4594 (pcase-let, pcase-let*): Generate better code.
4595 Accept the same bodies as `let'.
4596 (pcase-dolist): New macro.
4597 (pcase--trivial-upat-p): New helper function.
4598 (pcase--expand): Strip leading "(let nil" if any.
4600 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4602 * mail/mailclient.el (browse-url): Require.
4603 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
4604 use the external browser function to send the mail (bug#7469).
4606 * net/browse-url.el (browse-url-browser-function): Revert the
4607 default back to the previous value, since the new value broke
4609 (browse-url-mailto-function): New variable for mailto: URLs.
4610 (browse-url): Use the new variable for mailto: URLs.
4612 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4614 * eshell/esh-cmd.el (eshell-parse-command):
4615 * eshell/esh-arg.el (eshell-parse-arguments):
4616 * eshell/em-script.el (eshell-source-file):
4617 Use with-silent-modifications.
4619 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4621 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
4622 for a merge location.
4624 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
4625 (vc-bzr-merge-branch): Always prompt.
4626 (vc-bzr-async-command): Use the full branch filename.
4628 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4630 * shell.el (shell): Use current-buffer by default if it's already
4631 a shell mode buffer and its process is dead.
4632 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
4634 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
4636 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4637 Mention that the keywords should be comma separated.
4639 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4641 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
4642 Accept optional prefix arg meaning to prompt for a command.
4643 (vc-update): Use vc-BACKEND-pull if available. Accept optional
4644 prefix arg meaning to prompt for a command.
4645 (vc-pull): Alias for vc-update.
4647 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
4648 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
4649 (vc-bzr-merge-branch): New functions, implementing merge-branch
4650 and pull operations.
4652 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4654 * Makefile.in: Fix up last merge.
4656 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
4657 (diff-sentinel): Get them as arguments instead.
4658 (diff-old-file, diff-new-file, diff-extra-args): Remove.
4659 (diff-file-local-copy, diff-better-file-name): New funs.
4660 (diff-no-select): Rename from diff-into-buffer.
4661 Support buffers additionally to files. Move `buf' arg. Don't display buf.
4662 Prefer closures to buffer-local variables.
4663 (diff): Adjust accordingly.
4664 (diff-buffer-with-file): Move from files.el.
4665 * files.el (diff-buffer-with-file): Move to vc/diff.el.
4666 (diff-buffer-internal): Remove.
4667 (diff-buffer-buffer): Remove.
4668 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
4669 the buffer name used, and so as not to mess up windows and frames.
4671 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
4673 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
4674 (diff-buffer-internal): New function extracted from diff-buffer-with-file
4675 (diff-buffer-with-file): Use it.
4676 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
4679 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
4681 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
4682 \ref's or \pageref's value as default instead of initial input.
4684 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
4686 * files.el (backup-by-copying-when-mismatch): The default value is
4689 * startup.el (normal-top-level):
4690 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4691 `backup-by-copying-when-mismatch'.
4693 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4695 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
4697 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4699 * progmodes/python.el (python-font-lock-keywords):
4700 Highlight top-level augmented assignments (Bug#6445).
4702 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4704 * term/ns-win.el (ns-right-control-modifier)
4705 (ns-right-command-modifier): Defvar them.
4707 * cus-start.el (all): Add ns-right-control-modifier and
4708 ns-right-command-modifier (Bug#7458).
4710 2010-11-20 Glenn Morris <rgm@gnu.org>
4712 * emacs-lisp/authors.el (authors-ignored-files)
4713 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
4715 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4717 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
4718 (report-emacs-bug-parse-query-results)
4719 (report-emacs-bug-create-existing-bugs-buffer): Pass through
4720 keywords used for querying the bug database to show them in the
4721 existing bugs buffer.
4723 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
4725 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
4727 * info.el (info-tool-bar-map): Add some :vert-only keywords.
4729 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4731 * international/characters.el (glyphless-char-display-control):
4732 Make it a defcustom, with update-glyphless-char-display as its
4734 (top level): Don't call update-glyphless-char-display.
4736 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
4738 Sync with Tramp 2.2.0.
4740 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
4741 `file-remote-p' (due to compatibility).
4743 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
4744 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
4746 * net/trampver.el: Update release number.
4748 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4750 * faces.el (glyphless-char): Define value for `pc'.
4752 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4754 Implemented a bug querying mechanism.
4755 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
4756 (report-emacs-bug-create-existing-bugs-buffer)
4757 (report-emacs-bug-parse-query-results)
4758 (report-emacs-bug-query-existing-bugs): New functions.
4760 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
4762 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
4763 a \ref{} or \pageref{} macro, then use its value as initial input.
4765 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4767 * calc/calc-units.el (math-build-units-table-buffer):
4768 calc/README: Mention that the TeX specific units won't use the
4769 `tex' prefix in TeX mode.
4770 calc/calc-lang.el (math-variable-table): Don't use the `tex'
4771 prefix for units in TeX mode.
4773 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4775 * simple.el (kill-new, kill-append, kill-region):
4776 * comint.el (comint-kill-region): Make the yank-handler argument
4779 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4781 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
4782 that are both openers (resp. closers) and something else.
4783 (smie-grammar): Loosen definition of valid values.
4784 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
4785 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
4786 (smie-indent-after-keyword): Adjust users.
4787 (smie-indent-keyword): Don't indent empty lines.
4789 * vc-hg.el (vc-hg-program): New var.
4790 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
4791 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
4793 2010-11-18 Glenn Morris <rgm@gnu.org>
4795 * emacs-lisp/autoload.el (autoload-find-destination): The function
4796 coding-system-eol-type may return non-numeric values. (Bug#7414)
4798 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
4800 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
4802 2010-11-18 Eli Zaretskii <eliz@gnu.org>
4804 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
4806 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
4808 * textmodes/picture.el (picture-mouse-set-point): Don't use
4809 posn-col-row; explicitly compute the motion based on the posn at
4810 the window-start (Bug#7390).
4812 2010-11-18 Glenn Morris <rgm@gnu.org>
4814 * novice.el (disabled-command-function):
4815 Fix 2009-11-15 change. (Bug#7384)
4817 2010-11-18 Glenn Morris <rgm@gnu.org>
4819 * calendar/calendar.el (diary-iso-date-forms): Make elements
4820 mutually exclusive. (Bug#7377)
4822 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4824 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
4825 when filling the remaining "unconstrained" values.
4827 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4829 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
4832 * files.el (safe-local-variable-p): Gracefully handle errors.
4834 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
4835 Use smie-indent-virtual when indenting relative to an opener.
4836 (smie-rule-separator): Use smie-rule-parent.
4837 (smie-indent-keyword): Consult rules, even for openers at bol.
4838 (smie-indent-comment-close): Try to align closer's content.
4840 2010-11-18 Glenn Morris <rgm@gnu.org>
4842 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4844 2010-11-18 Glenn Morris <rgm@gnu.org>
4846 * printing.el (pr-menu-bind): Doc fix.
4848 * speedbar.el (speedbar-toggle-images): Doc fix.
4850 * progmodes/python.el (python-shell): Doc fix.
4852 * wid-edit.el (widget-field-use-before-change)
4853 (widget-use-overlay-change): Doc fixes.
4855 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4857 Minor cleanup to improve style.
4858 * textmodes/rst.el (rst-update-section): Use point-marker.
4859 (rst-get-decoration): Eliminate unneeded assignment.
4860 (rst-promote-region, rst-straighten-decorations)
4861 (rst-section-tree, rst-adjust): Use point-marker.
4862 (rst-toc-mode-mouse-goto): Avoid setq.
4863 (rst-shift-region-guts, rst-shift-region-left)
4864 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4865 (rst-convert-bullets-to-enumeration): Use copy-marker.
4867 * minibuffer.el (completion-fail-discreetly): New var.
4868 (completion--do-completion): Use it.
4870 * electric.el (electric-pair-pairs): New var.
4871 (electric-pair-post-self-insert-function): Use it.
4872 (electric-layout-post-self-insert-function): Don't insert a before
4873 newline unless it's actually needed.
4875 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4877 * progmodes/python.el (run-python): Explain why we remove the current
4878 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
4880 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4882 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4884 * progmodes/octave-mod.el: Rely on elecric-*-modes.
4885 (octave-mode-map): Don't bind ;, SPC, and LF.
4886 (octave-auto-indent, octave-auto-newline): Remove.
4887 (electric-layout-rules): Declare.
4888 (octave-mode): Set electric-layout-rules.
4889 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4890 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4891 (octave-electric-space): Remove.
4893 * electric.el (electric-layout-mode): New minor mode.
4894 (electric--after-char-pos): New function.
4895 (electric-indent-post-self-insert-function): Use it.
4896 (electric-layout-rules): New var.
4897 (electric-layout-post-self-insert-function): New function.
4898 (electric-indent-mode): Make them interact better.
4900 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4902 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4903 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4904 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4906 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
4908 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4909 Make sure to check inside the word (Bug#6761).
4911 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
4913 * startup.el (command-line): If the cursorColor resource is set,
4914 change the cursor face-spec (Bug#7392).
4916 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
4918 The main features of the following allout.el changes are:
4919 - implement user customization for the allout key bindings
4920 - add a customization control by which the user can inhibit use of
4921 a trailing Ctrl-H, so by default it's reserved for use with
4922 describe-prefix-bindings
4923 - adapt to new version of called-interactively-p, while
4924 maintaining backwards compatibility with old version
4925 - fix hotspot navigation so i works properly with meta-modified keys.
4927 * allout.el (allout-keybindings, allout-bind-keys)
4928 (allout-keybindings-binding, allout-prefixed-keybindings)
4929 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4930 (allout-keybindings-list, allout-mode-map-adjustments)
4931 (allout-setup-mode-map): Establish allout-mode keymaps as user
4932 customizable settings, and also establish a customizable setting which
4933 regulates whether or not a trailing control-h is reserved for use with
4934 describe-prefix-bindings - and inhibit it by default, so that control-h
4935 *is* reserved for describe-prefix-bindings unless the user changes it.
4937 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4938 and accurately between modified and unmodified events, and handle
4939 modified events more comprehensively.
4941 * allout.el (allout-substring-no-properties):
4942 Alias to use or provide version of `substring-no-properties'.
4943 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4945 * allout.el (allout-next-single-char-property-change):
4946 Alias to use or provide version of `next-single-char-property-change'.
4947 (allout-annotate-hidden, allout-hide-by-annotation):
4948 Use `allout-next-single-char-property-change'.
4950 * allout.el (allout-select-safe-coding-system):
4951 Alias to use or provide version of `select-safe-coding-system'.
4952 (allout-toggle-subtree-encryption):
4953 Use `allout-select-safe-coding-system'.
4955 * allout.el (allout-set-buffer-multibyte):
4956 Alias to use or provide version of `set-buffer-multibyte'.
4957 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4959 * allout.el (allout-called-interactively-p): Macro for using the
4960 different versions of called-interactively-p identically, depending on
4961 the subroutine's argument signature.
4962 (allout-back-to-current-heading, allout-beginning-of-current-entry):
4963 Use `(interactive "p")' instead of `(called-interactively-p)'.
4965 * allout.el (allout-init, allout-ascend, allout-end-of-level)
4966 (allout-previous-visible-heading, allout-forward-current-level)
4967 (allout-backward-current-level, allout-show-children):
4968 Use `allout-called-interactively-p' instead of `called-interactively-p'.
4970 * allout.el (allout-before-change-handler):
4971 Exempt edits to the (overlaid) character after the allout outline
4972 bullet from edit confirmation prompt.
4974 * allout.el (allout-add-resumptions):
4975 Ensure that it respects correct buffer for keybindings.
4977 * allout.el (allout-beginning-of-line):
4978 Use `allout-previous-single-char-property-change' alias for the sake of
4979 diverse compatibility.
4981 * allout.el (allout-end-of-line):
4982 Use `allout-mark-active-p' to encapsulate respect for mark activity.
4984 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
4986 * frame.el (frame-notice-user-settings): Don't clobber other
4987 user-set parameters when calling face-set-after-frame-default in
4988 response to background-color parameter (Bug#7373).
4990 2010-11-13 Eli Zaretskii <eliz@gnu.org>
4992 * international/characters.el (glyphless-char-display-control):
4993 Rename from glyphless-char-control; all users changed. Doc fix.
4994 Signal an error if display method is not one of the recognized
4997 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
4999 * net/tramp-compat.el (tramp-compat-line-beginning-position)
5000 (tramp-compat-line-end-position): Remove them.
5002 * net/tramp.el (tramp-parse-rhosts-group)
5003 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
5004 (tramp-parse-hosts-group, tramp-parse-passwd-group)
5005 (tramp-parse-netrc-group, tramp-parse-putty-group)
5006 * net/tramp-cmds.el (tramp-append-tramp-buffers)
5007 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
5008 (tramp-sh-handle-file-selinux-context)
5009 (tramp-sh-handle-file-name-all-completions)
5010 (tramp-sh-handle-insert-directory)
5011 (tramp-sh-handle-expand-file-name, tramp-find-executable)
5012 (tramp-wait-for-output, tramp-send-command-and-read)
5013 * net/tramp-smb.el (tramp-smb-read-file-entry)
5014 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
5016 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
5018 (tramp-remote-coding-commands): Add an alternative using "base64
5019 -d -i". This is needed for older base64 versions from GNU
5020 coreutils. Reported by Klaus Reichl
5021 <Klaus.Reichl@thalesgroup.com>.
5023 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
5025 * simple.el (count-words-region): New function.
5027 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5029 * shell.el (shell-dir-cookie-re): New custom variable.
5030 (shell-dir-cookie-watcher): New function.
5032 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
5033 and compilation-mode (bug#7350).
5035 * vc/smerge-mode.el (smerge-refine): Choose better default part to
5036 highlight when one of them is empty.
5038 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
5040 (skeleton-newline): New function.
5041 (skeleton-internal-1): Use it.
5043 * simple.el (open-line): `newline' may strip trailing space.
5045 2010-11-12 Kevin Ryde <user42@zip.com.au>
5047 * international/mule-cmds.el (princ-list): Use mapc.
5049 2010-11-12 Glenn Morris <rgm@gnu.org>
5051 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
5052 Use it to replace all instances of "*Compile-Log*".
5054 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5056 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
5059 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5061 * progmodes/modula2.el: Use SMIE and skeleton.
5062 (m2-mode-syntax-table): (*..*) can be nested.
5063 Add //...\n. Fix paren syntax.
5064 (m2-mode-map): Remove LF and TAB bindings.
5065 (m2-indent): Add safety property.
5066 (m2-smie-grammar): New var.
5067 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
5068 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
5069 (m2-mode): Use define-derived-mode.
5070 (m2-newline, m2-tab): Remove.
5071 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
5072 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
5073 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
5074 (m2-import): Use define-skeleton.
5076 2010-11-11 Glenn Morris <rgm@gnu.org>
5078 * obsolete/lucid.el: Don't warn about any CL functions in this file.
5080 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
5081 (ls-lisp-verbosity): Add custom :set-after property.
5082 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
5083 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
5084 (ls-lisp-insert-directory): Update caller.
5085 (ls-lisp-set-options): New function.
5086 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
5089 * play/landmark.el (lm-prompt-for-move):
5090 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
5092 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
5094 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
5095 (idlwave-study-twins): Prefix dynamic local variable `name'.
5096 (idlwave-routine-twin-compare): Update for above change.
5098 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
5099 Prefix dynamic local variables `name', `kwd', and `link'.
5100 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
5101 * progmodes/idlw-complete-structtag.el
5102 (idlwave-complete-structure-tag-help):
5103 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
5104 (idlwave-complete-sysvar-tag-help)
5105 (idlwave-complete-class-structure-tag-help):
5106 Update for above name changes.
5108 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5110 * net/browse-url.el (browse-url-browser-function): Change the
5111 default to use `browse-url-mail' on mailto: URLs.
5113 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
5115 * emacs-lisp/package.el (package-read-all-archive-contents):
5116 Reset package-archive-contents to nil before re-reading.
5118 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
5120 * textmodes/flyspell.el (flyspell-word): Do not re-check words
5121 already found as misspellings by (flyspell-large-region), just
5122 do highlighting (bug#7322).
5124 2010-11-10 Glenn Morris <rgm@gnu.org>
5126 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
5128 * emulation/edt.el (edt-with-position): New macro.
5129 (edt-find-forward, edt-find-backward, edt-find-next-forward)
5130 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
5131 (edt-paragraph-forward, edt-paragraph-backward): Use it.
5133 * emulation/tpu-extras.el (tpu-with-position): New macro.
5134 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
5136 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
5138 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
5139 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
5140 (texinfo-master-menu, texinfo-insert-node-lines)
5141 (texinfo-multiple-files-update):
5142 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
5143 Use line-beginning-position.
5145 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
5146 No recent Emacs supports system-type `emx'.
5148 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
5149 (ada-command-separator, ada-default-prj-properties)
5150 (ada-find-any-references): Update for above name change.
5152 * dirtrack.el (dirtrack-directory-function)
5153 (dirtrack-canonicalize-function):
5154 * filecache.el (file-cache-completion-ignore-case)
5155 (file-cache-case-fold-search, file-cache-ignore-case):
5156 * term.el (serial-port-is-file-p): Cosmetic change.
5158 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
5159 Remove non-existent `windows-95' system-type.
5160 * dired.el (dired-chown-program): Remove non-existent `linux'
5163 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
5164 (ping-program-options): Remove non-existent `linux' system-type.
5166 * startup.el (package-initialize): Update declaration.
5168 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
5169 (ls-lisp-handle-switches): Use time-less-p.
5170 (ls-lisp-format-time): Use float-time.
5172 * textmodes/remember.el (remember-time-to-seconds): Remove.
5173 (remember-store-in-mailbox): Use float-time.
5175 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
5177 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
5178 never a real function.
5179 (with-no-warnings): Remove compat stub, now unused.
5180 (time-less-p): Doc fix.
5181 (time-to-number-of-days): Simplify.
5183 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
5185 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
5186 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
5187 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
5188 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
5189 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
5191 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
5192 (eshell-shuffle-files, eshell-shorthand-tar-command)
5193 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
5194 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
5195 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
5196 Prefix dynamic local variable `matches'.
5198 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
5199 Prefix dynamic local variable `skeleton'.
5201 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
5203 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
5204 in mail buffer; make yank-action always a command that yanks original
5207 2010-11-09 Glenn Morris <rgm@gnu.org>
5209 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
5211 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5213 * minibuffer.el (minibuffer-completion-help): Specify the end of the
5214 completion field (bug#7211).
5216 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
5217 Fix handling of backslash escapes.
5218 (python-quote-syntax): Adjust accordingly.
5220 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
5222 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
5223 (vc-mtn-workfile-branch): Adjust to new output format.
5225 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5227 * international/mule-cmds.el (princ-list): Mark as obsolete.
5229 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5231 * emacs-lisp/smie.el: New package.
5233 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
5235 * files.el (backup-by-copying-when-mismatch):
5236 Set `permanent-local' property.
5238 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
5239 `permanent-local' property for `backup-by-copying-when-mismatch'.
5241 2010-11-09 Eli Zaretskii <eliz@gnu.org>
5243 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
5245 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
5247 * progmodes/verilog-mode.el (verilog-insert-one-definition)
5248 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
5249 AUTOINOUT for SV style multidimensional arrays, bug294.
5250 Reported by Eric Mastromarchi.
5251 (verilog-preprocess): Use with-current-buffer and
5252 font-lock-fontify-buffer to cleanup style issues.
5254 2010-11-09 Glenn Morris <rgm@gnu.org>
5256 * locate.el (locate, locate-mode): Doc fixes.
5258 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
5260 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
5261 user for confirmation.
5262 (server-force-stop): Use it.
5263 (server-start): Use server-force-stop for kill-emacs-hook, to
5264 avoid user interaction while killing Emacs.
5266 2010-11-09 Glenn Morris <rgm@gnu.org>
5268 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
5269 (meta-indent-line): Simplify.
5271 * vc/emerge.el (emerge-line-number-in-buf):
5272 * textmodes/ispell.el (ispell-region):
5273 * textmodes/fill.el (current-fill-column):
5274 * progmodes/xscheme.el (xscheme-send-current-line):
5275 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
5276 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
5277 * progmodes/sh-script.el (sh-handle-prev-do):
5278 * progmodes/meta-mode.el (meta-indent-line):
5279 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
5281 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
5282 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
5283 * progmodes/fortran.el (fortran-looking-at-if-then):
5284 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
5285 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
5286 (cperl-find-pods-heres):
5287 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
5288 * net/quickurl.el (quickurl-list-insert):
5289 * net/ldap.el (ldap-search-internal):
5290 * net/eudc.el (eudc-expand-inline):
5291 * mail/sendmail.el (sendmail-send-it):
5292 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
5293 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
5294 (viper-brac-function):
5295 * calc/calc-yank.el (calc-do-grab-region):
5296 * calc/calc-keypd.el (calc-keypad-press):
5297 * term.el (term-move-columns, term-insert-spaces):
5298 * speedbar.el (speedbar-highlight-one-tag-line):
5299 * simple.el (current-word):
5300 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
5301 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
5303 * hippie-exp.el (he-line-beg):
5304 * epa.el (epa--marked-keys):
5305 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
5306 (dired-update-file-line, dired-add-entry, dired-remove-entry)
5307 (dired-relist-entry):
5308 * buff-menu.el (Buffer-menu-buffer):
5309 * array.el (current-line):
5310 * allout.el (allout-resolve-xref)
5311 (allout-latex-verbatim-quote-curr-line):
5312 Replace yet more uses of end-of-line etc with line-end-position, etc.
5314 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5316 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
5317 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
5318 (checkdoc-syntax-table): Initialize in the declaration.
5319 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
5320 the mode on unconditionally.
5322 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
5323 (extent-end-position, extent-start-position): Remove setf method for
5324 non-existing functions (bug#7319).
5326 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5328 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
5329 (smie-precs->prec2): Rename from smie-precs-precedence-table.
5330 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
5331 (smie-prec2->grammar): Rename from smie-prec2-levels.
5332 (smie-grammar): Rename from smie-op-levels.
5333 (smie-indent--hanging-p): Rename from smie-hanging-p.
5334 (smie-rule-hanging-p): New alias.
5335 (smie-indent--bolp): Rename from smie-bolp.
5336 (smie-indent--hanging-p): New alias.
5337 (smie--token): New dynamically bound variable.
5338 (smie-indent--parent): New function.
5339 (smie-rule-parent-p): Use it; rename from smie-parent-p.
5340 (smie-rule-next-p): Rename from smie-next-p.
5341 (smie-rule-prev-p): Rename from smie-prev-p.
5342 (smie-rule-sibling-p, smie-rule-parent)
5343 (smie-indent--separator-outdent, smie-rule-separator): New functions.
5344 (smie-rule-separator-outdent): New var.
5345 (smie-indent--rule): Merge with smie-indent--column.
5346 (smie-indent-forward-token, smie-indent-backward-token):
5347 Also recognize close parens.
5348 (smie-indent-keyword): Don't use smie-indent--column any more.
5349 (smie-indent-after-keyword): Ignore closers by default.
5350 (smie-indent-line): Use with-demoted-errors.
5351 * progmodes/octave-mod.el (octave-smie-grammar):
5352 Rename from octave-smie-op-levels.
5353 (octave-smie-rules): Adjust to new behavior.
5354 * progmodes/prolog.el (prolog-smie-grammar):
5355 Rename from prolog-smie-op-levels.
5357 2010-11-07 Glenn Morris <rgm@gnu.org>
5359 * eshell/esh-util.el (subst-char-in-string)
5360 (directory-files-and-attributes): These compatibility definitions are
5361 not needed on any version of Emacs since at least 21.4.
5363 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
5364 (verilog-get-end-of-line): Remove.
5365 (verilog-within-string, verilog-re-search-forward-substr)
5366 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
5367 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
5368 Use point-at-bol, point-at-eol.
5369 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
5371 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
5372 (electric-pascal-terminate-line, pascal-set-auto-comments)
5373 (pascal-indent-paramlist, pascal-indent-declaration)
5374 (pascal-get-lineup-indent, pascal-func-completion)
5375 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
5376 Use point-at-bol, point-at-eol.
5377 * progmodes/flymake.el (flymake-line-beginning-position)
5378 (flymake-line-end-position): Remove.
5379 (flymake-highlight-line): Use point-at-bol, point-at-eol.
5380 * eshell/esh-util.el (line-end-position, line-beginning-position):
5381 Remove compat definitions.
5383 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
5385 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
5386 Use line-end-position.
5388 * emacs-lisp/chart.el (chart-zap-chars):
5389 * play/decipher.el (decipher-set-map):
5390 * progmodes/ada-mode.el (ada-get-current-indent)
5391 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
5392 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
5393 * progmodes/ada-xref.el (ada-initialize-runtime-library)
5394 (ada-get-all-references):
5395 * progmodes/cperl-mode.el (cperl-electric-paren)
5396 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
5397 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
5398 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
5399 (cperl-word-at-point-hard):
5400 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
5401 (idlwave-shell-filename-string, idlwave-shell-batch-command)
5402 (idlwave-shell-display-line):
5403 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
5404 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
5405 * progmodes/js.el (js--re-search-forward-inner)
5406 (js--re-search-backward-inner):
5407 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
5408 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
5409 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
5410 * textmodes/flyspell.el (flyspell-process-localwords):
5411 * textmodes/ispell.el (ispell-buffer-local-parsing)
5412 (ispell-buffer-local-dict, ispell-buffer-local-words):
5413 Use point-at-bol and point-at-eol.
5415 * speedbar.el (speedbar-generic-item-info)
5416 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
5417 (speedbar-add-indicator, speedbar-check-vc-this-line)
5418 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
5419 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
5420 Replace more uses of end-of-line etc with line-end-position.
5422 2010-11-06 Glenn Morris <rgm@gnu.org>
5424 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
5425 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
5426 (texinfo-delete-existing-pointers, texinfo-find-pointer)
5427 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
5428 (texinfo-multiple-files-update):
5429 * textmodes/table.el (table--probe-cell-left-up)
5430 (table--probe-cell-right-bottom):
5431 * textmodes/picture.el (picture-tab-search):
5432 * textmodes/page-ext.el (pages-copy-header-and-position)
5433 (pages-directory-for-addresses):
5434 * progmodes/vera-mode.el (vera-get-offset):
5435 * progmodes/simula.el (simula-calculate-indent):
5436 * progmodes/python.el (python-pdbtrack-overlay-arrow):
5437 * progmodes/prolog.el (end-of-prolog-clause):
5438 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
5439 * progmodes/icon.el (indent-icon-exp):
5440 * progmodes/etags.el (tag-re-match-p):
5441 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
5442 * progmodes/ebnf2ps.el (ebnf-begin-file):
5443 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
5444 (dcl-save-local-variable):
5445 * play/life.el (life-setup):
5446 * play/gametree.el (gametree-looking-at-ply):
5447 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
5448 * mail/sendmail.el (mail-mode-auto-fill):
5449 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
5450 * emacs-lisp/edebug.el (edebug-overlay-arrow):
5451 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
5452 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
5453 (woman-tab-to-tab-stop, WoMan-warn-ignored):
5454 * type-break.el (type-break-file-keystroke-count):
5455 * term.el (term-replace-by-expanded-history-before-point)
5456 (term-skip-prompt, term-extract-string):
5457 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
5458 (speedbar-contract-line, speedbar-toggle-line-expansion)
5459 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
5460 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
5461 * sort.el (sort-skip-fields):
5462 * skeleton.el (skeleton-internal-list):
5463 * simple.el (line-move-finish, line-move-to-column):
5464 * shell.el (shell-forward-command):
5465 * misc.el (copy-from-above-command):
5466 * makesum.el (double-column):
5467 * ebuff-menu.el (electric-buffer-update-highlight):
5468 * dired.el (dired-move-to-end-of-filename):
5469 * dframe.el (dframe-popup-kludge):
5470 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
5471 * arc-mode.el (archive-get-lineno):
5472 Use line-end-position and line-beginning-position.
5474 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
5475 (idlwave-study-twins): Prefix dynamic local `class'.
5476 (idlwave-routine-twin-compare): Update for above name change.
5478 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
5479 Use boundp tests to silence compiler. Update for changed name of
5480 bytecomp-filename variable.
5482 * emulation/viper-cmd.el (viper-read-string-with-history):
5483 Prefix dynamic local `initial'.
5484 (viper-minibuffer-standard-hook): Update for above name change.
5486 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
5487 (elint-init-form): Update for above name change.
5489 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
5490 local variables `cbeg' and `cend' a prefix.
5491 (mail-extr-voodoo): Update for above name change.
5493 * textmodes/reftex-toc.el (reftex-toc-do-promote)
5494 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
5495 (reftex-toc-promote-action): Doc fix.
5497 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
5498 `prompt', `data' a prefix.
5499 (reftex-select-post-command-hook, reftex-select-callback)
5500 (reftex-select-mouse-accept, reftex-select-read-cite):
5501 Update for above name changes.
5503 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
5504 `refstyle' to reftex-refstyle.
5505 (reftex-offer-label-menu): Update for above name change.
5506 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
5507 `refstyle' name change.
5509 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
5510 with with-current-buffer.
5511 (diff, template): Give dynamic local variables a prefix.
5512 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
5513 (emerge-line-number-in-buf): Update for above name change.
5514 (emerge-combine-versions-internal): Rename local `template' to
5515 emerge-combine-template.
5516 (emerge-combine-versions-edit): Update for above name change.
5518 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
5520 * textmodes/reftex-cite.el
5521 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
5522 entries with whitespace after \bibitem.
5523 (reftex-create-bibtex-file): Match entries containing numbers and
5524 symbol constituents. Make sure that entries with whitespace at
5525 various places are found.
5527 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
5529 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
5531 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
5533 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
5535 2010-11-05 Glenn Morris <rgm@gnu.org>
5537 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
5538 (woman2-roff-buffer): Give local variable `request' a prefix.
5539 (woman0-macro): Rename argument `request' in the same way.
5540 (woman-request): New name for `request' dynamic variable.
5541 (woman-unquote, woman-forward-arg): Update for above name change.
5542 (woman1-roff-buffer): Give local variable `unquote' a prefix.
5543 (woman1-unquote): New name for `unquote' dynamic variable.
5544 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
5545 (woman-translations): Rename from `translations'. No longer global.
5546 (woman2-tr, woman-translate): Update for above name change.
5547 (woman-translate): Check for bound variable.
5548 (woman2-roff-buffer): Give local variable `translations' a prefix.
5550 * play/doctor.el: Give all local variables a prefix. Update callers.
5551 (doc$, doctor-put-meaning): Use backquote.
5553 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
5554 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
5556 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
5557 variables bytes, ptr, op a prefix.
5558 (disassemble-offset): Update for above change.
5560 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5562 * emacs-lisp/package.el (package-unpack): Remove no-op.
5563 (package--builtins, package--dir): Doc fix.
5564 (package-activate-1, package-activate, package-install)
5565 (package-compute-transaction): Fix error message.
5566 (package-delete): Use delete-directory. Omit system packages.
5567 (package-initialize): Set package-alist to nil first.
5568 (package-menu-mark-delete, package-menu-mark-install): Don't add
5569 symbols that are inconsistent with the package state.
5570 (package-menu-execute): Perform deletions and installations as
5571 single batch operations.
5573 2010-11-03 Glenn Morris <rgm@gnu.org>
5575 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
5576 (props): Remove unnecessary declaration.
5578 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
5579 set-process-query-on-exit-flag.
5581 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
5582 (reftex-toc-do-promote): Remove unused local `mpos'.
5583 (reftex-toc-restore-region): Make `mpos' local to this function.
5585 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
5587 * play/landmark.el (lm-losing-threshold): Correct spelling.
5588 (lm-human-plays): Use new name.
5590 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
5591 (gomoku-human-plays): Use new name.
5593 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
5594 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
5595 (gomoku-score-trans-table, gomoku-winning-threshold)
5596 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
5598 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5600 * emacs-lisp/package.el: Don't put built-in packages in
5601 package-alist, to avoid loading inefficiencies.
5602 (package-built-in-p): Make VERSION optional, and treat it as a
5603 minimum acceptable version.
5604 (package-activate): Search separately for built-in packages.
5605 Emit a warning if a dependency fails.
5606 (define-package): Handle most common case, where there is no
5607 obsolete package, first.
5608 (package-compute-transaction): Print required version in error.
5609 (package--initialized): New variable.
5610 (list-packages): Use it.
5611 (package-initialize): Optional arg NO-ACTIVATE. Don't put
5612 built-in packages in packages-alist; keep it separate.
5613 Set package--initialized.
5614 (describe-package): Avoid activating packages as a side-effect.
5615 Search separately for built-in packages.
5616 (describe-package-1): Handle the case where an elpa package is
5617 simultaneously built-in and available/installed.
5618 (package-installed-p, package--generate-package-list):
5619 Search separately for built-in packages.
5620 (package-load-descriptor): Doc fix.
5622 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5624 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5625 Handle __DATA__ and __END__.
5627 2010-11-02 Noah Friedman <friedman@splode.com>
5629 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
5630 nil, do not ask to recompile files that are not already compiled,
5631 and do not recompile them.
5633 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
5635 * emacs-lisp/package.el (package-initialize): Ensure that
5636 obsoleted built-in packages are not in package-activated-list
5638 (describe-package-1): Make the "installed" status override
5641 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5643 * subr.el (version-separator, version-regexp-alist): Remove '*'
5645 (version-list-<=, version<=, version=): Doc fix.
5647 2010-11-01 Kenichi Handa <handa@m17n.org>
5649 * faces.el (glyphless-char): Inherit underline for tty.
5651 2010-11-01 Kenichi Handa <handa@m17n.org>
5653 Implement various display methods for glyphless characters.
5655 * international/characters.el (char-acronym-table): New variable.
5656 (glyphless-char-control): New variable.
5657 (update-glyphless-char-display): New function.
5659 * faces.el (glyphless-char): New face.
5661 2010-11-01 Glenn Morris <rgm@gnu.org>
5663 * calendar/holidays.el (general-holidays, oriental-holidays)
5664 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
5665 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
5666 the definitions of their targets.
5668 * emacs-lisp/smie.el (smie): New custom group.
5669 (smie-blink-matching-inners, smie-indent-basic): Add :group.
5671 * faces.el (xw-defined-colors, x-setup-function-keys):
5672 * mouse-sel.el (x-select-text):
5673 * term/w32console.el (x-setup-function-keys): Update declarations.
5675 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
5677 * textmodes/ispell.el (comment-add): Declare.
5679 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
5682 * info.el (finder-keywords-hash, package-alist): Declare.
5684 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5686 * finder.el (finder-compile-keywords): Don't use intern-soft,
5687 since package names may not yet exist in the obarray.
5689 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5691 * vc/vc-arch.el (vc-arch-checkin):
5692 * vc/vc-cvs.el (vc-cvs-checkin):
5693 * vc/vc-mtn.el (vc-mtn-checkin):
5694 * vc/vc-rcs.el (vc-rcs-checkin):
5695 * vc/vc-sccs.el (vc-sccs-checkin):
5696 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
5697 since 2010-04-21 commit by Stefan Monnier.
5699 2010-11-01 Glenn Morris <rgm@gnu.org>
5701 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
5703 * startup.el (package-enable-at-startup, package-initialize):
5706 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
5709 2010-10-31 Julien Danjou <julien@danjou.info>
5711 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
5712 (byte-recompile-directory):
5713 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
5714 Use `byte-recompile-file'.
5716 2010-10-31 Glenn Morris <rgm@gnu.org>
5718 * cus-start.el: Handle standard values via a keyword.
5719 Only set version property if specified.
5720 (cursor-in-non-selected-windows, menu-bar-mode)
5721 (tool-bar-mode, show-trailing-whitespace):
5722 Do not specify standard values.
5723 (transient-mark-mode, temporary-file-directory): Use :standard.
5725 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
5727 * term/x-win.el (x-get-selection-value): New function that gets
5728 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
5730 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
5732 * net/tramp.el (tramp-handle-insert-file-contents): For root,
5733 preserve owner and group when editing files. (Bug#7289)
5735 2010-10-31 Glenn Morris <rgm@gnu.org>
5737 * speedbar.el (speedbar-mode):
5738 * play/fortune.el (fortune-in-buffer, fortune):
5739 * play/gomoku.el (gomoku-mode):
5740 * play/landmark.el (lm-mode):
5741 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
5742 Replace inappropriate uses of toggle-read-only. (Bug#7292)
5744 * select.el (x-selection): Mark it as an obsolete alias.
5746 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5748 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
5749 major-mode (bug#7284).
5751 2010-10-31 Glenn Morris <rgm@gnu.org>
5753 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
5754 rather than just an unused variable that inherits from the real one.
5756 2010-10-31 Alan Mackenzie <acm@muc.de>
5758 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
5759 This fixes bug #7185.
5761 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
5763 * startup.el (command-line): Search for package directories, and
5764 don't load package.el if none are found.
5766 * emacs-lisp/package.el (describe-package, list-packages):
5767 Call package-initialize if it has not been called yet.
5769 2010-10-30 Alan Mackenzie <acm@muc.de>
5771 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
5772 which fontifies the tail of an enum.
5773 (c-basic-matchers-after): Insert a call to the above new function.
5774 This fixes bug #7264.
5776 2010-10-30 Glenn Morris <rgm@gnu.org>
5778 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
5779 tool-bar-mode, transient-mark-mode. (Bug#7306)
5780 Include the :set property in the dumped Emacs.
5782 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5784 SMIE: change indent rules format, improve smie-setup.
5785 * emacs-lisp/smie.el (smie-precs-precedence-table)
5786 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
5787 Mark them pure so the tables gets built at compile time.
5788 (smie-bnf-precedence-table): Store the closer-alist in the table.
5789 (smie-prec2-levels): Preserve the closer-alist.
5790 (smie-blink-matching-open): Be more forgiving in case of indentation.
5791 (smie-hanging-p): Rename from smie-indent--hanging-p.
5792 (smie-bolp): Rename from smie-indent--bolp.
5793 (smie--parent, smie--after): New dynamic vars.
5794 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
5795 (smie-indent-rules): Remove.
5796 (smie-indent--offset-rule): Remove fun.
5797 (smie-rules-function): New var.
5798 (smie-indent--rule): New fun.
5799 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
5800 (smie-indent-exps): Use it.
5801 (smie-setup): Setup paren blinking; add keyword args for token
5802 functions; extract closer-alist from op-levels.
5803 (smie-indent-debug-log): Remove var.
5804 (smie-indent-debug): Remove fun.
5805 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
5806 (prolog-smie-rules): New fun to replace it.
5807 (prolog-mode-variables): Simplify.
5808 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
5809 it's setup automatically.
5810 (octave-smie-indent-rules): Remove.
5811 (octave-smie-rules): New fun to replace it.
5812 (octave-mode): Simplify.
5814 2010-10-29 Glenn Morris <rgm@gnu.org>
5816 * files.el (temporary-file-directory): Remove (already defined in C).
5817 * cus-start.el: Add temporary-file-directory.
5819 * abbrev.el (abbrev-mode):
5820 * composite.el (auto-composition-mode):
5821 * menu-bar.el (menu-bar-mode):
5822 * simple.el (transient-mark-mode):
5823 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5824 that they do not define the associated variables twice.
5825 * simple.el (transient-mark-mode): Remove defvar.
5826 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5827 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5828 Handle multiple groups, and also custom-delayed-init-variables.
5829 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5831 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5833 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5834 (pcase-if): Add one minor optimization.
5835 (pcase-split-equal): Rename from pcase-split-eq.
5836 (pcase-split-member): Rename from pcase-split-memq.
5837 (pcase-u1): Add strings to the member optimization.
5838 Add `guard' variant of predicates.
5839 (pcase-q1): Add string patterns.
5841 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5843 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5845 2010-10-28 Glenn Morris <rgm@gnu.org>
5847 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5848 Move menu-bar related settings to ../menu-bar.el.
5849 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5850 Move ns-specific settings here from term/ns-win.el.
5852 * simple.el (x-selection-owner-p): Remove unused declaration.
5854 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5856 * minibuffer.el (completion-cycling): New var (bug#7266).
5857 (minibuffer-complete, completion--do-completion):
5858 Use completion--flush-all-sorted-completions.
5859 (minibuffer-complete): Only cycle if completion-cycling is set.
5860 (completion--flush-all-sorted-completions): Unset completion-cycling.
5861 (minibuffer-force-complete): Set completion-cycling.
5862 (completion-all-sorted-completions): Move declaration before first use.
5864 2010-10-28 Leo <sdl.web@gmail.com>
5866 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5867 which changes the order of matches seen by users (bug#7231).
5869 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
5871 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5872 Don't confuse -omega as "-o mega".
5874 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
5876 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5877 (log-edit-author): New dynamic var.
5878 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5879 to return the author if different from committer.
5880 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5882 * play/landmark.el: Adjust commenting convention.
5883 (lm-nil-score): Rename from nil-score.
5884 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5885 (OOOOscore): Move into a let in lm-score-trans-table.
5886 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5888 * electric.el (electric-indent-chars): Autoload.
5889 * progmodes/octave-mod.el (octave-mode):
5890 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5891 (ruby-mode-abbrev-table): Merge initialization and declaration.
5893 2010-10-27 Glenn Morris <rgm@gnu.org>
5895 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5898 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5900 * term/ns-win.el: Restore require of cl when compiling.
5901 (menu-bar-final-items): Remove non-existent `windows' menu.
5902 (ns-handle-nxopen): Optionally handle the temp-case.
5903 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5904 (ns-insert-file, ns-find-file): Use `pop'.
5906 2010-10-26 Glenn Morris <rgm@gnu.org>
5908 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5910 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
5912 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5914 * term/common-win.el (x-setup-function-keys): Remove most of the
5915 keymappings. Comment on the remaining ones.
5917 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
5919 * server.el (server-port): New option. (Bug#854)
5920 (server-start): Use server-port.
5922 2010-10-26 Glenn Morris <rgm@gnu.org>
5924 * term/ns-win.el (ns-version-string): Remove unused declaration.
5925 (ns-invocation-args): Change to x-invocation-args.
5926 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5927 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5928 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5929 Use x-invocation-args instead of ns-invocation-args.
5930 (ns-initialize-window-system, handle-args-function-alist):
5931 Use x-handle-args instead of ns-handle-args.
5932 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5933 * startup.el (command-line-ns-option-alist): Replace
5934 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5935 ns-handle-iconic with the x- equivalents.
5937 * term/common-win.el (x-select-enable-clipboard):
5938 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5940 * term/ns-win.el: No need to require cl when compiling.
5941 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5942 (xw-defined-colors): Use the common-win definitions.
5943 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5944 (ns-handle-iconic): Make it an alias for x-handle-iconic.
5945 * term/common-win.el (x-select-text, x-alternatives-map)
5946 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5947 * loadup.el [ns]: Load common-win.
5949 2010-10-26 Daiki Ueno <ueno@unixuser.org>
5951 * epa-mail.el (epa-mail-encrypt): Handle local-part only
5952 recipients; expand mail aliases (Bug#7280).
5954 2010-10-25 Glenn Morris <rgm@gnu.org>
5956 * term/common-win.el (x-handle-switch): Simplify with pop.
5957 Optionally handle numeric switches.
5958 (x-handle-numeric-switch): Just call x-handle-switch.
5959 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5960 (x-handle-name-switch, x-handle-display, x-handle-args):
5963 * term/ns-win.el: Do not require easymenu.
5964 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5965 <spell>: Move adjustments to menu-bar.el.
5966 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5967 <separator-undo, spell>: Move ns-win's adjustments here.
5968 * loadup.el [ns]: Do not load easymenu.
5970 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5972 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5975 * startup.el (fancy-startup-tail): Instead of using inline images,
5976 refer to image files from etc/.
5978 * wid-edit.el (checkbox): Likewise.
5979 (widget-image-find): Center image specs.
5981 2010-10-24 Glenn Morris <rgm@gnu.org>
5983 * term/ns-win.el (x-select-text): Doc fix.
5984 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5985 (x-select-text): Move to term/common-win.
5986 * term/w32-win.el (xw-defined-colors): Move to common-win.
5987 * term/x-win.el (xw-defined-colors, x-alternatives-map)
5988 (x-setup-function-keys, x-select-text): Move to common-win.
5989 * term/common-win.el (x-select-text, x-alternatives-map)
5990 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5993 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
5995 * net/mairix.el (mairix-searches-mode-map):
5996 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5998 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
6000 * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
6001 auto-built for efficiency of execution and updating.
6002 (verilog-extended-complete-re): Support 'pure' fucntion & task
6003 declarations (these have no bodies).
6004 (verilog-beg-of-statement): General cleanup to enable support of
6005 'pure' fucntion & task declarations (these have no bodies).
6006 These efforts together fix Verilog bug210 from veripool; which was also
6007 noticed by Steve Pearlmutter.
6008 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
6009 (verilog-directive-nest-re, verilog-set-auto-endcomments):
6010 Support `elsif. Reported by Shankar Giri.
6011 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
6012 attribute handling for lining up declarations and assignments.
6013 (verilog-beg-of-statement-1): Fix issue where continued declaration
6014 is indented differently if it is after a begin..end clock.
6015 (verilog-in-attribute-p, verilog-skip-backward-comments)
6016 (verilog-skip-forward-comment-p): Support proper treatment of
6017 attributes by indent code. Reported by Jeff Steele.
6018 (verilog-in-directive-p): Fix comment to correctly describe function.
6019 (verilog-backward-up-list, verilog-in-struct-region-p)
6020 (verilog-backward-token, verilog-in-struct-p)
6021 (verilog-in-coverage-p, verilog-do-indent)
6022 (verilog-pretty-declarations): Use verilog-backward-up-list as
6023 wrapper around backward-up-list inorder to properly skip comments.
6024 Reported by David Rogoff.
6025 (verilog-property-re, verilog-endcomment-reason-re)
6026 (verilog-beg-of-statement, verilog-set-auto-endcomments)
6027 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
6028 of if). Reported by Max Bjurling and
6029 (verilog-calc-1): Fix for clocking block in modport
6030 declaration. Reported by Brian Hunter.
6032 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
6034 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
6035 (verilog-gate-keywords, verilog-read-sub-decls)
6036 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
6037 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
6038 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
6039 (verilog-read-decls): Fix spaces in V2K module parameters causing
6040 mis-identification as interfaces, bug287.
6041 (verilog-read-decls): Fix not treating "parameter string" as a
6042 parameter in AUTOINSTPARAM.
6043 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
6044 treating `elsif similar to `endif inside AUTOSENSE.
6045 (verilog-do-indent): Implement correct automatic or static task or
6046 function end comment highlight. Reported by Steve Pearlmutter.
6047 (verilog-font-lock-keywords-2): Fix highlighting of single
6048 character pins, bug264. Reported by Michael Laajanen.
6049 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
6050 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
6051 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
6052 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
6053 (verilog-pretty-expr): Fix interactive arguments, bug272.
6054 Reported by Mark Johnson.
6055 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
6056 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
6057 bug269. Suggested by Gary Delp.
6058 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
6059 (verilog-preprocessor, verilog-set-compile-command):
6060 Create verilog-preprocess and verilog-preprocessor to show
6061 preprocessed output.
6062 (verilog-get-beg-of-line, verilog-get-end-of-line)
6063 (verilog-modi-file-or-buffer, verilog-modi-name)
6064 (verilog-modi-point, verilog-within-string): Move defmacro's
6065 before first use to avoid warning. Reported by Steve Pearlmutter.
6066 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
6067 (verilog-colorize-region, verilog-highlight-buffer)
6068 (verilog-highlight-includes, verilog-highlight-modules)
6069 (verilog-highlight-region, verilog-mode): Rename colorize to
6070 highlight to match other packages. Disable module highlighting,
6071 as received speed complaints, reenable for experimentation only
6072 using new verilog-highlight-modules.
6073 (verilog-read-decls): Fix regexp stack overflow in very large
6074 AUTO_TEMPLATEs, bug250.
6075 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
6076 (verilog-scan): Create verilog-save-buffer-state to standardize
6077 making insignificant changes that shouldn't call hooks.
6078 (verilog-save-no-change-functions, verilog-save-scan-cache)
6079 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
6080 Create verilog-save-no-change-functions to wrap verilog-scan
6081 preservation, and fix to work with nested preserved calls.
6082 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
6083 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
6084 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
6085 (verilog-submit-bug-report): Update variable list to be complete.
6086 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
6087 breaking on-the-fly font-locking.
6088 (verilog-colorize-buffer, verilog-colorize-include-files)
6089 (verilog-colorize-include-files-buffer, verilog-colorize-region)
6090 (verilog-load-file-at-mouse, verilog-load-file-at-point)
6091 (verilog-mode, verilog-read-inst-module-matcher): With point on a
6092 AUTOINST cell instance name, middle mouse button now finds-file on
6093 it. Suggested by Brad Dobbie.
6094 (verilog-alw-get-temps, verilog-auto-reset)
6095 (verilog-auto-sense-sigs, verilog-read-always-signals)
6096 (verilog-read-always-signals-recurse): Fix loop indexes being
6097 AUTORESET. AUTORESET now assumes any variables in the
6098 initialization section of a for() should be ignored.
6099 Reported by Dan Dever.
6100 (verilog-error-font-lock-keywords)
6101 (verilog-error-regexp-emacs-alist)
6102 (verilog-error-regexp-xemacs-alist): Fix error detection of
6103 Cadence HAL, reported by David Asher. Repair drift between the
6104 three similar error variables.
6105 (verilog-modi-lookup, verilog-modi-lookup-cache)
6106 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
6107 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
6108 Fix slow verilog-auto expansion on very large files.
6109 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
6110 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
6111 "{1*2{...". Broke in last revision.
6112 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
6113 submodule connections with replications "{#{a},#{b}}".
6115 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
6117 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
6118 Fix typo in docstring.
6120 2010-10-24 Kenichi Handa <handa@m17n.org>
6122 * face-remap.el (text-scale-adjust): Call read-event with a proper
6125 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6127 * emacs-lisp/unsafep.el: Don't mark functions that display
6128 messages as safe. Suggested by Johan Bockgård.
6130 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6132 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
6133 Turn comments into docstrings.
6135 * minibuffer.el (completion--replace): Move point where it belongs
6136 when there's a common suffix (bug#7215).
6138 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6140 Merge read-color and facemenu-read-color (Bug#7242).
6142 * faces.el (read-color): Use the completion code from
6143 facemenu-read-color. Require match in completion. Doc fix.
6145 * facemenu.el (facemenu-read-color): Alias for read-color.
6146 (facemenu-set-foreground, facemenu-set-background):
6149 * frame.el (set-background-color, set-foreground-color)
6150 (set-cursor-color, set-mouse-color, set-border-color):
6153 2010-10-24 Leo <sdl.web@gmail.com>
6155 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
6156 argument of delete-file and delete-directory (Bug#7011).
6158 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6160 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
6163 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
6165 * emacs-lisp/package.el (package--generate-package-list): Make the
6166 *Packages* buffer read-only.
6168 2010-10-24 Alan Mackenzie <acm@muc.de>
6170 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
6171 result of `c-beginning-of-decl-1' between invocations of a lambda
6172 function (Bug #7265).
6174 2010-10-24 Daiki Ueno <ueno@unixuser.org>
6176 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
6177 executable is not available on the system (Bug#7268).
6179 2010-10-24 Glenn Morris <rgm@gnu.org>
6181 * select.el (selection-coding-system, next-selection-coding-system):
6182 Sync doc with C versions.
6184 * w32-vars.el (x-select-enable-clipboard):
6185 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
6186 * term/common-win.el (x-select-enable-clipboard): Move here.
6188 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
6189 definition of C variable.
6191 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
6192 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
6193 Don't redefine things that are defined in C.
6194 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
6195 (show-trailing-whitespace, auto-hscroll-mode)
6196 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
6197 Set up the appropriate custom properties.
6199 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6202 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
6203 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
6204 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
6205 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
6207 2010-10-23 Glenn Morris <rgm@gnu.org>
6209 * textmodes/flyspell.el (flyspell-mode): If there was an error,
6212 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
6213 Sync docs with C version.
6215 * term/ns-win.el (xw-defined-colors):
6216 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
6218 * term/pc-win.el (x-select-enable-clipboard):
6219 * term/x-win.el (x-select-enable-clipboard):
6220 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
6222 * comint.el (comint-password-prompt-regexp): Make it less vague.
6225 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
6227 * help.el (finder-by-keyword): Remove unnecessary autoload.
6229 2010-10-22 Glenn Morris <rgm@gnu.org>
6231 * loadup.el: Unconditionally load float-sup.
6232 * paren.el (show-paren-delay):
6233 * emacs-lisp/float-sup.el:
6234 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
6235 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
6236 (lazy-lock-stealth-verbose): Assume float support.
6237 * ps-print.el: Assume float support on Emacs.
6238 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
6239 Remove non-float branch.
6241 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
6242 src/Makefile no longer being pre-processed.
6244 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6246 * emacs-lisp/find-func.el (find-library): Use test-completion.
6248 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6250 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
6252 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
6254 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
6255 space in stat format string.
6256 (tramp-send-command): Unset $PS1 when using here documents, in
6257 order not to get several prompts.
6258 (tramp-get-inline-coding): Return `nil' in case of errors.
6260 2010-10-21 Daiki Ueno <ueno@unixuser.org>
6262 * hexl.el (hexl-mode, hexl-mode-exit):
6263 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
6264 (hexl-revert-buffer-function): New function.
6265 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
6267 2010-10-19 Alan Mackenzie <acm@muc.de>
6269 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
6270 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
6271 that these keywords aren't wrongly matched as identifiers.
6273 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
6274 setting of c-new-BEG and c-new-END from c-before-change to
6275 c-after-change. (Bug#7181)
6277 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
6279 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
6282 * custom.el (custom-theme-set-variables): Likewise.
6283 (load-theme): Add custom-theme-set-faces and
6284 custom-theme-set-variables to safe-functions while loading.
6285 (custom-enabled-themes): Mark as risky.
6287 2010-10-18 Julien Danjou <julien@danjou.info>
6289 * bindings.el: Remove end dashes in default mode-line-format.
6291 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
6293 * bindings.el (global-map): Bind C-d to delete-char and deletechar
6294 to delete-forward-char.
6296 * simple.el (normal-erase-is-backspace-mode): Remap delete to
6297 deletechar, and hence delete-forward-char.
6299 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6301 * repeat.el (repeat): Use read-key (bug#6256).
6303 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
6305 * emacs-lisp/unsafep.el: Don't mark functions that display
6306 messages as safe. Suggested by Johan Bockgård.
6308 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6310 * minibuffer.el (completion--replace): Move point where it belongs
6311 when there's a common suffix (bug#7215).
6313 2010-10-19 Kenichi Handa <handa@m17n.org>
6315 * international/characters.el: Add category '|' (word breakable)
6316 to fullwidth characters.
6318 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
6320 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
6321 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
6322 order to make stat results a float. Patch by Andreas Schwab
6323 <schwab@linux-m68k.org>.
6325 2010-10-18 Julien Danjou <julien@danjou.info>
6327 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
6328 hidden by `make-pointer-invisible'.
6330 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6332 * files.el (locate-file-completion-table): Strip non-matching elements
6333 before checking length of list (bug#7238).
6335 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
6337 * custom.el (custom-theme-set-variables): Mark as a safe function.
6338 (load-theme): Check forms using unsafep.
6340 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
6342 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
6344 * textmodes/ispell.el (ispell-aspell-find-dictionary):
6345 Fix aspell data file searching (bug#7230).
6347 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6349 * cus-theme.el (custom-theme--migrate-settings): New var.
6350 (customize-create-theme): Allow editing the `user' theme.
6351 (custom-theme-add-variable, custom-theme-add-var-1)
6352 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
6353 to the front of each variable or face widget.
6354 (custom-theme-write): Save theme settings in the correct order.
6355 Optionally, remove saved settings from user customizations.
6356 (custom-theme-write-variables, custom-theme-write-faces):
6357 Save only the checked widgets.
6358 (customize-themes): Add a link for migrating custom settings.
6360 * custom.el (custom-declare-theme, provide-theme):
6361 Use custom-theme-name-valid-p.
6362 (custom-theme-name-valid-p): Remove checks that are now
6363 unnecessary since themes no longer obey load-path.
6365 * cus-edit.el (custom-variable-value-create): For the simple
6366 style, hide documentation string when hidden.
6368 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6370 * cus-edit.el (custom-variable, custom-face): Combine the
6371 :inhibit-magic and :display-style properties into a single
6372 :custom-style property.
6373 (custom-toggle-hide-variable, custom-toggle-hide-face):
6374 New functions. If hiding an edited value, save it to :shown-value.
6375 (custom-variable-value-create, custom-face-value-create): Use them.
6376 (custom-magic-reset): Allow magic property to be unset.
6378 * custom.el: Custom themes no longer use load-path.
6379 (custom-theme-load-path): New option. Change built-in theme
6381 (custom-enabled-themes): Add custom-theme-load-path dependency.
6382 (custom-theme--load-path): New function.
6383 (load-theme, custom-available-themes): Use it.
6385 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
6386 (customize-themes): Link to custom-theme-load-path variable.
6387 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
6388 :custom-style property.
6390 * themes/*.el: Moved to etc/.
6392 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
6394 * textmodes/reftex-cite.el
6395 (reftex-extract-bib-entries-from-thebibliography): Do not move
6396 point when searching for \bibitem entries. Match entries with
6397 spaces or tabs in front of arguments.
6399 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6401 * cus-theme.el (customize-create-theme): Delete overlays after
6402 erasing. If given a THEME arg, display only the faces of that arg
6403 instead of custom-theme--listed-faces.
6404 (custom-theme-variable-menu, custom-theme-variable-action)
6405 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
6406 (custom-theme-add-variable, custom-theme-add-face): Apply value
6407 from the theme settings, instead of the current value.
6408 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
6409 (custom-theme-visit-theme): Allow calling outside theme buffers.
6410 (custom-theme-merge-theme): Don't enable the theme when merging.
6411 (custom-theme-write-variables, custom-theme-write-faces): Use the
6412 :shown-value properties to save buffer values, not global ones.
6413 (customize-themes): Display a warning about user customizations.
6415 * cus-edit.el (custom-variable-value-create)
6416 (custom-face-value-create): Obey new special properties
6417 :shown-value and :inhibit-magic.
6419 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
6421 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6422 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
6425 2010-10-14 Kenichi Handa <handa@m17n.org>
6427 * mail/rmail.el (rmail-show-message-1): Catch an error of
6428 base64-decode-region and just show an error message (bug#7165).
6430 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
6431 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
6432 a font-spec (bug#7197).
6434 2010-10-14 Glenn Morris <rgm@gnu.org>
6436 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
6438 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
6440 * international/mule.el (define-coding-system):
6441 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
6442 * composite.el (compose-region): Fix typo in docstring.
6444 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
6446 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
6447 only after checking the theme-face property.
6449 * faces.el (face-spec-reset-face): Reset all attributes in one
6450 single call to set-face-attribute.
6451 (face-spec-match-p): Make it a defsubst.
6452 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
6453 (x-create-frame-with-faces, tty-create-frame-with-faces)
6454 (tty-set-up-initial-frame-faces): Don't recompute face specs in
6455 frame-set-background-mode, since they are recomputed immediately
6456 afterwards in face-set-after-frame-default.
6457 (face-set-after-frame-default): Minor optimization.
6458 (cursor): Provide non-trivial defface spec.
6460 * custom.el (custom-theme-recalc-face): Simplify.
6462 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
6464 * calc/calc-alg.el (math-var): Rename from `var'.
6465 (math-is-polynomial, math-is-poly-rec): Replace `var'
6468 * calc/calcalg2.el (math-var): Rename from `var'.
6469 (calcFunc-table, math-scan-for-limits): Replace `var'
6472 2010-10-13 Glenn Morris <rgm@gnu.org>
6474 * subr.el (last): Deal with dotted lists (reported in bug#7174).
6476 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
6478 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
6480 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6482 * net/tls.el (tls-program): Remove spurious %s from openssl.
6483 (tls-starttls-switches): Remove starttls hack.
6484 (open-tls-stream): Ditto.
6485 (tls-find-starttls-argument): Ditto.
6487 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
6489 * image.el (image-library-alist): Declare as obsolete alias.
6490 (image-type-available-p): Use `dynamic-library-alist'.
6492 * term/w32-win.el (dynamic-library-alist):
6493 Use instead of `image-library-alist'.
6495 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
6497 * subr.el (last): Make it faster. (Bug#7174)
6499 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
6501 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
6503 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6505 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
6506 (describe-theme-1): Extract doc from unloaded themes.
6508 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
6510 * themes/tango-theme.el:
6511 * themes/tango-dark-theme.el:
6512 * themes/wheatgrass-theme.el: New files.
6514 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6516 * cus-theme.el (describe-theme, customize-themes)
6517 (custom-theme-save): New commands.
6518 (custom-new-theme-mode-map): Bind C-x C-s.
6519 (custom-new-theme-mode): Use custom--initialize-widget-variables.
6520 (customize-create-theme): New optional arg THEME.
6521 (custom-theme-revert): Use it.
6522 (custom-theme-visit-theme): Remove dead code.
6523 (custom-theme-merge-theme): Use custom-available-themes.
6524 (custom-theme-write): Make interactive.
6525 (custom-theme-write): Use custom-theme-name-valid-p.
6526 (describe-theme-1, custom-theme-choose-revert)
6527 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
6529 (custom-theme-allow-multiple-selections): New option.
6530 (custom-theme-choose-mode): New major mode.
6532 * custom.el (custom-theme-set-variables): Remove dead code.
6533 Obey custom--inhibit-theme-enable.
6534 (custom--inhibit-theme-enable): New var.
6535 (provide-theme): Obey it.
6536 (load-theme): Replace load with manual read/eval, in order to
6537 check for correctness. Use custom-theme-name-valid-p.
6538 (custom-theme-name-valid-p): New function.
6539 (custom-available-themes): Use it.
6541 * cus-edit.el (custom--initialize-widget-variables): New function.
6542 (Custom-mode): Use it.
6544 * cus-face.el (custom-theme-set-faces): Remove dead code.
6545 Obey custom--inhibit-theme-enable.
6547 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
6549 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
6551 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
6553 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
6555 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
6556 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
6557 (mac-right-option-modifier): New alias for ns-right-option-modifier.
6559 * cus-start.el (all): ns-right-alternate-modifier is new.
6561 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6563 * emacs-lisp/lisp.el (lisp-completion-at-point):
6564 Use emacs-lisp-mode-syntax-table for the whole function.
6566 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
6568 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
6569 instead of font-lock-mode before adding keywords.
6570 Remove hi-lock-mode off code. Remove inhibit hack.
6571 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
6572 non-nil; removed hook inhibit hack.
6574 2010-10-12 Glenn Morris <rgm@gnu.org>
6576 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
6577 (load-path-shadows-find): ... to this.
6578 (list-load-path-shadows): Update for above change.
6580 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
6582 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
6584 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
6585 Fix comment for declare-function.
6587 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
6589 * custom.el (custom-fix-face-spec): New function; code moved from
6590 custom-face-edit-fix-value.
6591 (custom-push-theme): Use it when checking if a face has been
6592 changed outside customize.
6593 (custom-available-themes): New function.
6594 (load-theme): Use it.
6596 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
6598 * custom.el (custom-push-theme): Cleanup (use cond).
6599 (disable-theme): Recompute the saved-face property.
6600 (custom-theme-recalc-face): Follow face alias before setting prop.
6602 * image.el (image-checkbox-checked, image-checkbox-unchecked):
6603 New variables, containing checkbox images.
6605 * startup.el (fancy-startup-tail):
6606 * wid-edit.el (checkbox): Use them.
6608 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
6610 * shell.el (shell-mode-map):
6611 * progmodes/modula2.el (m2-mode-map):
6612 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
6613 * play/mpuz.el (mpuz-mode-map):
6614 * play/landmark.el (lm-mode-map):
6615 * play/decipher.el (decipher-mode-map):
6616 * play/5x5.el (5x5-mode-map):
6617 * net/telnet.el (telnet-mode-map):
6618 * net/quickurl.el (quickurl-list-mode-map):
6619 * net/mairix.el (mairix-searches-mode-map):
6620 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
6621 * net/dig.el (dig-mode-map):
6622 * mail/mspools.el (mspools-mode-map):
6623 * hexl.el (hexl-mode-map):
6624 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
6625 (wordstar-C-o-map, wordstar-C-q-map):
6626 * emacs-lisp/edebug.el (edebug-eval-mode-map):
6627 * emacs-lisp/chart.el (chart-map):
6628 * edmacro.el (edmacro-mode-map):
6629 * erc/erc-list.el (erc-list-menu-mode-map):
6630 * array.el (array-mode-map): Declare and define in one step.
6632 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
6634 2010-10-10 Daiki Ueno <ueno@unixuser.org>
6636 * epa.el (epa-passphrase-callback-function): Display filename
6637 passed as the 3rd arg.
6638 * epa-file.el (epa-file-passphrase-callback-function):
6639 Pass filename to epa-passphrase-callback-function.
6641 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
6643 * cus-edit.el (custom-face-widget-to-spec)
6644 (custom-face-get-current-spec, custom-face-state): New functions.
6645 (custom-face-set, custom-face-mark-to-save)
6646 (custom-face-value-create, custom-face-state-set): Use them.
6648 * cus-theme.el (custom-theme--listed-faces): New var.
6649 (customize-create-theme): Use *Custom Theme* as the buffer name.
6650 Set revert-buffer-function. Optional arg BUFFER. Insert all
6651 faces listed in custom-theme--listed-faces.
6652 (custom-theme-revert): New function.
6653 (custom-theme-add-variable, custom-theme-add-face): Insert at the
6655 (custom-theme-write): Prompt for theme name if empty.
6656 (custom-theme-write-variables): Use dolist.
6657 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
6659 2010-10-09 Alan Mackenzie <acm@muc.de>
6661 Enhance fontification of declarators to take account of the
6662 presence/absence of "typedef".
6664 * cc-engine.el (c-forward-type): New &optional param
6666 (c-forward-decl-or-cast-1): cdr of return value now indicates the
6667 presence of either or both of a "struct"-like keyword and "typedef".
6669 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
6670 fontification of declarators which follow a "}".
6671 (c-font-lock-declarations): Fontify declarators according to the
6672 presence/absence of "typedef".
6674 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
6676 (c-typedef-decl-key): New lang variable built from
6677 c-typedef-decl-kwds.
6679 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
6681 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
6682 since that's too annoying. Move the filter groups commands to
6685 * epa.el (epa-passphrase-callback-function): Say what we're
6686 querying the password for.
6688 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
6689 behaviour, don't bury the ibuffer buffer when visiting other buffers.
6691 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6693 * cus-edit.el (custom-commands, custom-buffer-create-internal)
6694 (custom-magic-value-create): Pad button tags with spaces.
6695 (custom-face-edit): New variable.
6696 (custom-face-value-create): Determine whether to use the usual
6697 face editor here, instead of using custom-face-selected.
6698 Pass face defaults to custom-face-edit widget.
6699 (custom-face-selected, custom-display-unselected): Delete widgets.
6700 (custom-display-unselected-match): Function removed.
6701 (custom-face-set, custom-face-mark-to-save):
6702 Accept custom-face-edit widgets as the direct widget child.
6704 * wid-edit.el (widget--completing-widget): New var.
6705 (widget-default-complete): Bind it when doing completion.
6706 (widget-string-complete, widget-file-complete): Use it.
6708 2010-10-09 Glenn Morris <rgm@gnu.org>
6710 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
6711 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
6712 (holiday-hebrew-misc): Small simplifications.
6714 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
6716 * net/browse-url.el: Don't require thingatpt, term, dired,
6717 executable, or w3-auto when compiling.
6718 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
6720 (browse-url-text-emacs): Require term.
6722 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
6724 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
6726 2010-10-08 Glenn Morris <rgm@gnu.org>
6728 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
6730 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
6731 (shadows-compare-text-p): Make it an obsolete alias for...
6732 (load-path-shadows-compare-text): ... new name.
6733 (find-emacs-lisp-shadows): Update for above name change.
6734 (load-path-shadows-same-file-or-nonexistent): New name for the old
6735 shadow-same-file-or-nonexistent.
6737 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6739 * minibuffer.el (completion--some, completion--do-completion)
6740 (minibuffer-complete-and-exit, minibuffer-completion-help)
6741 (completion-basic-try-completion)
6742 (completion-basic-all-completions)
6743 (completion-pcm--find-all-completions): Use lexical-let to
6744 avoid some false matches in variable completion (Bug#7056)
6746 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
6748 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
6750 2010-10-08 Leo <sdl.web@gmail.com>
6752 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
6753 return non-nil if the file exists (Bug#7090).
6755 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6757 * minibuffer.el (completion--replace):
6758 Better preserve markers (bug#7138).
6760 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
6762 * server.el (server-process-filter): Doc fix.
6764 2010-10-08 Drew Adams <drew.adams@oracle.com>
6766 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
6768 2010-10-08 Glenn Morris <rgm@gnu.org>
6770 * vc/ediff-wind.el (ediff-setup-control-frame):
6771 * vc/ediff-ptch.el (ediff-default-backup-extension):
6772 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
6773 (ediff-exec-process): Remove system-types emx, windows-95.
6775 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
6777 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
6779 * cus-edit.el (custom-variable, custom-face): Doc fix.
6780 (custom-face-edit): Add value-create attribute.
6781 (custom-face-edit-value-create)
6782 (custom-face-edit-value-visibility-action): New functions.
6783 Hide unused face attributes by default, and add a visibility toggle.
6784 (custom-face-edit-deactivate): Show empty values with shadow face.
6785 (custom-face-selected): Only use this for face specs with default
6787 (custom-face-value-create): Cleanup.
6789 * wid-edit.el (widget-checklist-value-create): Use dolist.
6790 (widget-checklist-match-find): Make second arg optional.
6792 2010-10-07 Glenn Morris <rgm@gnu.org>
6794 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
6797 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
6798 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
6799 load-path-shadows-mode, update references.
6800 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
6801 Rename variable and button.
6802 (list-load-path-shadows): Update button caller.
6804 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6806 * emacs-lisp/smie.el (smie-bnf-classify): New function.
6807 (smie-bnf-precedence-table): Use it to remember the closers/openers.
6808 (smie-merge-prec2s): Handle those new entries.
6809 (smie-prec2-levels): Only set precedence to nil for actual
6811 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
6812 that is now unnecessary.
6814 2010-10-07 Miles Bader <miles@gnu.org>
6816 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
6818 2010-10-07 Glenn Morris <rgm@gnu.org>
6820 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6821 (mail-position-on-field): Remove declarations.
6822 (mail-position-on-field): Autoload it.
6823 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6824 and mail-header-end. Don't require sendmail.
6826 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6827 (shadow-mode): New mode.
6828 (shadow-find-file): New button.
6829 (list-load-path-shadows): Use shadow-mode and buttons.
6831 * iimage.el (iimage-version): Remove.
6832 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6833 Turn into defcustoms.
6834 (iimage-mode-map): Give it a doc string.
6836 * calendar/appt.el (appt-activate): Give a warning rather than an error
6837 if there is no diary-file.
6839 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
6841 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6842 Use `tramp-handle-find-backup-file-name'.
6844 2010-10-06 Glenn Morris <rgm@gnu.org>
6846 * font-core.el (font-lock-defaults-alist): Remove variable.
6847 (font-lock-mode): Doc fix.
6848 (font-lock-default-function): Do not consult font-lock-defaults-alist.
6849 * font-lock.el (font-lock-refresh-defaults): Doc fix.
6850 (font-lock-set-defaults): Doc fix.
6851 Do not consult font-lock-defaults-alist.
6853 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6855 * emacs-lisp/cl.el: No longer provide cl-19.
6857 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
6859 * net/tramp.el (tramp-handle-directory-files-and-attributes)
6860 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6861 New defuns, taken from tramp-smb.el.
6862 (tramp-coding-system-change-eol-conversion)
6863 (tramp-set-process-query-on-exit-flag): Remove.
6865 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6866 (tramp-compat-coding-system-change-eol-conversion)
6867 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6870 * net/tramp-gvfs.el:
6871 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6872 by `tramp-compat-set-process-query-on-exit-flag'.
6874 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6875 Use `tramp-handle-directory-files-and-attributes',
6876 `tramp-handle-file-exists-p' and
6877 `tramp-handle-file-newer-than-file-p'.
6878 (tramp-imap-handle-file-exists-p)
6879 (tramp-imap-handle-file-executable-p)
6880 (tramp-imap-handle-file-readable-p)
6881 (tramp-imap-handle-directory-files-and-attributes)
6882 (tramp-imap-handle-file-newer-than-file-p): Remove.
6884 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6885 by `tramp-compat-set-process-query-on-exit-flag' and
6886 `tramp-coding-system-change-eol-conversion' by
6887 `tramp-compat-coding-system-change-eol-conversion'.
6889 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6890 Use `tramp-handle-directory-files-and-attributes',
6891 `tramp-handle-file-exists-p' and
6892 `tramp-handle-file-newer-than-file-p'.
6893 (tramp-smb-handle-directory-files-and-attributes)
6894 (tramp-smb-handle-file-exists-p)
6895 (tramp-smb-handle-file-newer-than-file-p): Remove.
6896 (tramp-smb-maybe-open-connection):
6897 Replace `tramp-set-process-query-on-exit-flag' by
6898 `tramp-compat-set-process-query-on-exit-flag'.
6900 2010-10-05 Glenn Morris <rgm@gnu.org>
6902 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6904 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
6906 Continue reorganization of load dependencies. (Bug#7156)
6908 * net/tramp.el (tramp-handle-file-local-copy-hook)
6909 (tramp-delete-temp-file-function): Move down.
6910 (tramp-exists-file-name-handler): Move up.
6911 (tramp-register-file-name-handlers): Simplify autoload.
6912 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6913 (tramp-handle-directory-files, tramp-handle-dired-uncache)
6914 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6915 (tramp-handle-file-name-completion)
6916 (tramp-handle-file-name-directory)
6917 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6918 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6919 (tramp-handle-find-backup-file-name)
6920 (tramp-handle-insert-file-contents, tramp-handle-load)
6921 (tramp-handle-substitute-in-file-name)
6922 (tramp-handle-unhandled-file-name-directory)
6923 (tramp-mode-string-to-int, tramp-local-host-p)
6924 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6926 * net/tramp-gvfs.el (top):
6927 * net/tramp-smb.el (top): Do not require 'tramp-sh.
6929 * net/tramp-sh.el (all): Move several objects to tramp.el, see
6930 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6932 2010-10-04 Glenn Morris <rgm@gnu.org>
6934 * calendar/appt.el (appt-add): Ensure reminders are enabled.
6935 (appt-activate): Give status messages.
6937 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6939 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
6940 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6941 `gnutls-negotiate' (formerly `starttls-negotiate').
6942 Remove trivial wrapper `starttls-open-stream'.
6944 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
6946 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6947 log-outgoing commands.
6948 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6949 to create a buffer local revert-buffer-function variable.
6950 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6951 revert-buffer-function lambda.
6953 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6955 * net/gnutls.el (starttls-negotiate): Use the plist interface to
6956 `gnutls-boot'. Make TYPE the only required parameter.
6957 Allow TRUSTFILES and KEYFILES to be lists.
6958 (open-ssl-stream): Use it.
6960 2010-10-03 Glenn Morris <rgm@gnu.org>
6962 * subr.el (directory-sep-char): Remove obsolete variable.
6963 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6966 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6967 * vc/vc.el (vc-static-header-alist): Doc fix.
6968 * vc/vc-cvs.el (vc-cvs-header):
6969 * vc/vc-rcs.el (vc-rcs-header):
6970 * vc/vc-sccs.el (vc-sccs-header):
6971 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6972 * obsolete/vc-mcvs.el (vc-mcvs-header):
6973 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6976 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6978 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6979 Remove obsolete use of binary-overwrite-mode (Bug#7001).
6981 2010-10-03 Glenn Morris <rgm@gnu.org>
6983 * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6985 * textmodes/rst.el (rst-font-lock-keywords-function):
6988 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6990 * printing.el: Drop Emacs 20 code.
6992 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6993 without having used appt.el already).
6995 * subr.el (make-local-hook): Remove function obsolete since 21.1.
6996 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6997 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6999 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
7000 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
7002 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
7003 (charset-width, find-charset-region, chars-in-region, forward-point)
7004 (encode-coding-string, coding-system-p, ccl-execute-on-string)
7005 (define-ccl-program, multibyte-string-p, string-make-multibyte):
7006 Remove compatibility cruft (none of these are used by ps*.el).
7008 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
7010 * subr.el (booleanp): Return t instead of a list (Bug#7086).
7012 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
7014 * server.el (server-process-filter, server-return-error):
7015 Give emacsclient time to shut down after receiving an error string.
7017 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
7019 * files.el (remote-file-name-inhibit-cache): New defcustom.
7021 * time.el (display-time-file-nonempty-p):
7022 Use `remote-file-name-inhibit-cache'.
7024 * net/tramp.el (tramp-completion-reread-directory-timeout):
7027 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
7028 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
7029 `remote-file-name-inhibit-cache'. Check also for an integer
7030 value. Add/increase counter when `tramp-verbose' >= 10.
7031 (tramp-set-file-property): Add/increase counter when
7032 `tramp-verbose' >= 10.
7034 * net/tramp-cmds.el (tramp-cleanup-all-connections)
7035 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
7036 (tramp-bug): Set tramp-autoload cookie. Report all interned
7037 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
7038 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
7039 characters only in strings.
7041 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
7042 to backward compatibility.
7044 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
7045 (tramp-handle-file-name-all-completions)
7046 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
7047 (tramp-open-connection-setup-interactive-shell):
7048 Call `tramp-cleanup-connection' directly.
7050 2010-10-02 Glenn Morris <rgm@gnu.org>
7052 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
7054 * subr.el (char-bytes): Remove obsolete function.
7056 * isearch.el (isearch-return-char): Remove obsolete function.
7058 * mouse.el: No longer provide mldrag.
7059 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
7060 Remove obsolete aliases.
7062 * comint.el (comint-kill-output): Remove obsolete alias.
7064 * composite.el (decompose-composite-char): Remove obsolete function.
7065 * ps-def.el (decompose-composite-char): Remove unused function.
7067 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
7069 * outline.el (outline-visible): Remove obsolete function.
7071 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
7072 * faces.el (internal-find-face, internal-get-face)
7073 (frame-update-faces, frame-update-face-colors)
7074 (x-frob-font-weight, x-frob-font-slant)
7075 (internal-frob-font-weight, internal-frob-font-slant)
7076 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
7077 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
7078 (x-make-font-bold-italic): Remove functions and aliases, obsolete
7080 * emulation/viper-util.el (viper-get-face):
7081 * obsolete/lucid.el (find-face, get-face): Use facep.
7082 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
7083 Remove unused functions.
7084 * vc/ediff-util.el (ediff-submit-report): Doc fix.
7086 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
7087 delete tempfile if interrupted during compilation.
7089 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7091 * net/tls.el (tls-starttls-switches): Give up on using starttls with
7093 (tls-program): Add --insecure to be consistent with the defaults from
7094 openssl s_client. Now all three commands are insecure.
7096 2010-10-01 Eli Zaretskii <eliz@gnu.org>
7098 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
7099 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
7100 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
7102 2010-10-01 Glenn Morris <rgm@gnu.org>
7104 * obsolete/sc.el: Remove file.
7106 * files.el (temporary-file-directory): On darwin, also try
7107 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
7109 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
7111 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
7112 Let's not break compatibility gratuitously, shall we?
7114 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7116 * net/tls.el (tls-starttls-switches): New variable.
7117 (tls-find-starttls-argument): Use it.
7118 (open-tls-stream): Ditto.
7120 * net/netrc.el (netrc-credentials): Return the value of the "default"
7122 (netrc-machine): Ditto.
7124 2010-09-30 Eli Zaretskii <eliz@gnu.org>
7126 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
7128 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
7130 * server.el (server-start): Don't write pid to the authentication file.
7131 (server-create-tty-frame): Don't send pid.
7132 (server-process-filter): Send pid at the start of every connection.
7134 2010-09-30 Glenn Morris <rgm@gnu.org>
7136 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
7137 (show-all-diary-entries): Remove obsolete function aliases.
7139 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
7140 Remove options, obsolete since 22.1.
7141 (appt-display-format, appt-display-message):
7142 Remove backwards-compatibility code.
7143 (appt-check): No longer check appt-issue-message.
7144 (appt-make-list): No longer autoload it. Doc fix. No longer
7145 activate the package.
7147 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7149 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
7150 (starttls-negotiate): Just call boot, and let the handshake be
7151 triggered from the read loop.
7153 2010-09-29 Glenn Morris <rgm@gnu.org>
7155 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
7156 not displaying the diary.
7157 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
7158 * calendar/appt.el (appt-check): No longer need to kill diary.
7160 * calendar/diary-lib.el (diary-list-entries): Move the
7161 "Preparing..." message entirely here.
7162 (diary-simple-display, diary-fancy-display): Move "Preparing..."
7163 messages to diary-list-entries.
7164 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
7165 diary-display-function.
7167 * calendar/diary-lib.el (diary-include-other-diary-files):
7168 Trap some recursive includes.
7170 * calendar/appt.el (appt-activate): Check diary file.
7172 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
7174 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
7177 * calendar/time-date.el: No need to require cl for Emacs 21.
7179 2010-09-28 Glenn Morris <rgm@gnu.org>
7181 * calendar/appt.el (appt-check): Minor simplification.
7183 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
7185 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
7188 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
7190 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7191 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
7193 2010-09-27 Kenichi Handa <handa@m17n.org>
7195 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
7198 2010-09-27 Kenichi Handa <handa@m17n.org>
7200 * international/mule.el (define-coding-system): Docstring fixed.
7202 * international/mule-diag.el (describe-character-set): Use princ
7203 with proper print-length and print-level instead of insert.
7205 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
7207 * window.el (walk-windows): Doc fix (bug#7105).
7209 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7211 * emacs-lisp/float-sup.el (e): Remove.
7213 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
7215 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
7217 (starttls-negotiate): Use it.
7219 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7221 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
7224 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
7226 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
7228 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7230 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
7232 * net/netrc.el (netrc-store-data): New function.
7234 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
7236 * net/gnutls.el: GnuTLS glue code to set up a connection.
7238 2010-09-25 Julien Danjou <julien@danjou.info>
7240 * notifications.el: Call dbus-register-signal only if it is bound.
7242 2010-09-25 Glenn Morris <rgm@gnu.org>
7244 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7245 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
7246 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
7247 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
7248 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
7249 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
7250 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
7251 * eshell/esh-util.el, eshell/esh-var.el:
7252 Remove leading `*' from docs of faces and defcustoms.
7254 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
7256 * eshell/em-ls.el (eshell-ls-archive-regexp):
7257 * eshell/esh-util.el (eshell-tar-regexp):
7258 * ibuffer.el (ibuffer-compressed-file-name-regexp):
7259 * info.el (Info-suffix-list):
7260 * international/mule.el (auto-coding-alist):
7261 * woman.el (woman-file-regexp, woman-file-compression-regexp):
7262 * progmodes/etags.el (tags-compression-info-list):
7263 Support xz compression.
7265 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
7267 * files.el (get-free-disk-space): Don't assume the "df" output
7268 columns line up (Bug#6995).
7270 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
7272 * finder.el (finder-unknown-keywords):
7273 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
7274 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
7276 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
7278 * server.el (server-start): Revert part of 2010-08-08 change. Using
7279 address 127.0.0.1 for local host is now done in Fmake_network_process.
7281 2010-09-24 Glenn Morris <rgm@gnu.org>
7283 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
7284 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
7285 * textmodes/css-mode.el, textmodes/dns-mode.el:
7286 Move autoloaded auto-mode-alist entries to files.el.
7287 * files.el (auto-mode-alist): Move entries here.
7289 2010-09-23 Glenn Morris <rgm@gnu.org>
7291 * isearch.el (isearch-lazy-highlight-cleanup)
7292 (isearch-lazy-highlight-initial-delay)
7293 (isearch-lazy-highlight-interval)
7294 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
7295 * net/net-utils.el (ipconfig-program-options):
7296 Move aliases to options before the associated definitions.
7298 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7300 * newcomment.el (comment-normalize-vars): Better test validity of
7303 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7305 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
7306 (float-e): New name for `e'.
7307 (degrees-to-radians, radians-to-degrees):
7308 * calendar/solar.el (solar-longitude):
7309 * calculator.el (calculator-registers, calculator-funcall):
7310 * textmodes/artist.el (artist-spray-random-points):
7311 * play/bubbles.el (bubbles--initialize-images): Use new names.
7313 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
7315 Update to CEDET 1.0's version of EIEIO.
7317 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
7319 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
7320 (eieio-default-eval-maybe): Eval val instead of unquoting only.
7321 (class-precedence-list): If class is nil, return nil.
7322 (eieio-generic-call): If class of first input arg is nil, don't
7323 look up static methods, and do check for primary methods.
7324 (initialize-instance): See if the default needs to be evaluated
7325 during the constructor.
7326 (eieio-perform-slot-validation-for-default): Don't do the check
7327 for values that will eventually be evaluated.
7328 (eieio-eval-default-p): New function.
7329 (eieio-default-eval-maybe): Use it.
7331 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
7333 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
7334 method-invocation-order.
7335 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
7336 (eieio-class-precedence-dfs): Compute class precedence list using
7338 (eieio-class-precedence-bfs): Compute class precedence list using
7340 (eieio-class-precedence-c3): Compute class precedence list using
7342 (class-precedence-list): New function.
7343 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
7344 (inconsistent-class-hierarchy): New error symbol.
7345 (call-next-method): Stow the replacement argument list for future
7346 call-next-method invocations.
7348 2010-09-23 Glenn Morris <rgm@gnu.org>
7350 * calendar/appt.el (appt-check): If not displaying the diary,
7351 use (diary 1) to only get the entries we need.
7352 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
7353 that it is in day order. (Bug#7019)
7355 * calendar/appt.el (appt-check): Rather than showing the diary,
7356 just turn off invisible display, and only if needed.
7358 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
7360 2010-09-23 Glenn Morris <rgm@gnu.org>
7362 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7363 (byte-compile-defvar, byte-compile-cl-warn):
7364 Start warnings with lower-case, like the majority.
7366 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
7368 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
7370 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
7371 * files.el (auto-mode-alist): Move ld-script entries here, further down
7374 * vc/add-log.el: Don't require timezone when compiling.
7375 (timezone-make-date-sortable): Autoload it.
7376 (change-log-sortable-date-at): Don't require timezone.
7377 Use `ignore-errors'.
7379 * comint.el (comint-use-prompt-regexp-instead-of-fields):
7380 Move alias before definition, so it does not need autoloading.
7382 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
7383 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
7384 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
7385 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
7386 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
7387 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
7388 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
7389 * textmodes/tex-mode.el, textmodes/two-column.el:
7390 Remove leading `*' from docs of defcustoms etc.
7392 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
7394 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
7396 2010-09-22 Dan Christensen <jdc@uwo.ca>
7398 * calendar/time-date.el (date-to-time): Try using parse-time-string
7399 first before using the slower timezone-make-date-arpa-standard.
7401 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
7403 * calendar/time-date.el (format-seconds): Comment fix.
7405 2010-09-22 Glenn Morris <rgm@gnu.org>
7407 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
7408 is not automatically buffer-local.
7410 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7412 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
7413 (smie-indent-comment): Be more careful with comment-start-skip.
7414 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
7415 (smie-indent-functions): Use them.
7417 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
7419 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
7421 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
7423 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
7424 tool-bar-position. Don't modify frame parameters here.
7425 (menu-bar-options-save): Add tool-bar-position.
7427 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
7429 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7431 * textmodes/reftex-parse.el (reftex-what-macro)
7432 (reftex-context-substring): Let-bind forward-sexp-function to nil
7433 since we don't need/want to treat \begin...\end as a block (bug#7053).
7435 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
7437 * simple.el (blink-matching-open): Use syntax-class.
7439 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
7440 Set invisibility spec for pascal's outline mode.
7441 (pascal-outline-change): Clean up calling convention.
7442 (pascal-show-all, pascal-hide-other-defuns): Update callers.
7444 * progmodes/prolog.el (prolog-smie-forward-token)
7445 (prolog-smie-backward-token): New functions.
7446 (prolog-mode-variables): Use them to parse "!," correctly.
7447 Set up smie-blink-matching for ".".
7449 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
7451 (ispell-region, ispell-process-line): Update users.
7453 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
7456 * textmodes/ispell.el: Fix commenting convention.
7457 (ispell-parse-output): Simplify, use push.
7458 (ispell-region): Use match-string-no-properties.
7459 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
7460 (ispell-minor-mode): Use define-minor-mode.
7461 (ispell-message): Remove unused var `skip-regexp'.
7462 (ispell-add-per-file-word-list): Use dynamic let-binding.
7463 Try and use the proper comment marker.
7465 * mail/sendmail.el: Fix commenting convention.
7466 (sendmail-send-it): Use line-beginning-position.
7468 * help-fns.el (describe-variable): Add original value, if applicable.
7470 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
7472 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
7474 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
7476 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7478 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
7479 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
7480 (smie-prec2-levels): Use them to better diagnose precedence cycles.
7481 (smie-blink-matching-check): Don't signal a mismatch if car is t.
7482 (smie-blink-matching-open): Rewrite to remove assumptions, so that
7483 something like "." can also be a closer.
7484 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
7485 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
7486 Rename internal functions to use "--". Update callers.
7488 * frame.el (make-frame-names-alist): Don't list frames on other displays.
7490 * fringe.el (fringe-styles): New var.
7491 (fringe-mode, fringe-query-style): Use it.
7493 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
7495 * progmodes/sql.el: Version 2.8
7496 (sql-login-params): Update widget structure; changes still needed.
7497 (sql-product-alist): Add :list-all and :list-table features for
7498 SQLite, Postgres and MySQL products.
7499 (sql-redirect): Handle default value.
7500 (sql-execute, sql-execute-feature): New functions.
7501 (sql-read-table-name): New function.
7502 (sql-list-all, sql-list-table): New functions. User API.
7503 (sql-mode-map, sql-interactive-mode-map): Add key definitions
7504 for above functions.
7505 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
7506 for above functions.
7507 (sql-postgres-login-params): Add user and database defaults.
7508 (sql-buffer-live-p): Bug fix.
7509 (sql-product-history): New variable.
7510 (sql-read-product): New function. Use it.
7511 (sql-set-product, sql-product-interactive): Use it.
7512 (sql-connection-history): New variable.
7513 (sql-read-connection): New function. Use it.
7514 (sql-connect): New function.
7515 (sql-for-each-login): Redesign function interface.
7516 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
7517 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
7518 (sql-comint): Check for program. Existing live buffer.
7519 (sql-comint-postgres): Add port parameter.
7521 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7523 * emacs-lisp/warnings.el: Fix commenting convention.
7524 (display-warning): Use special mode and make the buffer read-only.
7526 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
7528 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
7529 empty string when it follows a repeated or optional pattern.
7531 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7533 * indent.el (indent-according-to-mode): Apply syntax-propertize.
7534 (indent-region): Use indent-according-to-mode.
7536 2010-09-18 Eli Zaretskii <eliz@gnu.org>
7538 * fringe.el (fringe-mode): Doc fix.
7540 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
7542 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
7543 refreshing the preview buffer.
7545 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7547 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
7548 (latex-syntax-propertize-rules): New consts; replace
7549 tex-font-lock-syntactic-keywords.
7550 (tex-env-mark, latex-env-before-change): New functions.
7551 (latex-electric-env-pair-mode): New minor mode.
7552 (tex-font-lock-verb): Change arguments; do move point.
7553 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
7554 representation as a form of comment.
7555 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
7556 (doctex-syntax-propertize-rules): New const; replaces
7557 doctex-font-lock-syntactic-keywords.
7558 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
7560 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
7561 (fortran-make-syntax-propertize-function): New function; replaces
7562 fortran-font-lock-syntactic-keywords.
7563 (fortran-mode): Use it.
7564 (fortran-line-length): Use it. Improve interactive spec.
7566 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
7567 (syntax-propertize-rules): Add var-ref case. Fix offset computation
7568 when adding surrounding \(..\).
7570 * progmodes/js.el (js-mode): Fix last change (bug#7054).
7572 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7574 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
7575 Use with-current-buffer.
7577 * isearch.el (isearch-face): Rename from `isearch'.
7578 (isearch-highlight): Use new name.
7580 2010-09-17 Eli Zaretskii <eliz@gnu.org>
7582 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
7583 5, for `half' width fringes. (Bug#6933)
7585 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7587 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
7588 (byte-compile-defvar): "foo/bar" does not lack a prefix.
7590 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
7592 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
7594 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
7595 in calculating new frame position. Add more space between new and
7596 parent on the left (Bug#7048).
7598 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
7600 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
7603 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
7605 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
7607 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
7608 obsolete alias for x-selection-value.
7610 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
7612 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
7614 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
7617 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
7619 * net/tramp-compat.el (tramp-compat-with-temp-message)
7620 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
7621 (tramp-compat-process-put): New defuns.
7623 * net/tramp.el (top):
7624 * net/tramp-gvfs.el (top):
7625 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
7627 * net/tramp.el (tramp-progress-reporter-update):
7628 Use `tramp-compat-funcall'.
7630 * net/tramp.el (tramp-process-actions):
7631 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7632 * net/tramp-sh.el (tramp-handle-vc-registered)
7633 (tramp-get-remote-stat, tramp-get-remote-readlink):
7634 Use `tramp-compat-with-temp-message'.
7636 * net/tramp-sh.el (top): Require 'cl.
7637 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
7638 (tramp-open-connection-setup-interactive-shell):
7639 Use `tramp-compat-process-put'.
7641 2010-09-15 Alan Mackenzie <acm@muc.de>
7643 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
7645 (c-forward-<>-arglist-recur): Fix an infinite recursion.
7647 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
7649 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
7650 `lexical' for warnings related to lexical scoping.
7651 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
7652 global vars which don't have a prefix and could hence affect lexical
7653 scoping in unrelated files.
7655 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7657 * net/imap.el: Revert back to version
7658 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
7661 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
7663 * obsolete/old-whitespace.el (whitespace-unload-function):
7664 Explicitly pass `obarray' to `unintern' to avoid a warning.
7666 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7668 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
7669 Add `when' argument. Update callers.
7671 * subr.el (unintern): Declare the obarray arg mandatory.
7673 2010-09-14 Glenn Morris <rgm@gnu.org>
7675 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
7678 * calendar/diary-lib.el (diary-included-files): New variable.
7679 (diary-list-entries): Maybe initialize diary-included-files.
7680 (diary-include-other-diary-files): Append to diary-included-files.
7681 * calendar/appt.el (appt-update-list): Also check the members of
7682 diary-included-files. (Bug#6999)
7683 (appt-check): Doc fix.
7685 2010-09-14 David Reitter <david.reitter@gmail.com>
7687 * simple.el (line-move-visual): Do not truncate goal column to
7688 integer size. (Bug#7020)
7690 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7692 * repeat.el (repeat): Allow repeating when the last event is a click.
7693 Suggested by Drew Adams (bug#6256).
7695 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
7697 * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
7698 Replace setting HGRCPATH to "" by some less invasive --config options.
7700 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7702 * font-lock.el (font-lock-beginning-of-syntax-function):
7705 2010-09-14 Glenn Morris <rgm@gnu.org>
7707 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
7708 and tool-bar modes. (Bug#6211)
7709 (menu-bar-mode): Move setting of standard-value after the
7710 minor-mode definition, otherwise it seems to have no effect.
7712 2010-09-14 Masatake YAMATO <yamato@redhat.com>
7714 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
7715 Fix typo. (Bug#6976)
7717 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7719 * whitespace.el: Allow cleaning up blanks without blank
7720 visualization (Bug#6651). Adjust help window for
7721 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7722 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
7723 (whitespace-style): Add new value 'face. Adjust docstring.
7724 (whitespace-space, whitespace-hspace, whitespace-tab):
7725 Adjust foreground property face.
7726 (whitespace-line-column): Adjust docstring and type declaration.
7727 (whitespace-style-value-list, whitespace-toggle-option-alist)
7728 (whitespace-help-text): Adjust const initialization.
7729 (whitespace-toggle-options, global-whitespace-toggle-options):
7731 (whitespace-display-window, whitespace-interactive-char)
7732 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7733 (whitespace-help-scroll): New fun.
7735 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
7737 * calendar/time-date.el (format-seconds): Comment fix.
7739 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
7741 * progmodes/sql.el: Version 2.7.
7742 (sql-buffer-live-p): Improve detection.
7743 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7744 (sql-set-sqli-buffer): Use it.
7745 (sql-product-interactive): Run `sql-set-sqli-hook'.
7746 (sql-rename-buffer): Code cleanup.
7747 (sql-redirect, sql-redirect-value): New functions. More to come.
7749 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
7751 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.
7752 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7753 (TRAMP_SRC): New macro.
7754 ($(lisp)/net/tramp-loaddefs.el): New target.
7756 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
7758 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
7760 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
7762 * net/tramp.el (top): Don't show loading message. Require just
7763 'tramp-compat, everything else is required there.
7764 Use `ignore-errors' where appropriate.
7765 (tramp-inline-compress-start-size, tramp-copy-size-limit)
7766 (tramp-terminal-type, tramp-end-of-output)
7767 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
7768 (tramp-completion-function-alist-ssh)
7769 (tramp-completion-function-alist-telnet)
7770 (tramp-completion-function-alist-su)
7771 (tramp-completion-function-alist-putty, tramp-remote-path)
7772 (tramp-remote-process-environment, tramp-sh-extra-args)
7773 (tramp-actions-before-shell, tramp-uudecode)
7774 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
7775 (tramp-perl-file-attributes)
7776 (tramp-perl-directory-files-and-attributes)
7777 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
7778 (tramp-perl-encode, tramp-perl-decode)
7779 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
7780 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
7781 (tramp-handle-make-symbolic-link, tramp-handle-load)
7782 (tramp-handle-file-name-as-directory)
7783 (tramp-handle-file-name-directory)
7784 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
7785 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
7786 (tramp-do-file-attributes-with-ls)
7787 (tramp-do-file-attributes-with-perl)
7788 (tramp-do-file-attributes-with-stat)
7789 (tramp-handle-set-visited-file-modtime)
7790 (tramp-handle-verify-visited-file-modtime)
7791 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
7792 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
7793 (tramp-handle-file-selinux-context)
7794 (tramp-handle-set-file-selinux-context)
7795 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
7796 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
7797 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
7798 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
7799 (tramp-handle-file-ownership-preserved-p)
7800 (tramp-handle-directory-file-name, tramp-handle-directory-files)
7801 (tramp-handle-directory-files-and-attributes)
7802 (tramp-do-directory-files-and-attributes-with-perl)
7803 (tramp-do-directory-files-and-attributes-with-stat)
7804 (tramp-handle-file-name-all-completions)
7805 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
7806 (tramp-handle-copy-file, tramp-handle-copy-directory)
7807 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
7808 (tramp-do-copy-or-rename-file-via-buffer)
7809 (tramp-do-copy-or-rename-file-directly)
7810 (tramp-do-copy-or-rename-file-out-of-band)
7811 (tramp-handle-make-directory, tramp-handle-delete-directory)
7812 (tramp-handle-delete-file)
7813 (tramp-handle-dired-recursive-delete-directory)
7814 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
7815 (tramp-handle-insert-directory)
7816 (tramp-handle-unhandled-file-name-directory)
7817 (tramp-handle-expand-file-name)
7818 (tramp-handle-substitute-in-file-name)
7819 (tramp-handle-executable-find, tramp-process-sentinel)
7820 (tramp-handle-start-file-process, tramp-handle-process-file)
7821 (tramp-handle-call-process-region, tramp-handle-shell-command)
7822 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7823 (tramp-handle-insert-file-contents)
7824 (tramp-handle-insert-file-contents-literally)
7825 (tramp-handle-find-backup-file-name)
7826 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7827 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7828 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7829 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7830 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7831 (tramp-find-file-exists-command, tramp-open-shell)
7832 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7833 (tramp-open-connection-setup-interactive-shell)
7834 (tramp-local-coding-commands, tramp-remote-coding-commands)
7835 (tramp-find-inline-encoding, tramp-call-local-coding-command)
7836 (tramp-inline-compress-commands, tramp-find-inline-compress)
7837 (tramp-compute-multi-hops, tramp-maybe-open-connection)
7838 (tramp-send-command, tramp-wait-for-output)
7839 (tramp-send-command-and-check, tramp-barf-unless-okay)
7840 (tramp-send-command-and-read, tramp-mode-string-to-int)
7841 (tramp-convert-file-attributes, tramp-check-cached-permissions)
7842 (tramp-file-mode-from-int, tramp-file-mode-permissions)
7843 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7844 (tramp-method-out-of-band-p, tramp-local-host-p)
7845 (tramp-get-remote-path, tramp-get-remote-tmpdir)
7846 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7847 (tramp-get-test-command, tramp-get-test-nt-command)
7848 (tramp-get-file-exists-command, tramp-get-remote-ln)
7849 (tramp-get-remote-perl, tramp-get-remote-stat)
7850 (tramp-get-remote-readlink, tramp-get-remote-trash)
7851 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7852 (tramp-get-local-uid, tramp-get-local-gid)
7853 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7855 (tramp-methods, tramp-default-method-alist)
7856 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7857 Move initialization to tramp-sh.el.
7858 (tramp-temp-name-prefix): Make it a defconst.
7859 (tramp-dissect-file-name): Don't check anymore for multi-hop
7861 (tramp-debug-outline-regexp): Add a docstring.
7862 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7863 (tramp-get-debug-buffer): Use it.
7865 * net/tramp-cache.el (top): Set tramp-autoload cookie for
7866 initialization forms.
7867 (tramp-set-connection-property): Don't protect `tramp-message'
7868 call, it isn't necessary any longer.
7869 (tramp-dump-connection-properties): Use `ignore-errors'.
7871 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7872 'password-cache and 'auth-source.
7874 * net/tramp-gvfs.el (top):
7875 * net/tramp-smb.el (top): Require 'tramp-sh.
7877 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7879 * net/tramp-sh.el: New file, derived from tramp.el.
7880 (top): Initialize `tramp-methods', `tramp-default-method-alist',
7881 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7882 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7883 Use `ignore-errors' where appropriate.
7884 (tramp-sh-file-name-handler-alist): Rename from
7885 `tramp-file-name-handler-alist'.
7886 (tramp-send-command-and-check): Return t or nil. Remove all
7887 `zerop' checks, where called.
7888 (tramp-handle-set-file-modes)
7889 (tramp-do-copy-or-rename-file-directly)
7890 (tramp-handle-delete-directory, tramp-handle-delete-file)
7891 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7892 (tramp-sh-file-name-handler, tramp-send-command-and-check)
7893 (tramp-get-remote-ln): Set tramp-autoload cookie.
7895 * net/tramp-fish.el: Remove file.
7897 2010-09-13 Daiki Ueno <ueno@unixuser.org>
7899 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7900 buffer-file-name to avoid file-locking. (Bug#7026)
7902 2010-09-13 Julien Danjou <julien@danjou.info>
7904 * notifications.el (notifications-notify): Add support for
7905 image-path and sound-name.
7906 (notifications-specification-version): Add this variable.
7908 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7910 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7912 2010-09-12 Leo <sdl.web@gmail.com>
7914 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7915 (rcirc-completion-start): New variables.
7916 (rcirc-nick-completions): Rename to rcirc-completions.
7917 (rcirc-nick-completion-start-offset): Delete.
7918 (rcirc-completion-at-point): New function for constructing
7919 completion data for both nicks and irc commands. Add to
7920 completion-at-point-functions in rcirc mode.
7921 (rcirc-complete): Rename from rcirc-nick-complete; use
7922 rcirc-completion-at-point.
7923 (defun-rcirc-command): Update rcirc-client-commands.
7925 2010-09-11 Glenn Morris <rgm@gnu.org>
7927 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7928 atomically, to avoid parallel build errors. (Bug#4196)
7930 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
7932 * progmodes/sql.el: Version 2.6
7933 (sql-dialect): Synonym for "sql-product".
7934 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7935 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7936 Set "sql-buffer" to buffer name not buffer object so multiple sql
7937 interactive buffers work properly. Reverts misguided changes in
7939 (sql-comint): Make sure different buffer name is used if "*SQL*"
7940 buffer is for a different product.
7941 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7943 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7944 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7945 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7946 Accept new buffer name or prompt for one.
7947 (sql-port): Default to zero.
7948 (sql-comint-mysql): Handle "sql-port" as a numeric.
7949 (sql-port-history): Delete unused variable.
7950 (sql-get-login): Default "sql-port" to a number.
7951 (sql-product-alist): Correct Postgres prompt and terminator regexp.
7952 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7953 "sqlite3" executables.
7954 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7955 (sql-buffer-live-p): New function.
7956 (sql-mode-menu, sql-send-string): Use it.
7957 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7959 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7960 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7962 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7964 * net/netrc.el (netrc-credentials): New convenience function.
7966 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7968 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7969 to replace texinfo-font-lock-syntactic-keywords.
7970 (texinfo-mode): Use it.
7972 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7973 Use syntax-propertize-function.
7975 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7976 replace sgml-font-lock-syntactic-keywords.
7977 (sgml-mode): Use it.
7979 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7980 since we don't use it.
7982 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7984 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7986 (vhdl-fontify-buffer): Adjust.
7988 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7989 replace tcl-font-lock-syntactic-keywords.
7992 * progmodes/simula.el (simula-syntax-propertize-function): New var to
7993 replace simula-font-lock-syntactic-keywords.
7994 (simula-mode): Use it.
7996 * progmodes/sh-script.el (sh-st-symbol): Remove.
7997 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7998 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7999 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
8000 (sh-font-lock-paren): Set syntax-multiline.
8001 (sh-font-lock-syntactic-keywords): Remove.
8002 (sh-syntax-propertize-function): New function to replace it.
8005 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
8006 Define while compiling.
8007 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
8008 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
8009 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
8010 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
8011 (ruby-here-doc-end-syntax): Only define when
8012 syntax-propertize is not available.
8013 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
8015 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
8016 (electric-indent-chars): Silence bytecompiler.
8017 (ruby-mode): Use prog-mode, syntax-propertize-function, and
8018 electric-indent-chars.
8020 * progmodes/python.el (python-syntax-propertize-function): New var to
8021 replace python-font-lock-syntactic-keywords.
8022 (python-mode): Use it.
8023 (python-quote-syntax): Simplify and adjust to new use.
8025 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
8026 replace perl-font-lock-syntactic-keywords.
8027 (perl-syntax-propertize-special-constructs): New fun to replace
8028 perl-font-lock-special-syntactic-constructs.
8029 (perl-font-lock-syntactic-face-function): New fun.
8030 (perl-mode): Use it.
8032 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
8033 to replace octave-font-lock-close-quotes.
8034 (octave-syntax-propertize-function): New function to replace
8035 octave-font-lock-syntactic-keywords.
8036 (octave-mode): Use it.
8038 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
8039 replaces mixal-font-lock-syntactic-keywords.
8040 (mixal-mode): Use it.
8042 * progmodes/make-mode.el (makefile-syntax-propertize-function):
8043 New var; replaces makefile-font-lock-syntactic-keywords.
8044 (makefile-mode): Use it.
8045 (makefile-imake-mode): Adjust.
8047 * progmodes/js.el (js--regexp-literal): Define while compiling.
8048 (js-syntax-propertize-function): New var; replaces
8049 js-font-lock-syntactic-keywords.
8052 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
8053 replaces gdb-script-font-lock-syntactic-keywords.
8054 (gdb-script-mode): Use it.
8056 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
8057 (fortran--font-lock-syntactic-keywords): New var.
8058 (fortran-line-length): Update syntax-propertize-function and
8059 fortran--font-lock-syntactic-keywords.
8061 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
8063 * progmodes/cfengine.el (cfengine-mode):
8064 Use syntax-propertize-function.
8065 (cfengine-font-lock-syntactic-keywords): Remove.
8067 * progmodes/autoconf.el (autoconf-mode):
8068 Use syntax-propertize-function.
8069 (autoconf-font-lock-syntactic-keywords): Remove.
8071 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
8072 (ada-after-change-function, ada-initialize-syntax-table-properties)
8073 (ada-handle-syntax-table-properties): Only define when
8074 syntax-propertize is not available.
8075 (ada-mode): Use syntax-propertize-function.
8077 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
8078 (font-lock-fontify-syntactic-keywords-region): Move handling of
8079 font-lock-syntactically-fontified to...
8080 (font-lock-default-fontify-region): ...here.
8081 Let syntax-propertize-function take precedence.
8082 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
8084 * emacs-lisp/syntax.el (syntax-propertize-function)
8085 (syntax-propertize-chunk-size, syntax-propertize--done)
8086 (syntax-propertize-extend-region-functions): New vars.
8087 (syntax-propertize-wholelines, syntax-propertize-multiline)
8088 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
8089 (syntax-propertize): New functions.
8090 (syntax-propertize-rules): New macro.
8091 (syntax-ppss-flush-cache): Set syntax-propertize--done.
8092 (syntax-ppss): Call syntax-propertize.
8094 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
8096 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
8098 * textmodes/ispell.el (ispell-init-process): Improve comments.
8099 XEmacs compatibility changes regarding (add-hook) 'local option
8100 and (set-process-query-on-exit-flag).
8102 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
8104 * net/tramp-cache.el (tramp-parse-connection-properties):
8105 Set tramp-autoload cookie.
8107 2010-09-09 Glenn Morris <rgm@gnu.org>
8109 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
8110 (imagemagick-register-types): Doc fix.
8112 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
8114 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
8116 * progmodes/js.el (require): Require is already "eval-and-compile".
8117 (js--re-search-forward): Avoid `eval'. Preserve the error data.
8118 (js--re-search-backward): Use js--re-search-forward.
8120 * progmodes/fortran.el (fortran-line-length): Don't recompute
8121 syntactic keywords redundantly a second time.
8123 * progmodes/ada-mode.el: Replace "(set '" with setq.
8124 (ada-mode): Simplify.
8125 (ada-create-case-exception, ada-adjust-case-interactive)
8126 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
8127 (ada-search-ignore-string-comment, ada-move-to-start)
8128 (ada-move-to-end): Use with-syntax-table.
8130 * font-lock.el (save-buffer-state): Remove `varlist' arg.
8131 (font-lock-unfontify-region, font-lock-default-fontify-region):
8132 Update usage correspondingly.
8133 (font-lock-fontify-syntactic-keywords-region):
8134 Set parse-sexp-lookup-properties buffer-locally here.
8135 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
8137 * simple.el (blink-matching-open): Don't burp if we can't find a match.
8139 2010-09-08 Glenn Morris <rgm@gnu.org>
8141 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
8142 Error if not compiled with -DBYTE_CODE_METER.
8144 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8145 Ignore dir-locals-file.
8147 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
8149 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8151 (compilation-error-regexp-alist-alist): Rule out ": " in file names
8152 for the `gnu' messages.
8153 (compilation-set-skip-threshold): New command.
8154 (compilation-start): Use \' rather than $.
8155 (compilation-forget-errors): Use clrhash.
8157 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
8159 * textmodes/ispell.el (ispell-valid-dictionary-list):
8162 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
8164 Migrate to Tramp 2.2. Rearrange load dependencies.
8165 (Bug#1529, Bug#5448, Bug#5705)
8167 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
8168 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
8169 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
8171 * net/tramp.el (top): Remove all other tramp-* loads except
8172 tramp-compat.el. Remove all changes to tramp-unload-hook for
8173 other tramp-* packages. Rearrange defun order. Change calls of
8174 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
8175 `tramp-compat-octal-to-decimal' to new function names.
8176 (tramp-terminal-type, tramp-initial-end-of-output)
8177 (tramp-methods, tramp-foreign-file-name-handler-alist)
8178 (tramp-tramp-file-p, tramp-completion-mode-p)
8179 (tramp-send-command-and-check, tramp-get-remote-path)
8180 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
8181 (tramp-shell-quote-argument): Set tramp-autoload cookie.
8182 (with-file-property, with-connection-property): Move to
8184 (tramp-local-call-process, tramp-decimal-to-octal)
8185 (tramp-octal-to-decimal): Move to tramp-compat.el.
8186 (tramp-handle-shell-command): Do not require 'shell.
8187 (tramp-compute-multi-hops): No special handling for tramp-gw-*
8189 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
8191 * net/tramp-cache.el (top): Require 'tramp. Add to
8192 `tramp-unload-hook'.
8193 (tramp-cache-data, tramp-get-file-property)
8194 (tramp-set-file-property, tramp-flush-file-property)
8195 (tramp-flush-directory-property, tramp-get-connection-property)
8196 (tramp-set-connection-property, tramp-flush-connection-property)
8197 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
8199 (with-file-property, with-connection-property): New defuns, moved
8201 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
8204 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
8205 (tramp-version): Set tramp-autoload cookie.
8207 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
8208 changes to tramp-unload-hook for other tramp-* packages. Add to
8209 `tramp-unload-hook'.
8210 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
8211 (tramp-compat-call-process): New defuns, moved from tramp.el.
8213 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
8214 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8215 Add to `tramp-unload-hook'. Change call of
8216 `tramp-compat-decimal-to-octal' to new function name.
8217 (tramp-fish-method): Make it a defconst.
8218 (tramp-fish-file-name-p): Make it a defsubst.
8219 (tramp-fish-method, tramp-fish-file-name-handler)
8220 (tramp-fish-file-name-p): Set tramp-autoload cookie.
8222 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
8223 `tramp-foreign-file-name-handler-alist'. Add to
8224 `tramp-unload-hook'.
8225 (tramp-ftp-method): Make it a defconst.
8226 (tramp-ftp-file-name-p): Make it a defsubst.
8227 (tramp-ftp-method, tramp-ftp-file-name-handler)
8228 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
8230 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
8231 `tramp-foreign-file-name-handler-alist'. Add to
8232 `tramp-unload-hook'. Change checks, whether package can be
8234 (tramp-gvfs-file-name-p): Make it a defsubst.
8235 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
8236 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
8237 (tramp-gvfs-handle-file-directory-p): New defun.
8238 (tramp-gvfs-file-name-handler-alist): Use it.
8240 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
8241 `tramp-foreign-file-name-handler-alist'. Add to
8242 `tramp-unload-hook'.
8243 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
8244 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
8246 (tramp-gw-tunnel-method, tramp-gw-socks-method)
8247 (tramp-gw-open-connection): Set tramp-autoload cookie.
8249 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
8250 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8251 Add to `tramp-unload-hook'. Change checks, whether package can be
8253 (tramp-imap-file-name-p): Make it a defsubst.
8254 (tramp-imap-method, tramp-imaps-method)
8255 (tramp-imap-file-name-handler)
8256 (tramp-imap-file-name-p): Set tramp-autoload cookie.
8258 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
8259 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8260 Add to `tramp-unload-hook'. Change checks, whether package can be
8261 loaded. Change call of `tramp-compat-decimal-to-octal' to new
8263 (tramp-smb-tunnel-method): Make it a defconst.
8264 (tramp-smb-file-name-p): Make it a defsubst.
8265 (tramp-smb-method, tramp-smb-file-name-handler)
8266 (tramp-smb-file-name-p): Set tramp-autoload cookie.
8268 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
8269 (tramp-uuencode-region): Set tramp-autoload cookie.
8271 * net/trampver.el (top) Add to `tramp-unload-hook'.
8272 (tramp-version, tramp-bug-report-address): Set tramp-autoload
8273 cookie. Update release number.
8275 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
8277 * textmodes/ispell.el (ispell-start-process): Make sure original
8278 arg list is properly initialized (Bug#6993, Bug#6994).
8280 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8282 * files.el (directory-abbrev-alist): Use \` as default regexp.
8284 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
8285 chars like - or ] (bug#6984).
8286 (rx-any-condense-range): Explode 2-char ranges.
8288 2010-09-06 Glenn Morris <rgm@gnu.org>
8290 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
8292 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8294 * textmodes/bibtex.el:
8295 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
8297 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8299 * net/imap.el (imap-message-map): Remove optional buffer parameter,
8300 since no callers use it.
8301 (imap-message-get): Ditto.
8302 (imap-message-put): Ditto.
8303 (imap-mailbox-map): Ditto.
8304 (imap-mailbox-put): Ditto.
8305 (imap-mailbox-get): Ditto.
8306 (imap-mailbox-get): Revert last change for this function.
8308 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8310 * net/imap.el (imap-fetch-safe): Remove function, and alter all
8311 callers to use `imap-fetch' instead. According to the comments, this
8312 should be safe, since all other IMAP clients use the 1:* syntax.
8313 (imap-enable-exchange-bug-workaround): Remove.
8314 (imap-debug): Remove -- doesn't seem very useful.
8316 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8318 * net/imap.el (imap-log): New convenience function used throughout
8319 instead of repeating the same code all over the place.
8321 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
8323 * mouse.el (mouse-save-then-kill): Save region to kill-ring
8324 when mouse-drag-copy-region is non-nil (Bug#6956).
8326 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
8328 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
8329 Improve regexps (Bug#6987).
8330 (dired-sort-toggle): Search more robustly for -t flag.
8332 * files.el (get-free-disk-space): Search more robustly for
8333 "available" column. Suggested by Ehud Karni
8334 <ehud@unix.mvs.co.il>.
8336 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
8338 * international/uni-bidi.el:
8339 * international/uni-category.el:
8340 * international/uni-combining.el:
8341 * international/uni-decimal.el:
8342 * international/uni-mirrored.el:
8343 * international/uni-name.el: Regenerate.
8345 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8347 * electric.el (electric-indent-post-self-insert-function):
8348 Don't reindent with a sloppy indentation function.
8350 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
8351 border case in change-log-mode.
8353 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
8355 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8356 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
8357 Recognize leading tab in gcc-include regexp. Ignore names with
8358 leading "from" or "in" in gnu regexp (Bug#6937).
8360 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8362 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
8363 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
8364 (ispell-start-process): Avoid setq and simplify logic.
8365 (ispell-init-process): Setup kill-buffer-hook locally when needed.
8366 (kill-buffer-hook): Don't use it globally with code that uses
8367 expand-file-name since that may call kill-buffer via
8368 code_conversion_restore.
8370 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
8372 * emacs-lisp/package.el (package-directory-list): Only call
8373 file-name-nondirectory on a string.
8375 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
8377 * emacs-lisp/package.el (package--download-one-archive):
8378 Ensure that archive-contents is valid before saving it.
8379 (package-activate-1, package-mark-obsolete, define-package)
8380 (package-compute-transaction, package-list-maybe-add): Use push.
8382 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8384 Use SMIE's blink-paren for octave-mode.
8385 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
8386 Backslashes do not escape single-quotes, single-quotes do.
8387 (octave-block-else-regexp, octave-block-end-regexp)
8388 (octave-block-match-alist): Remove.
8389 (octave-smie-bnf-table): New var, with old content.
8390 (octave-smie-op-levels): Use it.
8391 (octave-smie-closer-alist): New var.
8392 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
8393 (octave-blink-matching-block-open): Remove.
8394 (octave-reindent-then-newline-and-indent, octave-electric-semi)
8395 (octave-electric-space): Let self-insert-command run expand-abbrev and
8398 * electric.el (electricity): New group.
8399 (electric-indent-chars): New var.
8400 (electric-indent-post-self-insert-function): New fun.
8401 (electric-indent-mode): New minor mode.
8402 (electric-pair-skip-self): New custom.
8403 (electric-pair-post-self-insert-function): New function.
8404 (electric-pair-mode): New minor mode.
8406 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
8407 calcAlg-blink-matching-open.
8408 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
8409 (calc-do-alg-entry): Only touch the part of the keymap that varies.
8410 Use the new blink-matching-check-function.
8412 Provide blink-matching support to SMIE.
8413 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
8414 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
8415 (smie-blink-matching-check, smie-blink-matching-open): New functions.
8417 * simple.el (newline): Fix last change to properly remove itself from
8420 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8422 * simple.el (newline): Eliminate optimization.
8423 Use post-self-insert-hook to set hard-newline and things before
8424 running post-self-insert-hook.
8425 (blink-matching-check-mismatch): New function.
8426 (blink-matching-check-function): New variable.
8427 (blink-matching-open): Use them.
8428 Skip back forward over prefix chars skipped by forward-sexp.
8429 Don't check if the parens are backslash escaped.
8430 (blink-paren-post-self-insert-function): Check backslash escaping here.
8432 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
8434 * emacs-lisp/package.el (package-menu-mode-map):
8435 Change package-menu-revert bindings to revert-buffer.
8436 (package-menu-mode): Set revert-buffer-function.
8437 (package-menu-revert): Doc fix.
8439 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
8441 * textmodes/ispell.el (ispell-init-process): Use "~/" as
8442 `default-directory' unless using Ispell per-directory personal
8443 dictionaries and not in a mini-buffer under XEmacs.
8444 (kill-buffer-hook): Do not kill ispell process on exit when
8445 `ispell-process-directory' is "~/". (Bug#6143)
8447 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
8449 * simple.el (kill-new): Call interprogram-cut-function with only
8452 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
8453 Remove cut buffer from error message.
8455 * term/x-win.el (x-select-text):
8456 * term/pc-win.el (x-selection-value):
8457 * term/ns-win.el (x-selection-value):
8458 * eshell/em-term.el:
8459 * w32-fns.el (x-get-selection-value):
8460 * mouse-sel.el (mouse-sel-set-selection-function):
8461 * frame.el (display-selections-p): Remove cut-buffer in documentation.
8463 * term/x-win.el: Update documentation for x-last-selected-text-*.
8464 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
8465 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
8466 (x-select-text): Remove argument PUSH, update documentation.
8467 Remove cut-buffer code.
8468 (x-selection-value-internal): Was previously x-selection-value.
8469 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8470 Update documentation, remove cut-buffer code.
8471 Call x-selection-value-internal.
8472 (x-clipboard-yank): Call x-selection-value-internal.
8473 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
8475 * term/pc-win.el (x-last-selected-text):
8476 x-cut-buffer-or-selection-value renamed to x-selection-value
8477 (x-select-text): Remove argument PUSH, update documentation.
8479 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
8480 x-cut-buffer-or-selection-value renamed to x-selection-value
8481 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8482 (x-select-text): Remove argument PUSH, update documentation.
8484 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
8486 * w32-fns.el (x-last-selected-text):
8487 x-cut-buffer-or-selection-value renamed to x-selection-value.
8488 (x-cut-buffer-max): Remove.
8489 (x-select-text): Remove argument PUSH, update documentation.
8491 * simple.el (interprogram-cut-function): Remove mention of PUSH.
8493 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
8495 * mouse-sel.el (mouse-sel-get-selection-function):
8496 x-cut-buffer-or-selection-value renamed to x-selection-value.
8497 (x-select-text): Remove optional push.
8499 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8501 * simple.el (blink-paren-function): Move from C to here.
8502 (blink-paren-post-self-insert-function): New function.
8503 (post-self-insert-hook): Use it.
8505 * emacs-lisp/pcase.el (pcase-split-memq):
8506 Fix overenthusiastic optimisation.
8507 (pcase-u1): Handle the case of a lambda pred.
8509 2010-08-31 Kenichi Handa <handa@m17n.org>
8511 * international/mule-cmds.el (standard-display-european-internal):
8512 Setup standard-display-table for 8-bit characters by storing 8-bit
8513 characters in the element vector.
8515 * disp-table.el (standard-display-8bit):
8516 Setup standard-display-table for 8-bit characters by storing 8-bit
8517 characters in the element vector.
8518 (standard-display-european): Likewise.
8520 2010-08-31 Masatake YAMATO <yamato@redhat.com>
8522 * textmodes/nroff-mode.el (nroff-view): New command.
8523 (nroff-mode-map): Bind it to C-c C-c.
8525 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
8527 * emacs-lisp/smie.el (smie-down-list): New command.
8529 Remove old indentation and navigation code on octave-mode.
8530 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
8531 smie-down-list rather than add a binding for octave-down-block.
8532 (octave-mark-block, octave-blink-matching-block-open):
8533 Rely on forward-sexp-function.
8534 (octave-fill-paragraph): Don't narrow, so you can use
8535 indent-according-to-mode.
8536 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
8537 (octave-in-block-p, octave-re-search-forward-kw)
8538 (octave-re-search-backward-kw, octave-indent-calculate)
8539 (octave-end-as-array-index-p, octave-block-end-offset)
8540 (octave-scan-blocks, octave-forward-block, octave-backward-block)
8541 (octave-down-block, octave-backward-up-block, octave-up-block)
8542 (octave-before-magic-comment-p, octave-indent-line): Remove.
8544 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
8546 * emacs-lisp/package.el (package--read-archive-file): Just use
8547 `read', to avoid copying an additional string.
8548 (package-menu-mode): Set header-line-format here.
8549 (package-menu-refresh, package-menu-revert): Signal an error if
8550 not in the Package Menu.
8551 (package-menu-package-list): New var.
8552 (package--generate-package-list): Operate on the current buffer;
8553 don't assume that it is *Packages*, since the user may rename it.
8554 Allow persistent package listings and sort keys using
8555 package-menu-package-list and package-menu-package-sort-key.
8556 (package-menu--version-predicate): Fix version calculation.
8557 (package-menu-sort-by-column): Don't select the window.
8558 (package--list-packages): Create the *Packages* buffer.
8559 Set package-menu-package-list-key.
8560 (list-packages): Sorting by status is now the default.
8561 (package-buffer-info): Use match-string-no-properties.
8562 (define-package): Add a &rest argument for future proofing, but
8564 (package-install-from-buffer, package-install-buffer-internal):
8565 Merge into a single function, package-install-from-buffer.
8566 (package-install-file): Change caller.
8568 * finder.el: Load finder-inf using `require'.
8569 (finder-list-matches): Sorting by status is now the default.
8570 (finder-compile-keywords): Simpify printing.
8572 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8574 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8575 (octave-mode-map): Remove special bindings for forward/backward-block
8576 and octave-backward-up-block. Use smie-close-block.
8577 (octave-continuation-marker-regexp): New var.
8578 (octave-continuation-regexp): Use it.
8579 (octave-operator-table, octave-smie-op-levels)
8580 (octave-operator-regexp, octave-smie-indent-rules): New vars.
8581 (octave-smie-backward-token, octave-smie-forward-token): New funs.
8582 (octave-mode): Use SMIE.
8583 (octave-close-block): Delete.
8585 2010-08-30 Eli Zaretskii <eliz@gnu.org>
8587 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
8588 CLIPBOARD, not in PRIMARY. (Bug#6944)
8590 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8592 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
8594 (smie-indent-column): Allow indirection through variables.
8596 * composite.el (save-buffer-state): Delete, unused.
8597 * font-lock.el (save-buffer-state): Use with-silent-modifications.
8598 (font-lock-default-fontify-region): Use with-syntax-table.
8599 * jit-lock.el (with-buffer-unmodified): Remove.
8600 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
8602 Use `declare' in defmacros.
8603 * window.el (save-selected-window):
8604 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
8605 * progmodes/python.el (def-python-skeleton):
8606 * net/dbus.el (dbus-ignore-errors):
8607 * jka-cmpr-hook.el (with-auto-compression-mode):
8608 * international/mule.el (with-category-table):
8609 * emacs-lisp/timer.el (with-timeout):
8610 * emacs-lisp/lisp-mnt.el (lm-with-file):
8611 * emacs-lisp/eieio.el (with-slots):
8612 * emacs-lisp/easymenu.el (easy-menu-define):
8613 * emacs-lisp/debug.el (debugger-env-macro):
8614 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
8615 (Multiple-value-call, Multiple-value-prog1):
8616 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
8617 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
8618 edebug rule to definition.
8619 * emacs-lisp/lisp-mode.el (save-selected-window)
8620 (with-current-buffer, combine-after-change-calls)
8621 (with-output-to-string, with-temp-file, with-temp-buffer)
8622 (with-temp-message, with-syntax-table, read-if, eval-after-load)
8623 (dolist, dotimes, when, unless):
8624 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
8626 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8628 * finder.el: Require `package'.
8629 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
8630 (finder-package-info): Var deleted.
8631 (finder-keywords-hash, finder--builtins-alist): New vars.
8632 (finder-compile-keywords): Compute package--builtins and
8633 finder-keywords-hash instead of finder-keywords-hash, respecting
8634 the "Package" header.
8635 (finder-unknown-keywords, finder-list-matches):
8636 Use finder-keywords-hash and package--list-packages.
8637 (finder-mode): Don't set font-lock-defaults.
8638 (finder-exit): We don't use "*Finder-package*" and "*Finder
8639 Category*" buffers anymore.
8641 * emacs-lisp/package.el (package--builtins-base): Var deleted.
8642 (package--builtins): Set default value to nil.
8643 (package-initialize): Load precomputed value of package--builtins
8645 (package-alist, package-compute-transaction)
8646 (package-download-transaction): Improve docstring.
8647 (package-read-all-archive-contents): Do not change
8648 package--builtins here.
8649 (list-packages): Make package-list-packages an alias for this.
8650 Sort by status by default.
8651 (package--list-packages): Add optional PACKAGES arg.
8652 (describe-package-1): Use font-lock-face property. For built-in
8653 packages, insert file commentary.
8654 (package--generate-package-list): Rename from
8655 package-list-packages-internal; all callers changed. Add optional
8656 PACKAGES arg. Add alphabetical sort fallbacks.
8657 (package-menu--version-predicate, package-menu--status-predicate)
8658 (package-menu--description-predicate)
8659 (package-menu--name-predicate): New functions.
8661 * info.el (Info-finder-find-node): Search package-alist instead of
8662 finder-package-info.
8664 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8666 * subr.el (version-regexp-alist): Don't use "a" and "b" for
8668 (version-to-list): Handle versions like "10.3d".
8670 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8672 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
8673 (macroexp-accumulate): Use `declare'.
8675 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8677 * whitespace.el (whitespace-style): Adjust type declaration.
8679 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
8681 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
8683 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8685 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
8688 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
8690 * progmodes/js.el: Make indentation more customizable (Bug#6914).
8691 (js-paren-indent-offset, js-square-indent-offset)
8692 (js-curly-indent-offset): New options.
8693 (js--proper-indentation): Use them.
8695 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
8697 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
8698 instead of inspecting font-lock properties (Bug#6916).
8700 2010-08-26 David Reitter <david.reitter@gmail.com>
8702 * server.el (server-visit-files): Run pre-command-hook and
8703 post-command-hook for each buffer while it is current (Bug#6910).
8704 (server-execute): Do not run hooks here.
8706 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
8708 Sync with Tramp 2.1.19.
8710 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
8711 Protect deleting tmpfile.
8712 (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
8714 * net/tramp.el (tramp-handle-expand-file-name)
8715 (tramp-completion-handle-file-name-all-completions)
8716 (tramp-completion-handle-file-name-completion):
8717 Use `tramp-connectable-p'.
8719 * net/trampver.el: Update release number.
8721 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8723 * help.el (help-map): Bind `C-h P' to describe-package.
8725 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
8727 * emacs-lisp/package.el (package-refresh-contents): Catch errors
8728 when downloading archives.
8729 (describe-package-1): Add package commentary.
8730 (package-install-button-action): New function.
8731 (package-menu-mode-map): Bind ? to package-menu-describe-package.
8732 (package-menu-view-commentary): Function removed.
8733 (package-list-packages-internal): Hide the `package' package too.
8735 2010-08-25 Kenichi Handa <handa@m17n.org>
8737 * language/misc-lang.el ("Arabic"): New language environment.
8738 Setup composition-function-table for Arabic characters.
8740 * international/fontset.el (setup-default-fontset): Fix typo for
8741 arabic OTF spec (fini->fina).
8743 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
8745 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
8748 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8750 * whitespace.el: Allow cleaning up blanks without blank
8751 visualization (Bug#6651). Adjust help window for
8752 whitespace-toggle-options (Bug#6479). Allow to use fill-column
8753 instead of whitespace-line-column (from EmacsWiki). New version
8755 (whitespace-style): Add new value 'face. Adjust docstring.
8756 (whitespace-space, whitespace-hspace, whitespace-tab):
8757 Adjust foreground property face.
8758 (whitespace-line-column): Adjust docstring and type declaration.
8759 (whitespace-style-value-list, whitespace-toggle-option-alist)
8760 (whitespace-help-text): Adjust const initialization.
8761 (whitespace-toggle-options, global-whitespace-toggle-options):
8763 (whitespace-display-window, whitespace-interactive-char)
8764 (whitespace-style-face-p, whitespace-color-on): Adjust code.
8765 (whitespace-help-scroll): New fun.
8767 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8769 * emacs-lisp/package.el (list-packages): Alias for
8770 package-list-packages.
8772 2010-08-24 Kevin Ryde <user42@zip.com.au>
8774 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
8777 * progmodes/ruby-mode.el (ruby): Add defgroup.
8779 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8781 * progmodes/python.el: Add Ipython support (Bug#5390).
8782 (python-shell-prompt-alist)
8783 (python-shell-continuation-prompt-alist): New options.
8784 (python--set-prompt-regexp): New function.
8785 (inferior-python-mode, run-python, python-shell):
8786 Require ansi-color. Use python--set-prompt-regexp to set the comint
8787 prompt based on the Python interpreter.
8788 (python--prompt-regexp): New var.
8789 (python-check-comint-prompt)
8790 (python-comint-output-filter-function): Use it.
8791 (run-python): Use a pipe (Bug#5694).
8793 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
8795 * progmodes/python.el (python-send-region): Send a different
8796 Python command if Ipython is in use.
8797 (python-check-version): Use a Python command to find the version.
8799 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8801 * mouse.el (mouse-yank-primary): Avoid setting primary when
8802 deactivating the mark (Bug#6872).
8804 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
8806 * progmodes/python.el (python-block-pairs): Allow use of "finally"
8807 with "else" (Bug#3991).
8809 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
8811 * net/dbus.el: Accept UNIX domain sockets as bus address.
8812 (top): Don't initialize `dbus-registered-objects-table' anymore,
8813 this is done in dbusbind.c.
8814 (dbus-check-event): Adapt test for bus.
8815 (dbus-return-values-table, dbus-unregister-service)
8816 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
8819 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
8821 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8823 2010-08-22 Juri Linkov <juri@jurta.org>
8825 * simple.el (read-extended-command): New function with the logic
8826 for `completing-read' moved to Elisp from `execute-extended-command'.
8827 Use `function-called-at-point' in `minibuffer-default-add-function'
8828 to get a command name for M-n (bug#5364, bug#5214).
8830 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8832 * startup.el (command-line-1): Issue warning for ignored arguments
8833 --unibyte, etc (Bug#6886).
8835 2010-08-22 Leo <sdl.web@gmail.com>
8837 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8838 (ignore, bright, dim, keyword): Split list of nicknames before
8839 passing to rcirc-add-or-remove (Bug#6894).
8841 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8843 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8845 2010-08-22 Leo <sdl.web@gmail.com>
8847 Fix buffer-list rename&refresh after killing a buffer in ido.
8848 * ido.el: Revert Óscar's.
8849 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8850 Remember the buffers at head, rather than their name.
8851 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8853 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
8854 Stefan Monnier <monnier@iro.umontreal.ca>
8856 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8857 extra backslash added to each line (bug#6890).
8859 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8861 * subr.el (read-key): Don't echo keystrokes (bug#6883).
8863 2010-08-22 Glenn Morris <rgm@gnu.org>
8865 * menu-bar.el (menu-bar-games-menu): Add landmark.
8867 2010-08-22 Glenn Morris <rgm@gnu.org>
8869 * align.el (align-regexp): Make group and spacing arguments
8870 use the interactive defaults when non-interactive. (Bug#6698)
8872 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8873 expansion, so as not to need sendmail.
8874 (mail-text-start): Remove declaration.
8875 (rmail-retry-failure): Require sendmail.
8877 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8879 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8881 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
8883 * progmodes/flymake.el (flymake-start-syntax-check-process):
8884 Use `start-file-process' in order to let it run also on remote hosts.
8886 2010-08-22 Kenichi Handa <handa@m17n.org>
8888 * files.el: Add `word-wrap' as safe local variable.
8890 2010-08-22 Glenn Morris <rgm@gnu.org>
8892 * woman.el (woman-translate): Case matters. (Bug#6849)
8894 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8896 * simple.el (kill-region): Doc fix (Bug#6787).
8898 2010-08-22 Glenn Morris <rgm@gnu.org>
8900 * calendar/diary-lib.el (diary-header-line-format):
8901 Fit it to the window, not the frame.
8903 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
8905 * subr.el (ignore-errors): Add debug declaration.
8907 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
8909 * whitespace.el (whitespace-color-off): Remove post-command-hook
8912 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8914 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8916 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8918 * cus-edit.el (custom-group-value-create): Add extra newline
8919 before end line (Bug#6876).
8921 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8923 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8924 when extending it. Before killing on the second click, check if
8925 the buffer is the correct one. Doc fix.
8926 (mouse-secondary-save-then-kill): Allow usage without first
8927 calling mouse-start-secondary, by defaulting to point. Don't save
8928 an empty secondary selection. Doc fix.
8930 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8932 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
8933 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8935 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8936 Adjust initialization.
8937 (whitespace-bob-marker, whitespace-eob-marker)
8938 (whitespace-buffer-changed): New vars.
8939 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8940 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8941 (whitespace-post-command-hook, whitespace-display-char-on):
8943 (whitespace-looking-back, whitespace-buffer-changed): New funs.
8944 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8946 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8948 * files.el (locate-file-completion-table): Only list the .el and .elc
8949 extensions if there's no other choice (bug#5955).
8951 * facemenu.el (facemenu-self-insert-data): New var.
8952 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8954 (facemenu-add-face): Use them.
8956 * simple.el (blink-matching-open): Obey forward-sexp-function.
8958 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
8960 * simple.el (prog-mode-map): New var.
8961 (prog-indent-sexp): New command.
8963 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8965 * progmodes/prolog.el (smie): Require.
8967 * emacs-lisp/smie.el (smie-default-backward-token)
8968 (smie-default-forward-token): Strip properties.
8969 (smie-next-sexp): Be more careful with associative operators.
8970 (smie-forward-sexp-command): Generalize.
8971 (smie-backward-sexp-command): Simplify.
8972 (smie-closer-alist): New var.
8973 (smie-close-block): New command.
8974 (smie-indent-debug-log): New var.
8975 (smie-indent-offset-rule): Add a few more cases.
8976 (smie-indent-column): New function.
8977 (smie-indent-after-keyword): Use it.
8978 (smie-indent-keyword): Use it.
8979 Fix up the opener code's point position.
8980 (smie-indent-comment): Only applies at BOL.
8981 (smie-indent-debug): New command.
8983 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8984 declarations that are useful before running the macro.
8986 2010-08-18 Joakim Verona <joakim@verona.se>
8988 * image.el (imagemagick-types-inhibit): New variable.
8989 (imagemagick-register-types): New function.
8990 * image-mode.el (image-transform-properties): New function.
8991 (image-transform-set-scale, image-transform-fit-to-height)
8992 (image-transform-set-rotation, image-transform-set-resize)
8993 (image-transform-fit-to-width, image-transform-fit-to-height):
8995 (image-toggle-display-image): Support image transforms.
8997 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
8999 * image.el (create-animated-image): Don't add heuristic mask to image
9002 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
9004 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
9005 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
9007 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
9009 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
9011 Font-lock '...' strings, plus various simplifications and fixes.
9012 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
9013 (octave-font-lock-close-quotes): New function.
9014 (octave-font-lock-syntactic-keywords): New var.
9015 (octave-mode): Use it. Set beginning-of-defun-function.
9016 (octave-mode-map): Don't override the <foo>-defun commands.
9017 (octave-mode-menu): Pass it directly to easy-menu-define;
9018 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
9019 (octave-block-match-alist): Fix up last change so that
9020 octave-close-block uses the more specific keyword.
9021 (info-lookup-mode): Silence byte-compiler.
9022 (octave-beginning-of-defun): Not interactive any more.
9024 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
9025 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
9026 (octave-completion-at-point-function): Make sure point is within
9028 (octave-reindent-then-newline-and-indent):
9029 Use reindent-then-newline-and-indent.
9030 (octave-add-octave-menu): Remove.
9032 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
9034 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
9035 (report-emacs-bug-can-use-xdg-email): New functions.
9036 (report-emacs-bug): Set can-xdg-email to result of
9037 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
9038 \C-cm to report-emacs-bug-insert-to-mailer and add help text
9041 * net/browse-url.el (browse-url-default-browser): Add cond
9042 for browse-url-xdg-open.
9043 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
9045 2010-08-17 Glenn Morris <rgm@gnu.org>
9047 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
9048 (c-fontify-recorded-types-and-refs): Define for compiler.
9049 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
9052 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
9055 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
9057 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
9059 (tramp-handle-process-file): Call the program in a subshell, in
9060 order to preserve working directory.
9061 (tramp-action-password): Hide password prompt before next run.
9062 (tramp-process-actions): Widen connection buffer for the trace.
9064 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9066 * net/rcirc.el (rcirc-log-process-buffers): New option.
9067 (rcirc-print): Use it.
9068 (rcirc-generate-log-filename): New function.
9069 (rcirc-log-filename-function): Change default to
9070 rcirc-generate-log-filename (Bug#6828).
9072 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
9074 * simple.el (deactivate-mark): If select-active-regions is `only',
9075 only set selection for temporarily active regions.
9077 * cus-start.el: Change defcustom for select-active-regions.
9079 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
9081 * mouse.el (mouse--drag-set-mark-and-point): New function.
9082 (mouse-drag-track): Use LOCATION arg to push-mark.
9083 Use mouse--drag-set-mark-and-point to take click-count into
9084 consideration when updating point and mark (Bug#6840).
9086 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
9088 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9089 Give the Ruby rule a lower priority than Gnu (Bug#6778).
9091 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
9093 * font-lock.el (lisp-font-lock-keywords-2):
9094 Add combine-after-change-calls, condition-case-no-debug,
9095 with-demoted-errors, and with-silent-modifications (Bug#6025).
9097 2010-08-14 Kevin Ryde <user42@zip.com.au>
9099 * emacs-lisp/copyright.el (copyright-update-year)
9100 (copyright-update): Temporary switch-to-buffer to ensure the
9101 buffer change being queried is visible (Bug#5394).
9103 2010-08-14 Tom Tromey <tromey@redhat.com>
9105 * progmodes/etags.el (tags-file-name): Mark safe if stringp
9108 2010-08-14 Eli Zaretskii <eliz@gnu.org>
9110 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
9113 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
9115 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
9116 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9117 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9118 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
9119 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
9120 Call menu-bar-set-tool-bar-position.
9122 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9124 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
9125 comment style (bug#6834).
9126 * progmodes/scheme.el (scheme-mode-syntax-table):
9127 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
9128 "b" flag in "' 14b" syntax.
9130 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
9131 for (un)commenting the region and performing completion.
9132 (octave-mode-menu): Use standard commands for help and completion.
9133 (octave-mode-syntax-table): Support %{..%} comments (sort of).
9134 (octave-mode): Use define-derived-mode.
9135 Set completion-at-point-functions and don't set columns.
9136 Don't disable adaptive-fill-regexp.
9137 (octave-describe-major-mode, octave-comment-region)
9138 (octave-uncomment-region, octave-comment-indent)
9139 (octave-indent-for-comment): Remove.
9140 (octave-indent-calculate): Rename from calculate-octave-indent.
9141 (octave-indent-line, octave-fill-paragraph): Update caller.
9142 (octave-initialize-completions): No need to make an alist.
9143 (octave-completion-at-point-function): New function.
9144 (octave-complete-symbol): Use it.
9145 (octave-insert-defun): Use define-skeleton.
9147 * progmodes/octave-mod.el (octave-mode): Set comment-add.
9148 (octave-mode-map): Use comment-dwim (bug#6829).
9150 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com>
9152 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
9153 indentation of inserted comment.
9155 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
9157 * faces.el (region): Add type gtk that uses gtk colors.
9159 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
9160 Handle theme-name change.
9162 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
9164 * progmodes/sql.el: Version 2.5
9165 (sql-product-alist): Add :prompt-cont-regexp property for several
9167 (sql-prompt-cont-regexp): New variable.
9168 (sql-output-newline-count, sql-output-by-send):
9169 New variables. Record number of newlines in input text.
9170 (sql-send-string): Handle multiple filters and count newlines.
9171 (sql-send-magic-terminator): Count terminator newline.
9172 (sql-interactive-remove-continuation-prompt): Filters output to
9173 remove continuation prompts; one for each newline.
9174 (sql-interactive-mode): Set up new variables, prompt regexp and
9176 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
9177 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
9179 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9181 * emacs-lisp/pcase.el: New file.
9183 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
9185 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
9186 as here-document, otherwise the command could exceed maximum
9187 length of command line.
9188 (tramp-handle-vc-registered): Call script accordingly.
9189 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
9191 2010-08-10 Kenichi Handa <handa@m17n.org>
9193 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
9196 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
9198 * emacs-lisp/package.el (package-version-split)
9199 (package--version-first-nonzero, package-version-compare):
9201 (package-directory-list, package-load-all-descriptors)
9202 (package--built-in, package-activate, define-package)
9203 (package-installed-p, package-compute-transaction)
9204 (package-read-all-archive-contents)
9205 (package--add-to-archive-contents, package-buffer-info)
9206 (package-tar-file-info, package-list-packages-internal):
9207 Use version-to-list and version-list-*.
9209 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9210 Use version-to-list.
9211 (package-upload-buffer-internal): Use version-list-<=.
9213 2010-08-09 Kenichi Handa <handa@m17n.org>
9215 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
9218 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
9220 * tutorial.el (tutorial--default-keys): C-d is now bound to
9221 delete-forward-char (Bug#6826).
9223 * mouse.el (mouse-drag-track): Remove accidentally-removed check
9224 for `double' value of mouse-1-click-follows-link (Bug#6807).
9226 2010-08-08 Johan Bockgård <bojohan@gnu.org>
9228 * replace.el (replace-highlight): Bind isearch-forward and
9229 isearch-error, ensuring that highlighting is updated if the user
9230 switches the search direction (Bug#6808).
9232 * isearch.el (isearch-lazy-highlight-forward): New var.
9233 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9234 (isearch-lazy-highlight-update): Use it.
9236 2010-08-08 Kenichi Handa <handa@m17n.org>
9238 * international/mule.el (define-charset): Store NAME as :base property.
9239 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
9240 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
9241 current priority. Force using the designation of the specific
9242 charset by adding `charset' text property. Improve the whole algorithm.
9244 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9246 * emulation/pc-select.el (pc-selection-mode-hook)
9247 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
9248 (pc-selection-mode): Fix typos in docstrings.
9250 2010-08-08 Kenichi Handa <handa@m17n.org>
9252 * language/cyrillic.el: Don't add "microsoft-cp1251" to
9253 ctext-non-standard-encodings-alist here.
9255 * international/mule.el (ctext-non-standard-encodings-alist):
9256 Add "koi8-r" and "microsoft-cp1251".
9257 (ctext-standard-encodings): New variable.
9258 (ctext-non-standard-encodings-table): List only elements for
9259 non-standard encodings.
9260 (ctext-pre-write-conversion): Adjust for the above change.
9261 Check ctext-standard-encodings.
9263 * international/mule-conf.el (compound-text): Doc fix.
9264 (ctext-no-compositions): Doc fix.
9265 (compound-text-with-extensions): Doc fix.
9267 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9269 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
9271 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9273 * progmodes/which-func.el (which-func-format): Split help-echo text
9274 into lines, like other mode-line tooltips.
9276 * server.el (server-start): When using TCP sockets, force IPv4
9277 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
9279 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9281 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
9283 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9285 * term.el (term-delimiter-argument-list): Reflow docstring.
9286 (term-read-input-ring, term-write-input-ring, term-send-input)
9287 (term-bol, term-erase-in-display, serial-supported-or-barf):
9288 Fix typos in docstrings.
9290 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9292 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
9294 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9296 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
9298 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
9300 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
9301 Fix typo in docstring (bug#6747).
9303 2010-08-08 Leo <sdl.web@gmail.com>
9305 * eshell/esh-io.el (eshell-get-target): Better detection of
9306 read-only file (Bug#6762).
9308 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9310 * align.el (align-default-spacing): Doc fix.
9311 (align-region-heuristic, align-regexp): Fix typos in docstrings.
9313 2010-08-08 Stephen Peters <speters@itasoftware.com>
9315 * calendar/icalendar.el
9316 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
9317 (icalendar--get-weekday-numbers): New.
9318 (icalendar--convert-recurring-to-diary): Handle multiple byday
9319 values in weekly rules. (Bug#6766)
9321 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
9323 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
9324 (icalendar--create-uid, icalendar-export-region)
9325 (icalendar--parse-summary-and-rest): Code formatting.
9327 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
9329 * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
9330 to italicize headers.
9331 (calc-highlight-selections-with-faces): New variable.
9332 (calc-selected-face, calc-nonselected-face): New faces.
9334 * calc/calccomp.el (math-comp-highlight-string): Use
9335 `calc-highlight-selections-with-faces' to determine how to highlight
9338 * calc/calc-sel.el (calc-show-selections): Change message to when
9339 using faces to highlight selections.
9341 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
9343 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
9344 Add SQLite 3 keywords, functions and datatypes.
9345 (sql-interactive-mode): Remove `comint-process-echoes' set to t
9348 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
9350 * simple.el (select-active-regions): Move to keyboard.c.
9351 (deactivate-mark): Used saved-region-selection.
9352 (select-active-region): Function removed.
9353 (activate-mark, set-mark, push-mark-command)
9354 (handle-shift-selection): Don't call it.
9355 (keyboard-quit): Avoid adding the region to the window selection.
9357 * mouse.el (mouse-drag-track): Remove hacks to deal with old
9358 select-active-regions implementation.
9359 (mouse-yank-at-click): Doc fix.
9361 * cus-start.el: Add custom declaration for select-active-regions.
9363 2010-08-07 Eli Zaretskii <eliz@gnu.org>
9365 * simple.el (delete-forward-char): Doc fix.
9367 * tutorial.el (help-with-tutorial): Hack safe file-local variables
9368 after reading the tutorial.
9370 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
9372 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
9373 Fix for the case that a C style comment has its delimiters alone on
9374 their respective lines. (Bug#193)
9376 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
9378 * net/tramp.el (tramp-handle-start-file-process): Set connection
9380 (tramp-process-sentinel): Use it for flushing the cache.
9381 We cannot do it via the process buffer, the buffer could be deleted
9382 already when running the sentinel.
9384 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
9386 * comint.el (comint-mode): Make directory tracking functions
9387 functional on remote files. (Bug#6764)
9389 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
9391 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
9393 2010-08-05 Eli Zaretskii <eliz@gnu.org>
9395 * emacs-lisp/find-gc.el (find-gc-source-files):
9396 Rename unexec.c => unexcoff.c.
9398 * emacs-lisp/authors.el (authors-fixed-entries):
9399 Rename unexec.c => unexcoff.c.
9401 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
9403 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
9404 cache, not only file cache.
9405 (tramp-process-sentinel): New defun.
9406 (tramp-handle-start-file-process): Use it, in order to invalidate
9409 2010-08-03 Leo <sdl.web@gmail.com>
9411 * server.el (server-start): Simplify loop.
9413 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
9415 * frame.el (screen-height, screen-width, set-screen-width)
9416 (set-screen-height): Remove ancient compatibility aliases.
9418 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
9419 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
9421 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
9422 that change current buffer.
9424 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9426 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
9427 beginning of the string. Use `string-match-p'. (Bug#6765)
9429 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
9431 * cus-start.el (x-gtk-use-system-tooltips): New variable.
9433 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
9435 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
9436 (package--builtins): Tweak descriptions.
9437 (package-print-package): Upcase descriptions if necessary.
9438 Show all built-in packages in font-lock-builtin-face.
9439 (package-list-packages-internal): Omit "emacs" package.
9440 Show status of built-in packages as "built-in".
9442 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
9444 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
9445 before killing to preserve the primary selection (Bug#6701).
9447 * term/x-win.el (x-select-text): Doc fix.
9449 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
9451 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
9452 (objc-font-lock-extra-types):
9453 * progmodes/cc-mode.el (c-basic-common-init):
9454 * progmodes/cc-langs.el (c-make-mode-syntax-table)
9455 (c++-make-template-syntax-table)
9456 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
9457 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
9458 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
9459 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
9460 * progmodes/cc-fonts.el (c-make-inverse-face)
9461 (c-basic-matchers-after):
9462 * progmodes/cc-engine.el (c-forward-keyword-clause)
9463 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
9464 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
9465 (c-guess-continued-construct, c-guess-basic-syntax):
9466 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
9467 The above functions were modified or created.
9469 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
9471 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
9473 2010-07-31 Eli Zaretskii <eliz@gnu.org>
9475 * files.el (bidi-paragraph-direction): Define safe local values.
9477 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
9478 language-info-alist. Remove outdated FIXME in a comment.
9480 2010-07-31 Alan Mackenzie <acm@muc.de>
9482 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
9483 Auto-fill broken in C/C++ modes.
9485 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
9487 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9488 (menu-bar-showhide-tool-bar-menu-customize-disable)
9489 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9490 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
9491 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
9492 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
9493 make a menu for Options => toolbar that can move it.
9495 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
9497 * emacs-lisp/package-x.el (package--make-rss-entry):
9498 (package-maint-add-news-item, package--update-news)
9499 (package-upload-buffer-internal): New arg ARCHIVE-URL.
9501 * emacs-lisp/package.el (package-archive-url): Rename from
9503 (package-install): Doc fix.
9504 (package-download-single, package-download-tar, package-install)
9505 (package-menu-view-commentary): Callers changed.
9507 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
9509 * net/tramp.el (tramp-handle-start-file-process): Check only for
9510 `remote-tty' process property.
9511 (tramp-open-shell): Don't check for tty.
9512 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
9515 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
9518 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
9520 * emacs-lisp/package.el (package-load-list, package-archives)
9521 (package-archive-contents, package-user-dir)
9522 (package-directory-list, package--builtins, package-alist)
9523 (package-activated-list, package-obsolete-alist): Mark as risky.
9525 2010-07-28 Phil Hagelberg <phil@evri.com>
9527 Add support for non-default package repositories.
9528 * emacs-lisp/package.el (package-archive-base): Var deleted.
9529 (package-archives): New variable.
9530 (package-archive-contents): Doc fix.
9531 (package-load-descriptor): Do nothing if descriptor file is missing.
9532 (package--write-file-no-coding): New function.
9533 (package-unpack-single): Use it.
9534 (package-archive-id): New function.
9535 (package-download-single, package-download-tar)
9536 (package-menu-view-commentary): Use it.
9537 (package-installed-p): Make second argument optional.
9538 (package-read-all-archive-contents): New function.
9539 (package-initialize): Use it.
9540 (package-read-archive-contents): Add ARCHIVE argument.
9541 (package--add-to-archive-contents): New function.
9542 (package-install): Don't call package-read-archive-contents.
9543 (package--download-one-archive): Store archive file in a
9544 subdirectory of package-user-dir.
9545 (package-menu-execute): Remove spurious line movement.
9547 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
9549 * cus-start.el (tool-bar-style): Add text-image-horiz.
9551 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9553 * progmodes/gud.el (gud-common-init): Check for remoteness of
9554 `file', and not of `default-directory'.
9556 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9558 * net/tramp.el (tramp-methods): Move hostname to the end in all
9559 ssh `tramp-login-args'.
9560 (tramp-verbose): Describe verbose level 9.
9561 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
9562 (tramp-open-connection-setup-interactive-shell): Trace stty
9563 settings if `tramp-verbose' >= 9.
9564 (tramp-handle-start-file-process): Implement tty setting.
9565 (Bug#4604, Bug#6360)
9567 * net/tramp-cmds.el (tramp-bug): Recommend setting of
9568 `tramp-verbose' to 9.
9570 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
9572 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
9573 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
9574 Remove references to package `lisp-re' (bug#4369).
9576 2010-07-27 Tom Tromey <tromey@redhat.com>
9578 * progmodes/js.el (js-mode):
9579 * progmodes/make-mode.el (makefile-mode):
9580 * progmodes/simula.el (simula-mode):
9581 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
9583 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
9585 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
9587 * time.el (display-time-day-and-date): Remove spurious * in docstring.
9588 (display-time-world-buffer-name, display-time-world-mode-map):
9589 Fix typos in docstrings.
9591 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
9593 * image-mode.el (image-display-size): New function.
9594 (image-forward-hscroll, image-next-line, image-eol, image-eob)
9595 (image-mode-fit-frame): Use it (Bug#6639).
9597 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
9599 * dired.el (dired-buffers-for-dir): Handle list values of
9600 dired-directory (Bug#6636).
9602 2010-07-26 Sam Steingold <sds@gnu.org>
9604 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
9605 Do not call `x-get-selection' the second time, reuse the value.
9607 2010-07-26 Daiki Ueno <ueno@unixuser.org>
9609 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
9610 which consist of control chars only. Suggested by Richard Stallman.
9612 2010-07-25 Daiki Ueno <ueno@unixuser.org>
9614 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
9615 exists before passing an error to find-file-not-found-functions
9618 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
9620 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
9621 Remove leading nil element, adjust values.
9622 (tetris-shapes, tetris-shape-scores):
9623 Change representation of shapes and remove some redundancy.
9624 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
9625 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
9626 Adjust for working with new representation of shapes.
9627 (tetris-shape-rotations): New function.
9628 (tetris-move-bottom, tetris-move-left, tetris-move-right)
9629 (tetris-rotate-prev, tetris-rotate-next):
9630 Adjust for working with the new version of tetris-test-shape.
9632 2010-07-23 Markus Triska <markus.triska@gmx.at>
9634 * progmodes/ps-mode.el: Use comint (bug#5954).
9635 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
9636 (ps-mode-other-newline): Simplify.
9637 (ps-run-mode): Derive from comint-mode instead of
9638 fundamental-mode, yielding input history etc.
9639 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
9640 (ps-run-send-string): Adapt for comint-mode.
9641 (ps-run-newline): Remove now unneeded function.
9643 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9645 * net/tramp.el (tramp-methods): Move hostname to the end in all
9646 plink `tramp-login-args'.
9648 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9650 * net/tramp.el (tramp-open-shell): New defun.
9651 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9654 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9656 * net/tramp.el (tramp-file-name-regexp-unified)
9657 (tramp-completion-file-name-regexp-unified): On W32 systems, do
9658 not regard the volume letter as remote filename. (Bug#5447)
9660 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
9662 * custom.el (custom-declare-variable): Give a clearer error message
9663 when the docstring is missing (bug#6476).
9665 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
9667 * progmodes/sql.el: Version 2.4. Improved Login prompting.
9668 (sql-login-params): New widget definition.
9669 (sql-oracle-login-params, sql-mysql-login-params)
9670 (sql-solid-login-params, sql-sybase-login-params)
9671 (sql-informix-login-params, sql-ingres-login-params)
9672 (sql-ms-login-params, sql-postgres-login-params)
9673 (sql-interbase-login-params, sql-db2-login-params)
9674 (sql-linter-login-params): Use it.
9675 (sql-sqlite-login-params): Use it; Define "database" parameter as
9677 (sql-sqlite-program): Change to "sqlite3".
9678 (sql-comint-sqlite): Make sure database name is complete.
9679 (sql-for-each-login): New function.
9680 (sql-connect, sql-save-connection): Use it.
9681 (sql-get-login-ext): New function.
9682 (sql-get-login): Use it.
9683 (sql-make-alternate-buffer-name): Handle :file parameters.
9685 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
9687 * dired.el (dired-no-confirm): Document value t and fix defcustom to
9688 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
9690 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
9692 * dired.el (dired-mode-map): Use command remapping (bug#6632).
9694 2010-07-22 Lawrence Mitchell <wence@gmx.li>
9696 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
9698 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
9700 * net/tramp.el (tramp-get-ls-command)
9701 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
9704 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
9706 * progmodes/sql.el: Version 2.3.
9707 (sql-connection-alist): Change keys from symbols to strings;
9708 enhanced the widget definition.
9709 (sql-mode-menu): Add submenu to select connections.
9710 (sql-interactive-mode-menu): Add "Save Connection" item.
9711 (sql-add-product): Fix menu item.
9712 (sql-get-product-feature): Improved error handling.
9713 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
9714 (sql-make-alternate-buffer-name): Simplified.
9715 (sql-product-interactive): Handle missing product.
9716 (sql-connect): Support string keys, minor improvements.
9717 (sql-save-connection): New function.
9718 (sql-connection-menu-filter): New function.
9720 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9722 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
9723 (tramp-open-connection-setup-interactive-shell):
9724 Apply workaround for IRIX64 bug. Move argument of last
9725 `tramp-send-command' where it belongs to.
9727 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9729 * net/tramp.el (tramp-perl-file-attributes)
9730 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
9731 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
9732 front of `login-args'.
9734 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
9736 * time.el (display-time-world-mode): Define with `define-derived-mode'.
9737 Set `show-trailing-whitespace' to nil.
9738 (display-time-world-display): Simplify.
9740 2010-07-18 Alan Mackenzie <acm@muc.de>
9742 Enhance `c-file-style' in file/directory local variables.
9743 * progmodes/cc-mode.el (c-count-cfss): New function.
9744 (c-before-hack-hook): Call `c-set-style' differently according to
9745 whether c-file-style was set in file or directory local
9748 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
9750 * progmodes/sql.el: Version 2.2.
9751 (sql-product, sql-user, sql-database, sql-server, sql-port):
9752 Use defcustom :safe keyword rather than putting safe-local-variable
9754 (sql-password): Use defcustom :risky keyword rather than putting
9755 risky-local-variable property.
9756 (sql-oracle-login-params, sql-sqlite-login-params)
9757 (sql-solid-login-params, sql-sybase-login-params)
9758 (sql-informix-login-params, sql-ingres-login-params)
9759 (sql-ms-login-params, sql-postgres-login-params)
9760 (sql-interbase-login-params, sql-db2-login-params)
9761 (sql-linter-login-params): Add `port' option.
9762 (sql-get-product-feature): Add NO-INDIRECT parameter.
9763 (sql-comint-oracle, sql-comint-sybase)
9764 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
9765 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
9766 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
9767 (sql-comint-linter): Rename sql-connect-* functions to
9769 (sql-product-alist, sql-mode-menu): Rename as above and
9770 :sqli-connect-func to :sqli-comint-func.
9771 (sql-connection): New variable.
9772 (sql-interactive-mode): Set it.
9773 (sql-connection-alist): New variable.
9774 (sql-connect): New function.
9775 (sql--alt-buffer-part, sql--alt-if-not-empty)
9776 (sql-make-alternate-buffer-name): Improved alternative buffer name.
9778 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9780 * image-mode.el (image-bookmark-make-record): Do not set context
9781 in an image (Bug#6650).
9783 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9785 * simple.el (select-active-region): New function.
9786 (push-mark-command, set-mark, activate-mark)
9787 (handle-shift-selection): Use it.
9788 (deactivate-mark): Don't check for size of region.
9790 * mouse.el (mouse-drag-track): Use select-active-region.
9792 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
9794 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
9797 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9799 * term/x-win.el (x-select-enable-primary): Change default to nil.
9800 (x-select-enable-clipboard): Add :version keyword.
9802 * mouse.el (mouse-drag-copy-region):
9803 * simple.el (select-active-regions): Likewise.
9805 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
9807 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
9808 (vc-coding-system-for-diff): Use it to decide whether to inherit
9809 from the file the EOL format for reading the diffs of that file.
9812 2010-07-16 Eli Zaretskii <eliz@gnu.org>
9814 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
9815 unibyte, so compressed attachments are not compressed again.
9817 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
9819 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
9820 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9821 (tramp-find-shell): Simplify setting connection property.
9822 (tramp-get-ls-command): Make test for "--color=never" stronger.
9824 2010-07-15 Simon South <ssouth@member.fsf.org>
9826 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9827 blocks within record declarations (i.e. variant parts) correctly.
9829 2010-07-15 Simon South <ssouth@member.fsf.org>
9831 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9832 over literal tokens when parsing so newlines aren't "absorbed" by
9833 single-line comments. Corrects the indentation of case blocks
9834 that have a comment on the first line.
9836 2010-07-14 Karl Fogel <kfogel@red-bean.com>
9838 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9839 by Drew Adams (Bug#5504).
9841 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
9843 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9844 now that Unicode is used (Bug#6594).
9846 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
9848 * term/x-win.el (x-select-enable-clipboard): Default to t.
9849 (x-initialize-window-system): Don't overwrite Paste menu item.
9851 * simple.el (select-active-regions): Default to t.
9852 (push-mark-command): Don't overwrite primary with empty string.
9854 * mouse.el: Bind mouse-2 to mouse-yank-primary.
9855 (mouse-drag-copy-region): Default to nil.
9857 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9858 Cut/Copy/Paste menu bar items.
9860 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9862 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9863 Patch applied by Karl Fogel.
9865 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9866 and `bookmark-current-buffer' if they have been already set in
9867 another buffer (e.g gnus-art).
9869 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9870 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9872 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9874 * bookmark.el (bookmark-make-record-default): Allow unneeded
9875 information to be omitted from the record.
9877 Adjust declarations and calls:
9879 * info.el (bookmark-make-record-default): Adjust declaration.
9880 (Info-bookmark-make-record): Adjust call.
9882 * woman.el (bookmark-make-record-default): Adjust declaration.
9883 (woman-bookmark-make-record): Adjust call.
9885 * man.el (bookmark-make-record-default): Adjust declaration.
9886 (Man-bookmark-make-record): Adjust call.
9888 * image-mode.el (bookmark-make-record-default): Adjust declaration.
9890 * doc-view.el (bookmark-make-record-default): Adjust declaration.
9892 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9894 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9895 This is also from Thierry Volpiatto's patch in bug #6444. However,
9896 because it was extraneous to the functional change in that patch,
9897 and causes a re-indendation, I am committing it separately.
9899 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9901 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9902 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9903 Patch applied by Karl Fogel (Bug#6444).
9905 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
9907 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9909 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
9911 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9912 Dempsky; bug#5084). Remove incorrect binding for S-tab.
9913 (ns-alternatives-map): Change S-tab binding to backtab
9916 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9919 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
9921 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9924 * language/tv-util.el (tai-viet-re): Remove format.
9926 2010-07-12 Kenichi Handa <handa@m17n.org>
9928 * language/hebrew.el: Remove no-byte-compile declaration.
9929 Change coding: tag to utf-8. Register hebrew-shape-gstring in
9930 composition-function-table for 3-character looking back.
9931 (hebrew-font-get-precomposed): New function.
9932 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9934 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
9936 * mouse.el (mouse-drag-track): Handle select-active-regions
9939 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
9941 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9942 empty argument to gvfs-copy.
9944 2010-07-10 Glenn Morris <rgm@gnu.org>
9946 * calendar/calendar.el (calendar-week-end-day): New function.
9947 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9948 Respect calendar-week-start-day. (Bug#6606)
9949 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9950 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9951 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9952 respect calendar-week-start-day.
9954 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
9956 * simple.el (use-region-p): Doc fix (Bug#6607).
9958 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
9960 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9961 Add regexps for cucumber and ruby.
9963 2010-07-08 Daiki Ueno <ueno@unixuser.org>
9965 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9966 (epa-file-insert-file-contents): Hack to prevent
9967 find-file from opening empty buffer when decryption failed
9970 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
9972 * textmodes/ispell.el (ispell-alternate-dictionary):
9973 Use file-readable-p.
9974 Return nil if no word-list is found at default locations.
9975 (ispell-complete-word-dict): Default to nil.
9976 (ispell-command-loop): Use 'word-list' when using lookup-words.
9977 (lookup-words): Use ispell-complete-word-dict or
9978 ispell-alternate-dictionary. Check for word-list availability
9979 and handle errors if needed with better messages (Bug#6539).
9980 (ispell-complete-word): Use ispell-complete-word-dict or
9981 ispell-alternate-dictionary.
9983 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
9985 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9986 builtins (BufferError, BytesWarning, WindowsError; callables
9987 bin, bytearray, bytes, format, memoryview, next, print; __package__).
9989 2010-07-07 Glenn Morris <rgm@gnu.org>
9991 * play/zone.el (top-level): Do not require timer, tabify, or cl.
9992 (zone-shift-left): Ignore intangibility, and any errors from
9994 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
9995 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9996 deleting, and copying text properties.
9997 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9998 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9999 to point-max is hard.
10000 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
10001 (zone-fill-out-screen): Ignore intangibility.
10003 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
10005 * menu-bar.el (menu-bar-mode):
10006 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
10007 if it has been set.
10009 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
10010 word/line selection (Bug#6565).
10012 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
10014 * net/dbus.el (dbus-send-signal): Declare function.
10016 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
10018 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
10019 (dbus-register-property): New optional argument EMITS-SIGNAL.
10020 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
10022 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
10024 * mouse.el (mouse-drag-overlay): Variable deleted.
10025 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
10026 (mouse--remap-link-click-p): New function.
10027 (mouse-drag-track): Handle dragging by using temporary Transient
10028 Mark mode, instead of a special overlay.
10029 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
10032 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
10035 2010-07-02 Juri Linkov <juri@jurta.org>
10037 * autoinsert.el (auto-insert-alist): Fix readability
10038 by using dotted pair notation for lambda.
10040 2010-07-02 Juri Linkov <juri@jurta.org>
10042 * faces.el (read-face-name): Rename arg `string-describing-default'
10043 to `default'. Doc fix. Display the default value in quotes
10044 in the prompt. With empty input, return the `default' arg,
10045 unless the default value is a string (in which case return nil).
10046 (describe-face): Replace the string `default' arg of `read-face-name'
10047 with the symbol `default'.
10049 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
10051 * emulation/viper-cmd.el (viper-delete-backward-char)
10052 (viper-del-backward-char-in-insert)
10053 (viper-del-backward-char-in-replace, viper-change)
10054 (viper-backward-indent): Replace delete-backward-char with
10055 delete-char (Bug#6552).
10057 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
10059 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
10061 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
10063 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
10064 argument passed to frame-creation-function (Bug#5378).
10066 * faces.el (x-handle-named-frame-geometry)
10067 (x-handle-reverse-video, x-create-frame-with-faces)
10068 (face-set-after-frame-default, tty-create-frame-with-faces):
10069 Don't separately consult default-frame-alist. It is now passed as the
10070 PARAMETER argument.
10072 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
10074 * startup.el (command-line): Don't call tool-bar-setup in a
10077 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
10079 * ruler-mode.el (ruler--save-header-line-format): New fun.
10080 (ruler-mode): Use it as a setter function, so as not to overwrite
10081 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
10083 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
10085 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
10086 (vc-root-diff, vc-print-root-log, vc-log-incoming)
10087 (vc-log-outgoing): Use it.
10088 (vc-diff-internal): Set diff-vc-backend.
10090 * vc/diff-mode.el (diff-vc-backend): New var.
10092 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
10094 * dynamic-setting.el (font-setting-change-default-font):
10095 Remove call to message.
10097 2010-06-28 Kenichi Handa <handa@m17n.org>
10099 * international/quail.el (quail-insert-kbd-layout): Fix the
10100 showing of untranslated characters.
10102 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
10104 * simple.el (delete-active-region): New option.
10105 (delete-backward-char): Implement in Lisp.
10106 (delete-forward-char): New command.
10108 * mouse.el (mouse-region-delete-keys): Delete.
10109 (mouse-show-mark): Simplify.
10111 * bindings.el (global-map): Bind delete and DEL, the former to
10112 delete-forward-char.
10114 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
10116 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
10117 (ruby-mode): Bind indent-line-function (Bug#5119).
10119 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
10121 * startup.el (command-line): Recognize "0" X resource value.
10123 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
10125 * startup.el (command-line): Use X resources to set the value of
10126 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
10128 * menu-bar.el (menu-bar-mode):
10129 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
10130 Set init-value to t.
10132 * frame.el (frame-notice-user-settings): Don't change
10133 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
10134 vice versa (Bug#2249).
10136 2010-06-26 Eli Zaretskii <eliz@gnu.org>
10138 * w32-fns.el (w32-convert-standard-filename): Doc fix.
10140 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
10142 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
10143 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
10145 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
10146 default directories are expanded (Bug#6143).
10148 2010-06-24 Juri Linkov <juri@jurta.org>
10150 * minibuffer.el (completions-format): Change default from nil to
10151 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
10153 2010-06-24 Juri Linkov <juri@jurta.org>
10155 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
10156 buffer-locally to lambda that re-runs the vc diff command.
10159 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
10161 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
10162 echo area is in use (Bug#3412).
10164 2010-06-22 Glenn Morris <rgm@gnu.org>
10166 * textmodes/texinfmt.el (texinfo-format-region)
10167 (texinfo-raise-lower-sections, texinfo-format-separate-node)
10168 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
10169 (texinfo-format-option, texinfo-noindent):
10170 Use line-beginning-position and line-end-position.
10172 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
10173 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
10174 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
10177 2010-06-21 Karl Fogel <kfogel@red-bean.com>
10179 * play/zone.el (zone-fall-through-ws): Fix next-line ->
10180 forward-line fallout.
10182 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
10184 * mouse.el (mouse-appearance-menu): Add docstring.
10186 * help.el (describe-key): Print up-event using key-description.
10188 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
10190 * net/zeroconf.el (zeroconf-resolve-service)
10191 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
10192 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
10194 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
10196 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
10198 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
10200 Avoid displaying files with a nil state in vc-dir.
10201 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
10202 cases that cause insertion.
10203 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
10206 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
10208 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
10210 2010-06-29 Leo <sdl.web@gmail.com>
10212 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
10214 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10216 * generic-x.el (bat-generic-mode): Fix regexp for command line
10217 switches (Bug#5719).
10219 2010-06-27 Masatake YAMATO <yamato@redhat.com>
10221 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
10222 of nconc to avoid pure storage error (Bug#6239).
10224 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
10226 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
10227 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
10228 bindings of bookmark-automatically-show-annotations (Bug#6515).
10230 2010-06-25 Eli Zaretskii <eliz@gnu.org>
10232 * arc-mode.el (archive-zip-extract): Don't quote the file name on
10233 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
10235 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
10237 * comint.el (make-comint, make-comint-in-buffer): Mention return
10238 value in the docstrings. (Bug#6498)
10240 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
10242 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
10243 since it is not present when using some non-default switches.
10245 2010-06-23 Karl Fogel <kfogel@red-bean.com>
10247 * simple.el (compose-mail): Fix doc string to refer to
10248 `compose-mail-user-agent-warnings', instead of to the
10249 nonexistent `compose-mail-check-user-agent'.
10251 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
10253 Fix an indentation bug:
10255 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
10256 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
10257 of existing values.
10259 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
10260 (c-clear->-pair-props-if-match-before): now return t when they've
10261 cleared properties, nil otherwise.
10262 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
10263 by taking account of the existing value.
10265 * progmodes/cc-defs.el
10266 (c-clear-char-property-with-value-function): Fix this to clear the
10267 property rather than overwriting it with nil.
10269 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
10271 * emacs-lisp/package.el (package-print-package): Add link to
10272 package description via describe-package.
10273 (describe-package-1): List package requirements. Add button to
10274 perform installation.
10275 (package-menu-describe-package): New command.
10277 * help-mode.el (help-package): New button type.
10279 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
10281 * emacs-lisp/package.el: Move package-list-packages binding to
10283 (describe-package, describe-package-1, package--dir): New funs.
10284 (package-activate-1): Use package--dir.
10286 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
10288 * help-mode.el (help-package-def): New button type.
10290 * menu-bar.el: Move package-list-packages binding here from
10293 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
10295 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
10297 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10299 * emacs-lisp/edebug.el (edebug-read-list):
10300 Phase out old-style backquotes.
10302 2010-06-17 Juri Linkov <juri@jurta.org>
10304 * help-mode.el (help-mode): Set buffer-local variable
10305 revert-buffer-function to help-mode-revert-buffer.
10306 (help-mode-revert-buffer): New function.
10308 * info.el (Info-revert-find-node): Check for major-mode Info-mode
10309 before popping to "*info*" (like in other Info functions).
10310 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
10311 old-history-forward. Pop to old-buffer-name or "*info*" to
10312 recreate the killed buffer. Set Info-history-forward from
10313 old-history-forward.
10314 (Info-breadcrumbs-depth): Add :group and :version.
10316 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
10318 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
10320 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
10322 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
10323 for languages like Portuguese with pt_{BR,PT} and no plain pt.
10325 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
10327 * emacs-lisp/package.el (package-menu-mode-map):
10328 Move initialization into declaration.
10330 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
10332 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
10334 * emacs-lisp/package.el (package-archive-base): Point to
10336 (package-enable, package-load-list): New defcustoms.
10337 (package-user-dir, package-directory-list): Turn into defcustoms.
10338 Don't include package-user-dir in package-directory-list.
10339 (package--builtins-base): Don't include Emacs as a "package".
10340 (package-subdirectory-regexp): New var.
10341 (package-load-all-descriptors, package-compute-transaction)
10342 (package-download-transaction): Obey package-load-list.
10343 (package-activate-1): Rename from package-do-activate.
10344 (package-list-packages-internal): Check package-load-list.
10345 (package-load-descriptor, package-generate-autoloads)
10346 (package-unpack, package-unpack-single)
10347 (package--read-archive-file, package-delete):
10348 Use expand-file-name.
10350 * emacs-lisp/package-x.el: New file. Package uploading
10351 functionality split out from package.el.
10353 * startup.el (command-line): Load packages after reading init file.
10355 2010-06-17 Tom Tromey <tromey@redhat.com>
10357 * emacs-lisp/package.el: New file.
10359 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
10361 Fix vc-annotate for renamed files when using Git.
10362 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
10363 ls-files. Doe not pass the object as a file name to cat-file, it
10364 is not a file name.
10365 (vc-git-annotate-command): Pass the file name using -- to avoid
10366 ambiguity with the revision.
10367 (vc-git-previous-revision): Pass a relative file name.
10369 2010-06-22 Glenn Morris <rgm@gnu.org>
10371 * progmodes/js.el (js-mode-map): Use standard capitalization and
10372 ellipses for menu entries.
10374 * wid-edit.el (widget-complete): Doc fix.
10376 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
10378 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
10380 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
10382 Fix annotating other revisions for renamed files in vc-annotate.
10383 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
10384 VC backend. Use it when non-nil.
10385 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
10388 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
10389 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10390 Do not pass the file name to the 'previous-revision call when we
10391 don't want a file diff. (Bug#6489)
10393 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
10395 Fix finding revisions for renamed files in vc-annotate.
10396 * vc/vc.el (vc-find-revision): Add an optional argument for
10397 the VC backend. Use it when non-nil.
10398 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
10399 backend to vc-find-revision. (Bug#6487)
10401 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
10403 Fix reading file names in Git annotate buffers.
10404 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
10405 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
10407 2010-06-20 Alan Mackenzie <acm@muc.de>
10409 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
10410 in file local variables, set it first.
10412 2010-06-19 Glenn Morris <rgm@gnu.org>
10414 * descr-text.el (describe-char-unicode-data): Insert separating
10415 space when needed. (Bug#6422)
10417 * progmodes/idlwave.el (idlwave-action-and-binding):
10418 Fix typo in 2009-12-03 change. (Bug#6450)
10420 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10422 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
10423 handling for `lambda' (misunderstanding).
10425 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
10427 * calc/calc-poly.el (math-accum-factors): Make sure that
10428 constants aren't distributed after they are factored out.
10430 2010-06-16 Juri Linkov <juri@jurta.org>
10432 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
10433 `list-colors-print'. (Bug#6332)
10435 * subr.el (read-quoted-char): Fix up last change (bug#6290).
10437 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
10439 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
10440 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
10442 * font-lock.el (font-lock-major-mode): Rename from
10443 font-lock-mode-major-mode to distinguish it from
10444 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
10445 (font-lock-set-defaults):
10446 * font-core.el (font-lock-default-function): Adjust users.
10447 (font-lock-mode): Don't set it at all.
10449 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
10451 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
10453 2010-06-16 Glenn Morris <rgm@gnu.org>
10455 * calendar/appt.el (appt-time-msg-list): Doc fix.
10456 (appt-check): Let-bind appt-warn-time.
10457 (appt-add): Make the 3rd argument optional.
10458 Simplify argument names. Doc fix. Check for integer WARNTIME.
10459 Only add WARNTIME to the output list if non-nil.
10461 2010-06-16 Ivan Kanis <apple@kanis.eu>
10463 * calendar/appt.el (appt-check): Let the 3rd element of
10464 appt-time-msg-list specify the warning time.
10465 (appt-add): Add new argument with the warning time. (Bug#5176)
10467 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10469 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
10470 older than version 1.6. (Bug#6361)
10472 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
10474 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
10475 used by cl-do-arglist. (Bug#6408)
10477 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
10479 * textmodes/ispell.el (ispell-dictionary-base-alist):
10480 Fix portuguese casechars/not-casechars for missing 'çÇ'.
10481 Suggested by Rolando Pereira (bug#6434).
10483 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
10485 * facemenu.el (list-colors-sort): Doc fix.
10487 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10489 * progmodes/sql.el (sql-connect-mysql): Fix typo.
10491 2010-06-14 Juri Linkov <juri@jurta.org>
10493 Add sort option `list-colors-sort'. (Bug#6332)
10494 * facemenu.el (color-rgb-to-hsv): New function.
10495 (list-colors-sort): New defcustom.
10496 (list-colors-sort-key): New function.
10497 (list-colors-display): Doc fix. Sort list according to the option
10498 `list-colors-sort'.
10499 (list-colors-print): Add HSV values to `help-echo' property of
10502 2010-06-14 Juri Linkov <juri@jurta.org>
10504 * compare-w.el: Move to the "vc" subdirectory.
10506 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10508 * image-mode.el (image-mode-map): Remap left-char and right-char.
10510 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
10512 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
10514 * term/common-win.el (x-colors): Add all the color names defined
10515 in rgb.txt (Bug#6332).
10517 * facemenu.el (list-colors-print): Don't print extra names if it
10518 will overflow the window width.
10520 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
10523 2010-06-12 Eli Zaretskii <eliz@gnu.org>
10525 * files.el (make-directory): Doc fix (bug#6396).
10527 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
10529 * net/tramp.el (tramp-remote-process-environment): Protect version
10530 string by apostroph.
10531 (tramp-shell-prompt-pattern): Do not use a shy group in case of
10533 (tramp-file-name-for-operation): Add `call-process-region'.
10534 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
10536 * net/tramp-compat.el (top): Do not autoload
10537 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
10538 only when `start-file-process' is not bound.
10539 (tramp-advice-file-expand-wildcards): Do not use
10540 `tramp-handle-file-remote-p'.
10541 (tramp-compat-make-temp-file): Handle the case, that
10542 `make-temp-file' has no third argument EXTENSION.
10544 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
10546 * makefile.w32-in (WINS_BASIC): Include new directory vc.
10548 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
10550 2010-06-11 Juri Linkov <juri@jurta.org>
10552 * finder.el (finder-known-keywords): Add keyword "vc"
10553 for version control.
10555 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
10556 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
10557 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
10558 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
10560 2010-06-11 Juri Linkov <juri@jurta.org>
10562 Move version control related files to the "vc" subdirectory.
10563 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
10564 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
10565 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
10566 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
10567 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
10568 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
10569 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
10570 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
10571 Move files to the "vc" subdirectory.
10573 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
10575 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
10578 2010-06-11 Stephen Eglen <stephen@gnu.org>
10580 * shell.el: Bind `shell-resync-dirs' to M-RET.
10582 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
10584 * notifications.el: Move file from lisp/net, because it is
10585 supposed to talk locally to the user.
10587 2010-06-10 Julien Danjou <julien@danjou.info>
10589 * net/notifications.el (notifications-on-action-signal)
10590 (notifications-on-closed-signal): Pass notification id as first
10591 argument to the callback functions. Add docstrings.
10592 (notifications-notify): Fix docstring.
10594 2010-06-10 Glenn Morris <rgm@gnu.org>
10596 * emacs-lisp/authors.el (authors-ignored-files)
10597 (authors-valid-file-names): Add some files.
10599 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10601 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
10602 merge conflict, giving preference to the emacs-23 version of the code.
10604 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10606 * emacs-lisp/advice.el (ad-compile-function):
10607 Define warning-suppress-types before we let-bind it (bug#6275).
10609 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
10610 declare it, make it buffer-local and permanent-local (bug#6324).
10611 (vc-resynch-window): Adjust name.
10612 * vc-hooks.el (vc-find-file-hook): Adjust name.
10614 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
10616 * net/notifications.el (notifications-notify): Fix docstring.
10618 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10620 Update to Unicode 6.0.0 beta.
10621 * international/charprop.el: Update copyright.
10622 * international/mule-cmds.el (ucs-names): Update character ranges.
10623 * international/uni-bidi.el:
10624 * international/uni-category.el:
10625 * international/uni-combining.el:
10626 * international/uni-comment.el:
10627 * international/uni-decimal.el:
10628 * international/uni-decomposition.el:
10629 * international/uni-digit.el:
10630 * international/uni-lowercase.el:
10631 * international/uni-mirrored.el:
10632 * international/uni-name.el:
10633 * international/uni-numeric.el:
10634 * international/uni-old-name.el:
10635 * international/uni-titlecase.el:
10636 * international/uni-uppercase.el: Regenerate.
10638 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10640 * emacs-lisp/smie.el (comment-string-strip): Declare function.
10641 (smie-precs-precedence-table): Fix typo in docstring.
10643 * vc-mtn.el (log-edit-extract-headers): Declare function.
10645 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
10647 * net/notifications.el (dbus-register-signal): Declare function.
10648 (notifications-notify): Fix typos and reflow docstring.
10650 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10652 Improve VC create/retrieve tag/branch.
10653 * vc.el (vc-create-tag): Do not read the directory name for VCs
10654 with repository revision granularity. Adjust the tag/branch
10655 prompt. Reset VC properties.
10656 (vc-retrieve-tag): Do not read the directory name for VCs
10657 with repository revision granularity. Reset VC properties.
10659 2010-06-09 Julien Danjou <julien@danjou.info>
10661 * net/notifications.el: New file.
10663 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10665 Add optional support for resetting VC properties.
10666 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
10667 call vc-file-clearprops when true.
10668 (vc-resynch-buffer): Add new optional argument, pass it down.
10669 (vc-resynch-buffers-in-directory): Likewise.
10671 Improve support for special markup in the VC commit message.
10672 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
10673 * vc-hg.el (vc-hg-checkin): Add support for Date:.
10674 * vc-git.el (vc-git-checkin):
10675 * vc-bzr.el (vc-bzr-checkin): Likewise.
10677 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10679 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
10680 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
10682 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
10684 * iimage.el: Remove images as soon as the underlying text is modified.
10685 (iimage-modification-hook): New function.
10686 (iimage-mode-buffer): Use it.
10688 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10690 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
10691 smie-indent-offset-after. Add :prev case. Make a bit more generic.
10692 (smie-indent-virtual): Remove `virtual' arg. Update callers.
10693 (smie-indent-keyword): Add handling of open-paren keywords.
10694 (smie-indent-comment-continue): Don't assume comment-continue.
10696 2010-06-07 Martin Rudalics <rudalics@gmx.at>
10698 * window.el (pop-to-buffer): Remove the conditional that
10699 compares new-window and old-window, so it will reselect
10700 the selected window unconditionally.
10701 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
10703 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10705 * emacs-lisp/smie.el (smie-indent-offset-after)
10706 (smie-indent-forward-token, smie-indent-backward-token): New functions.
10707 (smie-indent-after-keyword): Use them.
10708 (smie-indent-fixindent): Only applies to the indentation of the BOL.
10709 (smie-indent-keyword): Tweak the black magic.
10710 (smie-indent-comment-continue): Strip comment-continue before use.
10711 (smie-indent-functions): Indent comments before keywords.
10713 2010-06-06 Juri Linkov <juri@jurta.org>
10715 * isearch.el (isearch-lazy-highlight-search): Fix looping
10716 by checking for empty match. This syncs this loop with the
10717 similar loop in `isearch-search'. (Bug#6362)
10719 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
10721 * net/dbus.el (dbus-register-method): Declare function.
10722 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
10723 (dbus-introspect): Doc fix.
10724 (dbus-event-bus-name, dbus-introspect-get-interface)
10725 (dbus-introspect-get-argument): Reflow docstrings.
10727 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
10729 vc-log-incoming/vc-log-outgoing fixes for Git.
10730 * vc-git.el (vc-git-log-view-mode): Fix font lock for
10731 incoming/outgoing logs.
10732 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
10733 instead of vc-git-compute-remote.
10734 (vc-git-compute-remote): Remove.
10736 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
10738 * term/common-win.el (x-colors): Add "dark green" and "dark
10739 turquoise" (Bug#6332).
10741 2010-06-04 Juri Linkov <juri@jurta.org>
10743 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
10744 Instead of setting `replace' to t and replacing the same string
10745 with itself, don't do certain actions when
10746 kill-do-not-save-duplicates is non-nil and string is equal to car
10747 of kill-ring: don't call menu-bar-update-yank-menu, don't push
10748 interprogram-paste strings to kill-ring, and don't push the input
10749 argument `string' to kill-ring.
10750 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
10752 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10754 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
10756 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
10758 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
10759 (tramp-gvfs-handler-mounted-unmounted)
10760 (tramp-gvfs-connection-mounted-p): Handle default-location.
10762 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
10763 move files to trash.
10765 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10767 * international/mule-cmds.el (nonascii-insert-offset)
10768 (nonascii-translation-table): Add obsolescence information.
10770 * international/mule.el (make-translation-table-from-vector): Doc fix.
10772 2010-06-03 Glenn Morris <rgm@gnu.org>
10774 * desktop.el (desktop-clear-preserve-buffers):
10775 Add "*Warnings*" buffer. (Bug#6336)
10777 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
10779 vc-log-incoming/vc-log-outgoing improvements for Git.
10780 * vc-git.el (vc-git-log-outgoing): Use the same format as the
10782 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
10784 Add bindings for vc-log-incoming and vc-log-outgoing.
10785 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
10786 and vc-log-outgoing.
10787 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
10788 and vc-log-outgoing.
10790 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10792 * net/rcirc.el (rcirc-sort-nicknames): Remove.
10793 (rcirc-handler-366): Always sort nicknames.
10795 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
10797 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
10799 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10801 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
10803 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10805 * net/rcirc.el (rcirc-sort-nicknames): Change default.
10806 (rcirc-sort-nicknames-join): Avoid setq.
10808 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10810 * net/rcirc.el (rcirc-sort-nicknames): New custom.
10811 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
10812 (rcirc-handler-366): Use them.
10814 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10816 Split smie-indent-calculate into more manageable chunks.
10817 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
10818 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
10819 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
10820 (smie-indent-exps): Extract from smie-indent-calculate.
10821 (smie-indent-functions): New var.
10822 (smie-indent-functions): Use them.
10824 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10826 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10827 (smie-indent-calculate): Simplify and cleanup.
10829 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
10831 * net/tramp-gvfs.el (top): Require url-util.
10832 (tramp-gvfs-mount-point): Remove.
10833 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10835 (with-tramp-dbus-call-method): Format trace message.
10836 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10837 Implement backup call, when operation on local files fails.
10838 Use progress reporter. Flush properties of changed files.
10839 (tramp-gvfs-handle-make-directory): Make more traces.
10840 (tramp-gvfs-url-file-name): Hexify file name in url.
10841 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10842 into account for the resulting file name.
10843 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10844 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
10845 (tramp-gvfs-handler-mounted-unmounted)
10846 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10847 attribute "default_location". Set "prefix" property.
10848 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10849 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10850 exists. Raise an error, if not (due to a corresponding answer
10851 "no" in interactive questions, for example).
10853 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
10855 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10857 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
10859 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10860 right-*. (Bug#6265)
10862 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
10864 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10865 * vc-git.el (vc-git-compute-remote): New function.
10866 (vc-git-log-outgoing): Use it instead of hard coding a value.
10867 (vc-git-log-incoming): New function.
10869 Improve state updating for VC tag commands.
10870 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10871 to update the state of all buffers in the directory.
10873 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10875 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10877 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10878 `file-directory-p' to the filename part rather than to the whole text.
10880 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10882 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10884 2010-05-31 Drew Adams <drew.adams@oracle.com>
10886 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10888 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
10890 * subr.el (momentary-string-display): Just use read-event to read
10891 the exit event (Bug#6238).
10893 2010-05-30 Eli Zaretskii <eliz@gnu.org>
10895 * international/mule.el (define-coding-system): Doc fix (bug#6313).
10897 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10899 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10900 Suggested by Eli Zaretskii <eliz@gnu.org>.
10902 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10904 * minibuffer.el (completion-file-name-table): Don't return a boundary
10905 past the end of `string' (bug#6299).
10906 (completion--file-name-table): Delegate to completion-file-name-table
10907 for the `boundaries' case.
10909 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10911 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10914 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10915 `path-separator', but maintain compatibility with Emacs 20.2.
10917 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10919 * server.el (server-process-filter): Receive parent-id argument
10921 (server-create-window-system-frame): New arg. Pass parent-id as
10924 2010-05-29 Eli Zaretskii <eliz@gnu.org>
10926 Bidi-sensitive word movement with arrow keys.
10927 * subr.el (right-arrow-command, left-arrow-command): Move to
10930 * bindings.el (right-char, left-char): Move from subr.el and
10931 rename from right-arrow-command and left-arrow-command.
10932 (right-word, left-word): New functions.
10933 (global-map) <right>: Bind to right-char.
10934 (global-map) <left>: Bind to left-char.
10935 (global-map) <C-right>: Bind to right-word.
10936 (global-map) <C-left>: Bind to left-word.
10938 * ls-lisp.el (ls-lisp-classify-file): New function.
10939 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10940 (ls-lisp-classify): Call ls-lisp-classify-file.
10941 (insert-directory): Remove blanks from switches.
10943 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10945 * ansi-color.el: Delete unused escape sequences (Bug#6085).
10946 (ansi-color-drop-regexp): New constant.
10947 (ansi-color-apply, ansi-color-filter-region)
10948 (ansi-color-apply-on-region): Delete unrecognized control sequences.
10949 (ansi-color-apply): Build string list before calling concat.
10951 2010-05-28 Juri Linkov <juri@jurta.org>
10953 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10954 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10957 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10959 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10960 to ignored backtrace functions.
10961 (with-progress-reporter): Expand docstring.
10962 (tramp-handle-delete-file): Implement TRASH argument.
10963 (tramp-get-remote-trash): New defun.
10965 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10967 * net/tramp-compat.el (tramp-compat-delete-file):
10968 Use `symbol-value' for backward compatibility.
10970 * net/tramp.el (tramp-handle-make-symbolic-link)
10971 (tramp-handle-load)
10972 (tramp-do-copy-or-rename-file-via-buffer)
10973 (tramp-do-copy-or-rename-file-directly)
10974 (tramp-do-copy-or-rename-file-out-of-band)
10975 (tramp-handle-process-file, tramp-handle-call-process-region)
10976 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10977 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10978 (tramp-delete-temp-file-function): Use `delete-file' instead
10979 of `tramp-compat-delete-file'.
10981 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10982 (tramp-fish-handle-make-symbolic-link)
10983 (tramp-fish-handle-process-file): Use `delete-file' instead
10984 of `tramp-compat-delete-file'.
10986 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10987 Use `delete-file' instead of `tramp-compat-delete-file'.
10989 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
10990 Use `delete-file' instead of `tramp-compat-delete-file'.
10992 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10993 Use `delete-file' instead of `tramp-compat-delete-file'.
10995 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10996 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10997 (tramp-smb-handle-write-region): Use `delete-file' instead of
10998 `tramp-compat-delete-file'.
10999 (tramp-smb-handle-delete-directory): Use 'trash as arg.
11001 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
11003 * dired.el (dired-delete-file): New arg TRASH.
11004 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
11005 (dired-do-flagged-delete, dired-do-delete): Use trash.
11007 * speedbar.el (speedbar-item-delete): Allow trashing.
11009 * files.el (delete-directory): New arg TRASH.
11011 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
11012 (ange-ftp-rename-remote-to-remote)
11013 (ange-ftp-rename-local-to-remote)
11014 (ange-ftp-rename-remote-to-local, ange-ftp-load)
11015 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
11017 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
11020 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
11021 handle new TRASH arg of `delete-file'.
11023 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
11024 (tramp-handle-make-symbolic-link, tramp-handle-load)
11025 (tramp-do-copy-or-rename-file-via-buffer)
11026 (tramp-do-copy-or-rename-file-directly)
11027 (tramp-do-copy-or-rename-file-out-of-band)
11028 (tramp-handle-process-file, tramp-handle-call-process-region)
11029 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11030 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11031 (tramp-delete-temp-file-function): Use null TRASH arg in
11032 tramp-compat-delete-file call.
11034 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
11035 (tramp-fish-handle-delete-file)
11036 (tramp-fish-handle-make-symbolic-link)
11037 (tramp-fish-handle-process-file): Use null TRASH arg in
11038 `tramp-compat-delete-file' call.
11040 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
11041 arg in `tramp-compat-delete-file' call.
11043 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
11044 (tramp-gvfs-handle-write-region): Use null TRASH arg in
11045 `tramp-compat-delete-file' call.
11047 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
11048 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
11049 `tramp-compat-delete-file' call.
11051 * net/tramp-smb.el (tramp-smb-handle-copy-file)
11052 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11053 (tramp-smb-handle-write-region): Use null TRASH arg in
11054 tramp-compat-delete-file call.
11055 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
11056 (tramp-smb-handle-delete-file): Rename arg.
11058 * diff.el (diff-sentinel):
11059 * epg.el (epg--make-temp-file, epg-decrypt-string)
11060 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11061 * jka-compr.el (jka-compr-partial-uncompress)
11062 (jka-compr-call-process, jka-compr-write-region):
11063 * server.el (server-sentinel): Remove optional arg from
11064 delete-file, reverting 2010-05-03 change.
11066 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
11068 * progmodes/verilog-mode.el (verilog-type-font-keywords):
11069 Use font-lock-constant-face, not obsolete font-lock-reference-face.
11071 2010-05-27 Kenichi Handa <handa@m17n.org>
11073 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
11074 element of GSTRING is nil.
11076 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11078 * emacs-lisp/smie.el (smie-forward-token-function)
11079 (smie-backward-token-function): New vars.
11080 (smie-backward-sexp, smie-forward-sexp)
11081 (smie-indent-hanging-p, smie-indent-calculate): Use them.
11082 (smie-default-backward-token): Rename from smie-backward-token and
11084 (smie-default-forward-token): Rename from smie-forward-token and
11086 (smie-next-sexp): Handle nil results from next-token.
11087 (smie-indent-calculate): Add a new case for special `fixindent' comments.
11089 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
11091 * progmodes/verilog-mode.el (verilog-type-font-keywords):
11092 Use font-lock-constant-face, not obsolete font-lock-reference-face.
11094 2010-05-27 Masatake YAMATO <yamato@redhat.com>
11096 * htmlfontify.el (hfy-face-resolve-face): New function.
11097 (hfy-face-to-style): Use it (Bug#6279).
11099 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11101 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
11102 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
11104 2010-05-26 Glenn Morris <rgm@gnu.org>
11106 * emulation/edt.el (edt-load-keys): Use locate-library.
11108 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
11110 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
11111 (log-edit-changelog-entries): Doc fix.
11112 (log-edit-changelog-insert-entries): Args changed.
11113 Rename relative filenames in ChangeLog entries. Delete tabs.
11114 (log-edit-insert-changelog-entries): Reorganize return value of
11115 `log-edit-changelog-entries' to pass filenames to
11116 log-edit-changelog-insert-entries.
11118 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11120 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
11121 `image-dired-dired-insert-marked-thumbs' to
11122 `image-dired-dired-toggle-marked-thumbs'.
11124 * image-dired.el: Require cl when compiling.
11125 (image-dired-dired-toggle-marked-thumbs): Rename from
11126 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
11127 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
11128 to 'no-dir. Skip files whose names don't match
11129 `image-file-name-regexp'. When file has a thumbnail overlay,
11130 delete it. (Bug#5270)
11132 2010-05-25 Juri Linkov <juri@jurta.org>
11134 * image-mode.el (image-mode): Add image-after-revert-hook to
11136 (image-after-revert-hook): New function. (Bug#5669)
11138 2010-05-25 Juri Linkov <juri@jurta.org>
11140 * image.el (image-animated-p): When delay between animated images
11141 is 0, set it to 10 (0.1 sec). (Bug#6258)
11143 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
11145 * net/tramp.el (tramp-handle-insert-directory): Don't use
11146 `forward-word', its default syntax could be changed.
11148 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
11150 * net/tramp.el (tramp-progress-reporter-update): New defun.
11151 (with-progress-reporter): Use it.
11152 (tramp-process-actions):
11153 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
11154 Preserve current message, in order to let progress reporter continue
11155 afterwards. (Bug#6257)
11157 2010-05-25 Glenn Morris <rgm@gnu.org>
11159 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
11162 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
11164 * net/rcirc.el (rcirc-default-user-name): Change to "user".
11165 (rcirc-default-full-name): Change to "unknown".
11166 (rcirc-user-name-history): Add variable.
11168 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
11169 Jonathan Rockway <jon@jrock.us>
11171 * net/rcirc.el (rcirc-server-alist): Add :pass.
11172 (rcirc): When prompting for connection parameters, also prompt for
11173 username and password.
11174 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
11175 value to server when connecting.
11177 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11179 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
11180 (smie-merge-prec2s): Pass the tables as separate args.
11181 (smie-bnf-precedence-table): Adjust call accordingly.
11182 (smie-prec2-levels): Set levels at the end.
11184 Replace Lisp calls to delete-backward-char by delete-char.
11185 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
11186 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
11187 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
11188 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
11189 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
11190 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
11191 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
11192 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
11193 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
11194 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
11195 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
11196 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
11197 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
11198 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
11199 delete-backward-char by calls to delete-char.
11201 2010-05-25 Kenichi Handa <handa@m17n.org>
11203 * language/hebrew.el (hebrew-shape-gstring): New function.
11204 Register it in composition-function-table for all Hebrew combining
11207 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11209 * epa.el (epa--select-keys): Don't explicitly delete the window since
11210 that can fail (e.g. sole window in frame). Use dedication instead.
11212 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11214 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
11216 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
11218 * image.el (image-refresh): Define as an alias for image-flush.
11220 * image-mode.el (image-toggle-display-image): Caller changed.
11222 2010-05-21 Juri Linkov <juri@jurta.org>
11224 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
11225 Remove "all" from grep-files-aliases. Split grep-files-aliases by
11226 whitespace, call wildcard-to-regexp on substrings and concat them
11227 with "\\|". (Bug#6114)
11229 2010-05-21 Alan Mackenzie <acm@muc.de>
11231 * progmodes/cc-engine.el (c-parse-state-get-strategy):
11232 Replace parameter `here' with `here-' and `here-plus', which sandwich
11233 any pertinent CPP construct.
11234 (c-remove-stale-state-cache-backwards): Fix a bug which happens
11235 when doing (c-parse-state) in a CPP construct: Exclude any "new"
11236 CPP construct from taking part in the scanning.
11238 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
11240 * net/tramp.el (tramp-do-copy-or-rename-file)
11241 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
11242 Tune `with-progress-reporter' messages.
11243 (tramp-handle-vc-registered):
11244 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
11245 (tramp-fish-handle-insert-file-contents)
11246 (tramp-fish-maybe-open-connection):
11247 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11248 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
11249 (tramp-imap-handle-insert-file-contents)
11250 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
11252 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
11254 * add-log.el (change-log-font-lock-keywords):
11255 Highlight all authors in multi-author entries.
11257 * smerge-mode.el (smerge-refine-ignore-whitespace)
11258 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
11259 Fix typos in docstrings.
11260 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
11262 2010-05-21 Glenn Morris <rgm@gnu.org>
11264 * progmodes/fortran.el (fortran-mode):
11265 * progmodes/f90.el (f90-mode): Derive from prog-mode.
11267 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
11268 having a relative path in src/Makefile.in.
11270 2010-05-20 Kevin Ryde <user42@zip.com.au>
11272 * help-mode.el (help-make-xrefs): For Info node links turn
11273 newlines into spaces. Link node names with newlines are matched
11274 by help-xref-info-regexp and buttonized, this change ensures they
11275 can be followed successfully with RET. (Bug#6206)
11277 2010-05-20 Juri Linkov <juri@jurta.org>
11279 * locate.el (locate): Use pop-to-buffer instead of
11280 switch-to-buffer-other-window. (Bug#6204)
11282 2010-05-20 Juri Linkov <juri@jurta.org>
11284 * replace.el (replace-highlight): Fix lazy-highlighting
11285 for `M-s w str M-% str RET'.
11287 2009-12-15 Masatake YAMATO <yamato@redhat.com>
11289 * isearch.el (isearch-yank-word-or-char): Pull next subword
11290 when `subword-mode' is activated. (Bug#6220)
11292 2010-05-20 Mark A. Hershberger <mah@everybody.org>
11294 * isearch.el (isearch-update-post-hook): New hook.
11295 (isearch-update): Use the new hook. (Bug#6225)
11297 2010-05-20 Juri Linkov <juri@jurta.org>
11299 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
11300 [f1], [help], and (char-to-string help-char) instead of "\C-h".
11303 2010-05-20 Juri Linkov <juri@jurta.org>
11305 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
11308 2010-05-20 Juri Linkov <juri@jurta.org>
11310 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
11311 FILE-NAME to read from the minibuffer when called interactively
11312 with prefix argument instead of using buffer-file-name.
11313 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
11315 * dired.el: Update autoloads.
11317 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
11319 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
11320 nxml-finish-element, for consistency with SGML mode.
11322 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
11323 octave-close-block.
11325 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
11327 * composite.el: Require cl when compiling.
11328 (reference-point-alist, compose-gstring-for-graphic)
11329 (compose-gstring-for-terminal): Fix typos in docstrings.
11331 2010-05-19 Juri Linkov <juri@jurta.org>
11333 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
11334 set-window-parameter.
11336 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
11338 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
11340 (tramp-maybe-open-connection): Use it.
11342 2010-05-19 Eli Zaretskii <eliz@gnu.org>
11344 * simple.el (move-end-of-line): Make sure we are at line beginning
11345 before backing up to end of previous line.
11347 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
11349 * password-cache.el (password-cache-remove): Fix docstring.
11351 * net/secrets.el: Autoload the widget functions.
11352 (secrets-search-items, secrets-create-item)
11353 (secrets-get-attributes, secrets-expand-item): Attributes will be
11354 stored on the password database without leading ":", as all other
11355 clients do as well.
11356 (secrets-mode): Fix docstring.
11357 (secrets-show-secrets): Provide it as autoloaded command only when
11358 D-Bus support is available. Check existence of Secret Service API.
11360 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11362 * indent.el (indent-region): Deactivate region (bug#6200).
11364 2010-05-19 Glenn Morris <rgm@gnu.org>
11366 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
11368 2010-05-19 Kenichi Handa <handa@m17n.org>
11370 * composite.el: Register compose-gstring-for-graphic in
11371 composition-function-table only for combining characters (Mn, Mc, Me).
11373 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
11375 * calc/calc-trail.el (calc-trail-isearch-forward)
11376 (calc-trail-isearch-backward): Ensure that the new window
11377 point is set correctly.
11379 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11381 * subr.el (read-quoted-char): Resolve modifiers after key
11382 remapping (bug#6212).
11384 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
11386 Add visualization code for secrets.
11387 * net/secrets.el (secrets-mode): New major mode.
11388 (secrets-show-secrets, secrets-show-collections)
11389 (secrets-expand-collection, secrets-expand-item)
11390 (secrets-tree-widget-after-toggle-function)
11391 (secrets-tree-widget-show-password): New defuns.
11393 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11395 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
11396 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
11397 handled in smie-next-sexp.
11398 (smie-indent-calculate): Provide a starting indentation (so the
11399 recursion is well-founded ;-).
11401 Fix handling of non-associative equal levels.
11402 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
11403 when it's not needed.
11404 (smie-op-left, smie-op-right): New functions.
11405 (smie-next-sexp): New function, extracted from smie-backward-sexp.
11406 Better handle equal levels to distinguish the associative case from
11407 the "multi-keyword construct" case.
11408 (smie-backward-sexp, smie-forward-sexp): Use it.
11410 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
11412 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
11414 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
11415 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
11417 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11419 Provide a simple generic indentation engine and use it for Prolog.
11420 * emacs-lisp/smie.el: New file.
11421 * progmodes/prolog.el (prolog-smie-op-levels)
11422 (prolog-smie-indent-rules): New var.
11423 (prolog-mode-variables): Use them to configure SMIE.
11424 (prolog-indent-line, prolog-indent-level): Remove.
11426 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11428 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
11429 order before computing the averages.
11431 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
11433 * calc/calc-vec.el (calc-histogram):
11434 (calcFunc-histogram): Allow vectors as inputs.
11435 (math-vector-avg): New function.
11437 * calc/calc-ext.el (math-group-float): Have the number of digits
11438 being grouped depend on the radix (Bug#6189).
11440 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
11442 * version.el (emacs-copyright, emacs-version): Don't define here,
11443 now that emacs.c defines it.
11445 2010-05-15 Eli Zaretskii <eliz@gnu.org>
11447 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
11448 "Describe Language Environment" menu item.
11450 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
11452 Bidi-sensitive movement with arrow keys.
11453 * subr.el (right-arrow-command, left-arrow-command): New functions.
11455 * bindings.el (global-map): Bind them to right and left arrow keys.
11457 Don't override standard definition of convert-standard-filename.
11458 * files.el (convert-standard-filename):
11459 Call w32-convert-standard-filename and dos-convert-standard-filename on
11460 the corresponding systems.
11462 * w32-fns.el (w32-convert-standard-filename): Rename from
11463 convert-standard-filename. Doc fix.
11465 * dos-fns.el (dos-convert-standard-filename): Doc fix.
11466 (convert-standard-filename): Don't defalias.
11467 (register-name-alist, make-register, register-value)
11468 (set-register-value, intdos): Obsolete aliases for the
11469 corresponding dos-* functions and variables.
11470 (dos-intdos): Add a doc string.
11472 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
11474 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
11475 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
11476 (math-compose-tex-func):
11477 * calc/calccomp.el (math-compose-expr):
11478 * calc/calc-ext.el (math-format-flat-expr-fancy):
11479 * calc/calc-store.el (calc-read-var-name):
11480 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
11482 * calc/calc.el (var-π, var-φ, var-γ): New variables.
11483 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
11484 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
11485 (math-standard-units): Add units.
11487 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11489 * progmodes/asm-mode.el (asm-mode):
11490 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
11492 * pcomplete.el (pcomplete-completions-at-point): New function,
11493 extracted from pcomplete-std-complete.
11494 (pcomplete-std-complete): Use it.
11496 2010-05-15 Glenn Morris <rgm@gnu.org>
11498 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11499 Remove references to CVS, RCS and Old directories.
11501 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
11503 * calc/calc-bin.el (math-format-twos-complement): Group digits when
11506 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11508 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
11509 (sh-mode-syntax-table): Give it a default value instead.
11510 (sh-header-marker): Make buffer-local.
11511 (sh-mode): Move make-local-variable to the corresponding setq.
11512 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
11513 Use complete-with-action.
11515 * simple.el (prog-mode): New (abstract) major mode.
11516 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
11517 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
11519 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
11521 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
11522 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
11523 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
11524 (sql-make-alternate-buffer-name, sql-placeholders-filter)
11525 (sql-escape-newlines-filter, sql-input-sender)
11526 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
11528 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
11530 Add TeX open-block and close-block keybindings to SGML, and vice versa.
11532 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
11533 latex-open-block and C-c / to latex-close-block.
11535 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
11536 and C-c C-e to sgml-close-tag.
11538 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
11540 * net/tramp.el (with-progress-reporter): Create reporter object
11541 only when the message would be displayed. Handle nested calls.
11542 (tramp-handle-load, tramp-handle-file-local-copy)
11543 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11544 (tramp-maybe-send-script, tramp-find-shell):
11545 Use `with-progress-reporter'.
11546 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
11549 * net/tramp-smb.el (tramp-smb-handle-copy-file)
11550 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11551 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
11552 Use `with-progress-reporter'.
11554 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
11556 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
11557 process everytime when spellchecking from the minibuffer (bug#6143).
11559 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11561 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
11563 * dos-fns.el: Add "dos-" prefix for namespace control.
11564 (convert-standard-filename): Define as alias for
11565 dos-convert-standard-filename but only if applicable.
11567 2010-05-12 Alan Mackenzie <acm@muc.de>
11569 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
11570 Push the mark at the start of these functions when appropriate.
11572 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11574 * minibuffer.el (completion-cycle-threshold): New custom var.
11575 (completion--do-completion): Use it.
11576 (minibuffer-complete): Use cycling if appropriate.
11578 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
11580 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
11581 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
11583 2010-05-11 Juri Linkov <juri@jurta.org>
11585 * scroll-all.el (scroll-all-check-to-scroll):
11586 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
11588 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11590 * iimage.el (iimage-mode-map): Move initialization into declaration.
11591 (iimage-mode-buffer): Use with-silent-modifications.
11592 Simplify calling convention. Adjust callers.
11593 (iimage-mode): Don't run hook redundantly.
11595 * minibuffer.el (completion-pcm--pattern->regex):
11596 Fix last change (bug#6160).
11598 2010-05-10 Juri Linkov <juri@jurta.org>
11600 Remove nodes visited during Isearch from the Info history.
11601 * info.el (Info-isearch-initial-history)
11602 (Info-isearch-initial-history-list): New variables.
11603 (Info-isearch-start): Record initial values of
11604 Info-isearch-initial-history and Info-isearch-initial-history-list.
11605 Add Info-isearch-end to isearch-mode-end-hook.
11606 (Info-isearch-end): New function.
11608 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
11610 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
11611 format string, in order to work around a bug in pdksh.
11612 Reported by Gilles Pion <gpion@lfdj.com>.
11613 (tramp-handle-verify-visited-file-modtime): Do not send a command
11614 when the connection is not established.
11615 (tramp-handle-set-file-times): Simplify the check for utc.
11617 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
11619 Fix use of `filter-buffer-substring' (rework previous change).
11620 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
11621 (cua-repeat-replace-region):
11622 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
11623 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11624 (cua-cut-region-to-global-mark): Use it.
11626 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
11628 * progmodes/sql.el: Version 2.1.
11629 (sql-product-alist): Redesign structure of product info.
11630 (sql-product, sql-user, sql-server, sql-database): Safe variables.
11631 (sql-port, sql-port-history): New variables.
11632 (sql-interactive-product): New variable.
11633 (sql-send-terminator): New variable.
11634 (sql-imenu-generic-expression): Add "Types" imenu entry.
11635 (sql-oracle-login-params, sql-sqlite-login-params)
11636 (sql-mysql-login-params, sql-solid-login-params)
11637 (sql-sybase-login-params, sql-informix-login-params)
11638 (sql-ingres-login-params, sql-ms-login-params)
11639 (sql-postgres-login-params, sql-interbase-login-params)
11640 (sql-db2-login-params, sql-linter-login-params)
11641 (sql-oracle-scan-on): New variables.
11642 (sql-mode-map): Add C-c C-i to start interactive mode.
11643 (sql-mode-menu): Update existing menu entries.
11644 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
11645 (sql-mode-oracle-font-lock-keywords)
11646 (sql-mode-postgres-font-lock-keywords)
11647 (sql-mode-ms-font-lock-keywords)
11648 (sql-mode-sybase-font-lock-keywords)
11649 (sql-mode-informix-font-lock-keywords)
11650 (sql-mode-interbase-font-lock-keywords)
11651 (sql-mode-ingres-font-lock-keywords)
11652 (sql-mode-solid-font-lock-keywords)
11653 (sql-mode-mysql-font-lock-keywords)
11654 (sql-mode-sqlite-font-lock-keywords)
11655 (sql-mode-db2-font-lock-keywords)
11656 (sql-mode-linter-font-lock-keywords): Update initialization to
11657 reduce run-time complexity.
11658 (sql-add-product, sql-del-product): New functions.
11659 (sql-set-product-feature, sql-get-product-feature): New functions.
11660 (sql-product-font-lock): Update product API.
11661 (sql-add-product-keywords): New function.
11662 (sql-highlight-product): Update product API.
11663 (sql-help-list-products): New function.
11664 (sql-help): Dynamically lists free and non-free products.
11665 (sql-get-login): Correct bug in handling history and added
11667 (sql-copy-column): Copy without properties.
11668 (sqli-input-sender): Apply filters to SQLi input.
11669 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
11670 Implement as a filter.
11671 (sql-escape-newlines-filter): Implement as a filter.
11672 (sql-remove-tabs-filter): New function.
11673 (sql-send-magic-terminator): New function.
11674 (sql-send-string): Implement magic terminator.
11675 (sql-send-region): Use `sql-send-string'.
11676 (sql-interactive-mode): Use product API.
11677 (sql-product-interactive): Use product API.
11678 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
11679 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
11680 (sql-db2, sql-linter): Use `sql-product-interactive'.
11681 (sql-connect): New function.
11682 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
11683 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
11684 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
11685 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
11688 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11690 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
11691 New custom variable.
11692 (completion-pcm--string->pattern): Use it.
11693 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
11694 Make it handle any symbol as `any'.
11695 (completion-pcm--merge-completions): Extract common suffix for the new
11696 `prefix' symbol as well.
11697 (completion-substring--all-completions): Use the new `prefix' symbol.
11699 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
11701 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
11703 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
11704 (tramp-compat-funcall): New defmacro.
11705 (tramp-compat-line-beginning-position)
11706 (tramp-compat-line-end-position)
11707 (tramp-compat-temporary-file-directory)
11708 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
11709 (tramp-compat-copy-file, tramp-compat-copy-directory)
11710 (tramp-compat-delete-file, tramp-compat-delete-directory)
11711 (tramp-compat-number-sequence, tramp-compat-process-running-p)
11712 * net/tramp.el (top, with-progress-reporter)
11713 (tramp-rfn-eshadow-setup-minibuffer)
11714 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
11715 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
11716 (tramp-completion-mode-p, tramp-check-for-regexp)
11717 (tramp-open-connection-setup-interactive-shell)
11718 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
11719 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
11720 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
11721 * net/tramp-cmds.el (tramp-cleanup-all-connections)
11722 (tramp-reporter-dump-variable, tramp-load-report-modules)
11723 (tramp-append-tramp-buffers)
11724 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
11726 * net/tramp-imap.el (top): Autoload `epg-make-context'.
11728 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11730 * progmodes/compile.el (compilation-buffer-modtime): Rename from
11731 buffer-modtime. Adjust users.
11733 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11735 * international/mule.el (auto-coding-alist): Only purecopy
11736 car of each item, not the whole list (Bug#6083).
11738 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11740 * progmodes/js.el (js-mode): Make paragraph variables local before
11741 calling c-setup-paragraph-variables (Bug#6071).
11743 2010-05-08 Eli Zaretskii <eliz@gnu.org>
11745 * composite.el (compose-region, reference-point-alist): Fix typos
11746 in the doc strings.
11748 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11750 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
11751 gnuplot's "set" command.
11753 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11755 * abbrev.el (last-abbrev-text): Doc fix.
11756 (abbrev-prefix-mark): Don't escape parenthesis.
11758 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
11760 * composite.el (find-composition): Doc fix.
11762 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11764 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
11765 (sql-oracle-program, sql-sqlite-options)
11766 (sql-query-placeholders-and-send): Doc fixes.
11767 (sql-set-product, sql-interactive-mode): Reflow docstrings.
11768 (sql-imenu-generic-expression, sql-buffer)
11769 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
11770 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
11771 (sql-mode-sybase-font-lock-keywords)
11772 (sql-mode-informix-font-lock-keywords)
11773 (sql-mode-interbase-font-lock-keywords)
11774 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
11775 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
11776 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
11777 (sql-product-feature, sql-highlight-product)
11778 (comint-line-beginning-position, sql-rename-buffer)
11779 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
11780 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
11781 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
11782 Fix typos in docstrings.
11784 2010-05-08 Juri Linkov <juri@jurta.org>
11786 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
11787 property instead of `invisible' and `after-string' (bug#5998).
11789 2010-05-08 Juri Linkov <juri@jurta.org>
11791 * image-mode.el (image-mode-as-text): Fix typo in docstring.
11793 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11795 * filecache.el (file-cache-add-directory-list)
11796 (file-cache-add-directory-recursively): Fix typos in docstrings.
11798 2010-05-08 Kenichi Handa <handa@m17n.org>
11800 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
11801 (gujarati-composable-pattern): Fix typo.
11803 2010-05-08 Kenichi Handa <handa@m17n.org>
11805 * language/indian.el (oriya-composable-pattern)
11806 (tamil-composable-pattern, malayalam-composable-pattern):
11807 Add two-part vowels to "v" (vowel sign).
11809 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11811 * files.el (copy-directory): Handle symlinks (Bug#5982).
11813 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
11815 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
11816 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
11819 2010-05-08 Glenn Morris <rgm@gnu.org>
11821 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11823 * minibuffer.el (completion-at-point): Doc fix.
11825 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11827 * electric.el (Electric-command-loop): Minor tweak.
11829 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11830 better with dedicated windows.
11832 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
11834 * Version 23.2 released.
11836 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11837 Stefan Monnier <monnier@iro.umontreal.ca>
11839 Highlight vendor specific properties.
11840 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11841 (css-proprietary-property): New face.
11842 (css-font-lock-keywords): Use them.
11844 2010-05-07 Eli Zaretskii <eliz@gnu.org>
11846 * cus-start.el (all): Add native condition for tool-bar-* symbols.
11848 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11850 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11851 * files.el (auto-mode-alist): Remove redundant entries.
11853 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11854 * simple.el (auto-save-mode): Move from files.el.
11855 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11857 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
11859 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11861 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
11863 * mail/binhex.el (binhex-decode-region-internal)
11864 * mail/uudecode.el (uudecode-decode-region-internal)
11865 * net/dns.el (dns-read-string-name, dns-write, dns-read)
11866 (dns-read-type, dns-query)
11867 * pgg-parse.el (pgg-parse-armor)
11868 * pgg.el (pgg-verify-region)
11869 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11872 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11874 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
11876 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11878 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11879 * emulation/cua-base.el (cua-repeat-replace-region):
11880 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11881 (cua-cut-region-to-global-mark):
11882 Remove text properties with `set-text-properties'.
11884 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
11886 * net/tramp.el (top, with-progress-reporter):
11887 Use `symbol-function' inside `funcall'.
11889 * net/tramp-compat.el (tramp-compat-file-attributes)
11890 (tramp-compat-delete-file, tramp-compat-delete-directory):
11891 Handle only `wrong-number-of-arguments' error.
11893 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11894 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11897 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11899 * minibuffer.el (completion--sreverse, completion--common-suffix):
11901 (completion-pcm--merge-completions): Extract common suffix when safe.
11903 * emacs-lisp/easy-mmode.el (define-minor-mode):
11904 Make :variable more flexible.
11905 * files.el (auto-save-mode): Use it to define using define-minor-mode.
11907 2010-05-05 Juri Linkov <juri@jurta.org>
11909 Add `slow' and `history' tags to the desktop data.
11911 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11912 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11913 (Info-finder-find-node): Require `finder.el' to be able
11914 to restore node from the desktop.
11915 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
11916 data `Info-history' and `slow' tag in the assoc list.
11917 (Info-restore-desktop-buffer): Don't restore nodes with the
11918 `slow' tag. Restore `Info-history'.
11920 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
11922 Add FORCE argument to `delete-file'.
11924 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11925 forcing to delete the temporary file.
11926 (ange-ftp-delete-file): Add FORCE arg.
11927 (ange-ftp-rename-remote-to-remote)
11928 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11929 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11930 Force file deletion.
11932 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11934 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11935 (tramp-handle-make-symbolic-link, tramp-handle-load)
11936 (tramp-do-copy-or-rename-file-via-buffer)
11937 (tramp-do-copy-or-rename-file-directly)
11938 (tramp-do-copy-or-rename-file-out-of-band)
11939 (tramp-handle-process-file, tramp-handle-call-process-region)
11940 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11941 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11942 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11944 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11945 (tramp-fish-handle-make-symbolic-link)
11946 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11948 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11949 Use `tramp-compat-delete-file'.
11951 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11952 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11954 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11955 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11957 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11958 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11959 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11960 Use `tramp-compat-delete-file'.
11962 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11965 * subr.el (add-minor-mode): Use push.
11966 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11967 * emulation/edt.el (edt-select-mode): Simplify.
11969 Use define-minor-mode in more cases.
11970 * term/tvi970.el (tvi970-set-keypad-mode):
11971 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11972 (normal-erase-is-backspace-mode):
11973 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11974 (set-scroll-bar-mode-1): (Re)move to its sole caller.
11975 (get-scroll-bar-mode): New function.
11976 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11978 Use define-minor-mode for less obvious cases.
11979 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11980 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11981 * international/iso-ascii.el (iso-ascii-mode):
11982 * frame.el (auto-raise-mode, auto-lower-mode):
11983 * composite.el (global-auto-composition-mode): Use define-minor-mode.
11985 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
11987 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11988 in order to see error messages for failed logins.
11990 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
11992 * diff.el (diff-sentinel):
11994 * epg.el (epg--make-temp-file, epg-decrypt-string)
11995 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11997 * jka-compr.el (jka-compr-partial-uncompress)
11998 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
12000 * server.el (server-sentinel): Use delete-file's new FORCE arg
12003 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12005 Use define-minor-mode where applicable.
12006 * view.el (view-mode):
12007 * type-break.el (type-break-query-mode)
12008 (type-break-mode-line-message-mode):
12009 * textmodes/reftex.el (reftex-mode):
12010 * term/vt100.el (vt100-wide-mode):
12011 * tar-mode.el (tar-subfile-mode):
12012 * savehist.el (savehist-mode):
12013 * ibuf-ext.el (ibuffer-auto-mode):
12014 * composite.el (auto-composition-mode):
12015 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12016 Use define-minor-mode.
12017 (vhdl-mode): Use static mode-line format.
12018 (vhdl-mode-line-update): Delete.
12019 (vhdl-create-mode-menu, vhdl-activate-customizations)
12020 (vhdl-hs-minor-mode): Don't bother calling it.
12022 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
12024 * simple.el (with-wrapper-hook): Move.
12025 (buffer-substring-filters): Mark obsolete.
12026 (filter-buffer-substring-functions): New variable.
12027 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
12029 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
12030 Michael Albinus <michael.albinus@gmx.de>
12032 Implement compression for inline methods.
12034 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
12035 (tramp-copy-size-limit): Allow also nil.
12036 (tramp-inline-compress-commands): New defconst.
12037 (tramp-find-inline-compress, tramp-get-inline-compress)
12038 (tramp-get-inline-coding): New defuns.
12039 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
12040 replaced by `tramp-get-inline-coding'.
12041 (tramp-handle-file-local-copy, tramp-handle-write-region)
12042 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
12044 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12046 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
12047 Remove unused functions.
12049 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
12050 Set find-tag-default-function as a variable rather than a property.
12052 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
12053 * progmodes/etags.el (tags-completion-at-point-function):
12054 Remove left over interactive spec. Add autoloading stub.
12055 (complete-tag): Use tags-completion-at-point-function.
12057 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
12059 * minibuffer.el (tags-completion-at-point-function): Fix return value.
12061 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
12063 * ido.el (ido-init-completion-maps): Remove C-v binding.
12064 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
12066 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
12068 * minibuffer.el (tags-completion-at-point-function): New function.
12069 (completion-at-point-functions): Use it.
12071 * progmodes/etags.el (complete-tag): Revert last change.
12073 2010-04-29 Alan Mackenzie <acm@muc.de>
12075 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
12076 off-by-one error (in end of macro position).
12078 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12080 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
12081 firefox is absent. Don't autoload.
12082 (browse-url-galeon-program): Don't autoload.
12084 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
12086 * bindings.el (complete-symbol): Move into minibuffer.el.
12088 * minibuffer.el (complete-tag): Move from etags.el. If tags
12089 completion cannot be performed, return nil instead of signalling
12091 (completion-at-point): Make it an alias for complete-symbol.
12092 (complete-symbol): Move from bindings.el, and replace with the
12093 body of completion-at-point.
12095 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
12097 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
12099 * net/tramp.el (tramp-remote-selinux-p): New defun.
12100 (tramp-handle-file-selinux-context)
12101 (tramp-handle-set-file-selinux-context): Use it.
12103 2010-04-28 Sam Steingold <sds@gnu.org>
12105 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
12106 `safe-local-variable' if the value is a string or a symbol with
12107 the property `bug-reference-url-format'.
12109 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
12111 * progmodes/bug-reference.el (bug-reference-url-format):
12112 Revert 2010-04-27 change due to security risk.
12114 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12116 Make it possible to locally disable a globally enabled mode.
12117 * simple.el (fundamental-mode): Run fundamental-mode-hook.
12118 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
12119 rather than kill-all-local-variables so it runs fundamental-mode-hook.
12120 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12121 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
12122 that subsequent hooks get a chance to disable it.
12124 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12126 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12127 Avoid re-enabling a minor mode after the user turned the minor mode
12128 off if MODE-enable-in-buffers is run twice (typically once from
12129 fundamental-mode's after-change-major-mode-hook and a second time from
12130 run-mode-hook's own after-change-major-mode-hook).
12132 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
12134 2010-04-27 Sam Steingold <sds@gnu.org>
12136 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
12137 `safe-local-variable' if the value is a string or a function, as
12138 documented and implemented on 2010-04-02.
12140 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
12142 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
12143 when method is 'kill.
12145 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
12147 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
12148 condition in default directory check.
12149 (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
12150 Kill ispell process when killing its associated buffer.
12152 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
12154 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
12155 but we aren't using it.
12157 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
12159 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
12160 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
12162 2010-04-24 Glenn Morris <rgm@gnu.org>
12164 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
12165 Ignore VCS-ignore files, and deleted nextstep preferences files.
12166 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
12167 (authors-ambiguous-files): New list.
12168 (authors-valid-file-names): Add some deleted files.
12169 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
12170 (authors-disambiguate-file-name): New function. (Bug#5501)
12171 (authors-canonical-file-name): Doc fix.
12172 Don't warn about obsolete files.
12173 (authors-canonical-file-name, authors-scan-el):
12174 Use authors-disambiguate-file-name.
12176 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
12177 Add autoload cookies.
12178 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
12179 (generated-autoload-file): Set file-local value to "htmlfontify.el".
12180 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
12181 They have definitions / compiler macros in cl.el.
12182 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
12183 Replace manual autoloads with generated ones.
12184 (htmlfontify-unload-rgb-file): Remove autoload.
12185 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
12187 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12189 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
12190 (byte-compile-setq-default): Optimize for the
12191 single-var case and don't call byte-compile-form in this case to avoid
12192 inf-loop with byte-compile-set-default.
12194 * progmodes/compile.el (compilation-start): Abbreviate default directory.
12196 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
12198 Implement SELINUX backends.
12200 * net/tramp.el (tramp-file-name-handler-alist):
12201 Add `file-selinux-context' and `set-file-selinux-context'.
12202 (tramp-handle-file-selinux-context)
12203 (tramp-handle-set-file-selinux-context): New defuns.
12204 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
12205 Handle PRESERVE-SELINUX-CONTEXT.
12207 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12208 Add `file-selinux-context' and `set-file-selinux-context'.
12209 (tramp-gvfs-handle-file-selinux-context)
12210 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
12211 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
12213 * net/ange-ftp.el (ange-ftp-copy-file):
12214 * net/tramp-fish.el (tramp-fish-handle-copy-file):
12215 * net/tramp-imap.el (tramp-imap-handle-copy-file):
12216 * net/tramp-smb.el (tramp-smb-handle-copy-file):
12217 Add PRESERVE-SELINUX-CONTEXT.
12219 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
12221 Synchronize with Tramp repository.
12223 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
12224 (tramp-action-process-alive, tramp-action-out-of-band)
12225 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
12226 (tramp-exists-file-name-handler): Fix docstring.
12227 (with-progress-reporter): New defmacro.
12228 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
12229 (tramp-maybe-open-connection): Use it.
12231 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
12233 Detect ssh 'ControlMaster' argument automatically in some cases.
12235 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
12236 (tramp-default-method): Use it.
12238 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
12240 * net/tramp.el (tramp-handle-copy-file): Add new optional
12241 parameter `preserve-selinux-context'.
12242 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
12244 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
12246 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
12247 Ensure, that non remote files are still checked. Oops.
12249 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
12253 * icomplete.el (icomplete-completions): Use `non-essential'.
12255 * net/tramp.el (tramp-connectable-p): New defun.
12256 (tramp-handle-expand-file-name)
12257 (tramp-completion-handle-file-name-all-completions)
12258 (tramp-completion-handle-file-name-completion): Use it.
12260 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
12262 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
12264 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
12266 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
12268 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
12270 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
12273 * info.el (info-tool-bar-map): Add labels.
12275 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
12277 * cus-edit.el (custom-commands): Add labels for tool bar.
12278 (custom-buffer-create-internal, Custom-mode): Adjust for
12279 labels in custom-commands.
12281 * dynamic-setting.el: Renamed from font-setting.el.
12283 2010-04-21 John Wiegley <jwiegley@gmail.com>
12285 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
12286 toggles the use of virtual buffers.
12287 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
12288 (ido-toggle-virtual-buffers): New function.
12290 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
12292 Use `define-derived-mode'; fix window selection; doc fixes.
12293 * play/tetris.el (tetris, tetris-update-speed-function)
12294 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
12295 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
12296 (tetris-rotate-next, tetris-end-game, tetris-start-game)
12297 (tetris-pause-game): Fix typos in docstrings.
12298 (tetris-mode-map, tetris-null-map):
12299 Move initialization into declaration.
12300 (tetris-mode): Define with `define-derived-mode';
12301 set show-trailing-whitespace to nil.
12302 (tetris): Prefer window already displaying the "*Tetris*" buffer.
12304 2010-04-21 Karel Klíč <kklic@redhat.com>
12306 * files.el (backup-buffer): Handle SELinux context, and return it
12307 if a backup was made by renaming.
12308 (backup-buffer-copy): Set SELinux context to the target file.
12309 (basic-save-buffer): Set SELinux context of the newly written file.
12310 (basic-save-buffer-1): Now it also returns any SELinux context.
12311 (basic-save-buffer-2): Set SELinux context of the newly created file,
12313 * net/tramp.el (tramp-file-name-for-operation):
12314 Add file-selinux-context.
12316 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
12318 Make the log-edit comments use RFC822 format throughout.
12320 * vc.el (vc-checkin, vc-modify-change-comment):
12321 Adjust to new vc-start/finish-logentry.
12322 (vc-find-conflicted-file): New command.
12323 (vc-transfer-file): Adjust to new vc-checkin.
12324 (vc-next-action): Improve scoping.
12326 * vc-hg.el (vc-hg-log-edit-mode): Remove.
12327 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
12329 * vc-git.el (vc-git-log-edit-mode): Remove.
12330 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
12331 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
12333 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
12334 (vc-start-logentry): Remove argument `extra'.
12335 (vc-finish-logentry): Remove extra args.
12337 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
12338 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
12339 (vc-bzr-conflicted-files): New function.
12341 * log-edit.el (log-edit-extra-flags)
12342 (log-edit-before-checkin-process): Remove.
12343 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
12344 (log-edit-headers-alist): New var.
12345 (log-edit-header-contents-regexp): New const.
12346 (log-edit-match-to-eoh): New function.
12347 (log-edit-font-lock-keywords): Use them.
12348 (log-edit): Insert a "Summary:" header as default.
12349 (log-edit-mode): Mark font-lock rules as case-insensitive.
12350 (log-edit-done): Cleanup headers.
12351 (log-view-process-buffer): Remove.
12352 (log-edit-extract-headers): New function to replace it.
12354 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
12356 * subr.el (default-direction-reversed): Remove obsolescence info.
12358 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12360 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
12363 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
12364 I.e. include text after point in the completion region.
12365 Also, return nil when we're not after/in a symbol.
12367 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
12368 default enable-multibyte-characters.
12370 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12372 * international/mule.el: Help the user choose a valid coding-system.
12373 (read-buffer-file-coding-system): New function.
12374 (set-buffer-file-coding-system): Use it. Prompt the user if the
12375 coding-system cannot encode all the chars.
12377 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
12378 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
12379 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
12380 Don't use *vc-bzr-shelve*.
12382 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
12384 Fix the version number for added files.
12385 * vc-hg.el (vc-hg-working-revision): Check if the file is
12386 registered after hg parent fails (Bug#5961).
12388 2010-04-19 Glenn Morris <rgm@gnu.org>
12390 * htmlfontify.el (htmlfontify-buffer)
12391 (htmlfontify-copy-and-link-dir): Autoload entry points.
12393 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
12395 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
12396 name relative to the project root (Bug#5960).
12398 2010-04-19 Glenn Morris <rgm@gnu.org>
12400 * vc-git.el (vc-git-print-log): Doc fix.
12402 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
12404 * ido.el (ido-file-internal): Fix 2009-12-02 change.
12406 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
12408 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
12409 default settings (Bug#5928).
12411 2010-04-19 Glenn Morris <rgm@gnu.org>
12413 * progmodes/fortran.el (fortran-match-and-skip-declaration):
12415 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
12417 2010-04-19 Kenichi Handa <handa@m17n.org>
12419 * language/indian.el (malayalam-composable-pattern): Fix previous
12420 change (add U+0D4D "SIGN VIRAMA").
12421 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
12422 (tamil-composable-pattern): Fix typo in the regexp.
12423 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
12424 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
12425 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
12427 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
12429 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
12430 paragraph-separate (Bug#5821).
12432 2010-04-19 Juri Linkov <juri@jurta.org>
12434 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
12436 * info.el (Info-find-node-2): Comment out code that skips
12438 (Info-mouse-follow-link): New command.
12439 (Info-link-keymap): New keymap.
12440 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
12441 Return a string with links instead of inserting breadcrumbs
12442 to the Info buffer.
12443 (Info-fontify-node): Comment out code that inserts breadcrumbs.
12444 Instead of putting the `invisible' text property over the Info
12445 header, make an overlay over the Info header with the `invisible'
12446 property and `after-string' set to the string returned by
12447 `Info-breadcrumbs'.
12449 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
12451 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
12452 Reported by monkey@sandpframing.com.
12454 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12456 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
12457 (tmm-get-keymap): Add key-binding shortcuts now that they're not
12458 available in the "keyseq cache" any more.
12460 * custom.el (defcustom): Add edebug spec.
12462 2010-04-18 Juri Linkov <juri@jurta.org>
12464 Test for special mode-class in view-buffer instead of view-file (bug#5513).
12466 * view.el (view-file, view-buffer): Move test for special mode-class
12467 from view-file to view-buffer.
12469 * tar-mode.el (tar-extract): Turn if's into one cond
12470 like in arc-mode.el.
12472 2010-04-18 Juri Linkov <juri@jurta.org>
12474 Add 7z archive format support (bug#5475).
12476 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
12477 (archive-7z-extract): New defcustom.
12478 (archive-find-type): Add magic string for 7z.
12479 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
12480 If `stderr-file' is non-nil, use `(t stderr-file)' for the
12481 `buffer' arg of `call-process'.
12482 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
12483 call the function `archive-7z-extract' with the variable
12484 `archive-7z-extract' let-bound to `archive-zip-extract'.
12485 (archive-7z-summarize, archive-7z-extract): New functions.
12487 * international/mule.el (auto-coding-alist):
12488 * files.el (auto-mode-alist): Add 7z file extension.
12490 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12492 * loadup.el: Setup hash-cons for pure data.
12494 Fix duplicate entries in cedet's loaddefs.el files.
12495 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
12496 Should make most file-local generated-autoload-file unnecessary.
12497 (print-readably): Silence warnings.
12498 (autoload-find-destination): Take load-name as an arg to make sure
12499 it's the same as the one that will be in the file.
12500 (autoload-generate-file-autoloads): Adjust to above changes.
12501 Try to make the dataflow a bit simpler.
12503 * cvs-status.el (cvs-refontify): Remove unused.
12505 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
12507 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
12509 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
12510 twos-complement mode.
12512 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
12514 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
12515 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
12516 (calc-inverse): Add "Option" to message, as appropriate.
12517 (calc-hyperbolic): Add "Option" to message, as appropriate.
12518 (calc-option, calc-is-option): New functions.
12520 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
12521 (calc-option-prefix-help): New function.
12523 * calc/calc-misc.el (calc-help): Add "Option" entry.
12525 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
12526 (calc-option-flag): New variable.
12527 (calc-do): Set `calc-option-flag to nil.
12528 (calc-set-mode-line): Add "Opt " as appropriate.
12530 2010-04-16 Juri Linkov <juri@jurta.org>
12532 Move scrolling commands from simple.el to window.el
12533 because their primitives are implemented in window.c.
12535 * simple.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 * window.el (scroll-error-top-bottom)
12540 (scroll-up-command, scroll-down-command, scroll-up-line)
12541 (scroll-down-line, scroll-other-window-down)
12542 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12543 Move from simple.el to window.el because their primitives are
12544 implemented in window.c.
12546 2010-04-16 Juri Linkov <juri@jurta.org>
12548 * isearch.el (isearch-lookup-scroll-key): Check both
12549 `isearch-scroll' and `scroll-command' properties.
12550 (scroll-up, scroll-down): Remove `isearch-scroll' property.
12552 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
12554 * simple.el (scroll-up-command, scroll-down-command)
12555 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
12557 2010-04-15 Juri Linkov <juri@jurta.org>
12559 * simple.el (scroll-up-command, scroll-down-command)
12560 (scroll-up-line, scroll-down-line): Put `scroll-command'
12561 property on the these symbols. Remove them from
12562 `scroll-preserve-screen-position-commands'.
12564 * mwheel.el (mwheel-scroll): Put `scroll-command' and
12565 `isearch-scroll' properties on the `mwheel-scroll' symbol.
12566 Remove it from `scroll-preserve-screen-position-commands'.
12568 * isearch.el (isearch-allow-scroll): Doc fix.
12570 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
12572 * net/tramp.el (tramp-error-with-buffer): Don't show the
12573 connection buffer when we are in completion mode.
12574 (tramp-file-name-handler): Catch the error for some operations
12575 when we are in completion mode. This gives the user the chance to
12576 correct the file name in the minibuffer.
12578 2010-04-15 Glenn Morris <rgm@gnu.org>
12580 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
12582 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
12584 Simplify by using `define-derived-mode'.
12585 * info.el (Info-mode):
12586 * calendar/todo-mode.el (todo-mode):
12587 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
12588 (gomoku-mode-map): Move initialization into declaration.
12590 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
12593 * ido.el (ido-file-name-all-completions-1):
12594 * minibuffer.el (minibuffer-completion-help):
12595 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
12597 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12599 * simple.el (non-essential): New var.
12601 Add a new field `location' to bookmarks for non-file bookmarks.
12602 * bookmark.el (bookmark-location): Use the new field, if present.
12603 (bookmark-insert-location): Undo last change, not needed any more.
12604 * man.el (Man-bookmark-make-record):
12605 * woman.el (woman-bookmark-make-record): Add `location' field.
12607 2010-04-14 Juri Linkov <juri@jurta.org>
12609 * simple.el (scroll-error-top-bottom): New defcustom.
12610 (scroll-up-command, scroll-down-command): Use it. Doc fix.
12612 * emulation/pc-select.el (pc-select-override-scroll-error):
12613 Obsolete in favor of `scroll-error-top-bottom'.
12615 2010-04-14 Juri Linkov <juri@jurta.org>
12617 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
12618 `scroll-up-command' and `M-v' to `scroll-down-command'.
12620 * emulation/cua-rect.el (cua--init-rectangles):
12621 * forms.el (forms--change-commands):
12622 * image-mode.el (image-mode-map):
12623 Remap scroll-down-command and scroll-up-command
12624 in addition to scroll-down and scroll-up.
12626 2010-04-14 Juri Linkov <juri@jurta.org>
12628 * mwheel.el (scroll-preserve-screen-position-commands):
12629 Add mwheel-scroll to this list of commands.
12631 * simple.el (scroll-preserve-screen-position-commands):
12632 Add scroll-up-command, scroll-down-command, scroll-up-line,
12633 scroll-down-line to this list of commands.
12635 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12637 * obsolete/complete.el: Move from lisp/complete.el.
12639 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
12641 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
12642 to the minor mode function now turns the mode ON unconditionally.
12644 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12646 * vc-dir.el (vc-dir-kill-line): New command.
12647 (vc-dir-mode-map): Bind it to C-k.
12649 * bookmark.el (bookmark-insert-location): Handle a nil filename.
12651 * woman.el: Add bookmark declarations to silence the compiler.
12652 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
12653 step to compatibility between man and woman bookmarks.
12654 Adjust for Man-default-bookmark-title renaming.
12655 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
12657 * man.el: Add bookmark declarations to silence the compiler.
12658 (Man-name-local-regexp): Make it match NAME as well.
12659 (Man-getpage-in-background): Return the buffer.
12660 (Man-notify-when-ready): Use `case'.
12661 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
12662 Don't hardcode "NAME". Simplify.
12663 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
12664 Rename from Man-bookmark-make-record.
12665 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
12666 we have the actual man-args. Use Man-getpage-in-background rather
12667 than `man' since the arg is already processed. Let bookmark.el do the
12668 window handling. Only wait for the relevant process.
12669 Don't forget to autoload.
12671 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
12673 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12675 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
12677 (woman-mode): Setup bookmark support.
12679 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
12680 (man-bookmark-jump): New functions.
12681 (Man-mode): Setup bookmark support.
12683 2010-04-10 Jari Aalto <jari.aalto@cante.net>
12685 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
12686 recognize ssh-keygen prompt (Bug#2817).
12688 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12690 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
12692 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12694 Synchronize with Tramp repository.
12696 * net/tramp.el (tramp-completion-function-alist)
12697 (tramp-file-name-regexp, tramp-chunksize)
12698 (tramp-local-coding-commands, tramp-remote-coding-commands):
12700 (tramp-remote-process-environment): Use `format' instead of `concat'.
12701 (tramp-handle-directory-files-and-attributes)
12702 (tramp-get-remote-path): Use `copy-tree'.
12703 (tramp-handle-file-name-all-completions): Backward/ XEmacs
12704 compatibility: Use `completion-ignore-case' if
12705 `read-file-name-completion-ignore-case' does not exist.
12706 (tramp-do-copy-or-rename-file-directly): Do not use
12707 `tramp-handle-file-remote-p'.
12708 (tramp-do-copy-or-rename-file-out-of-band):
12709 Use `tramp-compat-delete-directory'.
12710 (tramp-do-copy-or-rename-file-out-of-band)
12711 (tramp-compute-multi-hops, tramp-maybe-open-connection):
12712 Use `format-spec-make'.
12713 (tramp-find-foreign-file-name-handler)
12714 (tramp-advice-make-auto-save-file-name)
12715 (tramp-set-auto-save-file-modes): Remove superfluous check for
12716 `stringp'. This is done inside `tramp-tramp-file-p'.
12717 (tramp-debug-outline-regexp): New defconst.
12718 (tramp-get-debug-buffer): Use it.
12719 (tramp-check-for-regexp): Use (forward-line 1).
12720 (tramp-set-auto-save-file-modes): Adapt version check.
12722 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
12723 Wrap call of `featurep' for 2nd argument.
12724 (tramp-compat-make-temp-file): Simplify fallback implementation.
12725 (tramp-compat-copy-tree): Remove function.
12726 (tramp-compat-delete-directory): Provide implementation for older
12729 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
12730 Do not use `tramp-fish-handle-file-attributes.
12732 * net/trampver.el: Update release number.
12734 2010-04-10 Glenn Morris <rgm@gnu.org>
12736 * progmodes/compile.el (compilation-save-buffers-predicate):
12737 Add missing :version tag.
12739 2010-04-09 Sam Steingold <sds@gnu.org>
12741 * progmodes/compile.el (compilation-save-buffers-predicate):
12742 Remove the "autoload" cookie.
12744 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
12745 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
12746 and `bug-reference-prog-mode' can be used in hooks directly.
12748 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
12750 Add --author support to git commit.
12751 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
12752 (vc-git-log-edit-mode): New minor mode.
12753 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
12756 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
12758 * vc-hooks.el, vc-git.el: Improve documentation comments.
12760 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12762 Fix some of the problems in defsubst* (bug#5728).
12763 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
12764 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
12766 2010-04-07 Sam Steingold <sds@gnu.org>
12768 * progmodes/compile.el (compilation-save-buffers-predicate):
12769 New custom variable.
12770 (compile, recompile): Pass it to `save-some-buffers'.
12772 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
12774 * wid-edit.el (widget-choose): Move cursor to the second line of
12775 the buffer (Bug#5695).
12777 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12779 Add new VC methods: vc-log-incoming and vc-log-outgoing.
12780 * vc.el (vc-print-log-setup-buttons): New function split out from
12781 vc-print-log-internal.
12782 (vc-log-internal-common): New function, a parametrized version of
12783 vc-print-log-internal.
12784 (vc-print-log-internal): Just call vc-log-internal-common with the
12786 (vc-incoming-outgoing-internal):
12787 (vc-log-incoming, vc-log-outgoing): New functions.
12788 (vc-log-view-type): New permanent local variable.
12790 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
12792 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
12793 of the dynamic bound vc-short-log.
12794 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
12796 * vc-git.el (vc-git-log-outgoing): New function.
12797 (vc-git-log-view-mode): Use vc-log-view-type instead
12798 of the dynamic bound vc-short-log.
12800 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
12801 of the dynamic bound vc-short-log. Highlight the tag.
12802 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
12803 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
12804 (vc-hg-incoming-mode): Remove.
12805 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
12807 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12809 Fix default-directory for vc-root-diff.
12810 * vc.el (vc-root-diff): Bind default-directory to the root
12811 directory for the diff command.
12813 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
12815 * progmodes/verilog-mode.el (verilog-forward-sexp):
12816 (verilog-calc-1): Support "disable fork" and "fork wait" multi
12817 word keywords, suggested by Steve Pearlmutter.
12818 (verilog-pretty-declarations): Support lineup of declarations in
12820 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12821 fix bug for /* / comments.
12822 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12823 Speed up and simplfy as this is never called with a bound.
12824 (verilog-pretty-declarations): Enhance to line up declarations
12825 inside a parameter list, suggested by Alan Morgan.
12826 (verilog-pretty-expr): Tune assignment regular expression match
12827 string for corner cases; also use markers instead of character
12828 number as indent changes the later.
12830 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
12832 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12833 as missing keyword.
12834 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12835 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
12836 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12837 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
12839 (verilog-keywords):
12840 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12841 1800-2009 keywords, including "global.".
12843 2010-04-06 John Wiegley <jwiegley@gmail.com>
12845 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12846 appearing in buffer list (if a live buffer name matched a recentf
12847 file basename). Should use uniquify to offer a real solution.
12849 2010-04-06 John Wiegley <jwiegley@gmail.com>
12851 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12852 comment to code, and add a :version tag.
12853 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12855 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
12857 Enable recentf-mode if using virtual buffers.
12858 * ido.el (recentf-list): Declare for byte-compiler.
12859 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
12860 (ido-make-buffer-list): Simplify.
12861 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
12863 2010-04-05 Juri Linkov <juri@jurta.org>
12865 Scrolling commands which scroll a line instead of full screen.
12866 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12868 * simple.el (scroll-up-line, scroll-down-line): New commands.
12869 Put property isearch-scroll=t on them.
12871 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12874 2010-04-05 Juri Linkov <juri@jurta.org>
12876 Scrolling commands which do not signal errors at top/bottom.
12877 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12879 * simple.el (scroll-up-command, scroll-down-command): New commands.
12880 Put property isearch-scroll=t on them.
12882 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12883 `scroll-down-command' and [next] from `scroll-up' to
12884 `scroll-up-command'.
12886 * emulation/cua-base.el: Put property CUA=move on
12887 `scroll-up-command' and `scroll-down-command'.
12888 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12889 and `scroll-down-command' to `cua-scroll-down'.
12891 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
12893 * help.el (describe-mode): Return nil.
12895 2010-04-04 John Wiegley <jwiegley@gmail.com>
12897 * ido.el (ido-use-virtual-buffers): New variable to indicate
12898 whether "virtual buffer" support is enabled for IDO.
12899 (ido-virtual): Face used to indicate virtual buffers in the list.
12900 (ido-buffer-internal): If a buffer is chosen, and no such buffer
12901 exists, but a virtual buffer of that name does (which would be why
12902 it was in the list), recreate the buffer by reopening the file.
12903 (ido-make-buffer-list): If virtual buffers are being used, call
12904 `ido-add-virtual-buffers-to-list' before the make list hook.
12905 (ido-virtual-buffers): New variable which contains a copy of the
12906 current contents of the `recentf-list', albeit pared down for the
12907 sake of speed, and with proper faces applied.
12908 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12909 create a list of "virtual buffers" to present to the user in
12910 addition to the currently open set. Note that this logic could
12911 get rather slow if that list is too large. With the default
12912 `recentf-max-saved-items' of 200, there is little speed penalty.
12914 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
12916 * font-lock.el: Require CL when compiling.
12917 (font-lock-turn-on-thing-lock): Use `case'.
12919 2010-04-03 Eli Zaretskii <eliz@gnu.org>
12921 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12924 2010-04-02 Juri Linkov <juri@jurta.org>
12926 * ehelp.el (electric-help-orig-major-mode):
12927 New buffer-local variable.
12928 (electric-help-mode): Set it to original major-mode. Doc fix.
12929 (with-electric-help): Use `electric-help-orig-major-mode' instead
12930 of (default-value 'major-mode). Doc fix.
12931 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12933 2010-04-02 Sam Steingold <sds@gnu.org>
12935 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12936 `vc-hg-command' with a list of flags.
12938 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12939 Also accept "patch" and "RFE".
12940 (bug-reference-fontify): `bug-reference-url-format' can also be a
12941 function to be able to handle the bug kind.
12942 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12944 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
12946 * tmm.el (tmm-get-keymap): Check with symbolp before passing
12947 value to fboundp, it may not be a symbol.
12949 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12951 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12953 2010-03-31 Juri Linkov <juri@jurta.org>
12955 * simple.el (next-line, previous-line): Re-throw a signal
12956 with `signal' instead of using `ding'.
12957 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12959 2010-03-31 Juri Linkov <juri@jurta.org>
12961 * simple.el (keyboard-escape-quit): Raise deselecting the active
12962 region higher than exiting the minibuffer.
12963 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12965 2010-03-31 Juri Linkov <juri@jurta.org>
12967 * image.el (image-animated-p): Use `image-metadata' instead of
12968 `image-extension-data'. Get GIF extenstion data from metadata
12969 property `extension-data'.
12971 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12973 * simple.el (append-to-buffer): Simplify.
12975 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
12977 * textmodes/artist.el (artist-mode): Fix typo in docstring.
12978 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
12980 2010-03-31 Kenichi Handa <handa@m17n.org>
12982 * language/sinhala.el (composition-function-table): Fix regexp for
12983 the new Unicode specification.
12985 * language/indian.el (devanagari-composable-pattern)
12986 (tamil-composable-pattern, kannada-composable-pattern)
12987 (malayalam-composable-pattern): Adjust for the new Unicode
12989 (bengali-composable-pattern, gurmukhi-composable-pattern)
12990 (gujarati-composable-pattern, oriya-composable-pattern)
12991 (telugu-composable-pattern): New variables to cope with the new
12992 Unicode specification. Use them in composition-function-table.
12994 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12996 Make tmm-menubar work for the Buffers menu again (bug#5726).
12997 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12998 vectors rather than cons cells, as used in menu-bar-update-buffers.
13000 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
13002 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
13003 (js-insert-and-indent): Revert 2009-08-15 change, restoring
13004 electric punctuation for "{}();,:" (Bug#5586).
13006 * mail/sendmail.el (mail-default-directory): Doc fix.
13008 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
13010 * mail/sendmail.el (mail-default-directory): Doc fix.
13012 2010-03-31 Eli Zaretskii <eliz@gnu.org>
13014 * subr.el (version-regexp-alist, version-to-list)
13015 (version-list-<, version-list-=, version-list-<=)
13016 (version-list-not-zero, version<, version<=, version=): Doc fix.
13019 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
13021 * vc.el (vc-root-diff): Doc fix.
13023 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
13025 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
13027 * simple.el (append-to-buffer): Fix last change.
13029 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
13031 * simple.el (append-to-buffer): Ensure that point is preserved if
13032 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
13035 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13037 * files.el (auto-mode-case-fold): Change default to t.
13039 2010-03-30 Juri Linkov <juri@jurta.org>
13041 * dired-x.el (dired-omit-mode): Doc fix.
13043 2010-03-30 Juri Linkov <juri@jurta.org>
13045 * replace.el (occur-accumulate-lines): Move occur-engine related
13046 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
13047 to be located after `occur-engine'.
13049 2010-03-30 Juri Linkov <juri@jurta.org>
13051 Make occur handle multi-line matches cleanly with context.
13052 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
13054 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
13055 (occur-engine): Add local variables `ret', `prev-after-lines',
13056 `prev-lines'. Use more arguments for `occur-context-lines'.
13057 Set first elem of its returned list to `data', and the second elem
13058 to `prev-after-lines'. Don't print the separator line.
13059 In the end, print remaining context after-lines.
13060 (occur-context-lines): Add new arguments `begpt', `endpt',
13061 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
13062 after-lines of the previous match with before-lines of the
13063 current match and not overlap them. Return a list with two
13064 values: the output line and the list of context after-lines.
13066 2010-03-30 Juri Linkov <juri@jurta.org>
13068 * replace.el (occur-accumulate-lines): Fix a bug where the first
13069 context line at the beginning of the buffer was missing.
13071 2010-03-30 Eli Zaretskii <eliz@gnu.org>
13073 * files.el: Make bidi-display-reordering safe variable for boolean
13076 2010-03-29 Phil Hagelberg <phil@evri.com>
13077 Chong Yidong <cyd@stupidchicken.com>
13079 * subr.el: Extend progress reporters to perform "spinning".
13080 (progress-reporter-update, progress-reporter-do-update):
13081 Handle non-numeric value arguments.
13082 (progress-reporter--pulse-characters): New var.
13084 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
13086 * progmodes/compile.el (compilation-start): Fix regexp detection
13087 of initial cd command (Bug#5771).
13089 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
13091 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
13093 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
13095 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
13096 * progmodes/gdb-mi.el: Restore.
13097 * progmodes/gdb-ui.el: Remove.
13098 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
13100 2010-03-25 Glenn Morris <rgm@gnu.org>
13102 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
13103 all dired buffers, even tramp ones. (Bug#5755)
13105 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13107 Add "union tags" in mpc.el.
13108 * mpc.el: Remove backward compatibility code.
13109 (mpc-browser-tags): Change default.
13110 (mpc--find-memoize-union-tags): New var.
13111 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
13112 (mpc-cmd-find): Handle the case where the playlist does not exist.
13114 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
13115 (mpc-cmd-add): Use mpc-cmd-flush.
13116 (mpc-tagbrowser-tag-name): New fun.
13117 (mpc-tagbrowser-buf): Use it.
13118 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
13120 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13123 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
13124 Use replace-regexp-in-string.
13125 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
13126 (makefile-imake-mode-syntax-table): Move init into defvar.
13127 (makefile-mode): Use define-derived-mode.
13129 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
13130 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
13131 not be present any more.
13133 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
13135 * faces.el (set-face-attribute): Fix typo in docstring.
13136 (face-valid-attribute-values): Reflow docstring.
13138 2010-03-24 Glenn Morris <rgm@gnu.org>
13140 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
13142 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
13144 * indent.el (indent-for-tab-command): Doc fix.
13146 2010-03-24 Alan Mackenzie <acm@muc.de>
13148 * progmodes/cc-engine.el (c-remove-stale-state-cache):
13149 Fix off-by-one error. Fixes bug #5747.
13151 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
13153 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
13154 (image-dired-read-comment): Doc fix.
13156 * json.el (json-object-type, json-array-type, json-key-type)
13157 (json-false, json-null, json-read-number):
13158 * minibuffer.el (completion-in-region-functions):
13159 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
13160 (cal-tex-cursor-week):
13161 * emacs-lisp/trace.el (trace-function):
13162 * eshell/em-basic.el (eshell/printnl):
13163 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
13164 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
13165 * obsolete/levents.el (allocate-event, event-key, event-object)
13166 (event-point, event-process, event-timestamp, event-to-character)
13167 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
13168 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
13169 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
13170 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
13171 (reftex-highlight-selection): Fix typos in docstrings.
13173 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
13175 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
13177 2010-03-24 Glenn Morris <rgm@gnu.org>
13179 * mail/rmail.el (rmail-highlight-face): Restore option deleted
13180 2008-02-13 without comment; mark it obsolete.
13181 (rmail-highlight-headers): Use rmail-highlight-face once more.
13183 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
13185 * woman.el (woman2-process-escapes): Only consume the newline if
13186 the filler character is on a line by itself (Bug#5729).
13188 2010-03-24 Kenichi Handa <handa@m17n.org>
13190 * language/indian.el (devanagari-composable-pattern): Add more
13193 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
13195 * net/trampver.el: Update release number.
13197 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
13199 * net/tramp.el (tramp-find-executable):
13200 Use `tramp-get-connection-buffer'. Make the regexp for checking
13201 output of "wc -l" more robust.
13202 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
13203 (tramp-open-connection-setup-interactive-shell): Remove workaround
13204 for OpenSolaris bug, it is not needed anymore.
13206 2010-03-24 Glenn Morris <rgm@gnu.org>
13208 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
13210 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
13212 * files.el (auto-mode-alist): Accept more verilog file patterns.
13214 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13216 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
13218 2010-03-24 Glenn Morris <rgm@gnu.org>
13220 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
13221 log-edit-before-checkin-process.
13223 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
13225 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
13227 * vc-dispatcher.el (vc-start-logentry): Doc fix.
13228 (log-view-process-buffer, log-edit-extra-flags): Declare.
13230 * log-edit.el (log-edit-before-checkin-process): Doc fix.
13232 2010-03-23 Sam Steingold <sds@gnu.org>
13234 Fix bug#5620: recalculate all markers on compilation buffer
13235 modifications, not on file modifications.
13236 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
13237 variable: the buffer modification time, for buffers not associated with
13239 (compilation-mode): Create it.
13240 (compilation-filter): Update it.
13241 (compilation-next-error-function): Use it instead of
13242 `visited-file-modtime' for timestamp.
13244 2010-03-23 Juri Linkov <juri@jurta.org>
13246 Implement Occur multi-line matches.
13247 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
13249 * replace.el (occur): Doc fix.
13250 (occur-engine): Set `begpt' to the beginning of the first line.
13251 Set `endpt' to the end of the last match line. At first, count
13252 line numbers between `origpt' and `begpt'. Split out code from
13253 `out-line' variable to new let-bindings `match-prefix' and
13254 `match-str'. In `out-line' add non-numeric prefix to all
13255 non-first lines of multi-line matches. Finally, count lines
13256 between `begpt' and `endpt' and add to `lines'.
13258 2010-03-23 Juri Linkov <juri@jurta.org>
13260 * replace.el (occur-accumulate-lines, occur-engine):
13261 Use `occur-engine-line' instead of duplicate code.
13262 (occur-engine-line): New function created from duplicate code
13263 in `occur-accumulate-lines' and `occur-engine'.
13265 * replace.el (occur-engine-line): Add optional arg `keep-props'.
13266 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
13268 2010-03-23 Juri Linkov <juri@jurta.org>
13270 * finder.el: Remove TODO tasks.
13272 * info.el (Info-finder-find-node): Add node "all"
13273 with all package info. Handle a list of multiple keywords
13274 separated by comma.
13275 (info-finder): In interactive use with a prefix argument,
13276 use `completing-read-multiple' to read a list of keywords
13277 separated by comma.
13279 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
13281 Add a new completion style `substring'.
13282 * minibuffer.el (completion-basic--pattern): New function.
13283 (completion-basic-try-completion, completion-basic-all-completions):
13285 (completion-substring--all-completions)
13286 (completion-substring-try-completion)
13287 (completion-substring-all-completions): New functions.
13288 (completion-styles-alist): New style `substring'.
13290 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
13292 Get rid of .elc files after removal of the corresponding .el.
13293 * Makefile.in (compile-clean): New target.
13294 (compile-main): Use it.
13296 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
13298 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
13299 don't do make there. When compiling with separate object dir, there
13300 is no Makefile there.
13302 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
13304 Get rid of the ELCFILES abomination, again.
13305 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13306 (all, compile): Don't call compile-last.
13307 (compile-main): Build the "elcfiles" list dynamically.
13308 (compile-targets): New (internal) target.
13310 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
13312 * Makefile.in (top_srcdir): Define.
13313 (abs_top_builddir): Define.
13314 (srcdir): Don't append `/..'.
13315 (EMACS): Use ${abs_top_builddir}.
13316 (all, compile, compile-always, compile-last): Don't set emacswd.
13317 (update-subdirs, update-authors): Use $(top_srcdir) instead of
13319 (lisp): Use $(srcdir) instead of @srcdir@.
13321 2010-03-21 Juri Linkov <juri@jurta.org>
13323 Fix message of multi-line occur regexps and multi-buffer header lines.
13324 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
13326 * replace.el (occur-1): Don't display regexp if it is longer
13327 than window-width. Use `query-replace-descr' to display regexp.
13328 (occur-engine): Don't display regexp in the buffer header for
13329 multi-buffer occur. Display a separate header line with total
13330 match count and regexp for multi-buffer occur.
13331 Use `query-replace-descr' to display regexp.
13333 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
13335 * net/secrets.el: Fix parenthesis.
13336 (secrets-enabled): Fix parenthesis.
13338 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13340 Use more relative file and directory names.
13341 * Makefile.in (EMACS): Arrange for it to work when we chdir.
13342 (setwins, setwins_almost, setwins_for_subdirs):
13343 Don't `cd'; output relative names.
13344 (all, compile, compile-always, compile-last): Set emacswd.
13345 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
13346 Just cd to the lisp source dir so we can use relative file names.
13348 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
13350 2010-03-20 Glenn Morris <rgm@gnu.org>
13352 * textmodes/rst.el: Use faces for font-lock customization, and make the
13353 old -face variables obsolete.
13354 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
13355 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
13356 (rst-block-face, rst-external-face, rst-definition-face)
13357 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
13358 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
13360 (rst-font-lock-keywords-function): Update for above changes.
13362 2010-03-20 Juri Linkov <juri@jurta.org>
13365 * obsolete/s-region.el: Move to obsolete.
13367 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
13369 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
13371 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
13373 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
13375 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
13377 Add special markup processing for commit logs.
13378 * log-edit.el (log-edit-extra-flags): New variable.
13379 (log-edit): Add new argument MODE. Use that mode when non-nil
13380 instead of the log-view-mode.
13381 (log-view-process-buffer): New function.
13383 * vc.el: Document that the checkin method takes optional
13384 arguments. Document new backend specific method: log-view-mode.
13385 (vc-default-log-edit-mode): New function.
13386 (vc-checkin): Use a backend specific log-view-mode.
13387 Pass extra arguments to the checkin method.
13388 (vc-modify-change-comment): Pass a dummy extra argument.
13390 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
13392 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
13393 (vc-finish-logentry): Process the log buffer before passing it
13394 down. Pass log-edit-extra-flags.
13396 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
13398 (log-edit-extra-flags, log-edit-before-checkin-process):
13401 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
13403 (log-edit-extra-flags, log-edit-before-checkin-process):
13405 (vc-hg-log-edit-mode): New derived mode.
13407 * vc-arch.el (vc-arch-checkin):
13408 * vc-cvs.el (vc-cvs-checkin):
13409 * vc-git.el (vc-git-checkin):
13410 * vc-mtn.el (vc-mtn-checkin):
13411 * vc-rcs.el (vc-rcs-checkin):
13412 * vc-sccs.el (vc-sccs-checkin):
13413 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
13415 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13417 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
13420 2010-03-19 Glenn Morris <rgm@gnu.org>
13422 * password-cache.el (password-cache, password-cache-expiry): Autoload.
13424 2010-03-18 Glenn Morris <rgm@gnu.org>
13426 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
13428 * replace.el (query-replace-history): Give it a doc string.
13429 (map-query-replace-regexp): Use query-replace-from-history-variable
13430 and query-replace-to-history-variable.
13432 * mail/hashcash.el (declare-function): Remove duplicate definition.
13434 * mail/emacsbug.el (report-emacs-bug-pretest-address):
13435 Make it an obsolete alias for report-emacs-bug-address.
13436 (message-strip-special-text-properties): Declare.
13437 (report-emacs-bug): Remove test for a pretest bug address.
13438 Combine message-mode-specific code.
13440 * mail/supercite.el: Don't require sendmail.
13441 (mh-in-header-p): Declare rather than using with-no-warnings.
13442 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
13443 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
13445 * calendar/cal-french.el: Convert to utf-8.
13447 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
13450 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
13452 * net/secrets.el (secrets-enabled): New variable. Use it instead
13455 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
13457 * net/secrets.el (top): Register the D-Bus signals only when the
13458 service "org.freedesktop.secrets" can be pinged.
13459 Provide subfeature `enabled'.
13461 2010-03-14 Juri Linkov <juri@jurta.org>
13463 Add finder unknown keywords.
13465 * finder.el (finder-unknown-keywords): New function.
13467 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
13468 to create a Finder node with unknown keywords.
13470 2010-03-14 Juri Linkov <juri@jurta.org>
13472 * finder.el (finder-compile-keywords): Replace `princ' with
13473 `prin1' on a list of symbols interned from keyword strings.
13475 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
13476 a comma, then split keywords using a comma and optional whitespace.
13477 Otherwise, split by whitespace.
13485 * progmodes/mixal-mode.el: Fix keywords.
13487 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
13489 * Makefile.in (ELCFILES): Add net/secrets.elc.
13491 * net/secrets.el: New file.
13493 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13495 * facemenu.el (list-colors-display, list-colors-print): New arg
13496 callback. Use it to allow selecting colors.
13498 * wid-edit.el (widget-image-insert): Insert image prop even if the
13499 current display is non-graphic.
13500 (widget-field-value-set): New fun.
13501 (editable-field): Use it.
13502 (widget-field-value-get): Clean up unused var.
13503 (widget-color-value-create, widget-color--choose-action):
13504 New funs. Allow using list-colors-display to choose color.
13506 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13508 * cus-edit.el: Resort topmost custom groups.
13509 (custom-buffer-sort-alphabetically): Default to t.
13510 (customize-apropos): Use apropos-parse-pattern.
13511 (custom-search-field): New var.
13512 (custom-buffer-create-internal): Add custom-apropos search field.
13513 (custom-add-parent-links): Don't display parent doc.
13514 (custom-group-value-create): Don't sort top-level custom group.
13515 (custom-magic-value-create): Show visibility button before option name.
13517 (custom-variable-state): New fun, from custom-variable-state-set.
13518 (custom-variable-state-set): Use it.
13519 (custom-group-value-create): Hide options with standard values
13520 using the :hidden-states property. Use progress reporter.
13522 (custom-show): Simplify.
13523 (custom-visibility): Disable images by default.
13524 (custom-variable): New property :hidden-states.
13525 (custom-variable-value-create): Enable images for
13526 custom-visibility widgets. Use :hidden-states property to
13527 determine initial visibility.
13529 * wid-edit.el (widget-image-find): Give images center ascent.
13530 (visibility): Add :on-image and :off-image properties.
13531 (widget-visibility-value-create): Use them.
13533 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13535 * cus-edit.el (processes): Remove from development group.
13536 (oop, hypermedia): Delete group.
13537 (comm): Promote to top-level group.
13539 * net/browse-url.el (browse-url):
13540 * net/xesam.el (xesam):
13541 * net/tramp.el (tramp):
13542 * net/goto-addr.el (goto-address):
13543 * net/ange-ftp.el (ange-ftp): Put in comm group.
13545 * view.el (view): Remove from editing group.
13547 * uniquify.el (uniquify): Put in files group.
13549 * net/browse-url.el (browse-url):
13550 * ps-print.el (postscript): Put in external group.
13552 * cus-edit.el (outlines):
13553 * textmodes/text-mode.el (text-mode-hook):
13554 * textmodes/table.el (table):
13555 * textmodes/picture.el (picture):
13556 * outline.el (outlines): Put in wp group.
13558 * nxml/nxml-mode.el (nxml): Remove from wp group.
13560 * net/tramp-imap.el (tramp-imap): Put in tramp group.
13562 * mail/metamail.el (metamail): Remove from hypermedia group.
13564 * cus-edit.el (abbrev):
13565 * whitespace.el (whitespace):
13566 * vcursor.el (vcursor):
13567 * reveal.el (reveal):
13568 * hl-line.el (hl-line): Put in convenience group.
13570 * epg-config.el (epg): Put in data group.
13572 * emulation/pc-select.el (pc-select): Put in emulations group.
13574 * calculator.el (calculator): Put in applications group.
13576 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13578 Add .dir-locals.el support for file-less buffers.
13579 * files.el (hack-local-variables): Split out code to apply local
13580 variable settings ...
13581 (hack-local-variables-apply): ... here. New function.
13582 (hack-dir-local-variables): Use the default directory for when the
13583 buffer does not have an associated file.
13584 (hack-dir-local-variables-non-file-buffer): New function.
13585 * diff-mode.el (diff-mode):
13586 * vc-annotate.el (vc-annotate-mode):
13587 * vc-dir.el (vc-dir-mode):
13588 * log-edit.el (log-edit-mode):
13589 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
13591 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13593 Add support for shelving snapshots and for showing shelves.
13594 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
13595 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
13597 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13598 (vc-bzr-extra-menu-map): Map them.
13600 2010-03-11 Glenn Morris <rgm@gnu.org>
13602 * cus-edit.el (customize-changed-options-previous-release):
13605 * image.el (image-animate-max-time): Fix :version tag.
13607 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
13611 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
13613 * vc-git.el (vc-git-revision-table): Include remote branches.
13615 2010-03-10 Kim F. Storm <storm@cua.dk>
13617 Animated image API.
13618 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
13620 * image.el (image-animate-max-time): New defcustom.
13621 (image-animated-types): New defconst.
13622 (create-animated-image, image-animate-timer)
13623 (image-animate-start, image-animate-stop, image-animate-timeout)
13624 (image-animated-p): New functions.
13626 * image-mode.el (image-toggle-display-image):
13627 Replace `create-image' with `create-animated-image'.
13629 2010-03-09 Miles Bader <miles@gnu.org>
13631 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
13632 instead of "format:"; this ensures that the output is
13633 newline-terminated.
13635 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
13637 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
13638 that all errors are caught, and that the return value is always a
13641 2010-03-08 Kenichi Handa <handa@m17n.org>
13643 * language/misc-lang.el (windows-1256): New coding system.
13644 (cp1256): New alias of windows-1256 (bug#5690).
13646 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
13648 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
13649 call to rfc822-bad-address. (Bug#5692)
13651 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
13653 * vc-git.el (vc-git-annotate-extract-revision-at-line):
13654 Use vc-git-root as default directory for revision path (Bug#5657).
13656 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
13658 * calculator.el (calculator): Don't bind split-window-keep-point
13661 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
13663 * vc-git.el: Re-flow to fit into 80 columns.
13664 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
13665 Remove spurious `quote' element in each case alternative.
13666 (vc-git-show-log-entry): Use prog1.
13667 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
13669 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
13671 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
13673 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
13675 * macros.el (insert-kbd-macro): Look up keyboard macro using the
13676 definition, not the name (Bug#5481).
13678 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
13680 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
13681 argument with a local variable. (Bug#5670)
13683 2010-03-02 Juri Linkov <juri@jurta.org>
13685 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
13687 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
13689 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
13690 error when FILENAME and NEWNAME are existing remote directories.
13692 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
13693 parameter DIR-FLAG.
13695 2010-03-02 Glenn Morris <rgm@gnu.org>
13697 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
13698 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
13700 2010-03-01 Kenichi Handa <handa@m17n.org>
13702 * language/burmese.el (burmese-composable-pattern): Rename from
13703 myanmar-composable-pattern.
13705 * international/characters.el (script-list):
13706 * international/fontset.el (script-representative-chars):
13707 Change myanmar to burmese.
13708 (otf-script-alist): Likewise.
13709 (setup-default-fontset): Likewise. Re-fix :otf spec.
13711 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
13713 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
13715 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
13717 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
13719 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13721 * net/tramp.el (tramp-handle-write-region): START can be a string.
13722 Take care in the checks. Reported by Dan Davison
13723 <davison@stats.ox.ac.uk>.
13725 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13727 * net/dbus.el (dbus-introspect, dbus-get-property)
13728 (dbus-set-property, dbus-get-all-properties):
13729 Use `dbus-call-method' when noninteractive. (Bug#5645)
13731 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
13733 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
13734 * emacs-lisp/elint.el (elint-add-required-env):
13735 * calendar/icalendar.el (icalendar--add-diary-entry):
13736 * calc/calcalg2.el (math-tracing-integral):
13737 * files.el (recover-session-finish): Use with-current-buffer
13738 instead of save-excursion.
13740 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
13742 Fix in-buffer completion when after-change-functions modify the buffer.
13743 * minibuffer.el (completion--replace): New function.
13744 (completion--do-completion): Use it and use relative movement.
13746 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
13748 * international/fontset.el (setup-default-fontset): Fix :otf spec.
13750 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
13752 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
13753 Allow the characters _<> in the stack entry (Bug#5653).
13755 2010-02-26 Kenichi Handa <handa@m17n.org>
13757 * language/burmese.el: Fix entries in composition-function-table.
13758 (myanmar-composable-pattern): New variable.
13760 * international/fontset.el (setup-default-fontset): Add an entry
13763 * international/characters.el (script-list): Add Myanmar
13766 2010-02-26 Glenn Morris <rgm@gnu.org>
13768 * custom.el (custom-initialize-delay): Doc fix.
13770 * mail/sendmail.el (send-mail-function): Autoload the call
13771 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
13773 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
13775 * files.el (hack-local-variables-filter): For eval forms, also
13776 check safe-local-variable-p (Bug#5636).
13778 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
13780 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
13781 setting the modes by `ignore-errors'. It might fail, for example
13782 if the file is not owned by the user but the group.
13783 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
13785 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
13787 * files.el (directory-listing-before-filename-regexp):
13788 Use stricter matching for iso-style dates, to avoid false matches with
13789 date-like filenames (Bug#5597).
13791 * htmlfontify.el (htmlfontify): Doc fix.
13793 * eshell/eshell.el (eshell): Doc fix.
13795 * startup.el (fancy-about-screen): In mode-line, apply
13796 mode-line-buffer-id face only to the buffer name (Bug#5613).
13798 2010-02-20 Kevin Ryde <user42@zip.com.au>
13800 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13801 In `watcom' anchor regexp to start of line, to avoid slowness
13804 2010-02-20 Eli Zaretskii <eliz@gnu.org>
13806 * subr.el (remove-yank-excluded-properties): Explain in a comment
13807 why `category' property is removed.
13809 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
13811 * isearch.el (isearch-update-post-hook, isearch-update):
13812 Revert 2010-02-17 change.
13814 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
13816 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
13817 (icalendar--convert-weekly-to-ical)
13818 (icalendar--convert-yearly-to-ical)
13819 (icalendar--convert-block-to-ical)
13820 (icalendar--convert-cyclic-to-ical)
13821 (icalendar--convert-anniversary-to-ical): Take care of time
13822 specifications where hour has 1-digit only (Bug#5549).
13824 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
13826 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13827 of disassemble output in GDB 7.1.
13829 2010-02-19 Glenn Morris <rgm@gnu.org>
13831 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13832 property. (Bug#5593)
13834 2010-02-18 Sam Steingold <sds@gnu.org>
13836 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13838 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
13840 Use abbreviated file names in bookmarks (bug#5591).
13841 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13842 calls to expand-file-name.
13843 (bookmark-relocate): Use abbreviated file names in bookmarks.
13844 (bookmark-load): Use abbreviated file names in messages.
13846 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13848 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13849 expand "." and "..". Reported by Thierry Volpiatto
13850 <thierry.volpiatto@gmail.com>.
13852 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13854 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13855 permissions of the temporary file to "0600". In case the remote
13856 file has no read permissions for the owner, there might be
13857 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
13859 22010-02-18 Glenn Morris <rgm@gnu.org>
13861 * emacs-lisp/authors.el (authors-renamed-files-alist):
13862 Add entries for INSTALL.CVS.
13864 2010-02-17 Mark A. Hershberger <mah@everybody.org>
13866 * vc-bzr.el: Fix typo in Known Bugs section.
13868 * isearch.el (isearch-update-post-hook): New hook.
13869 (isearch-update): Use the new hook.
13871 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
13873 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13874 Fix errors in copying directories.
13875 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13876 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13877 (tramp-handle-delete-file)
13878 (tramp-handle-dired-recursive-delete-directory)
13879 (tramp-handle-write-region): Flush also the cache for the upper
13882 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
13884 * simple.el (save-interprogram-paste-before-kill): Doc fix.
13886 * cus-edit.el (hardware): Doc fix.
13888 * man.el (man): Add to external custom group.
13890 * delim-col.el (columns): Move to wp custom group.
13892 * doc-view.el (doc-view): Add to data custom group.
13894 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13896 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13897 by ispell-parse-output (Bug#5575).
13899 2010-02-16 Kenichi Handa <handa@m17n.org>
13901 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13902 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13903 (skkdic-convert): Use `euc-japan' coding system for writing.
13905 2010-02-16 Glenn Morris <rgm@gnu.org>
13907 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13908 tex-main-file before using it. (Bug#5562)
13910 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
13912 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13913 warnings, since it is annoying for the user to see them each time he
13916 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
13918 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13919 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13920 instead of PROC for caching "first-password-request". Otherwise,
13921 new processes would not profit from passwords already entered.
13923 * net/tramp-cache.el (tramp-dump-connection-properties):
13924 Don't save "first-password-request" property.
13926 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
13928 * outline.el (outline-head-from-level):
13929 * simple.el (with-wrapper-hook):
13930 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13931 (elint-defun, elint-buffer-env, elint-top-form-logged)
13932 (elint-unbound-variable):
13933 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13934 Fix typos in docstrings.
13936 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
13938 * files.el (insert-directory): When WILDCARD-REGEXP and
13939 FULL-DIRECTORY-P are nil, insert the file entry instead of the
13940 whole directory. (Bug#5551)
13942 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
13943 dired's alignment sanity. (Bug#5516)
13945 2010-02-14 Juri Linkov <juri@jurta.org>
13947 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13948 Remove remaining ^H with their preceding chars. (Bug#5566)
13950 2010-02-13 Glenn Morris <rgm@gnu.org>
13952 * simple.el (transpose-subr): Give it a doc-string.
13954 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13957 2010-02-12 Juri Linkov <juri@jurta.org>
13959 * arc-mode.el (archive-unique-fname): Make directories for nested
13960 archives. (Bug#5540)
13962 2010-02-12 Juri Linkov <juri@jurta.org>
13964 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
13966 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
13968 * subr.el (copy-overlay): Handle deleted overlays.
13970 * man.el (Man-completion-table): Don't signal an error if we can't run
13971 manual-program (bug#4056).
13973 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
13975 * textmodes/artist.el (artist-mt): Fix typos in docstring.
13977 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13979 * info.el (Info-bookmark-jump): Simplify.
13981 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13982 (bookmark-default-handler): Accept new bookmark field `buffer'.
13984 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
13986 * iswitchb.el (iswitchb-completions): Revert last change.
13988 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
13990 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13991 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13992 This prevents file names like "~/" being listed literally.
13994 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
13996 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13997 Remove dead code. (Bug#5546)
13999 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
14001 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
14002 correctly (Bug#5548).
14004 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
14006 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
14007 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
14009 2010-02-08 Kenichi Handa <handa@m17n.org>
14011 * international/mule-util.el (with-coding-priority): Add autoload
14012 cookie for putting `lisp-indent-function'.
14014 2010-02-07 Glenn Morris <rgm@gnu.org>
14016 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
14017 Move F2003 named interfaces from keywords-2 to keywords-1, and
14018 use function-name-face rather than constant-face.
14019 Simplify "abstract interface" regexp.
14021 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
14023 * eshell/esh-util.el (eshell-file-attributes): New optional arg
14024 ID-FORMAT. Pass it to `file-attributes'.
14026 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
14028 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
14030 * faces.el (set-face-attribute): Allow calling
14031 internal-set-lisp-face-attribute with 'unspecified family and
14032 foundry argument (Bug#5536).
14034 2010-02-07 Glenn Morris <rgm@gnu.org>
14036 * progmodes/f90.el (f90-font-lock-keywords-2)
14037 (f90-looking-at-type-like, f90-looking-at-program-block-end):
14038 Handle F2003 named interfaces.
14040 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
14042 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
14043 beg and end before calling c-get-state-before-change-functions.
14045 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
14047 * vc-bzr.el (vc-bzr-dir-extra-headers):
14048 Disable the pending merges header.
14050 2010-02-05 Juri Linkov <juri@jurta.org>
14052 * doc-view.el (doc-view-mode):
14053 * image-mode.el (image-mode): Put property mode-class=special.
14056 2010-02-05 Mark A. Hershberger <mah@everybody.org>
14058 * vc-svn.el (vc-svn-revision-table): New function.
14060 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
14062 * net/ange-ftp.el (ange-ftp-insert-directory):
14063 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
14064 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
14065 Handle also directories. (Bug#5478)
14067 2010-02-05 Glenn Morris <rgm@gnu.org>
14069 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
14071 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
14073 * startup.el (command-line-1): Convert options beginning with a
14074 single dash as well (Bug#5519).
14076 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
14078 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
14079 * minibuffer.el (completion-initials-expand): Only check the presence
14080 of delims *within* the boundaries, since otherwise the / delim is
14081 always found for files.
14083 Fix up various corner case problems.
14084 * doc-view.el (doc-view-last-page-number): New function.
14085 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
14086 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
14087 (doc-view-kill-proc): Avoid inf-loop in freak cases.
14088 (doc-view-reconvert-doc): Use the new recursive delete-directory.
14089 (doc-view-convert-current-doc): Don't create the resolution.el file
14091 (doc-view-pdf/ps->png): Do it here instead.
14092 (doc-view-already-converted-p): Check that resolution.el is present.
14093 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
14094 windows that are not yet showing images.
14096 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
14098 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
14099 `dired-uncache' for every elemnt which is an absolute file name.
14101 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
14102 directory, handle its directory component.
14103 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
14104 function is called permanently and creates noise, otherwise.
14106 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
14107 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
14108 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
14110 2010-02-04 David Burger <dburger@google.com> (tiny change)
14112 * macros.el (apply-macro-to-region-lines):
14113 Minor simplification. (Bug#5485)
14115 2010-02-04 Glenn Morris <rgm@gnu.org>
14117 * mail/rmail.el (rmail-show-message-1): Handle malformed
14118 quoted-printable text. (Bug#5441)
14120 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
14122 * simple.el (visual-line-mode): Capitalize lighter.
14124 2010-02-03 John Wiegley <jwiegley@gmail.com>
14126 * iswitchb.el (iswitchb-completions): Add bookmark files to the
14127 list of files considered for "virtual buffer" completions.
14129 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
14131 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
14132 also in case of (and (not full) (not wildcard)). This is needed
14133 when dired is called with a list of files, which are not in
14134 `default-directory'. (Bug#5478)
14136 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
14138 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
14140 2010-02-02 Juri Linkov <juri@jurta.org>
14142 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
14143 from unidiff to allow function-line after @@.
14145 2010-02-02 Juri Linkov <juri@jurta.org>
14147 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
14148 '(RCS SCCS) with inverted condition.
14150 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
14152 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
14155 2010-02-01 Juri Linkov <juri@jurta.org>
14157 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
14158 compare with "pkunzip" and "pkzip" instead of only "pkzip".
14159 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
14160 only when (car archive-zip-extract) is "unzip". (Bug#5475)
14162 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
14164 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
14165 (doc-view-revert-buffer): New command.
14166 (doc-view-mode-map): Use it.
14168 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
14170 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
14171 pending merge is detected.
14173 2010-01-31 Juri Linkov <juri@jurta.org>
14175 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
14176 beginning of interactive spec like all other grep commands do.
14177 Put "all" in front of "gz". (Bug#5260)
14179 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
14181 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
14183 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
14185 * dirtrack.el (dirtrack): Warn instead of signalling error if the
14186 regexp is incorrect (Bug#5476).
14188 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
14190 * net/tramp.el (tramp-handle-insert-directory): Handle also
14191 symlinks, when FILENAME is not in `default-directory'.
14193 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
14195 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
14196 FILE is not in `default-directory'. (Bug#5478)
14198 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
14199 of SWITCHES. Handle the case, FILENAME is not in
14200 `default-directory'. (Bug#5478)
14201 (tramp-register-file-name-handlers): Add safe-magic property.
14203 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
14205 * arc-mode.el (archive-zip-extract): Quote the argument passed to
14208 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
14210 * progmodes/flymake.el (flymake-allowed-file-name-masks)
14211 (flymake-master-make-header-init): Add other C++ filename masks.
14212 (flymake-find-possible-master-files)
14213 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
14215 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
14217 Fix some busybox annoyances.
14219 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
14220 not responding." string.
14221 (tramp-open-connection-setup-interactive-shell): Dump stty
14222 settings. Enable "neveropen" arg for all `tramp-send-command'
14223 calls. Handle "=" in variable values properly.
14224 (tramp-find-inline-encoding): Raise an error, when no encoding is
14226 (tramp-wait-for-output): Check, whether PROC buffer is available.
14227 Remove spurious " ^H" sequences, sent by busybox.
14228 (tramp-get-ls-command): Suppress coloring, if possible.
14230 2010-01-28 Glenn Morris <rgm@gnu.org>
14232 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
14234 * log-edit.el (log-edit-strip-single-file-name): Add missing
14235 :safe, :group, and :version tags.
14237 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
14239 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
14240 buffers. (Bug#5477)
14242 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
14244 * files.el (delete-directory): Handle moving to trash without
14245 first doing recursion (Bug#5436).
14247 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
14249 * vc-hooks.el (vc-path): Mark as obsolete.
14251 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
14253 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
14256 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
14258 (vc-bzr-log-view-mode): Adjust regexp for the above change.
14260 2010-01-25 Mark A. Hershberger <mah@everybody.org>
14262 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
14264 * vc-bzr.el (vc-bzr-revision-table): New function.
14266 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
14268 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
14269 diff-index command. This requires at least git-1.5.5. (Bug#1589).
14271 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
14273 Remove support for adding --signoff on commit.
14274 Future support will use an incompatible generic mechanism.
14275 * vc-git.el (vc-git-add-signoff): Remove variable.
14276 (vc-git-toggle-signoff): Remove function.
14277 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
14279 * term/xterm.el (xterm-maybe-set-dark-background-mode):
14280 Rename from xterm-set-background-mode. Return t if the background mode
14282 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
14283 earlier, call it again in case the background mode has changed.
14285 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
14287 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
14290 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
14292 * emacs-lisp/assoc.el (aelement): Doc fix.
14293 (aput, adelete, amake): Use lexical-let (Bug#5450).
14295 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
14297 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
14298 is the same as subprogram call, not declaration. (Bug#5435).
14300 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
14302 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
14303 (tramp-smb-maybe-open-connection): Use it.
14305 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
14307 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
14309 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
14311 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
14312 just because we see "encoding: 8bit".
14313 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
14315 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
14317 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
14319 2010-01-22 Eli Zaretskii <eliz@gnu.org>
14321 * jka-compr.el (jka-compr-load): If load-file is not in
14322 load-history, try its file-truename version. (bug#5447)
14324 2010-01-21 Alan Mackenzie <acm@muc.de>
14326 Fix a situation where deletion of a cpp construct throws an error.
14327 * progmodes/cc-engine.el (c-invalidate-state-cache):
14328 Before invoking c-with-all-but-one-cpps-commented-out, check that the
14329 special cpp construct is still in the buffer.
14330 (c-parse-state): Record the special cpp with markers, not numbers.
14332 2010-01-21 Kenichi Handa <handa@m17n.org>
14334 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
14335 process last-command-event, as it is now decoded first (Bug#5380).
14337 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
14339 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
14341 2010-01-20 Glenn Morris <rgm@gnu.org>
14343 * indent.el (tab-always-indent): Fix custom-type.
14345 2010-01-19 Alan Mackenzie <acm@muc.de>
14347 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
14348 buffer throws "args out of range".
14349 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
14350 playing the role of delimiter.
14352 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
14354 * progmodes/ada-mode.el: Fix bug#5400.
14355 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
14356 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
14357 changed. Delete RECURSIVE parameter; never used. Improve doc string.
14358 Improve comments in "is" portion. Handle null procedure declaration.
14359 (ada-move-to-end): Improve doc string.
14361 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
14363 * ido.el (ido-cur-list): Initialize to nil.
14364 Remove obsolete information from commentary.
14365 (ido-choice-list): Initialize to nil.
14366 (ido-get-bufname): Reject minibuffers.
14367 (ido-make-buffer-list): If "default" is a nonexistent
14368 buffer, ignore it, as per the function's comment.
14369 (ido-kill-buffer-internal): New function.
14370 (ido-kill-buffer-at-head): Use it.
14371 (ido-visit-buffer): Likewise.
14373 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
14375 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
14377 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
14379 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
14380 Fix typos in chart titles.
14382 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
14383 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
14384 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
14385 (describe-class, eieio-describe-generic, describe-generic):
14386 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
14387 (eieio-speedbar-expand):
14388 * emulation/viper-cmd.el (viper-exec-form-in-vi)
14389 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
14390 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
14391 (viper-del-backward-char-in-replace, viper-backward-indent)
14392 (viper-brac-function, viper-register-to-point, viper-submit-report):
14393 * net/tramp.el (tramp-remote-coding-commands):
14394 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
14395 Fix typos in docstrings.
14397 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
14399 * mail/sendmail.el (mail-yank-original): Set the mark if the
14400 specified function for yanking does not do it.
14402 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
14404 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
14406 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
14407 resyncing a directory.
14409 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
14411 * progmodes/ada-mode.el: Fix bug#1920.
14412 (ada-ident-re): Delete ., allow multibyte characters.
14413 (ada-goto-label-re): New; matches goto labels.
14414 (ada-block-label-re): New; matches block labels.
14415 (ada-label-re): New; matches both.
14416 (ada-named-block-re): Delete; callers changed to use
14417 `ada-block-label-re' instead.
14418 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
14419 Use `ada-block-label-re'.
14420 (ada-indent-on-previous-lines): Improve handling of goto labels.
14421 (ada-get-indent-block-start): Special-case block label.
14422 (ada-get-indent-label): Split into `ada-indent-block-label' and
14423 `ada-indent-goto-label'.
14424 (ada-goto-stmt-start, ada-goto-next-non-ws):
14425 Optionally ignore goto labels.
14426 (ada-goto-next-word): Simplify.
14427 (ada-indent-newline-indent-conditional): Insert newline before
14428 trying to fix indentation; doc fix.
14430 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
14432 * calc/calc.el (calc-command-flags): Give it an initial value.
14434 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
14436 * files.el (minibuffer-with-setup-hook):
14437 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
14438 (artist-key-draw-continously, artist-key-do-continously-continously)
14439 (artist-key-set-point-continously, artist-mouse-draw-continously):
14440 Fix typos in docstrings.
14442 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
14444 * nxml/nxml-mode.el (nxml-extend-after-change-region):
14445 Never return t (Bug#3898).
14447 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
14449 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
14450 can parse the output of the external commands (Bug#5279).
14452 2010-01-16 Jari Aalto <jari.aalto@cante.net>
14454 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
14456 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
14458 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
14460 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
14462 * startup.el (command-line): Remove unused --icon-type arg.
14463 Handle --display arg, passing it to command-line-1 (Bug#5392).
14465 2010-01-16 Mario Lang <mlang@delysid.org>
14467 * emacs-lisp/chart.el (chart-translate-namezone):
14468 * textmodes/artist.el (artist-compute-popup-menu-table):
14469 Remove duplicated words in doc-strings.
14471 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
14473 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
14474 to mairix-search to suppress threading (Bug#5342).
14476 2010-01-15 Kenichi Handa <handa@m17n.org>
14478 * international/mule-cmds.el (canonicalize-coding-system-name):
14479 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
14481 2010-01-15 Glenn Morris <rgm@gnu.org>
14483 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
14485 * wid-edit.el (widget-keymap): Doc fix.
14487 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
14488 former seems to be more widely accepted by various svn versions.
14490 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14492 * find-cmd.el (find-constituents):
14493 * vc-arch.el (vc-arch-root):
14494 * window.el (window-body-height, pop-up-frames):
14495 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
14496 * progmodes/ada-stmt.el (ada-if):
14497 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
14498 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
14499 (ispell-encoding8-command, ispell-aspell-supports-utf8)
14500 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
14502 * progmodes/flymake.el (flymake-post-syntax-check):
14503 Fix typo in error message.
14505 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14507 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
14508 which is always a string. (Bug#5313)
14510 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14512 * progmodes/ada-xref.el (ada-default-prj-properties):
14513 Simplify previous change.
14515 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14517 * progmodes/ada-xref.el (ada-default-prj-properties):
14518 Default ada_project_path to $ADA_PROJECT_PATH.
14520 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14522 * progmodes/ada-mode.el (ada-create-keymap):
14523 Override `narrow-to-defun' with `ada-narrow-to-defun'.
14525 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14527 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
14528 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
14529 (ada-get-current-indent, ada-imenu-generic-expression)
14530 (ada-which-function): Check for it.
14532 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14534 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
14535 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
14537 2010-01-14 Glenn Morris <rgm@gnu.org>
14539 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
14541 2010-01-14 Kenichi Handa <handa@m17n.org>
14543 * composite.el (auto-composition-mode): Make it a buffer local
14544 variable (permanent-local).
14545 (auto-composition-function): Set the default value to
14546 auto-compose-chars.
14547 (auto-composition-mode): Make it a simple function, not a minor mode.
14548 (global-auto-composition-mode): Likewise.
14549 (turn-on-auto-composition-if-enabled): Delete it.
14551 2010-01-13 Karl Fogel <kfogel@red-bean.com>
14553 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
14555 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
14557 * files.el (copy-directory): Compute target for recursive
14558 directories with identical names. (Bug#5343)
14560 2010-01-12 Glenn Morris <rgm@gnu.org>
14562 * mail/emacsbug.el (report-emacs-bug-pretest-address):
14563 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
14565 2010-01-11 Sam Steingold <sds@gnu.org>
14567 * imenu.el (imenu-default-create-index-function): Detect infinite
14568 loops caused by imenu-prev-index-position-function.
14570 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14572 * htmlfontify.el (htmlfontify-load-rgb-file)
14573 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
14574 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
14575 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
14576 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
14577 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
14578 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
14579 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
14580 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
14581 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
14582 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
14583 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
14584 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
14585 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
14586 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
14587 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
14588 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
14589 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
14590 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
14591 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
14592 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
14593 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
14594 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
14595 backslash-quoting from parentheses, etc.
14597 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
14599 * progmodes/js.el: Autoload javascript-mode alias.
14601 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14603 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
14604 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
14605 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
14606 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
14607 Fix typos in docstrings.
14608 (ffap-url-regexp): Doc fix.
14609 (ffap-at-mouse): Fix typo in message.
14611 2010-01-11 Glenn Morris <rgm@gnu.org>
14613 * version.el (emacs-copyright): Set copyright year to 2010.
14615 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
14617 * format.el (format-annotate-function): Only set
14618 write-region-post-annotation-function after running to-fn so as not to
14619 affect nested write-region calls (bug#5273).
14621 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
14623 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
14626 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14628 * man.el (Man-goto-section): Signal error if the section is not
14631 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
14633 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
14634 URLs with a leading triple slash in the file: scheme. (Bug#5345)
14636 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14638 * progmodes/compile.el: Don't treat compile-command as safe if
14639 compilation-read-command might be nil (Bug#4218).
14641 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
14643 * startup.el (command-line-1): Use orig-argi to check for ignored X and
14646 2010-01-08 Kenichi Handa <handa@m17n.org>
14648 * international/fontset.el (build-default-fontset-data):
14649 Exclude characters in scripts kana, hangul, han, or cjk-misc.
14651 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
14653 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
14654 to `create-file-buffer' as it expects, not just a buffer name.
14655 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
14656 to help uniquify. (Bug#3224)
14658 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
14660 * font-setting.el (font-setting-change-default-font): Use user-spec
14663 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
14665 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
14667 2010-01-05 Tom Tromey <tromey@redhat.com>
14669 * progmodes/python.el (python-font-lock-keywords):
14670 Handle qualified decorators (Bug#881).
14672 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14674 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
14675 in a lightweight checkout.
14677 2010-01-05 Kenichi Handa <handa@m17n.org>
14679 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
14681 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14683 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
14685 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
14687 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
14688 checkouts. (Bug#618)
14689 (vc-bzr-log-view-mode): Also highlight the author.
14690 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
14691 (vc-bzr-shelve-menu-map):
14692 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
14693 (vc-bzr-shelve-apply): Make prompt more explicit.
14695 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
14697 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
14698 They are valid characters in URL paths (rfc3986), and at least
14699 Firefox does not understand the encoded version (Bug#3166).
14701 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
14703 * progmodes/octave-mod.el (octave-end-keywords)
14704 (octave-block-begin-or-end-regexp, octave-block-match-alist):
14705 Add "end" keyword (Bug#3061).
14706 (octave-end-as-array-index-p): New function.
14707 (calculate-octave-indent): Use it.
14709 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14711 * bookmark.el: Consistently put the text property on the bookmark name.
14712 (bookmark-bmenu-marks-width): Bump back to 2, to include
14714 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
14715 property on the bookmark name, instead of not putting it at all.
14716 (bookmark-bmenu-list): Fix where we put the text property.
14718 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14720 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
14721 for showing buffer modified state (as added in the previous change).
14723 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14725 * bookmark.el: Show modified state of bookmark buffer more accurately.
14726 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
14727 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
14728 (with-buffer-modified-unmodified): New macro.
14729 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14730 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
14731 Use new macro to preserve the buffer modified state.
14733 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14735 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
14736 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
14737 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
14738 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
14739 (bookmark-bmenu-rename, bookmark-bmenu-locate)
14740 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
14741 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
14743 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14745 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14746 Make the lines in the generated doc string shorter. (Bug#4668)
14748 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
14750 * net/rcirc.el: Add follow-link binding (Bug#4738).
14752 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14754 * Makefile.in (bzr-update): Rename from cvs-update.
14755 (cvs-update): New target for backward compatibility.
14757 * makefile.w32-in (bzr-update): Rename from cvs-update.
14758 (cvs-update): New target for backward compatibility.
14760 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14762 * bookmark.el: Remove gratuitous gratitude.
14764 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14766 * bookmark.el (bookmark-bmenu-any-marks): New function.
14767 (bookmark-bmenu-save): Clear buffer modification if no marks.
14769 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14771 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
14772 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
14773 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
14774 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
14776 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
14777 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
14778 To: emacs-devel {_AT_} gnu.org
14779 Subject: bookmark.el bug report
14780 Date: Mon, 28 Dec 2009 14:19:16 +0800
14781 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
14783 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14785 * bookmark.el: Improvements suggested by Drew Adams:
14786 (bookmark-bmenu-ensure-position): New name for
14787 `bookmark-bmenu-check-position'. Just ensure the position,
14788 don't return any meaningful value.
14789 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
14792 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
14794 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
14795 (bookmark-yank-point, bookmark-bmenu-check-position):
14796 Fix typos in docstrings.
14797 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
14798 (bookmark-name-from-full-record, bookmark-get-position)
14799 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
14800 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
14801 Remove useless quoting of parenthesis, etc. in docstrings.
14803 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
14804 (ediff-append-custom-diff): Fix typo in error message.
14805 (ediff-meta-mark-equal-files): Fix typos in messages.
14807 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
14809 * net/imap-hash.el (imap-hash-make): Doc fix.
14810 (imap-hash-test): Fix typo in error message; reflow docstring.
14811 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
14812 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
14813 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
14814 Fix typos in docstrings.
14815 (imap-hash-open-connection): Fix typo in error message.
14817 * play/gomoku.el (gomoku): Fix typos in docstring.
14819 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
14820 (gdb-jsonify-buffer): Fix typos in docstring.
14821 (gdb-goto-breakpoint): Fix typo in error message.
14822 ("Display Other Windows"): Fix typo in help message.
14823 (gdb-speedbar-expand-node): Fix typo in question.
14825 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14826 (idlwave-html-system-help-location, idlwave-html-help-location)
14827 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14828 (idlwave-help-browser-generic-args, idlwave-help-directory)
14829 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14830 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14831 (idlwave-online-help, idlwave-help-html-link)
14832 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14833 Fix typos in docstrings.
14834 (idlwave-help-with-source, idlwave-help-find-routine-definition):
14836 (idlwave-help-assistant-start): Fix typo in error message.
14838 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14839 (octave-electric-space): Fix typos in docstrings.
14841 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
14843 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14845 2010-01-01 Juri Linkov <juri@jurta.org>
14847 * comint.el (comint-input-ring-size): Make it a defcustom and
14848 increase the default to 500 (Bug#5148).
14850 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
14852 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14853 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14854 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14856 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
14858 Show working revision correctly for mercurial.
14859 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14860 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14862 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
14864 Declare some functions for the byte-compiler.
14865 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14866 (speedbar-timer-fn, speedbar-change-expand-button-char)
14867 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14869 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
14871 This changeset reverts GDB Graphical Interface to use annotations.
14872 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14874 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
14876 Make vc-dir work on subdirectories of the bzr root.
14877 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14878 Return file names relative to it.
14879 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14880 relative directory to vc-bzr-after-dir-status.
14882 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
14884 * font-lock.el (font-lock-refresh-defaults): New function, which
14885 can be used to let font-lock react to external changes in
14886 variables like font-lock-defaults and keywords.
14887 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14889 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
14891 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14893 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14895 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
14897 Supersede color.diff settings in git log (bug#5211).
14899 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14900 escape chars in its output when the user has color.diff set to `always'.
14901 This fix works on git 1.4.2 and newer (released on 2006-08-13).
14903 2009-12-26 Kevin Ryde <user42@zip.com.au>
14905 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14906 node. Keep previous "Index" name to work with past coreutils too.
14908 * man.el (man): Revise docstring a bit to show -a and -l as
14909 examples. Add -k description since support for it has otherwise
14910 been a secret. (Further to bug#3717.)
14911 (Man-bgproc-sentinel): When "-k foo" produces no output show error
14912 "no matches" rather than "Can't find manpage", as the latter reads
14913 like -k was interpreted as a page name, which is not so. (Bug#5431)
14915 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
14917 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14918 switches. Check also for //SUBDIRED// line.
14920 2009-12-25 Kenichi Handa <handa@m17n.org>
14922 * language/indian.el (devanagari-composable-pattern): Fix to
14923 handle ZWNJ and ZWJ. Use it in composition-function-table for
14925 (malayalam-composable-pattern): Fix previous change.
14927 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14929 * ps-print.el (ps-face-attributes): It was not returning the
14930 attribute face for faces specified as string. Reported by harven
14931 <harven@free.fr>. (Bug#5254)
14932 (ps-print-version): New version 7.3.5.
14934 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
14936 * calendar/icalendar.el (icalendar--convert-tz-offset):
14937 Fix timezone names.
14938 (icalendar--convert-tz-offset): Fix the "last-day-problem".
14939 (icalendar--add-diary-entry): Remove the trailing blank that
14940 diary-make-entry inserts.
14942 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
14944 Make `file-expand-wildcards' work for remote files.
14946 * files.el (file-expand-wildcards): In case of remote files, check
14947 only local file name part for wildcards. Provide feature 'files
14948 and subfeature 'remote-wildcards. (Bug#5198)
14950 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14951 if there is already an established connection.
14952 (tramp-advice-file-expand-wildcards): Remove it.
14954 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14955 (tramp-advice-file-expand-wildcards): Move from tramp.el.
14956 Activate advice for older GNU Emacs versions. (Bug#5237)
14958 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
14960 Some doc fixes (more needed).
14962 * find-cmd.el (find-constituents): Reflow docstring.
14963 (find-cmd, find-prune, find-command): Fix typos in docstrings.
14964 (find-generic): Doc fix.
14966 2009-12-17 Juri Linkov <juri@jurta.org>
14968 Fix regression from 23.1 to allow multiple modes in Local Variables.
14970 * files.el (hack-local-variables-filter): While ignoring duplicates,
14971 don't take `mode' into account.
14972 (hack-local-variables-filter, hack-dir-local-variables):
14973 Don't remove duplicate `mode' from local-variables-alist (like `eval').
14975 2009-12-17 Juri Linkov <juri@jurta.org>
14977 Make `dired-diff' safer. (Bug#5225)
14979 * dired-aux.el (dired-diff): Signal an error when `file' equals to
14980 `current' or when `file' is a directory of the `current' file.
14982 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
14984 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14985 unconditionally preloaded files.
14987 2009-12-16 Juri Linkov <juri@jurta.org>
14989 Revert to old 23.1 logic of using the file at the mark as default.
14990 * dired-aux.el (dired-diff): Use the file at the mark as default
14991 if it's not the same as the current file, and the target dir is
14992 the current dir or the mark is active. Add the current file
14993 as the arg of `dired-dwim-target-defaults'. Use the default file
14994 in the prompt. (Bug#5225)
14996 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
14998 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14999 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
15000 (tramp-check-for-regexp): Check also, when an echoing shell stops
15001 to echo sent commands.
15003 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
15005 * Makefile.in: Revert last change (Bug#5191).
15007 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
15009 * vc-hg.el (vc-hg-print-log): Fix argument order.
15010 (vc-hg-working-revision): Make sure the command is executed in a
15011 known environment so that we can parse the output. (Bug#4417)
15013 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
15015 * progmodes/python.el (python-symbol-completions): Remove text
15016 properties from symbol string before calling python-send-receive.
15018 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
15020 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
15021 when there are values for both file and line. (Bug#5060)
15023 2009-12-14 Juri Linkov <juri@jurta.org>
15025 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
15026 whitespace after the file name of the first line of unified format,
15027 because git-diff doesn't output whitespace and file modification time
15028 after the file name.
15030 2009-12-14 David Kastrup <dak@gnu.org>
15032 * info.el (Info-hide-cookies-node): Before hiding a cookie,
15033 check if it already has the `display' property added by
15034 `Info-display-images-node', and not put the `invisible' property
15037 2009-12-13 Glenn Morris <rgm@gnu.org>
15039 * mail/emacsbug.el (message-sort-headers): Define for compiler.
15040 (report-emacs-bug): In message-mode, sort manually before storing
15041 original report text. (Bug#5178)
15042 Remove superfluous save-excursion.
15044 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
15046 * net/dbus.el (dbus-property-handler): Filter lambda forms out
15047 when responding to "GetAll" properties.
15049 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
15051 * simple.el (compose-mail): Remove mail-setup-with-from from
15052 customization checks.
15054 2009-12-12 Eli Zaretskii <eliz@gnu.org>
15056 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
15057 RAR archives created on Unix systems.
15059 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
15061 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
15062 the varalias that was accidentally removed by the 2009-11-19 change
15065 2009-12-12 Kenichi Handa <handa@m17n.org>
15067 * language/indian.el (indian-compose-regexp): New function.
15068 (malayalam-composable-pattern): Fix the pattern.
15069 (composition-function-table): Set malayalam-composable-pattern for
15070 Malayalam characters.
15072 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
15074 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
15075 rather than down-mouse-1, based on follow-link conventions.
15077 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
15080 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
15082 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
15083 (verilog-vmm-statement-re, verilog-ovm-statement-re)
15084 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
15085 (verilog-leap-to-head, verilog-backward-token):
15086 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
15088 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
15090 * progmodes/verilog-mode.el (verilog-auto-lineup)
15091 (verilog-nameable-item-re): Cleanup user-visible spelling and
15092 documentation errors. One reported by Gary Delp.
15093 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
15094 (verilog-read-decls): Fix AUTOWIRE with types declared in a
15095 package, bug195. Reported by Pierre-David Pfister.
15097 2009-12-11 Glenn Morris <rgm@gnu.org>
15099 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
15101 * mail/emacsbug.el: No longer require sendmail.
15102 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
15103 (report-emacs-bug-orig-text): Doc fix.
15104 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
15105 New local variables, to adapt to different mail-user-agents.
15106 (report-emacs-bug): Fix test for a gnu.org address.
15107 Use overlays for emphasis, since font-lock defeats 'face property.
15108 Pretest bugs also end up at the newsgroup these days.
15109 Stop message-mode stripping text properties.
15110 Set and use the new buffer-local variables.
15111 (report-emacs-bug-hook): Add doc-string.
15112 Remove some unnecessary save-excursions and simplify.
15113 Use the appropriate hook and send-command.
15115 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
15116 capitalization of some menu entries.
15118 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15120 * whitespace.el (whitespace-display-char-on):
15121 Ensure `buffer-display-table' is unique when two or more windows are
15122 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
15125 2009-12-10 Eli Zaretskii <eliz@gnu.org>
15127 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
15128 characters in the Attribute field.
15130 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
15132 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
15134 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
15136 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
15137 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15138 Disregard autoload-excludes.
15139 (update-directory-autoloads): Obey autoload-excludes here instead.
15140 But don't store its contents in no-autoloads and remove entries that
15141 refer to excludes files.
15143 2009-12-10 Glenn Morris <rgm@gnu.org>
15145 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
15146 (expand-mail-aliases): Define for compiler.
15148 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
15149 Define for compiler.
15151 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
15152 appropriate for the mail-user-agent in use.
15154 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
15156 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
15158 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
15160 Fix short log parsing and fontification.
15161 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
15162 Fix fontification for the [merge] label.
15164 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
15166 Drop some properties to avoid surprises (bug#5002).
15167 * htmlfontify.el (hfy-ignored-properties): New defcustom.
15168 (hfy-fontify-buffer): Use it.
15170 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
15173 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
15174 Adjust all callers.
15175 (ffap-locate-file): Remove unused arg `dir-ok' and make other
15176 args compulsory. Adjust callers.
15177 (ffap-gopher-at-point): Remove unused var `name'.
15179 Get rid of the ELCFILES abomination.
15180 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
15181 (compile-elcfiles): New phony target.
15182 (compile-main): Compute ELCFILES dynamically.
15183 (compile-clean): New target to remove left-over elc files.
15184 (compile, all): Use it.
15186 2009-12-09 Kenichi Handa <handa@etlken>
15188 * international/mule-diag.el: Require help-mode instead of help-fns.
15190 2009-12-09 Kenichi Handa <handa@m17n.org>
15192 * international/mule-cmds.el (ucs-names): Supply sufficiently
15193 fine ranges instead of pre-calculating accurate ranges.
15194 Iterate with bigger gc-cons-threshold.
15196 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
15198 Add support for stashing a snapshot of the current tree.
15199 * vc-git.el (vc-git-stash-snapshot): New function.
15200 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
15202 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
15204 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
15205 instead of `(beginning|end)-of-line'.
15207 2009-12-08 Glenn Morris <rgm@gnu.org>
15209 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
15211 * Makefile.in (ELCFILES): Regenerate.
15213 2009-12-07 Juri Linkov <juri@jurta.org>
15215 Don't lazy-highlight the comint output in history Isearch mode.
15217 * comint.el (comint-history-isearch-search): Instead of
15218 `comint-line-beginning-position', use `comint-after-pmark-p'
15219 to check if point if before the process mark, and go to
15220 `process-mark' in this case.
15222 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15224 * textmodes/tex-mode.el (latex-complete)
15225 (latex-indent-or-complete): Remove.
15226 (latex-mode): Set completion-at-point-functions instead.
15228 Provide a standard completion command and hook it into TAB.
15229 * minibuffer.el (completion-at-point-functions): New var.
15230 (completion-at-point): New command.
15231 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
15232 * progmodes/python.el (python-mode-map): Use completion-at-point.
15233 (python-completion-at-point): Rename from python-partial-symbol and
15234 adjust for use in completion-at-point-functions.
15235 (python-mode): Setup completion-at-point for Python completion.
15236 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
15237 extracted from lisp-complete-symbol.
15238 (lisp-complete-symbol): Use it.
15239 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
15240 setup completion-at-point for Elisp completion.
15241 (emacs-lisp-mode-map, lisp-interaction-mode-map):
15242 Use completion-at-point.
15243 * ielm.el (ielm-map): Use completion-at-point.
15244 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
15245 * progmodes/sym-comp.el: Move to...
15246 * obsolete/sym-comp.el: Move from progmodes.
15248 2009-12-07 Eli Zaretskii <eliz@gnu.org>
15250 Prevent save-buffer in Rmail buffers from using the coding-system
15251 of the current message, and from clobbering the encoding mnemonics
15252 in the mode line (Bug#4623).
15254 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
15256 (rmail-message-encoding): New variable.
15257 (rmail-write-region-annotate): Record the encoding of the current
15258 message in rmail-message-encoding.
15259 (rmail-after-save-hook): New function, restores the encoding of
15260 the current message after the message collection is saved.
15262 2009-12-07 Juri Linkov <juri@jurta.org>
15264 * progmodes/grep.el (grep-read-files): Use `completing-read'
15265 instead of `read-string'. Set its `collection' arg to
15266 `read-file-name-internal'. (Bug#4301)
15268 2009-12-07 Juri Linkov <juri@jurta.org>
15270 Correctly restore original Isearch point. (Bug#4994)
15272 * isearch.el (isearch-mode): Move `isearch-push-state' after
15273 `(run-hooks 'isearch-mode-hook)'.
15274 (isearch-cancel): When `isearch-push-state-function' is defined,
15275 let-bind `isearch-cmds' to the first state (the last element of
15276 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
15277 function and restores the original point). Otherwise, move point
15278 to `isearch-opoint'.
15280 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15282 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
15283 chars that don't have names, so the table can be built much faster at
15286 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
15288 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
15289 change. Suggested by David Kastrup.
15291 * simple.el (compose-mail): Check for incompatibilities and warn.
15292 (compose-mail-user-agent-warnings): New option.
15294 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15296 Support showing a single log entry from vc-annotate.
15297 * vc.el (print-log): Add a new argument: START-REVISION.
15298 (vc-print-log-internal): Add a new optional argument and
15299 pass it to the backend.
15300 (vc-print-log, vc-print-root-log): Adjust callers.
15301 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
15302 buffer already displays the requested log entry, use it.
15303 Otherwise display only the log entry in question.
15304 * vc-svn.el (vc-svn-print-log):
15305 * vc-mtn.el (vc-mtn-print-log):
15306 * vc-hg.el (vc-hg-state):
15307 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
15308 (vc-git-show-log-entry): Return t on success.
15309 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
15310 (vc-bzr-show-log-entry): Return t on success.
15311 * vc-rcs.el (vc-rcs-print-log):
15312 * vc-sccs.el (vc-sccs-print-log):
15313 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
15315 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15317 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
15318 Add menus to the meta mode. (Bug#5043)
15320 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
15322 * ediff-init.el (ediff-event-key): Use event-to-character instead of
15325 * ediff.el (ediff-buffers-internal): Add unwind-protect.
15327 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
15329 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
15330 Berbain <raphael.berbain@gmail.com>.
15332 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
15334 (tramp-initial-end-of-output): New defconst.
15335 (tramp-methods, tramp-find-shell)
15336 (tramp-open-connection-setup-interactive-shell)
15337 (tramp-maybe-open-connection): Use it.
15338 (tramp-shell-prompt-pattern, tramp-wait-for-output):
15339 Handle existence of `#' and `$'.
15341 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
15342 Use `tramp-initial-end-of-output'.
15344 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15346 Get the background mode from the terminal for xterm, and set
15348 * term/xterm.el (xterm-set-background-mode): New function.
15349 (terminal-init-xterm): Use it in case xterm supports background
15350 color queries. Recompute faces after getting the background
15353 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
15355 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
15356 number comment back on its own line, for easier parsing.
15358 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15360 Make it work for non-file buffers (bug#5102).
15361 * doc-view.el (doc-view-current-cache-dir):
15362 Use doc-view-buffer-file-name rather than buffer-file-name.
15363 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
15365 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
15367 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
15368 author field is too short.
15370 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
15372 * vc-git.el (vc-git-print-log): Handle a limit argument.
15373 Display the short log in graph form and with labels.
15374 (vc-git-log-view-mode): Handle labels.
15376 Make vc-revert change VC state from 'added to 'unregistered.
15377 * vc-git.el (vc-git-revert): Call git reset first.
15379 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
15381 * net/newst-backend.el, net/newst-plainview.el:
15382 * net/newst-reader.el, net/newst-ticker.el:
15383 * net/newst-treeview.el, net/newsticker.el:
15384 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
15386 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
15388 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
15390 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
15391 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
15392 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
15393 Update annotation regexp.
15395 * simple.el (beginning-of-visual-line): Constrain to field
15396 boundaries (Bug#5106).
15398 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
15400 * xml.el (xml-substitute-numeric-entities):
15401 Move newsticker--decode-numeric-entities in newst-backend.el to
15402 xml-substitute-numeric-entities in xml.el. (Bug#5008)
15403 * net/newst-backend.el (newsticker--parse-generic-feed)
15404 (newsticker--parse-generic-items)
15405 (newsticker--decode-numeric-entities):
15406 Move newsticker--decode-numeric-entities in newst-backend.el to
15407 xml-substitute-numeric-entities in xml.el. (Bug#5008)
15409 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
15411 * progmodes/js.el (js--js-not): Add null to the list of values.
15413 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
15415 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
15417 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15419 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
15420 delimiter if it is at the end of the current line.
15421 (bibtex-generate-url-list): Fix docstring.
15423 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15425 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
15426 minibuffer's content with itself.
15427 Fold the confirm-after-completion case into the `confirm' case.
15428 (completion-pcm-word-delimiters): Add : and / to the delimiters.
15430 2009-12-06 Kevin Ryde <user42@zip.com.au>
15432 * ffap.el (ffap-rfc-path): Make this a defcustom since
15433 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
15435 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
15436 manuals, similar to existing setup for help-mode. (Bug#3913.)
15438 2009-12-05 Juri Linkov <juri@jurta.org>
15440 Save and restore dired buffer's point positions too. (Bug#4880)
15442 * dired.el (dired-save-positions): Return in the first element
15443 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
15445 (dired-restore-positions): First restore buffer's position.
15446 While restoring window's positions, check if window still displays
15447 the original buffer.
15449 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
15451 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
15454 * shell.el (shell): Require ansi-color (Bug#5113).
15456 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
15458 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
15460 2009-12-05 Alan Mackenzie <acm@muc.de>
15462 * progmodes/cc-mode.el (c-before-hack-hook)
15463 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
15464 `c-file-style' to work again. This reversion restores the current
15465 software to its state in Emacs 23.1. (Bug#4146)
15467 2009-12-05 Kevin Ryde <user42@zip.com.au>
15469 * textmodes/sgml-mode.el (sgml-lexical-context):
15470 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
15472 2009-12-05 Juri Linkov <juri@jurta.org>
15474 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
15475 for virtual nodes. (Bug#4147)
15476 (Info-find-node-2): Set `Info-current-node-virtual' to nil
15477 when moving from a virtual node.
15478 (Info-mode-menu): Add `Info-virtual-index' to the menu.
15479 (Info-mode): Add `Info-virtual-index' to the docstring.
15481 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15483 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
15484 track of the buffer position of the end of a BibTeX entry as this
15485 position may change during reformatting.
15486 (bibtex-format-entry): Remove whitespace before processing
15487 numerical fields so that we recognize the latter properly.
15488 (bibtex-reformat): Do not use push which changes the global value
15489 of bibtex-entry-format.
15490 (bibtex-field-braces-alist, bibtex-field-strings-alist)
15491 (bibtex-field-re-init): Replace only space characters by regexp
15493 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
15494 (bibtex-initialize): Also update bibtex-strings.
15495 (bibtex-kill-field): Preserve white space at end of entry.
15496 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
15497 Update bibtex-reference-keys.
15499 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
15501 * minibuffer.el (completion-pcm--merge-try): Also consider placing
15502 point after a star, if that's the only place where modifications can
15505 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
15507 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
15510 2009-12-04 Juri Linkov <juri@jurta.org>
15512 * proced.el (proced): Call `(proced-update t)' to update process
15513 information instead of only running proced-post-display-hook.
15514 (proced-send-signal): Add a leading space to the buffer name
15515 " *Marked Processes*" to make this buffer ephemeral.
15517 2009-12-04 Juri Linkov <juri@jurta.org>
15519 * dired.el (dired-auto-revert-buffer): New defcustom.
15520 (dired-internal-noselect): Use it.
15522 2009-12-04 Juri Linkov <juri@jurta.org>
15524 Change roles of modes and functions in image-mode.el (Bug#5062).
15526 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
15527 in `auto-mode-alist'.
15528 (image-mode-previous-major-mode): New variable.
15529 (image-minor-mode-map): Rename from `image-mode-text-map'.
15530 (image-mode): Move graceful error-handling code from
15531 `image-minor-mode' to here. On errors call `image-mode-as-text'.
15532 (image-minor-mode): Remove all image-handling code.
15533 Replace `image-mode-text-map' with `image-minor-mode-map'.
15534 Check for `image-type' in mode-line format string.
15535 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
15536 (image-mode-as-text): New function with most code from
15537 `image-mode-maybe'.
15538 (image-toggle-display-text): Move code that removes image
15539 properties from `image-toggle-display' to here.
15540 (image-toggle-display-image): New function with code that adds
15541 image properties copied from `image-toggle-display'.
15542 (image-toggle-display): Remove most code with leaving only code
15543 that toggles between `image-mode-as-text' and `image-mode'.
15545 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
15547 * net/newst-treeview.el
15548 (newsticker--treeview-list-highlight-start): Restored call to
15549 save-excursion: Selected item was stuck.
15550 (newsticker--treeview-list-select): New.
15551 (newsticker--treeview-item-show-text)
15552 (newsticker--treeview-item-show)
15553 (newsticker--treeview-item-update): Use new
15554 newsticker-treeview-item-mode.
15555 (newsticker-treeview-update): Keep current item.
15556 (newsticker-treeview-next-new-or-immortal-item): Doc change.
15557 (newsticker--treeview-first-feed): Doc change.
15558 (newsticker-treeview-list-menu)
15559 (newsticker-treeview-item-menu): Add menu entries.
15560 (newsticker-treeview-item-mode): New.
15562 * net/newst-backend.el (newsticker-customize): Delete other
15565 2009-12-04 Sam Steingold <sds@gnu.org>
15567 * log-view.el (log-view-mode-map): "q" calls quit-window,
15568 like in all the other non-self-insert buffers.
15570 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
15573 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
15574 key decoding rather than do it manually via last-input-event +
15576 (term-exec): Use delete-and-extract-region.
15577 (term-handle-ansi-terminal-messages): Remove unused var `end'.
15578 (term-process-pager): Remove unused var `i'.
15579 (term-dynamic-simple-complete): Make obsolete.
15580 (serial-update-config-menu): Remove unused vars `y' and `str'.
15581 (term-update-mode-line): Remove unused var `temp'.
15583 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15585 Limit the number of log entries displayed by default.
15586 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
15587 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
15588 using a prefix argument.
15590 2009-12-03 Glenn Morris <rgm@gnu.org>
15592 * progmodes/idlwave.el (class): Restore still useful declaration.
15594 2009-12-03 Alan Mackenzie <acm@muc.de>
15596 Enhance `c-parse-state' to run efficiently in "brace deserts".
15598 * progmodes/cc-mode.el (c-basic-common-init):
15599 Call c-state-cache-init.
15600 (c-neutralize-syntax-in-and-mark-CPP): Rename from
15601 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
15602 placing `category' properties value 'c-cpp-delimiter at its boundaries.
15604 * progmodes/cc-langs.el (c-before-font-lock-function):
15605 c-extend-and-neutralize-syntax-in-CPP has been renamed
15606 c-neutralize-syntax-in-and-mark-CPP.
15608 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
15609 with `category' properties now, not `syntax-table' ones.
15611 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
15612 enhanced (but slower) version of c-end-of-macro that won't land
15613 inside a literal or on another awkward character.
15614 (c-state-cache-too-far, c-state-cache-start)
15615 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
15616 (c-state-nonlit-pos-cache-limit, c-state-point-min)
15617 (c-state-point-min-lit-type, c-state-point-min-lit-start)
15618 (c-state-min-scan-pos, c-state-brace-pair-desert)
15619 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
15620 buffer local variables.
15621 (c-state-literal-at, c-state-lit-beg)
15622 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
15623 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
15624 (c-state-cache-top-paren, c-state-cache-after-top-paren)
15625 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
15626 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
15627 (c-renarrow-state-cache)
15628 (c-append-lower-brace-pair-to-state-cache)
15629 (c-state-push-any-brace-pair, c-append-to-state-cache)
15630 (c-remove-stale-state-cache)
15631 (c-remove-stale-state-cache-backwards, c-state-cache-init)
15632 (c-invalidate-state-cache-1, c-parse-state-1)
15633 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
15634 (c-parse-state): Enhance and refactor.
15635 (c-debug-parse-state): Amend to deal with all the new variables.
15637 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
15638 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
15639 modify to use category text properties rather than syntax-table ones.
15640 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
15641 to switch off/on the syntactic paren property of C++ template
15642 delimiters using the category property.
15643 (c-with-<->-as-parens-suppressed): Macro to invoke code with
15644 template delims suppressed.
15645 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
15646 New constant/macros which apply category properties to the start
15647 and end of preprocessor constructs.
15648 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
15649 "comment out" the syntactic value of characters in preprocessor
15651 (c-with-cpps-commented-out)
15652 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
15653 with characters in all or all but one preprocessor constructs
15656 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15658 * proced.el (proced-filter-alist): Use regexp-quote.
15660 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
15663 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
15664 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
15665 arguments. Expand `default-directory'.
15667 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
15668 the benefit of returning an expanded localname.
15669 (tramp-tramp-file-p): Handle the case NAME is not a string.
15671 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15673 Add support for bzr shelve/unshelve.
15674 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
15675 (vc-bzr-extra-menu-map): New variables.
15676 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
15677 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
15678 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
15679 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
15680 (vc-bzr-dir-extra-headers): Display shelves.
15682 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
15684 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15686 * textmodes/bibtex.el (bibtex-complete-internal):
15687 Use completion-in-region.
15688 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
15690 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15692 Support applying stashes. Improve UI.
15693 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
15694 (vc-git-stash-apply, vc-git-stash-pop)
15695 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
15696 (vc-git-stash-menu): New functions.
15697 (vc-git-stash-menu-map): New variable.
15698 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
15700 2009-12-03 Glenn Morris <rgm@gnu.org>
15702 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
15703 (vc-print-log-internal): Fix previous change.
15704 (vc-revert): Correct pluralization.
15706 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15708 * progmodes/make-mode.el (makefile-special-targets-list): No need for
15709 it to be an alist any more.
15710 (makefile-complete): Use completion-in-region.
15712 * progmodes/octave-mod.el (octave-complete-symbol):
15713 Use completion-in-region.
15716 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
15717 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
15718 (idlwave-complete-class): Don't quote lambda.
15719 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
15720 (idlwave-mode-map): Move initialization into declaration.
15721 (idlwave-action-and-binding): Use backquotes.
15722 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
15724 (idlwave-is-pointer-dereference): Remove unused var `pos'.
15725 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
15726 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
15727 `parts', and `all-parts'.
15728 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
15729 (idlwave-convert-xml-system-routine-info): Remove unused string
15731 (idlwave-display-user-catalog-widget): Use dolist.
15732 (idlwave-scanning-lib): Declare dynamically-scoped var.
15733 (idlwave-scan-library-catalogs): Remove unused var `flags'.
15734 (completion-highlight-first-word-only): Declare to silence bytecomp.
15735 (idlwave-popup-select): Tighten scope of `resp'.
15736 (idlwave-find-struct-tag): Remove unused var `beg'.
15737 (idlwave-after-load-rinfo-hook): Declare.
15738 (idlwave-sintern-class-info): Remove unused var `taglist'.
15739 (idlwave-find-class-definition): Remove unused var `list'.
15740 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
15741 (idlwave-what-module-find-class): Remove unused var `classes'.
15743 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
15745 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
15747 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15749 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
15750 buffers visited. Remove redundant current-buffer-saving.
15752 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15754 Use completion-in-buffer and remove uses of dynamic scoping.
15755 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
15756 (pascal-buffer-to-use, pascal-flag): Don't declare.
15757 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
15758 (pascal-get-completion-decl, pascal-keyword-completion):
15759 Add `pascal-str' argument, save-excursion,
15760 return the found completions, and don't filter with pascal-pred.
15761 (pascal-completion-cache): New var.
15762 (pascal-completion): Don't switch buffer any more (it was never
15763 necessary). Don't save-excursion any more (it's done by the called
15764 subroutines). Use a cache to avoid redundant computations.
15765 Use complete-with-action rather than pascal-completion-response and
15766 let it apply the predicate as well.
15767 (pascal-complete-word): Use completion-in-buffer when
15768 pascal-toggle-completions is nil.
15769 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
15771 (pascal-comp-defun): Don't change buffer any more.
15772 Use complete-with-action rather than pascal-completion-response and
15773 let it apply the predicate as well.
15774 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
15777 2009-12-02 Kenichi Handa <handa@m17n.org>
15779 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
15780 shape for all Indic scripts.
15782 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15784 Use completion-in-buffer.
15785 * wid-edit.el (widget-field-text-end): New function.
15786 (widget-field-value-get): Use it.
15787 (widget-string-complete, widget-file-complete)
15788 (widget-color-complete): Use it and completion-in-region.
15789 (widget-complete): Don't narrow the buffer.
15791 2009-12-02 Glenn Morris <rgm@gnu.org>
15793 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
15794 (rmail-select-summary): Use rmail-pop-to-buffer.
15795 * mail/rmailsum.el: Replace all pop-to-buffer calls with
15796 rmail-pop-to-buffer, to prevent horizontal splits.
15798 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
15799 save-excursion with save-current-buffer.
15800 Widen before searching. (Bug#5093)
15801 (diary-list-sexp-entries): Remove superfluous save-excursion.
15803 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
15805 * woman.el (woman-make-bufname): Handle man-pages with "." in the
15808 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
15810 * ido.el (ido-file-internal): Handle filenames at point that do
15811 not have a directory part. (Bug#5049)
15813 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
15815 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
15816 (mpc-songs-jump-to, mpc-resume): Doc fixes.
15818 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
15820 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15821 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15824 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15826 * comint.el (comint-insert-input): Ignore clicks to the right of
15827 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15829 * vc.el (vc-print-log-internal): Don't wait for the process to
15830 terminate before setting up the major mode.
15832 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15835 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15838 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15840 2009-12-01 Glenn Morris <rgm@gnu.org>
15842 * window.el (window--display-buffer-2): Fix previous changes.
15844 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
15846 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15848 2009-12-01 Glenn Morris <rgm@gnu.org>
15850 * Makefile.in (ELCFILES): Add mpc.elc.
15852 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15854 * mpc.el: New file.
15856 2009-12-01 Glenn Morris <rgm@gnu.org>
15858 * window.el (window-to-use): Define for compiler.
15860 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15861 consistent with others (no final period).
15863 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15864 (rmail-mime-show): Downcase the encoding. (Bug#5070)
15866 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
15868 Make vc-print-log buttons work.
15869 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15871 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
15873 * savehist.el (savehist-autosave-interval): Allow setting to nil
15874 through customize. (Bug#5056)
15876 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
15878 Fix references to jit-lock properties.
15879 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15880 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15881 (perl-font-lock-special-syntactic-constructs):
15882 Quote jit-lock-defer-multiline property.
15884 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
15886 * vc-git.el (vc-git-registered): Call vc-git-root only once.
15888 2009-11-30 Juri Linkov <juri@jurta.org>
15890 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15891 value `buffer' of `multi-isearch-next-buffer-current-function'.
15892 Use `(current-buffer)' when `buffer' is nil.
15893 (multi-isearch-next-buffer-from-list): Don't fallback to
15894 `(current-buffer)' when `buffer' is nil. (Bug#4947)
15896 2009-11-30 Juri Linkov <juri@jurta.org>
15898 * misearch.el (multi-isearch-read-buffers): Move canonicalization
15899 of buffers with `get-buffer' to `multi-isearch-buffers'.
15900 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15901 Canonicalize BUFFERS with `get-buffer'. Doc fix.
15902 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15903 FILES with `expand-file-name' converting relative file names
15904 to absolute. Doc fix. (Bug#4727)
15906 2009-11-30 Juri Linkov <juri@jurta.org>
15908 * misearch.el (multi-isearch-read-buffers)
15909 (multi-isearch-read-matching-buffers): New functions.
15910 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15911 Use them in the `interactive' spec. Doc fix.
15912 (multi-isearch-read-files, multi-isearch-read-matching-files):
15914 (multi-isearch-files, multi-isearch-files-regexp):
15915 Use them in the `interactive' spec. Doc fix. (Bug#4725)
15917 2009-11-30 Juri Linkov <juri@jurta.org>
15919 * doc-view.el (doc-view-continuous):
15920 Rename from `doc-view-continuous-mode'.
15921 (doc-view-menu): Move "Toggle display" to the top.
15922 Add submenu "Continuous" with radio buttons "Off"/"On"
15923 and "Save as Default".
15924 (doc-view-scroll-up-or-next-page)
15925 (doc-view-scroll-down-or-previous-page)
15926 (doc-view-next-line-or-next-page)
15927 (doc-view-previous-line-or-previous-page):
15928 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
15930 2009-11-30 Juri Linkov <juri@jurta.org>
15932 * comint.el (comint-mode-map): Rebind `M-r' from
15933 `comint-previous-matching-input' to
15934 `comint-history-isearch-backward-regexp'.
15935 Unbind `M-s' to allow global key binding `M-s'.
15936 Add menu items for `comint-history-isearch-backward' and
15937 `comint-history-isearch-backward-regexp'. (Bug#3746)
15939 2009-11-30 Juri Linkov <juri@jurta.org>
15941 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15942 For def=recenter, replace `recenter' with `recenter-top-bottom'
15943 that is called with `this-command' and `last-command' let-bound
15944 to `recenter-top-bottom'. When the last `def' was not `recenter',
15945 set `recenter-last-op' to nil. (Bug#4981)
15947 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
15949 Minor cleanup and simplification.
15950 * filecache.el (file-cache-add-directory)
15951 (file-cache-add-directory-recursively)
15952 (file-cache-add-from-file-cache-buffer)
15953 (file-cache-delete-file-regexp, file-cache-delete-directory)
15954 (file-cache-files-matching-internal, file-cache-display): Use dolist.
15955 (file-cache-temp-minibuffer-message): Delete function.
15956 (file-cache-minibuffer-complete): Use minibuffer-message instead.
15958 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15959 Don't signal an error when bumping into EOB in tr, s, or y.
15961 2009-11-29 Juri Linkov <juri@jurta.org>
15963 * startup.el (fancy-about-text): Fix wording of Guided Tour.
15966 * descr-text.el (describe-char-unidata-list): Use lowercase name
15967 for "Unicode name" like in other tags.
15969 2009-11-29 Juri Linkov <juri@jurta.org>
15971 * ediff-util.el (ediff-minibuffer-with-setup-hook):
15972 New compatibility macro.
15973 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15975 2009-11-29 Juri Linkov <juri@jurta.org>
15977 Add defcustom to define the cycling order of `recenter-top-bottom'.
15980 * window.el (recenter-last-op): Doc fix.
15981 (recenter-positions): New defcustom.
15982 (recenter-top-bottom): Rewrite to use `recenter-positions'.
15983 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15985 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
15987 Improve integration of Tramp and ange-ftp in eshell.
15989 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15990 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
15991 (eshell/sudo): Flatten args. Let-bind `default-directory'.
15993 * eshell/esh-util.el (top): Require also Tramp when compiling.
15994 (eshell-directory-files-and-attributes): Check for FTP remote
15996 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15997 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15998 (eshell-file-attributes): Handle ".". Return `entry'.
16000 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
16001 (ange-ftp-directory-files-and-attributes)
16002 (ange-ftp-real-directory-files-and-attributes): New defuns.
16004 * net/tramp.el (tramp-maybe-open-connection): Open the remote
16005 shell with "exec" when possible. This prevents trailing prompts
16006 in `start-file-process'.
16008 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
16010 Try and remove assumptions about point-min==1.
16011 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
16012 (rng-compute-mode-line-string): Show the validation percentage in
16013 terms of the narrowed text, not the widened text.
16014 (rng-do-some-validation): Don't catch internal errors when debugging.
16015 (rng-first-error): Simplify.
16016 (rng-after-change-function): Remove work around. AFAIK the bug has
16017 been fixed a while ago.
16019 * image-mode.el (image-minor-mode): Exit more gracefully when the image
16020 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
16022 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
16024 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
16025 `cd' doesn't always do it for us (bug#5067).
16027 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
16028 on 2009-10-25 as part of some other change (bug#5067).
16030 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
16032 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
16034 (byte-compile-warnings): Use byte-compile-warning-types.
16035 (byte-compile-save-excursion): Warn about use of set-buffer right
16036 after save-excursion.
16038 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
16039 the excursion as well.
16041 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
16043 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
16044 providing a Tramp related implementation of "su" and "sudo".
16045 (eshell-unix-initialize): Add "su" and "sudo".
16047 2009-11-27 Daiki Ueno <ueno@unixuser.org>
16049 * net/socks.el (socks-send-command): Convert binary request to
16050 unibyte before sending. This fixes mishandling of some port
16051 numbers such as 129.
16053 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
16055 * help.el (describe-bindings-internal): Remove `interactive'.
16057 * man.el (Man-completion-table): Trim a terminating "(".
16058 Remove the space between name page a section.
16059 Add the command's description on the `help-echo' property.
16060 Remove `process-connection-type' binding since it's unused by
16062 Provide completion for the "<section> <name>" format as well.
16063 (Man-default-man-entry): Remove spurious var shadowing the argument.
16065 2009-11-26 Kevin Ryde <user42@zip.com.au>
16067 * log-view.el: Add "Keywords: tools", since its other keywords
16068 aren't in finder-known-keywords, and following vc.el.
16070 * sha1.el (sha1-string-external): default-directory "/" in case
16071 otherwise non-existent. process-connection-type pipe for touch of
16072 efficiency recommended by elisp manual. (An aside in Bug#3911.)
16074 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
16076 Misc coding convention cleanups.
16077 * htmlfontify.el (hfy-init-kludge-hook): Rename from
16078 hfy-init-kludge-hooks.
16079 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
16080 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
16081 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
16083 (hfy-slant, hfy-weight): Use tables rather than code.
16084 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
16085 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
16086 (hfy-face-attr-for-class): Initialize `face-spec' directly.
16087 (hfy-face-to-css): Remove `nconc' with single arg.
16088 (hfy-p-to-face-lennart): Use `or'.
16089 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
16090 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
16091 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
16092 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
16093 (hfy-force-fontification): Use run-hooks.
16095 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
16097 Various minor fixes.
16098 * htmlfontify.el (hfy-default-header): Add toggle_invis since
16099 Javascript belongs in the header, not the body.
16100 (hfy-javascript): Remove.
16101 (hfy-fontify-buffer): Don't insert it any more.
16102 (hfy-face-at): Handle (face0 face1 face2) style face properties.
16103 Fix bug in invis handling when there were no invis props in a chunk.
16105 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
16107 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
16109 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
16111 * finder.el (finder-mode-map): Add a menu.
16113 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
16115 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
16116 "unsigned" structs.
16118 (verilog-leap-to-head, verilog-backward-token): Handle "disable
16119 fork" statement better.
16121 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
16123 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
16124 (verilog-delete-auto, verilog-delete-empty-auto-pair)
16125 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
16126 Reported by Clay Douglass.
16128 (verilog-auto-inst, verilog-auto-star-safe)
16129 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
16130 Fix removing "// Interfaces" when saving .* expansions.
16131 Reported by Pierre-David Pfister.
16133 2009-11-26 Glenn Morris <rgm@gnu.org>
16135 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
16138 2009-11-25 Johan Bockgård <bojohan@gnu.org>
16140 * vc-annotate.el (vc-annotate-revision-previous-to-line):
16141 Really use previous revision.
16143 2009-11-25 Kevin Ryde <user42@zip.com.au>
16145 * man.el (Man-completion-table): default-directory "/" in case
16146 doesn't otherwise exist. process-environment COLUMNS=999 so as
16147 not to truncate long names. process-connection-type pipe to avoid
16148 any chance of hitting the pseudo-tty TIOCGWINSZ.
16149 (man): completion-ignore-case t for friendliness and since man
16150 itself is case-insensitive on the command line.
16151 Further to Bug#3717.
16153 * arc-mode.el: Add "Keywords: files", so the details in its
16154 commentary can be reached from finder-by-keyword.
16155 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
16156 editing mode, but it's comms related and sgml-mode.el has "comm"
16158 * textmodes/bibtex-style.el: Add "Keywords: tex".
16159 * international/isearch-x.el, international/ja-dic-cnv.el:
16160 * international/ja-dic-utl.el, international/kkc.el:
16161 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
16163 2009-11-25 Juri Linkov <juri@jurta.org>
16165 * man.el (Man-completion-table): Modify regexp to include
16166 section names to completion strings. (Bug#3717)
16168 2009-11-25 Juri Linkov <juri@jurta.org>
16170 Search recursively in gzipped files. (Bug#4982)
16172 * progmodes/grep.el (grep-highlight-matches): Add new options
16173 `always' and `auto'. Doc fix.
16174 (grep-process-setup): Check `grep-highlight-matches' for
16175 `auto-detect' to determine the need to compute grep defaults.
16176 Move Windows/DOS specific --colors settings handling
16177 to `grep-compute-defaults'. Check `grep-highlight-matches'
16178 to get the value of "--color=".
16179 (grep-compute-defaults): Compute `grep-highlight-matches' when it
16180 has the value `auto-detect'. Move Windows/DOS specific settings
16181 from `grep-process-setup'.
16182 (zrgrep): New command with alias `rzgrep'.
16184 2009-11-25 Juri Linkov <juri@jurta.org>
16186 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
16187 to nil instead of switching off view-mode. (Bug#4896)
16189 2009-11-25 Juri Linkov <juri@jurta.org>
16191 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
16193 * mwheel.el (mwheel-scroll-up-function)
16194 (mwheel-scroll-down-function): New defvars.
16195 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
16196 `scroll-up', and `mwheel-scroll-down-function' instead of
16199 * doc-view.el (doc-view-scroll-up-or-next-page)
16200 (doc-view-scroll-down-or-previous-page): Add optional ARG.
16201 Use this ARG in the call to image-scroll-up/image-scroll-down.
16202 Change `interactive' spec to "P". Goto next/previous page only
16203 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
16204 SPC/DEL case). Doc fix.
16205 (doc-view-next-line-or-next-page)
16206 (doc-view-previous-line-or-previous-page): Rename arg to ARG
16208 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
16209 `doc-view-scroll-up-or-next-page', and buffer-local
16210 `mwheel-scroll-down-function' to
16211 `doc-view-scroll-down-or-previous-page'.
16213 2009-11-25 Juri Linkov <juri@jurta.org>
16215 Provide additional default values (directories at other Dired
16216 windows) via M-n in the minibuffer of some Dired commands.
16218 * dired-aux.el (dired-diff, dired-compare-directories)
16219 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
16220 `minibuffer-default' in `minibuffer-with-setup-hook'.
16221 (dired-dwim-target-directory): Find a window that displays Dired
16222 buffer instead of failing when the next window is not Dired.
16223 Use `get-window-with-predicate' to find for the next Dired window.
16224 (dired-dwim-target-defaults): New function.
16226 * ediff-util.el (ediff-read-file-name):
16227 Use `dired-dwim-target-defaults' to set `minibuffer-default'
16228 in `minibuffer-with-setup-hook'.
16230 2009-11-25 Juri Linkov <juri@jurta.org>
16232 Provide additional default values (file name at point or at the
16233 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
16235 * minibuffer.el (read-file-name-defaults): New function.
16236 (read-file-name): Reset `minibuffer-default' to nil when
16237 it duplicates initial input `insdef'.
16238 Bind `minibuffer-default-add-function' to lambda that
16239 calls `read-file-name-defaults' in `minibuffer-selected-window'.
16240 (minibuffer-insert-file-name-at-point): New command.
16242 * files.el (file-name-at-point-functions): New defcustom.
16243 (find-file-default): Remove defvar.
16244 (find-file-read-args): Don't use `find-file-default'.
16245 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
16246 to `read-file-name'.
16247 (find-file-literally): Use `read-file-name' with
16248 `confirm-nonexistent-file-or-buffer'.
16250 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
16252 * dired.el (dired-read-dir-and-switches):
16253 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
16254 to `read-file-name'.
16255 (dired-file-name-at-point): New function.
16256 (dired-mode): Add hook `dired-file-name-at-point' to
16257 `file-name-at-point-functions'.
16259 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
16261 Really make the *Completions* window soft-dedicated (bug#5030).
16262 * window.el (window--display-buffer-2): Add `dedicated' argument.
16263 (display-buffer): Pass it when needed so the dedicated flag is set
16264 after calling set-window-buffer, which would otherwise reset it.
16266 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
16268 * progmodes/meta-mode.el (meta-complete-symbol):
16269 * progmodes/etags.el (complete-tag):
16270 * mail/mailabbrev.el (mail-abbrev-complete-alias):
16271 Use completion-in-region.
16273 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
16274 (dabbrev-completion): Use completion-in-region.
16275 (dabbrev--abbrev-at-point): Simplify regexp.
16277 * abbrev.el (abbrev--before-point): Use word-motion functions
16278 if :regexp is not specified (bug#5031).
16280 * subr.el (string-prefix-p): New function.
16282 * man.el (Man-completion-cache): New var.
16283 (Man-completion-table): Use it.
16285 * vc.el (vc-print-log-internal): Make `limit' optional for better
16286 compatibility (e.g. with vc-annotate.el).
16288 2009-11-24 Kevin Ryde <user42@zip.com.au>
16290 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
16291 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
16293 * emacs-lisp/elint.el (elint-add-required-env): Better error message
16294 when .el source file not found or other error.
16296 2009-11-24 Markus Triska <markus.triska@gmx.at>
16298 * linum.el (linum-update-window): Ignore intangible (bug#4996).
16300 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
16302 Handle the [back] button properly (bug#4979).
16303 * descr-text.el (describe-text-properties): Add a `buffer' argument.
16304 Use help-setup-xref, help-buffer, and with-help-window.
16305 (describe-char): Add `buffer' argument.
16306 Pass proper command to help-setup-xref. Don't meddle with
16307 help-xref-stack-item directly.
16308 (describe-text-category): Use with-help-window and help-buffer.
16310 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
16311 for the displayed buffer (bug#4887).
16313 * man.el (Man-completion-table): New function.
16316 2009-11-24 David Reitter <david.reitter@gmail.com>
16318 * vc-git.el (vc-git-registered): Use checkout directory (where
16319 .git is) rather than the file's directory and a relative path spec
16320 to work around a bug in git.
16322 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
16324 Improve handling of processes on remote hosts.
16326 * eshell/esh-util.el (eshell-path-env): New defvar.
16327 (eshell-parse-colon-path): New defun.
16328 (eshell-file-attributes): Use `eshell-parse-colon-path'.
16330 * eshell/esh-ext.el (eshell-search-path):
16331 Use `eshell-parse-colon-path'.
16332 (eshell-remote-command): Remove argument HANDLER.
16333 (eshell-external-command): Check for FTP remote connection.
16335 * eshell/esh-proc.el (eshell-gather-process-output):
16336 Use `file-truename', in order to start also symlinked files.
16337 Apply `start-file-process' instead of `start-process'.
16338 Shorten `command' to the local file name part.
16340 * eshell/em-cmpl.el (eshell-complete-commands-list):
16341 Use `eshell-parse-colon-path'.
16343 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
16345 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
16346 to `eshell-directory-change-hook'.
16348 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
16350 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
16351 because it could be enabled automatically if view-read-only is non-nil.
16353 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
16355 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
16356 made on 2009-11-22.
16358 2009-11-24 Glenn Morris <rgm@gnu.org>
16360 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
16361 deleted variable bookmark-bmenu-bookmark-column.
16363 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
16365 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
16367 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
16369 * net/browse-url.el (browse-url-filename-alist): On Windows, add
16370 two slashes to the "file:" prefix.
16371 (browse-url-file-url): De-munge Cygwin filenames before passing
16372 them to Windows browser.
16373 (browse-url-default-windows-browser): Use call-process.
16375 2009-11-23 Juri Linkov <juri@jurta.org>
16377 Implement DocView Continuous mode. (Bug#4896)
16378 * doc-view.el (doc-view-continuous-mode): New defcustom.
16379 (doc-view-mode-map): Bind C-n/<down> to
16380 `doc-view-next-line-or-next-page', C-p/<up> to
16381 `doc-view-previous-line-or-previous-page'.
16382 (doc-view-next-line-or-next-page)
16383 (doc-view-previous-line-or-previous-page): New commands.
16385 2009-11-23 Juri Linkov <juri@jurta.org>
16387 Implement Isearch in comint input history. (Bug#3746)
16388 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
16389 `isearch-mode-hook'.
16390 (comint-history-isearch): New defcustom.
16391 (comint-history-isearch-backward)
16392 (comint-history-isearch-backward-regexp): New commands.
16393 (comint-history-isearch-message-overlay): New buffer-local variable.
16394 (comint-history-isearch-setup, comint-history-isearch-end)
16395 (comint-goto-input, comint-history-isearch-search)
16396 (comint-history-isearch-message, comint-history-isearch-wrap)
16397 (comint-history-isearch-push-state)
16398 (comint-history-isearch-pop-state): New functions.
16400 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
16402 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
16404 (tramp-handle-make-symbolic-link)
16405 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
16407 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
16408 (tramp-handle-process-file): Use it.
16410 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
16412 * window.el (move-to-window-line-last-op): Remove.
16413 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
16415 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
16417 Make M-r mirror the new cycling behavior of C-l.
16418 * window.el (move-to-window-line-last-op): New var.
16419 (move-to-window-line-top-bottom): New command.
16420 (global-map): Bind M-r move-to-window-line-top-bottom.
16422 2009-11-23 Sven Joachim <svenjoac@gmx.de>
16424 * dired-x.el (dired-guess-shell-alist-default):
16425 Support xz format. (Bug#4953)
16427 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
16429 * emulation/viper-cmd.el: Use viper-last-command-char instead of
16430 last-command-char/last-command-event.
16431 (viper-prefix-arg-value): Do correct conversion of event-char for
16434 * emulation/viper-util.el, emulation/viper.el:
16435 Use viper-last-command-char instead of
16436 last-command-char/last-command-event.
16438 * ediff-init.el, ediff-mult.el, ediff-util.el:
16439 Replace last-command-char and last-command-event
16440 with (ediff-last-command-char) everywhere.
16442 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
16443 created in fundamental mode.
16445 * ediff.el (ediff-version): Revert the change of interactive-p to
16446 called-interactively-p.
16448 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
16450 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
16451 generation from word-movement command names.
16453 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
16455 * cus-start.el (all): Add native condition for font-use-system-font.
16457 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
16459 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
16460 Correct the patch from 2009-11-18. (Bug#3910)
16462 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
16464 * progmodes/subword.el: Rename from lisp/subword.el.
16466 * subword.el: Rename to progmodes/subword.el.
16468 * Makefile.in (ELCFILES): Adapt to subword.el move.
16470 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16471 Stefan Monnier <monnier@iro.umontreal.ca>
16473 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
16474 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
16475 (bookmark-bmenu-show-filenames): Use push.
16476 (bookmark-bmenu-hide-filenames): Use local var instead of
16477 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
16478 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
16479 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
16480 filenames now that the bookmark names are always available.
16482 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16484 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
16485 (bookmark-search-pattern): Move and leave unbound.
16486 (bookmark-bmenu-mode-map): Change binding.
16487 (bookmark-read-search-input): Simplify.
16488 Don't use text-char-description. Don't error on non-char events.
16489 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
16490 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
16491 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
16492 Use a local var for the timer.
16493 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
16494 (i.e. bookmark-bmenu-search).
16496 2009-11-21 Glenn Morris <rgm@gnu.org>
16498 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
16500 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
16502 * net/browse-url.el (browse-url-default-windows-browser):
16503 Use cygstart for cygwin.
16505 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
16507 * bookmark.el: Formatting and doc fixes only:
16508 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
16509 (bookmark-bmenu-search): Wrap to fit within 80 columns.
16510 Minor grammar and punctuation fixes in doc string.
16511 (bookmark-read-search-input): Adjust to fit within 80 columns.
16513 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16515 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
16516 (c-backward-into-nomenclature): Adapt to subword renaming.
16518 * subword.el (subword-forward, subword-backward, subword-mark)
16519 (subword-kill, subword-backward-kill, subword-transpose)
16520 (subword-downcase, subword-upcase, subword-capitalize)
16521 (subword-forward-internal, subword-backward-internal):
16522 Rename from forward-subword, backward-subword, mark-subword,
16523 kill-subword, backward-kill-subword, transpose-subwords,
16524 downcase-subword, upcase-subword, capitalize-subword,
16525 forward-subword-internal, backward-subword-internal.
16527 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16529 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
16531 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
16533 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
16534 (bookmark-bmenu-filter-alist-by-regexp)
16535 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
16536 (bookmark-bmenu-search): New command.
16537 (bookmark-bmenu-mode-map): Bind it.
16539 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16541 * progmodes/cc-cmds.el: declare-functioned forward-subword and
16542 backward-subword to quit the byte-compiler.
16544 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
16546 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
16548 * progmodes/cc-cmds.el (c-update-modeline)
16549 (c-forward-into-nomenclature, c-backward-into-nomenclature):
16550 Refer to subword.el functions instead of cc-subword.el.
16552 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
16553 subword.el functions instead of cc-subword.el.
16555 * progmodes/cc-subword.el: Rename to subword.el.
16556 * subword.el: Rename from progmodes/cc-subword.el.
16557 (subword-mode-map): Rename from c-subword-mode-map.
16558 (subword-mode): Rename from c-subword-mode.
16559 (global-subword-mode): New global minor mode.
16560 (forward-subword): Rename from c-forward-subword.
16561 (backward-subword): Rename from c-backward-subword.
16562 (mark-subword): Rename from c-mark-subword.
16563 (kill-subword): Rename from c-kill-subword.
16564 (backward-kill-subword): Rename from c-backward-kill-subword.
16565 (transpose-subwords): Rename from c-tranpose-subword.
16566 (downcase-subword): Rename from c-downcase-subword.
16567 (capitalize-subword): Rename from c-capitalize-subword.
16568 (forward-subword-internal): Rename from c-forward-subword-internal.
16569 (backward-subword-internal): Rename from c-backward-subword-internal.
16571 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
16573 * vc.el (vc-deduce-fileset): Allow non-state changing operations
16574 from a dired buffer.
16575 (vc-dired-deduce-fileset): New function.
16576 (vc-root-diff, vc-print-root-log): Use it.
16578 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
16579 nil LIMIT argument to vc-print-log-internal.
16581 2009-11-20 Glenn Morris <rgm@gnu.org>
16583 * Makefile.in (ELCFILES): Regenerate.
16585 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
16587 * calc/calc.el (calc-set-mode-line):
16588 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16589 (math-format-number): Rename `math-format-complement-signed' to
16590 `math-format-twos-complement'.
16592 * calc/calc-bin.el (math-format-twos-complement): Rename from
16593 math-format-complement-signed.
16594 (calc-radix): Rename `calc-complement-signed-mode' to
16595 `calc-twos-complement-mode'.
16596 (calc-octal-radix, calc-hex-radix): Add an argument for
16599 * calc/calc-embed.el (calc-embedded-mode-vars):
16600 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16602 * calc/calc-ext.el (calc-init-extensions):
16603 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16604 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
16606 * calc/calc-units.el (math-build-units-table-buffer):
16607 Let `calc-twos-complement-mode' be nil.
16609 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
16612 * calc/calc-vec.el (calcFunc-vunpack):
16613 * calc/calc-aent.el (calc-do-calc-eval):
16614 * calc/calc-forms.el (math-format-date):
16615 * calc/calc-graph.el (calc-graph-plot):
16616 * calc/calc-math.el (math-use-emacs-fn):
16617 * calc/calccomp.el (math-compose-expr):
16618 Let `calc-twos-complement-mode' be nil.
16620 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16622 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
16623 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
16624 * minibuffer.el (completion-in-region-functions): New hook.
16625 (completion-in-region): New function.
16626 * emacs-lisp/lisp.el (lisp-complete-symbol):
16627 * pcomplete.el (pcomplete-std-complete): Use it.
16629 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16631 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
16632 (latex-complete-alist): New vars.
16633 (latex-string-prefix-p, latex-complete-bibtex-keys)
16634 (latex-complete-envnames, latex-complete-refkeys)
16635 (latex-complete-data): New functions.
16636 (latex-complete, latex-indent-or-complete): New commands.
16638 * window.el (display-buffer-mark-dedicated): New var.
16639 (display-buffer): Obey it.
16640 * minibuffer.el (minibuffer-completion-help): Use it.
16642 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
16644 * filecache.el (file-cache-add-file): Use push and cons.
16645 (file-cache-delete-file-regexp): Use push.
16646 (file-cache-complete): Use completion-in-region.
16648 * simple.el (with-wrapper-hook): Fix thinko.
16650 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
16651 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
16652 Use with-current-buffer and string-to-number.
16653 (hfy-fallback-colour-values): Use assoc-string.
16654 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
16655 (hfy-face-at): Remove unused var `found-face'.
16656 (hfy-compile-stylesheet): Remove unused var `css'.
16657 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
16659 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
16660 Use with-current-buffer.
16661 (hfy-text-p): Use expand-file-name and fewer setq.
16663 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
16665 * htmlfontify.el, hfy-cmap.el: New files.
16667 2009-11-19 Juri Linkov <juri@jurta.org>
16669 * minibuffer.el (completions-format): New defcustom.
16670 (completion--insert-strings): Implement vertical format.
16672 * simple.el (switch-to-completions): Move point to the first
16673 completion when point was at the beginning of the buffer.
16675 2009-11-19 Juri Linkov <juri@jurta.org>
16677 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
16679 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
16681 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
16683 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
16684 (mail-signature): Change default to t.
16685 (mail-from-style): Deprecate `system-default' value.
16686 (mail-insert-from-field): For default value of mail-from-style,
16687 default to `angles' unless `angles' needs quoting and `parens'
16689 (mail-citation-prefix-regexp): Use citation regexp from
16692 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
16694 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
16695 Set variables for computing the prompt for reading password.
16697 2009-11-19 Glenn Morris <rgm@gnu.org>
16699 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
16701 * textmodes/flyspell.el (sgml-lexical-context): Declare.
16703 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
16704 (newsticker-treeview-listwindow-height): Fix custom type.
16706 2009-11-19 Kenichi Handa <handa@m17n.org>
16708 * descr-text.el (describe-char-padded-string): Compose with TAB
16709 only if there's a font for CH.
16710 (describe-char): Fix the condition for detecting a trivial composition.
16712 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
16714 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
16715 more accurate version of the regexp. (Bug#3910)
16717 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16719 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
16721 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
16723 * font-setting.el (font-use-system-font): Declare for byte-compiler.
16724 (font-setting-change-default-font): Fix typo in docstring.
16726 2009-11-18 Alan Mackenzie <acm@muc.de>
16728 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
16730 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16732 * font-setting.el (font-use-system-font): Move ...
16734 * cus-start.el (all): ... to here.
16736 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
16738 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
16739 Don't set `ad-return-value' if `ad-do-it' doesn't.
16741 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
16744 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16746 * menu-bar.el: Put "Use system font" in Option-menu.
16747 (menu-bar-options-save): Add font-use-system-font.
16749 * loadup.el: If feature system-font-setting or font-render-setting is
16750 there, load font-setting.
16752 * Makefile.in (ELCFILES): Add font-settings.el.
16753 * font-setting.el: New file.
16755 2009-11-17 Glenn Morris <rgm@gnu.org>
16757 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
16759 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
16760 Preserve point in the list buffer. (Bug#4939)
16762 (newsticker--treeview-list-update-highlight)
16763 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
16765 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16767 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
16770 * calc/calc-ext.el (calc-init-extensions): Remove references to
16773 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
16775 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
16776 * calc/calc-help.el (calc-b-prefix-help): Remove references to
16779 2009-11-16 Kevin Ryde <user42@zip.com.au>
16781 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16782 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
16784 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
16785 (lm-keywords-list): Allow comma-only separator like "foo,bar".
16786 Ignore trailing spaces by omit-nulls to split-string (fixing
16787 regression from Emacs 21 due to the incompatible split-string
16788 change). (Bug #4928.)
16790 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
16792 * vc.el (vc-log-show-limit): Default to 2000.
16793 (vc-print-log-internal): Insert buttons to request more entries
16794 when limiting the output.
16796 * vc-sccs.el (vc-sccs-print-log):
16797 * vc-rcs.el (vc-rcs-print-log):
16798 * vc-cvs.el (vc-cvs-print-log):
16799 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
16802 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16804 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
16805 error when `tramp-gvfs-dbus-event-vector' is set.
16806 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
16808 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16810 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
16812 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16814 * net/dbus.el (dbus-unregister-service): New defun.
16815 (dbus-register-property): Register the handlers of
16816 "org.freedesktop.DBus.Properties" for SERVICE.
16817 (dbus-property-handler): Fix docstring.
16819 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16821 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16822 Quote doc string reference in defvaralias as it is not in special form.
16823 (byte-compile-output-docform): Doc fix.
16825 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16827 * calc/calc.el (math-2-word-size, math-half-2-word-size)
16828 (calc-complement-signed-mode): New variables.
16829 (calc-set-mode-line): Add indicator for twos-complements.
16830 (math-format-number): Format twos-complement notation.
16832 * calc/calc-bin.el (calc-word-size): Reset the variables
16833 `math-2-word-size' and `math-half-2-word-size'.
16834 (math-format-complement-signed, math-symclip, calcFunc-symclip)
16835 (calc-symclip): New functions.
16837 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16839 * calc/calc-embed.el (calc-embedded-mode-vars):
16840 Add `calc-complement-signed-mode' to the list of modes.
16842 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16843 (calc-b-oper-keys): Add `calc-symclip' to list.
16845 * calc/calc-ext.el (math-read-number-fancy): Read complement
16847 (calc-init-extensions): Add binding for `calc-symclip'.
16848 Add autoload for `calcFunc-symclip' and `calc-symclip'.
16850 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16852 (calc-modes-menu): Add item for twos complement mode.
16854 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16856 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16858 * register.el (jump-to-register, insert-register): Handle Semantic
16859 tags. From commented-out advice in semantic/senator.el.
16861 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
16863 * vc.el (vc-log-show-limit): New variable.
16864 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
16865 when using a prefix argument.
16866 (vc-print-log-internal): Add new argument LIMIT.
16868 * vc-svn.el (vc-svn-print-log):
16869 * vc-mtn.el (vc-mtn-print-log):
16870 * vc-hg.el (vc-hg-print-log):
16871 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16872 pass it to the log command when set. Make the BUFFER argument
16875 * vc-sccs.el (vc-sccs-print-log):
16876 * vc-rcs.el (vc-rcs-print-log):
16877 * vc-git.el (vc-git-print-log):
16878 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16879 ignore it. Make the BUFFER argument non-optional.
16881 * bindings.el (mode-line-buffer-identification): Do not purecopy.
16883 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16885 * dired.el (dired-mode-map): Move encryption items to "Operate"
16888 * strokes.el (strokes-update-window-configuration): Make strokes
16889 buffer current before erasing (Bug#4906).
16891 2009-11-15 Juri Linkov <juri@jurta.org>
16893 * simple.el (set-mark-default-inactive): Add :type, :group
16894 and :version. (Bug#4876)
16896 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
16898 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16899 (archive-unique-fname): ... here. (Bug#4929)
16901 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
16903 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16906 * novice.el (disabled-command-function): Add useful args.
16907 Setup the help buffer so that [back] works.
16908 Remove redundant call to help-mode.
16909 (disabled-command-function): Use `case'.
16910 (en/disable-command): New function extracted from enable-command.
16911 (enable-command, disable-command): Use it.
16913 2009-11-14 Glenn Morris <rgm@gnu.org>
16915 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16916 constants. (Bug#4913)
16918 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16920 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
16922 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16923 defined in C that have no doc-strings. (Bug#1063)
16925 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
16927 * cus-edit.el (data, files):
16928 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
16930 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
16932 * simple.el (shell-command): Doc fix (Bug#4891).
16934 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16936 2009-11-14 Glenn Morris <rgm@gnu.org>
16938 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16939 statements for vc-diff, emerge-quit, and rmail-cease-edit.
16940 If they are already loaded, eval-after-load will do the right thing.
16942 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16945 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16947 * simple.el (x-selection-owner-p): Declare.
16948 (read-mail-command): Use custom radio type rather than choice.
16949 (completion-no-auto-exit): Doc fix.
16951 * custom.el (defgroup):
16952 * epg-config.el (epg): Doc fixes.
16954 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
16956 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16957 * international/ccl.el (define-ccl-program): Do not purecopy the
16958 docstring, defconst does it anyway.
16960 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16962 * add-log.el (add-change-log-entry): Avoid displaying the changelog
16965 * x-dnd.el (x-dnd-maybe-call-test-function):
16966 * window.el (split-window-vertically):
16967 * whitespace.el (whitespace-help-on):
16968 * vc-rcs.el (vc-rcs-consult-headers):
16969 * userlock.el (ask-user-about-lock-help)
16970 (ask-user-about-supersession-help):
16971 * type-break.el (type-break-force-mode-line-update):
16972 * time-stamp.el (time-stamp-conv-warn):
16973 * terminal.el (te-set-output-log, te-more-break, te-filter)
16974 (te-sentinel, terminal-emulator):
16975 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16976 (term-write-input-ring, term-check-source, term-start-output-log):
16977 (term-display-buffer-line, term-dynamic-list-completions):
16978 (term-ansi-make-term, serial-term):
16979 * subr.el (selective-display):
16980 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16981 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16982 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16983 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16984 (speedbar-remove-localized-speedbar-support)
16985 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16986 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16987 (speedbar-buffers-line-directory):
16988 * simple.el (shell-command-on-region, append-to-buffer)
16989 (prepend-to-buffer):
16990 * shadowfile.el (shadow-save-todo-file):
16991 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16992 (scroll-bar-maybe-set-window-start):
16993 * sb-image.el (speedbar-image-dump):
16994 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16995 (load-save-place-alist-from-file):
16996 * ps-samp.el (ps-print-message-from-summary):
16997 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16998 (ps-background-image, ps-begin-job, ps-do-despool):
16999 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
17000 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
17001 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
17002 (pr-call-process, pr-file-list, pr-interface-save):
17003 * novice.el (disabled-command-function)
17004 (enable-command, disable-command):
17005 * mouse.el (mouse-buffer-menu-alist):
17006 * mouse-copy.el (mouse-kill-preserving-secondary):
17007 * macros.el (kbd-macro-query):
17008 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
17009 * informat.el (batch-info-validate):
17010 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
17011 * hippie-exp.el (try-expand-dabbrev-visible):
17012 * help-mode.el (help-make-xrefs):
17013 * help-fns.el (describe-variable):
17014 * generic-x.el (bat-generic-mode-run-as-comint):
17015 * finder.el (finder-mouse-select):
17016 * find-dired.el (find-dired-sentinel):
17017 * filesets.el (filesets-file-close):
17018 * files.el (list-directory):
17019 * faces.el (list-faces-display, describe-face):
17020 * facemenu.el (list-colors-display):
17021 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
17022 * epg.el (epg--process-filter, epg-cancel):
17023 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
17024 (epa--read-signature-type):
17025 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
17026 (emerge-file-names):
17027 * ehelp.el (electric-helpify):
17028 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
17029 * ediff-vers.el (rcs-ediff-view-revision):
17030 * ediff-util.el (ediff-setup):
17031 * ediff-mult.el (ediff-append-custom-diff):
17032 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
17034 * echistory.el (Electric-command-history-redo-expression):
17035 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
17036 * disp-table.el (describe-display-table):
17037 * dired.el (dired-find-buffer-nocreate):
17038 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
17039 * dabbrev.el (dabbrev--same-major-mode-p):
17040 * chistory.el (list-command-history):
17041 * apropos.el (apropos-documentation):
17042 * allout.el (allout-obtain-passphrase):
17043 (allout-copy-exposed-to-buffer):
17044 (allout-verify-passphrase): Use with-current-buffer.
17046 2009-11-13 Glenn Morris <rgm@gnu.org>
17048 * Makefile.in (ELCFILES): Regenerate.
17050 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
17052 * net/dbus.el (dbus-registered-objects-table): Rename from
17053 `dbus-registered-functions-table', because it contains also properties.
17054 (dbus-unregister-object): Unregister also properties.
17055 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
17056 Use a timeout of 500 msec, in order to not block.
17057 (dbus-register-property, dbus-property-handler): New defuns.
17059 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
17061 * simple.el (minibuffer-default-add-completions): Drop deprecated
17064 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
17066 * textmodes/artist.el (artist-mouse-choose-operation):
17067 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
17068 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
17069 (artist-compute-up-event-key): New function.
17070 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
17072 2009-11-13 Kenichi Handa <handa@m17n.org>
17074 * language/japan-util.el: Make sure that the value of jisx0208
17075 property is jisx0208 character.
17077 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
17079 * international/mule.el (auto-coding-regexp-alist): Only purecopy
17080 car or each item, not the whole list.
17082 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
17084 * minibuffer.el (minibuffer-completion-help):
17085 Use minibuffer-hide-completions.
17087 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
17089 * dired.el (dired-save-positions, dired-restore-positions): New funs.
17090 (dired-revert): Use them (bug#4880).
17092 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
17094 * tooltip.el (tooltip-frame-parameters): Undo previous change.
17096 2009-11-12 Juri Linkov <juri@jurta.org>
17098 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
17100 (find-file-literally-at-point): Alias of `ffap-literally'.
17102 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
17104 * textmodes/ispell.el (ispell-skip-region-alist):
17105 * textmodes/css-mode.el (auto-mode-alist):
17106 * progmodes/compile.el (auto-mode-alist):
17107 * international/mule.el (ctext-non-standard-encodings-alist)
17108 (ctext-non-standard-encodings-regexp):
17109 * simple.el (shell-command-switch, text-read-only):
17110 * replace.el (occur-mode-map):
17111 * paths.el (rmail-file-name):
17112 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
17113 * find-file.el (ff-special-constructs):
17114 * files.el (file-name-handler-alist):
17115 * composite.el: Purecopy strings.
17117 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
17119 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
17121 * widget.el (define-widget): Purecopy the docstring.
17122 * international/mule-cmds.el (charset): Do not purecopy the
17123 docstring here, define-widget does it.
17125 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
17126 * textmodes/bibtex-style.el (auto-mode-alist):
17127 * progmodes/inf-lisp.el (inferior-lisp-prompt):
17128 * progmodes/compile.el (compile-command):
17129 * language/korea-util.el (default-korean-keyboard):
17130 * international/mule-conf.el (file-coding-system-alist):
17131 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
17132 * tooltip.el (tooltip-frame-parameters):
17133 * newcomment.el (comment-end, comment-padding):
17134 * dired.el (dired-trivial-filenames):
17135 * comint.el (comint-file-name-prefix): Purecopy initial values.
17137 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
17139 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
17140 (tramp-advice-minibuffer-electric-tilde): Unload advices via
17142 (tramp-advice-make-auto-save-file-name)
17143 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
17144 after removing the advice.
17146 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
17148 * progmodes/grep.el (grep-regexp-alist):
17149 * international/mule-cmds.el (iso-2022-control-alist):
17150 * emacs-lisp/timer.el (timer-duration-words):
17151 * subr.el (version-separator, version-regexp-alist):
17152 * minibuffer.el (completion-styles-alist):
17153 * faces.el (face-attribute-name-alist, list-faces-sample-text):
17154 Change defvars to defconsts.
17156 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
17157 * loadup.el ("international/mule-conf"): Load the byte compiled version.
17158 * international/mule-conf.el: Allow to be byte compiled.
17160 * international/mule.el (define-charset): Purecopy props.
17161 (load-with-code-conversion): Purecopy doc string and file name.
17162 (put-charset-property): Purecopy strings.
17163 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
17165 * international/mule-cmds.el (register-input-method): Purecopy arguments.
17166 (define-char-code-property): Correctly purecopy the table.
17168 * international/ccl.el (define-ccl-program): Purecopy the docstring.
17170 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
17172 * subr.el (add-hook): Purecopy strings.
17173 (eval-after-load): Purecopy load-history-regexp and the form.
17175 * custom.el (custom-declare-group): Purecopy load-file-name.
17177 * subr.el (menu-bar-separator): New defconst.
17178 * net/eudc.el (eudc-tools-menu):
17179 * international/mule-cmds.el (set-coding-system-map)
17180 (mule-menu-keymap):
17181 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17182 * vc-hooks.el (vc-menu-map):
17183 * replace.el (occur-mode-map):
17184 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
17185 (menu-bar-edit-menu, menu-bar-goto-menu)
17186 (menu-bar-custom-menu, menu-bar-showhide-menu)
17187 (menu-bar-options-menu, menu-bar-tools-menu)
17188 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
17189 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
17190 (menu-bar-help-menu):
17191 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
17192 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
17194 * term/x-win.el (x-gtk-stock-map):
17195 * progmodes/vera-mode.el (auto-mode-alist):
17196 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
17197 (inferior-lisp-program, inferior-lisp-load-command):
17198 * progmodes/hideshow.el (hs-special-modes-alist):
17199 * progmodes/gud.el (same-window-regexps):
17200 * progmodes/grep.el (grep-program, find-program, xargs-program):
17201 * net/telnet.el (same-window-regexps):
17202 * net/rlogin.el (same-window-regexps):
17203 * language/ethiopic.el (font-ccl-encoder-alist):
17204 * vc-sccs.el (vc-sccs-master-templates):
17205 * vc-rcs.el (vc-rcs-master-templates):
17206 * subr.el (cl-assertion-failed):
17207 * simple.el (next-error-overlay-arrow-position):
17208 * lpr.el (lpr-command):
17209 * locate.el (locate-ls-subdir-switches):
17210 * info.el (same-window-regexps, info)
17211 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
17212 * image-mode.el (image-mode, auto-mode-alist):
17213 * hippie-exp.el (hippie-expand-ignore-buffers):
17214 * format.el (format-alist):
17215 * find-dired.el (find-ls-subdir-switches, find-grep-options)
17217 * facemenu.el (facemenu-keybindings):
17218 * dired.el (dired-listing-switches, dired-chown-program):
17219 * diff.el (diff-switches, diff-command):
17220 * cus-edit.el (same-window-regexps):
17221 * bindings.el (mode-line-mule-info)
17222 (mode-line-buffer-identification): Purecopy strings.
17224 2009-11-11 Juri Linkov <juri@jurta.org>
17226 * simple.el (dired-get-filename) <declare-function>:
17227 Tell the byte-compiler about dired-get-filename.
17228 (shell-command): In Dired mode, get filename from the current line
17229 as the default value.
17231 2009-11-10 Glenn Morris <rgm@gnu.org>
17233 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
17234 * calendar/holidays.el, progmodes/cperl-mode.el:
17235 Update x-popup-menu declarations.
17237 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
17238 (list-load-path-shadows): Use dolist.
17239 (list-load-path-shadows): Use with-current-buffer.
17241 2009-11-10 Juri Linkov <juri@jurta.org>
17243 * minibuffer.el (read-file-name): Support a list of default values
17244 in `default-filename'. Use the first file name where only one
17245 element is required. Doc fix.
17247 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
17249 * net/dbus.el (dbus-unregister-object): Release service, if no
17250 other method is registered for it.
17252 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
17254 * bookmark.el (bookmark-completing-read): Sort bookmark names if
17255 bookmark-sort-flag is non-nil (Bug#4653).
17257 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
17259 * emulation/cua-base.el: Add CUA property to some CC mode commands
17262 2009-11-08 Kevin Ryde <user42@zip.com.au>
17264 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
17265 at end of sentence (Bug#4818).
17267 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
17269 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17270 Handle "see declaration of" MSFT statements (Bug#4100).
17272 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
17274 * net/tramp.el (tramp-advice-make-auto-save-file-name)
17275 (tramp-advice-file-expand-wildcards): Unload via
17276 `ad-remove-advice'.
17278 * net/trampver.el: Update release number.
17280 2009-11-08 Kevin Ryde <user42@zip.com.au>
17282 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
17285 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
17287 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
17288 in order to keep context in SELinux.
17290 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
17292 * dired-aux.el (dired-query): Place cursor in echo area and allow
17295 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
17296 menu item if not on a directory (Bug#4701).
17298 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
17300 Sync with Tramp 2.1.17.
17302 * net/tramp.el (tramp-handle-copy-directory): Don't use
17303 `file-remote-p' (due to compatibility).
17305 * net/tramp-compat.el (tramp-compat-copy-directory)
17306 (tramp-compat-delete-directory): New defuns.
17308 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17309 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17310 Use `tramp-compat-delete-directory'.
17312 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
17313 (tramp-smb-handle-delete-directory):
17314 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
17316 * net/trampver.el: Update release number.
17318 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
17320 * tar-mode.el (tar-copy): Call write-region on the right buffer
17323 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
17324 by hand, if necessary (Bug#4878).
17326 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
17328 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
17329 align size column (Bug#4839).
17331 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
17334 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
17336 * progmodes/ld-script.el (auto-mode-alist):
17337 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
17339 * cus-face.el (custom-declare-face): Purecopy face spec.
17341 2009-11-06 Kenichi Handa <handa@m17n.org>
17343 * international/uni-bidi.el: Re-generated.
17344 * international/uni-category.el: Re-generated.
17345 * international/uni-combining.el: Re-generated.
17346 * international/uni-mirrored.el: Re-generated.
17348 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
17350 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
17351 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
17352 (tex-start-options, slitex-run-command, latex-run-command)
17353 (tex-run-command, tex-directory):
17354 * textmodes/ispell.el (ispell-html-skip-alists)
17355 (ispell-tex-skip-alists, ispell-tex-skip-alists):
17356 * textmodes/fill.el (adaptive-fill-first-line-regexp):
17357 (adaptive-fill-regexp):
17358 * textmodes/dns-mode.el (auto-mode-alist):
17359 * progmodes/python.el (interpreter-mode-alist):
17360 * progmodes/etags.el (tags-compression-info-list):
17361 * progmodes/etags.el (tags-file-name):
17362 * net/browse-url.el (browse-url-galeon-program)
17363 (browse-url-firefox-program):
17364 * mail/sendmail.el (mail-signature-file)
17365 (mail-citation-prefix-regexp):
17366 * international/mule-conf.el (eight-bit):
17367 * international/latexenc.el (latex-inputenc-coding-alist):
17368 * international/fontset.el (x-pixel-size-width-font-regexp):
17369 * emacs-lisp/warnings.el (warning-type-format):
17370 * emacs-lisp/trace.el (trace-buffer):
17371 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
17372 (emacs-lisp-mode-map):
17373 * calendar/holidays.el (holiday-solar-holidays)
17374 (holiday-bahai-holidays, holiday-islamic-holidays)
17375 (holiday-christian-holidays, holiday-hebrew-holidays)
17376 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
17377 (hebrew-holidays-1, holiday-oriental-holidays)
17378 (holiday-general-holidays):
17379 * x-dnd.el (x-dnd-known-types):
17380 * tool-bar.el (tool-bar):
17381 * startup.el (site-run-file):
17382 * shell.el (shell-dumb-shell-regexp):
17383 * rfn-eshadow.el (file-name-shadow-tty-properties)
17384 (file-name-shadow-properties):
17385 * paths.el (remote-shell-program, news-directory):
17386 * mouse.el ([C-down-mouse-3]):
17387 * menu-bar.el (menu-bar-tools-menu):
17388 * jka-cmpr-hook.el (jka-compr-load-suffixes)
17389 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
17390 (jka-compr-compression-info-list):
17391 * isearch.el (search-whitespace-regexp):
17392 * image-file.el (image-file-name-extensions):
17393 * find-dired.el (find-ls-option):
17394 * files.el (directory-listing-before-filename-regexp)
17395 (directory-free-space-args, insert-directory-program)
17396 (list-directory-brief-switches, magic-fallback-mode-alist)
17397 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
17398 (automount-dir-prefix):
17399 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
17400 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
17401 (face-font-registry-alternatives, face-font-registry-alternatives)
17402 (face-font-family-alternatives):
17403 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
17404 (facemenu-foreground-menu, facemenu-face-menu):
17405 * epa-hook.el (epa-file-name-regexp):
17406 * dnd.el (dnd-protocol-alist):
17407 * textmodes/rst.el (auto-mode-alist):
17408 * button.el (default-button): Purecopy strings.
17410 2009-11-06 Glenn Morris <rgm@gnu.org>
17412 * Makefile.in (ELCFILES): Update.
17414 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
17416 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
17417 * emacs-lisp/levents.el: Move to obsolete/levents.el.
17419 * nxml/xsd-regexp.el (xsdre-gen-categories):
17420 * nxml/xmltok.el (xmltok-parse-entity):
17421 * nxml/rng-parse.el (rng-parse-validate-file):
17422 * nxml/rng-maint.el (rng-format-manual)
17423 (rng-manual-output-force-new-line):
17424 * nxml/rng-loc.el (rng-save-schema-location-1):
17425 * nxml/rng-cmpct.el (rng-c-parse-file):
17426 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
17427 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
17429 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
17431 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
17432 Remove extra save-excursions and make-variable-buffer-local's.
17433 Suggested by Stefan Monnier.
17435 (verilog-getopt-file, verilog-module-inside-filename-p)
17436 (verilog-set-define): Merge GNU 1.35 and repair changes from
17437 switching to using with-current-buffer.
17439 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
17440 being treated as a number and confusing AUTORESET.
17441 Reported by Dan Dever.
17443 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
17444 Add verilog-auto-ignore-concat to fix backward compatibility with
17445 older verilog-modes. Reported by Dan Katz.
17447 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
17448 containing closing anchors "...$".
17450 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
17451 Reported by Wade Smith.
17453 (verilog-batch-execute-func): Comment on function usage.
17455 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
17457 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
17460 (verilog-label-re, verilog-calc-1): Support proper indent of named
17463 (verilog-backward-token, verilog-basic-complete-re)
17464 (verilog-beg-of-statement, verilog-indent-re): Support proper
17465 indent of the assert statement at the beginning of a block of text.
17467 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
17468 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
17471 2009-11-05 Glenn Morris <rgm@gnu.org>
17473 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
17474 Emacs 19. (Bug#1531)
17475 (byte-compile-fix-header): Update for the above change.
17476 Drop test for epoch::version.
17478 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
17479 * cus-dep.el (custom-make-dependencies):
17480 * finder.el (finder-compile-keywords):
17481 Use autoload-rubric's feature argument.
17483 * calendar/diary-lib.el (top-level): Make load behave more like require.
17485 * vc-git.el (vc-git-stash-map): Move definition before use.
17487 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
17489 * custom.el (custom-declare-group): Purecopy standard-value.
17490 (custom-declare-group): Purecopy custom-prefix.
17492 * international/mule.el (load-with-code-conversion):
17493 Call do-after-load-evaluation unconditionally.
17495 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
17497 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
17499 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
17501 2009-11-04 Glenn Morris <rgm@gnu.org>
17503 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
17504 (byte-compile-compatibility): Remove option.
17505 (byte-compile-close-variables, byte-compile-fix-header)
17506 (byte-compile-insert-header, byte-compile-output-docform)
17507 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
17508 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
17509 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
17510 (byte-compile-insert, byte-compile-defun):
17511 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
17512 (byte-defop-compiler19): Remove.
17513 Without byte-compile-compatibility, the 'emacs19-opcode property is not
17514 used by anything. Replace all calls with byte-defop-compiler.
17516 2009-11-04 Juri Linkov <juri@jurta.org>
17518 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
17519 (menu-bar-options-menu): Don't quote the `prop' arg of
17520 `menu-bar-make-mm-toggle'.
17522 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
17524 * calendar/calendar.el (cal-loaddefs):
17525 * calendar/diary-lib.el (diary-loaddefs):
17526 * calendar/holidays.el (hol-loaddefs):
17527 * eshell/esh-module.el (esh-groups): Load rather than require.
17529 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17531 * calendar/todo-mode.el (todo-add-category): Don't hardcode
17533 (todo-top-priorities): Only display-buffer when called interactively.
17534 (todo-item-start): Don't save excursion point.
17535 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
17536 (todo-insert-item-here, todo-file-item, todo-remove-item):
17537 Adjust uses of todo-item-start and todo-item-end.
17539 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
17540 (autoload-rubric): Don't use any more.
17542 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
17543 and only put a prop if it is non-nil.
17545 2009-11-03 Juri Linkov <juri@jurta.org>
17547 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
17548 (menu-bar-options-menu): Fix list quoting (Bug#4429).
17550 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
17551 and "Menu" to make top-level menu item visually one unit (like
17552 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
17553 multi-word menu items). Fix :help string for quit-window.
17555 2009-11-03 Glenn Morris <rgm@gnu.org>
17557 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
17558 (byte-compile-file-form-define-abbrev-table)
17559 (byte-compile-file-form-custom-declare-variable)
17560 (byte-compile-variable-ref, byte-compile-defvar):
17561 Whether or not a warning is enabled should only affect whether we issue
17562 the warning, not whether or not we collect the relevant data.
17563 Eg warnings can be turned on and off throughout the course of a file.
17565 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
17566 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
17568 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17570 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
17571 * play/mpuz.el (mpuz-create-buffer):
17572 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
17573 (lm-print-y,s,noise, lm-print-w0, lm-init):
17574 * play/gomoku.el (gomoku-prompt-for-move):
17575 * play/fortune.el (fortune-in-buffer):
17576 * play/dissociate.el (dissociated-press):
17577 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
17578 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
17579 * mail/supercite.el (sc-eref-show):
17580 * mail/smtpmail.el (smtpmail-send-it):
17581 * mail/rmailsum.el (rmail-summary-next-labeled-message)
17582 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
17583 (rmail-summary-undelete-many, rmail-summary-rmail-update)
17584 (rmail-summary-goto-msg, rmail-summary-expunge)
17585 (rmail-summary-get-new-mail, rmail-summary-search-backward)
17586 (rmail-summary-add-label, rmail-summary-output-menu)
17587 (rmail-summary-output-body):
17588 * mail/rfc822.el (rfc822-addresses):
17589 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
17590 * mail/mailpost.el (post-mail-send-it):
17591 * mail/hashcash.el (hashcash-generate-payment):
17592 * mail/feedmail.el (feedmail-run-the-queue)
17593 (feedmail-queue-send-edit-prompt-help-first)
17594 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
17595 (feedmail-deduce-address-list):
17596 * eshell/esh-ext.el (eshell-remote-command):
17597 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
17598 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
17599 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
17600 (viper-save-string-in-file, viper-valid-marker):
17601 * emulation/viper-keym.el (viper-toggle-key):
17602 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
17603 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
17604 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
17605 * emulation/viper-cmd.el (viper-exec-form-in-vi)
17606 (viper-exec-form-in-emacs, viper-brac-function):
17607 * emulation/viper.el (viper-delocalize-var):
17608 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
17609 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
17610 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
17611 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
17612 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
17613 * emulation/edt.el (edt-electric-helpify):
17614 * emulation/cua-rect.el (cua--rectangle-aux-replace):
17615 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
17616 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
17617 (cua-indent-to-global-mark-column):
17618 * calendar/diary-lib.el (calendar-mark-1):
17619 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
17620 Use with-current-buffer.
17621 * emulation/viper.el (viper-delocalize-var): Use dolist.
17623 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
17625 * comint.el (comint-replace-by-expanded-history-before-point):
17626 Replace !! with the previous input string literally (Bug#1795).
17628 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
17630 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
17631 to be made up of whitespace.
17633 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
17635 * minibuffer.el (read-file-name): Don't use file dialogs for
17636 remote directories (Bug#99).
17638 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
17640 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
17642 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
17644 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
17645 instead of deleting the window or frame.
17647 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17649 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
17650 Support face colors.
17652 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
17653 New function. Support face colors (Bug#1168).
17654 (tex-common-initialization): Use it.
17656 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
17657 mode allows it (Bug#1168).
17659 2009-10-31 Juri Linkov <juri@jurta.org>
17661 * facemenu.el (list-colors-display): Don't mark buffer as
17662 modified (Bug#3948).
17664 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17666 * international/mule-diag.el (list-character-sets-1):
17667 Minor message fix (Bug#3526).
17669 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
17670 Fix face property (Bug#4834).
17671 (etags-list-tags, etags-tags-apropos-additional)
17672 (etags-tags-apropos, tags-select-tags-table): Add follow-link
17675 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
17678 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
17680 * textmodes/two-column.el (2C-split):
17681 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
17682 * textmodes/tex-mode.el (tex-set-buffer-directory):
17683 * textmodes/spell.el (spell-region, spell-string):
17684 * textmodes/reftex.el (reftex-erase-buffer):
17685 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
17686 * textmodes/reftex-toc.el (reftex-toc-promote-action):
17687 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
17688 (reftex-select-item):
17689 * textmodes/reftex-ref.el (reftex-label-info-update)
17690 (reftex-offer-label-menu):
17691 * textmodes/reftex-index.el (reftex-index-change-entry)
17692 (reftex-index-phrases-info):
17693 * textmodes/reftex-global.el (reftex-create-tags-file)
17694 (reftex-save-all-document-buffers, reftex-ensure-write-access):
17695 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
17696 (reftex-view-crossref-from-bibtex):
17697 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
17698 (reftex-extract-bib-entries-from-thebibliography)
17699 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
17700 * textmodes/refbib.el (r2b-capitalize-title):
17701 (r2b-convert-buffer, r2b-help):
17702 * textmodes/page-ext.el (pages-directory)
17703 (pages-directory-goto-with-mouse):
17704 * textmodes/bibtex.el (bibtex-validate-globally):
17705 * textmodes/bib-mode.el (bib-capitalize-title):
17706 * textmodes/artist.el (artist-clear-buffer, artist-system):
17707 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
17708 (local-set-scheme-interaction-buffer, xscheme-process-filter)
17709 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
17710 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
17711 (xscheme-send-control-g-interrupt, xscheme-start-process)
17712 (xscheme-process-sentinel, xscheme-cd):
17713 * progmodes/verilog-mode.el (verilog-read-always-signals)
17714 (verilog-set-define, verilog-getopt-file)
17715 (verilog-module-inside-filename-p):
17716 * progmodes/sh-script.el:
17717 * progmodes/python.el (python-pdbtrack-get-source-buffer)
17718 (python-pdbtrack-grub-for-buffer, python-execute-file):
17719 * progmodes/octave-inf.el (inferior-octave):
17720 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
17721 (idlwave-shell-compile-helper-routines, idlwave-set-local)
17722 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
17723 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
17724 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
17725 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
17726 (idlwave-shell-filter, idlwave-shell-examine-highlight)
17727 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
17728 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
17729 (idlwave-shell-examine-display, idlwave-shell-run-region)
17730 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
17731 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
17732 * progmodes/idlw-help.el (idlwave-help-get-special-help)
17733 (idlwave-help-get-help-buffer):
17734 * progmodes/gud.el (gud-basic-call, gud-find-class)
17735 (gud-tooltip-activate-mouse-motions-if-enabled):
17736 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
17737 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
17738 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
17739 (ebrowse-tags-next-file):
17740 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
17741 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
17742 (ebnf-eps-finish-and-write):
17743 * progmodes/cpp.el (cpp-edit-save):
17744 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
17745 * progmodes/cc-defs.el (c-emacs-features):
17746 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
17747 (antlr-directory-dependencies):
17748 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
17749 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
17750 (ada-find-any-references, ada-make-filename-from-adaname)
17751 (ada-make-body-gnatstub):
17752 * obsolete/rnews.el (news-list-news-groups):
17753 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
17754 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
17755 * net/rcirc.el (rcirc-debug):
17756 * net/newst-treeview.el (newsticker--treeview-list-add-item)
17757 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
17758 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
17759 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
17760 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
17761 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
17762 (newsticker--treeview-list-clear-highlight)
17763 (newsticker--treeview-list-update-highlight)
17764 (newsticker--treeview-list-highlight-start)
17765 (newsticker--treeview-tree-update-highlight)
17766 (newsticker--treeview-get-selected-item)
17767 (newsticker-treeview-mark-list-items-old)
17768 (newsticker--treeview-set-current-node):
17769 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
17770 * net/newst-backend.el (newsticker--get-news-by-funcall)
17771 (newsticker--get-news-by-wget, newsticker--image-get)
17772 (newsticker--image-sentinel):
17773 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
17774 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
17775 (eudc-ph-close-session):
17776 * net/eudc.el (eudc-save-options):
17777 * language/thai-word.el (thai-update-word-table):
17778 * language/japan-util.el (japanese-string-conversion):
17779 * international/titdic-cnv.el (tsang-quick-converter)
17780 (ziranma-converter, ctlau-converter):
17781 * international/mule-cmds.el (describe-language-environment):
17782 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
17783 (skkdic-convert-postfix, skkdic-convert-prefix):
17784 (skkdic-convert-okuri-nasi, skkdic-convert):
17785 * emacs-lisp/re-builder.el (reb-update-overlays):
17786 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
17787 * emacs-lisp/gulp.el (gulp-send-requests):
17788 * emacs-lisp/find-gc.el (trace-call-tree):
17789 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
17790 (eieio-describe-generic):
17791 * emacs-lisp/eieio-base.el (eieio-persistent-read):
17792 * emacs-lisp/edebug.el (edebug-outside-excursion):
17793 * emacs-lisp/debug.el (debugger-make-xrefs):
17794 * emacs-lisp/cust-print.el (custom-prin1-to-string):
17795 * emacs-lisp/chart.el (chart-new-buffer):
17796 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
17797 Use with-current-buffer.
17798 * textmodes/artist.el (artist-system): Don't call
17799 copy-sequence on a fresh string.
17800 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
17802 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
17804 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
17805 is no item to edit. (Bug#4820)
17806 (todo-top-priorities): Restore point and restore narrowing in Todo
17809 2009-10-31 Glenn Morris <rgm@gnu.org>
17811 * net/ange-ftp.el (top-level): Don't require dired when compiling.
17812 (comint-last-output-start, comint-last-input-start)
17813 (comint-last-input-end): Don't defvar when compiling.
17814 (ange-ftp-process-file): Use bound-and-true-p.
17816 * pcmpl-rpm.el (top-level): Move provide statement to end.
17817 (pcmpl-rpm): Remove unused custom group.
17819 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17821 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17823 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17824 (byte-compile-warnings): Add `constants' as an option.
17825 (byte-compile-callargs-warn, byte-compile-arglist-warn)
17826 (display-call-tree): Update for byte-compile-fdefinition possibly
17827 returning `(macro lambda ...)'. (Bug#4778)
17828 (byte-compile-variable-ref, byte-compile-setq-default):
17829 Respect `constants' member of byte-compile-warnings.
17831 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17833 * vc-bzr.el (vc-bzr-revision-keywords): New var.
17834 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17837 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
17839 * textmodes/ispell.el (ispell-skip-region-alist):
17840 * international/mule-conf.el (eight-bit):
17841 * international/fontset.el (font-encoding-alist):
17842 * startup.el (pure-space-overflow-message):
17843 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17844 * paths.el (gnus-nntp-service, rmail-spool-directory)
17845 (term-file-prefix):
17846 * files.el (save-some-buffers-action-alist):
17847 * cmuscheme.el (same-window-buffer-names):
17848 * ielm.el (same-window-buffer-names):
17849 * shell.el (same-window-buffer-names):
17850 * mail/sendmail.el (same-window-buffer-names):
17851 * progmodes/inf-lisp.el (same-window-buffer-names):
17852 * bindings.el (mode-line-client)
17853 (mode-line-column-line-number-mode-map):
17854 * language/tibetan.el (tibetan-precomposition-rule-regexp)
17855 (tibetan-precomposed-regexp): Purecopy string arguments.
17857 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17859 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17860 (calcDigit-nondigit):
17861 * calc/calc-yank.el (calc-copy-to-buffer):
17862 * calc/calc-units.el (calc-invalidate-units-table):
17863 * calc/calc-trail.el (calc-trail-yank):
17864 * calc/calc-store.el (calc-insert-variables):
17865 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17866 * calc/calc-prog.el (calc-read-parse-table):
17867 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17868 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17869 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17870 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17871 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17872 (calc-graph-name, calc-graph-find-command, calc-graph-view)
17873 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17874 * calc/calc-ext.el (calc-realign):
17875 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17876 (calc-embedded-finish-edit, calc-embedded-make-info)
17877 (calc-embedded-finish-command, calc-embedded-stack-change):
17878 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17880 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17881 shell-dynamic-complete-filename in preference to
17882 comint-dynamic-complete-filename.
17884 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17885 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17886 Don't consider whether the display supports colors.
17887 (bookmark-import-new-list): Use dolist.
17888 (bookmark-bmenu-mode-map): Move initialization into declaration.
17889 (bookmark-bmenu-list): Use dolist, simplify.
17890 (bookmark-show-all-annotations): Use save-selected-window and dolist.
17891 (menu-bar-final-items): Use push.
17893 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
17895 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17896 it works on remote files.
17897 (vc-hg-diff): Don't pass any `--cwd' argument.
17899 2009-10-27 Kevin Ryde <user42@zip.com.au>
17901 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17902 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17903 (Further to Bug#3921).
17905 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
17907 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17908 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17909 calling `tramp-imap-put-file'. Add file size to the call.
17910 (tramp-imap-get-file-entries): Compute also user name, file size,
17912 (tramp-imap-handle-insert-directory): Insert uid and gid.
17913 (tramp-imap-handle-file-attributes): Transform uid and gid
17914 according to `id-format'.
17915 (tramp-imap-put-file): New optional parameter SIZE. Encode file
17916 size in header X-Size.
17918 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
17920 * simple.el (transpose-subr): Give clearer error when the mark
17921 is not set. (Bug#4807)
17923 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
17925 * net/tramp.el (tramp-perl-file-truename): New defconst.
17926 Perl code contributed by yary <not.com@gmail.com> (tiny change).
17927 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17928 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17929 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17931 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17932 Ignore `dired-call-process'.
17933 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17935 2009-10-26 Julian Scheid <julians37@gmail.com>
17937 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17938 (tramp-get-remote-readlink): New defun.
17939 (tramp-handle-file-truename): Use it.
17940 (tramp-handle-file-exists-p): Check file-attributes cache, assume
17941 file exists if cache value present.
17942 (tramp-check-cached-permissions): New defun.
17943 (tramp-handle-file-readable-p): Use it.
17944 (tramp-handle-file-writable-p): Likewise.
17945 (tramp-handle-file-executable-p): Likewise.
17946 (tramp-handle-file-name-all-completions): Try using Perl to get
17947 partial completions. When perl not available, combine `cd' and
17948 `ls' into single remote operation and use shell expansion to get
17949 partial remote directory contents. Set `file-exists-p' cache for
17950 directory and any files returned by ls. Change cache handling to
17951 support partial directory contents. Use error message emitted by
17952 remote `cd' or Perl code for local tramp-error.
17953 (tramp-do-copy-or-rename-file-directly): Avoid separate
17954 tramp-send-command-and-check call.
17955 (tramp-handle-process-file): Merge three remote ops into one.
17956 Do not flush all caches when `process-file-side-effects' is set.
17957 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17958 file-attributes shows uid/gid to be set already.
17960 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
17962 * textmodes/tex-mode.el (tex-dvi-view-command)
17963 (tex-show-queue-command, tex-open-quote):
17964 * progmodes/ruby-mode.el (auto-mode-alist)
17965 (interpreter-mode-alist): Purecopy strings.
17967 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17969 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17970 string for the hook, keymap and abbrev table.
17972 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17974 * x-dnd.el (x-dnd-xdnd-to-action):
17975 * startup.el (fancy-startup-text, fancy-about-text): Change to
17976 defconst from defvar.
17978 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17980 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17981 Purecopy initialization strings.
17983 * mail/sendmail.el (mail-header-separator)
17984 (mail-personal-alias-file):
17985 * mail/rmail.el (rmail-default-dont-reply-to-names)
17986 (rmail-ignored-headers, rmail-retry-ignored-headers)
17987 (rmail-highlighted-headers, rmail-secondary-file-directory)
17988 (rmail-secondary-file-regexp):
17989 * files.el (null-device, file-name-invalid-regexp)
17990 (locate-dominating-stop-dir-regexp)
17991 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17992 (interpreter-mode-alist): Use mapcar instead of mapc.
17994 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17996 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17997 (completion-ignored-extensions):
17998 (debug-ignored-errors): Purecopy strings.
18000 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
18002 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
18003 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
18004 (pcomplete--here): Use push.
18006 * subr.el (all-completions): Declare the 4th arg obsolete.
18008 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
18010 * pcomplete.el (pcomplete-unquote-argument-function): New var.
18011 (pcomplete-unquote-argument): New function.
18012 (pcomplete--common-suffix): Always pay attention to case.
18013 (pcomplete--table-subvert): Quote and unquote the text.
18014 (pcomplete--common-quoted-suffix): New function.
18015 (pcomplete-std-complete): Use it and pcomplete-begin.
18017 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
18018 we're inside a dedicated or minibuffer window.
18020 2009-10-24 Karl Fogel <kfogel@red-bean.com>
18022 * bookmark.el: Update documentation, especially documentation
18023 of `bookmark-alist' and of the bookmark file format.
18024 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
18026 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
18028 * mail/emacsbug.el (report-emacs-bug): Clarify that the
18029 keybindings apply to the mail buffer (Bug#4003). Shrink help
18032 * whitespace.el (whitespace-mode, whitespace-newline-mode)
18033 (global-whitespace-mode, global-whitespace-newline-mode)
18034 (whitespace-toggle-options, global-whitespace-toggle-options):
18035 Doc fix (Bug#3660).
18037 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
18038 of xmltok-start before the end tag was inserted (Bug#2840).
18040 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
18041 patterns that are preceded by an open-paren (Bug#1320).
18043 2009-10-24 Sven Joachim <svenjoac@gmx.de>
18045 * files.el (delete-directory): Delete symlinks to directories with
18046 delete-file (Bug#4739).
18048 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
18050 * vc.el (vc-backend-for-registration): Rename from
18051 vc-get-backend-for-registration. Update callers.
18053 * international/mule-cmds.el (set-language-info-alist):
18055 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
18056 (charset): Purecopy the name.
18057 (define-char-code-property): Purecopy string arguments.
18059 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18060 Purecopy string arguments.
18062 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
18063 * ediff-hook.el (menu-bar-ediff-menu):
18064 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
18065 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
18067 2009-10-24 Glenn Morris <rgm@gnu.org>
18069 * comint.el (comint-dynamic-list-completions):
18070 * term.el (term-dynamic-list-completions): Use choose-completion rather
18071 than obsolete alias mouse-choose-completion.
18073 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
18074 file-cache-choose-completion.
18075 (file-cache-choose-completion): Handle an optional event argument.
18076 (file-cache-mouse-choose-completion): Make it an obsolete alias.
18078 * progmodes/octave-mod.el (octave-complete-symbol):
18079 Use choose-completion if mouse-choose-completion is ever removed.
18081 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
18084 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
18087 * vc-hooks.el (vc-responsible-backend): Fix declaration.
18089 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
18091 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
18092 Ignore `pred' now that we receive one.
18093 Handle test-completion specially.
18095 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
18097 * vc.el (vc-responsible-backend): Throw an error if not backend is
18098 found. Remove the REGISTER argument. Move the code dealing with
18100 (vc-get-backend-for-registration): ... here. New function.
18101 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
18102 of vc-responsible-backend, pass the file name instead of the
18105 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
18107 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
18109 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
18110 (pcomplete-comint-setup): Don't modify a global var via
18111 accidental side-effects.
18112 (pcomplete-shell-setup): Adjust call accordingly.
18113 (pcomplete-parse-comint-arguments): Use push.
18115 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
18117 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
18118 Allow uncapitalized info node names (Bug#3921).
18120 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
18121 to the DEBUG file (Bug#3781).
18123 2009-10-23 Jari Aalto <jari.aalto@cante.net>
18125 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
18126 dictionary entry (Bug#4579).
18128 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
18130 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
18131 from `rfn-eshadow-update-overlay-hook' when unloading.
18132 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
18133 "rsyncc". Adjust doc string.
18134 (tramp-temp-buffer-file-name): New buffer-local defvar.
18135 (tramp-handle-insert-file-contents, tramp-handle-write-region):
18136 Keep temporary file when indicated by method ("rsync" and
18138 (tramp-handle-write-region): Handle APPEND.
18139 (tramp-delete-temp-file-function): New defun. Added to
18140 `kill-buffer-hook'.
18142 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
18144 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
18146 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
18148 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
18149 (color-name-rgb-alist, tty-standard-colors)
18150 (tty-color-mode-alist): Change to defconst.
18152 * simple.el (mark-inactive): Purecopy message.
18154 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
18155 (global-map, yank-menu):
18156 * textmodes/ispell.el (ispell-menu-map):
18157 * net/eudc.el (eudc-tools-menu):
18158 * international/mule-cmds.el (describe-language-environment-map)
18159 (setup-language-environment-map, set-coding-system-map)
18160 (mule-menu-keymap):
18161 * vc-hooks.el (vc-menu-entry, vc-menu-map):
18162 * replace.el (occur-mode-map):
18163 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
18165 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
18167 * calc/calc.el (math-read-number, math-read-number-simple):
18168 Use `save-match-data'.
18170 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
18172 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
18173 rather than fiddling with global-map bindings, since it should only
18174 affect per-terminal settings.
18175 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
18177 * minibuffer.el (completion-table-with-terminator): Allow to specify
18178 the terminator-regexp.
18180 * simple.el (switch-to-completions): Look for *Completions* in other
18183 * pcomplete.el: Allow the use of completion-tables.
18184 (pcomplete-std-complete): New command.
18185 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
18186 (pcomplete--here): Use a function for `form' rather than an expression,
18187 so it can be byte-compiled.
18188 (pcomplete-here, pcomplete-here*): Adjust accordingly.
18189 Add edebug declaration.
18190 (pcomplete-show-completions): Remove unused var `curbuf'.
18191 (pcomplete-do-complete, pcomplete-stub):
18192 Don't assume `completions' is a list of strings any more.
18194 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
18196 * find-dired.el (find-name-arg): Fix typo in docstring.
18198 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
18200 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
18201 (pcmpl-linux-fs-types): Same, and update to new modules layout.
18203 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
18206 * comint.el (comint-read-input-ring, comint-write-input-ring)
18207 (comint-substitute-in-file-name)
18208 (comint-dynamic-complete-as-filename)
18209 (comint-dynamic-simple-complete)
18210 (comint-dynamic-list-filename-completions)
18211 (comint-dynamic-list-completions)
18212 (comint-redirect-results-list-from-process): Minor simplifications.
18214 2009-10-21 Kevin Ryde <user42@zip.com.au>
18216 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
18217 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
18218 the first form. And insert a blank line after ";;; Code" since
18219 that's usual style. (Bug#4612)
18221 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
18223 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
18225 * minibuffer.el (completion-table-with-terminator): Properly implement
18226 boundaries, in case `terminator' appears in the suffix.
18227 (completion--embedded-envvar-table): Don't return boundaries if
18228 there's no valid completion. Simplify.
18229 (completion-file-name-table): New completion table extracted from
18230 completion--file-name-table.
18231 (completion--file-name-table): Use it.
18232 (read-file-name-predicate): Declare obsolete.
18233 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
18234 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
18235 completion-file-name-table, and use the `pred' argument.
18236 * files.el (locate-file-completion-table): Use the `pred' arg rather
18237 than read-file-name-predicate.
18238 (abbreviate-file-name): Use \` rather than ^ for BOS.
18240 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
18242 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
18243 vc-responsible-backend to register, it causes problems.
18245 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
18247 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
18249 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
18251 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
18252 (tramp-smb-handle-file-attributes): Use it.
18253 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
18254 (tramp-smb-handle-insert-directory): Use `mapc' rather than
18255 `mapcar'. Use `tramp-smb-get-stat-capability'.
18256 Add `dired-filename' text properties.
18257 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
18258 (tramp-smb-maybe-open-connection): Simplify check for smbclient
18261 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
18263 * subr.el (read-key-delay): Reduce to 0.01.
18264 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
18267 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
18269 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
18271 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
18272 (Info-menu): Remove unused vars `last' and `completions'.
18273 (Info-index-nodes): Remove unused var `node'.
18275 * info.el (Info-complete-menu-item): Use complete-with-action.
18277 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
18279 Make vc-annotate work through copies and renames.
18280 * vc-annotate.el (vc-annotate-extract-revision-at-line):
18281 Return the file name too.
18282 (vc-annotate-revision-at-line)
18283 (vc-annotate-find-revision-at-line)
18284 (vc-annotate-revision-previous-to-line)
18285 (vc-annotate-show-log-revision-at-line): Update to get the file
18286 name from vc-annotate-extract-revision-at-line.
18287 (vc-annotate-show-diff-revision-at-line-internal): Change the
18288 argument to mean whether to show a file diff or not. Get the file
18289 name from vc-annotate-extract-revision-at-line.
18290 (vc-annotate-show-diff-revision-at-line):
18291 Update vc-annotate-show-diff-revision-at-line call.
18292 (vc-annotate-warp-revision): Add an optional file argument.
18294 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
18295 (vc-git-annotate-extract-revision-at-line): Also return the file
18298 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
18299 command. Remove unused code.
18300 (vc-hg-annotate-re): Update to match --follow output.
18301 (vc-hg-annotate-extract-revision-at-line): Also return the file
18304 * vc.el: Update annotate-extract-revision-at-line documentation.
18306 2009-10-18 Kevin Ryde <user42@zip.com.au>
18308 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
18309 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
18311 * net/browse-url.el (browse-url): Identify alist with "consp and
18312 not functionp" and let all other things go down the `apply' leg,
18313 as suggested by Stefan. (Further to bug#4531.)
18315 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
18317 * minibuffer.el (read-file-name): Check for repeat before putting
18318 a default argument in file-name-history (Bug#4657).
18320 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
18321 read syntax (Bug#4737).
18323 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
18325 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18327 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
18328 (html-tag-alist, html-tag-help): Add descriptions for undocumented
18329 entries and make note of obsolete tags.
18331 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
18333 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
18335 2009-10-18 Glenn Morris <rgm@gnu.org>
18337 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
18338 grep, so that binary files (eg international/uni-bidi.el) can match.
18339 Remove test for "UnicodeData" files, since it is hopefully unnecessary
18340 now, and in any case the file header format has changed.
18342 2009-10-17 Glenn Morris <rgm@gnu.org>
18344 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
18345 (flyspell-get-word, flyspell-large-region)
18346 (flyspell-auto-correct-previous-word): Doc/error message fixes.
18348 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
18350 * Makefile.in (ELCFILES): Add ede/shell.
18352 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
18354 * term/common-win.el (x-colors): Purecopy it.
18356 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18358 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
18359 permissive for when the buffer is empty.
18360 (tar-header-block-tokenize): Decode the username and groupname.
18361 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
18363 2009-10-17 Eric Ludlam <zappo@gnu.org>
18365 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
18366 contains multibyte characters, choose first applicable coding
18367 system automatically.
18369 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18371 * international/mule-cmds.el (select-safe-coding-system): If the file
18372 has a coding cookie, use it regardless of any other setting (bug#4712).
18374 2009-10-17 Glenn Morris <rgm@gnu.org>
18376 * foldout.el (foldout-mouse-swallow-events):
18377 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
18379 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
18380 (dired-keep-marker-copy, dired-keep-marker-hardlink)
18381 (dired-keep-marker-symlink, dired-dwim-target)
18382 (dired-copy-preserve-time): Do not autoload these defcustoms.
18384 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
18385 messages from messing up the file coding. (Bug#4623)
18387 2009-10-17 Jari Aalto <jari.aalto@cante.net>
18389 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
18390 if no match is found for the current dictionary. (Bug#4578)
18392 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
18393 optional, since that is how it is documented, and this is often called
18394 with a nil argument. (Bug#4577)
18395 (flyspell-external-point-words, flyspell-auto-correct-word)
18396 (flyspell-correct-word-before-point, flyspell-word-search-forward)
18397 (flyspell-word-search-backward): Remove nil argument in calls to
18398 flyspell-get-word, since it is not needed now.
18400 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
18402 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
18404 2009-10-16 Glenn Morris <rgm@gnu.org>
18406 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
18408 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
18410 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
18411 (ange-ftp-file-size): New function.
18412 (ange-ftp-file-attributes): Use it.
18414 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
18416 * net/tramp-smb.el (tramp-smb-version): New defvar.
18417 (tramp-smb-maybe-open-connection): Use it, in order to avoid
18420 2009-10-16 Glenn Morris <rgm@gnu.org>
18422 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
18423 Maybe copy some custom properties from old to new name. (Bug#4706)
18425 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
18427 * subr.el (error, sit-for, start-process-shell-command)
18428 (start-file-process-shell-command): Set the calling convention
18429 after the function definition.
18431 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
18433 * subr.el (error, sit-for, start-process-shell-command)
18434 (start-file-process-shell-command): Use the new
18435 set-advertised-calling-convention feature.
18437 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
18439 * international/ucs-normalize.el (ucs-normalize-version):
18441 (check-range): Adjust for Unicode 5.2.
18443 2009-10-15 Juri Linkov <juri@jurta.org>
18445 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
18446 to the `menu-item' format.
18448 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
18450 * net/tramp.el (tramp-replace-environment-variables): Do not fail
18451 if the environment variable does not exist.
18453 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18454 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
18456 (tramp-smb-handle-add-name-to-file)
18457 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18458 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18459 (tramp-smb-handle-file-attributes)
18460 (tramp-smb-do-file-attributes-with-stat)
18461 (tramp-smb-handle-file-local-copy)
18462 (tramp-smb-handle-insert-directory)
18463 (tramp-smb-handle-make-directory)
18464 (tramp-smb-handle-make-directory-internal)
18465 (tramp-smb-handle-make-symbolic-link)
18466 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
18467 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
18468 (tramp-smb-maybe-open-connection): Apply the changed parameters.
18469 (tramp-smb-read-file-entry): Read Disk names in compressed format.
18470 Handle long file names.
18471 (tramp-smb-get-cifs-capabilities): Check, whether the connection
18472 process is running.
18473 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
18474 Read share names with "-g" option.
18476 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
18478 * net/rcirc.el (rcirc-view-log-file): New command.
18479 (rcirc-track-minor-mode-map): Remove C-c ` binding.
18480 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
18483 2009-10-15 Glenn Morris <rgm@gnu.org>
18485 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
18486 from the second command-line argument.
18487 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
18488 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
18489 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
18490 w32-batch-update-autoloads.
18491 * emacs-lisp/autoload.el (autoload-make-program): New variable.
18492 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
18494 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
18495 the headers cannot be located. Simplify, subtracting superflous
18498 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
18500 Replace completion-base-size by completion-base-position to fix bugs
18501 such as (bug#4699).
18502 * simple.el (completion-base-position): New var.
18503 (completion-base-size): Mark as obsolete.
18504 (choose-completion): Make it work for mouse events as well.
18505 Pass the new base-position to choose-completion-string.
18506 (choose-completion-guess-base-position): New function, extracted from
18507 choose-completion-delete-max-match.
18508 (choose-completion-delete-max-match): Use it. Make obsolete.
18509 (choose-completion-string): Use the new base-position info.
18510 (completion-root-regexp): Delete.
18511 (completion-setup-function): Preserve completion-base-position.
18512 Eliminate obsolete base-size manipulation.
18513 * minibuffer.el (display-completion-list): Don't mess with base-size.
18514 (minibuffer-completion-help): Set completion-base-position instead.
18515 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
18517 * textmodes/bibtex.el (bibtex-complete):
18518 * emacs-lisp/crm.el (crm--choose-completion-string):
18519 Adjust to new calling convention.
18520 * complete.el (partial-completion-mode): Use minibufferp to avoid
18521 bumping into incompatible change to choose-completion-string-functions.
18522 * ido.el (ido-choose-completion-string): Make its calling convention
18524 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
18525 base-size manipulation.
18526 (comint-dynamic-list-input-ring): Use dotimes and push.
18527 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
18528 fundamental-mode. Use `or'.
18530 2009-10-14 Juri Linkov <juri@jurta.org>
18532 * misearch.el (multi-isearch-next-buffer-from-list)
18533 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
18535 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18537 * Makefile.in (compile-onefile): Load `bytecomp' rather than
18540 * minibuffer.el (completion-pcm--merge-completions): Make sure the
18541 string we return is all made up of text from the completions rather
18542 than part from the completions and part from the input (bug#4219).
18544 * ido.el (ido-everywhere): Use define-minor-mode.
18546 * buff-menu.el (list-buffers, ctl-x-map):
18547 Mark the entry points with ;;;###autoload cookies.
18549 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
18551 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
18552 correctly in the detached head case.
18553 (vc-git-print-log): Remove unused binding.
18555 * vc.el (vc-responsible-backend): When a directory is passed for
18556 for registration create a VC repository if no backend is
18557 responsible for the directory argument.
18558 (vc-deduce-fileset): Tell vc-responsible-backend to register.
18560 * vc.el: Move comments about RCS and SCCS ...
18562 * vc-sccs.el: ... here, respectively.
18564 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18566 * minibuffer.el (completion--file-name-table): Return nil if there's
18567 no file completion, even if substitute-in-file-name changed
18568 the string (bug#4708).
18570 2009-10-13 Juri Linkov <juri@jurta.org>
18572 * files-x.el (read-file-local-variable-value): Don't filter out
18573 minor modes from mode name completion (bug#4664).
18575 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18577 * international/mule-cmds.el (ucs-names): Remove exclusion of
18578 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
18580 2009-10-13 Kenichi Handa <handa@m17n.org>
18582 * international/uni-name.el: Regenerated.
18584 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18586 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
18587 should be automatically buffer-local, but isn't.)
18589 2009-10-12 Sam Steingold <sds@gnu.org>
18591 * progmodes/compile.el (compilation-next-error-function): Fix the
18592 timestamps if the buffer has been visited before.
18593 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
18594 non-anchored patterns, like the perl one (bug#3928).
18596 2009-10-12 Glenn Morris <rgm@gnu.org>
18598 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
18601 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
18603 * proced.el (proced-unload-function): New function.
18605 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
18606 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
18609 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
18611 2009-10-11 Juri Linkov <juri@jurta.org>
18613 * files-x.el (read-file-local-variable-value):
18614 Provide default value only for bound variables (bug#4664).
18616 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
18618 * net/tramp.el (tramp-local-host-p): Function shall return nil for
18619 connection methods like smb.
18621 * net/tramp-cache.el (tramp-flush-connection-property): The hash
18624 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18625 (tramp-smb-file-name-handler-alist): Add handlers for
18626 `add-name-to-file', `make-symbolic-link'.
18627 (tramp-smb-handle-add-name-to-file)
18628 (tramp-smb-do-file-attributes-with-stat)
18629 (tramp-smb-handle-make-symbolic-link)
18630 (tramp-smb-get-cifs-capabilities): New defuns.
18631 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18632 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18633 (tramp-smb-handle-file-local-copy)
18634 (tramp-smb-handle-make-directory-internal)
18635 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
18636 The file name syntax depends on cifs capabilities.
18637 (tramp-smb-handle-file-attributes):
18638 Call `tramp-smb-do-file-attributes-with-stat' if possible.
18639 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
18640 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
18642 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
18644 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
18645 (eieio-defclass): Apply deftype handler and setf-method properties
18647 (eieio-add-new-slot): Avoid union function from cl library.
18648 (eieio--typep): New function.
18649 (eieio-perform-slot-validation): Use it.
18651 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18653 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
18654 Update documentation to refer to the variables documented in r1.135.
18657 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18659 * bookmark.el (Info-suffix-list): Remove this unused variable.
18660 (bookmark-current-point): Remove this obsolete variable.
18661 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
18662 Adjust for removal of bookmark-current-point.
18664 (bookmarks-already-loaded, bookmark-current-buffer)
18665 (bookmark-yank-point): Document. (Bug#4188)
18667 2009-10-10 Glenn Morris <rgm@gnu.org>
18669 * frame.el (frame-height): Doc fix.
18671 * calendar/calendar.el (calendar-split-width-threshold): New option.
18672 (calendar-basic-setup): Use calendar-split-width-threshold.
18674 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
18676 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
18677 Ideographic Supplement" range (U+1F200..U+1F2FF).
18679 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18681 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
18682 since the list will have been rebuilt anyway. (Bug#4349)
18684 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18686 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
18687 (bookmark-bmenu-execute-deletions): Don't save here, as
18688 bookmark-delete will now do so if necessary.
18689 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
18692 2009-10-09 Glenn Morris <rgm@gnu.org>
18694 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
18696 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18698 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
18699 (bookmark-jump-other-window): Just invoke bookmark-jump with new
18700 argument now, so the two function's behaviors will match. (Bug#3645)
18702 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
18704 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
18705 (tramp-file-name-real-host, tramp-file-name-port):
18706 Apply `save-match-data'.
18708 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
18709 case both directories are remote.
18710 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
18711 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
18713 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18715 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
18717 2009-10-07 Glenn Morris <rgm@gnu.org>
18719 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
18722 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
18724 * files-x.el (read-file-local-variable): Include some
18725 non-user-variables in the completion table (bug#4664).
18727 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
18729 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
18732 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18733 (tramp-smb-file-name-handler-alist): Add handler for
18734 `copy-directory', `expand-file-name', `set-file-modes'.
18735 (tramp-smb-handle-copy-directory)
18736 (tramp-smb-handle-expand-file-name)
18737 (tramp-smb-handle-set-file-modes): New defuns.
18738 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
18739 (tramp-smb-handle-file-attributes): Simplify check for retrieving
18741 (tramp-smb-handle-insert-directory): Don't flush the cache.
18742 (tramp-smb-maybe-open-connection): Check for samba client and
18745 2009-10-07 Eli Zaretskii <eliz@gnu.org>
18747 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
18748 to not error out of search for "^lisp=" fails.
18750 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18752 * makefile.w32-in (WINS_UPDATES): New macro.
18753 (custom-deps, finder-data, autoloads): Use it.
18755 2009-10-07 Glenn Morris <rgm@gnu.org>
18757 * Makefile.in (autoloads): Revert previous change.
18758 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
18759 the list of preloaded files passed on the command-line, get
18760 it from src/Makefile.
18762 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
18763 show the original buffer rather than a random one.
18765 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
18767 * help.el (describe-no-warranty): Place point in a slightly better
18768 position in the GPLv3 text.
18770 2009-10-06 Sam Steingold <sds@gnu.org>
18772 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
18773 the comm attribute is present before calling regexp-quote.
18775 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
18777 * play/animate.el (animate-string): For good effect, make sure
18778 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
18780 * play/animate.el (animate-sequence, animate-birthday-present):
18781 * misc.el (butterfly): Don't set `indent-tabs-mode'.
18783 2009-10-06 Glenn Morris <rgm@gnu.org>
18785 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
18787 * emacs-lisp/autoload.el (autoload-excludes): New variable.
18788 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
18789 (batch-update-autoloads): Process a string value of autoload-excludes,
18790 set during the build process.
18791 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
18793 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
18794 inside with-parsed... macro so that `v' is defined.
18796 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
18797 * progmodes/fortran.el (fortran-end-of-block)
18798 (fortran-beginning-of-block):
18799 Also push mark in the macro case.
18801 * emerge.el (emerge-show-file-name):
18802 * calc/calc.el (calc-quit):
18803 * calc/calc-misc.el (calc-big-or-small):
18804 * calc/calc-graph.el (calc-graph-view):
18805 * calc/calc-ext.el (calc-reset):
18806 * calendar/calendar.el (calendar-basic-setup):
18807 Use window-full-height-p.
18809 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
18810 header we don't understand, don't insert another. (Bug#4624)
18811 If changing mime charset, insert the new one in the right place.
18813 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
18815 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
18816 (cal-tex-cursor-month): Correctly increment the end date for diary and
18817 holiday listing. (Bug#4626)
18819 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18821 * help-fns.el (describe-function-1): Don't burp if the function is not
18824 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
18826 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18827 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18828 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18829 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18831 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18832 (eieio-default-superclass): Reflow docstrings.
18833 (this, class-option-assoc, defclass, eieio-class-un-autoload)
18834 (eieio-unbind-method-implementations, defmethod)
18835 (eieio-validate-slot-value, eieio-validate-class-slot-value)
18836 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18837 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18838 (eieio-slot-originating-class-p, eieio-slot-name-index)
18839 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18840 (constructor, initialize-instance, no-next-method, object-print)
18841 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18842 Fix typos in docstrings.
18843 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18844 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18845 (next-method-p): Doc fixes.
18846 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18847 Fix typos in error messages.
18848 (eieio-defmethod): Fix typo in description of generic method.
18850 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18851 (eieio-persistent-save-interactive, slot-missing):
18852 Fix typos in docstrings.
18853 (eieio-instance-inheritor-slot-boundp): Doc fix.
18855 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18856 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18858 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18859 (eieio-custom-object-apply-reset):
18860 Fix typos in docstrings and error messages.
18862 * emacs-lisp/eieio-datadebug.el (data-debug-show):
18863 Fix typo in docstring.
18865 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18866 (eieio-browse-tree): Doc fix.
18867 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18868 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18869 Fix typos in docstrings.
18871 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18872 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18873 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18874 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18877 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
18879 * vc-hg.el (log-view-vc-backend): Declare for compiler.
18880 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18881 Set log-view-vc-backend so that diff can work.
18883 * log-view.el (log-view-diff): Use vc-diff-internal instead of
18885 (vc-diff-internal): Autoload this instead of vc-version-diff.
18887 2009-10-05 Eli Zaretskii <eliz@gnu.org>
18889 * simple.el (eval-expression): Doc fix.
18891 * progmodes/cwarn.el (cwarn-mode): Doc fix.
18893 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
18895 * files.el (directory-files-no-dot-files-regexp): New defconst.
18896 (delete-directory): Use it.
18897 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
18899 * net/tramp.el (tramp-verbose): Fix docstring.
18900 (tramp-methods): Add recursive option to `tramp-copy-args'.
18901 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
18902 "scp1_old", "scp2_old", "rsync", "rsyncc".
18903 (tramp-default-method): Check also for `auth-source-user-or-password'.
18904 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18905 Add handler for `copy-directory'.
18906 (tramp-handle-copy-directory): New defun.
18907 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18908 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18909 Optimize sent command.
18911 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18913 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18914 window if necessary.
18916 * calendar/calendar.el (calendar-basic-setup): Don't call
18917 switch-to-buffer in a dedicated window.
18919 2009-10-05 Karl Fogel <kfogel@red-bean.com>
18921 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18922 don't do anything related to relocating, just return nil.
18923 (bookmark-error-no-filename): New error.
18924 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18925 bookmark has no file. Don't even attempt to handle things that
18926 are not files; the whole point of custom handlers is to keep that
18927 knowledge elsewhere anyway. Tighten some comments.
18928 (bookmark-file-or-variation-thereof): Remove now-unused function.
18929 (bookmark-location): Doc string fix.
18932 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18934 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18935 don't use a file dialog, because they usually don't know how to read
18936 a directory target from the user. (Bug#4230)
18937 Also, make sure the prompt can display directories as well as files.
18939 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18941 * bookmark.el (bookmark-set, bookmark-buffer-name):
18942 Improve doc strings. (Bug#1193)
18944 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18946 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18947 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18948 (bookmark-get-annotation, bookmark-set-annotation)
18949 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18950 (bookmark-set-position, bookmark-get-front-context-string)
18951 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18952 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18953 (bookmark-jump-other-window, bookmark-handle-bookmark)
18954 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18955 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18956 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18957 Improve doc strings to say whether bookmark can be a string or
18958 a record or both, and make other consistency and clarity fixes.
18959 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18960 (bookmark-default-annotation-text, bookmark-yank-word)
18961 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18962 (bookmark-import-new-list, bookmark-maybe-rename)
18963 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18964 (bookmark-bmenu-bookmark): Give these doc strings.
18965 (bookmark-bmenu-check-position): Give this a doc string, but also
18966 add a FIXME comment about how the function may be pointless.
18967 (bookmark-default-handler): Rework doc string and change a
18968 parameter name, to clarify that this takes a bookmark record
18969 not a bookmark name.
18970 (bookmark-set): Change a parameter name to indicate its meaning,
18971 and improve the doc string a bit.
18974 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18976 * bookmark.el (bookmark-alist): Document the new `handler' element
18977 in the param alist.
18978 (bookmark-make-record-function): Adjust documentation for above.
18981 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18983 * info.el (Info-bookmark-make-record): Document this function.
18984 (Info-bookmark-jump): Document with a doc string, not just a comment.
18987 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
18989 * files.el (copy-directory): New defun.
18991 * dired-aux.el (dired-copy-file-recursive): Use it.
18993 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
18995 * files-x.el (modify-dir-local-variable)
18996 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18999 * recentf.el (recentf-unload-function): New function.
19001 2009-10-04 Glenn Morris <rgm@gnu.org>
19003 * window.el (window-full-height-p): Add doc string.
19005 2009-10-04 Martin Rudalics <rudalics@gmx.at>
19007 * window.el (window-full-height-p): New function. (Bug#4543)
19009 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
19011 * vc.el: Remove commented out code.
19012 (vc-derived-from-dir-mode): Remove, unused.
19013 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
19015 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
19017 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
19018 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
19019 there could be recursive loading when `default-directory' is a
19020 remote file name. (Bug#4614)
19022 2009-10-03 Glenn Morris <rgm@gnu.org>
19024 * calendar/calendar.el (calendar-basic-setup): Handle the case where
19026 (calendar-generate-window): Test for shrinkability rather than width.
19028 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
19029 reusing existing buffers, in case we happen to visit two files with the
19030 same basename. (Bug#4593)
19032 2009-10-02 Eli Zaretskii <eliz@gnu.org>
19034 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
19035 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
19036 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
19037 subdirs of cedet as well.
19038 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
19040 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
19042 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
19043 Obey advertised-signature-table.
19045 * help-fns.el (help-function-arglist): Don't check
19046 advertised-signature-table.
19047 (describe-function-1): Do it here instead so it also applies to subrs.
19049 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
19051 * simple.el (start-file-process): Say in the doc-string, that file
19052 handlers might not support pty association, if PROGRAM is nil.
19054 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
19055 HOST and USER are strings. They are nil, when there are
19056 incomplete entries in ~/.netrc, for example.
19057 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
19058 root directory ("device busy" error otherwise).
19060 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
19061 Flush file properties of created directory.
19063 2009-10-02 Eli Zaretskii <eliz@gnu.org>
19065 * makefile.w32-in (WINS_BASIC): Remove cedet.
19066 (WINS_CEDET): Add cedet.
19067 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
19069 2009-10-02 Kevin Ryde <user42@zip.com.au>
19071 * net/browse-url.el (browse-url): Pass any symbol in
19072 browse-url-browser-function to `apply', since if you've mistakenly put
19073 an unbound symbol then the error is clearer. (Bug#4531)
19075 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
19077 * allout.el (allout-init, allout-back-to-current-heading)
19078 (allout-beginning-of-current-entry, allout-ascend-to-depth)
19079 (allout-ascend, allout-up-current-level, allout-end-of-level)
19080 (allout-previous-visible-heading, allout-forward-current-level)
19081 (allout-backward-current-level, allout-show-children):
19082 * apropos.el (apropos-describe-plist):
19083 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
19084 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
19085 * completion.el (add-completion, add-permanent-completion):
19086 * descr-text.el (describe-text-category, describe-char):
19087 * desktop.el (desktop-lazy-abort):
19088 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
19089 * dired.el (dired-build-subdir-alist):
19090 * ediff.el (ediff-version):
19091 * elide-head.el (elide-head, elide-head-show):
19092 * emerge.el (emerge-version):
19094 * face-remap.el (variable-pitch-mode):
19095 * faces.el (describe-face):
19096 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
19098 * files.el (find-file-existing, auto-save-mode):
19099 * font-lock.el (font-lock-fontify-buffer):
19100 * help-fns.el (describe-function, describe-variable)
19101 (describe-syntax, describe-categories):
19102 * help.el (view-lossage, describe-bindings, describe-key)
19104 * hexl.el (hexl-current-address):
19105 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
19106 * info.el (Info-goto-emacs-key-command-node):
19107 * log-edit.el (log-edit-insert-cvs-template)
19108 (log-edit-insert-cvs-rcstemplate):
19109 * menu-bar.el (menu-bar-mode):
19110 * mouse.el (mouse-appearance-menu):
19111 * newcomment.el (comment-indent-new-line):
19112 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
19113 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
19114 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
19115 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
19116 * recentf.el (recentf-mode):
19117 * savehist.el (savehist-mode, savehist-save):
19118 * shadowfile.el (shadow-copy-files):
19119 * simple.el (kill-ring-save, next-line, previous-line)
19120 (normal-erase-is-backspace-mode):
19121 * strokes.el (strokes-update-window-configuration)
19122 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
19123 (strokes-xpm-for-stroke):
19124 * time.el (emacs-uptime, emacs-init-time):
19125 * tutorial.el (tutorial--describe-nonstandard-key)
19126 (tutorial--detailed-help):
19127 * type-break.el (type-break-mode)
19128 (type-break-mode-line-message-mode, type-break-query-mode)
19129 (type-break-guesstimate-keystroke-threshold):
19130 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
19131 * version.el (emacs-version):
19132 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
19133 * winner.el (winner-mode):
19134 * calendar/timeclock.el (timeclock-in, timeclock-out)
19135 (timeclock-status-string, timeclock-change)
19136 (timeclock-workday-remaining-string)
19137 (timeclock-workday-elapsed-string)
19138 (timeclock-when-to-leave-string):
19139 * calendar/todo-mode.el (todo-add-category):
19140 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
19141 * emacs-lisp/autoload.el (update-file-autoloads):
19142 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
19143 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
19144 (checkdoc-message-text, checkdoc-defun):
19145 * emacs-lisp/debug.el (debugger-list-functions):
19146 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
19147 * emacs-lisp/eieio-opt.el (eieio-describe-class)
19148 (eieio-describe-generic):
19149 * emacs-lisp/lisp-mnt.el (lm-synopsis):
19150 * emacs-lisp/shadow.el (list-load-path-shadows):
19151 * emulation/cua-base.el (cua-mode):
19152 * emulation/edt.el (edt-set-scroll-margins):
19153 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
19154 (tpu-toggle-regexp, tpu-toggle-search-direction)
19155 (tpu-toggle-rectangle, tpu-toggle-control-keys):
19156 * emulation/tpu-extras.el (tpu-set-scroll-margins):
19157 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
19158 (viper-set-parsing-style-toggling-macro)
19159 (viper-set-emacs-state-searchstyle-macros):
19160 * emulation/viper.el (viper-set-hooks):
19161 * eshell/esh-mode.el (eshell-truncate-buffer):
19162 * international/mule-cmds.el (prefer-coding-system)
19163 (describe-input-method, describe-language-environment):
19164 * international/mule-diag.el (list-character-sets)
19165 (describe-character-set, describe-coding-system)
19166 (describe-fontset, list-fontsets, list-input-methods):
19167 * mail/sendmail.el (mail-signature):
19168 * net/ange-ftp.el (ange-ftp-copy-file):
19169 * net/browse-url.el (browse-url):
19170 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
19171 * net/quickurl.el (quickurl-add-url):
19172 * net/rcirc.el (names, topic):
19173 * net/xesam.el (xesam-mode):
19174 * play/5x5.el (5x5-new-game):
19175 * play/yow.el (apropos-zippy):
19176 * progmodes/ada-mode.el (ada-mode-version):
19177 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
19179 (f90-beginning-of-block):
19180 * progmodes/fortran.el (fortran-end-of-block)
19181 (fortran-beginning-of-block):
19182 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
19183 * progmodes/python.el (python-describe-symbol, python-shell):
19184 * term/ns-win.el (ns-print-buffer):
19185 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
19186 * textmodes/flyspell.el (flyspell-mode-on):
19187 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
19188 (pages-directory-for-addresses):
19189 * textmodes/table.el (table-recognize-cell)
19190 (table-query-dimension, table-generate-source)
19191 (table-insert-sequence, table--warn-incompatibility):
19192 * textmodes/tex-mode.el (tex-validate-buffer):
19193 * textmodes/texinfmt.el (texinfmt-version)
19194 (texinfo-format-buffer):
19195 Use `called-interactively-p' instead of `interactive-p'.
19197 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
19199 * image-mode.el (image-toggle-display):
19200 * emacs-lisp/elp.el (elp-instrument-function):
19201 * emacs-lisp/advice.el (ad-make-advised-definition):
19202 * emacs-lisp/easy-mmode.el (define-minor-mode):
19203 * net/browse-url.el (browse-url-maybe-new-window):
19204 * progmodes/sh-script.el (sh-learn-buffer-indent):
19205 Pass new argument 'any to `called-interactively-p'.
19207 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
19209 * international/uni-bidi.el:
19210 * international/uni-category.el:
19211 * international/uni-combining.el:
19212 * international/uni-comment.el:
19213 * international/uni-decimal.el:
19214 * international/uni-decomposition.el:
19215 * international/uni-digit.el:
19216 * international/uni-lowercase.el:
19217 * international/uni-mirrored.el:
19218 * international/uni-name.el:
19219 * international/uni-numeric.el:
19220 * international/uni-old-name.el:
19221 * international/uni-titlecase.el:
19222 * international/uni-uppercase.el:
19223 Regenerate from Unicode 5.2.0 data.
19225 2009-10-01 Glenn Morris <rgm@gnu.org>
19227 * Makefile.in (ELCFILES): Regenerate.
19229 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
19231 * subr.el (interactive-p): Mark obsolete.
19232 (called-interactively-p): Make the optional-ness of `kind' obsolete.
19233 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
19234 advertised-signature-table for subroutines as well.
19236 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
19237 (set-advertised-calling-convention): New function.
19238 (make-obsolete, define-obsolete-function-alias)
19239 (make-obsolete-variable, define-obsolete-variable-alias):
19240 Make the optional-ness of `when' obsolete.
19241 (define-obsolete-face-alias): Make `when' non-optional.
19242 * help-fns.el (help-function-arglist):
19243 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
19244 Use advertised-signature-table.
19246 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
19248 * files.el (delete-directory): New defun. The original function
19249 in fileio.c has been renamed to `delete-directory-internal'.
19251 * dired.el (dired-delete-file): Call `delete-directory' with
19252 RECURSIVE parameter.
19254 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
19255 parameter RECURSIVE. Implementation is missing.
19257 * net/tramp.el (tramp-handle-make-directory): Flush upper
19258 directory's file properties.
19259 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
19260 (tramp-handle-dired-recursive-delete-directory): Flush directory
19261 properties after the remove command only.
19263 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
19264 Handle optional parameter RECURSIVE.
19266 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
19267 Handle optional parameter RECURSIVE.
19269 * net/tramp-smb.el (tramp-smb-errors): Add error message for
19270 connection timeout.
19271 (tramp-smb-handle-delete-directory): Handle optional parameter
19274 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
19276 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
19277 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
19278 (byte-compile-defmacro): Use backquotes.
19280 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
19282 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
19283 has no associated file.
19284 (vc-resynch-buffer): Use vc-dir-buffers.
19286 2009-10-01 Glenn Morris <rgm@gnu.org>
19288 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
19289 (chart-file-count):
19290 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
19291 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
19292 * emacs-lisp/eieio-opt.el (eieio-describe-class):
19293 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
19294 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
19295 (eieio-copy-parents-into-subclass, make-instance, class-children)
19296 (eieio-generic-form):
19298 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
19299 match-data. (Bug#4555).
19301 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
19302 rather than parsing it as a regexp. This relaxes the layout
19303 requirements and makes errors easier to detect.
19304 (check-declare-verify): Check file is regular.
19305 (check-declare-directory): Doc fix.
19306 * subr.el (declare-function): Doc fix.
19308 * ibuffer.el (ibuffer-format-qualifier):
19309 * isearch.el (hi-lock-regexp-okay):
19310 * calc/calc.el (math-zerop):
19311 * mail/uce.el (rmail-msgbeg, rmail-msgend):
19312 * term/w32-win.el (setup-default-fontset, set-fontset-font):
19313 Remove unused declarations.
19315 2009-09-30 Eric Ludlam <zappo@gnu.org>
19317 * emacs-lisp/eieio.el (boolean-p): Delete.
19319 2009-09-30 Glenn Morris <rgm@gnu.org>
19321 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
19323 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
19324 filename is not a string.
19326 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
19328 * files.el (safe-local-eval-forms): Fix typo.
19330 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
19332 * vc-hooks.el (vc-dir-buffers): New var.
19333 (vc-state-refresh): New function.
19334 (vc-state): Use it.
19335 (vc-after-save): Always ask the backend to recompute the new state.
19336 Always call vc-dir if necessary, using vc-dir-buffers.
19337 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
19338 Use vc-dir-buffers.
19339 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
19340 (vc-dir-prepare-status-buffer, vc-dir-update)
19341 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
19342 Don't call expand-file-name on default-directory.
19344 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
19346 * speedbar.el (speedbar-item-delete):
19347 * calc/calc-prog.el (calc-kbd-if):
19348 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
19350 * epa.el (epa-key-list-mode-map):
19351 * hi-lock.el (hi-lock-menu): Fix typos in menus.
19353 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
19354 (hs-show-hook): Fix typo in docstring.
19356 2009-09-29 Glenn Morris <rgm@gnu.org>
19358 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
19359 file-name-nondirectory call preventing location of cedet files.
19360 (check-declare-verify): Use literal search rather than re-search.
19361 Add basic defmethod and defclass, and define-overloadable-function.
19363 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
19364 Use tramp-compat-file-attributes rather than nonexistent
19365 tramp-compat-handle-file-attributes.
19367 * Makefile.in (lisptagsfiles4): New.
19368 (AUTOGENEL): Add cedet loaddefs files.
19369 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
19370 (update-elclist, compile-always, backup-compiled-files)
19371 (bootstrap-clean): Add yet another directory level.
19372 (update-elclist): Use LC_COLLATE rather than COLLATE.
19373 (ELCFILES): Update, via `make update-elclist'.
19375 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
19377 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
19378 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
19379 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
19381 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
19383 * Makefile.in (lisptagsfiles3): Define.
19384 (TAGS, TAGS-LISP): Use it.
19385 (update-elclist): Add third directory level to look for elc files.
19386 (compile-always): Likewise.
19387 (backup-compiled-files): Likewise.
19388 (bootstrap-clean): Likewise.
19389 (ELCFILES): Update.
19391 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
19393 * Makefile.in (ELCFILES): Add CEDET files.
19395 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
19397 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
19399 * net/tramp.el (top): Require tramp-imap.
19401 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
19402 Use `tramp-compat-handle-file-attributes'.
19404 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
19406 * net/tramp-imap.el: New package.
19408 2009-09-28 Eric Ludlam <zappo@gnu.org>
19410 * emacs-lisp/chart.el:
19411 * emacs-lisp/eieio-base.el:
19412 * emacs-lisp/eieio-comp.el:
19413 * emacs-lisp/eieio-custom.el:
19414 * emacs-lisp/eieio-datadebug.el:
19415 * emacs-lisp/eieio-opt.el:
19416 * emacs-lisp/eieio-speedbar.el:
19417 * emacs-lisp/eieio.el: New files.
19419 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19421 * whitespace.el (whitespace-trailing-regexp)
19422 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
19425 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
19427 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
19430 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
19431 menu-bar-ediff-menu.
19433 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
19434 define-overloadable-function.
19436 * progmodes/autoconf.el: Provide autoconf as well, so that this
19437 file can be `require'd.
19439 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
19441 * emacs-lisp/autoload.el (generated-autoload-feature)
19442 (generated-autoload-load-name): New vars.
19443 (autoload-rubric, autoload-generate-file-autoloads): Use them.
19444 (make-autoload): Recognize define-overloadable-function and
19445 defclass forms (for EIEIO).
19447 * Makefile.in (update-subdirs): Exclude cedet directory.
19449 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
19451 * term/ns-win.el: Don't set the region face background. (Bug#4381)
19453 * faces.el: Default light-background background for region face to
19454 ns_selection_color under NS.
19456 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
19458 * net/imap-hash.el: New library, see NEWS.
19460 * Makefile.in (ELCFILES): Add imap-hash.el.
19462 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
19464 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
19465 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
19466 * help-macro.el (make-help-screen): Avoid using an ambiguous function
19467 definition where the docstring could be taken for the return value.
19469 2009-09-26 Glenn Morris <rgm@gnu.org>
19471 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
19472 Add option to only show images below a certain size.
19473 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
19474 save-excursion calls.
19476 2009-09-26 Eli Zaretskii <eliz@gnu.org>
19478 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
19479 subdirectories) and eieio.
19481 2009-09-26 Alan Mackenzie <acm@muc.de>
19483 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19484 Correct buggy bracketing. (Bug#4289)
19486 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
19487 character constants (as case labels). (Bug#4289)
19489 2009-09-25 Juri Linkov <juri@jurta.org>
19491 * files.el (safe-local-eval-forms): Allow time-stamp in
19492 before-save-hook (Bug#4554).
19494 2009-09-25 Drew Adams <drew.adams@oracle.com>
19496 * menu-bar.el (list-buffers-directory): Doc fix.
19498 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
19500 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
19501 Try and avoid copying twice the same paragraph.
19502 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
19503 Remove save-excursion.
19504 (log-edit-changelog-entry): Do it here instead.
19506 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
19508 * bs.el (bs--get-file-name): Use `list-buffers-directory'
19509 when available, instead of hardcoding mode names. Doc fix.
19511 * menu-bar.el (list-buffers-directory): Add docstring.
19512 Make automatically buffer-local.
19514 * dired.el (dired-mode):
19515 * files.el (cd-absolute):
19516 * pcvs.el (cvs-temp-buffer):
19517 * pcvs-util.el (cvs-get-buffer-create):
19518 * shell.el (shell-mode):
19519 * vc-dir.el (vc-dir-mode):
19520 Don't make `list-buffers-directory' buffer local.
19522 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
19524 * comint.el (comint-exec, comint-run, make-comint):
19525 Doc fixes (Bug#4542).
19527 2009-09-25 Glenn Morris <rgm@gnu.org>
19529 * mail/rmailmm.el (rmail-mime): New custom group.
19530 Move all defcustoms in this file into this group.
19531 (rmail-mime-media-type-handlers-alist): Revert previous change.
19532 (rmail-mime-show-images): New option.
19533 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
19534 references to it, since it wasn't actually used for anything.
19535 (rmail-mime-insert-image): New function.
19536 (rmail-mime-image): Use rmail-mime-insert-image.
19537 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
19538 obey the value of `rmail-mime-show-images' option. Print the size of
19541 2009-09-25 David Engster <deng@randomsample.de>
19543 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
19545 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19547 * whitespace.el: Does not highlight trailing spaces While point is
19548 at end of line. Does not highligt spaces at beginning of buffer
19549 while point is at beginning of buffer. Does not highlight spaces
19550 at end of buffer while point is at end of buffer. (Bug#4177)
19552 (whitespace-display-mappings): Adjust initialization.
19553 (whitespace-point, whitespace-font-lock-refontify): New vars.
19554 (whitespace-color-on, whitespace-color-off): Adjust code.
19555 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
19556 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
19557 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
19559 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
19561 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
19563 * textmodes/sgml-mode.el: Remove xml-mode alias.
19565 * files.el (auto-mode-alist, conf-mode-maybe)
19566 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
19568 2009-09-24 Alan Mackenzie <acm@muc.de>
19570 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
19571 c-forward-conditionals, but it doesn't move point and doesn't set
19573 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
19574 (c-down-conditional-with-else, c-backward-conditional)
19575 (c-forward-conditional): Refactor to use c-scan-conditionals.
19577 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19579 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
19580 (help-default-arg-highlight): Remove.
19581 (help-highlight-arg): New function.
19582 (help-do-arg-highlight): Use it.
19583 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
19585 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19587 * term.el (term-set-scroll-region, term-handle-ansi-escape):
19588 Undo last change, which didn't fix the problem and introduced others.
19590 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
19592 * progmodes/gdb-mi.el: Don't require speedbar.
19593 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
19595 2009-09-24 Glenn Morris <rgm@gnu.org>
19597 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
19599 * term/ns-win.el (ns-reg-to-script): Define for compiler.
19601 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
19602 there is no newline after the final mime boundary. (Bug#4539)
19603 Move markers on insertion so that any buttons inserted don't end up in
19604 the next part of a multipart message.
19605 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
19606 (rmail-mime-bulk-handler): Optionally handle images.
19607 (rmail-mime-image): New button action.
19608 (rmail-mime-image-handler): New function.
19609 (rmail-mime-mode): New mode.
19610 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
19612 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19614 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
19615 than just dropping elements from it (bug#4504).
19617 * term.el (term-set-scroll-region): Don't move cursor any more.
19618 (term-handle-ansi-escape): Call term-goto here instead.
19619 Suggested by Ivan Kanis <apple@kanis.eu>.
19621 * term.el: Require CL.
19622 (term-ansi-reset): New function.
19623 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
19624 (term-handle-colors-array): Simplify.
19626 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19628 * allout.el (allout-overlay-interior-modification-handler)
19629 (allout-obtain-passphrase):
19630 * epa-file.el (epa-file-write-region):
19631 * ps-print.el (ps-begin-job):
19632 * vc-hooks.el (vc-toggle-read-only):
19633 * vc-rcs.el (vc-rcs-rollback):
19634 * vc-sccs.el (vc-sccs-rollback):
19635 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
19636 (vc-version-diff, vc-revert, vc-rollback):
19637 * wdired.el (wdired-check-kill-buffer):
19638 * emacs-lisp/authors.el (authors):
19639 * net/socks.el (socks-open-connection):
19640 * net/zeroconf.el (zeroconf-service-add-hook):
19641 * obsolete/vc-mcvs.el (vc-mcvs-register):
19642 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
19643 (gdb-select-frame):
19644 * progmodes/grep.el (lgrep, rgrep):
19645 * progmodes/idlw-help.el (idlwave-help-check-locations)
19646 (idlwave-help-html-link, idlwave-help-assistant-open-link):
19647 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
19648 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
19649 (reftex-toc-rename-label): Fix typos in error messages.
19651 * dired-aux.el (dired-do-shell-command): Reflow docstring.
19652 (dired-copy-how-to-fn): Doc fix.
19653 (dired-files-attributes, dired-read-shell-command):
19654 Fix typos in docstrings.
19656 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
19657 (dired-x-find-file-other-window): Reflow docstrings.
19658 (dired-omit-marker-char, dired-read-shell-command)
19659 (dired-x-submit-report): Fix typos in docstrings.
19661 * shell.el (shell-mode-hook):
19662 * view.el (View-scroll-line-forward):
19663 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
19664 Fix typos in docstrings.
19666 * net/dig.el (dig-invoke): Fix typo in docstring.
19667 (query-dig): Reflow docstring.
19669 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
19670 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
19671 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
19672 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
19673 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
19674 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
19675 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
19676 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
19677 (idlwave-completion-map, idlwave-current-indent)
19678 (idlwave-custom-ampersand-surround, idlwave-customize)
19679 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
19680 (idlwave-define-abbrev, idlwave-determine-class-special)
19681 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
19682 (idlwave-end-block-reg, idlwave-end-of-statement)
19683 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
19684 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
19685 (idlwave-explicit-class-listed, idlwave-file-header)
19686 (idlwave-fill-paragraph, idlwave-find-class-definition)
19687 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
19688 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
19689 (idlwave-in-quote, idlwave-indent-action-table)
19690 (idlwave-indent-expand-table, idlwave-indent-line)
19691 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
19692 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
19693 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
19694 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
19695 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
19696 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
19697 (idlwave-outlawed-buffers, idlwave-popup-select)
19698 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
19699 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
19700 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
19701 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
19702 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
19703 (idlwave-statement-type, idlwave-struct-skip)
19704 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
19705 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
19706 (idlwave-what-module-find-class): Fix typos in docstrings.
19707 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
19708 (idlwave-calculate-cont-indent, idlwave-expand-equal)
19709 (idlwave-find-module, idlwave-find-structure-definition)
19710 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
19711 (idlwave-list-load-path-shadows, idlwave-next-statement)
19712 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
19713 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
19714 (idlwave-template): Reflow docstrings.
19716 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
19717 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
19718 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
19719 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
19720 (idlwave-shell-display-line, idlwave-shell-display-wframe)
19721 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
19722 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
19723 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
19724 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
19725 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
19726 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
19727 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
19728 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
19729 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
19730 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
19731 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
19732 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
19733 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
19734 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
19735 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
19736 Fix typos in docstrings.
19737 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
19738 (idlwave-shell-hide-output, idlwave-shell-mode)
19739 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
19742 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
19744 2009-09-24 Ivan Kanis <apple@kanis.eu>
19746 * term.el (term-bold-attribute): New var.
19747 (term-handle-colors-array): Use it.
19749 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
19751 * progmodes/gdb-mi.el (gdb-version): New variable.
19752 (gdb-non-stop-handler): Set gdb-version.
19753 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
19754 Condition "--thread" option on gdb-version.
19755 (gdb-invalidate-threads): Remove unused argument.
19757 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19759 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
19760 to looking-back to avoid ridiculous slow down in large files (bug#4511).
19762 2009-09-23 Glenn Morris <rgm@gnu.org>
19764 * mail/rmail.el (rmail-reply): Don't try to add a References header when
19765 replying to mail without References or Message-Id. (Bug#4525)
19767 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
19769 * term/ns-win.el (ns-reg-to-script): New variable.
19771 2009-09-23 Daiki Ueno <ueno@unixuser.org>
19773 * epg.el (epg-wait-for-status): Preserve existing 'error results.
19775 2009-09-22 Sam Steingold <sds@gnu.org>
19777 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
19778 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
19779 to 1 because hg returns status 1 when nothing is found.
19780 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
19782 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
19784 * textmodes/fill.el: Convert to utf-8 encoding.
19785 (fill-french-nobreak-p): Remove redundant » and « inherited from our
19788 * add-log.el (change-log-fill-forward-paragraph): New function.
19789 (change-log-mode): Use it so fill-region DTRT.
19790 Set fill-indent-according-to-mode here rather than in
19791 change-log-fill-paragraph.
19792 (change-log-fill-paragraph): Remove.
19794 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
19796 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
19797 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
19799 2009-09-22 Glenn Morris <rgm@gnu.org>
19801 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
19802 the scroll-bar scroll the calendar window rather than the buffer.
19804 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
19805 commands that move point (as opposed to scrolling).
19807 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
19809 * emacs-lisp/elint.el (elint): New custom group.
19810 (elint-log-buffer): Make it a defcustom.
19811 (elint-scan-preloaded, elint-ignored-warnings)
19812 (elint-directory-skip-re): New options.
19813 (elint-builtin-variables): Doc fix.
19814 (elint-preloaded-env): New variable.
19815 (elint-unknown-builtin-args): Add an entry for encode-time.
19816 (elint-extra-errors): Make it a variable rather than a constant.
19817 (elint-preloaded-skip-re): New constant.
19818 (elint-directory): Skip files matching elint-directory-skip-re.
19819 (elint-features): New variable, local to linted buffers.
19820 (elint-update-env): Initialize elint-features. Possibly add
19821 elint-preloaded-env to the buffer's environment.
19822 (elint-get-top-forms): Bind elint-current-pos, for log messages.
19824 (elint-init-form): New function, extracted from elint-init-env.
19825 Make non-list forms a warning rather than an error.
19826 Add the mode-map for define-derived-mode. Handle define-minor-mode,
19827 easy-menu-define, put that adds an error-condition, and provide.
19828 When requiring cl, also require cl-macs. Really require cl, to handle
19829 some cl macros. Store required libraries in the list elint-features,
19830 so as not to re-load them. Treat cc-require like require.
19831 (elint-init-env): Call elint-init-form to do the work.
19832 Handle eval-and-compile and such like.
19833 (elint-add-required-env): Do not clear messages.
19834 (elint-special-forms): Add handlers for function, defalias, if, when,
19836 (elint-form): Add optional argument to ignore elint-special-forms,
19837 useful to prevent recursive calls from handlers. Doc fix.
19838 Respect elint-ignored-warnings.
19839 (elint-form): Respect elint-ignored-warnings.
19840 (elint-bound-variable, elint-bound-function): New variables.
19841 (elint-unbound-variable): Respect elint-bound-variable.
19842 (elint-get-args): Respect elint-bound-function.
19843 (elint-check-cond-form): Add some simple handling for (f)boundp and
19845 (elint-check-defalias-form): New handler.
19846 (elint-check-let-form): Make an empty let a warning rather than an
19848 (elint-check-setq-form): Make an empty setq a warning rather than an
19849 error. Respect elint-ignored-warnings.
19850 (elint-check-defvar-form): Accept null doc-strings.
19851 (elint-check-conditional-form): New handler. Does some simple-minded
19852 checking of featurep and (f)boundp tests.
19853 (elint-put-function-args): New function.
19854 (elint-initialize): Use elint-scan-doc-file rather than
19855 elint-find-builtin-variables. Use elint-put-function-args.
19856 Possibly scan preloaded-file-list.
19857 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19858 extend to handle functions as well.
19860 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
19862 * linum.el (linum-delete-overlays, linum-update-window):
19863 Do not modify the right margin. (Bug#3971)
19865 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
19867 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19868 Use nxml-mode instead of xml-mode.
19870 2009-09-21 Kevin Ryde <user42@zip.com.au>
19872 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
19874 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19876 * net/dig.el (dig-mode): Use define-derived-mode.
19878 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
19880 * vc-dispatcher.el (vc-do-command): Return the process object in
19881 the asynchronous case. Use when instead of if. Do not run
19882 vc-exec-after to display a message if not enabled. (Bug#4463)
19884 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19885 properties to the stash strings.
19886 (vc-git-stash-list): Return a list of strings.
19887 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19888 (vc-git-stash-show-at-point): New functions.
19889 (vc-git-stash-map): New keymap.
19891 * register.el (ctl-x-r-map): Define the keys here instead of
19894 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
19896 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19897 list, to workaround performance problem (bug#4485).
19899 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
19901 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19903 2009-09-20 Daiki Ueno <ueno@unixuser.org>
19905 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19906 Document that this option is not recommended to use.
19908 2009-09-19 Glenn Morris <rgm@gnu.org>
19910 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19913 * calc/calc-alg.el (var):
19914 * calc/calcalg2.el (var): Define for compiler.
19916 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
19918 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19919 Doc fix (Bug#3932).
19921 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19923 * time-stamp.el (time-stamp-month-dd-yyyy)
19924 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19925 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19926 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19927 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19928 Remove functions that have been obsolete since 1995 (Bug#4436).
19930 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19931 indent buffer only if called interactively (Bug#4452).
19933 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
19934 Eli Zaretskii <eliz@gnu.org>
19936 This fixes bug#4197 (merged to bug#865, though not identical).
19937 * server.el (server-auth-dir): Add docstring note about FAT32.
19938 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19939 but warn against using them.
19941 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
19943 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19944 older GDB where there is no has_more field.
19946 2009-09-19 Glenn Morris <rgm@gnu.org>
19948 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19950 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
19952 * files.el (auto-mode-alist): Change default for XML files to nXML
19955 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
19957 * server.el (server-ensure-safe-dir): Pass 'integer
19958 to `file-attributes', as suggested.
19960 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
19962 * dired-aux.el (dired-query-alist): Remove spurious backslash.
19963 (dired-query): Use read-key.
19965 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
19967 * cus-start.el (ns-use-qd-smoothing): Remove.
19969 2009-09-18 Glenn Morris <rgm@gnu.org>
19971 * allout.el (top-level): Remove unnecessary progn.
19973 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19975 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19976 definition of abbrev table.
19978 * speedbar.el (speedbar-track-mouse):
19979 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19980 * net/eudc.el (eudc-expand-inline):
19981 * net/newst-backend.el (newsticker--cache-read-feed):
19982 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19983 condition-case handlers.
19985 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
19987 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19988 (gdb-var-list): Add an element for has_more field.
19989 (gdb-non-stop-handler): Enable pretty printing for STL containers.
19990 (gdb-var-create-handler, gdb-var-list-children-handler-1)
19991 (gdb-var-update-handler-1): Parse output of dynamic variable
19992 objects (STL containers).
19993 (gdb-var-delete-1): Pass var1 as an explicit second argument.
19994 (gdb-get-field): Delete alias. Use bindat-get-field directly.
19996 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19998 (gud-speedbar-buttons): Make node expandable if expression "has more"
20001 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
20003 * startup.el (emacs-quick-startup): Remove variable and all uses.
20004 (command-line): Set `inhibit-x-resources' instead.
20005 (command-line-1): Use `inhibit-x-resources' instead.
20007 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
20009 * subr.el: Fix last change to avoid using the `unless' macro,
20010 which breaks bootstrapping.
20012 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
20014 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
20015 extended definitions, in case we reload subr.el after having
20017 (eval-next-after-load): Mark as obsolete.
20019 2009-09-17 Juri Linkov <juri@jurta.org>
20021 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
20022 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
20023 (menu-bar-showhide-menu, menu-bar-tools-menu)
20024 (menu-bar-describe-menu, menu-bar-help-menu)
20025 (minibuffer-local-completion-map, minibuffer-local-map):
20028 2009-09-17 Glenn Morris <rgm@gnu.org>
20030 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
20031 arguments, whether or not it has a handler.
20033 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
20035 * simple.el (hard-newline): Give it a doc-string.
20037 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20038 (lisp-mode-syntax-table): Give them doc-strings.
20040 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
20042 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
20043 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
20044 (menu-bar-options-menu, menu-bar-showhide-menu)
20045 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
20046 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
20047 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
20048 (menu-bar-options-menu, menu-bar-tools-menu)
20049 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
20050 (menu-bar-help-menu):
20051 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
20054 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
20055 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
20056 calls for the menu names and :help.
20058 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
20060 * mouse.el (minor-mode-menu-from-indicator): Pay attention
20061 to :minor-mode-function (bug#4455).
20063 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
20065 * startup.el (command-line): Initialize the window-system after
20066 processing the command-line.
20068 * textmodes/page.el (what-page): Make sure we don't inf-loop if
20069 page-delimiter matches the empty string.
20071 2009-09-16 Glenn Morris <rgm@gnu.org>
20073 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
20074 byte-compile-not-obsolete-var. It's a list now.
20075 (byte-compile-not-obsolete-funcs): New variable.
20076 (byte-compile-warn-obsolete): Don't warn about functions if they are in
20077 byte-compile-not-obsolete-funcs.
20078 (byte-compile-variable-ref, byte-compile-defvar): Update for
20079 byte-compile-not-obsolete-vars name-change and list nature.
20080 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
20081 and variables behind (f)boundp tests.
20082 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
20084 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
20086 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
20088 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
20090 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
20091 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
20094 2009-09-15 Stephen Eglen <stephen@gnu.org>
20096 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
20097 the virtual-buffers, use the name of the buffer specified by
20098 find-file-noselect, as the match may be a symlink. (This was a
20099 problem if the target and the symlink had different names.)
20101 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
20103 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
20105 * desktop.el (desktop-path): Check user-emacs-directory.
20107 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
20109 * loadup.el: Use after-load-functions to GC after loading each file.
20110 Remove the explicit GC calls that used to be sprinkled around.
20112 * subr.el (after-load-functions): New hook.
20113 (do-after-load-evaluation): Run it. Use string-match-p to detect
20114 `obsolete' packages, rather than painfully extracting the relevant
20117 2009-09-15 Glenn Morris <rgm@gnu.org>
20119 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
20120 free variable `doc'.
20122 * dired.el (dired-mode-map): Add menu entry for async shell command.
20124 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
20125 variables, also consider the .elc files, since the .el files are
20126 normally gzipped (subsequent code locates the .el.gz from the .elc).
20128 * calc/calc-prog.el (arglist): Define for compiler.
20130 * calendar/diary-lib.el (diary-display-function): Change the default to
20132 (body): Define for compiler.
20134 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
20135 (byte-compile-file-form, byte-compile-lambda)
20136 (byte-compile-top-level-body, byte-compile-form)
20137 (byte-compile-variable-ref, byte-compile-setq)
20138 (byte-compile-setq-default, byte-compile-body)
20139 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
20140 (batch-byte-compile): Give some more local variables with common names
20141 a "bytecomp-" prefix to avoid masking warnings about free variables.
20143 * startup.el (command-line-1): Give local variables with common names a
20144 distinguishing prefix, so as not to hide free variable warnings during
20147 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
20148 clever and add a suffix to make a unique name, just let the user decide
20149 whether or not to overwrite it. If the input is a directory, write the
20150 default filename to that directory. (Bug#4388)
20151 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
20152 is a filename-as-a-directory.
20154 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
20156 * textmodes/page.el (what-page): Don't move to beginning of line.
20157 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
20159 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
20161 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
20163 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
20165 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
20166 * help.el (help-for-help-internal): Add purecopy calls for text.
20168 * vc.el (top): print-log method now takes an optional SHORTLOG
20169 argument. Add a new method: root.
20170 (vc-root-diff, vc-print-root-log): New functions.
20171 (vc-log-short-style): New variable.
20172 (vc-print-log-internal): Add support for showing short logs.
20174 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
20175 vc-print-root-log and vc-print-root-diff.
20177 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
20178 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
20179 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
20182 * vc-cvs.el (vc-cvs-print-log):
20183 * vc-mtn.el (vc-mtn-print-log):
20184 * vc-rcs.el (vc-rcs-print-log):
20185 * vc-sccs.el (vc-sccs-print-log):
20186 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
20187 that is ignored for now.
20189 * vc-mtn.el (vc-mtn-annotate-command):
20190 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
20192 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20194 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
20195 to function-key-map, and give them ascii-character property.
20196 * term/x-win.el (x-alternatives-map):
20197 * term/ns-win.el (ns-alternatives-map):
20198 * term/internal.el (msdos-key-remapping-map):
20199 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
20201 2009-09-14 Glenn Morris <rgm@gnu.org>
20203 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
20204 temp-buffers (2009-09-12).
20206 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
20208 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
20209 the new read-key function.
20211 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
20213 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
20214 is defined (Bug#4405).
20216 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
20218 * recentf.el (recentf-cleanup): Use a hash table to find
20219 duplicates (Bug#4407).
20221 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
20223 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
20224 kp-0 to ascii equivalents (Bug#4325).
20226 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
20228 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
20230 * eshell/em-hist.el:
20231 * eshell/em-dirs.el (eshell-complete-user-reference):
20232 Declare pcomplete functions and variables to avoid compiler warnings.
20234 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
20236 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
20237 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
20238 * eshell/em-alias.el (eshell-aliases-file):
20239 * eshell/em-hist.el (eshell-history-file-name):
20240 Use expand-file-name instead of concat to make file names (Bug#4308).
20242 2009-09-13 Glenn Morris <rgm@gnu.org>
20244 * ediff-merg.el (ediff-do-merge):
20245 * filesets.el (filesets-run-cmd):
20246 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
20247 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
20248 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
20249 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
20250 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
20251 Replace empty `let's with `progn'.
20253 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
20255 * mail/sendmail.el (send-mail-function):
20256 * tooltip.el (tooltip-mode):
20257 * simple.el (transient-mark-mode):
20258 * rfn-eshadow.el (file-name-shadow-mode):
20259 * frame.el (blink-cursor-mode):
20260 * font-core.el (global-font-lock-mode):
20261 * files.el (temporary-file-directory)
20262 (small-temporary-file-directory, auto-save-file-name-transforms):
20263 * epa-hook.el (auto-encryption-mode):
20264 * composite.el (global-auto-composition-mode):
20265 Use custom-initialize-delay.
20266 * startup.el (command-line): Don't explicitly call
20267 custom-reevaluate-setting for all the above vars.
20268 * custom.el (custom-initialize-safe-set)
20269 (custom-initialize-safe-default): Delete.
20271 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20273 * term/x-win.el (x-initialize-window-system):
20274 * term/w32-win.el (w32-initialize-window-system):
20275 * term/ns-win.el (ns-initialize-window-system): Don't call
20276 mouse-wheel-mode since it's enabled globally by default already.
20278 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
20279 actually define the variable, but only silences the byte-compiler.
20280 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
20281 before looking it up.
20282 (mouse-wheel-scroll-amount): Also reset the bindings if this value
20285 2009-09-12 Glenn Morris <rgm@gnu.org>
20287 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
20289 (elint-add-required-env): Don't beep on error.
20290 (elint-forms): In case of error, return ENV unchanged.
20291 (elint-init-env): Skip non-list forms.
20292 (elint-log): Handle unknown file positions.
20294 2009-09-12 Daiki Ueno <ueno@unixuser.org>
20296 * epg.el (epg-make-context): Add autoload cookie.
20297 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
20298 (epg-decrypt-string, epg-start-verify, epg-verify-file)
20299 (epg-verify-string, epg-start-sign, epg-sign-file)
20300 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
20301 (epg-encrypt-string, epg-start-export-keys)
20302 (epg-export-keys-to-file, epg-export-keys-to-string)
20303 (epg-start-import-keys, epg-import-keys-from-file)
20304 (epg-import-keys-from-string, epg-start-receive-keys)
20305 (epg-receive-keys, epg-import-keys-from-server)
20306 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
20307 (epg-sign-keys, epg-start-generate-key)
20308 (epg-generate-key-from-file, epg-generate-key-from-string):
20309 Remove autoload cookie.
20311 2009-09-12 Eli Zaretskii <eliz@gnu.org>
20313 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
20314 reevaluation of trash-directory.
20316 * mwheel.el: Fix last change.
20317 (mouse-wheel-mode): New defvar.
20318 (mouse-wheel-mode): Remove autoload cookie.
20320 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20322 * mwheel.el (mwheel-installed-bindings): New var.
20323 (mouse-wheel-mode): Use it, so as to make sure we really remove all
20324 the bindings we set last time. Use custom-initialize-delay.
20325 * loadup.el: Load mwheel after term/*-win.el.
20326 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
20327 and mouse-wheel-up-event now that their first evaluation is done
20328 sufficiently late to be correct.
20330 * startup.el (tutorial-directory): Make it a defcustom.
20331 Use custom-initialize-delay rather than eval-at-startup to set it.
20332 * image.el (image-load-path): Make it a defcustom.
20333 Use custom-initialize-delay rather than eval-at-startup to set it.
20334 * subr.el (eval-at-startup): Remove.
20335 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
20337 * subr.el (do-after-load-evaluation): Warn the user after loading an
20340 2009-09-12 Glenn Morris <rgm@gnu.org>
20342 * proced.el (proced-mark-alt): Remove alias.
20343 (proced-mode-map): Remove proced-mark-alt.
20345 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
20346 Elint file and directory. Remove initialization entry.
20348 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
20350 (elint-current-buffer): Set mode-line-process.
20351 (elint-init-env): Handle define-derived-mode.
20352 Fix declare-function with unspecified arglist. Guard against odd
20353 defalias statements (eg iso-insert's 8859-1-map).
20354 (elint-add-required-env): Use a temp buffer.
20355 (elint-form): Just print the function/macro name, not the whole form.
20356 Return env unchanged if we fail to parse a macro.
20357 (elint-forms): Guard against parse errors.
20358 (elint-output): New function, to handle batch mode.
20359 (elint-log-message): Add optional argument. Use elint-output.
20360 (elint-set-mode-line): New function.
20362 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
20364 * emacs-lisp/elp.el (elp-not-profilable): Add more
20365 functions (Bug#4233).
20367 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
20369 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
20370 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
20372 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
20374 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
20375 (gdb-var-list-children): Use json parsing.
20377 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
20379 * progmodes/js.el (js--proper-indentation): Handle the case where
20380 char-before is null. Reported by Deniz Dogan.
20382 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
20384 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
20386 2009-09-11 Daiki Ueno <ueno@unixuser.org>
20388 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
20389 (epg-digest-algorithm-alist): Add SHA224.
20390 (epg-context-set-passphrase-callback)
20391 (epg-context-set-progress-callback): Add description about
20394 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20396 * custom.el (custom-delayed-init-variables): New var.
20397 (custom-initialize-delay): New function.
20398 * startup.el (command-line): "Re"evaluate all vars in
20399 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
20400 explicitly any more.
20401 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
20402 to avoid creating a ~/.emacs.d at build-time (bug#4347).
20404 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
20406 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
20408 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
20409 (gdb-var-update-handler): Use json parsing.
20411 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
20413 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
20414 decode annotated text, regardless of language environment. (Bug#2741)
20416 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20418 * Makefile.in (autoloads): Make rmail.el writable as well.
20420 2009-09-11 Glenn Morris <rgm@gnu.org>
20422 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
20424 * dired.el: Regenerate with extracted autoloads.
20425 * Makefile.in (autoloads): Make dired.el writable.
20427 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
20428 * ibuffer.el: Regenerate with extracted autoloads.
20429 * Makefile.in (autoloads): Make ibuffer.el writable.
20431 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
20432 * version.el (emacs-copyright, emacs-major-version)
20433 (emacs-minor-version): Reformat doc-strings for make-docfile.
20435 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
20436 functions and variables, since they must be stuff specific to some other
20438 (apropos-print): Make mouse-click message less specific about button.
20440 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
20441 that records where a macro was defined.
20442 * help-fns.el (describe-function-1): Mention if a function has a
20444 * help-mode.el (help-function-cmacro): New button.
20446 * locate.el (top-level): Always require dired.
20447 (locate-mode-map): Initialize inside the defvar.
20449 * net/ange-ftp.el (dired-compress-file): Declare.
20450 (ange-ftp-dired-compress-file): Add doc string.
20452 * term/ns-win.el (x-display-name, x-setup-function-keys):
20453 Unify doc-strings with X versions.
20455 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20457 * emulation/crisp.el (crisp-mode-map): Move initialization
20459 (crisp-mode): Use define-minor-mode.
20461 * progmodes/xscheme.el (xscheme-evaluation-commands):
20462 Put a :advertised-binding property rather than using
20463 advertised-xscheme-send-previous-expression.
20464 (advertised-xscheme-send-previous-expression): Declare obsolete.
20465 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
20467 (crisp-mode): Add corresponding bindings to
20468 undo's :advertised-binding instead.
20469 * dired.el (dired-mode-map): Put a :advertised-binding property rather
20470 than using dired-advertised-find-file.
20471 (dired-advertised-find-file):
20472 * simple.el (advertised-undo):
20473 * wid-edit.el (advertised-widget-backward): Declare obsolete.
20474 (widget-keymap): Put a :advertised-binding property rather
20475 than using advertised-widget-backward.
20476 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
20477 than using advertised-undo.
20478 * tutorial.el (tutorial--default-keys): Adjust accordingly.
20480 2009-09-10 Simon South <ssouth@slowcomputing.org>
20482 * progmodes/delphi.el (delphi-tab): Indent region when Transient
20483 Mark mode is enabled and region is active; otherwise indent or
20484 insert TAB as usual.
20485 (delphi-mode): Update description of TAB-key binding.
20487 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
20489 * subr.el (define-key-rebound-commands): Mark obsolete.
20490 * startup.el (precompute-menubar-bindings): Remove.
20491 (normal-top-level): Remove obsolete code that tried to precompute
20493 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
20494 define-key-rebound-commands and precompute-menubar-bindings.
20496 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
20498 * net/imap.el (imap-interactive-login): Better messages.
20499 (imap-open): Fix bug with renamed buffer on reconnect.
20500 (imap-authenticate): Add buffer-local imap-last-authenticator variable
20501 for easier debugging and cleaner code. On successful (guessed based on
20502 server capabilities) secondary authentication, set imap-state
20504 (imap-last-authenticator): Define imap-last-authenticator as a variable
20507 2009-09-10 Glenn Morris <rgm@gnu.org>
20509 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
20511 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
20512 (byte-compile-file-form-autoload): Don't warn about unknown functions
20513 where the autoload statement comes after the use.
20514 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
20515 that any handlers inside the body (eg require) are in turn respected.
20517 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
20520 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
20521 and syntax and abbrev tables basic docs, if they don't have any.
20523 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
20525 * international/mule-cmds.el (top-level): Require cl when compiling.
20526 (view-hello-file): Use default-value rather than
20527 default-enable-multibyte-characters.
20529 * progmodes/fortran.el: Move all safe and risky properties into the
20532 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
20533 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
20534 * mail/undigest.el:
20535 Put autoloads in rmail.el rather than loaddefs.el.
20536 * mail/rmail.el: Regenerate with extracted autoloads.
20538 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
20539 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
20541 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
20543 Reported in thread for Bug#4375.
20544 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
20545 "-data-evaluate-expression" instead of print.
20546 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
20547 (gdb-tooltip-print): Parse output from above MI command.
20548 (gdb): Revert 2009-08-11 change. User should detach inferior
20551 Remove the word "separate" from IO functions as inferior
20552 output is now never displayed in the GUD buffer.
20554 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
20556 * startup.el (command-line-normalize-file-name): On Windows and
20557 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
20559 2009-09-10 Juri Linkov <juri@jurta.org>
20561 * isearch.el (isearch-text-char-description): Propertize escape
20562 character sequences with the `escape-glyph' face. (Bug#4344)
20564 * simple.el (shell-command): Set asynchronous process filter to
20565 `comint-output-filter'. (Bug#4343)
20567 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
20568 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
20569 the list. Move "asm" to the bottom.
20570 (grep-find-ignored-directories): Add `choice' with nil value
20571 to empty the list easily.
20572 (grep-find-ignored-files): New option.
20573 (grep-files-history): Set to nil by default instead of '("ch" "el").
20574 (grep-compute-defaults): Add "<X>" to `grep-template'.
20575 (grep-read-files): Bind new local variables `default-alias' and
20576 `default-extension'. Use a list of default values for the file prompt.
20577 (lgrep): Add `--exclude=' command line options composed from
20578 `grep-find-ignored-files'.
20579 (rgrep): Add `-name' command line options composed from
20580 `grep-find-ignored-files'. (Bug#4301)
20582 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
20584 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
20587 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
20589 * calendar/time-date.el (autoload):
20590 Expand define-obsolete-function-alias into defalias and make-obsolete
20591 for old Emacsen that Gnus supports.
20592 (with-no-warnings): Define it for old Emacsen.
20593 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
20595 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
20596 float-time is available; suppress compile warning for time-to-seconds.
20598 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
20600 * net/imap.el (imap-message-map): Docstring fix.
20602 2009-09-09 Glenn Morris <rgm@gnu.org>
20604 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
20605 line numbers too. (Bug#4374)
20607 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
20609 * smerge-mode.el (smerge-remove-props, smerge-refine):
20610 Use with-silent-modifications (bug#4342).
20612 * subr.el (with-silent-modifications): New macro.
20614 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
20616 * files.el (top-level): Require `cl' when compiling.
20618 2009-09-07 Glenn Morris <rgm@gnu.org>
20620 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
20622 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
20623 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
20625 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
20627 * vc-git.el (vc-git-annotate-command): Use separator to parse
20628 arguments correctly.
20630 2009-09-06 Eli Zaretskii <eliz@gnu.org>
20632 * proced.el (proced-mode): Doc fix.
20634 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
20636 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
20638 (tramp-do-file-attributes-with-ls): Check for file existence at
20640 (tramp-do-file-attributes-with-stat): Likewise.
20641 (tramp-convert-file-attributes): Return nil when attr is nil.
20643 2009-09-05 Glenn Morris <rgm@gnu.org>
20645 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
20646 properties to this button.
20647 (diary-fancy-display): Don't extend the button to the final newline.
20648 (diary-fancy-display-mode): Continue to define "q" as a local key.
20650 * calendar/cal-china.el (holiday-chinese): Make it slightly more
20653 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
20655 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
20656 (byte-compile-dest-file-function): New option.
20657 (byte-compile-dest-file): Doc fix.
20658 Obey byte-compile-dest-file-function.
20659 (byte-compile-cl-file-p): New function.
20660 (byte-compile-eval): Only suppress noruntime warnings about cl functions
20661 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
20662 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
20663 than for file being previously loaded.
20664 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
20665 (byte-compile-file-form-require): Handle the case where requiring a file
20666 indirectly causes CL to be loaded.
20668 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20670 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
20671 before killing the old buffer, since by the time `kill-buffer' is
20672 run so many buffer variables have been set to nil that it may not
20673 behave as expected. (Bug#4061)
20675 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20677 * files.el (find-alternate-file): If the old buffer is modified
20678 and visiting a file, behave similarly to `kill-buffer' when
20679 killing it, thus reverting to the pre-1.878 behavior; see
20680 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
20681 for discussion. Also, consult `buffer-file-name' as a variable
20682 not as a function, for consistency with the rest of the code.
20684 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
20686 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
20687 also when adding a new directory.
20689 * net/tramp-compat.el (tramp-compat-line-beginning-position):
20692 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
20694 * files.el (locate-file-completion-table): Make it provide boundary
20695 information, so partial-completion works better.
20697 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
20699 * mail/footnote.el (Footnote-text-under-cursor):
20700 Check footnote-text-marker-alist before using it (bug#4324).
20702 2009-09-04 Glenn Morris <rgm@gnu.org>
20704 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
20705 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
20706 * play/solitaire.el, play/tetris.el:
20707 Remove leading * from defcustom and defface docs.
20709 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
20711 (diary-fancy-overriding-map): New variable.
20712 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
20715 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
20718 2009-09-03 Glenn Morris <rgm@gnu.org>
20720 * arc-mode.el (archive-mode):
20721 * dos-fns.el (set-default-process-coding-system):
20722 * man.el (Man-getpage-in-background):
20723 * menu-bar.el (menu-bar-describe-menu):
20724 * server.el (server-process-filter):
20725 * startup.el (command-line):
20726 * tar-mode.el (tar-header-block-tokenize, tar-extract):
20727 * w32-fns.el (set-default-process-coding-system):
20728 * x-dnd.el (x-dnd-handle-file-name):
20729 * international/mule-cmds.el (mule-menu-keymap)
20730 (set-default-coding-systems, language-info-alist, set-language-info)
20731 (set-language-environment, standard-display-european-internal)
20732 (set-locale-environment):
20733 * international/mule-diag.el (mule-diag):
20734 * mail/emacsbug.el (report-emacs-bug):
20735 * mail/rmail.el (rmail-mode):
20736 * mail/sendmail.el (mail-setup):
20737 Use default-value rather than default-enable-multibyte-characters.
20739 * progmodes/f90.el: Move all safe properties into the defcustoms.
20740 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
20742 * calendar/appt.el (appt-check):
20743 * calendar/diary-lib.el (diary-set-header, diary-live-p)
20744 (diary-check-diary-file, diary-list-entries)
20745 (diary-include-other-diary-files, diary-simple-display)
20746 (diary-fancy-display, diary-print-entries)
20747 (diary-mark-included-diary-files, diary-make-entry):
20748 Don't call substitute-in-file-name on diary-file.
20750 2009-09-03 Eduard Wiebe <usenet@pusto.de>
20751 Stefan Monnier <monnier@iro.umontreal.ca>
20753 * mail/footnote.el (footnote-prefix): Make it a defcustom.
20754 (footnote-mode-map): Move initialization into the declaration.
20755 (footnote-minor-mode-map): Define it rather than changing global-map.
20756 (footnote-mode): Use define-minor-mode.
20758 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
20760 * net/tramp.el (tramp-handle-file-attributes-with-ls)
20761 (tramp-do-file-attributes-with-perl)
20762 (tramp-do-file-attributes-with-stat): Rename from
20763 `tramp-handle-file-attributes-with-*'.
20764 (tramp-handle-file-attributes): Use them.
20765 (tramp-do-directory-files-and-attributes-with-perl)
20766 (tramp-do-directory-files-and-attributes-with-stat): Rename from
20767 `tramp-handle-directory-files-and-attributes-with-*'.
20768 (tramp-handle-directory-files-and-attributes): Use them.
20769 (tramp-method-out-of-band-p): Additional parameter SIZE.
20770 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
20771 (tramp-handle-write-region): Use it.
20772 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
20773 (tramp-handle-vc-registered): Check, whether the first run did
20774 return files to be tested.
20775 (tramp-advice-make-auto-save-file-name): Do not call directly
20776 `tramp-handle-make-auto-save-file-name', because this would bypass
20777 the locking mechanism.
20779 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
20780 (file-remote-p, process-file, start-file-process, set-file-times)
20781 (tramp-compat-file-attributes): Compatibility functions shall not
20782 call directly `tramp-handle-*', because this would bypass the
20784 (tramp-compat-number-sequence): New defun.
20786 2009-09-02 Glenn Morris <rgm@gnu.org>
20788 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
20789 alias for float-time.
20790 (time-to-number-of-days): In Emacs, use float-time.
20791 * net/newst-backend.el (time-add): Suppress warnings from compat
20793 * time.el (emacs-uptime, emacs-init-time):
20794 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
20795 Use float-time rather than time-to-seconds.
20797 * minibuffer.el (completion-initials-expand): Fix typo.
20799 * faces.el (modeline, modeline-inactive, modeline-highlight)
20800 (modeline-buffer-id):
20801 * info.el (info-menu-5): Mark these face aliases as obsolete.
20803 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20805 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
20807 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
20808 no "--thread" option.
20809 (gdb-stopped): Don't print "Switched to thread" message when it is
20812 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
20814 * minibuffer.el (completion-try-completion)
20815 (completion-all-completions): Remove ill-defined (and
20816 mistakenly installed and luckily never used nor documented)
20817 `completion-styles' property.
20818 (completion-initials-expand, completion-initials-all-completions)
20819 (completion-initials-try-completion): New functions.
20820 (completion-styles-alist): Add doc to each entry.
20821 Add new `initials' entry.
20823 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20825 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20826 MI command -var-evaluate-expression.
20827 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20828 and tweak for case of string child.
20829 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20831 2009-09-01 Glenn Morris <rgm@gnu.org>
20833 * add-log.el (change-log-date-face, change-log-name-face)
20834 (change-log-email-face, change-log-file-face, change-log-list-face)
20835 (change-log-conditionals-face, change-log-function-face)
20836 (change-log-acknowledgement-face):
20837 * cus-edit.el (custom-invalid-face, custom-rogue-face)
20838 (custom-modified-face, custom-set-face, custom-changed-face)
20839 (custom-saved-face, custom-button-face, custom-button-pressed-face)
20840 (custom-documentation-face, custom-state-face, custom-comment-face)
20841 (custom-comment-tag-face, custom-variable-tag-face)
20842 (custom-variable-button-face, custom-face-tag-face)
20843 (custom-group-tag-face-1, custom-group-tag-face):
20844 * diff-mode.el (diff-header-face, diff-file-header-face)
20845 (diff-index-face, diff-hunk-header-face, diff-removed-face)
20846 (diff-added-face, diff-changed-face, diff-function-face)
20847 (diff-context-face, diff-nonexistent-face):
20848 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20849 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20850 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20851 (Info-title-4-face):
20852 * isearch.el (isearch-lazy-highlight-face):
20853 * log-view.el (log-view-file-face, log-view-message-face):
20854 * paren.el (show-paren-match-face, show-paren-mismatch-face):
20855 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20856 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20858 * smerge-mode.el (smerge-mine-face, smerge-other-face)
20859 (smerge-base-face, smerge-markers-face):
20860 * wid-edit.el (widget-documentation-face, widget-button-face)
20861 (widget-field-face, widget-single-line-field-face)
20862 (widget-inactive-face, widget-button-pressed-face):
20863 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20864 (woman-addition-face):
20865 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20866 (eshell-ls-executable-face, eshell-ls-readonly-face)
20867 (eshell-ls-unreadable-face, eshell-ls-special-face)
20868 (eshell-ls-missing-face, eshell-ls-archive-face)
20869 (eshell-ls-backup-face, eshell-ls-product-face)
20870 (eshell-ls-clutter-face):
20871 * eshell/em-prompt.el (eshell-prompt-face):
20872 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20873 * obsolete/old-whitespace.el (whitespace-highlight-face):
20874 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20875 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20876 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20877 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20878 (antlr-font-lock-literal-face):
20879 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20880 (ebrowse-root-class-face, ebrowse-file-name-face)
20881 (ebrowse-default-face, ebrowse-member-attribute-face)
20882 (ebrowse-member-class-face, ebrowse-progress-face):
20883 * progmodes/make-mode.el (makefile-space-face):
20884 * progmodes/sh-script.el (sh-heredoc-face):
20885 * textmodes/flyspell.el (flyspell-incorrect-face)
20886 (flyspell-duplicate-face):
20887 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20888 * textmodes/texinfo.el (texinfo-heading-face):
20889 Mark face aliases with "-face" suffix as obsolete.
20891 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20894 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20895 (eudc-bob-sound-menu): Use defvar rather than defconst, since
20896 easy-menu-define wants to modify these.
20898 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20900 * net/browse-url.el (browse-url-file-url):
20901 * term/internal.el (dos-codepage-setup):
20902 Use default-value rather than default-enable-multibyte-characters.
20904 * progmodes/etags.el (etags-goto-tag-location):
20905 * progmodes/flymake.el (flymake-highlight-line)
20906 (flymake-goto-file-and-line, flymake-goto-line):
20907 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20908 (gdb-goto-breakpoint):
20909 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20910 * progmodes/python.el (python-find-function)
20911 (python-pdbtrack-track-stack-file):
20912 * progmodes/verilog-mode.el (verilog-surelint-off):
20913 * term/ns-win.el (ns-open-file-select-line):
20914 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20915 Use forward-line rather than goto-line.
20917 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20918 * textmodes/reftex-index.el (reftex-display-index):
20919 * textmodes/reftex-ref.el (reftex-offer-label-menu):
20920 * textmodes/reftex-toc.el (reftex-toc):
20921 Remove unnecessary bindings of default-major-mode (all are followed by
20922 major-mode check and possible mode switch).
20924 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20926 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20927 Handle watchpoints (bug#4282).
20928 (def-gdb-thread-buffer-command): Enable thread to be selected by
20929 clicking without selecting threads buffer first.
20930 (gdb-current-context-command): Use selected frame so that "up",
20931 "down" etc work in the GUD buffer.
20932 (gdb-update): Find selected frame before rendering stack buffer.
20933 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20935 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
20937 * progmodes/sym-comp.el (displayed-completions): Remove.
20938 (symbol-complete): Use minibuffer-complete.
20940 2009-08-31 Glenn Morris <rgm@gnu.org>
20942 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20944 * apropos.el (apropos-symbols-internal):
20945 Handle (obsolete) face aliases.
20947 * faces.el (describe-face): Adjust the output format to be more like
20948 describe-variable, and to mention (obsolete) face aliases.
20949 Adjust the whitespace so that help-setup-xref works.
20951 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20952 * calendar/diary-lib.el (diary-button-face):
20953 Mark these face aliases as obsolete.
20955 * calendar/calendar.el (calendar-today): Doc fix.
20957 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20959 * progmodes/gdb-mi.el (gdb-control-all-threads)
20960 (gdb-control-current-thread): Force tool bar update.
20961 (gdb-non-stop-handler): New function.
20962 (gdb-init-1): Use it to test if non-stop mode is supported.
20963 Remove unused gdbmi buffer type.
20965 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
20967 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20968 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
20970 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
20972 * comint.el (comint-exec-1): Check command is non-null first.
20973 Part of gdb-mi.el change (2009-08-28).
20975 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20977 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20979 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
20981 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20982 instead of `dolist' to avoid a recursive require when bootstrapping.
20984 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20986 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20988 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20990 * net/imap.el (imap-send-command): Simplify.
20991 (imap-wait-for-tag): point-max -> buffer-size.
20993 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20995 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20996 with constant argument.
20998 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
21000 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
21002 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
21003 Change default, since most of our files don't have a history.
21004 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
21007 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21010 * calc/calc.el: Improve commenting convention.
21011 (calc-digit-map, toplevel): Simplify.
21013 * comint.el (comint-insert-input): Be careful to only set point if we
21014 don't delegate to some other command.
21016 * proced.el (proced-signal-list): Make it an alist.
21017 (proced-grammar-alist): Capitalize names.
21018 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
21019 Disable undo manually and make it read-only.
21020 Use completion-annotate-function.
21022 * minibuffer.el (minibuffer-message): If the current buffer is not
21023 a minibuffer, insert the message in the echo area rather than at the
21025 (completion-annotate-function): New variable.
21026 (minibuffer-completion-help): Use it.
21027 (completion--embedded-envvar-table): Environment vars are
21028 always case-sensitive.
21030 2009-08-30 Glenn Morris <rgm@gnu.org>
21032 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
21033 from fortran-current-defun.
21034 (fortran-beginning-of-subprogram): Be more precise about finding the
21035 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
21036 (fortran-end-of-subprogram): Simplify.
21037 (fortran-current-defun): Use fortran-start-prog-re.
21039 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
21041 * subr.el (do-after-load-evaluation): Simplify.
21043 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
21045 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
21047 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
21048 (vc-rcs-print-log): Use it.
21050 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
21052 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
21054 * paths.el (abbrev-file-name): Move to abbrev.el.
21055 * abbrev.el (abbrev-file-name): Move from paths.el.
21056 Obey user-emacs-directory.
21057 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
21058 user-emacs-directory.
21059 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
21060 abbrev-file-name and calc-settings-file any more.
21061 * startup.el (command-line): Recompute abbrev-file-name and
21062 abbreviated-home-dir.
21063 (normal-no-mouse-startup-screen): Improve the generic code and get rid
21064 of the special code for when C-h bindings haven't been changed.
21065 (display-startup-echo-area-message): Use with-current-buffer.
21066 (command-line-1): Use a list of strings, rather than a list of lists
21067 of strings for longopts.
21069 * files.el (get-free-disk-space): Use / for default-directory.
21071 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
21072 Use with-current-buffer.
21074 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
21075 Recognize immutable variables like most-positive-fixnum.
21076 (byte-compile-setq-default): Check and warn if trying to assign
21077 to an immutable variable, or a non-variable.
21079 * progmodes/cc-vars.el (c-comment-continuation-stars):
21080 * progmodes/cc-engine.el (c-looking-at-bos):
21081 * progmodes/cc-cmds.el (c-toggle-auto-state)
21082 (c-forward-into-nomenclature, c-backward-into-nomenclature)
21083 (c-comment-line-break-function): Add version of obsolescence.
21085 2009-08-28 Juri Linkov <juri@jurta.org>
21087 * files.el (magic-fallback-mode-alist): Add ZIP magic number
21088 associated with `archive-mode'.
21090 * image.el (image-type-header-regexps): Use only JPEG magic number
21091 to determine JPEG images, and don't use `image-jpeg-p' because
21092 Emacs can display non-JFIF non-Exif JPEG images.
21094 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
21096 * arc-mode.el (archive-mode):
21097 * emacs-lisp/re-builder.el (re-builder-unload-function):
21098 Protect against the default value of `major-mode' being nil.
21100 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
21102 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
21103 Fix typos in docstrings.
21105 * progmodes/js.el (js--macro-decl-re): Doc fix.
21106 (js--plain-method-re, js--split-name): Refloc docstring.
21107 (js--class-styles, js--make-merged-item, js--splice-into-items):
21108 Fix typos in docstrings; reflow docstrings.
21109 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
21110 (js--variable-decl-matcher, js--inside-pitem-p)
21111 (js--parse-state-at-point, js--get-all-known-symbols)
21112 (js--symbol-history, js-find-symbol, js--js-references)
21113 (js--moz-interactor, js--js-encode-value, js--read-tab):
21114 Fix typos in docstrings.
21116 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21118 * textmodes/reftex.el (reftex-get-file-buffer-force):
21119 * progmodes/verilog-mode.el (verilog-batch-execute-func):
21120 * emulation/viper.el (viper-go-away, viper-set-hooks):
21121 * emacs-lisp/re-builder.el (re-builder-unload-function):
21122 * emacs-lisp/bytecomp.el (byte-compile-file):
21123 * ses.el (ses-unload-function):
21124 * hexl.el (hexl-find-file):
21125 * files.el (normal-mode):
21126 * ehelp.el (with-electric-help):
21127 * autoinsert.el (auto-insert-alist):
21128 * arc-mode.el (archive-mode):
21129 Use (default-value 'major-mode) instead of default-major-mode.
21131 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
21132 * international/mule.el (load-with-code-conversion):
21133 * emacs-lisp/debug.el (debug):
21134 * ediff-vers.el (ediff-rcs-get-output-buffer):
21135 * dired.el (dired-internal-noselect): Don't let-bind
21136 default-major-mode around code that doesn't use it.
21137 E.g. buffer creation via get-buffer-create doesn't use it.
21139 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
21141 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
21142 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
21143 when writing the temp file. Otherwise, epa-file gets confused.
21144 (tramp-register-file-name-handlers): Make it a defun. Move also
21145 `epa-file-handler' to the front of `file-name-handler-alist'.
21147 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21149 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
21150 start right after a ^M.
21151 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
21152 (tramp-completion-file-name-regexp-separate)
21153 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
21154 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
21155 Don't modify last-coding-system-used by accident.
21156 (tramp-completion-file-name-handler): Apply the checks here,
21157 instead during registration.
21158 (tramp-register-file-name-handlers): Rename from
21159 `tramp-register-file-name-handler'. Register both
21160 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
21161 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
21163 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
21165 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
21166 Remove variable ...
21167 (gdb-init-1, gdb-display-separate-io-buffer)
21168 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
21170 (gdb-inferior-io-mode): Use make-comint-in-buffer.
21171 (gdb-inferior-filter): Use comint-output-filter to stop
21172 echoing and remove ^M characters.
21174 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21176 * emulation/viper-init.el (viper-restore-cursor-type):
21177 * emulation/cua-base.el (cua--update-indications):
21178 Replace default-cursor-type with (default-value 'cursor-type).
21180 * mail/sendmail.el (mail-recover-1):
21181 * international/mule-diag.el (describe-current-coding-system-briefly)
21182 (describe-current-coding-system):
21183 * international/mule-cmds.el (select-safe-coding-system)
21184 (select-message-coding-system)
21185 (set-language-environment-coding-systems, set-locale-environment):
21186 * hexl.el (hexl-insert-multibyte-char):
21187 * dos-w32.el (find-buffer-file-type-coding-system):
21188 * simple.el (what-cursor-position):
21189 Replace uses of default-buffer-file-coding-system
21190 with (default-value 'buffer-file-coding-system).
21192 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
21193 Replace uses of default-cursor-in-non-selected-windows
21194 with (default-value 'cursor-in-non-selected-windows).
21195 Use with-current-buffer.
21197 * mail/feedmail.el: Use CL macros.
21198 (feedmail-run-the-queue, feedmail-send-it-immediately):
21199 * dos-w32.el (find-buffer-file-type): Replace uses of
21200 default-buffer-file-type with (default-value 'buffer-file-type).
21202 2009-08-28 Glenn Morris <rgm@gnu.org>
21204 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
21205 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
21206 Use default-value of major-mode rather than default-major-mode.
21208 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
21210 * Makefile.in (update-elcfiles): Report left over elc files.
21212 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
21213 expand-file-name and with-current-buffer.
21214 (mail-get-names, mail-directory): Use with-current-buffer.
21216 * vc.el (vc-read-revision): New function.
21217 (vc-version-diff, vc-merge): Use it.
21219 2009-08-27 Sam Steingold <sds@gnu.org>
21221 * simple.el (kill-do-not-save-duplicates): New user option.
21222 (kill-new): When it is non-nil, and the new string is the same as
21223 the latest kill, set replace to t to avoid duplicates in kill-ring.
21225 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
21227 * net/tramp.el (tramp-handle-process-file): Do not flush all
21228 caches when `process-file-side-effects' is set.
21229 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
21230 instead of `tramp-find-file-exists-command'.
21231 Unset `process-file-side-effects'.
21233 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
21235 * net/tramp.el (tramp-methods): New method "rsyncc".
21236 (top): Add completion function for "rsyncc".
21237 (tramp-message-show-message): New defvar.
21238 (tramp-message, tramp-error): Use it.
21239 (tramp-do-copy-or-rename-file-directly): Extend check for direct
21241 (tramp-do-copy-or-rename-file-out-of-band): Handle new
21242 `tramp-methods' entry `copy-env' of "rsyncc".
21243 (tramp-vc-registered-read-file-names): New defconst.
21244 (tramp-vc-registered-file-names): New defvar.
21245 (tramp-handle-vc-registered): Implement optimization strategy.
21246 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
21247 (tramp-vc-file-name-handler): New defun.
21248 (tramp-get-ls-command, tramp-get-test-command)
21249 (tramp-get-file-exists-command, tramp-get-remote-ln)
21250 (tramp-get-remote-perl, tramp-get-remote-stat)
21251 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
21253 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
21254 (tramp-cache-inhibit-cache): Extend doc string. It allows also
21256 (tramp-get-file-property): Check for timestamps in
21257 `tramp-cache-inhibit-cache'.
21258 (tramp-set-file-property): Write timestamp.
21260 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21262 * language/japan-util.el (japanese-symbol-table): Add entries for
21265 * international/characters.el: Add category `j' to cp932-2-byte.
21267 2009-08-27 Kenichi Handa <handa@m17n.org>
21269 * international/fontset.el (build-default-fontset-data): New macro.
21270 (setup-default-fontset): Use build-default-fontset-data for CJK,
21271 tibetan, ethiopic, and ipa.
21273 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
21275 * cus-start.el (default-major-mode): Customize `major-mode' instead.
21276 (enable-multibyte-characters): Not customizable any more.
21278 * subr.el (default-mode-line-format, default-header-line-format)
21279 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
21280 (default-direction-reversed, default-truncate-lines)
21281 (default-left-margin, default-tab-width, default-case-fold-search)
21282 (default-left-margin-width, default-right-margin-width)
21283 (default-left-fringe-width, default-right-fringe-width)
21284 (default-fringes-outside-margins, default-scroll-bar-width)
21285 (default-vertical-scroll-bar, default-indicate-empty-lines)
21286 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
21287 (default-fringe-cursor-alist, default-scroll-up-aggressively)
21288 (default-scroll-down-aggressively, default-fill-column)
21289 (default-cursor-type, default-buffer-file-type)
21290 (default-cursor-in-non-selected-windows)
21291 (default-buffer-file-coding-system, default-major-mode)
21292 (default-enable-multibyte-characters): Mark as obsolete.
21294 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
21296 * vc-dir.el (vc-dir-update): Remove debug helper.
21298 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
21300 2009-08-26 Sam Steingold <sds@gnu.org>
21302 * simple.el (save-interprogram-paste-before-kill): New user option.
21303 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
21304 save the interprogram-paste into kill-ring before overriding it
21305 with the Emacs kill.
21307 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
21309 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
21310 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
21311 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
21312 and move to vc-rcs.el.
21313 (vc-default-next-revision): Rename to vc-rcs-next-revision and
21315 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
21316 (vc-rcs-update-changelog): Remove.
21317 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
21318 and move to vc-rcs.el.
21320 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
21321 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
21323 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
21324 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
21325 vc.el, renamed to be RCS specific.
21327 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
21329 (vc-cvs-update-changelog): Move here from vc.el.
21331 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
21334 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
21336 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
21338 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
21340 * vc-git.el (vc-git-register): Use "git add" for directories.
21341 (vc-git-stash, vc-git-stash-show): New functions.
21342 (vc-git-extra-menu-map): Bind them.
21344 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
21345 directory correctly in case the item is a directory itself.
21347 * vc.el: Document the desired behavior for reverted files in the
21349 (vc-default-prettify-state-info): Remove function, unused.
21351 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
21353 2009-08-26 Glenn Morris <rgm@gnu.org>
21355 * bindings.el (standard-mode-line-format): Reposition dashes in
21356 which-func entry. (Bug#4217)
21358 * files.el (enable-local-variables, enable-local-eval)
21359 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
21361 (auto-mode-alist, ignored-local-variables)
21362 (save-some-buffers-action-alist): Move risky declarations to the
21364 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
21365 (font-lock-defaults, format-alist, imenu--index-alist)
21366 (imenu-generic-expression, input-method-alist, minor-mode-alist)
21367 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
21368 (mode-line-modified, mode-line-mule-info, mode-line-position)
21369 (mode-line-process, mode-line-remote, outline-level)
21370 (parse-time-rules, rmail-output-file-alist)
21371 (special-display-buffer-names, vc-mode):
21372 Move risky declarations to the relevant files.
21373 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
21374 (mode-line-modified, mode-line-process, mode-line-position)
21375 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
21376 * font-core.el (font-lock-defaults):
21377 * format.el (format-alist):
21378 * vc-hooks.el (vc-mode):
21379 * window.el (special-display-buffer-names):
21380 * international/mule-cmds.el (input-method-alist):
21381 Define riskiness here (dumped file) rather than in files.el.
21382 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
21383 * imenu.el (imenu-generic-expression, imenu--index-alist):
21384 * outline.el (outline-level):
21385 * time.el (display-time-string):
21386 * calendar/parse-time.el (parse-time-rules):
21387 * mail/rmailout.el (rmail-output-file-alist):
21388 Autoload riskiness here, rather than placing in files.el.
21390 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
21392 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
21394 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
21396 * simple.el (process-file-side-effects): New defvar.
21398 * dired-aux.el (dired-show-file-type):
21399 * vc.el (vc-diff-internal):
21400 * vc-arch.el (vc-arch-diff):
21401 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
21402 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
21403 * vc-git.el (vc-git-registered, vc-git-working-revision)
21404 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
21405 (vc-git--empty-db-p):
21406 * vc-hooks.el (vc-user-login-name):
21407 * vc-svn.el (vc-svn-registered, vc-svn-state)
21408 (vc-svn-dir-extra-headers, vc-svn-find-revision):
21409 * progmodes/grep.el (grep-probe): Let-bind
21410 `process-file-side-effects' with nil.
21412 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
21414 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
21415 daemon. Replace ping by checking for running service for bluez
21416 and zeroconf. (Bug#4239)
21418 2009-08-25 Kevin Ryde <user42@zip.com.au>
21420 * net/dig.el (dig): Add autoload cookie.
21422 2009-08-25 Glenn Morris <rgm@gnu.org>
21424 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
21425 load-history for absolute file-names.
21426 (byte-compile-file-form-require): Warn about use of the cl package.
21428 * format.el (format-alist): Doc fix.
21430 * play/bubbles.el (top-level): Don't require cl at run-time.
21432 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
21435 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
21437 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
21439 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
21441 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
21443 * calc/calc-alg.el (math-trig-rewrite)
21444 (math-hyperbolic-trig-rewrite): New functions.
21445 (calc-simplify): Simplify trig functions when asked.
21447 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21449 * diff-mode.el (diff-find-source-location): Avoid goto-line.
21451 2009-08-24 Kenichi Handa <handa@m17n.org>
21453 * language/ind-util.el (mapthread): Delete it.
21454 (combinatorial): New function.
21455 (indian--puthash-cv): Use combinatorial instead of mapthread.
21457 2009-08-22 Kevin Ryde <user42@zip.com.au>
21459 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
21460 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
21461 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
21462 Clarify docstring that the value is strings not symbols.
21463 (checkdoc-list-of-strings-p): New function.
21465 2009-08-22 Glenn Morris <rgm@gnu.org>
21467 * files.el (auto-mode-alist):
21468 * hippie-exp.el (he-concat-directory-file-name):
21469 * lpr.el (lpr-windows-system, printer-name):
21470 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
21471 * ps-print.el (ps-windows-system):
21472 * startup.el (command-line):
21473 * emulation/viper-ex.el (viper-glob-function):
21474 * international/mule-cmds.el (set-language-environment-coding-systems):
21475 * net/ange-ftp.el (ange-ftp-write-region):
21476 * obsolete/fast-lock.el (fast-lock-cache-name):
21477 Remove code for defunct system-types emx, macos, mswindows, next-mach,
21478 unisoft-unix, vax-vms, win32, w32.
21480 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
21481 given name if the pattern is not more specific.
21483 * calendar/lunar.el (lunar-phase-names): New option.
21484 (lunar-phase): Doc fix.
21485 (lunar-cycles-per-year): New constant.
21486 (lunar-index): New function.
21487 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
21488 (lunar-phase-name): Use lunar-phase-names.
21489 (calendar-lunar-phases): Use format.
21490 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
21492 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
21493 Copy imenu-example--name-and-position function here for own use.
21494 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
21496 * bs.el (bs--redisplay):
21497 * cus-edit.el (custom-redraw):
21498 * ibuffer.el (ibuffer-bury-buffer):
21499 * server.el (server-goto-line-column):
21500 * startup.el (command-line-1):
21501 * strokes.el (strokes-xpm-for-stroke):
21502 * term.el (term-display-buffer-line):
21503 * view.el (View-goto-line):
21504 * calc/calc.el (calc-do, calc-trail-buffer):
21505 * play/gamegrid.el (gamegrid-add-score-insecure):
21506 * progmodes/ada-mode.el (ada-compile-goto-error):
21507 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
21508 (ebrowse-select-1st-to-9nth):
21509 * progmodes/cperl-mode.el (cperl-time-fontification):
21510 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
21511 * progmodes/gud.el (gud-display-line):
21512 (idlwave-shell-display-line):
21513 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
21514 * progmodes/make-mode.el (makefile-browser-toggle):
21515 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
21516 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
21517 * textmodes/picture.el (picture-draw-rectangle):
21518 * textmodes/reftex-index.el (reftex-index-goto-letter):
21519 (reftex-select-jump-to-previous):
21520 * textmodes/reftex-sel.el (reftex-find-start-point)
21521 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
21522 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
21523 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
21524 * textmodes/tex-mode.el (tex-compilation-parse-errors):
21525 * textmodes/two-column.el (2C-associated-buffer):
21526 Use forward-line rather than goto-line.
21528 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
21531 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
21532 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
21533 (quick-check-list-to-regexp): Declare.
21535 * progmodes/make-mode.el (makefile-browser-insert-selection):
21536 Use goto-char rather than goto-line.
21538 * progmodes/prolog.el (compilation-error-regexp-alist)
21539 (compilation-forget-errors): Declare.
21541 2009-08-22 Juri Linkov <juri@jurta.org>
21543 * progmodes/grep.el (lgrep, rgrep): At the beginning
21544 set `dir' to `default-directory' unless `dir' is a non-nil
21545 readable directory. (Bug#4052)
21546 (lgrep, rgrep): Change a weird way to report an error
21547 from using `read-string' to using `error'.
21548 Instead of using interactive arguments in the function body,
21549 add new argument `confirm'.
21551 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
21553 * textmodes/remember.el (remember-buffer):
21554 * progmodes/cperl-mode.el (cperl-vc-header-alist):
21555 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
21556 (icalendar-extract-ical-from-buffer):
21557 * net/newst-treeview.el (newsticker-groups-filename):
21558 * net/newst-backend.el (newsticker-cache-filename):
21559 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
21560 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
21561 (speedbar-add-ignored-path-regexp, speedbar-line-path)
21562 (speedbar-buffers-line-path, speedbar-path-line)
21563 (speedbar-buffers-line-path):
21564 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
21566 * epa.el (epa-display-verify-result):
21567 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
21569 2009-08-21 Glenn Morris <rgm@gnu.org>
21571 * progmodes/js.el (inferior-moz-process): Fix declaration.
21573 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
21575 * obsolete/rnewspost.el (news-mail-reply):
21576 Use goto-char rather than goto-line.
21578 * term/ns-win.el (ns-open-file-select-line):
21579 Use line-beginning-position rather than goto-line.
21581 * apropos.el (apropos-command):
21582 * ehelp.el (electric-helpify):
21583 * printing.el (pr-show-setup):
21584 * strokes.el (strokes-help):
21585 * tutorial.el (tutorial--describe-nonstandard-key)
21586 (tutorial--detailed-help):
21587 * woman.el (woman-mini-help, woman-display-extended-fonts):
21588 * calc/calc-help.el (calc-describe-key):
21589 * emulation/edt.el (edt-electric-helpify):
21590 * international/mule-diag.el (mule-diag):
21591 * play/yow.el (apropos-zippy):
21592 * progmodes/python.el (python-describe-symbol):
21593 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
21594 * textmodes/table.el (*table--cell-describe-mode)
21595 (*table--cell-describe-bindings):
21596 Use help-print-return-message rather than the now obsolete alias.
21598 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
21599 (calendar-cursor-to-visible-date):
21600 * play/5x5.el (5x5-position-cursor):
21601 * play/decipher.el (decipher):
21602 * play/gomoku.el (gomoku-goto-xy):
21603 * play/landmark.el (lm-goto-xy):
21604 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
21605 (mpuz-paint-digit):
21606 Use forward-line, not goto-line.
21608 * mail/rmail.el (rmail-obsolete): Delete custom group.
21609 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
21610 (rmail-remote-password, rmail-remote-password-required):
21611 Remove unneeded :set-after and :set properties.
21613 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
21615 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
21617 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
21619 * loadup.el: Remove leftover macos code.
21621 * vc-git.el (vc-git-annotate-command): Run asynchronously.
21622 Explicitly pass the date format to git blame so that user local
21623 so that the output format can be parsed.
21625 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
21627 * net/dbus.el (top): Don't check for (getenv
21628 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
21630 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
21632 * log-edit.el (log-edit-strip-single-file-name): New var.
21633 (log-edit-insert-changelog): Use it. Bug#3571.
21635 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21637 * subr.el (read-passwd): Use read-key so keypad keys work as well.
21640 * help.el (help-print-return-message): Rename from
21641 print-help-return-message.
21643 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
21644 cvs-mode-map parent hack.
21645 (log-view-mode): Derive from special-mode.
21647 * linum.el (linum-mode): window-size-change-functions is redundant.
21648 Adapt to new window-configuration-change-hook behavior.
21649 (linum-after-size, linum-after-config): Remove.
21651 * imenu.el (imenu-example--name-and-position)
21652 (imenu-example--lisp-extract-index-name)
21653 (imenu-example--create-lisp-index, imenu-example--create-c-index):
21656 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
21657 (inferior-prolog-mode): Use it.
21658 (inferior-prolog-load-file): Reset list of errors.
21660 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21662 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
21664 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
21666 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
21668 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
21669 is running already.
21671 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21673 * subr.el (listify-key-sequence-1): Use normal syntax since those
21674 integers are nowadays always represented by the same (positive) number
21676 (read-key-empty-map): New const.
21677 (read-key-delay): New var.
21678 (read-key): New function.
21679 (force-mode-line-update): Use with-current-buffer.
21680 (locate-user-emacs-file): Don't forget to abbreviate the file name.
21681 (start-process-shell-command, start-file-process-shell-command):
21682 Discourage the use of command-args.
21684 2009-08-19 Glenn Morris <rgm@gnu.org>
21686 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
21688 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21690 * simple.el (choose-completion-string): Don't rely on
21691 minibuffer-completing-file-name and ad-hoc checks to decide whether
21692 to continue completion or not.
21694 * minibuffer.el (minibuffer-hide-completions): New function.
21695 (completion--do-completion): Use it.
21696 (completions-annotations): New face.
21697 (completion--insert-strings): Use it.
21698 (completion-pcm--delim-wild-regex): Add docstring.
21699 (completion-pcm--string->pattern): Add support for 0-width delimiters
21700 in completion-pcm--delim-wild-regex.
21702 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
21704 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
21705 Remove unused var `buffer-modified-p'.
21707 * minibuffer.el (completion--do-completion): Move point for the #b001
21708 case as well (bug#4176).
21709 (minibuffer-complete, minibuffer-complete-word): Don't move point.
21711 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
21713 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
21714 and :session buses.
21716 2009-08-18 Kenichi Handa <handa@m17n.org>
21718 * international/ucs-normalize.el (ucs-normalize-version):
21720 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
21721 (utf-8-hfs): Make it perform normalization on encoding too.
21723 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
21724 (sentence-end-without-space): Delete duplicated chars.
21725 (sentence-end-base): Likewise.
21727 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
21728 (html-mode): Delete duplicated chars from sentence-end-base.
21730 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
21731 (texinfo-mode): Delete duplicated chars from sentence-end-base.
21733 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
21735 * files.el (hack-one-local-variable): If the mode function is for
21736 a minor mode, pass it an argument (Bug#4148).
21738 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
21740 * net/tramp.el (tramp-register-completion-file-name-handler):
21741 Check also for (member 'partial-completion completion-styles).
21743 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21745 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
21748 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
21750 * progmodes/cperl-mode.el: Merge upstream 6.2.
21751 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
21752 (cperl-forward-re): Check cperl-brace-recursing.
21753 (cperl-highlight-charclass): New function.
21754 (cperl-find-pods-heres): Use it.
21755 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
21756 (cperl-beautify-regexp-piece): Fix column calculation.
21757 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
21758 (cperl-beautify-level): Don't process entire regexp.
21759 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
21761 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
21762 (cperl-init-faces): Build a list in the normal way.
21764 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21766 * calendar/parse-time.el (parse-time-string-chars): Save match
21769 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
21771 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
21772 (sql-product): Use it.
21773 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
21774 (sql-set-product): Add completion.
21775 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
21776 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
21777 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
21778 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
21779 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
21780 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
21781 (sql-highlight-db2-keywords): Remove.
21782 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
21783 (sql-highlight-product): Use derived-mode-p.
21784 (sql-set-sqli-buffer): Use with-current-buffer.
21785 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
21788 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
21790 * term.el: Fix commenting convention, turn comments into docstrings.
21792 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21794 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
21796 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
21798 * calendar/parse-time.el (parse-time-string-chars): Compute using
21799 character classes, to handle non-ascii characters (Bug#3190).
21801 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21803 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
21804 another heredoc if the user adds another < (Bug#3226).
21806 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
21807 Don't initialize based on window-system (Bug#4124).
21809 * facemenu.el (facemenu-read-color): Use a completion function
21810 that accepts any defined color, such as RGB triplets (Bug#3677).
21812 * files.el (get-free-disk-space): Change fallback default
21813 directory to /. Expand DIR argument before switching to fallback.
21814 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
21816 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21818 * files.el (load-library): Doc fix.
21820 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
21822 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21823 (viper-if-string): Redefine C-s in the minibuffer to insert the last
21824 incremental search string.
21826 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21829 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21830 (ediff-merge-region-is-non-clash)
21831 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21832 Also check if the job is really a merge job.
21834 * ediff.el (ediff-current-file): New function.
21836 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21838 * progmodes/js.el: Edit docstrings throughout to follow Emacs
21840 (js-insert-and-indent): Delete function.
21841 (js-mode-map): Don't bind keys to js-insert-and-indent.
21842 (js-beginning-of-defun): Rename from js--beginning-of-defun.
21843 (js-end-of-defun): Rename from js--end-of-defun.
21844 (js-auto-indent-flag): Delete variable.
21846 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
21848 * progmodes/js.el: Remove proclaim statement.
21849 Defvar which-func-imenu-joiner-function to silence compiler.
21851 * files.el (auto-mode-alist): Use js-mode for .js files.
21853 * progmodes/js2-mode.el: Remove file.
21855 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21857 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21859 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21861 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
21862 Karl Landstrom <karl.landstrom@brgeight.se>
21864 * progmodes/js.el: New file.
21866 2009-08-14 Mark A. Hershberger <mah@everybody.org>
21868 * timezone.el (timezone-parse-date): Add ability to understand ISO
21869 basic format (minimal separators) dates in addition to the
21870 already-supported extended format dates.
21872 2009-08-14 Eli Zaretskii <eliz@gnu.org>
21874 * international/ucs-normalize.el: Add a `coding' file variable.
21876 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21878 2009-08-14 Sam Steingold <sds@gnu.org>
21880 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21882 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
21884 * faces.el (help-argument-name): Define it here instead of
21885 help-fns.el, because in daemon mode help-fns.el may be loaded when
21886 faces are still uninitialized (Bug#1078).
21888 * help-fns.el (help-argument-name): Move defface to faces.el.
21890 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
21892 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21893 create buffer with a pty but no process so that GDB can make the
21894 inferior the controlling process.
21896 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
21898 * international/ucs-normalize.el: New file.
21900 2009-08-13 Richard Stallman <rms@gnu.org>
21902 * mail/rmail.el (rmail-get-attr-names):
21903 Accept an attribute header that is too short.
21905 * mail/rmail.el (rmail-forget-messages):
21906 Ignore nil elt in rmail-message-vector. Use dotimes.
21908 * progmodes/compile.el (compilation-goto-locus):
21909 Use next-error-move-function.
21911 * simple.el (next-error-move-function): New variable.
21913 2009-08-12 Juri Linkov <juri@jurta.org>
21915 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21916 always non-nil. (Bug#4052)
21918 * replace.el (read-regexp): Return empty string when
21919 `default-value' is nil.
21920 (keep-lines-read-args): Don't use empty string as the
21921 default value for `read-regexp'. (Bug#2495)
21923 2009-08-12 Juri Linkov <juri@jurta.org>
21925 * international/mule-cmds.el (ucs-insert): Change arguments
21926 from `arg' to `character', `count', `inherit' to be the same
21927 as in `insert-char'. Doc fix. (Bug#4039)
21929 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21931 2009-08-12 Juri Linkov <juri@jurta.org>
21933 * files-x.el: New file.
21935 * files.el: Move code that deals with adding/deleting
21936 file/directory-local variables to files-x.el.
21938 * Makefile.in (ELCFILES): Add files-x.elc.
21940 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
21942 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21943 to use `goto-line'.
21944 (gdb-place-breakpoints, gdb-get-location): Rewritten without
21946 (gdb-invalidate-disassembly): Do not refresh upon receiving
21947 'update signal. Instead, update all disassembly buffers only after
21949 (gdb): Send -target-detach when buffer is killed (Bug#3794).
21950 (gdb-starting): Move -data-list-register-names...
21951 (gdb-stopped): ...here so it's sent when first thread stops.
21952 (gdb-registers-handler-custom): Do nothing if register names are
21955 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21956 from `gdb-mi.el' to avoid extra tangling.
21958 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21959 change which breaks `gud-def' definitions used in `gdb'.
21960 (gdb-update-gud-running): No extra fuss for updating frame number.
21962 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
21964 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21965 (describe-language-environment-map, setup-language-environment-map)
21966 (set-coding-system-map): Move initialization into declaration.
21967 (set-language-info-alist): Last arg to define-key-after can be skipped.
21969 * international/quail.el (quail-completion-1): Simplify.
21970 (quail-define-rules): Use slightly more compact code.
21971 (quail-insert-decode-map): Propertize keys, compact columns.
21973 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21976 2009-08-10 Miles Bader <miles@gnu.org>
21978 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21979 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21980 (js2-instance-member, js2-private-member, js2-private-function-call)
21981 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21982 (js2-magic-paren, js2-external-variable):
21983 Remove "-face" suffix from face names.
21984 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21985 (js2-highlight-undeclared-vars, js2-peek-token)
21986 (js2-parse-function-params, js2-mode-show-errors)
21987 (js2-mode-show-warnings, js2-make-magic-delimiter)
21988 (js2-mode-highlight-magic-parens): Update to use new face names.
21990 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
21992 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21993 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
21995 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
21997 * subr.el: Provide hashtable-print-readable.
21999 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
22000 hs-c-like-adjust-block-beginning.
22001 (hs-hide-block-at-point): Stop hiding at the beginning of
22002 hs-block-end-regexp (Bug#700).
22004 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
22006 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
22008 (gdb-registers-handler-custom): Do not fail when register names
22011 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
22013 * progmodes/gdb-mi.el (gdb-control-all-threads)
22014 (gdb-control-current-thread): Interactive setters for
22015 `gdb-gud-control-all-threads' to use in menu.
22016 (gdb-show-run-p): Show «Go» when process is not active.
22017 (gud-tool-bar-map): Add non-stop/A,T indicator.
22018 Uses gud/thread.xpm and gud/all.xpm.
22020 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
22022 * net/net-utils.el (net-utils-font-lock-keywords): New var.
22023 (nslookup-font-lock-keywords): Make it a variable.
22024 (net-utils-mode): New mode for viewing diagnostic network output.
22025 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
22026 (net-utils-run-simple): New function.
22027 (ifconfig, iwconfig, netstat, arp, route): Use it.
22029 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
22031 * progmodes/gdb-mi.el (gdb-read-memory-custom)
22032 (gdb-memory-set-address, def-gdb-set-positive-number)
22033 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
22034 after changing settings.
22035 (gdb-invalidate-disassembly): Update when first shown.
22036 (gdb-edit-locals-value): Fix.
22037 (gdb-registers-handler-custom): Print registers in right order and
22038 allow changing register values (only for current thread yet).
22039 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
22040 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
22041 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
22042 (gdb-locals-handler-custom, gdb-registers-handler-custom):
22043 Thread info in mode name.
22044 (gdb-registers-mode-map): TAB to switch to locals.
22046 2009-08-08 Eli Zaretskii <eliz@gnu.org>
22048 * mail/rmail.el (rmail-add-mbox-headers)
22049 (rmail-set-message-counters-counter): Search for
22050 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
22052 2009-08-08 Glenn Morris <rgm@gnu.org>
22054 * Makefile.in (ELCFILES): Update.
22056 2009-08-07 Eli Zaretskii <eliz@gnu.org>
22058 * mail/sendmail.el (mail-yank-original):
22059 Set buffer-file-coding-system from the one used by the message whose
22062 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
22063 to "windows" when "pgnuplot" is used.
22064 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
22065 Don't call accept-process-output if "pgnuplot" is used.
22066 (calc-graph-init): Don't send -display and -geometry to
22067 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
22068 running "pgnuplot -V" with shell-command-to-string.
22070 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
22073 2009-08-07 Eli Zaretskii <eliz@gnu.org>
22075 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
22078 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
22080 * vc-dispatcher.el (vc-resynch-window): Update comment.
22082 * term.el (term-handle-ansi-escape): Add comments with the
22083 terminfo capabilities implemented.
22085 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
22087 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
22088 (gdb-var-create-handler): Rewritten using JSON parser.
22089 (gdb-propertize-header): Move earlier.
22090 (gdb-set-header): Remove to avoid duplication.
22091 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
22092 Refresh disassembly buffers only after threads list have been
22094 (gdb-threads-header, gdb-registers-header): Per-buffer header line
22097 2009-08-04 Juri Linkov <juri@jurta.org>
22099 * files.el: Commands to add/delete file/directory-local variables.
22100 (read-file-local-variable, read-file-local-variable-value)
22101 (read-file-local-variable-mode, modify-file-local-variable)
22102 (modify-file-local-variable-prop-line)
22103 (modify-dir-local-variable): New functions.
22104 (add-file-local-variable, delete-file-local-variable)
22105 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
22106 (add-dir-local-variable, delete-dir-local-variable)
22107 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
22108 (copy-dir-locals-to-file-locals-prop-line): New commands.
22110 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
22112 * abbrev.el (insert-abbrev-table-description): Prettify output.
22113 Suggested by Karl Chen.
22115 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
22117 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
22118 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
22119 (gdb-overlay-arrow-position, gdb-thread-position)
22120 (gdb-disassembly-position): Declare variables.
22121 (gdb-wait-for-pending): Function now.
22122 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
22123 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
22124 compilation goes smoothly.
22125 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
22126 (gdb-non-stop-setting): New customization setting which replaces
22127 `gdb-non-stop' so changing it doesn't break active GDB session.
22128 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
22129 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
22130 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
22131 (gdb-show-threads-by-default): New customization options.
22132 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
22134 (gdb-get-buffer-create): Send buffers update signal when they are
22136 (gdb-invalidate-locals, gdb-invalidate-registers)
22137 (gdb-invalidate-breakpoints)
22138 (gdb-invalidate-threads, gdb-invalidate-disassembly)
22139 (gdb-invalidate-memory): Accept update signal.
22140 (gdb-current-context-command): Use --frame option.
22141 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
22142 Implement `gdb-frame-number' selection logic.
22143 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
22144 whether to show GUD toolbar buttons.
22145 (gdb-thread-exited): Unselect current thread when it exits.
22146 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
22147 (gdb-mark-line): Routine which sets overlay arrow or inverses
22148 video on fringeless displays.
22149 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
22150 to build aligned columns of data in GDB buffers and set text
22151 properties line-by-line.
22152 (gdb-invalidate-breakpoints)
22153 (gdb-breakpoints-list-handler-custom)
22154 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
22155 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
22156 (gdb-registers-handler-custom): Align data columns.
22157 (gdb-locals-handler-custom): Now prints data like in variable
22159 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
22160 Remove confusing buttons.
22161 (gdb-invalidate-threads): Append --frame.
22162 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
22163 between breakpoints/threads buffers.
22164 (gdb-set-window-buffer): Now can ignore dedicated windows.
22165 (gdb-propertize-header): Use `gdb-set-window-buffer'.
22166 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
22167 (def-gdb-thread-buffer-gud-command): Replaces
22168 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
22169 for fine thread control.
22170 (gdb-preempt-existing-or-display-buffer): New function used to
22171 display bound buffers without breaking window layout.
22172 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
22173 (gdb-select-frame): New version of `gdb-frames-select' which now
22174 sets `gdb-frame-number' so commands may use --frame option instead
22175 of inner debugger state.
22176 (gdb-frame-handler): Do not set `gdb-frame-number'.
22177 (gdb-threads-mode-map): Select threads with mouse.
22179 * progmodes/gud.el (gdb-gud-context-call): Declare function to
22180 avoid compilation warning.
22181 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
22184 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
22185 Argument `key' renamed to `buffer-type'.
22186 (gdb-current-context-buffer-name): Do not add thread info to
22187 buffer name when no thread is selected.
22188 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
22189 command (bug 3794).
22190 (gdb-thread-selected): Handle `=thread-selected' notification.
22191 (gdb-wait-for-pending): New macro to deal with congestion problems.
22192 (gdb-breakpoints-list-handler-custom): Don't fail on pending
22194 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
22195 This fixes problem similar to one described in bug 3947.
22196 (gud-menu-map): More menu items.
22197 (gdb-init-1): Reset `gdb-thread-number' to nil.
22199 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
22202 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
22203 (gdb-current-context-command): Do not append --thread if
22204 `gdb-thread-number' is nil.
22205 (gdb-running-threads-count, gdb-stopped-threads-count):
22207 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
22208 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
22209 New customization options.
22210 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
22212 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
22213 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
22214 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
22215 set `gdb-thread-number' and update `gud-running' properly.
22216 (gdb-running): Update threads list when new threads appear.
22217 (gdb-stopped): Support non-stop operation and new thread switching
22219 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
22220 (gdb-json-partial-output): New set of JSON routines.
22221 (def-gdb-auto-update-trigger): New `signal-list' optional
22223 (gdb-thread-list-handler-custom): Update `gud-running',
22224 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
22225 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
22226 (gdb-continue-thread, gdb-step-thread): New commands for fine
22227 thread execution control.
22228 (gud-menu-map): New menu items to switch non-stop options.
22229 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
22230 (gdb-send): Mimic RET properly (bug 3794).
22232 * progmodes/gdb-mi.el (gdb-rules-name-maker)
22233 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
22235 (def-gdb-auto-update-handler): New nopreserve optional argument.
22236 (gdb-stack-list-frames-custom): Print stack from top to bottom.
22238 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
22239 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
22240 (gdb-parent-mode): New mode to derive other GDB modes from.
22241 (gdb-display-disassembly-for-thread)
22242 (gdb-frame-disassembly-for-thread): New commands for threads
22245 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
22246 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
22247 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
22248 (gdb-update): We now store all GDB buffers in a list so that they
22249 can be updated by traversing a list instead of calling invalidate
22250 triggers explicitly.
22251 (def-gdb-trigger-and-handler): New macro to define trigger-handler
22252 pair for GDB buffer.
22253 (gdb-stack-buffer-name): Add thread information.
22254 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
22255 handle pending triggers.
22256 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
22257 (def-gdb-thread-buffer-simple-command)
22258 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
22259 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
22260 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
22261 New commands which show buffers bound to thread.
22262 (gdb-stack-list-locals-regexp): Remove unused regexp.
22264 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
22265 (gdb-locals-buffer-name, gdb-registers-buffer-name)
22266 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
22267 to (gud-comint-buffer) in *-buffer-name functions
22268 because (gdb-get-target-string) already does that.
22269 (gdb-locals-handler-custom, gdb-registers-handler-custom)
22270 (gdb-changed-registers-handler): Rewritten without regexps.
22272 * progmodes/gdb-mi.el: Basic thread selection support.
22273 (gdb-thread-number): New variable.
22274 (gdb-current-context-command): New macro which adds --thread
22276 (gdb-threads-mode-map): Select thread with SPC.
22277 (gdb-thread-list-handler-custom): Mark current thread with overlay
22278 arrow. Synchronize GDB thread and Emacs thread.
22279 (gdb-select-thread): New command which selects current thread.
22280 (gdb-invalidate-frames, gdb-invalidate-locals)
22281 (gdb-invalidate-registers): Use --thread option.
22283 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
22285 * net/tramp.el (top): Make check for tramp-gvfs loading more
22287 (tramp-handle-insert-file-contents): `unwind-protect' must be
22288 inside `with-parsed-tramp-file-name'.
22290 * net/tramp-gvfs.el (top): Remove superfluous message when loading
22293 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
22295 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
22296 directory if CLASSPATH is not set.
22298 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
22300 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
22302 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
22304 2009-08-02 Kevin Ryde <user42@zip.com.au>
22306 * net/newst-backend.el (newsticker--raw-url-list-defaults):
22307 Update freshmeat link. Delete newsforge.com as it seems gone.
22309 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
22311 * select.el (x-set-selection): Doc fix (Bug#4021).
22313 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
22315 * help-fns.el (describe-variable): Treat list return values from
22316 dir-locals-find-file properly (Bug#4005).
22318 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
22320 * net/tramp.el (tramp-debug-message): Print also microseconds.
22322 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
22324 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
22326 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
22327 (tramp-get-debug-buffer): Change `outline-regexp' according to new
22330 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
22331 (tramp-get-file-property): Use it.
22333 * autorevert.el (auto-revert-handler):
22334 Allow `auto-revert-tail-mode' for remote files.
22336 2009-08-02 Jason Rumney <jasonr@gnu.org>
22338 * minibuffer.el (read-file-name): Treat confirm options to
22339 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
22341 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
22343 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
22344 (font-lock-variable-name-face, font-lock-constant-face):
22345 Darken the colors for light backgrounds.
22347 2009-08-01 Eli Zaretskii <eliz@gnu.org>
22349 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
22350 month names. (Bug#3987)
22352 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
22354 * simple.el (line-move-finish): Pass whole number to
22355 line-move-to-column.
22356 (line-move-visual): Perform hscroll to the recorded position.
22358 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
22360 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
22362 2009-07-29 Alan Mackenzie <acm@muc.de>
22364 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
22366 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
22368 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
22369 (gdb-place-breakpoints): Use full path when setting breakpoints.
22371 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
22373 * calc/calc.el (calc-mode-map): Add keybinding for
22374 `calc-transpose-lines'.
22376 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
22378 * calc/calc-misc.el (calc-transpose-lines): New function.
22380 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
22382 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
22383 Simplify check for out-of-band methods.
22384 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
22385 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
22387 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
22389 * vc-git.el (vc-git-checkin): Fix typo.
22391 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
22393 * progmodes/js2-mode.el: New file.
22395 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
22397 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
22398 (gud-menu-map): Adjust tooltip accordingly.
22400 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
22402 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
22403 (vc-bzr-log-view-mode): Adjust log-view-file-re.
22405 * add-log.el (change-log-mode-map): Add a menu.
22407 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
22409 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
22410 function returns nil.
22411 (dbus-handle-event): Handle special return value :ignore.
22412 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
22414 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
22416 * view.el (view-mode-enable): Don't define Helper-return-blurb if
22419 2009-07-25 Eli Zaretskii <eliz@gnu.org>
22423 * w32-vars.el (x-select-enable-clipboard): Doc fix.
22425 * term/pc-win.el (x-display-name, x-colors)
22426 (x-select-enable-clipboard, x-select-text): Doc fix.
22428 * term/common-win.el (x-display-name, x-colors): Doc fix.
22430 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
22431 (xw-defined-colors): Doc fix.
22433 * w32-fns.el (x-select-text, x-setup-function-keys)
22434 (x-get-selection, x-set-selection): Doc fix.
22436 * term/x-win.el (x-select-text, x-setup-function-keys)
22437 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
22439 * select.el (x-set-selection): Doc fix.
22441 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
22443 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
22444 instead of "IsNSSSupportAvailable". Avahi ought to work also when
22445 "IsNSSSupportAvailable" method is not available.
22446 Reported by Steve Youngs <steve@sxemacs.org>.
22448 2009-07-24 Kenichi Handa <handa@m17n.org>
22450 * international/characters.el: Fix setting of category ?C, ?|, ?K,
22451 and ?H. Fix setting of case for Latin Extended and Greek Extended.
22452 (build-unicode-category-table): Fix range checks.
22454 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
22456 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
22457 the buffer we try to sync is current when calling
22460 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
22461 not show up to date files.
22463 2009-07-24 Glenn Morris <rgm@gnu.org>
22465 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
22466 Add autoload cookies. If necessary, initialize.
22467 (elint-log): Handle non-file buffers.
22468 (elint-initialize): Add optional argument to reinitialize.
22469 (elint-find-builtin-variables): Save excursion.
22471 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
22473 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
22476 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
22478 * vc.el (vc-print-log-internal): New function, split out from ...
22479 (vc-print-log): ... here.
22480 (vc-dir-move-to-goal-column): Declare.
22482 * vc-git.el (vc-git-add-signoff): New variable.
22483 (vc-git-checkin): Use it.
22484 (vc-git-toggle-signoff): New function.
22485 (vc-git-extra-menu-map): Bind it to menu.
22486 (vc-git--run-command-string): Accept a nil FILE argument.
22487 (vc-git-stash-list): New function.
22488 (vc-git-dir-extra-headers): Use it.
22490 2009-07-23 Glenn Morris <rgm@gnu.org>
22492 * help-fns.el (describe-variable): Describe ignored and risky local
22493 variables in a similar way to that in which we describe safe ones.
22495 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
22496 (byte-compile-output-file-form, byte-compile-output-docform)
22497 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
22498 Give some more local variables with common names a "bytecomp-" prefix,
22499 so as not to shadow things during compilation.
22500 * emacs-lisp/cl-macs.el (load-time-value)
22501 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
22502 `outbuffer' to `bytecomp-outbuffer'.
22504 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
22505 since the next two variables cover them automatically now.
22506 (elint-builtin-variables, elint-autoloaded-variables): New.
22507 (elint-unknown-builtin-args): Remove all members, since they can be
22508 parsed automatically now.
22509 (elint-extra-errors): New.
22510 (elint-env-add-env, elint-env-add-macro): Use cadr.
22511 (elint-current-buffer): Use or. Change final message.
22512 (elint-get-top-forms): Use line-end-position.
22513 (elint-init-env): Use cadr. Handle autoload, declare-function,
22515 (elint-add-required-env): Doc fix. Use or. Standardize error.
22516 (regexp-assoc): Remove unused function.
22517 (elint-top-form): Set elint-current-pos, to record the start of the
22518 top-level form, for compilation-mode.
22519 (elint-form): Trap errors in macro expansion. Use dolist.
22520 (elint-unbound-variable): Use elint-builtin-variables and
22521 elint-autoloaded-variables.
22522 (elint-get-args): Use cadr, or.
22523 (elint-check-cond-form): Use dolist, cadr.
22524 (elint-check-condition-case-form): Doc fix. Use cadr.
22525 Use elint-extra-errors.
22526 (elint-log): New function.
22527 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
22528 Distinguish errors and warnings.
22529 (elint-log-message): Use with-current-buffer. Inhibit read-only.
22530 Use a bytecomp-style format.
22531 (elint-clear-log): Preserve default-directory. Inhibit read-only.
22532 (elint-get-log-buffer): Use compilation mode. Disable undo.
22533 Don't truncate lines.
22534 (elint-initialize): Set builtin and autoloaded variable lists.
22535 Only process elint-unknown-builtin-args if non-nil.
22536 (elint-find-builtin-variables, elint-find-autoloaded-variables):
22538 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
22540 2009-07-22 Kevin Ryde <user42@zip.com.au>
22542 * net/newst-backend.el (newsticker--parse-atom-1.0)
22543 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
22544 (newsticker--parse-rss-1.0):
22545 * progmodes/idlwave.el (idlwave-mode):
22546 * progmodes/idlw-shell.el (idlwave-shell-mode):
22547 * progmodes/vera-mode.el (vera-mode):
22548 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
22549 * progmodes/vhdl-mode.el (vhdl-mode):
22550 * textmodes/table.el (table-generate-source)
22551 (table--warn-incompatibility):
22552 Hyperlink urls in docstrings with URL `...'.
22554 2009-07-22 Glenn Morris <rgm@gnu.org>
22556 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
22557 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
22558 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
22559 Remove leading * from defcustom docs.
22561 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
22563 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
22565 (list-load-path-shadows): Optionally, just return shadows as a string.
22567 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
22569 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
22571 * mail/rmailedit.el (rmail-edit-mode):
22572 Use auto-save-include-big-deletions.
22574 * mail/rmail.el (rmail-variables):
22575 Use auto-save-include-big-deletions.
22577 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
22580 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
22582 * calc/calc.el (calc-undo-length): New variable.
22583 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
22585 2009-07-21 Richard Stallman <rms@gnu.org>
22587 * files.el (auto-save-mode): Handle buffer-save-size = -2
22590 2009-07-21 Glenn Morris <rgm@gnu.org>
22592 * textmodes/ispell.el (ispell-looking-back): Update declaration.
22594 * calendar/todo-mode.el (calendar-current-date): Update declaration.
22596 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
22597 silence compiler. Instead...
22598 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
22599 (ps-print-ensure-fontified): Update for above function name changes.
22601 * printing.el (pr-mh-get-msg-num, pr-mh-show)
22602 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
22603 silence compiler. Instead...
22604 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
22605 (mh-show-buffer): Only define for compiler.
22606 (pr-mh-current-message): Update for above function name changes.
22608 * files.el (abort-if-file-too-large): Explicitly pass `filename'
22610 (find-file-noselect, insert-file-1): Update for above change.
22612 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
22614 * mail/mailclient.el (mailclient-send-it): Fix message.
22616 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
22617 (edebug-eval): Check cl-debug-env is bound.
22618 (print-level, print-circle): Don't redefine built-in variables.
22620 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
22621 (custom-print-vectors): Remove old comments from doc.
22623 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
22624 (emerge-version): Make the variable an obsolete alias for the
22625 emacs-version variable. Make the function obsolete.
22626 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
22627 Emerge options, rather than merging in into the main Options menu.
22628 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
22629 and auto advance modes. Disable edit/fast items when not relevant.
22631 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
22633 * term/vt420.el (terminal-init-vt420): Fix typo.
22635 2009-07-20 Sam Steingold <sds@gnu.org>
22637 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
22638 variable (removed from compile.el on 2004-03-11).
22640 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
22642 * files.el (hack-local-variables-filter): Fix last change.
22644 2009-07-19 Juri Linkov <juri@jurta.org>
22646 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
22647 (dir-local-variables-alist): New buffer-local variable.
22648 (hack-local-variables-filter): If variable is not dir-local,
22649 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
22650 because file-local overrides dir-local.
22651 (c-postprocess-file-styles) <declare-function>:
22652 Remove obsolete declaration.
22653 (hack-dir-local-variables): Add dir-local variable/value pair to
22654 `dir-local-variables-alist' and remove duplicates. Doc fix.
22656 * help-fns.el (describe-variable): Add information about
22657 file-local and dir-local variables.
22659 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
22661 * files.el (hack-local-variables-filter): Rewrite.
22663 2009-07-19 Glenn Morris <rgm@gnu.org>
22665 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
22666 Silence compiler by only defining on XEmacs.
22668 * international/mule.el (auto-coding-regexp-alist): Only match
22669 BABYL... at the start of buffer, not of lines. (Bug#3790)
22671 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
22672 non-calendar buffers (Bug#3862). Restore "not on a date" message.
22673 (cal-menu-context-mouse-menu): Doc fix.
22675 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
22677 * simple.el (mail-user-agent): Doc fix. Set :version tag.
22679 2009-07-18 Juri Linkov <juri@jurta.org>
22681 * info.el: Virtual Info keyword finder.
22682 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
22683 (Info-finder-file): New variable.
22684 (Info-finder-find-file): New function.
22685 (finder-known-keywords, finder-package-info)
22686 (find-library-name, lm-commentary): Use defvar and
22687 declare-function to silence compiler warnings.
22688 (Info-finder-find-node): New function.
22689 (info-finder): New command.
22691 * subr.el (process-kill-buffer-query-function): New function.
22692 (add-hook)<kill-buffer-query-functions>: Add hook
22693 `process-kill-buffer-query-function'.
22695 2009-07-18 Alan Mackenzie <acm@muc.de>
22697 * progmodes/cc-mode.el (c-before-hack-hook)
22698 (c-postprocess-file-styles): Give invocation of `c-set-style'
22699 DONT-OVERRIDE parameter of t. Already set style variables will
22700 thus not be overridden by style settings given by `c-file-syle'.
22702 * files.el (hack-local-variables-filter): Remove entries with
22703 duplicate keys from `file-local-variables-alist'.
22705 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22707 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
22708 x-set-selection if display-selections-p returns nil for the
22711 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
22713 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
22715 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22717 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
22718 Accept nil in addition to a regexp.
22719 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
22720 Accept nil in addition to a regexp.
22721 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
22722 buffers that have an associated file. Handle nil values of
22723 desktop-buffers-not-to-save and desktop-files-not-to-save.
22726 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
22727 (x-disown-selection-internal): New functions.
22729 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
22731 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
22733 (gdb-breakpoints-header): Move forward to avoid compiler warning.
22734 (gdb-make-header-line-mouse-map): Remove duplicate definition.
22736 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
22738 * simple.el (set-mark): Revert last change.
22740 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
22742 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
22743 rendering of pngs is not possible instead of messaging a long
22746 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
22748 * w32-fns.el (x-selection-owner-p): New function.
22750 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
22751 (mouse-yank-at-click, mouse-yank-primary):
22752 If select-active-regions is non-nil, deactivate the mark before
22755 * simple.el (deactivate-mark, set-mark): Only save selection if we
22758 2009-07-17 Kenichi Handa <handa@m17n.org>
22760 * case-table.el (describe-buffer-case-table): Fix for the case
22761 that KEY is a cons.
22763 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
22765 * vc-rcs.el (vc-rcs-find-file-hook):
22766 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
22768 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
22770 * net/tramp.el (tramp-wait-for-output): Handle the case when
22771 commands do not return a newline but a null byte before the shell
22774 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22776 * term/ns-win.el (ns-set-alpha): Don't declare.
22777 (ns-set-background-alpha): Remove function.
22779 2009-07-16 Kevin Ryde <user42@zip.com.au>
22781 * emacs-lisp/copyright.el (copyright-update): Save match-data across
22782 y-or-n-p, for safety.
22784 2009-07-16 Richard Stallman <rms@gnu.org>
22786 * files.el (auto-save-mode): If buffer-saved-size is -2,
22789 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
22790 (rmail-retry-ignored-headers): Add more uninteresting fields.
22792 2009-07-15 Jari Aalto <jari.aalto@cante.net>
22794 * net/rcirc.el (rcirc): Use history variables.
22795 (rcirc-server-name-history, rcirc-nick-name-history)
22796 (rcirc-server-port-history): New variables.
22798 2009-07-15 Kenichi Handa <handa@m17n.org>
22800 * international/mule-cmds.el (set-language-environment-charset):
22801 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
22804 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
22805 Delete unibyte-display.
22807 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22809 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
22811 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22813 * simple.el (deactivate-mark): Optional argument FORCE.
22814 (set-mark): Use deactivate-mark.
22816 * info.el (Info-search): No need to check transient-mark-mode
22817 before calling deactivate-mark.
22819 * select.el (x-set-selection): Doc fix.
22820 (x-valid-simple-selection-p): Allow buffer values.
22821 (xselect--selection-bounds): Handle buffer values.
22822 Suggested by David De La Harpe Golden.
22824 * mouse.el (mouse-set-region, mouse-drag-track):
22825 Call copy-region-as-kill before setting the mark, to let
22826 select-active-regions work.
22828 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
22830 * simple.el (deactivate-mark): If select-active-regions is
22831 non-nil, copy the selection data into a string.
22832 (activate-mark): If select-active-regions is non-nil, set the
22833 selection to the current buffer.
22834 (set-mark): Update selection if select-active-regions is non-nil.
22836 * select.el (x-valid-simple-selection-p): Allow buffer values.
22838 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
22840 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22841 and more featureful message-mode.
22843 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
22845 * select.el (x-set-selection): Doc fix.
22846 (x-valid-simple-selection-p): Disallow selection data consisting
22847 of a list or cons of integers, since that is not used.
22848 (xselect--selection-bounds, xselect--int-to-cons): New functions.
22849 (xselect-convert-to-string, xselect-convert-to-length)
22850 (xselect-convert-to-filename, xselect-convert-to-charpos)
22851 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22853 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
22855 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22856 output in -break-info command (Emacs bug #3794).
22858 2009-07-14 Glenn Morris <rgm@gnu.org>
22860 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22861 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22862 (edebug-print-length, edebug-print-level, edebug-print-circle)
22863 (edebug-sit-for-seconds, edebug-view-outside)
22864 (edebug-bounce-point, edebug-set-global-break-condition)
22865 (edebug-Go-nonstop-mode, edebug-trace-mode)
22866 (edebug-Trace-fast-mode, edebug-continue-mode)
22867 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22868 (edebug-visit-eval-list): Doc fixes.
22870 * subr.el (def-edebug-spec): Doc fix.
22872 2009-07-14 Kenichi Handa <handa@m17n.org>
22874 * international/characters.el: Fix setting of category ?C.
22876 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
22878 * term/ns-win.el (x-select-font): defalias x-select-font to
22879 ns-popup-font-panel instead of generate-fontset-menu.
22881 2009-07-12 Eli Zaretskii <eliz@gnu.org>
22883 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
22885 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
22887 * arc-mode.el (archive-find-type): Allow for a PK00 string before
22888 the PK\003\004 header (Bug#3770).
22890 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
22892 * pcomplete.el (pcomplete-comint-setup): Check for
22893 shell-dynamic-complete-filename too.
22895 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
22897 * simple.el (temporary-goal-column): Change the value for
22898 line-move-visual to a cons cell.
22899 (line-move-visual): Record or set the window hscroll, if
22900 necessary (Bug#3494).
22901 (line-move-1): Handle cons value of temporary-goal-column.
22903 2009-07-11 Kenichi Handa <handa@m17n.org>
22905 * international/mule-diag.el (describe-character-set): Don't show
22908 2009-07-10 Sam Steingold <sds@gnu.org>
22910 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22911 Omake sometimes indents the errors it prints, so allow all
22912 regexps to start with spaces.
22914 2009-07-10 Eli Zaretskii <eliz@gnu.org>
22916 * cus-edit.el (customize-changed-options-previous-release):
22917 Bump value to 22.1. (Bug#3804)
22919 2009-07-08 Sam Steingold <sds@gnu.org>
22921 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22922 to be a cons cell (test . ignored-directory) to selectively ignore
22923 some directories depending on the location of the search.
22925 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
22927 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22928 remote user is root, on the local host.
22929 (tramp-local-host-p): Either the local user or the remote user
22930 must be root. (Bug#3771)
22932 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22934 * progmodes/gdb-mi.el (gdb): Remove description of
22935 gdb-use-separate-io-buffer.
22936 (menu): Don't allow toggling of or enable
22937 gdb-use-separate-io-buffer from menubar.
22939 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
22941 * mail/unrmail.el (unrmail): Make sure the message ends with two
22942 newlines (Bug#3769).
22944 2009-07-08 Glenn Morris <rgm@gnu.org>
22946 * calendar/calendar.el (calendar-current-date): Rework previous change.
22948 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
22950 * calendar/calendar.el (calendar-current-date):
22951 Add an optional argument giving an offset from today.
22953 2009-07-08 Glenn Morris <rgm@gnu.org>
22955 * tutorial.el (tutorial--describe-nonstandard-key):
22956 Adjust the message for when a key has been unbound.
22957 (help-with-tutorial): Hide the arch-tag.
22959 2009-07-08 Kenichi Handa <handa@m17n.org>
22961 * international/fontset.el (setup-default-fontset): For each
22962 script, append (not set) font-specs.
22964 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22967 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22969 * progmodes/gdb-mi.el (gdb-init-1): Move sending
22970 -data-list-register-names to ...
22971 (gdb-starting): ... here because GDB 7.0 requires execution to
22972 have started when using this MI command.
22973 (gdb-set-header): New function to distinguish select and
22974 unselected tabs in gdb buffers.
22975 (gdb-propertize-header): New macro that uses gdb-set-header.
22976 (gdb-breakpoints-header, gdb-locals-header): Use it.
22977 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22979 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
22981 * Makefile.in (ELCFILES): Remove fadr.elc.
22983 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
22985 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22986 may contain frame information, so `string-match' should be used.
22987 (gdb-update): Disassembly is invalidated through
22988 `gdb-get-selected-frame'.
22989 (gdb-pad-string): New function to pad string with spaces.
22990 (gdb-invalidate-disassembly): Invalidate only if the buffer
22992 (gdb-disassembly-handler-custom): Column alignment.
22993 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22995 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22997 (gdb-frame-handler): Match convention to for disassembly buffer
22999 (gdb-stack-list-frames-handler): Rewritten without regexps.
23000 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
23001 not highlight breakpoints without line information.
23002 (gdb-input): Add trailing newline to command.
23004 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
23006 (gdb-breakpoints-list-handler-custom): Replacement for
23007 `gdb-break-list-handler'. Using real parser instead of regexps
23009 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
23010 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
23011 to place breakpoints.
23012 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
23014 (gdb-disassembly-handler-custom): Show overlay arrow.
23015 (gdb-disassembly-place-breakpoints): Show breakpoints in
23016 disassembly buffer.
23017 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
23018 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
23019 instead of parsing breakpoints buffer. Fixed old menu references
23024 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
23025 (gdb-memory-address): New variable which holds top address of
23026 memory page shown in memory buffer.
23027 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
23028 New customization variables.
23030 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
23031 display the memory buffer.
23032 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
23033 buffer display parameters.
23034 (def-gdb-memory-format, gdb-memory-format-binary)
23035 (gdb-memory-format-octal, gdb-memory-format-unsigned)
23036 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
23037 Functions for setting memory buffer format.
23038 (gdb-memory-unit-word, gdb-memory-unit-halfword)
23039 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
23040 unit size used in memory buffer.
23041 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
23042 Switch to next/previous page of memory buffer.
23043 Now using (bindat-get-field) instead of fadr functions.
23045 2009-07-07 Sam Steingold <sds@gnu.org>
23047 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
23048 non-top-level files.
23050 2009-07-07 Kenichi Handa <handa@m17n.org>
23052 * international/mule-cmds.el (reset-language-environment):
23053 Put the highset priority to the charset iso-8859-1.
23055 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
23057 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
23058 to the end of the line when locating the block (Bug#700).
23060 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
23062 * net/tramp.el (tramp-handle-write-region): Flush file properties
23063 in case of short track.
23065 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
23067 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
23068 Coded custom representation of verilog error regular expressions
23069 to work with Emacs-22's new format.
23070 (verilog-error-regexp-xemacs-alist): Coded custom representation
23071 of verilog error regular expressions to work with XEmacs format.
23072 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
23073 error recognition into XEmacs.
23074 (verilog-error-regexp-add-emacs): Hook routine to install verilog
23075 error recognition into Emacs-22.
23077 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
23079 * woman.el: Remove stand-alone closing parentheses.
23080 (woman-file-name, woman2-format-paragraphs)
23081 (woman-leave-blank-lines): Code cleanup.
23082 (woman-use-own-frame): Change default to nil.
23083 (woman-italic, woman-bold, woman-unknown, woman-addition):
23084 Change defaults to inherit from default faces.
23085 (woman2-process-escapes): Consume the newline after a stand-alone
23086 filler character (Bug#3651).
23088 2009-07-06 Glenn Morris <rgm@gnu.org>
23090 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
23091 (top-level): Move provide to the end.
23092 (ffap): Remove defunct URL from custom group.
23094 * subr.el (eval-after-load): Doc fix.
23096 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
23098 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
23099 `calc-embedded-word' is called twice.
23101 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23103 * files.el (find-alternate-file-other-window, find-alternate-file):
23104 Obey confirm-nonexistent-file-or-buffer.
23106 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
23108 * dired-aux.el (dired-show-file-type): Handle remote files.
23110 2009-07-05 Jari Aalto <jari.aalto@cante.net>
23112 * desktop.el (desktop-globals-to-save):
23113 Add file-name-history (Bug#2750).
23115 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
23117 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
23119 2009-07-04 Johan Bockgård <bojohan@gnu.org>
23121 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
23122 property on entire argument since this is what eshell-lisp-command
23125 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
23127 * net/tramp-gvfs.el (tramp-gvfs-methods)
23128 (tramp-gvfs-zeroconf-domain)
23129 (tramp-bluez-discover-devices-timeout): Add version flag.
23130 (tramp-gvfs-handler-mounted-unmounted)
23131 (tramp-gvfs-connection-mounted-p): Polish handling of
23132 incompatibilities between GVFS 0.2 and 1.0.
23134 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
23136 * cus-start.el (all): Add make-pointer-invisible.
23138 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
23140 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
23141 formatted correctly.
23143 2009-07-02 Juri Linkov <juri@jurta.org>
23145 * info.el: Virtual Info files and nodes.
23146 (Info-virtual-files, Info-virtual-nodes): New variables.
23147 (Info-current-node-virtual): New variable.
23148 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
23150 (Info-file-supports-index-cookies): Use Info-virtual-file-p
23151 to check for a virtual file instead of checking a fixed list
23153 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
23154 instead of ad-hoc processing of "dir" and (apropos history toc).
23155 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
23156 instead of ad-hoc processing of "dir" and (apropos history toc).
23157 Reread a file when moving from a virtual node.
23158 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
23159 (Info-directory-toc-nodes, Info-directory-find-file)
23160 (Info-directory-find-node): New functions.
23161 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
23162 (Info-history): Move part of code to
23163 `Info-history-find-node'.
23164 (Info-history-toc-nodes, Info-history-find-file)
23165 (Info-history-find-node): New functions.
23166 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
23167 (Info-toc): Move part of code to `Info-toc-find-node'.
23168 (Info-toc-find-node): New function.
23169 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
23170 the current Info file name to references because now the node
23171 "*TOC*" belongs to the same Info manual.
23172 (Info-toc-build): Rename from `Info-build-toc'.
23173 (Info-toc-nodes): Rename input argument `file' to `filename'.
23174 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
23175 instead of ad-hoc processing of ("dir" apropos history toc).
23176 (Info-index-nodes): Use Info-virtual-file-p
23177 to check for a virtual file instead of checking a fixed list
23179 (Info-index-node): Add check for `Info-current-node-virtual'.
23180 Raise `save-match-data' higher up the tree to contain
23181 `search-forward' too (bug fix).
23182 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
23183 (Info-virtual-index-nodes): New variable.
23184 (Info-virtual-index-find-node, Info-virtual-index): New functions.
23185 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
23186 (Info-apropos-file, Info-apropos-nodes): New variables.
23187 (Info-apropos-toc-nodes, Info-apropos-find-file)
23188 (Info-apropos-find-node, Info-apropos-matches): New functions.
23189 (info-apropos): Move part of code to `Info-apropos-find-node' and
23190 `Info-apropos-matches'.
23191 (Info-mode-map): Bind "I" to `Info-virtual-index'.
23192 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
23193 for a virtual file instead of checking a fixed list of node names.
23195 * simple.el (async-shell-command): New command.
23197 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
23199 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
23200 instead of `mount-info'.
23202 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
23204 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
23205 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
23207 2009-07-02 Kenichi Handa <handa@m17n.org>
23209 * international/mule.el (set-keyboard-coding-system): Force *-unix
23210 coding-system to avoid eol conversion.
23212 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
23214 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
23215 Add handler for `process-file', `shell-command' and
23216 `start-file-process'.
23217 (tramp-gvfs-handle-shell-command)
23218 (tramp-gvfs-handle-start-file-process)
23219 (tramp-gvfs-handle-process-file): New defuns.
23220 (tramp-synce-list-devices): Simplify check for existence of property.
23222 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
23224 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
23226 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
23228 * language/korean.el (set-language-info-alist): Add korean-cp949,
23231 2009-07-01 Kenichi Handa <handa@m17n.org>
23233 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
23235 * international/encoded-kb.el: Deleted.
23237 * international/mule.el (set-keyboard-coding-system): Perform the
23238 necessary setup here instead of calling encoded-kbd-setup-display.
23240 2009-07-01 Glenn Morris <rgm@gnu.org>
23242 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
23244 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
23246 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
23248 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
23250 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
23251 Handle also the 'rename case, when setting file modes. (Bug#3712)
23252 (tramp-default-file-modes): Remove execute permissions.
23254 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
23255 (top): Add a default for "synce" in `tramp-default-user-alist'.
23256 Add completion function for "synce" method.
23257 (tramp-hal-service, tramp-hal-path-manager)
23258 (tramp-hal-interface-manager, tramp-hal-interface-device):
23260 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
23261 (tramp-synce-list-devices, tramp-synce-parse-device-names):
23264 * net/trampver.el: Update release number.
23266 2009-06-30 Kenichi Handa <handa@m17n.org>
23268 * international/fontset.el (setup-default-fontset): Add CJK fonts
23269 for symbols and the other miscellaneous characters.
23271 * language/korea-util.el (setup-korean-environment-internal):
23272 Make char-width-table suitable for Korean environments.
23273 (exit-korean-environment): Cancel above.
23275 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
23276 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
23277 setup-function to make char-width-table suitable for respective
23278 environments, and an exit-function to cancel that.
23280 * language/japan-util.el (setup-japanese-environment-internal):
23281 Call use-cjk-char-width-table with arg `ja_JP'.
23283 * international/characters.el (cjk-char-width-table): Delete it.
23284 (cjk-char-width-table-list): New variable.
23285 (use-cjk-char-width-table): New arg local-name.
23286 (use-default-char-width-table): Fix for the case that Emacs is
23287 already using the default char-width-table.
23289 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
23291 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
23292 modes mandatory. (Bug#3712)
23294 2009-06-29 Alan Mackenzie <acm@muc.de>
23296 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
23297 correction between the visible width of TABs and their number of bytes.
23299 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
23301 * server.el (server-buffer-done): Prevent kill-buffer from
23302 prompting by clearing the buffer modification flag (Bug#3696).
23304 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
23306 * progmodes/verilog-mode.el (verilog-beg-of-statement)
23307 (verilog-endcomment-reason-re): Support unique case and priority case.
23308 (verilog-basic-complete-re): Support localparam lineup.
23309 (verilog-beg-of-statement-1): Fix for robustness, unique case.
23310 (verilog-set-auto-endcomments): Fix for unique case, always_comb
23312 (verilog-leap-to-case-head): Now support *nested* unique &
23313 priority case statements.
23314 (verilog-auto-lineup): Make just declarations the default (as it
23316 (verilog-leap-to-case-head): Support priority/unique case statements.
23317 (verilog-auto-lineup): Rework to give users radio buttons to
23318 select the various styles of automatic lineup.
23319 (verilog-error-regexp-alist): Rework to support the XEmacs style
23320 of error regular expressions from compilers, lint tools &
23321 simulators. Note that GNU Emacs has made it impossible for a mode
23322 to load such things.
23323 (electric-verilog-terminate-line, verilog-indent-declaration)
23324 (verilog-auto-wiure): Rework for radio button selection of
23325 auto-lineup selection of specification of auto lineup.
23326 (verilog-beg-of-statement-1): Redesign to support proper operation
23327 in additional code, based on testing with auto-lineup.
23328 (verilog-calculate-indent, assignments & declarations)
23329 (verilog-backward-token): Enhance to support auto-lineup of
23330 assignments & declarations.
23331 (verilog-in-directive-p, verilog-at-struct-p): New function for
23332 easy test of whether we are.
23333 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
23334 to support safe execution at almost anyline.
23335 (verilog-calc-1): Properly support indenting deep inside generate
23337 (verilog-init-font): Remove definition & use of verilog-init-font,
23338 as it is redundant with font-lock-defaults.
23339 (verilog-mode): Alter the definition of verilog-font-lock-defaults
23340 to avoid circular calls if syntax-ppss is a function (as is the
23341 case now in 22.x GNU Emacs) as that function would sometimes call
23342 itself, leading to (nearly) infinite recursion.
23343 (verilog-ovm-begin-re, verilog-ovm-end-re)
23344 (verilog-ovm-statement-re, verilog-leap-to-head)
23345 (verilog-backward-token): Add support for OVM macros. Some are
23346 complete statements, and others open and close scopes like begin
23348 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
23349 (verilog-defun-level-generate-only-re): Really fix the defun-list
23351 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
23352 coverpoint, constraint and cross statements.
23353 (verilog-defun-level-list, verilog-generate-defun-level-list)
23354 (verilog-all-defun-level-list): Redo these specifications - it is
23355 too hard to support eval-when compile aggregation of lists also
23356 built at when-compile time.
23357 (verilog-defun-level-list): Place defconsts of variables used in
23358 building regular expressions which are built in eval-when-compile
23359 bodies in the same eval-when-compile body to facilitate compile
23361 (verilog-beg-block-re-ordered): Support indenting
23362 virtual/protected tasks and functions.
23363 (verilog-defun-level-list, verilog-in-generate-region-p)
23364 (verilog-backward-ws&directives, verilog-calc-1): Speed up
23365 indentation of some module items (generate items).
23366 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
23367 across virtual/protected tasks and functions.
23369 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
23371 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
23372 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
23373 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
23374 in concatenations. Reported by Yishay Belkind.
23375 (verilog-auto-ascii-enum): Support one-hot state machines in
23376 AUTOASCIIENUM. Suggested by Lloyd Gomez.
23377 (verilog-auto-inst, verilog-auto-inst-port): Include interface
23378 modport in AUTOINST and add vl-modport for users.
23379 Reported by David Rogoff.
23380 (verilog-auto-inout-module, verilog-auto-inst)
23381 (verilog-decls-get-interfaces, verilog-insert-definition)
23382 (verilog-insert-one-definition, verilog-read-decls)
23383 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
23384 (verilog-sig-modport, verilog-signals-combine-bus)
23385 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
23386 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
23387 Suggested by David Rogoff.
23388 (verilog-repair-open-comma): Fix non-insertion of comma when
23389 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
23390 (verilog-make-width-expression): Simplify [A-1:0] expression
23391 widths to just {A{1'b0}}.
23392 (verilog-mode): Cleanup checkdoc warnings.
23393 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
23394 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
23395 inputs/outputs or data type. Suggested by Vasu Kandadi.
23396 (next-error-last-buffer): Fix byte-compiler warning.
23397 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
23398 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
23399 or shell command text during AUTO expansion. Suggested by Tad Truex.
23400 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
23401 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
23402 Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
23403 in AUTOINOUT. Reported by Matthew Lovell.
23404 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
23405 causing use of <= assignments. Reported by Alex Reed.
23406 (verilog-read-decls): Fix triand, trior, wand, wor to be
23407 recognized by AUTOWIRE. Reported by Spencer Isaacson.
23408 (verilog-extended-complete-re): Support import "DPI-C" functions.
23409 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
23410 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
23411 (verilog-insert-date, verilog-insert-year)
23412 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
23413 Windows systems. Reported by Michael Potts.
23414 (verilog-read-module-name): Fix AUTOINST when the child module
23415 declaration's name is a tick define. Reported by Elliot Mednick.
23416 (verilog-read-decls): Fix V2K parameter bit subscripts getting
23417 passed to next parameter's definition. Reported by Bruce T.
23418 (verilog-read-decls): Fix detecting "parameter int" when using
23419 AUTOINSTPARAM. Reported by Bruce T.
23420 (verilog-goto-defun): Fix goto not finding modules unless first
23421 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
23422 (verilog-mode): Expand -f flag arguments on entry to mode so
23423 verilog-goto-defun will work. Reported by Lawrence Butcher.
23424 (verilog-getopt): Expand environment variables in -f file
23425 arguments. Suggested by Lawrence Butcher.
23426 (verilog-set-define): Fix "Symbol's value as variable is void"
23427 when reading enumerations.
23428 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
23429 Suggested by Stephen Peltan.
23430 (verilog-read-defines): Fix reading of enumerations in include
23431 files. Reported by Steve Peltan.
23433 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
23435 * files.el (trash-directory): Fix defcustom type.
23437 2009-06-28 Juri Linkov <juri@jurta.org>
23439 * help-fns.el (describe-function-1): Correctly locate adviced
23440 functions in hyperlink (Bug#2438).
23442 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
23444 * files.el (trash-directory): Change default to nil.
23445 (move-file-to-trash): If trash-directory is nil and
23446 system-move-file-to-trash is unbound, perform freedesktop-style
23449 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
23451 * files.el (move-file-to-trash): Add freedesktop trash
23454 2009-06-28 Glenn Morris <rgm@gnu.org>
23456 * autorevert.el (global-auto-revert-non-file-buffers)
23457 (global-auto-revert-mode): Doc fixes.
23459 2009-06-27 Johan Bockgård <bojohan@gnu.org>
23461 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
23463 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
23465 * faces.el (x-handle-named-frame-geometry): Ensure that we have
23466 opened an X connection before calling x-get-resource (Bug#3194).
23468 * play/doctor.el: Remove reference to obsolete website.
23469 (make-doctor-variables): Correct grammar mistake (Bug#2633).
23471 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
23473 Remove find-file-not-found-hook VC method. (Bug#2757)
23474 * vc-hooks.el (vc-file-not-found-hook)
23475 (vc-default-find-file-not-found-hook): Remove functions.
23476 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
23477 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
23480 * vc-git.el: Do not mention find-file-not-found-hook VC method.
23482 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
23484 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
23485 compatibility function for `looking-back'.
23487 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
23488 Use `ispell-looking-back'.
23490 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
23492 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
23493 rather than `filename'.
23495 2009-06-23 Miles Bader <miles@gnu.org>
23497 * face-remap.el (text-scale-set): New function.
23499 2009-06-23 Glenn Morris <rgm@gnu.org>
23501 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
23503 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
23505 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
23507 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
23509 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
23510 Simplify Persian conditionals.
23512 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
23513 variable `filename'.
23515 * comint.el (comint-insert-input): Doc fix.
23517 * Makefile.in (ELCFILES): Fix typo in previous change.
23519 2009-06-23 Miles Bader <miles@gnu.org>
23521 * cus-start.el: Add entry for `recenter-redisplay'.
23523 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23525 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
23526 Add an optional argument for the backend, use it instead of
23527 calling vc-backend.
23528 (vc-mode-line): Add an optional argument for the backend.
23529 Pass the backend to vc-state and vc-working-revision. Move code for
23530 special handling for vc-state being a buffer to ...
23532 * vc-rcs.el (vc-rcs-find-file-hook):
23533 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
23535 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
23536 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
23537 vc-stay-local-p and vc-mode-line calls.
23539 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
23540 (vc-cvs-diff, vc-cvs-annotate-command)
23541 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
23542 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
23543 vc-mode-line calls.
23545 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
23547 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
23548 backend when calling vc-mode-line.
23549 (vc-register): Do not create a closure for calling the vc register
23550 function, call it directly.
23552 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23554 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
23555 to make it obvious item can be clicked.
23557 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
23559 2009-06-23 Kenichi Handa <handa@m17n.org>
23561 * language/korea-util.el (korean-key-bindings): Change the binding
23562 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
23565 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
23567 Sync with Tramp 2.1.16.
23569 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
23571 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
23572 when a loading of a package fails. Completion function for rsync
23573 is `tramp-completion-function-alist-ssh'.
23574 (all): Replace all calls of `split-string' and
23575 `tramp-split-string' by `tramp-compat-split-string'.
23576 (tramp-default-method): Use `tramp-compat-process-running-p'.
23577 (tramp-default-proxies-alist): Allow also Lisp forms.
23578 (tramp-remote-path): Add choice "Private Directories".
23579 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
23580 (tramp-domain-regexp): Allow also "-", "_" and ".".
23581 (tramp-end-of-output): Remove newlines, and add "$" at the end.
23582 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
23583 (tramp-debug-message): Insert header line in debug buffer.
23584 (tramp-handle-directory-files-and-attributes-with-stat):
23585 Care about filenames with spaces, or starting with "-".
23586 (tramp-handle-dired-uncache): New defun.
23587 (tramp-handle-insert-directory): Don't flush the directory from
23588 cache, this is handled by `dired-uncache' now.
23589 (tramp-handle-insert-file-contents): Improve error handling.
23590 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
23591 Quote `tramp-end-of-output'.
23592 (tramp-action-password): Improve trace message.
23593 (tramp-check-for-regexp): Both echoes must be present, before removing.
23594 (tramp-open-connection-setup-interactive-shell): Trace coding system.
23595 (tramp-compute-multi-hops): Eval cons cells of
23596 `tramp-default-proxies-alist'.
23597 (tramp-maybe-open-connection): Use the same command pattern for
23598 first hop and further hops.
23599 (tramp-wait-for-output): Remove handling of newlines.
23600 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
23601 (tramp-split-string): Remove function. It is handled in
23604 * net/tramp-cmds.el (tramp-bug):
23605 Recommend `tramp-cleanup-all-connections' in the bug mail.
23607 * net/tramp-compat.el (tramp-compat-split-string)
23608 (tramp-compat-process-running-p): New defuns.
23610 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
23611 for `dired-uncache'.
23613 * net/tramp-gvfs.el: New package.
23615 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
23616 Add handler for `dired-uncache'.
23617 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
23619 * net/trampver.el: Update release number. Make version check fit
23622 2009-06-22 Jim Meyering <meyering@redhat.com>
23624 Automatically handle .xz suffix (XZ-compressed files), too.
23625 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
23626 XZ is the successor to LZMA: <http://tukaani.org/xz/>
23628 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
23629 Nick Roberts <nickrob@snap.net.nz>
23631 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
23632 repository (http://sphinx.net.ru/hg/gdb-mi/).
23634 2009-06-22 Glenn Morris <rgm@gnu.org>
23636 * files.el (dir-locals-collect-mode-variables): Allow for any number of
23637 `mode' and `eval' entries. (Bug#3430)
23639 * Makefile.in (ELCFILES): Add fadr.elc.
23641 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
23642 differing behavior of \n and ^ in strings. (Bug#3385)
23644 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
23646 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
23648 (lisp-indent-function): Make it a defcustom.
23650 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
23652 * progmodes/gdb-ui.el: Replace with ...
23653 * progmodes/gdb-mi.el: ... this file.
23654 * progmodes/gud.el: Modify for gdb-mi.el.
23656 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
23658 * fadr.el: New file.
23660 See ChangeLog.14 for earlier changes.
23662 ;; Local Variables:
23666 Copyright (C) 2009-2011 Free Software Foundation, Inc.
23668 This file is part of GNU Emacs.
23670 GNU Emacs is free software: you can redistribute it and/or modify
23671 it under the terms of the GNU General Public License as published by
23672 the Free Software Foundation, either version 3 of the License, or
23673 (at your option) any later version.
23675 GNU Emacs is distributed in the hope that it will be useful,
23676 but WITHOUT ANY WARRANTY; without even the implied warranty of
23677 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23678 GNU General Public License for more details.
23680 You should have received a copy of the GNU General Public License
23681 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.