1 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
3 * help-fns.el (describe-variable): Complete all variables having
4 documentation, including keywords.
5 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
7 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
9 Convert to lexical-binding.
11 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
12 (bs--get-marked-string, bs--get-modified-string)
13 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
15 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
17 * ehelp.el (electric-help-execute-extended)
18 (electric-help-ctrl-x-prefix):
19 * hexl.el (hexl-revert-buffer-function):
20 * linum.el (linum-after-change, linum-after-scroll):
21 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
23 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
25 2011-04-04 Daiki Ueno <ueno@unixuser.org>
32 * epg.el: Use lexical binding.
34 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
36 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
38 * textmodes/flyspell.el (flyspell-word): Recognize default
39 dictionary case for flyspell-mark-duplications-exceptions. Use
40 regexp matching for languages.
41 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
42 default dictionary (Bug#7926).
44 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
46 * emacs-lisp/package.el (package--with-work-buffer): Recognize
49 * net/network-stream.el: Move from gnus/proto-stream.el. Change
50 prefix to network-stream throughout.
51 (open-protocol-stream): Merge into open-network-stream, leaving
52 open-protocol-stream as an alias. Handle nil BUFFER args.
54 * subr.el (open-network-stream): Move to net/network-stream.el.
56 2011-04-02 Glenn Morris <rgm@gnu.org>
58 * find-dired.el (find-exec-terminator): New option.
59 (find-ls-option): Test for -ls support.
60 (find-ls-subdir-switches): Test for -b in find-ls-option.
61 (find-dired, find-grep-dired): Doc fixes.
62 (find-dired): Use find-exec-terminator.
64 * find-dired.el (find-ls-option, find-ls-subdir-switches)
65 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
66 (find-name-arg): Remove purecopy.
68 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
69 (grep-compute-defaults): Check for `-exec COMMAND +' support.
70 Set grep-find-use-xargs, grep-find-command, and grep-find-template
71 accordingly. Don't add the null-device if not needed.
73 * files.el (save-some-buffers): Doc fix.
75 2011-04-02 Eli Zaretskii <eliz@gnu.org>
77 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
79 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
81 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
82 Use `dolist' rather than `mapcar'.
84 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
88 * subr.el (apply-partially): Use new closures rather than CL.
89 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
90 (dolist, dotimes): Use slightly different expansion for lexical code.
91 (functionp): Move to C.
93 (with-wrapper-hook): Use it and apply-partially instead of CL.
94 (eval-after-load): Preserve lexical-binding.
95 (save-window-excursion, with-output-to-temp-buffer): Turn them
98 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
100 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
102 (help-add-fundoc-usage): Don't add `Not documented'.
103 (help-function-arglist): Handle closures, subroutines, and new
105 (help-make-usage): Remove leading underscores.
106 (describe-function-1): Handle closures.
107 (describe-variable): Use special-variable-p for completion.
109 * files.el (lexical-binding): Declare safe.
111 * emacs-lisp/pcase.el: Don't use destructuring-bind.
112 (pcase--memoize): Rename from pcase-memoize. Change weakness.
113 (pcase): Add `let' pattern.
114 Change memoization so it actually works.
115 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
116 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
119 * emacs-lisp/macroexp.el: Use lexical binding.
120 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
121 Don't convert ' to #' without checking that it's indeed quoting
124 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
125 Use eval-sexp-add-defvars.
126 (eval-sexp-add-defvars): New fun.
128 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
130 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
132 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
133 than the internal `byte-compile-lambda'.
134 (defmethod): Don't hide code under quotes.
135 (eieio-defmethod): New `code' argument.
137 * emacs-lisp/eieio-comp.el: Remove.
139 * emacs-lisp/edebug.el (edebug-eval-defun)
140 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
141 (edebug-toggle): Avoid `eval'.
143 * emacs-lisp/disass.el (disassemble-internal): Handle new
145 (disassemble-1): Handle new byte codes.
147 * emacs-lisp/cl.el (pushnew): Silence warning.
149 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
150 (cl-byte-compile-throw): Remove.
151 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
153 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
156 * emacs-lisp/cconv.el: New file.
158 * emacs-lisp/bytecomp.el: Use lexical binding instead of
159 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
160 (byte-compile-initial-macro-environment):
161 Handle declare-function here.
162 (byte-compile--lexical-environment): New var.
163 (byte-stack-ref, byte-stack-set, byte-discardN)
164 (byte-discardN-preserve-tos): New lap codes.
165 (byte-interactive-p): Don't use any more.
166 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
168 (byte-compile-lapcode): Use them and handle new lap codes.
169 (byte-compile-obsolete): Remove.
170 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
171 (byte-compile-arglist-warn): Check late def of inlinable funs.
172 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
173 since they should have been expanded by now.
174 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
175 (byte-compile-from-buffer): Remove unused second arg.
176 (byte-compile-preprocess): New function.
177 (byte-compile-toplevel-file-form): New function to distinguish
178 file-form calls from outside from file-form calls from hunk-handlers.
179 (byte-compile-file-form): Simplify.
180 (byte-compile-file-form-defsubst): Remove.
181 (byte-compile-file-form-defmumble): Simplify now that
182 byte-compile-lambda always returns a byte-code-function.
183 (byte-compile): Preprocess.
184 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
185 Remove, not used any more.
186 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
187 (byte-compile-make-args-desc): New funs.
188 (byte-compile-lambda): Handle lexical functions. Always return
189 a byte-code-function.
190 (byte-compile-reserved-constants): New var, to make up room for
191 closed-over variables.
192 (byte-compile-constants-vector): Obey it.
193 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
194 (byte-compile-macroexpand-declare-function): New function.
195 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
197 (byte-compile-form): Check obsolescence here.
198 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
199 (byte-compile-variable-ref): Remove.
200 (byte-compile-dynamic-variable-op): New fun.
201 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
202 (byte-compile-variable-set): New funs.
203 (byte-compile-discard): Add 2 args.
204 (byte-compile-stack-ref, byte-compile-stack-set)
205 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
206 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
207 macroexpand-all instead.
208 (byte-compile-quote-form): Remove.
209 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
210 (byte-compile-bind, byte-compile-unbind): New funs.
211 (byte-compile-let): Handle let* and lexical binding.
212 (byte-compile-let*): Remove.
213 (byte-compile-catch, byte-compile-unwind-protect)
214 (byte-compile-track-mouse, byte-compile-condition-case):
215 Handle a new :fun-body form, used for lexical scoping.
216 (byte-compile-save-window-excursion)
217 (byte-compile-with-output-to-temp-buffer): Remove.
218 (byte-compile-defun): Simplify.
219 (byte-compile-stack-adjustment): New fun.
220 (byte-compile-out): Use it.
221 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
223 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
226 * emacs-lisp/byte-opt.el: Use lexical binding.
227 (byte-inline-lapcode): Remove (to bytecomp).
228 (byte-compile-inline-expand): Pay attention to inlining to/from
229 lexically bound code.
230 (byte-compile-unfold-lambda): Don't handle byte-code-functions
232 (byte-optimize-form-code-walker): Don't handle save-window-excursion
233 any more and don't call compiler-macros.
234 (byte-compile-splice-in-already-compiled-code): Remove.
235 (byte-code): Don't inline any more.
236 (disassemble-offset): Receive `bytes' as argument rather than via
238 (byte-compile-tag-number): Declare before first use.
239 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
240 `return' even if make-spliceable.
241 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
242 obsolete interactive-p.
243 (byte-optimize-lapcode): Optimize new lap-codes.
244 Don't trip up on new form of `byte-constant' lap code.
246 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
248 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
250 * custom.el (custom-initialize-default, custom-declare-variable):
253 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
255 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
256 (COMPILE_FIRST): Add macroexp and cconv.
257 * makefile.w32-in: Mirror changes in Makefile.in.
264 * textmodes/bibtex-style.el:
273 * emacs-lisp/smie.el:
276 * abbrev.el: Use lexical binding.
278 2011-04-01 Eli Zaretskii <eliz@gnu.org>
280 * info.el (info-display-manual): New function.
282 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
284 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
286 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
288 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
289 an entry for that server in rcirc-authinfo. (Bug#8385)
291 2011-03-31 Glenn Morris <rgm@gnu.org>
293 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
295 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
297 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
299 * progmodes/python.el (python-default-interpreter)
300 (python-python-command-args, python-jython-command-args)
301 (python-which-shell, python-which-args, python-which-bufname)
302 (python-file-queue, python-comint-output-filter-function)
303 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
304 variables and functions.
306 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
308 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
309 (completion-in-region-mode): New minor mode.
310 (completion-in-region): Use it.
311 (completion-in-region--data, completion-in-region-mode-map): New vars.
312 (completion-in-region--postch): New function.
313 (completion--capf-misbehave-funs, completion--capf-safe-funs):
315 (completion--capf-wrapper): New function.
316 (completion-at-point): Use it to track well-behavedness of
318 (completion-help-at-point): New command.
320 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
322 * vc/add-log.el (add-change-log-entry): Don't use whitespace
323 syntax class to search for whitespace on a single line
324 (Message-ID: <4D938140.4030905@redhat.com>).
326 2011-03-30 Leo Liu <sdl.web@gmail.com>
328 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
330 (edit-abbrevs-map): Bind them here.
331 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
333 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
335 * allout.el (allout-hide-by-annotation, allout-flag-region):
336 Reduce possibility of overlay leakage by making them volatile.
338 * allout-widgets.el (allout-widgets-tally): Define as nil so the
339 hash is not shared between buffers. Mode initialization is
340 responsible for giving it a useful starting value.
341 (allout-item-span): Reduce possibility of overlay leakage by
342 making them volatile.
343 (allout-widgets-count-buttons-in-region): Add diagnostic function
344 for tracking down button overlay leaks.
346 2011-03-29 Leo Liu <sdl.web@gmail.com>
348 * ido.el (ido-read-internal): Use the default history var
349 minibuffer-history if no HISTORY is specified.
351 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
353 * net/imap.el (imap-shell-open, imap-process-connection-type):
354 Use imap-process-connection-type for 'shell' streams as well as
355 Kerberos, SSL, other subprocesses.
357 2011-03-28 Leo Liu <sdl.web@gmail.com>
359 * abbrev.el (abbrev-table-empty-p): New function.
360 (prepare-abbrev-list-buffer): Place empty abbrev tables after
361 nonempty ones. (Bug#5937)
363 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
365 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
367 2011-03-27 Leo Liu <sdl.web@gmail.com>
369 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
370 for foreground and background colors.
371 (ansi-color-make-color-map): Adapt.
373 2011-03-25 Leo Liu <sdl.web@gmail.com>
375 * midnight.el (midnight-time-float): Remove. Note it calculates
376 the microsecond component incorrectly and seconds-to-time does the
378 Remove redundant (require 'timer).
380 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
381 (ido-completions): Remove unused arguments. (Bug#8329)
383 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
385 * minibuffer.el (completion--flush-all-sorted-completions):
386 Remove itself from hook.
387 (completion-at-point): Let the functions perform the completion
388 immediately and return nil or t.
389 * comint.el (comint-dynamic-complete-functions): Now identical to
390 completion-at-point-functions.
391 (comint-dynamic-list-input-ring): Remove unused var `index'.
392 (comint--match-partial-filename, comint--unquote&expand-filename):
393 New funs, split from comint-match-partial-filename.
394 (comint-dynamic-complete): Use completion-at-point.
395 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
397 2011-03-24 Drew Adams <drew.adams@oracle.com>
399 * thingatpt.el: Support `defun'.
401 2011-03-23 Leo Liu <sdl.web@gmail.com>
403 * abbrevlist.el: Move to obsolete/abbrevlist.el.
405 * help-mode.el (help-mode-finish): Tweak regexp.
407 2011-03-23 Glenn Morris <rgm@gnu.org>
409 * eshell/esh-opt.el (eshell-eval-using-options):
410 Do not bind unused local variable `eshell-option-stub'.
412 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
414 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
416 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
417 keymap variable in `with-no-warnings' to avoid a warning when the
418 keymap has been already `defconst'ed.
420 2011-03-22 Leo Liu <sdl.web@gmail.com>
422 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
423 encode all chars in abbrevs; otherwise use emacs-mule or
424 utf-8-emacs. (Bug#8308)
426 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
428 * simple.el (backward-delete-char-untabify):
429 Avoid warning about using `delete-backward-char'.
431 * image.el (image-type-file-name-regexps): Make it variable.
432 `imagemagick-register-types' modifies it, and the user may want
433 to add new extensions for known image types.
434 (imagemagick-register-types): Throw error if not using ImageMagick.
436 2011-03-22 Leo Liu <sdl.web@gmail.com>
438 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
439 located before rcirc-prompt-end-marker.
440 (rcirc-complete): Error if point is not after rcirc prompt.
441 Handle the case when table is nil.
442 (rcirc-user-authenticated): Define to fix compiler warning.
444 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
446 * custom.el (custom--inhibit-theme-enable): Make it affect only
447 custom-theme-set-variables and custom-theme-set-faces.
448 (provide-theme): Ignore custom--inhibit-theme-enable.
449 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
450 (custom-enabling-themes): Delete variable.
451 (enable-theme): Accept only loaded themes as arguments.
452 Ignore the special custom-enabled-themes variable.
453 (custom-enabled-themes): Forbid themes from setting this.
454 Eliminate use of custom-enabling-themes.
455 (custom-push-theme): Quote "changed" custom var entry.
457 2011-03-21 Leo Liu <sdl.web@gmail.com>
459 * ido.el (ido-read-internal): Add ido-selected to history instead
462 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
464 * subr.el (deferred-action-list, deferred-action-function):
467 2011-03-21 Leo Liu <sdl.web@gmail.com>
469 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
470 change on 2011-02-13 (bug#8309).
472 * minibuffer.el (read-file-name-function): Change default value.
473 (read-file-name--defaults): Rename from read-file-name-defaults.
474 (read-file-name-default): Rename from read-file-name.
475 (read-file-name): Call read-file-name-function.
477 2011-03-21 Glenn Morris <rgm@gnu.org>
479 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
482 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
484 * cus-theme.el: Add missing provide statement.
485 (customize-create-theme): Extract theme value correctly.
486 (custom-theme-visit-theme): Autoload.
487 (customize-create-theme): Prompt before inserting default faces.
489 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
491 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
492 units and musical notes.
494 2011-03-20 Leo <sdl.web@gmail.com>
496 * ido.el (ido-read-internal): Use completing-read-default.
497 (ido-completing-read): Fix compatibility with completing-read.
499 2011-03-20 Christian Ohler <ohler@gnu.org>
501 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
502 (ert-delete-all-tests): Use `called-interactively-p' rather than
504 (ert--make-xrefs-region): Respect END.
506 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
508 * dired-aux.el (dired-create-directory): Signal an error if the
509 directory already exists (Bug#8246).
511 * facemenu.el (list-colors-display): Call list-faces-display
512 inside with-help-window.
513 (list-colors-print): Use display property to align the final
514 column, instead of checking window-width.
516 2011-03-19 Eli Zaretskii <eliz@gnu.org>
518 * emerge.el (emerge-metachars): Separate value for ms-dos and
520 (emerge-protect-metachars): Quote correctly for ms-dos and
523 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
525 * info.el (info-initialize): Replace all uses of `:' with
526 path-separator for compatibility with non-Unix systems.
527 Cache quoting of path-separator. (Bug#8258)
529 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
531 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
532 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
533 (mouse-avoidance-mode): Fix typos in docstrings.
535 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
537 * startup.el (package-subdirectory-regexp): Move from package.el.
538 Omit \\` and \\', and let callers add them.
540 * emacs-lisp/package.el (package-strip-version)
541 (package-load-all-descriptors): Add \\` and \\' to
542 package-subdirectory-regexp before using it.
543 (package-untar-buffer): New arg DIR; ensure that file untars only
544 into this expected directory. Remove superfluous delete-region.
545 (package-unpack): Caller changed.
546 (package-tar-file-info): Use package-subdirectory-regexp.
548 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
550 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
551 diff-mode-shared-map (bug#8284).
552 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
554 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
556 * calendar/time-date.el (format-seconds): Use assoc instead of
557 assoc-string, since assoc-string doesn't exist in XEmacs.
559 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
561 * custom.el (custom-known-themes): Reflow docstring.
562 (custom-theme-load-path): Fix typo in docstring.
563 (load-theme): Fix typo in error message.
564 (custom-available-themes, custom-variable-theme-value):
565 Use `let', not `let*'.
567 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
569 * calc/README: Mention inclusion of musical notes.
571 * calc/calc-units.el (calc-lu-quant): Rename from
572 `calc-logunits-quantity'.
573 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
574 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
575 (calc-db): Rename from `calc-dblevel'.
576 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
577 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
578 (calc-np): Rename from `calc-nplevel'.
579 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
580 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
581 (calc-lu-plus): Rename from `calc-logunits-add'.
582 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
583 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
584 (calc-lu-minus): Rename from `calc-logunits-sub'.
585 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
586 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
587 (calc-lu-times): Rename from `calc-logunits-mul'.
588 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
589 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
590 (calc-lu-divide): Rename from `calc-logunits-div'.
591 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
592 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
594 * calc/calc-ext.el (calc-init-extensions): Update the names of the
595 functions being autoloaded.
597 * calc/calc.el (calc-lu-power-reference): Rename from
598 `calc-logunits-power-reference'.
599 (calc-lu-field-reference): Rename from
600 `calc-logunits-field-reference'.
602 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
604 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
606 * minibuffer.el (completion-all-sorted-completions):
607 Use :completion-cycle-penalty text property if present.
609 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
611 * allout.el (allout-yank-processing): Adjust for new rebulleting
612 regime so bullet being yanked is used without prompting the user
615 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
617 * startup.el (command-line): Warn the user that _emacs is deprecated.
619 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
621 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
622 (delphi-verbose, delphi-comment-face, delphi-string-face)
623 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
624 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
625 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
626 (delphi-new-comment-line, delphi-font-lock-defaults)
627 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
628 Fix typos in docstrings.
630 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
632 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
633 Invert the roles of character and string values for INSTEAD, so a
634 string is used for the more common case of a defaulting prompt.
636 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
638 * progmodes/ruby-mode.el (ruby-backward-sexp):
639 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
640 * play/gamegrid.el (gamegrid-make-face):
641 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
642 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
643 * notifications.el (notifications-notify):
644 * net/xesam.el (xesam-search-engines):
645 * net/quickurl.el (quickurl-list-insert):
646 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
648 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
650 * startup.el (command-line): Update package subdirectory regexp.
652 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
654 * allout.el (allout-abbreviate-flattened-numbering)
655 (allout-mode-deactivate-hook): Fix up obsolescence "date".
657 * subr.el (read-char-choice): Only show the cursor after the prompt,
658 not after the answer.
660 2011-03-15 Kevin Ryde <user42@zip.com.au>
662 * help-fns.el (variable-at-point): Skip leading quotes, if any
665 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
667 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
670 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
672 * shell.el (shell): When called interactively, offer to change the
673 shell file name on remote hosts.
675 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
677 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
678 integration for LDAP parameters. The host, base, user or binddn,
679 and secret tokens can be specified in a netrc file, for instance.
680 This is optional because an `auth-source' parameter must be
681 specified in the search attributes.
683 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
685 * help.el (describe-mode): Link to the mode's definition (bug#8185).
687 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
689 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
690 into declaration. Remove redundant and harmful binding.
692 2011-03-12 Eli Zaretskii <eliz@gnu.org>
694 * files.el (file-ownership-preserved-p): Pass `integer' as an
695 explicit 2nd argument to `file-attributes'. If the file's owner
696 is the Administrators group on Windows, and the current user is
697 Administrator, consider that a match.
699 * server.el (server-ensure-safe-dir): Consider server directory
700 safe on MS-Windows if its owner is the Administrators group while
701 the current Emacs user is Administrator. Use `=' to compare
702 numerical UIDs, since they could be integers or floats.
704 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
706 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
708 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
710 Sync with Tramp 2.2.1.
712 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
714 * net/trampver.el: Update release number.
716 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
718 * progmodes/compile.el (compilation--previous-directory): Fix up
719 various nil/dead-marker mismatches (bug#8014).
720 (compilation-directory-properties, compilation-error-properties):
721 Don't call it at a position past the one we're about to change.
723 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
724 Disable obsolescence warnings in the file that declares it.
726 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
728 * allout-widgets.el (allout-widgets-tally): Initialize
729 allout-widgets-tally as a hash table rather than nil to prevent
730 mode-line redisplay warnings.
731 Also, clarify the module description and fix a comment typo.
733 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
735 * help-fns.el (describe-variable): Don't complete keywords.
736 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
738 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
740 * emacs-lisp/package.el (package-version-join): Impose a standard
741 string representation for pre/alpha/beta version lists.
742 (package-unpack-single): Standardize the directory name by passing
743 it through package-version-join.
744 (package-strip-rcs-id): Accept any version string that does not
745 signal an error in version-to-list.
747 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
749 * simple.el (delete-trailing-whitespace): Return nil for the
750 benefit of `write-file-functions'.
752 2011-03-10 Glenn Morris <rgm@gnu.org>
754 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
756 * vc/vc-git.el (vc-git-program): New option.
757 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
758 (vc-git--call): Use it.
760 * eshell/esh-util.el (eshell-condition-case): Doc fix.
762 * cus-edit.el (Custom-newline): If no button at point, look
763 for a subgroup button at start-of-line. (Bug#2298)
765 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
767 2011-03-10 Julien Danjou <julien@danjou.info>
769 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
770 `cursor-type' is nil.
772 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
774 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
776 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
778 * allout.el Summary: Change so yank of distinctive-bullet items
779 preserves the existing header prefix, rebulleting it if necessary,
780 rather than replacing it. This is necessary for proper operation
781 of cooperative addons like allout-widgets.
782 (allout-make-topic-prefix, allout-rebullet-heading): Change
783 SOLICIT arg to INSTEAD, and interpret additionally a string value
784 as alternate bullet to be used, instead of prompting the user for
787 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
789 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
790 Do not use `tramp-file-name-port', because this returns also
791 `tramp-default-port'.
793 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
795 * net/rcirc.el (rcirc-handler-001): Remove useless
796 with-rcirc-process-buffer.
797 (rcirc-check-auth-status): Swap arguments to string-match.
799 2011-03-09 Glenn Morris <rgm@gnu.org>
801 * shell.el (shell-mode):
802 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
804 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
805 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
807 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
809 * emacs-lisp/package.el (package-refresh-contents)
810 (package-menu-execute): Use condition-case-no-debug.
812 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
814 * simple.el (shell-command-to-string): Use `process-file'.
816 * emacs-lisp/package.el (package-tar-file-info): Handle also
819 * emacs-lisp/package-x.el (package-upload-buffer-internal):
820 Use `equal' for upload base check.
822 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
824 * textmodes/texinfo.el (texinfo-environments):
825 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
827 2011-03-08 Glenn Morris <rgm@gnu.org>
829 * cus-start.el (cursor-in-non-selected-windows):
830 Fix :set quoting oddness. (Bug#8192)
832 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
833 in some setf expressions. (Bug#2159)
835 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
837 * custom.el (custom-available-themes): Return themes in
840 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
842 * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
843 application of patch from Alan Mackenzie (Bug#7595).
845 2011-03-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
847 * net/rcirc.el (rcirc-connect): Fix PASS bug.
849 2011-03-07 Glenn Morris <rgm@gnu.org>
851 * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
852 Give an explicit error if failed to make writable. (Bug#6146)
854 2011-03-07 Ed Reingold <reingold@emr.cs.iit.edu>
856 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
857 Add optional `after-sunset' argument. (Bug#8190)
859 2011-03-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
861 * play/morse.el (nato-alphabet, nato-region, denato-region):
862 New variable and functions. (Bug#2288)
863 (morse-region, unmorse-region): Barf if read-only.
865 2011-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
867 * progmodes/gud.el (gdb-script-syntax-propertize-function):
868 Don't change the syntax of a \n that closes a comment (bug#8169).
870 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
872 * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
874 (package--update-file): Doc fix. Accept relative file names.
875 (package--archive-contents-from-file): Remove the argument, since
876 it's necessarily always "archive-contents".
877 (package-maint-add-news-item): Pass relative file name args to
878 package--update-file.
879 (package-upload-buffer-internal): Prompt for a destination if
880 package-archive-upload-base is invalid. Create the directory if
882 (package-upload-buffer, package-upload-file): Doc fix.
884 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
886 * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
887 and move isearch-yank-line to M-s C-e (Bug#8183).
889 2011-03-06 Alan Mackenzie <acm@muc.de>
891 * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
892 (c-guess-basic-syntax): Move CASE 19 to a different place,
893 correctly to process template-args-cont lines.
895 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
897 * calc/calc-ext.el (calc-init-extensions):
898 Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
899 and calc-nplevel, respectively. Add keybindings for calc-spn,
900 calc-midi and calc-freq. Add autoloads for calcFunc-spn,
901 calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
903 * calc/calc-units.el (calc-dblevel): Rename from
904 calc-logunits-dblevel.
905 (calc-nplevel): Rename from calc-logunits-nplevel.
906 (math-midi-round, math-freqp, math-midip, math-spnp)
907 (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
908 (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
909 (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
910 (math-notes): New variable.
912 * calc/calc.el (calc-note-threshold): New variable.
914 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
916 * emacs-lisp/package.el (package-archives): Accept either ordinary
917 directory names, in addition to HTTP URLs.
918 (package--with-work-buffer): New macro. Handle normal directories.
919 (package-handle-response): Don't display the failing buffer.
920 (package-download-single, package-download-tar)
921 (package--download-one-archive): Use package--with-work-buffer.
922 (package-archive-base): Rename from package-archive-url.
924 2011-03-06 Glenn Morris <rgm@gnu.org>
926 * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
927 (xmodmap-generic-mode): Respect generic-extras-enable-list.
929 2011-03-06 Daniel Clemente <dcl441-bugs@yahoo.com> (tiny change)
931 * generic-x.el (xmodmap-generic-mode): New. (Bug#2065)
933 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
935 * allout.el (allout-init, allout-prefixed-keybindings)
936 (allout-unprefixed-keybindings):
937 * progmodes/prolog.el (prolog-find-term):
938 Fix typos in docstrings.
940 2011-03-06 Nikolaj Schumacher <me@nschum.de> (tiny change)
942 * emacs-lisp/elp.el (elp-results): Fix off-by-one in header. (Bug#2746)
944 2011-03-06 Kevin Ryde <user42@zip.com.au>
946 * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc. (Bug#5326)
948 2011-03-06 Michael Shields <shields@msrl.com> (tiny change)
950 * window.el (one-window-p, walk-windows, display-buffer):
951 Doc fixes. (Bug#5567)
953 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
955 * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
956 of the variable if it exists.
958 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
965 * net/tramp-cache.el:
966 * obsolete/fast-lock.el:
967 * textmodes/reftex.el:
968 Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
970 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
972 * files.el (delete-directory, copy-directory, list-directory):
973 Use read-directory-name.
975 * find-file.el (ff-find-the-other-file):
976 * net/ange-ftp.el (ange-ftp-make-directory):
977 * printing.el (pr-interactive-dir):
978 * progmodes/ada-prj.el (ada-prj-load-directory):
979 * progmodes/ebnf2ps.el (ebnf-print-directory)
980 (ebnf-spool-directory, ebnf-eps-directory)
981 (ebnf-syntax-directory):
983 * speedbar.el (speedbar-create-directory):
984 * vc/emerge.el (emerge-merge-directories):
985 * vc/vc-dir.el (vc-dir):
986 * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
988 2011-03-05 Chong Yidong <cyd@stupidchicken.com>
990 * help-mode.el (help-buffer): If we are to return the current
991 buffer, signal an error if it's not in Help mode (Bug#8147).
993 2011-03-05 Reuben Thomas <rrt@sc3d.org>
995 * files.el (file-name-version-regexp): Handle backup files of the
996 form `foo.js.~HEAD~1~' (Bug#8159).
998 2011-03-05 Glenn Morris <rgm@gnu.org>
1000 * eshell/esh-var.el: Don't require esh-test when compiling.
1001 * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
1002 * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
1003 * eshell/esh-test.el: Move to ../../test/eshell.el.
1005 2011-03-05 David Engster <deng@randomsample.de>
1007 * files.el (save-some-buffers): Report the names of buffers saved
1008 automatically due to buffer-save-without-query (Bug#8134).
1010 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1012 * net/rcirc.el: Add QuakeNet authentication support.
1013 (rcirc-authinfo, rcirc-check-auth-status)
1014 (rcirc-authenticate): Support QuakeNet.
1016 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1018 * net/rcirc.el: Add functionality to authenticate before
1019 autojoining channels.
1020 (rcirc-authenticate-before-join): New option.
1021 (rcirc-authenticated-hook): New variable.
1022 (rcirc-connect): Make local variable rcirc-user-authenticated.
1023 (rcirc-handler-001): Respect rcirc-authenticate-before-join.
1024 (rcirc-check-auth-status, rcirc-join-channels-post-auth):
1026 (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
1027 Call rcirc-check-auth-status.
1029 2011-03-05 Alex Harsanyi <AlexHarsanyi@gmail.com>
1031 * net/soap-client.el (soap-namespace-put-link): Check if the target
1032 name is fully qualified -- use only the name part.
1033 (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
1034 types, treated the same as xsd:sequence. (Bug#8166)
1036 2011-03-05 Eli Zaretskii <eliz@gnu.org>
1038 * files.el (find-file-noselect): Don't ask about re-visiting
1039 non-literally if the file is already visited in image-mode.
1042 2011-03-05 Glenn Morris <rgm@gnu.org>
1044 * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
1045 (eshell-mode): Use eshell-kill-buffer-function.
1046 Run the -initialize functions independently of the -load-hooks.
1047 * eshell/esh-proc.el (eshell-kill-process-function): New function.
1048 (eshell-gather-process-output, eshell-sentinel)
1049 (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
1050 Use eshell-kill-process-function.
1051 * eshell/em-alias.el (eshell-alias-load-hook):
1052 * eshell/em-banner.el (eshell-banner-load-hook):
1053 * eshell/em-cmpl.el (eshell-cmpl-load-hook):
1054 * eshell/em-dirs.el (eshell-dirs-load-hook):
1055 * eshell/em-glob.el (eshell-glob-load-hook):
1056 * eshell/em-hist.el (eshell-hist-load-hook):
1057 * eshell/em-pred.el (eshell-pred-load-hook):
1058 * eshell/em-prompt.el (eshell-prompt-load-hook):
1059 * eshell/em-rebind.el (eshell-rebind-load-hook):
1060 * eshell/em-script.el (eshell-script-load-hook):
1061 * eshell/em-smart.el (eshell-smart-load-hook):
1062 * eshell/em-term.el (eshell-term-load-hook):
1063 * eshell/em-unix.el (eshell-unix-load-hook):
1064 * eshell/esh-arg.el (eshell-arg-load-hook):
1065 * eshell/esh-cmd.el (eshell-cmd-load-hook):
1066 * eshell/esh-ext.el (eshell-ext-load-hook):
1067 * eshell/esh-io.el (eshell-io-load-hook):
1068 * eshell/esh-mode.el (eshell-exit-hook):
1069 * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
1070 * eshell/esh-var.el (eshell-var-load-hook):
1071 Set default hook values to nil. (Bug#5375)
1073 * eshell/esh-module.el (eshell-module-unload-hook)
1074 (eshell-modules-list): Remove leading * from defcustom docs.
1076 * eshell/esh-util.el (eshell-for): Make it obsolete.
1077 * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
1078 * eshell/em-dirs.el (eshell-save-some-last-dir):
1079 * eshell/em-hist.el (eshell-save-some-history)
1080 (eshell-hist-parse-modifier):
1081 * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
1082 (eshell-ls-entries):
1083 * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
1084 * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
1086 * eshell/esh-ext.el (eshell-find-interpreter):
1087 * eshell/esh-mode.el (eshell-mode):
1088 * eshell/esh-module.el (eshell-unload-extension-modules):
1089 * eshell/esh-proc.el (eshell-process-interact):
1090 * eshell/esh-test.el (eshell-test):
1091 * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
1092 * eshell/esh-var.el (eshell/env, eshell-environment-variables)
1093 (eshell-variables-list):
1094 * eshell/eshell.el (eshell-unload-all-modules):
1095 Replace eshell-for with dolist.
1097 2011-03-04 Glenn Morris <rgm@gnu.org>
1099 * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0. (Bug#8170)
1101 2011-03-04 Tom Tromey <tromey@redhat.com>
1103 * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
1105 2011-03-04 Glenn Morris <rgm@gnu.org>
1107 * outline.el (outline-regexp): No longer allow nil.
1108 (outline-heading-end-regexp): Add safety predicate. (Bug#7619)
1110 * net/browse-url.el (browse-url):
1111 Handle deleted default-directory. (Bug#6077)
1113 * recentf.el (recentf-include-p): In case of a buggy predicate,
1114 err on the side of including, not excluding. (Bug#5843)
1116 2011-03-04 Jay Belanger <jay.p.belanger@gmail.com>
1118 * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
1121 2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
1123 * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
1124 if there is no node. (Bug#3261)
1126 2011-03-04 Leo <sdl.web@gmail.com>
1128 * vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
1130 * time.el (display-time-world-list): Fix typo. (Bug#7571)
1132 2011-03-04 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
1134 * cus-edit.el (custom-buffer-create-internal):
1135 Split search string before passing it to `customize-apropos' (bug#8136).
1137 2011-03-04 Drew Adams <drew.adams@oracle.com>
1139 * image-dired.el (image-dired-cmd-read-exif-data-options):
1140 Fix typo in docstring (bug#8156).
1142 2011-03-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1144 * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
1146 2011-03-03 Christian Ohler <ohler@gnu.org>
1148 * emacs-lisp/ert.el (ert--explain-equal): New function.
1149 (ert--explain-equal-rec): Rename from `ert--explain-not-equal'.
1150 All callers changed.
1151 (ert--explain-equal-including-properties): Rename from
1152 `ert--explain-not-equal-including-properties'. All callers
1155 2011-03-03 Christian Ohler <ohler@gnu.org>
1157 * emacs-lisp/ert.el (ert--stats-set-test-and-result)
1158 (ert-char-for-test-result, ert-string-for-test-result)
1159 (ert-run-tests-batch, ert--print-test-for-ewoc):
1160 Handle `ert-test-quit'.
1162 2011-03-03 David Abrahams <dave@boostpro.com> (tiny change)
1164 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1165 Move ediff-defvar-local calls after defcustoms. (Bug#1821)
1167 2011-03-03 Glenn Morris <rgm@gnu.org>
1169 * files.el (file-truename): Doc fix. (Bug#2341)
1171 2011-03-03 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1173 * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
1175 2011-03-03 Vagn Johansen <gonz808@hotmail.com> (tiny change)
1177 * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
1178 programs output backslashes. (Bug#7663)
1180 2011-03-03 Glenn Morris <rgm@gnu.org>
1182 * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
1183 (mail-mode): Remove mail-sent-via from the doc.
1184 (mail-sent-via): Make it obsolete. (Bug#1776)
1186 * progmodes/grep.el (grep-highlight-matches): Doc fix.
1187 (grep-process-setup): No highlighting without font-lock. (Bug#8084)
1189 * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
1190 with no parents. (Bug#8025)
1192 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
1194 * password-cache.el (password-in-cache-p): Add autoload.
1196 2011-03-02 Glenn Morris <rgm@gnu.org>
1198 * man.el (Man-support-local-filenames): Also handle Red Hat's man.
1199 * dired-x.el (Man-support-local-filenames): Autoload it.
1200 (dired-guess-shell-alist-default): Also handle Red Hat's man.
1202 * dired-x.el (dired-default-directory-alist, dired-default-directory):
1204 (dired-smart-shell-command): Just call dired-current-directory.
1206 * dired-x.el (dired-jump-other-window): Add autoload.
1207 (dired-default-directory-alist, dired-default-directory): Doc fixes.
1208 (dired-default-directory-alist): Mark as risky.
1210 * dired-x.el (dired-omit-here-always): Make it obsolete.
1212 2011-03-02 Chong Yidong <cyd@stupidchicken.com>
1214 * textmodes/artist.el (artist-curr-go): Default to pen-line.
1215 (artist-select-op-pen-line): New function.
1216 (artist-menu-map): New variable.
1217 (artist-mode-map): Add a menu to the menu-bar.
1219 2011-03-02 Jay Belanger <jay.p.belanger@gmail.com>
1221 * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
1224 * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
1226 (math-logunits-add, math-logunits-mul, math-logunits-divide):
1227 (math-logunits-quant, math-logunits-level):
1228 Use `math-conditional-apply' and `math-conditional-pow' to evaluate
1230 (math-logunits-level): Extract units from ratio.
1232 2011-03-01 Juanma Barranquero <lekktu@gmail.com>
1234 * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
1236 2011-03-01 Glenn Morris <rgm@gnu.org>
1238 * calendar/cal-hebrew.el (calendar-hebrew-birthday)
1239 (diary-hebrew-birthday): Rename and rework functions added
1242 2011-03-01 Ed Reingold <reingold@emr.cs.iit.edu>
1244 * calendar/cal-hebrew.el (hebrew-calendar-birthday)
1245 (diary-hebrew-birthday): New functions.
1247 2011-03-01 Glenn Morris <rgm@gnu.org>
1249 * dired.el (dired-safe-switches-p): Beef it up.
1250 (dired-actual-switches): Use it for the safe-local prop. (Bug#3230)
1252 2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
1254 * dired.el (dired-safe-switches-p): New function.
1256 2011-03-01 Glenn Morris <rgm@gnu.org>
1258 * files.el (dir-locals-collect-variables):
1259 Add the ability to exclude subdirectories. (Bug#8100)
1261 * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
1263 2011-02-28 Christoph Scholtes <cschol2112@googlemail.com>
1265 * ido.el (ido-everywhere): Doc fix.
1266 (ido-mode): Doc fix.
1268 2011-02-28 Glenn Morris <rgm@gnu.org>
1270 * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
1272 2011-02-28 Michael Albinus <michael.albinus@gmx.de>
1274 * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
1277 2011-02-28 Antoine Levitt <antoine.levitt@gmail.com>
1279 * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
1281 2011-02-28 Juanma Barranquero <lekktu@gmail.com>
1283 * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
1284 Fix typos in docstrings.
1286 2011-02-28 Stephen Berman <stephen.berman@gmx.net>
1288 * dired-aux.el (dired-update-file-line):
1289 Fix 2010-11-09 change. (Bug#8131)
1291 2011-02-28 Eli Zaretskii <eliz@gnu.org>
1293 * international/mule-cmds.el (set-default-coding-systems): Use the
1294 -unix variant of encoding in default-keyboard-coding-system.
1297 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
1299 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
1301 2011-02-27 Prestoo Ten <prestooten@gmail.com> (tiny change)
1303 * term/screen.el: New file (Bug#2650).
1305 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
1307 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
1308 (pcase-mutually-exclusive-predicates): New var.
1309 (pcase--split-consp, pcase--split-pred): Use it.
1310 (pcase--split-equal, pcase--split-member): When splitting against
1311 a pure predicate, run it to know the outcome.
1312 (pcase--u1): Mark vars that are actually used.
1313 (pcase--q1): Avoid introducing unused vars.
1315 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
1317 * calc/calc-ext.el (calc-init-extensions):
1318 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
1320 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
1323 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
1324 argument is a variable.
1326 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1328 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
1329 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
1330 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
1332 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
1334 * password-cache.el (password-in-cache-p): Convenience function to
1335 check if a key is in the cache, even if the value is nil.
1337 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
1339 * emacs-lisp/package-x.el (package--archive-contents-from-url)
1340 (package--archive-contents-from-file): New functions.
1341 (package-update-news-on-upload): New var.
1342 (package-upload-buffer-internal): Extract archive-contents from
1343 package-archive-upload-base if it is not found at archive-url.
1344 Obey package-update-news-on-upload.
1345 (package-upload-buffer, package-upload-file): Doc fix.
1347 2011-02-24 Glenn Morris <rgm@gnu.org>
1349 * files-x.el (modify-dir-local-variable): Handle dir-locals from
1350 the cache, and from non-file sources.
1352 * help-fns.el (describe-variable): Return consistent results when a
1353 dir-local from a file came from the cache or did not. (Bug#8095)
1354 If a dir-local has no associated file, say it came from a "directory".
1356 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
1357 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
1359 * files.el (dir-locals-find-file): Doc fix.
1360 Fix the check for cache elements that have no associated file,
1361 and the mtime check for those that do. (Bug#8095)
1363 * dired-x.el (dired-hack-local-variables):
1364 Handle interrupts during hacking local variables. (Bug#5216)
1366 * emacs-lisp/autoload.el (autoload-save-buffers)
1367 (autoload-find-destination, update-directory-autoloads):
1368 Avoid prompts when updating autoloads.
1370 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1372 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
1374 2011-02-23 Kenichi Handa <handa@m17n.org>
1376 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
1377 error when a multipart boundary in the nested multipart is found.
1379 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
1382 2011-02-23 Glenn Morris <rgm@gnu.org>
1384 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
1385 * dired-x.el (dired-omit-mode): Safe if boolean.
1386 (dired-enable-local-variables): Fix doc and custom type.
1387 (dired-enable-local-variables, dired-local-variables-file)
1388 (dired-hack-local-variables): Make obsolete.
1389 (dired-omit-here-always): Use dir-locals.el instead.
1391 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
1393 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
1395 * help-fns.el (describe-function-1): Don't signal an error just because
1396 the DOC file disappeared.
1398 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
1400 * eshell/esh-ext.el (eshell-external-command): Do not restrict
1401 remote check to "ftp". (Bug#8089)
1403 2011-02-21 Alan Mackenzie <acm@muc.de>
1406 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
1407 in macros finding their way into c-state-nonlit-pos-cache.
1408 Strengthen the comments.
1409 (c-state-dump): New commented out diagnostic routine.
1411 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
1413 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
1414 `field' property of `rfn-eshadow-overlay'.
1416 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
1418 * net/netrc.el (netrc-parse): Comment fix.
1420 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
1422 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
1423 Autoload. Add optional arg FRAME, and pass it to color-values.
1424 (color-complement): Caller changed. Doc fix.
1425 (color-gradient): Rewrite for better clarity and efficiency.
1427 * faces.el (color-values): Use cond for clarity. Doc fix.
1429 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
1431 (list-colors-sort-key, list-colors-print):
1432 Use color-normalized-values.
1434 2011-02-20 Drew Adams <drew.adams@oracle.com>
1436 * color.el: First part of merge from hexrgb.el.
1437 (color-rgb-to-hex): Rename from color-rgb->hex.
1438 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
1439 saturation to zero if the value is too small.
1440 (color-rgb-to-hsl): Rename from color-rgb->hsl.
1441 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
1442 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
1443 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
1444 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
1445 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
1446 (color-cie-de2000): Doc fix.
1448 2011-02-20 Alan Mackenzie <acm@muc.de>
1450 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
1451 locating the beginning of a macro. (Bug#7595)
1453 2011-02-20 Glenn Morris <rgm@gnu.org>
1455 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
1458 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1459 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
1461 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
1462 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
1464 * progmodes/hideshow.el (hs-find-block-beginning)
1465 (hs-hide-level-recursive): Ignore comments when parsing braces
1468 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1470 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
1471 (vc-bzr-pull): Use it.
1473 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1475 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
1476 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
1477 but returning an alist. Ignore comments in bzr conffile.
1478 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
1479 (vc-bzr-error-regex-alist): New var.
1480 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
1482 * vc/vc-dispatcher.el (vc-do-async-command):
1483 Bind inhibit-read-only to t.
1485 * progmodes/compile.el (compilation--flush-directory-cache):
1486 Handle the case where cdr of compilation--flush-directory-cache
1487 points to no buffer, which can occur if we previously switched to
1488 compilation-mode in a pregenerated buffer.
1490 2011-02-19 Kenichi Handa <handa@m17n.org>
1492 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
1493 get the header copy into the temporary buffer.
1494 (rmail-mime-insert-decoded-text): Ignore us-ascii.
1495 (rmail-show-mime): When rmail-mime-coding-system is nil, set
1496 buffer-file-coding-system to undecided.
1498 2011-02-19 Eli Zaretskii <eliz@gnu.org>
1500 * international/mule-cmds.el (read-char-by-name, ucs-insert):
1501 Document completion with asterisk and a substring.
1503 2011-02-19 Glenn Morris <rgm@gnu.org>
1505 * files.el (find-file-literally): Doc fix.
1507 * simple.el (rfc822-goto-eoh): Give it a doc-string.
1509 * log-edit.el (log-edit-insert-changelog):
1510 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
1512 2011-02-19 Glenn Morris <rgm@gnu.org>
1514 * dired-x.el: Don't require dired-aux.
1515 (dired-do-create-files, dired-mark-read-regexp)
1516 (dired-do-create-files-regexp): Autoload from dired-aux.
1518 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
1519 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
1521 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
1522 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
1524 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
1525 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
1526 (dired-clean-up-buffers-too): Declare.
1528 * dired-x.el (dired-initial-position): Merge into dired.el's version.
1529 * dired.el (dired-initial-position): Merge dired-x's version here.
1530 (dired-find-subdir): Declare.
1532 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
1533 * dired-aux.el (dired-add-entry): Give it a doc-string.
1534 Merge dired-x's dired-omit handling here.
1535 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
1537 * international/mule-diag.el (list-input-methods-1):
1538 Indent all lines of multi-line doc-strings. (Bug#8066)
1540 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
1542 Fix 2011-02-02 changes.
1544 * apropos.el (apropos-print): Call apropos-mode before setting up
1545 buffer variables. Use inhibit-read-only.
1547 * emacs-lisp/package.el (package--list-packages):
1548 Call package-menu-mode before setting up buffer variables.
1550 * play/solitaire.el (solitaire): Call solitaire-mode before
1551 setting up buffer variables. Use inhibit-read-only.
1553 2011-02-18 Lawrence Mitchell <wence@gmx.li>
1555 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
1556 Bind case-fold-search to nil when looking for end of here-doc.
1558 2011-02-18 Eli Zaretskii <eliz@gnu.org>
1560 * image-mode.el (image-toggle-display-image):
1561 Set find-file-literally non-nil in buffers visiting binary image
1564 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1566 * files.el (cd): Make completion obey cd-path (bug#7924).
1568 2011-02-18 Glenn Morris <rgm@gnu.org>
1570 * progmodes/prolog.el: Don't require compile when compiling.
1571 (compilation-shell-minor-mode, compilation-error-regexp-alist)
1572 (compilation-forget-errors, compilation-fake-loc)
1573 (compilation-parse-errors-function, compilation-error-list): Declare.
1574 (prolog-inferior-mode): Require 'compile.
1576 * emulation/cua-base.el (pc-selection-mode): Declare.
1578 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
1579 (customize-object): Add autoload cookie.
1580 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
1581 (eieio-browse, describe-class, eieio-describe-class)
1582 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
1583 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
1584 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
1585 * Makefile.in (autoloads): Make eieio.el writable.
1587 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
1588 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
1589 (dired-hack-local-variables): Use inhibit-read-only.
1590 (dired-guess-default): Simplify.
1591 (dired-make-relative-symlink): Use dotimes.
1592 (dired-simultaneous-find-file): Use dolist.
1593 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
1594 (dired-x-hands-off-my-keys): Doc fix.
1595 (dired-x-bind-find-file): Doc fix. Use remapping.
1596 (after-init-hook): No need to add dired-x-bind-find-file.
1597 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
1598 No need to call expand-file-name.
1599 (dired-filename-at-point): Remove unused locals `end', `filename'.
1601 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1603 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
1605 2011-02-18 Christian Ohler <ohler@gnu.org>
1607 * emacs-lisp/ert.el (ert--setup-results-buffer)
1608 (ert-results-pop-to-backtrace-for-test-at-point)
1609 (ert-results-pop-to-messages-for-test-at-point)
1610 (ert-results-pop-to-should-forms-for-test-at-point)
1611 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
1612 were incorrect and unnecessary. This should make `make check'
1615 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
1617 * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
1618 (allout-widgets-icons-dark-subdir): Track relocations of icons.
1619 * lisp/allout.el: Remove commentary about remove encryption
1620 passphrase mnemonic support and verification.
1621 (allout-encrypt-string): Recognize epg failure to decrypt gpg2
1622 armored text using gpg1, and indicate that the gpg version *might*
1623 be the problem in the error message.
1625 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1627 * net/rcirc.el (rcirc-float-time): New function.
1628 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
1629 (rcirc-ctcp-sender-PING): Use it.
1631 2011-02-17 Glenn Morris <rgm@gnu.org>
1633 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
1634 (speedbar-update-flag, speedbar-fetch-etags-command)
1635 (speedbar-fetch-etags-arguments):
1636 * term.el (term-buffer-maximum-size, term-input-chunk-size)
1637 (term-completion-autolist, term-completion-addsuffix)
1638 (term-completion-recexact, term-completion-fignore):
1639 * term/sup-mouse.el (sup-mouse-fast-select-window):
1640 * term/x-win.el (x-select-request-type):
1641 Convert some defvars with "*" to defcustoms.
1643 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
1645 * vc/vc.el (vc-default-previous-version):
1646 Remove alias that points nowhere. (Bug#4496)
1648 * dired-x.el (dired-clean-up-after-deletion):
1649 kill-buffer does not need save-excursion.
1650 (dired-do-run-mail): Doc fix.
1651 (dired-filename-at-point): Doc fix.
1652 Use looking-at, and skip-chars rather than re search.
1654 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
1656 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
1658 * allout-widgets.el: New allout extension that shows allout
1659 outline structure with graphical widgets. 'allout-widgets'
1660 customize group is an 'allout' subgroup, for easy discovery.
1662 * allout.el: Include PGP and GnuPG in Keywords, and other
1663 commentary refinements.
1664 (allout-abbreviate-flattened-numbering): Rename to
1665 allout-flattened-numbering-abbreviation, and
1666 define-obsolete-variable-alias the old name.
1667 (allout-flattened-numbering-abbreviation): Rename from
1668 allout-abbreviate-flattened-numbering.
1669 (allout-mode-p): Include among autoloads, for use by other modes
1671 (allout-listify-exposed):
1672 Use allout-flattened-numbering-abbreviation.
1673 (allout-encrypt-string): Use set-buffer-multibyte directly.
1674 (allout-set-buffer-multibyte): Remove.
1676 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1678 * simple.el (just-one-space): Remove useless `or' call.
1680 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1682 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
1683 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
1684 (soap-decoded-multi-refs, soap-current-wsdl)
1685 (soap-encoded-namespaces): Rename CL-style *...* variables.
1687 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
1689 * net/soap-client.el: Add "comm" and "hypermedia" to the
1690 keywords. Reflow too long lines.
1692 * net/soap-inspect.el: Ditto. Require 'cl.
1694 2011-02-16 Bastien Guerry <bzg@altern.org>
1696 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
1697 in a `doctor-type' argument.
1699 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1701 * net/soap-client.el:
1702 * net/soap-inspect.el: New files.
1704 2011-02-16 Leo <sdl.web@gmail.com>
1706 * dired-x.el (dired-mode-map, dired-extra-startup):
1707 Remove dired-copy-filename-as-kill since it's already in dired.el.
1709 2011-02-16 Glenn Morris <rgm@gnu.org>
1711 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
1712 Doc fixes. Add :set property, replacing top-level calls.
1713 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
1714 (dired-guess-shell-gnutar): Test tar version rather than system-type.
1715 (dired-extra-startup, dired-man, dired-info): Doc fixes.
1716 (dired-clean-up-after-deletion): Use when and dolist.
1717 (dired-jump): Use unless and when.
1718 (dired-virtual): Use line-end-position.
1719 (dired-default-directory-alist): Rename from default-directory-alist.
1720 (dired-default-directory): Update for above name change.
1721 (dired-vm): Drop VM < 5 and simplify.
1722 (dired-buffer-more-recently-used-p): Rewrite.
1723 (dired-filename-at-point): Use when and or.
1724 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
1727 2011-02-15 Glenn Morris <rgm@gnu.org>
1729 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
1731 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
1733 * vc/vc-git.el (vc-git-root-log-format): New option for
1734 customizing log format.
1735 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
1736 (vc-git-log-view-mode): Use it.
1737 (vc-git-expanded-log-entry): New function.
1738 (vc-git-log-view-mode): Use it. Truncate lines in root log.
1740 * vc/vc-hg.el (vc-hg-root-log-template): New option for
1741 customizing log format.
1742 (vc-hg-print-log): Use it.
1743 (vc-hg-expanded-log-entry): New function.
1744 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
1745 vc-hg-expanded-log-entry. Truncate lines in root log.
1747 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
1749 * vc/log-view.el (log-view-mode-menu):
1750 Add log-view-toggle-entry-display.
1752 2011-02-14 Glenn Morris <rgm@gnu.org>
1754 * dired-x.el: Don't require man when compiling.
1755 (dired-omit-extensions, dired-local-variables-file)
1756 (dired-x-hands-off-my-keys): Make them defcustoms.
1757 (Man-support-local-filenames, Man-getpage-in-background): Declare.
1758 (vm-visit-folder): Declare rather than defining.
1759 (dired-x-help-address, dired-x-variable-list): Remove.
1760 (dired-x-submit-report): Make it an obsolete alias.
1762 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
1764 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
1766 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1768 * net/imap.el: Bring it back.
1770 2011-02-13 Alan Mackenzie <acm@muc.de>
1772 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
1773 narrow-to-region call that cuts context off the end (Bug#7722).
1775 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1776 Refactor nested if-forms with a simple cond.
1777 (c-forward-<>-arglist): Revert 2011-01-31 change.
1779 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1781 * vc/log-view.el: New command log-view-toggle-entry-display for
1782 toggling log entries between concise and detailed forms.
1783 (log-view-toggle-entry-display): New command.
1784 (log-view-mode-map): Bind RET to it.
1785 (log-view-expanded-log-entry-function): New variable.
1786 (log-view-current-entry, log-view-inside-comment-p)
1787 (log-view-current-tag): New functions.
1788 (log-view-toggle-mark-entry): Use log-view-current-entry and
1789 log-view-end-of-defun instead of searching directly with
1790 log-view-message-re.
1791 (log-view-end-of-defun): Likewise. Add optional ARG for
1792 compatibility with end-of-defun.
1793 (log-view-end-of-defun): Ignore comments and VC buttons.
1795 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
1796 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
1798 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1800 * net/imap.el: Remove file. All the functionality is in nnimap.el.
1802 * net/imap-hash.el: Remove file.
1804 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
1806 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
1808 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
1811 * net/tramp-imap.el: Remove file.
1813 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1815 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
1816 widget library for buttons, just use button.el.
1818 * vc/log-view.el (log-view-mode-map): Don't inherit from
1821 2011-02-12 Glenn Morris <rgm@gnu.org>
1823 * emacs-lisp/cl-seq.el (union, nunion, intersection)
1824 (nintersection, set-difference, nset-difference)
1825 (set-exclusive-or, nset-exclusive-or): Doc fix.
1827 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1829 * faces.el (face-attr-match-p): Handle the obsolete :bold and
1830 :italic props, so that frame-set-background-mode works. (Bug#7966)
1832 * simple.el (next-error): Doc fix.
1834 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1836 * dired-aux.el (dired-create-files): Adapt destination name to
1837 match the new behavior of copy-directory.
1839 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
1841 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1842 from rmail-dont-reply-to-names. Callers changed.
1843 (mail-dont-reply-to): Rename from mail-dont-reply-to.
1844 (rmail-dont-reply-to): Make it an obsolete alias.
1846 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1847 nil, and make obsolete (Bug#7888).
1848 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1850 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1852 * mail/rmailsort.el (rmail-sort-by-correspondent)
1853 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
1855 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1857 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1859 * files.el (copy-directory): New argument COPY-CONTENTS for
1860 copying directory contents into another existing directory.
1862 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
1864 * minibuffer.el (completion-table-case-fold): New function for
1865 creating a case-insensitive completion table.
1867 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1869 * net/tramp.el (tramp-default-method): Also check if
1870 `auth-source-search' is bound.
1871 (tramp-read-passwd): Use `auth-source-search' instead of
1872 `auto-source-user-or-password'.
1874 * net/tramp-imap.el: Autoload `auto-source-search' instead of
1875 `auto-source-user-or-password.
1876 (tramp-imap-passphrase-callback-function): Use it.
1878 * net/imap-hash.el: Autoload `auto-source-search' instead of
1879 `auto-source-user-or-password.
1880 (imap-hash-open-connection): Use it.
1882 * mail/smtpmail.el: Autoload `auto-source-search' instead of
1883 `auto-source-user-or-password.
1884 (smtpmail-try-auth-methods): Use it.
1886 2011-02-12 Phil Hagelberg <phil@hagelb.org>
1888 * emacs-lisp/package.el: Allow packages to be reinstalled.
1889 (package--write-file-no-coding): Remove EXCL arg.
1890 (package-unpack-single): Don't use it.
1892 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
1894 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1895 in each sub directory.
1896 (vc-svn-registered): Use vc-svn-root.
1897 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
1898 (vc-svn-repository-hostname): Use "svn info".
1900 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1902 * simple.el (delete-trailing-whitespace): New optional buffer
1905 2011-02-11 Bastien Guerry <bzg@altern.org>
1907 * files.el (basic-save-buffer): save unmodified buffers when
1908 the file pointed by buffer-file-name doesn't exist.
1910 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1912 * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1914 2011-02-11 Glenn Morris <rgm@gnu.org>
1916 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1918 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
1920 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1922 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
1924 * server.el (server-process-filter): Use pcase.
1926 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1928 (smie-indent--parent): Extend to "parent of arg".
1929 (smie-indent-inside-string): New function.
1930 (smie-indent-functions): Use it.
1932 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1933 bzr locking race condition.
1935 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1936 still valid before using it.
1938 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1939 `message' -> `compilation-message' rename (bug#8004).
1941 Move keymap initialization into declaration.
1942 * textmodes/enriched.el (enriched-mode-map):
1943 * textmodes/bib-mode.el (bib-mode-map):
1944 * term/lk201.el (lk201-function-map):
1945 * tar-mode.el (tar-mode-map):
1946 * replace.el (occur-mode-map):
1947 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1948 * progmodes/idlw-help.el (idlwave-help-mode-map):
1949 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1950 * play/solitaire.el (solitaire-mode-map):
1951 * play/snake.el (snake-mode-map, snake-null-map):
1952 * play/pong.el (pong-mode-map):
1953 * play/handwrite.el (menu-bar-handwrite-map):
1954 * play/gametree.el (gametree-mode-map):
1955 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1956 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1957 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1958 (newsticker--url-keymap):
1959 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1960 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1961 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1962 (menu-bar-edit-menu, menu-bar-custom-menu)
1963 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1964 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1965 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1966 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1967 (menu-bar-tools-menu, menu-bar-describe-menu)
1968 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1969 (menu-bar-help-menu):
1970 * mail/rmailsum.el (rmail-summary-mode-map):
1971 * kmacro.el (kmacro-step-edit-map):
1972 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1973 (ibuffer-mode-operate-map):
1974 * hi-lock.el (hi-lock-menu, hi-lock-map):
1975 * emulation/vip.el (vip-mode-map):
1976 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1977 * bookmark.el (bookmark-bmenu-mode-map):
1978 * help-mode.el (help-mode-map): Move initialization into declaration.
1980 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1982 * net/rcirc.el: Add PRIVMSG and CTCP functions.
1983 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1984 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1985 (rcirc-cmd-me, rcirc-authenticate): Use them.
1987 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
1989 * allout.el: Synopsis: Change allout user configuration so
1990 auto-activation is controlled solely by customization
1991 `allout-auto-activation'.
1993 (allout-auto-activation-helper, allout-setup): New autoloads
1994 implement new custom set procedure for allout-auto-activation.
1995 Also, explicitly invoke (allout-setup) after allout-auto-activation
1996 is custom-defined, to affect the settings in emacs sessions besides
1997 the few where allout-auto-activation customization is done.
1998 (allout-auto-activation): Use allout-auto-activation-helper to
1999 :set. Revise the docstring.
2000 (allout-init): Reduce functionality to just customizing
2001 allout-auto-activation, and mark obsolete.
2002 (allout-mode): Respect string values for allout-auto-activation.
2003 Run allout-after-copy-or-kill-hook without any args.
2004 (allout-mode, allout-layout, allout-default-layout)
2005 (outlineify-sticky): Adjust docstring for new scheme.
2006 (allout-after-copy-or-kill-hook): No arguments - hook implementers
2007 should concentrate on the kill ring.
2009 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
2011 * password-cache.el (password-cache-remove): Accept secrets that are
2014 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
2016 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
2017 of here-doc that immediately follows a comment.
2019 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2021 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
2023 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
2025 (rcirc-ctcp-sender-PING): New function.
2027 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
2029 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
2030 Remove the mark/nomark handling, and activate shift-select-mode instead.
2032 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
2034 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
2036 * calc/calc-units.el (math-logunits-quant): Add support for
2037 non-logarithmic units.
2039 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
2041 * allout.el (allout-after-copy-or-kill-hook): New hook for
2042 extension-specific processing of killed text.
2043 (allout-mode): Include new allout-after-copy-or-kill-hook among
2045 (allout-kill-line, allout-kill-topic): Ensure that processing
2046 after kill happens even if barf-if-buffer-read-only is raised.
2047 Include new allout-after-copy-or-kill-hook among that subsequent
2049 (allout-deannotate-hidden): Actually remove the annotation text
2052 * allout.el (allout-listify-exposed): Copy text sans text properties.
2054 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
2056 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
2058 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2060 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
2062 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
2064 * calc/calc.el (calc-logunits-field-reference): Rename from
2065 `calc-default-field-reference-level'.
2066 (calc-logunits-power-reference): Rename from
2067 `calc-default-power-reference-level'.
2069 * calc/calc-units.el (math-logunits-quant): Rename from
2070 `math-logunits-level'
2071 (math-logunits-plus): Rename from math-logcombine.
2072 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
2073 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
2074 (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
2076 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
2077 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
2078 (calc-logunits-quantity): Rename from `calc-level'.
2079 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
2080 (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
2081 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
2082 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
2083 (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
2086 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
2087 (calc-ul-prefix-help): Remove.
2088 (calc-l-prefix-help): New function.
2089 (calc-full-help): Add reference to `calc-l-prefix-help'.
2091 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
2093 * calc/README: Mention logarithmic units.
2095 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
2097 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
2098 non-ASCII characters (Bug#7925).
2100 2011-02-05 Glenn Morris <rgm@gnu.org>
2102 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
2104 * calendar/diary-lib.el (diary-font-lock-keywords):
2105 Tweak diary-time-regexp match. (Bug#7891)
2107 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
2108 (f90-mode): Use it for mode's `find-tag-default-function' property.
2110 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
2112 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
2114 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2116 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
2119 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
2121 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
2122 font-lock-syntax-table remappings.
2123 (sh-here-doc-markers, sh-here-doc-re): Remove.
2124 (sh-font-lock-close-heredoc): Remove.
2125 (sh-syntax-propertize-here-doc): New function.
2126 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
2127 instead of the sh-here-doc-re.
2128 (sh-font-lock-paren): Don't do anything in comments or strings.
2129 Handle line continuations. Accept a few more chars.
2130 Don't rely on the font-lock-syntax-table remappings.
2131 `esac' is not a valid pattern.
2132 (sh-syntax-propertize-function): Handle here-docs differently, so we
2133 don't bother syntax-propertizing the insides.
2135 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
2136 Handle new bashisms ";&" and ";;&" (bug#7947).
2138 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
2140 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
2141 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
2143 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
2145 * net/tramp.el (tramp-postfix-method-format)
2146 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
2147 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
2148 (tramp-postfix-user-regexp, tramp-prefix-port-format)
2149 (tramp-prefix-port-regexp, tramp-postfix-host-format)
2150 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
2153 2011-02-04 Sam Steingold <sds@gnu.org>
2155 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
2157 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
2159 * international/mule-util.el (with-coding-priority): Doc fix.
2161 2011-02-04 Eli Zaretskii <eliz@gnu.org>
2163 * arc-mode.el (archive-mode-map): Fix a typo in last change.
2165 2011-02-03 Sam Steingold <sds@gnu.org>
2167 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2168 Do not error out when `func' is nil.
2170 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
2172 * net/tramp-sh.el (tramp-remote-path): Add default settings for
2173 `tramp-default-remote-path' to the docstring.
2174 (tramp-get-remote-path): Suppress error message when `getconf
2177 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
2179 2011-02-03 Glenn Morris <rgm@gnu.org>
2181 * vc/vc-hg.el (vc-hg-command): Doc fix.
2183 * term/w32-win.el (libpng-version): Declare for compiler.
2185 * msb.el: No need to load dired while compiling.
2187 * emacs-lisp/elint.el (elint-standard-variables):
2188 Remove a couple of built-ins that now have doc-strings.
2190 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
2191 `require' is automatically `eval-and-compile'd.
2193 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
2194 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
2196 * strokes.el (strokes-fill-current-buffer-with-whitespace):
2197 Move definition before use.
2198 (strokes-report-bug): Make it obsolete.
2200 2011-02-02 Sam Steingold <sds@gnu.org>
2202 * apropos.el (apropos-print): Now that `apropos-mode' inherits
2203 from `special-mode', entering it makes the buffer read-only, so
2204 call it only when everything has been already inserted.
2205 * emacs-lisp/ert.el (ert--setup-results-buffer)
2206 (ert-results-pop-to-backtrace-for-test-at-point)
2207 (ert-results-pop-to-messages-for-test-at-point)
2208 (ert-results-pop-to-timings): Ditto.
2209 * emacs-lisp/package.el (package--list-packages): Ditto.
2210 * play/solitaire.el (solitaire): Ditto.
2212 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
2214 * progmodes/compile.el: Make all faces inherit.
2215 (compilation-warning): Inherit from font-lock-variable-name-face.
2216 (compilation-info): Inherit from font-lock-type-face.
2217 (compilation-line-number): Reassign to font-lock-keyword-face.
2218 (compilation-column-number): Reassign to font-lock-doc-face.
2219 (compilation-leave-directory-face): Reassign to
2220 font-lock-builtin-face.
2222 2011-02-02 Eli Zaretskii <eliz@gnu.org>
2224 * dired.el (dired-insert-directory): Don't invoke `ls' when
2225 ls-lisp.el is used to emulate it.
2227 2011-02-01 Julien Danjou <julien@danjou.info>
2229 * color.el (color-gradient): Add a color-gradient function.
2231 2011-02-01 Sam Steingold <sds@gnu.org>
2233 * simple.el (special-mode-map): Bind "h" to `describe-mode';
2234 bind "z" to `kill-this-buffer'.
2235 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
2236 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
2237 (apropos-mode): Inherit from `special-mode'.
2238 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
2239 * bookmark.el (bookmark-bmenu-mode): Define using
2240 `define-derived-mode' inheriting from `special-mode'.
2241 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
2242 * image-mode.el (image-mode-map): Ditto.
2243 * replace.el (occur-mode): Define using
2244 `define-derived-mode' inheriting from `special-mode'.
2245 * tar-mode.el (tar-mode): Inherit from `special-mode'.
2246 * calendar/diary-lib.el (diary-fancy-display-mode):
2247 Inherit from `special-mode-map'.
2248 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
2249 Inherit from `special-mode'.
2250 * emacs-lisp/package.el (package-menu-mode-map): Copy from
2252 (package-menu-mode): Define using `define-derived-mode'
2253 inheriting from `special-mode'.
2254 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
2255 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
2256 (xesam-mode-map): Define separately.
2257 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
2258 * progmodes/compile.el (compilation-minor-mode-map)
2259 (compilation-mode-map): Inherit from `special-mode-map'.
2260 * vc/diff-mode.el (diff-mode-shared-map):
2261 Inherit from `special-mode-map'.
2262 * vc/log-view.el (log-view-mode-map): Add a comment.
2264 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
2266 * custom.el (load-theme): Define return value. Drop use of
2267 unsafep; call custom-theme-load-confirm for non-known-safe themes.
2268 (custom-theme-load-confirm): Scroll in the correct window.
2269 (custom-enabled-themes): Add custom-safe-themes to :set-after.
2271 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
2272 checkbox if load-theme fails.
2274 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2276 * progmodes/compile.el (compilation-next-error): Check there's
2277 a message before using it (bug#7941).
2279 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
2281 * calc/calc-mtx.el (math-lud-pivot-check): New function.
2282 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
2283 of potential pivots.
2285 2011-01-31 Alan Mackenzie <acm@muc.de>
2287 * progmodes/cc-cmds.el (c-forward-over-illiterals):
2288 Continue parsing if we encounter a naked # (Bug#7595).
2289 (c-beginning-of-statement): Avoid loop in locating the beginning
2290 of a macro. (Not actually committed until 2011-02-20, see above).
2292 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2294 * files.el (copy-directory): Fix arguments to recursive call.
2296 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2298 * files.el (copy-directory): If destination is an existing
2299 directory, copy into a subdirectory there.
2301 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
2303 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
2306 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2308 * image-dired.el (image-dired-mouse-display-image): No-op if no
2309 file is found (Bug#7817).
2311 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
2313 2011-01-31 Kenichi Handa <handa@m17n.org>
2315 * international/quail.el (quail-keyboard-layout-alist):
2316 Remove superfluous SPC for "pc105-uk" (bug#7927).
2318 2011-01-31 Glenn Morris <rgm@gnu.org>
2320 * msb.el (msb-menu-bar-update-buffers): Update for changed
2321 argument handling of menu-bar-select-frame. (Bug#7902)
2323 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2325 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
2326 to the recursion depth (Bug#7722).
2328 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
2330 * term/ns-win.el (ns-find-file): Expand ns-input-file with
2331 command-line-default-directory (Bug#7872).
2333 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2335 * progmodes/compile.el (compilation--flush-directory-cache):
2336 New function, extracted from compilation--remove-properties.
2337 (compilation--remove-properties, compilation--parse-region): Use it.
2338 (compilation--previous-directory): Handle one more case.
2339 (compilation-enable-debug-messages): Remove.
2340 (compilation-parse-errors, compilation--flush-parse): Just remove the
2341 left over debug messages.
2343 2011-01-31 Sam Steingold <sds@gnu.org>
2345 * progmodes/compile.el (compilation-enable-debug-messages):
2346 Add a variable to make the parsing messages introduced in
2347 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
2348 (compilation-parse-errors, compilation--flush-parse): Use it.
2350 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2352 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
2353 (rcirc-nick-completion-format): New defcustom.
2354 (rcirc-complete): Use it.
2356 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2358 * net/rcirc.el: Clean log filenames (Bug#7933).
2359 (rcirc-log-write): Use convert-standard-filename.
2360 (rcirc-log-filename-function): Documentation updates.
2362 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
2364 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
2365 Check report-emacs-bug-can-use-osx-open and use that if t.
2366 (report-emacs-bug-can-use-osx-open): New function.
2367 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
2368 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
2370 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
2372 * vc/vc-dispatcher.el (vc-set-async-update): New function for
2373 updating Dired or VC-dir buffers after async command completes.
2375 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
2376 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
2378 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
2379 completions if it exists. Use vc-set-async-update.
2380 (vc-git-pull): Use vc-set-async-update.
2382 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
2383 read-shell-command. Use vc-set-async-update.
2384 (vc-hg-merge-branch): Use vc-set-async-update.
2386 2011-01-29 Daiki Ueno <ueno@unixuser.org>
2388 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
2389 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
2392 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
2394 * progmodes/compile.el: Avoid an N² behavior in grep.
2395 (compilation--previous-directory): New fun.
2396 (compilation--previous-directory-cache): New var.
2397 (compilation--remove-properties): Flush it.
2398 (compilation-directory-properties, compilation-error-properties):
2399 Use the new fun to speed up looking for the current directory.
2401 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
2403 * vc/vc-hg.el (vc-hg-history): New var.
2404 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
2405 (vc-hg-merge-branch): New function.
2407 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
2408 the other way around.
2410 * vc/vc-git.el (vc-git-branches, vc-git-pull)
2411 (vc-git-merge-branch): New functions.
2412 (vc-git-history): New var.
2414 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2416 * vc/vc-dispatcher.el (vc-do-async-command): New function.
2418 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
2419 vc-do-async-command.
2421 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
2424 2011-01-28 Leo <sdl.web@gmail.com>
2426 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
2427 highlighting to the "this function is advised" message.
2429 * help-mode.el (help-mode-finish): Apply highlighting here, to
2430 avoid clobbering by substitute-command-keys (Bug#6304).
2432 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2434 * woman.el (woman0-roff-buffer): Process roff escape sequences
2435 occurring prior to the first request (Bug#7843).
2437 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2439 * progmodes/compile.el: Don't use font-lock any more.
2440 (compilation-error-regexp-alist-alist): Change handling of makepp
2441 so it preserves the warning/error distinction on subsequent files.
2442 Simplify various rules.
2443 (compilation-directory-properties): Use font-lock-face.
2444 Add a compilation-message property.
2445 (compilation-internal-error-properties): Use font-lock-face.
2446 Don't set the compilation-debug property here.
2447 (compilation--put-prop, compilation--remove-properties)
2448 (compilation--parse-region, compilation--ensure-parse)
2449 (compilation--ensure-parse): New functions.
2450 (compilation-parse-errors): New function, largely inspired of
2451 compilation-mode-font-lock-keywords. Set compilation-debug here.
2452 (compilation--parsed): New var.
2453 (compilation--flush-parse): Use compilation--ensure-parse.
2454 (compilation-start): Don't call font-lock.
2455 (compilation-turn-on-font-lock): Remove.
2456 (compilation-setup): Don't set font-lock-extra-managed-props not change
2457 other font-lock settings, other than keywords.
2458 Don't activate font-lock-mode.
2459 Set change-major-mode-hook and before-change-functions.
2460 (compilation--unsetup): Remove properties and hooks.
2461 (compilation-next-single-property-change): New function.
2462 (compilation-next-error): Use it to parse when needed.
2463 (compile-goto-error): Parse buffer as needed.
2464 (compilation--compat-error-properties): Don't need a dummy `face'
2467 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2469 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
2470 (compilation-process-setup-function): Fix docstring's false promises.
2471 (compilation-error-regexp-alist-alist): Catch omake's continuous
2472 recompilation message and avoid reuse of old markers.
2473 (compilation-parse-errors-function): Declare obsolete.
2474 (compilation-buffer-modtime): Remove.
2475 (compilation--make-cdrloc, compilation--loc->col)
2476 (compilation--loc->line, compilation--loc->file-struct)
2477 (compilation--loc->marker, compilation--loc->visited)
2478 (compilation--make-file-struct, compilation--file-struct->file-spec)
2479 (compilation--file-struct->formats)
2480 (compilation--file-struct->loc-tree): New macros. Use them.
2481 (compilation--message): New defstruct. Use them.
2482 (compilation-next-error-function): Don't mess with timestamps to try
2483 and guess when to reparse.
2485 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2487 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
2488 (tex-old-error-file-name): New function,
2489 extracted from tex-compilation-parse-errors.
2490 (tex-compilation-parse-errors): Remove.
2491 (tex-error-regexp-alist): New var.
2492 (tex-shell): Use it to avoid compilation-parse-errors-function.
2494 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
2495 (grep-mode-font-lock-keywords): Remove regexp that seems like
2496 a left-over from before we used compile.el.
2497 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
2498 modifying the buffer within with-silent-modifications.
2500 * progmodes/compile.el: Cleanup text-properties namespace by using
2501 `compilation-message' instead of `message', `compilation-directory'
2502 instead of `directory', and `compilation-debug' instead of `debug'.
2503 (compilation-last-buffer, compilation-parsing-end)
2504 (compilation-error-list, compilation-old-error-list): Move to the
2505 compatibility part of the code.
2506 (compilation-error-properties): If `file' is a function, let it return
2508 (compilation-mode-font-lock-keywords): Be more conservative with the
2509 omake "^ *" pattern prefix, to try and minimize the risk of
2510 pathologically slow regexp matching.
2511 (compilation-start): Use inhibit-read-only.
2512 (compilation--unsetup): New function.
2513 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
2514 (compilation-filter): Minor tweaks.
2515 (compilation-next-error-function): Try and avoid abusing variables.
2516 (compilation--flush-file-structure): New fun.
2517 (compilation-fake-loc): Use it to improve behavior when file is reused.
2518 (debug-ignored-errors): Add "Moved past last ...".
2519 (compilation--compat-error-properties)
2520 (compilation--compat-parse-errors): Rename by doubling the "-".
2522 Port features from the previous prolog.el to the new one.
2523 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
2524 (prolog-program-name, prolog-program-switches, prolog-consult-string)
2525 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
2526 variable and use a function to compute the value dynamically.
2527 (prolog-prompt-regexp): Add regexp for GNU Prolog.
2528 (prolog-continued-prompt-regexp): Remove, unused.
2529 (prolog-find-value-by-system): Try and use the value of prolog-system
2530 in the *prolog* buffer if it helps.
2531 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
2532 (prolog-zip-on): ..and check prolog-system and version here instead.
2533 (prolog-inferior-self-insert-command): New command.
2534 (prolog-inferior-mode-map): Use it.
2535 (prolog-inferior-error-regexp-alist): New var.
2536 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
2537 (prolog-input-filter): Use derived-mode-p.
2538 (prolog-inferior-guess-flavor): New function.
2539 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
2540 make-comint to avoid running comint-mode twice.
2541 (prolog-inferior-buffer): New fun.
2542 (prolog-old-process-region, prolog-old-process-file):
2543 Don't call prolog-bsts here...
2544 (prolog-build-prolog-command): ...do it here instead.
2545 (prolog-old-process-region, prolog-old-process-file):
2546 Use compilation-fake-loc and compilation-forget-errors.
2547 (prolog-consult-compile-region): Use bolp.
2549 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2551 * image-mode.el (image-display-size): Doc fix (Bug#7820).
2553 2011-01-27 Sam Steingold <sds@gnu.org>
2555 * midnight.el (clean-buffer-list-kill-never-buffer-names):
2556 Remove "*server*" which is never created by emacs server.
2558 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2560 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
2561 there are some diff switches.
2563 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
2565 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2566 Copy change made to ruby-font-lock-syntactic-keywords.
2568 * htmlfontify.el: Make it obey the font-lock-face text property.
2569 Miscellaneous cleanup such as:
2570 - Don't hide expressions after a closing paren.
2571 - Move initial setq into let.
2572 - Hoist common parts out of ifs.
2573 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
2574 (hfy-face-at): Use get-text-property instead.
2575 (hfy-prop-invisible-p): Use invisible-p if available.
2576 (htmlfontify-manual): Use \\[...].
2577 (hfy-html-quote-regex): Use [...].
2578 (hfy-combined-face-spec): Simplify.
2579 (hfy-compile-face-map): Don't presume point-min==1.
2580 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
2581 match end of string.
2582 (hfy-text-p): η-reduce.
2583 (hfy-tags-for-file): Receive cache-hash directly.
2584 (hfy-mark-tag-names): Adjust call.
2586 2011-01-27 Glenn Morris <rgm@gnu.org>
2588 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
2589 (msb-after-load-hook): Remove eval-after-load wackiness.
2591 2011-01-25 Sam Steingold <sds@gnu.org>
2593 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
2594 literal "diff" (important for windows-nt).
2596 2011-01-25 Glenn Morris <rgm@gnu.org>
2598 * emacs-lisp/copyright.el (copyright-at-end-flag)
2599 (copyright-names-regexp): Add safety properties.
2600 (copyright-year-ranges): New option.
2601 (copyright-find-end): New function, split from copyright-update-year.
2602 (copyright-update-year): Use copyright-find-end.
2603 (copyright-fix-years): Optionally, convert years to ranges.
2604 Handle years continued over comment lines.
2605 Do not mess with the fill-prefix.
2606 Do not call copyright-update.
2607 (copyright-update-directory): Optionally, fix years rather than update.
2608 Skip directories. Find files with only safe local vars.
2610 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
2612 * files.el (file-name-non-special): Only change buffer-file-name after
2613 insert-file-contents if it's `visit'ing the file (bug#7854).
2615 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
2617 * dired.el (dired-revert): Doc fix (Bug#7758).
2619 * simple.el (line-move-visual): Doc fix (Bug#7594).
2621 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
2623 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
2624 here-doc which ends with an underscore.
2625 (ruby-mode-set-encoding): Skip shebang line always.
2626 (ruby-mode-map): Bind C-c C-c to comment-region.
2627 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
2628 (ruby-forward-sexp): Stop after literal hash key labels.
2629 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
2632 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
2634 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
2635 the correct buffer (Bug#7650).
2637 2011-01-25 Glenn Morris <rgm@gnu.org>
2639 * comint.el (comint-mode): Doc fix. (Bug#7897)
2641 * simple.el (do-auto-fill): Give it a doc string.
2643 * button.el (make-text-button): Doc fix. (See bug#7881)
2645 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
2647 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2648 Don't move backward, so as not to fall in an inf-loop (bug#7736).
2650 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
2651 Handle ?" and friends differently (e.g. don't use backrefs).
2653 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
2655 * calc/calc.el (calc-default-power-reference-level)
2656 (calc-default-field-reference-level): New variables.
2657 * calc/calc-units.el (math-standard-units): Add dB and Np.
2658 (math-logunits): New variable.
2659 (math-extract-logunits, math-logcombine, calcFunc-luplus)
2660 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
2661 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
2663 (math-find-base-units-rec): Add entry for ln(10).
2664 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
2665 (calc-ul-prefix-help): New function.
2666 * calc/calc-ext.el (calc-init-extensions): Autoload new units
2667 functions. Add keybindings for new units functions.
2669 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
2671 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
2672 rcirc buffers. (Bug#4940)
2674 2011-01-22 Glenn Morris <rgm@gnu.org>
2676 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
2677 split out from copyright-update-year.
2678 (copyright-update): Don't mess with the GPL version if we don't own the
2679 copyright. Update license regexp, and remove no longer needed
2681 (copyright-fix-years): Use copyright-find-copyright.
2683 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2685 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
2687 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2689 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
2690 (lm): Rename to landmark.
2691 (lm-test-run): Rename to landmark-test-run.
2693 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2695 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
2696 "Case sensitive" menu item.
2698 2011-01-22 Roland McGrath <roland@frob.com>
2700 * comint.el (comint-replace-by-expanded-history-before-point): Fix
2701 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
2703 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2705 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
2707 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2709 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2710 Assume foo(bar) is a manpage reference rather than some unquoted
2713 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2715 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
2716 Suggested by Flo <sensorflo@gmail.com>.
2718 2011-01-22 Glenn Morris <rgm@gnu.org>
2720 * progmodes/compile.el (compilation-error-regexp-alist):
2721 Fix custom type. (Bug#7812)
2723 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
2725 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
2726 allout-number-siblings, in keeping with what obtained due to
2727 (now-defunct) allout-keybindings-list. Ditch repeat binding to
2729 (allout-before-change-handler): Better expose spots affected by
2732 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2734 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
2736 2011-01-22 Phil Hagelberg <phil@evri.com>
2738 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
2739 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
2740 (pcmpl-ssh-config-hosts): New function.
2741 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
2742 pcmpl-ssh-known-hosts.
2744 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2746 * calc/calc-undo.el (calc-undo): Autoload it.
2747 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
2748 and autoload for `calc-undo'.
2749 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
2750 * calc/calc-prog.el:
2751 * calc/calc-graph.el:
2752 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2754 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
2756 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
2757 keybindings to `calc-undo'.
2759 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2761 Don't mess with *temp*.
2762 * obsolete/spell.el: Move from textmodes/spell.el.
2764 * term.el (term-read-input-ring):
2765 * startup.el (display-startup-echo-area-message):
2766 * progmodes/antlr-mode.el (antlr-directory-dependencies):
2767 * comint.el (comint-read-input-ring): Use with-temp-buffer.
2768 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
2771 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
2773 * allout.el (allout-institute-keymap): Use fset instead of
2774 reapplying defalias.
2776 (allout-hotspot-key-handler): Check for non-control-modified
2777 bindings for hotspot characters if there are no control-modified
2780 * allout.el: Summary - migrate to defining allout mode using
2781 define-minor-mode instead of defun. Significantly clean-up
2782 internal keymap provisions, refactoring and, in the process,
2783 removing a lot of accumulated cruft.
2785 allout-mode-map is now a keymap by virtue of being a defalias to
2786 allout-mode-map-value, which contains the actual keymap structure.
2788 (allout-mode): Use define-minor-mode rather than defun.
2789 Remove now-unnecessary minor-mode setup activities from the body.
2790 Specify :keymap as allout-mode-map so the minor-mode-map-alist
2791 entry will be '(allout-mode . allout-mode-map) - see
2792 allout-mode-map-value, below. Adjust docstring to track changes.
2793 (allout-minor-mode): Remove this defalias, now that we're using
2795 (allout-mode-map): Set value to be 'allout-mode-map. The actual
2796 keymap is allout-mode-map-value, via defalias.
2797 (allout-mode-map-value): The variable holding the actual mode
2798 keymap structure, by virtue of defalias from allout-mode-map.
2799 (allout-compose-and-institute-keymap): Rename from
2800 allout-bind-keys, and including the binding-composition
2801 functionality of the former produce-allout-mode-map and
2802 allout-setup-mode-map.
2803 (allout-institute-keymap): Take over the "setup" part of the former
2804 allout-setup-mode-map. Reassign allout-mode-map-value value and
2805 update the defalias.
2806 (allout-command-prefix, allout-prefixed-keybindings)
2807 (allout-unprefixed-keybindings):
2808 Use allout-compose-and-institute-keymap to process the bindings.
2809 (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
2810 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
2811 user can customize if they want to use that binding.
2812 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
2813 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
2814 elided that, previously, instead of the one for \C-h.)
2815 (allout-hotspot-key-handler): Remove attempt to resolve the key
2816 through the literal key-string lookup on allout-keybindings-list.
2817 That probably hasn't worked for a Long Time, and removal of
2818 allout-keybindings-list further simplifies the keybindings situation.
2819 (allout-pre-command-business): Use allout-mode-map-value instead
2821 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
2822 the bindings if they want to use a keybinding having a trailing
2823 \C-h. No deprecation needed since this feature was never in a release.
2824 (allout-keybindings-list): Remove. It's not been useful for a
2825 while. (See allout-hotspot-key-handler changes, above.)
2826 (produce-allout-mode-map): Remove. Consolidate into
2827 allout-compose-and-institute-keymap.
2828 (allout-mode-map-adjustments): Remove. No longer necessary with
2829 removal of allout-preempt-trailing-ctrl-h.
2830 (allout-setup-mode-map): Remove. Consolidate into
2831 allout-compose-and-institute-keymap and allout-institute-keymap.
2833 2011-01-20 Glenn Morris <rgm@gnu.org>
2835 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2837 * simple.el (read-expression-history): Remove, it's in minibuf.c.
2839 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
2841 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2843 * files.el (find-alternate-file, basic-save-buffer)
2844 (basic-save-buffer-2, revert-buffer, recover-file)
2845 (kill-buffer-ask, abort-if-file-too-large)
2846 (set-visited-file-name, write-file, backup-buffer)
2847 (basic-save-buffer, save-some-buffers):
2848 * dired-aux.el (dired-compress-file): Callers changed.
2850 2011-01-19 Glenn Morris <rgm@gnu.org>
2852 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2853 Also check the property status. (Bug#7861)
2855 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
2857 * net/tramp.el (tramp-debug-message): Extend function exclude
2858 list. Use `regexp-opt'.
2860 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2862 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2863 highlighting doesn't spill over subsequent lines.
2865 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2866 keymap expression. Improve docstring.
2868 * electric.el (electric-indent-post-self-insert-function):
2869 Don't auto-indent for indent-to-left-margin, it's too often
2872 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
2874 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2875 spaces if the frame was resized, so that the full visible buffer
2876 serves as canvas for strokes.
2878 2011-01-16 Glenn Morris <rgm@gnu.org>
2880 * info-xref.el (info-xref-docstrings): Replace cl function.
2881 Also skip directories.
2883 2011-01-16 Kevin Ryde <user42@zip.com.au>
2885 * info-xref.el: Version 3.
2886 (info-xref-check, info-xref-check-all): Move commentary details
2887 into docstrings for better visibility.
2888 Use compilation-mode for the results buffer.
2889 (info-xref-output, info-xref-output-error, info-xref-with-output)
2890 (info-xref-filename, info-xref-in-progress):
2891 New internals for this.
2892 (info-xref-check-list, info-xref-check-buffer)
2893 (info-xref-check-all-custom): Use those.
2894 (info-xref-output-buffer): Rename from info-xref-results-buffer.
2895 (info-xref-output-heading): Rename from info-xref-filename-heading.
2896 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2897 (info-xref-filename-heading): Move to output managing section.
2898 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2899 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2900 (info-xref-subfile-p): Move to generic section with those two.
2901 (info-xref-check-node): New function split from
2902 info-xref-check-buffer, shared by info-xref-docstrings.
2903 (info-xref-goto-node-p): Move to a checking section with that func.
2904 (info-xref-unavail): New counter.
2905 (info-xref-check-node): Use it.
2906 (info-xref-with-output): Show count of unavailables at end of output.
2907 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
2908 symlinks. Exclude .texi files. Exclude Emacs backup files.
2909 (info-xref-check-all-custom): Fix quietening viper-mode and
2910 gnus-registry-install -- use setq not let so as not to unbind
2913 2011-01-16 Juri Linkov <juri@jurta.org>
2915 * isearch.el (isearch-abort): Don't quit if search has
2916 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
2918 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
2920 * files.el (backup-buffer): Make last-resort backup file in
2921 .emacs.d (Bug#6953).
2923 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2924 make it with permission 700.
2926 2011-01-15 Kenichi Handa <handa@m17n.org>
2928 * mail/rmailmm.el (rmail-mime-insert-header):
2929 Set rmail-mime-coding-system to a cons whose car is the last coding
2930 system used to decode the header.
2931 (rmail-mime-find-header-encoding): New function.
2932 (rmail-mime-insert-decoded-text):
2933 Override rmail-mime-coding-system if it is a cons.
2934 (rmail-show-mime): If only a header part was decoded, find the
2935 coding system while ignoring mm-charset-override-alist.
2937 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
2939 * subr.el (event-start, event-end): Doc fix (Bug#7826).
2941 2011-01-15 Kenichi Handa <handa@m17n.org>
2943 * mail/rmailmm.el (rmail-mime-next-item)
2944 (rmail-mime-previous-item): Delete them.
2945 (rmail-mime-shown-mode): Recursively call for children.
2946 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2948 (rmail-mime-raw-mode): Recursively call for children.
2949 (rmail-mode-map): Change mapping of tab and backtab to
2950 forward-button and backward-button respectively.
2951 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2953 (rmail-mime-update-tagline): New function.
2954 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2955 body display is changed.
2956 (rmail-mime-toggle-button): Rename from rmail-mime-image.
2957 (rmail-mime-image): Delete this button type.
2958 (rmail-mime-toggle): New button type.
2959 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2960 body display is changed. Change the save button label to "Save".
2961 Don't process show/hide button here.
2962 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2963 the body display is changed. Unconditionally call
2964 rmail-mime-insert for children.
2965 (rmail-mime-handle): Update `display' vector of the just inserted
2967 (rmail-mime-process): If mail-header-parse-content-type returns
2968 nil, use "text/plain" as the fallback type.
2969 (rmail-mime-insert): For raw-mode, recursively call
2970 rmail-mim-insert for children.
2971 (rmail-mime): Handle the case that the current buffer is not rmail
2972 buffer (e.g. in summary buffer).
2974 2011-01-15 Kenichi Handa <handa@m17n.org>
2976 * mail/rmailmm.el (rmail-mime-next-item)
2977 (rmail-mime-previous-item): Skip the body of a non-multipart
2978 entity if a tagline is shown.
2980 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2982 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2983 (tmm-prompt): Simplify.
2984 (tmm-add-prompt): Remove unused var `win'.
2986 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2987 to minor mode which used nil accidentally to mean "turn off".
2989 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2991 * net/tramp-sh.el (tramp-find-inline-compress)
2992 (tramp-get-inline-coding): Quote command after pipe symbol for
2993 local calls under W32. (Bug#6784)
2995 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2997 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
2998 only when running under W32.
3000 2011-01-15 Eli Zaretskii <eliz@gnu.org>
3002 * progmodes/grep.el (grep-compute-defaults): Quote the program
3003 file name after the pipe symbol in Grep templates. (Bug#6784)
3004 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
3006 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
3008 * buff-menu.el (Buffer-menu-buffer-list): New var.
3009 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
3010 restricted buffer list is not lost on revert (Bug#7749).
3012 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
3014 * net/ldap.el (ldap-search-internal): Discard stderr output.
3016 2011-01-15 Eli Zaretskii <eliz@gnu.org>
3018 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
3020 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
3022 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
3024 2011-01-15 Kenichi Handa <handa@m17n.org>
3026 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
3027 part as a plain text.
3028 (rmail-mime-process-multipart): Set the default content-type to
3029 nil for unknown multipart subtypes (bug#7651).
3031 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3033 * hexl.el (hexl-mode-old-*): Remove.
3034 (hexl-mode--old-var-vals): New var to replace them.
3035 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
3036 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
3037 Use them to set local vars (bug#7846).
3038 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
3039 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
3040 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
3042 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
3043 (smerge-resolve--normalize-re): New var.
3044 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
3045 (smerge-resolve): Use them.
3046 * newcomment.el (comment-only-p): New function.
3047 (comment-or-uncomment-region): Use it.
3049 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
3051 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
3052 table, get the value before switching to the output buffer. (Bug#7733)
3054 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3056 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
3058 2011-01-14 Kim F. Storm <storm@cua.dk>
3060 * emulation/cua-base.el (cua--init-keymaps):
3061 Remap exchange-point-and-mark in cua-global-keymap.
3063 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
3065 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
3068 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3070 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
3072 (easy-menu-create-menu, easy-menu-convert-item-1):
3073 Use :label rather than nil for labels. Use `case'.
3074 Add :enable as alias for :active.
3075 (easy-menu-binding): Obey :label.
3077 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3079 Use run-mode-hooks for major mode hooks (bug#513).
3080 * textmodes/reftex-toc.el (reftex-toc-mode-map):
3081 Rename from reftex-toc-map.
3082 (reftex-toc-mode): Use define-derived-mode.
3083 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
3084 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
3085 Rename from reftex-select-(label|bib)-map. Move init into declaration.
3086 (reftex-select-label-mode, reftex-select-bib-mode):
3087 Use define-derived-mode.
3088 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
3089 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
3090 Move init into delcaration.
3091 (reftex-index-mode, reftex-index-phrases-mode):
3092 Use define-derived-mode.
3093 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
3094 speedbar-syntax-table. Move init into declaration.
3095 (speedbar-mode-map): Rename from speedbar-key-map.
3096 Move init into declaration.
3097 (speedbar-file-key-map): Move init into declaration.
3098 (speedbar-mode): Use define-derived-mode.
3099 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
3100 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
3101 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
3102 (chart-face-list): Move initialization into declaration.
3103 (chart-mode): Use define-derived-mode.
3104 * calculator.el (calculator-mode-map): Move init into declaration.
3105 (calculator-mode): Use define-derived-mode.
3107 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
3108 work for nested comments.
3110 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
3111 (prolog-use-prolog-tokenizer-flag): Change default when
3112 syntax-propertize can be used.
3113 (prolog-syntax-propertize-function): New var.
3114 (prolog-mode-variables): Move make-local-variable into `set'.
3115 Don't make comment-column local since we don't set it.
3116 Set comment-add (as it was in previous prolog.el). Use dolist.
3117 Set syntax-propertize-function.
3118 (prolog-mode, prolog-inferior-mode):
3119 Call prolog(-inferior)-menu directly, not through the mode-hook.
3120 (prolog-buffer-module, prolog-indent-level)
3121 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
3122 (prolog-comment-limits, prolog-goto-comment-column):
3123 Use line-(end|beginning)-position.
3124 (prolog-build-prolog-command): Tighten up regexp.
3125 (prolog-consult-compile): Move make-local-variable into `set'.
3126 (prolog-consult-compile-filter, prolog-goto-next-paren)
3127 (prolog-help-on-predicate, prolog-clause-info)
3128 (prolog-mark-predicate): Don't let+setq.
3129 (prolog-indent-line): Use indent-line-to.
3130 Only call prolog-goto-comment-column if necessary.
3131 (prolog-indent-level): Use bobp.
3132 (prolog-first-pos-on-line): Remove, not used any more.
3133 (prolog-in-string-or-comment): Use syntax-ppss if available.
3134 (prolog-help-on-predicate): Use read-string.
3135 (prolog-goto-predicate-info): Simplify.
3136 (prolog-read-predicate): Use `default' rather than `initial'.
3137 (prolog-temporary-file): Use make-temp-file to close a security hole.
3138 (prolog-toggle-sicstus-sd): New command.
3139 (prolog-electric-underscore, prolog-variables-to-anonymous):
3140 Use dynamic-scoping as it was meant.
3141 (prolog-menu): Move menu definitions to top-level.
3142 Use a toggle-button for Sicstus's source debugger.
3143 Change "Code" to the more usual "Prolog", and hence change "Prolog"
3145 (prolog-inferior-menu): Reuse prolog-menu's help menu.
3146 Move other menu definition to top-level.
3148 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
3150 * doc-view.el (doc-view-open-text): Use meaningful text buffer
3151 name. Keep original document's directory as default-directory
3153 (doc-view-initiate-display): Fall back to normal mode when
3154 doc-view-mode cannot be enabled, also when extracting the document
3155 text into a separate buffer (bug#6446).
3157 * simple.el (shell-command): Don't error out if shell command
3158 buffer contains text with non-nil read-only property when erasing
3161 2011-01-13 Kim F. Storm <storm@cua.dk>
3163 * ido.el (ido-may-cache-directory): Move "too-big" check later.
3164 (ido-next-match, ido-prev-match): Fix stray reordering of matching
3165 items when cycling through the matches.
3167 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
3169 * dired-x.el (dired-omit-verbose): New defcustom that allows
3170 disabling the omit messages.
3171 (dired-omit-expunge): Use it.
3173 2011-01-13 Christian Ohler <ohler@gnu.org>
3175 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
3177 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
3179 * font-lock.el (font-lock-verbose): Default to nil.
3181 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
3183 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
3184 (compose-mail): New arg RETURN-ACTION.
3185 (compose-mail-other-window, compose-mail-other-frame): Likewise.
3187 * mail/sendmail.el (mail-return-action): New var.
3188 (mail-mode): Make it buffer-local.
3189 (mail-bury): Obey it. Move special Rmail window handling to
3191 (mail, mail-setup): New arg RETURN-ACTION.
3192 (sendmail-user-agent-compose): Move from simple.el.
3194 * mail/rmail.el (rmail-mail-return): New function.
3195 (rmail-start-mail): Pass it to compose-mail.
3197 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
3199 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
3200 menus. Add menu item for customize-themes.
3202 * cus-theme.el (customize-themes):
3203 * emacs-lisp/package.el (package--list-packages):
3204 Use switch-to-buffer.
3206 2011-01-11 Johan Bockgård <bojohan@gnu.org>
3208 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
3210 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
3212 * progmodes/prolog.el: Fix up coding convention and such.
3213 (prolog-indent-width): Use the same default as in
3214 previous prolog.el rather than tab-width which depends on which buffer
3215 is current when the file is loaded.
3216 (prolog-electric-newline-flag): Only enable if electric-indent-mode
3218 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
3219 (prolog-known-systems): Remove.
3220 (prolog-mode-syntax-table, prolog-inferior-mode-map):
3221 Move initialization into declaration.
3222 (prolog-mode-map): Move initialization into declaration.
3223 Remove system-specific mode-map vars, since they referred to the same
3225 (prolog-mode-variables): Obey the user's preference w.r.t
3226 adaptive-fill-mode. Prefer symbol-value to `eval'.
3227 (prolog-mode-keybindings-edit): Add compatibility bindings.
3228 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
3229 (mercury-mode-map): New var.
3230 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
3231 (prolog-ensure-process, prolog-process-insert-string)
3232 (prolog-consult-compile): Use with-current-buffer.
3233 (prolog-guess-fill-prefix): Simplify data flow.
3234 (prolog-replace-in-string): New function to use instead of
3236 (prolog-enable-sicstus-sd): Don't abuse `eval'.
3237 (prolog-uncomment-region): Use `uncomment-region' when available.
3238 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
3239 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
3240 of int-to-char and char-to-int.
3241 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
3243 2011-01-11 Stefan Bruda <stefan@bruda.ca>
3245 * progmodes/prolog.el: Replace by a whole new file.
3247 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
3249 * subr.el (eval-after-load): Fix timing for features (bug#7769).
3250 (declare-function, undefined, insert-for-yank)
3251 (replace-regexp-in-string): Follow checkdoc's recommendations.
3253 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3255 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
3256 refreshing the diary buffer.
3258 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
3260 * allout.el: Add 2011 to the file copyright.
3261 (allout-encrypt-string): Prevent encryption from adding an extra
3262 newline at the end of the topic body.
3263 (allout-version): Increment to 2.3.
3265 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
3267 * net/dbus.el (dbus-unregister-service): Complete doc.
3268 Fix call of dbus-error signal.
3269 (dbus-register-property): Use `dont-register' keyword.
3271 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
3273 * net/dbus.el (dbus-unregister-service): Translate returned
3274 integer into a symbol.
3275 (dbus-register-property): Use `dbus-register-service' to do the
3278 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
3280 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
3281 Suggested by Joakim Verona.
3283 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
3285 * wid-edit.el (visibility): Replace :on-image and :off-image
3286 widget properties with :on-glyph and :off-glyph, for consistency
3287 with the `visibility' widget.
3288 (widget-toggle-value-create, widget-visibility-value-create):
3289 Merge into a single function `widget-toggle-value-create'.
3291 * cus-edit.el (custom-variable-value-create, custom-visibility)
3292 (custom-face-edit-value-create, custom-face-value-create):
3293 Replace :on-image and :off-image widget properties with :on-glyph and
3294 :off-glyph, for consistency with the `visibility' widget.
3296 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
3298 * net/ldap.el (ldap-search-internal): Don't use eval.
3300 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
3302 * subr.el (read-char-choice): Use read-key.
3304 * custom.el (custom-safe-themes): Rename from
3305 custom-safe-theme-files. Add :risky tag.
3306 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
3307 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
3309 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
3311 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
3312 from Search and add a label to Undo.
3314 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
3315 inappropriate buttons and adding :vert-only tags.
3317 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
3318 removal of Help tool-bar button. Remove Undo button for space.
3320 * info.el (info-tool-bar-map): Add :vert-only tags.
3322 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
3324 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
3325 image backend support. Either of them is fine.
3327 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
3329 * subr.el (y-or-n-p): Doc fix.
3331 * custom.el (custom-safe-theme-files): New defcustom.
3332 (custom-theme-load-confirm): New function.
3333 (load-theme): Load theme using `load', confirming with
3334 custom-theme-load-confirm if necessary.
3336 * subr.el (read-char-choice): New function, factored out from
3337 dired-query and hack-local-variables-confirm.
3339 * dired-aux.el (dired-query):
3340 * files.el (hack-local-variables-confirm): Use it.
3342 * dired-aux.el (dired-compress-file):
3343 * files.el (abort-if-file-too-large, find-alternate-file)
3344 (set-visited-file-name, write-file, backup-buffer)
3345 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
3346 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
3347 Use new format string args for y-or-n-p and yes-or-no-p.
3349 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
3351 * progmodes/compile.el (compilation-error-regexp-alist-alist)
3352 [gcc-include]: Tighten file name match, add match for column
3354 [gnu]: Remove unused group.
3356 2011-01-08 Glenn Morris <rgm@gnu.org>
3358 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
3360 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
3362 2011-01-07 Sam Steingold <sds@gnu.org>
3364 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
3365 the `explicit-shell-file-name' because that is the
3366 non-interactive shell.
3368 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
3370 * subr.el (y-or-n-p): Accept format string args.
3372 2011-01-07 Glenn Morris <rgm@gnu.org>
3374 * Makefile.in (EMACSOPT): Add --no-site-lisp.
3376 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
3378 * allout.el (allout-back-to-current-heading): Ensure return to
3379 the visible containing topic, rather than a collapsed one.
3380 (allout-view-change-hook): Remove hook that was deprecated long ago.
3381 (allout-exposure-change-hook): Remove documentation remarks
3382 concerning removed allout-view-change-hook.
3383 (allout-flag-region): Remove invocation of and documentation
3384 remarks concerning allout-view-change-hook.
3386 2011-01-06 Glenn Morris <rgm@gnu.org>
3388 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
3389 (vc-bzr-annotate-extract-revision-at-line):
3390 Handle authors with embedded spaces. (Bug#7792)
3392 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
3394 * doc-view.el (doc-view-image-width): New variable.
3395 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
3396 backend for PNG images, and do dynamic rescaling instead of
3397 reconverting the whole doc.
3399 2011-01-05 Glenn Morris <rgm@gnu.org>
3401 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
3403 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
3405 * allout.el: Reconcile with changes in line movement behavior for
3406 long text lines that cross more than a single physical window
3407 line, ie when truncate-lines is nil.
3408 (allout-next-visible-heading): Provide for change in line-move
3409 behavior on long lines when truncate-lines is nil. In that case,
3410 line-move can wind up on the same textual line when it moves to
3411 the next window line, and moving to the bullet position after the
3412 move yields zero advancement. Add logic to detect and compensate
3413 for the lack of progress.
3414 (allout-current-topic-collapsed-p): move-end-of-line respect for
3415 field boundaries is different when operating with body lines
3416 shorter than window width versus ones greater than window width,
3417 which can yield false negatives in this function. Avoid
3418 difference by applying move-end-of-line while field-text-motion is
3421 2011-01-04 Glenn Morris <rgm@gnu.org>
3423 * textmodes/rst.el (rst-compile-toolsets):
3424 Add pdf and s5 to option alist.
3426 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
3428 * net/dbus.el (dbus-register-property): Add optional parameter
3429 dont-register-service. Updated docstring accordingly.
3431 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
3433 * textmodes/rst.el (rst-compile-pdf-preview)
3434 (rst-compile-slides-preview): Remove extra line.
3436 2011-01-04 Glenn Morris <rgm@gnu.org>
3438 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
3439 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
3440 default to `prog' without a .py extension.
3441 (rst-compile-pdf-preview, rst-compile-slides-preview):
3442 Use program names from rst-compile-toolsets, rather than hard-coding.
3443 (rst-portable-mark-active-p): Fix presumed typo.
3445 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3447 * term/w32-win.el (dynamic-library-alist): Set up correctly for
3448 libpng versions both before and after 1.4.0. (Bug#7716)
3450 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3452 * time.el (display-time-mode): Mention display-time-interval in
3453 the doc string. (Bug#7713)
3455 2011-01-02 Kenichi Handa <handa@m17n.org>
3457 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
3458 condition-case and return an error message string if something
3460 (rmail-show-mime): Adjust for the above change. Insert the
3461 header by rmail-mime-insert-header.
3463 2011-01-02 Kenichi Handa <handa@m17n.org>
3465 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
3466 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
3467 (rmail-mime-mbox-buffer)
3468 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
3469 (rmail-mime-entity): Argument changed. All codes handling an
3470 entity object are changed.
3471 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
3473 (rmail-mime-entity-children, rmail-mime-entity-handler)
3474 (rmail-mime-entity-tagline): New functions.
3475 (rmail-mime-message-p): New function.
3476 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
3477 (rmail-mime-entity-segment, rmail-mime-next-item)
3478 (rmail-mime-previous-item, rmail-mime-shown-mode)
3479 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
3480 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
3481 (rmail-mime-insert-tagline, rmail-mime-insert-header):
3483 (rmail-mime-text-handler): Call rmail-mime-insert-text.
3484 (rmail-mime-insert-decoded-text): New function.
3485 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
3486 (rmail-mime-insert-image): Argument changed. Caller changed.
3487 (rmail-mime-image): Call rmail-mime-toggle-hidden.
3488 (rmail-mime-set-bulk-data): New function.
3489 (rmail-mime-insert-bulk): Argument changed.
3490 (rmail-mime-multipart-handler): Return t.
3491 (rmail-mime-process-multipart): Argument changed.
3492 Handle "multipart/alternative" here.
3493 (rmail-mime-process): Argument changed.
3494 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
3495 (rmail-mime-insert): Argument changed. Handle raw display mode.
3496 (rmail-mime): Argument changed. Handle toggling of raw display
3498 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
3499 rmail-mime-view-buffer.
3500 (rmail-insert-mime-forwarded-message): Likewise.
3501 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
3503 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
3504 non-nil, handle the header in rmail-show-mime-function.
3506 2011-01-02 Leo <sdl.web@gmail.com>
3508 * help-fns.el (describe-variable): Fix previous change.
3510 2011-01-02 Juri Linkov <juri@jurta.org>
3512 * isearch.el (isearch-lazy-highlight-error): New variable.
3513 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
3514 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
3515 to the current value of `isearch-error' (Bug#7468).
3517 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3519 * help-fns.el (describe-variable): Don't emit trailing whitespace
3522 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3524 * textmodes/rst.el (rst-compile-pdf-preview)
3525 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
3527 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3529 * emulation/edt-mapper.el: Override mapping of function keys so
3530 that the later call to read-key-sequence works.
3532 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3534 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
3535 Unix EOLs. (Bug#7589)
3537 2011-01-02 Leo <sdl.web@gmail.com>
3539 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
3540 if point is not behind eshell-last-output-end (Bug#7585).
3542 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
3544 * files.el (file-local-variables-alist):
3545 Make permanent-local (bug#7767).
3547 2011-01-02 Glenn Morris <rgm@gnu.org>
3549 * version.el (emacs-copyright): Set short copyright year to 2011.
3551 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3553 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
3554 an existing temp buffer. (Bug#7746)
3556 2011-01-02 Glenn Morris <rgm@gnu.org>
3558 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
3559 multiple addresses. (Bug#7760)
3561 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
3563 * allout.el (allout-auto-fill): Do not infinitely recurse - use
3564 do-auto-fill if everything points back to allout-auto-fill.
3565 (allout-mode-deactivate-hook): Declare obsolete, in favor of
3566 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
3568 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
3570 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
3573 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3575 * doc-view.el (doc-view-set-doc-type): New function refactored
3577 (doc-view-fallback-mode): New function.
3578 (doc-view-mode): Use it.
3579 (doc-view-mode-maybe): New function that checks if doc-view-mode
3580 can be used and falls back to the next best mode otherwise.
3582 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
3583 DVI, OpenDocument, and MS Office files.
3585 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
3587 * emacs-lisp/rx.el (rx-syntax): Fix typo.
3589 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3591 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
3592 on a copy of auto-mode-alist, because that deletes with side
3595 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3597 * doc-view.el (doc-view-mode, doc-view-toggle-display):
3598 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
3599 fallback instead of hard coding fundamental mode.
3601 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3603 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
3604 Office) files also for searching.
3606 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3608 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
3609 Office) files. Not yet enabled via auto-mode-list.
3610 (doc-view-unoconv-program): New custom variable.
3611 (doc-view-mode-p): Handle new odf document type.
3612 (doc-view-odf->pdf): New conversion function.
3613 (doc-view-convert-current-doc): Call it for odf files.
3614 (doc-view-mode): Recognize newly supported file extensions.
3616 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
3618 * net/tramp.el (tramp-default-method-alist)
3619 (tramp-default-user-alist)
3620 (tramp-local-host-regexp, tramp-prefix-domain-format)
3621 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
3624 * net/tramp-gvfs.el:
3626 * net/tramp-imap.el:
3628 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
3629 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
3631 2010-12-29 Karl Fogel <kfogel@red-bean.com>
3633 * saveplace.el (save-place-alist-to-file): Save list sorted and
3634 pretty-printed, so that it is mergeable by line-based text merging,
3635 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
3637 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
3639 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
3640 (allout-mode): Argument "toggle" => "force".
3641 Refine the docstring.
3642 Remove special provisions for reactivation, besides the 'force'
3644 Consolidate layout provisions coce directly into the activation
3645 condition branch, now that we've removed those provisions.
3646 (allout-unload-function): Explicitly activate the mode before
3647 deactivating, if it's initially deactivated.
3648 (allout-set-buffer-multibyte): Properly prevent byte-compiler
3649 warnings for version of function used only where
3650 set-buffer-multibyte is unavailable.
3652 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
3654 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
3655 are handled by the menu-bar entries. As before, don't use
3656 :visibile to avoid changing the tool-bar.
3658 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3660 * net/secrets.el (secrets-delete-alias): New defun.
3662 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3664 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
3665 methods, otherwise ~/.ssh/config would be ignored.
3667 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
3669 * emacs-lisp/rx.el: Make it a superset of sregex.
3670 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
3671 of args, add `regex' alias.
3672 (rx-info): Add arg to distinguish head and standalone forms.
3673 (rx-check, rx-form): Pass the corresponding arg.
3675 (rx-repeat): Make it work for any number of args.
3676 (rx-syntax): Make it accept syntax chars as is.
3677 * obsolete/sregex.el: Move from emacs-lisp/.
3678 * emacs-lisp/re-builder.el: Remove sregex support.
3679 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
3681 2010-12-25 Eli Zaretskii <eliz@gnu.org>
3683 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
3684 PRIMARY first, then the clipboard. (Bug#7699)
3686 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3688 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
3691 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
3693 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
3694 .emacs.elc (Bug#7530).
3696 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
3697 image spec (Bug#7480).
3699 2010-12-21 Daiki Ueno <ueno@unixuser.org>
3701 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
3702 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
3705 2010-12-20 Leo <sdl.web@gmail.com>
3707 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
3708 always be performed (Bug#7680).
3710 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
3712 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
3713 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
3716 * color.el: Move from gnus/.
3718 * vc/diff.el (diff-better-file-name): Function deleted.
3719 abbreviating file names causes problems with shell-quote-argument.
3720 (diff-no-select): Just use expand-file-name.
3722 * tool-bar.el (tool-bar--image-expression): New function.
3723 (tool-bar-local-item, tool-bar--image-exp): Use it.
3724 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
3725 Use :enable instead of :visible to avoid changing the tool-bar
3726 configuration unnecessarily.
3728 * info.el (info-tool-bar-map): Add separators.
3730 2010-12-17 Ken Brown <kbrown@cornell.edu>
3732 * loadup.el: Use version numbers in Cygwin build.
3734 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
3736 * ido.el (ido-file-internal): Ask for confirmation before
3737 overwriting an existing file (Bug#1238).
3739 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
3741 * tool-bar.el (tool-bar-setup): Add separators.
3743 * menu-bar.el (featurep): Use menu-bar-separator.
3745 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
3747 Migrate allout encryption provisions from pgg to epg.
3749 * allout.el (allout-toggle-current-subtree-encryption)
3750 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
3751 defaulting policy and other changes. Change fetch-pass to keymode-cue,
3752 for simpler universal argument interpretation.
3753 (allout-toggle-subtree-encryption): Adjust docstring to describe
3754 changed encryption provisions. Change fetch-pass to keymode-cue, for
3755 simpler universal argument interpretation. Remove provisions for
3756 handling key type and identity - they'll all be within
3757 allout-encrypt-string or epg/epg or even contained all the way in gpg.
3758 (allout-encrypt-string): Include keymode-cue, for optionally prompting
3759 for keypair recipients (universal argument > 1) and, in addition,
3760 associating the specified recipients with the outline (universal
3761 argument > 4) using a file local variable setting for
3762 'epa-file-encrypt-to'.
3763 Require epa, for recipients handling.
3764 Change how regexp filtering elements are named.
3765 Describe the problem with caching of incorrect symmetric-decryption
3767 Use the epa-passphrase-callback-function, in case the user is using
3769 Support saving of the selected keypair recipients when invoked with a
3771 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
3773 Establish epg-context with armoring and default epg-protocol.
3774 Remove all passphrase cache, verification, and hinting code.
3775 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
3776 No longer used, delete.
3777 (allout-mode): Adjust docstring to describe changed encryption
3778 provisions. Describe the problem with caching of incorrect
3779 symmetric-decryption keys.
3780 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
3781 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
3782 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
3783 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
3786 2010-12-16 Daiki Ueno <ueno@unixuser.org>
3788 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
3789 key selection prompt; make 'silent as default (Bug#7487).
3791 2010-12-16 Leo <sdl.web@gmail.com>
3793 * eshell/eshell.el (eshell-directory-name):
3794 Use locate-user-emacs-file (Bug#7578).
3796 2010-12-15 Glenn Morris <rgm@gnu.org>
3798 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
3800 2010-12-15 Jari Aalto <jari.aalto@cante.net>
3801 Scott Evans <gse@antisleep.com>
3803 * rect.el (rectange--default-line-number-format)
3804 (rectangle-number-line-callback): New functions.
3805 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
3807 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
3809 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
3810 Delete unused variables.
3811 (move-to-column-force): Remove function obsolete since 21.2.
3813 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
3815 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
3816 (tramp-handle-insert-file-contents): Do not set permanent-local
3819 * net/tramp-cache.el (tramp-persistency-file-name):
3820 Use `locate-user-emacs-file' if fboundp.
3822 * net/tramp-sh.el (tramp-methods): Add "ksu".
3823 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
3826 2010-12-14 Glenn Morris <rgm@gnu.org>
3828 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3829 (find-tag-marker-ring): Declare.
3830 (js-find-symbol): Require etags.
3832 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3834 (mail-alias-file): Don't autoload. Doc fix.
3835 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3836 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
3837 Mark as obsolete, and risky.
3838 (mail-setup): Simplify.
3840 * mail/mailalias.el (build-mail-aliases): Make it interactive.
3841 * mail/sendmail.el (build-mail-aliases): Update autoload.
3843 * dired.el (dired-trivial-filenames, dired-chown-program)
3844 (dired-auto-revert-buffer): Remove autoload cookies.
3845 * mail/sendmail.el (mail-recover-1): Require 'dired.
3847 * dired.el (dired-subdir-switches, dired-chown-program)
3848 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3849 Make into defcustoms.
3850 (dired-chown-program): Simplify initialization.
3852 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3854 2010-12-13 Romain Francoise <romain@orebokech.com>
3856 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3858 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3860 * net/netrc.el (netrc-point-at-eol): Remove the unused
3861 netrc-point-at-old and netrc-bound-and-true-p bindings.
3862 (netrc-parse): Cache the netrc contents.
3864 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3866 * subr.el (posn-col-row): Evaluate header-line-format in the
3867 context of the POSITION window's buffer.
3869 2010-12-13 Glenn Morris <rgm@gnu.org>
3871 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3872 (with-silent-modifications): Doc fixes.
3874 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3876 * net/tramp.el (tramp-action-password, tramp-process-actions):
3877 Revert previous from. Use `save-restriction'.
3879 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
3881 * calendar/diary-lib.el (diary-list-sexp-entries):
3882 Handle case of no newline at end of file. (Bug#7536)
3884 2010-12-13 Glenn Morris <rgm@gnu.org>
3886 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3888 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3890 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3891 (tramp-process-actions): Do not widen.
3893 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3894 Protect buffer-modified value. (Bug#7557)
3896 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
3898 * log-edit.el (log-edit-changelog-entries):
3899 Regexp quote filename. (Bug#7505)
3901 2010-12-13 Tom Breton <tehom@panix.com>
3903 * cus-edit.el (custom-save-all):
3904 Bind print-length and print-level to nil. (Bug#7581)
3906 2010-12-13 Glenn Morris <rgm@gnu.org>
3908 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3909 Run hooks to update menu contents. (Bug#7586)
3911 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3912 file names, for the sake of MS Windows. (Bug#7588)
3914 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3916 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3917 empty lines without a leading space.
3919 2010-12-13 Leo <sdl.web@gmail.com>
3921 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3922 while mapping over marks (Bug#6810).
3924 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3926 * image-dired.el (image-dired-db-file)
3927 (image-dired-temp-image-file, image-dired-gallery-dir)
3928 (image-dired-temp-rotate-image-file): Set default values relative
3929 to image-dired-dir (Bug#7518).
3931 2010-12-13 Lawrence Mitchell <wence@gmx.li>
3933 * format.el (format-decode-run-method): Pass args FROM and TO, not
3934 point-min and point-max, to shell-command-on-region (Bug#7488).
3936 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
3938 * frame.el (blink-cursor-mode): Make default t for ns.
3940 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3942 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3944 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3946 * comint.el (comint-dynamic-list-input-ring)
3947 (comint-dynamic-complete-filename)
3948 (comint-replace-by-expanded-filename)
3949 (comint-dynamic-simple-complete)
3950 (comint-dynamic-list-filename-completions)
3951 (comint-dynamic-list-completions): Doc fix (Bug#7499).
3953 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3956 2010-12-13 Martin Rudalics <rudalics@gmx.at>
3958 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3961 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
3963 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3966 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3968 * files.el (file-relative-name): Handle UNC file names on
3969 DOS/Windows. (Bug#4674)
3971 2010-12-13 Daiki Ueno <ueno@unixuser.org>
3973 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3974 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3975 (epg-context-set-passphrase-callback): Mention that the callback
3976 is not called when used with GnuPG 2.x.
3978 2010-12-13 Glenn Morris <rgm@gnu.org>
3980 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3981 Ensure ps-footer-font-size-internal is initialized.
3982 Call ps-get-page-dimensions before trying to use ps-font-for-text.
3984 2010-12-13 Kenichi Handa <handa@m17n.org>
3986 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3987 within condition-case.
3988 (rmail-show-mime): Don't use condition-case.
3989 (rmail-search-mime-message): New function.
3990 (rmail-search-mime-message-function): Set to
3991 rmail-search-mime-message.
3993 2010-12-13 Leo <sdl.web@gmail.com>
3995 * ido.el (ido-common-initialization): New function. (bug#3274)
3997 (ido-completing-read): Call it.
3999 2010-12-12 Karl Fogel <kfogel@red-bean.com>
4001 * bookmark.el (bookmark-name-from-full-record): Rename back to
4002 this original name from `bookmark-name-from-record' reverting part
4003 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
4004 As Drew Adams pointed out, there was no reason to cause churn for
4005 third-party callers. (Bug#7609)
4007 2010-12-12 Alan Mackenzie <acm@muc.de>
4009 * progmodes/cc-engine.el (c-forward-type): Before scanning a
4010 template arglist, check that the current language supports this.
4012 2010-12-11 Glenn Morris <rgm@gnu.org>
4014 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
4015 state of the file matches. (Bug#7544)
4016 (vc-bzr-register, vc-bzr-checkin)
4017 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
4018 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
4020 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
4022 2010-12-11 Karel Klíč <kklic@redhat.com>
4024 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
4026 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4028 Derive from prog-mode, use derived-mode-p, and fix up various
4029 minor style issues in lisp/progmodes.
4031 * progmodes/vhdl-mode.el (vhdl-mode):
4032 * progmodes/verilog-mode.el (verilog-mode):
4033 * progmodes/vera-mode.el (vera-mode):
4034 * progmodes/sql.el (sql-mode):
4035 * progmodes/scheme.el (scheme-mode):
4036 * progmodes/perl-mode.el (perl-mode):
4037 * progmodes/octave-inf.el (inferior-octave-mode):
4038 * progmodes/autoconf.el (autoconf-mode):
4039 * progmodes/m4-mode.el (m4-mode):
4040 * progmodes/inf-lisp.el (inferior-lisp-mode):
4041 * progmodes/idlwave.el (idlwave-mode):
4042 * progmodes/icon.el (icon-mode):
4043 * progmodes/idlw-help.el (idlwave-help-mode):
4044 * progmodes/dcl-mode.el (dcl-mode):
4045 * progmodes/idlw-shell.el (idlwave-shell-mode):
4046 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
4047 (ebrowse-member-mode, ebrowse-electric-position-mode):
4048 Use define-derived-mode.
4050 * progmodes/xscheme.el (exit-scheme-interaction-mode)
4051 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
4052 (xscheme-debugger-mode-p, xscheme-send-string-1):
4053 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
4054 (tcl-load-file, tcl-restart-with-file):
4055 * progmodes/ps-mode.el (ps-run-running):
4056 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
4057 * progmodes/js.el (js--get-all-known-symbols):
4058 * progmodes/inf-lisp.el (inferior-lisp-proc):
4059 * progmodes/idlwave.el (idlwave-beginning-of-statement)
4060 (idlwave-template, idlwave-update-buffer-routine-info)
4061 (idlwave-update-current-buffer-info)
4062 (idlwave-get-routine-info-from-buffers, idlwave-choose)
4063 (idlwave-scan-class-info, idlwave-fix-keywords)
4064 (idlwave-list-buffer-load-path-shadows):
4065 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
4066 (idlwave-toolbar-remove):
4067 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
4068 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
4069 (idlwave-shell-menu-def):
4070 * progmodes/idlw-complete-structtag.el
4071 (idlwave-prepare-structure-tag-completion):
4072 * progmodes/gud.el (gud-set-buffer):
4073 * progmodes/f90.el (f90-backslash-not-special):
4074 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
4076 * progmodes/xscheme.el (xscheme-start)
4077 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
4078 * progmodes/which-func.el (which-function):
4079 * progmodes/vhdl-mode.el (vhdl-set-style):
4080 * progmodes/verilog-mode.el (verilog-set-compile-command)
4081 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
4082 (verilog-set-define, verilog-auto-reeval-locals):
4083 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
4084 * progmodes/simula.el (simula-mode):
4085 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
4086 * progmodes/python.el (python-check, python-mode):
4087 * progmodes/prolog.el (prolog-mode-variables):
4088 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
4089 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
4090 * progmodes/delphi.el (delphi-mode):
4091 * progmodes/cc-styles.el (c-setup-paragraph-variables):
4092 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
4093 (c-font-lock-init): Move make-local-variable to their setq.
4095 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
4096 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
4098 * progmodes/sh-script.el (sh-require-final-newline): Remove.
4099 (sh-set-shell): Don't set require-final-newline since it's already done
4101 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
4102 since we never set it.
4103 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
4104 Use read-string and standard prompt.
4105 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
4106 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
4107 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
4108 (meta-common-mode-map): Rename from meta-mode-map.
4109 Remove C-m binding, which is a user preference, not mode specific.
4110 (meta-common-mode): New major mode; replace meta-common-initialization.
4111 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
4112 around with font-lock.
4113 * progmodes/etags.el (select-tags-table-mode):
4114 Derive from special-mode.
4115 * progmodes/octave-mod.el (octave-mode):
4116 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
4117 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
4118 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
4119 Let define-derived-mode do its job.
4120 * progmodes/cpp.el (cpp-edit-mode-map):
4121 Move initialization into declaration.
4122 (cpp-edit-mode): Use define-derived-mode.
4123 (cpp-edit-load): Use derived-mode-p.
4124 * progmodes/mixal-mode.el (mixal-mode):
4125 * progmodes/f90.el (f90-mode):
4126 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
4127 require-final-newline since prog-mode does it already.
4128 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
4129 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
4130 * progmodes/antlr-mode.el: Require cc-mode upfront.
4131 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
4133 (antlr-directory-dependencies, antlr-show-makefile-rules):
4135 (antlr-language-option): Don't assume point-min==1.
4136 (antlr-mode): Use define-derived-mode.
4137 * progmodes/ada-mode.el: Use derived-mode-p.
4138 (ada-mode): Use define-derived-mode.
4139 Use hack-local-variables-hook.
4141 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4143 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
4144 (texinfo-mode): Don't disable adaptive-fill-mode.
4145 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
4146 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
4147 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
4148 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
4149 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
4150 (texinfo-insert-@quotation, texinfo-insert-@samp)
4151 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
4152 (texinfo-insert-@uref): Use define-skeleton.
4153 (texinfo-insert-@-with-arg): Delete.
4155 2010-12-10 Eli Zaretskii <eliz@gnu.org>
4157 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
4158 nil, do quote archive member names. (Bug#6144)
4160 2010-12-10 Glenn Morris <rgm@gnu.org>
4162 * files.el (diff-no-select): Declare.
4164 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
4165 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
4167 * comint.el (comint-input-ring-file-name): Doc fix.
4169 2010-12-09 Eli Zaretskii <eliz@gnu.org>
4171 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
4173 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
4174 Use them instead of `nil' and `>', respectively.
4175 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
4177 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
4178 and menu-bar-positive-p instead of `nil' and `>', respectively.
4181 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4183 * whitespace.el (whitespace-newline-mode): Code fix.
4185 2010-12-09 Glenn Morris <rgm@gnu.org>
4187 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
4188 Rename functions without commas, update callers.
4190 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
4192 * whitespace.el (whitespace-cleanup-region):
4193 Clean up spaces before tabs. (Bug#7582)
4195 2010-12-08 Karl Fogel <kfogel@red-bean.com>
4197 * bookmark.el: Adjust parameter names and doc strings to resolve
4198 confusion over whether "bookmark" meant a bookmark name or a
4199 bookmark record. Along the way, shorten one function's name for
4200 similar reasons. (Issue #7548)
4201 (bookmark-name-from-record): New name for
4202 `bookmark-name-from-full-record'. All callers changed.
4203 (bookmark-get-bookmark, bookmark-get-bookmark-record)
4204 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
4205 (bookmark-get-annotation, bookmark-set-annotation)
4206 (bookmark-get-filename, bookmark-set-filename)
4207 (bookmark-get-position, bookmark-set-position)
4208 (bookmark-get-front-context-string, bookmark-set-front-context-string)
4209 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
4210 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
4211 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
4212 Rename `bookmark' parameter to `bookmark-name-or-record', to
4213 clearly show its role, and shorten or adjust doc strings accordingly.
4214 (bookmark-set-name): Same, and pass the parameter directly to
4215 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
4216 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
4217 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
4218 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
4219 and in some cases shorten doc string accordingly.
4220 (bookmark-rename): Change `old' and `new' parameters to `old-name'
4221 and `new-name', and adjust an internal variable to avoid confusion.
4222 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
4223 parameter in doc string.
4225 2010-12-08 Glenn Morris <rgm@gnu.org>
4227 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
4228 from gdb's history file. (Bug#7575)
4230 * mail/emacsbug.el (report-emacs-bug):
4231 Try to handle some other mail clients.
4233 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4235 * files.el (dir-locals-collect-variables): Don't let errors stop us.
4236 Use string-prefix-p.
4237 (file-name-version-regexp): New var.
4238 (file-name-sans-versions):
4239 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
4240 (jka-compr-get-compression-info): Use dolist.
4241 (jka-compr-compression-info-list): Don't bother specifying
4242 version/backup regexps.
4244 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
4246 * simple.el (just-one-space): Make argument n default to 1 if
4249 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4251 * electric.el (electric-indent-post-self-insert-function):
4252 Delete trailing newlines even if we don't reindent.
4254 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4256 * minibuffer.el (completion-at-point): Remove the `arg'.
4257 * bindings.el (complete-symbol): Move back from minibuffer.el.
4259 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4261 * simple.el (just-one-space): Delete newlines for negative arg.
4263 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4265 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
4266 (ansi-color-filter-apply): Simplify.
4267 (ansi-color-apply): Use `font-lock-face' rather than `face'.
4269 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
4271 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
4273 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
4275 * dired.el (dired-use-ls-dired): Set default to a special
4276 "unspecified" value.
4277 (dired-insert-directory): When called the first time, check
4278 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
4280 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
4282 * replace.el: Add "collect" feature to occur.
4283 (occur-collect-regexp-history): New var.
4284 (occur-read-primary-args): Return a replace string for nlines,
4286 (occur): Extend the meaning of nlines.
4288 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4290 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
4291 (which-func-update-1): Distinguish symbols from strings.
4292 (which-function): Stay within 80 columns.
4294 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4296 * subr.el (with-demoted-errors): Distinguish symbols from strings.
4298 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
4300 (comment-style): Use comment-styles's docs to describe values.
4302 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
4304 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
4305 and ns-show-prefs (Bug#7535).
4307 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
4308 bindings (Bug#7535).
4310 2010-12-03 Glenn Morris <rgm@gnu.org>
4312 * nxml/nxml-mode.el: Require rng-nxml.
4313 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
4314 Remove declarations.
4316 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
4317 * nxml/rng-nxml.el, nxml/rng-valid.el:
4318 Remove leading `*' from defcustom docs.
4320 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
4321 (normal-top-level-add-to-load-path, tty-handle-args):
4322 Convert comments to basic doc-strings.
4324 * net/browse-url.el (browse-url-url-at-point)
4325 (browse-url-default-browser): Remove autoload cookies.
4327 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4328 Remove more undefined cl functions.
4330 * vc/diff.el (diff-sentinel): Make new arguments optional.
4331 * ibuf-ext.el (diff-sentinel): Update declaration.
4333 2010-12-03 Daiki Ueno <ueno@unixuser.org>
4335 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
4336 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
4337 (epg-context-set-passphrase-callback): Mention that the callback
4338 is not called when used with GnuPG 2.x.
4340 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
4342 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
4343 (tramp-file-name-port): Check also for `tramp-default-port'.
4344 (tramp-get-connection-name): New defun.
4345 (tramp-get-connection-process): Use it.
4346 (tramp-debug-message): Extend function exclude list.
4347 (tramp-drop-volume-letter): Fix doc string.
4349 * net/tramp-cmds.el: Remove solved todo item.
4352 * net/tramp-gvfs.el:
4354 * net/tramp-imap.el:
4355 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
4356 and `tramp-default-user-alist', respectively.
4358 * net/tramp-gw.el (tramp-gw-open-connection):
4359 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
4361 * net/tramp-imap.el (tramp-imap-make-iht): Use just
4362 `tramp-file-name-port'.
4364 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
4365 and "psftp". Exchange "%k" marker with options.
4366 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
4367 Compute size of link target.
4368 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
4369 `tramp-current-*' up due to gateway methods. Optimize computing of
4370 copy arguments. Use `tramp-get-connection-name' and
4371 `tramp-get-connection-buffer'. Improve debug messages.
4372 (tramp-compute-multi-hops): Remove port determination.
4373 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
4375 * net/trampver.el: Update release number.
4377 2010-12-02 Glenn Morris <rgm@gnu.org>
4379 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4380 Avoid infinite loop over windows. (Bug#7492)
4382 * progmodes/flymake.el (flymake-check-file-limit):
4383 Allow nil to mean "no limit".
4384 (flymake-check-patch-master-file-buffer): Update for above change.
4385 Allow a .tex file-name extension to be optional.
4386 (flymake-master-tex-init): Also match \include statements.
4388 2010-11-30 Sam Steingold <sds@gnu.org>
4390 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
4391 (nxml-parent-document-set): A function to set `nxml-parent-document'.
4392 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
4393 (nxml-mode-hook): Remove `defcustom' (auto-defined by
4394 define-derived-mode').
4395 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
4396 users who want to call `nxml-parent-document-set'.
4398 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4400 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
4401 stand-alone lines, since that is handled by log-edit-match-to-eoh
4404 2010-11-27 Eduard Wiebe <usenet@pusto.de>
4406 * dired.el (dired-get-filename): Replace backslashes with slashes
4407 in file names on MS-Windows, needed by `locate'. (Bug#7308)
4408 * locate.el (locate-default-make-command-line): Don't consider
4409 drive letter and root directory part of
4410 `directory-listing-before-filename-regexp'. (Bug#7308)
4411 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
4413 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4415 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
4416 of :smie-open/close-alist.
4417 (smie-next-sexp): Make it accept a "start token" as argument.
4418 (smie-indent-keyword): Be careful not to misidentify tokens that span
4419 more than one line, as empty lines. Add argument `token'.
4421 2010-11-27 Kenichi Handa <handa@m17n.org>
4423 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
4424 multipart subtypes, insert all as usual.
4426 * mail/rmail.el: Require rfc2047.
4428 2010-11-27 Kenichi Handa <handa@m17n.org>
4430 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
4431 (rmail-mime-entity-disposition)
4432 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
4433 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
4434 (rmail-mime-save): Handle the case that the button's `data' is a
4436 (rmail-mime-insert-text): New function.
4437 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
4438 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
4439 (rmail-mime-insert-bulk): New function mostly copied from the old
4440 rmail-mime-bulk-handler.
4441 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
4442 (rmail-mime-process-multipart): New function mostly copied from
4443 the old rmail-mime-multipart-handler.
4444 (rmail-mime-show): Just call rmail-mime-process.
4445 (rmail-mime-process): New function mostly copied from the old
4447 (rmail-mime-insert-multipart, rmail-mime-parse)
4448 (rmail-mime-insert, rmail-show-mime)
4449 (rmail-insert-mime-forwarded-message)
4450 (rmail-insert-mime-resent-message): New functions.
4451 (rmail-insert-mime-forwarded-message-function): Set to
4452 rmail-insert-mime-forwarded-message.
4453 (rmail-insert-mime-resent-message-function): Set to
4454 rmail-insert-mime-resent-message.
4456 * mail/rmailsum.el: Require rfc2047.
4457 (rmail-header-summary): Handle multiline Subject: field.
4458 (rmail-summary-line-decoder): Change the default to
4459 rfc2047-decode-string.
4461 * mail/rmail.el (rmail-enable-mime): Change the default to t.
4462 (rmail-mime-feature): Change the default to `rmailmm'.
4463 (rmail-quit): Delete the specifal code for rmail-enable-mime.
4464 (rmail-display-labels): Likewise.
4465 (rmail-show-message-1): Check rmail-enable-mime, and use
4466 rmail-show-mime-function for a MIME message. Decode the headers
4467 according to RFC2047.
4469 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4471 * progmodes/which-func.el (which-func-imenu-joiner-function):
4472 Return a string, as expected.
4473 (which-function-mode): Make sure we stop any previous timer before
4476 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
4478 * net/tramp.el (tramp-default-method-alist)
4479 (tramp-default-user-alist, tramp-default-proxies-alist):
4480 Adapt custom options type. (Bug#7445)
4482 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4484 * progmodes/python.el: Add Ipython support (Bug#5390).
4485 (python-shell-prompt-alist)
4486 (python-shell-continuation-prompt-alist): New options.
4487 (python--set-prompt-regexp): New function.
4488 (inferior-python-mode, run-python, python-shell):
4489 Require ansi-color. Use python--set-prompt-regexp to set the comint
4490 prompt based on the Python interpreter.
4491 (python--prompt-regexp): New var.
4492 (python-check-comint-prompt)
4493 (python-comint-output-filter-function): Use it.
4494 (run-python): Use a pipe (Bug#5694).
4496 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4498 * progmodes/python.el (run-python): Doc fix.
4499 (python-keep-current-directory-in-path): New var (Bug#7454).
4501 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4503 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4504 Prompt user before actually printing.
4506 2010-11-27 Glenn Morris <rgm@gnu.org>
4508 * startup.el (package-enable-at-startup, package-initialize):
4509 Remove unnecessary declarations.
4511 2010-11-27 Eli Zaretskii <eliz@gnu.org>
4513 * international/characters.el (glyphless-char-display-control):
4514 Exclude newline and TAB from the c0-control group.
4516 2010-11-27 Glenn Morris <rgm@gnu.org>
4518 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
4519 (expand-mail-aliases): Remove unnecessary autoload.
4521 * allout.el (allout-command-prefix, allout-mode-map): Declare.
4523 * shell.el (shell-dir-cookie-re): Move definition before use.
4525 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4526 Replace undefined CL functions.
4528 2010-11-26 Eli Zaretskii <eliz@gnu.org>
4530 * simple.el (prog-mode): Set bidi-paragraph-direction to
4533 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
4535 2010-11-26 Glenn Morris <rgm@gnu.org>
4537 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
4538 diary-outlook-formats can be sensitive to calendar-date-style.
4539 (diary-outlook-formats): Simplify the default setting.
4540 (diary-from-outlook-internal): Pass subject and body as arguments.
4541 Use dolist rather than dotimes. Don't save the diary buffer.
4542 (diary-from-outlook-gnus, diary-from-outlook-rmail):
4543 Pass subject and body as explicit arguments to the -internal function.
4545 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4547 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
4548 parsing them. This makes mailto:...?subject=foo\nbar work.
4550 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4552 * vc/diff.el (diff): Fix last change.
4554 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4556 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
4557 (pcase--dontcare-upats): New var.
4558 (pcase-let, pcase-let*): Generate better code.
4559 Accept the same bodies as `let'.
4560 (pcase-dolist): New macro.
4561 (pcase--trivial-upat-p): New helper function.
4562 (pcase--expand): Strip leading "(let nil" if any.
4564 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4566 * mail/mailclient.el (browse-url): Require.
4567 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
4568 use the external browser function to send the mail (bug#7469).
4570 * net/browse-url.el (browse-url-browser-function): Revert the
4571 default back to the previous value, since the new value broke
4573 (browse-url-mailto-function): New variable for mailto: URLs.
4574 (browse-url): Use the new variable for mailto: URLs.
4576 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4578 * eshell/esh-cmd.el (eshell-parse-command):
4579 * eshell/esh-arg.el (eshell-parse-arguments):
4580 * eshell/em-script.el (eshell-source-file):
4581 Use with-silent-modifications.
4583 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4585 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
4586 for a merge location.
4588 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
4589 (vc-bzr-merge-branch): Always prompt.
4590 (vc-bzr-async-command): Use the full branch filename.
4592 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4594 * shell.el (shell): Use current-buffer by default if it's already
4595 a shell mode buffer and its process is dead.
4596 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
4598 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
4600 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4601 Mention that the keywords should be comma separated.
4603 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4605 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
4606 Accept optional prefix arg meaning to prompt for a command.
4607 (vc-update): Use vc-BACKEND-pull if available. Accept optional
4608 prefix arg meaning to prompt for a command.
4609 (vc-pull): Alias for vc-update.
4611 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
4612 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
4613 (vc-bzr-merge-branch): New functions, implementing merge-branch
4614 and pull operations.
4616 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4618 * Makefile.in: Fix up last merge.
4620 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
4621 (diff-sentinel): Get them as arguments instead.
4622 (diff-old-file, diff-new-file, diff-extra-args): Remove.
4623 (diff-file-local-copy, diff-better-file-name): New funs.
4624 (diff-no-select): Rename from diff-into-buffer.
4625 Support buffers additionally to files. Move `buf' arg. Don't display buf.
4626 Prefer closures to buffer-local variables.
4627 (diff): Adjust accordingly.
4628 (diff-buffer-with-file): Move from files.el.
4629 * files.el (diff-buffer-with-file): Move to vc/diff.el.
4630 (diff-buffer-internal): Remove.
4631 (diff-buffer-buffer): Remove.
4632 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
4633 the buffer name used, and so as not to mess up windows and frames.
4635 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
4637 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
4638 (diff-buffer-internal): New function extracted from diff-buffer-with-file
4639 (diff-buffer-with-file): Use it.
4640 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
4643 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
4645 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
4646 \ref's or \pageref's value as default instead of initial input.
4648 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
4650 * files.el (backup-by-copying-when-mismatch): The default value is
4653 * startup.el (normal-top-level):
4654 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4655 `backup-by-copying-when-mismatch'.
4657 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4659 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
4661 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4663 * progmodes/python.el (python-font-lock-keywords):
4664 Highlight top-level augmented assignments (Bug#6445).
4666 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4668 * term/ns-win.el (ns-right-control-modifier)
4669 (ns-right-command-modifier): Defvar them.
4671 * cus-start.el (all): Add ns-right-control-modifier and
4672 ns-right-command-modifier (Bug#7458).
4674 2010-11-20 Glenn Morris <rgm@gnu.org>
4676 * emacs-lisp/authors.el (authors-ignored-files)
4677 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
4679 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4681 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
4682 (report-emacs-bug-parse-query-results)
4683 (report-emacs-bug-create-existing-bugs-buffer): Pass through
4684 keywords used for querying the bug database to show them in the
4685 existing bugs buffer.
4687 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
4689 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
4691 * info.el (info-tool-bar-map): Add some :vert-only keywords.
4693 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4695 * international/characters.el (glyphless-char-display-control):
4696 Make it a defcustom, with update-glyphless-char-display as its
4698 (top level): Don't call update-glyphless-char-display.
4700 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
4702 Sync with Tramp 2.2.0.
4704 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
4705 `file-remote-p' (due to compatibility).
4707 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
4708 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
4710 * net/trampver.el: Update release number.
4712 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4714 * faces.el (glyphless-char): Define value for `pc'.
4716 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4718 Implemented a bug querying mechanism.
4719 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
4720 (report-emacs-bug-create-existing-bugs-buffer)
4721 (report-emacs-bug-parse-query-results)
4722 (report-emacs-bug-query-existing-bugs): New functions.
4724 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
4726 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
4727 a \ref{} or \pageref{} macro, then use its value as initial input.
4729 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4731 * calc/calc-units.el (math-build-units-table-buffer):
4732 calc/README: Mention that the TeX specific units won't use the
4733 `tex' prefix in TeX mode.
4734 calc/calc-lang.el (math-variable-table): Don't use the `tex'
4735 prefix for units in TeX mode.
4737 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4739 * simple.el (kill-new, kill-append, kill-region):
4740 * comint.el (comint-kill-region): Make the yank-handler argument
4743 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4745 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
4746 that are both openers (resp. closers) and something else.
4747 (smie-grammar): Loosen definition of valid values.
4748 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
4749 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
4750 (smie-indent-after-keyword): Adjust users.
4751 (smie-indent-keyword): Don't indent empty lines.
4753 * vc-hg.el (vc-hg-program): New var.
4754 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
4755 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
4757 2010-11-18 Glenn Morris <rgm@gnu.org>
4759 * emacs-lisp/autoload.el (autoload-find-destination): The function
4760 coding-system-eol-type may return non-numeric values. (Bug#7414)
4762 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
4764 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
4766 2010-11-18 Eli Zaretskii <eliz@gnu.org>
4768 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
4770 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
4772 * textmodes/picture.el (picture-mouse-set-point): Don't use
4773 posn-col-row; explicitly compute the motion based on the posn at
4774 the window-start (Bug#7390).
4776 2010-11-18 Glenn Morris <rgm@gnu.org>
4778 * novice.el (disabled-command-function):
4779 Fix 2009-11-15 change. (Bug#7384)
4781 2010-11-18 Glenn Morris <rgm@gnu.org>
4783 * calendar/calendar.el (diary-iso-date-forms): Make elements
4784 mutually exclusive. (Bug#7377)
4786 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4788 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
4789 when filling the remaining "unconstrained" values.
4791 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4793 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
4796 * files.el (safe-local-variable-p): Gracefully handle errors.
4798 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
4799 Use smie-indent-virtual when indenting relative to an opener.
4800 (smie-rule-separator): Use smie-rule-parent.
4801 (smie-indent-keyword): Consult rules, even for openers at bol.
4802 (smie-indent-comment-close): Try to align closer's content.
4804 2010-11-18 Glenn Morris <rgm@gnu.org>
4806 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4808 2010-11-18 Glenn Morris <rgm@gnu.org>
4810 * printing.el (pr-menu-bind): Doc fix.
4812 * speedbar.el (speedbar-toggle-images): Doc fix.
4814 * progmodes/python.el (python-shell): Doc fix.
4816 * wid-edit.el (widget-field-use-before-change)
4817 (widget-use-overlay-change): Doc fixes.
4819 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4821 Minor cleanup to improve style.
4822 * textmodes/rst.el (rst-update-section): Use point-marker.
4823 (rst-get-decoration): Eliminate unneeded assignment.
4824 (rst-promote-region, rst-straighten-decorations)
4825 (rst-section-tree, rst-adjust): Use point-marker.
4826 (rst-toc-mode-mouse-goto): Avoid setq.
4827 (rst-shift-region-guts, rst-shift-region-left)
4828 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4829 (rst-convert-bullets-to-enumeration): Use copy-marker.
4831 * minibuffer.el (completion-fail-discreetly): New var.
4832 (completion--do-completion): Use it.
4834 * electric.el (electric-pair-pairs): New var.
4835 (electric-pair-post-self-insert-function): Use it.
4836 (electric-layout-post-self-insert-function): Don't insert a before
4837 newline unless it's actually needed.
4839 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4841 * progmodes/python.el (run-python): Explain why we remove the current
4842 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
4844 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4846 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4848 * progmodes/octave-mod.el: Rely on elecric-*-modes.
4849 (octave-mode-map): Don't bind ;, SPC, and LF.
4850 (octave-auto-indent, octave-auto-newline): Remove.
4851 (electric-layout-rules): Declare.
4852 (octave-mode): Set electric-layout-rules.
4853 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4854 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4855 (octave-electric-space): Remove.
4857 * electric.el (electric-layout-mode): New minor mode.
4858 (electric--after-char-pos): New function.
4859 (electric-indent-post-self-insert-function): Use it.
4860 (electric-layout-rules): New var.
4861 (electric-layout-post-self-insert-function): New function.
4862 (electric-indent-mode): Make them interact better.
4864 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4866 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4867 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4868 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4870 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
4872 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4873 Make sure to check inside the word (Bug#6761).
4875 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
4877 * startup.el (command-line): If the cursorColor resource is set,
4878 change the cursor face-spec (Bug#7392).
4880 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
4882 The main features of the following allout.el changes are:
4883 - implement user customization for the allout key bindings
4884 - add a customization control by which the user can inhibit use of
4885 a trailing Ctrl-H, so by default it's reserved for use with
4886 describe-prefix-bindings
4887 - adapt to new version of called-interactively-p, while
4888 maintaining backwards compatibility with old version
4889 - fix hotspot navigation so i works properly with meta-modified keys.
4891 * allout.el (allout-keybindings, allout-bind-keys)
4892 (allout-keybindings-binding, allout-prefixed-keybindings)
4893 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4894 (allout-keybindings-list, allout-mode-map-adjustments)
4895 (allout-setup-mode-map): Establish allout-mode keymaps as user
4896 customizable settings, and also establish a customizable setting which
4897 regulates whether or not a trailing control-h is reserved for use with
4898 describe-prefix-bindings - and inhibit it by default, so that control-h
4899 *is* reserved for describe-prefix-bindings unless the user changes it.
4901 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4902 and accurately between modified and unmodified events, and handle
4903 modified events more comprehensively.
4905 * allout.el (allout-substring-no-properties):
4906 Alias to use or provide version of `substring-no-properties'.
4907 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4909 * allout.el (allout-next-single-char-property-change):
4910 Alias to use or provide version of `next-single-char-property-change'.
4911 (allout-annotate-hidden, allout-hide-by-annotation):
4912 Use `allout-next-single-char-property-change'.
4914 * allout.el (allout-select-safe-coding-system):
4915 Alias to use or provide version of `select-safe-coding-system'.
4916 (allout-toggle-subtree-encryption):
4917 Use `allout-select-safe-coding-system'.
4919 * allout.el (allout-set-buffer-multibyte):
4920 Alias to use or provide version of `set-buffer-multibyte'.
4921 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4923 * allout.el (allout-called-interactively-p): Macro for using the
4924 different versions of called-interactively-p identically, depending on
4925 the subroutine's argument signature.
4926 (allout-back-to-current-heading, allout-beginning-of-current-entry):
4927 Use `(interactive "p")' instead of `(called-interactively-p)'.
4929 * allout.el (allout-init, allout-ascend, allout-end-of-level)
4930 (allout-previous-visible-heading, allout-forward-current-level)
4931 (allout-backward-current-level, allout-show-children):
4932 Use `allout-called-interactively-p' instead of `called-interactively-p'.
4934 * allout.el (allout-before-change-handler):
4935 Exempt edits to the (overlaid) character after the allout outline
4936 bullet from edit confirmation prompt.
4938 * allout.el (allout-add-resumptions):
4939 Ensure that it respects correct buffer for keybindings.
4941 * allout.el (allout-beginning-of-line):
4942 Use `allout-previous-single-char-property-change' alias for the sake of
4943 diverse compatibility.
4945 * allout.el (allout-end-of-line):
4946 Use `allout-mark-active-p' to encapsulate respect for mark activity.
4948 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
4950 * frame.el (frame-notice-user-settings): Don't clobber other
4951 user-set parameters when calling face-set-after-frame-default in
4952 response to background-color parameter (Bug#7373).
4954 2010-11-13 Eli Zaretskii <eliz@gnu.org>
4956 * international/characters.el (glyphless-char-display-control):
4957 Rename from glyphless-char-control; all users changed. Doc fix.
4958 Signal an error if display method is not one of the recognized
4961 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
4963 * net/tramp-compat.el (tramp-compat-line-beginning-position)
4964 (tramp-compat-line-end-position): Remove them.
4966 * net/tramp.el (tramp-parse-rhosts-group)
4967 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4968 (tramp-parse-hosts-group, tramp-parse-passwd-group)
4969 (tramp-parse-netrc-group, tramp-parse-putty-group)
4970 * net/tramp-cmds.el (tramp-append-tramp-buffers)
4971 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4972 (tramp-sh-handle-file-selinux-context)
4973 (tramp-sh-handle-file-name-all-completions)
4974 (tramp-sh-handle-insert-directory)
4975 (tramp-sh-handle-expand-file-name, tramp-find-executable)
4976 (tramp-wait-for-output, tramp-send-command-and-read)
4977 * net/tramp-smb.el (tramp-smb-read-file-entry)
4978 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4980 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4982 (tramp-remote-coding-commands): Add an alternative using "base64
4983 -d -i". This is needed for older base64 versions from GNU
4984 coreutils. Reported by Klaus Reichl
4985 <Klaus.Reichl@thalesgroup.com>.
4987 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
4989 * simple.el (count-words-region): New function.
4991 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4993 * shell.el (shell-dir-cookie-re): New custom variable.
4994 (shell-dir-cookie-watcher): New function.
4996 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4997 and compilation-mode (bug#7350).
4999 * vc/smerge-mode.el (smerge-refine): Choose better default part to
5000 highlight when one of them is empty.
5002 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
5004 (skeleton-newline): New function.
5005 (skeleton-internal-1): Use it.
5007 * simple.el (open-line): `newline' may strip trailing space.
5009 2010-11-12 Kevin Ryde <user42@zip.com.au>
5011 * international/mule-cmds.el (princ-list): Use mapc.
5013 2010-11-12 Glenn Morris <rgm@gnu.org>
5015 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
5016 Use it to replace all instances of "*Compile-Log*".
5018 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5020 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
5023 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5025 * progmodes/modula2.el: Use SMIE and skeleton.
5026 (m2-mode-syntax-table): (*..*) can be nested.
5027 Add //...\n. Fix paren syntax.
5028 (m2-mode-map): Remove LF and TAB bindings.
5029 (m2-indent): Add safety property.
5030 (m2-smie-grammar): New var.
5031 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
5032 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
5033 (m2-mode): Use define-derived-mode.
5034 (m2-newline, m2-tab): Remove.
5035 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
5036 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
5037 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
5038 (m2-import): Use define-skeleton.
5040 2010-11-11 Glenn Morris <rgm@gnu.org>
5042 * obsolete/lucid.el: Don't warn about any CL functions in this file.
5044 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
5045 (ls-lisp-verbosity): Add custom :set-after property.
5046 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
5047 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
5048 (ls-lisp-insert-directory): Update caller.
5049 (ls-lisp-set-options): New function.
5050 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
5053 * play/landmark.el (lm-prompt-for-move):
5054 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
5056 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
5058 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
5059 (idlwave-study-twins): Prefix dynamic local variable `name'.
5060 (idlwave-routine-twin-compare): Update for above change.
5062 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
5063 Prefix dynamic local variables `name', `kwd', and `link'.
5064 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
5065 * progmodes/idlw-complete-structtag.el
5066 (idlwave-complete-structure-tag-help):
5067 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
5068 (idlwave-complete-sysvar-tag-help)
5069 (idlwave-complete-class-structure-tag-help):
5070 Update for above name changes.
5072 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5074 * net/browse-url.el (browse-url-browser-function): Change the
5075 default to use `browse-url-mail' on mailto: URLs.
5077 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
5079 * emacs-lisp/package.el (package-read-all-archive-contents):
5080 Reset package-archive-contents to nil before re-reading.
5082 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
5084 * textmodes/flyspell.el (flyspell-word): Do not re-check words
5085 already found as misspellings by (flyspell-large-region), just
5086 do highlighting (bug#7322).
5088 2010-11-10 Glenn Morris <rgm@gnu.org>
5090 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
5092 * emulation/edt.el (edt-with-position): New macro.
5093 (edt-find-forward, edt-find-backward, edt-find-next-forward)
5094 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
5095 (edt-paragraph-forward, edt-paragraph-backward): Use it.
5097 * emulation/tpu-extras.el (tpu-with-position): New macro.
5098 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
5100 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
5102 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
5103 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
5104 (texinfo-master-menu, texinfo-insert-node-lines)
5105 (texinfo-multiple-files-update):
5106 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
5107 Use line-beginning-position.
5109 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
5110 No recent Emacs supports system-type `emx'.
5112 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
5113 (ada-command-separator, ada-default-prj-properties)
5114 (ada-find-any-references): Update for above name change.
5116 * dirtrack.el (dirtrack-directory-function)
5117 (dirtrack-canonicalize-function):
5118 * filecache.el (file-cache-completion-ignore-case)
5119 (file-cache-case-fold-search, file-cache-ignore-case):
5120 * term.el (serial-port-is-file-p): Cosmetic change.
5122 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
5123 Remove non-existent `windows-95' system-type.
5124 * dired.el (dired-chown-program): Remove non-existent `linux'
5127 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
5128 (ping-program-options): Remove non-existent `linux' system-type.
5130 * startup.el (package-initialize): Update declaration.
5132 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
5133 (ls-lisp-handle-switches): Use time-less-p.
5134 (ls-lisp-format-time): Use float-time.
5136 * textmodes/remember.el (remember-time-to-seconds): Remove.
5137 (remember-store-in-mailbox): Use float-time.
5139 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
5141 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
5142 never a real function.
5143 (with-no-warnings): Remove compat stub, now unused.
5144 (time-less-p): Doc fix.
5145 (time-to-number-of-days): Simplify.
5147 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
5149 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
5150 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
5151 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
5152 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
5153 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
5155 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
5156 (eshell-shuffle-files, eshell-shorthand-tar-command)
5157 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
5158 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
5159 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
5160 Prefix dynamic local variable `matches'.
5162 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
5163 Prefix dynamic local variable `skeleton'.
5165 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
5167 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
5168 in mail buffer; make yank-action always a command that yanks original
5171 2010-11-09 Glenn Morris <rgm@gnu.org>
5173 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
5175 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5177 * minibuffer.el (minibuffer-completion-help): Specify the end of the
5178 completion field (bug#7211).
5180 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
5181 Fix handling of backslash escapes.
5182 (python-quote-syntax): Adjust accordingly.
5184 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
5186 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
5187 (vc-mtn-workfile-branch): Adjust to new output format.
5189 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5191 * international/mule-cmds.el (princ-list): Mark as obsolete.
5193 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5195 * emacs-lisp/smie.el: New package.
5197 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
5199 * files.el (backup-by-copying-when-mismatch):
5200 Set `permanent-local' property.
5202 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
5203 `permanent-local' property for `backup-by-copying-when-mismatch'.
5205 2010-11-09 Eli Zaretskii <eliz@gnu.org>
5207 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
5209 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
5211 * progmodes/verilog-mode.el (verilog-insert-one-definition)
5212 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
5213 AUTOINOUT for SV style multidimensional arrays, bug294.
5214 Reported by Eric Mastromarchi.
5215 (verilog-preprocess): Use with-current-buffer and
5216 font-lock-fontify-buffer to cleanup style issues.
5218 2010-11-09 Glenn Morris <rgm@gnu.org>
5220 * locate.el (locate, locate-mode): Doc fixes.
5222 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
5224 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
5225 user for confirmation.
5226 (server-force-stop): Use it.
5227 (server-start): Use server-force-stop for kill-emacs-hook, to
5228 avoid user interaction while killing Emacs.
5230 2010-11-09 Glenn Morris <rgm@gnu.org>
5232 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
5233 (meta-indent-line): Simplify.
5235 * vc/emerge.el (emerge-line-number-in-buf):
5236 * textmodes/ispell.el (ispell-region):
5237 * textmodes/fill.el (current-fill-column):
5238 * progmodes/xscheme.el (xscheme-send-current-line):
5239 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
5240 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
5241 * progmodes/sh-script.el (sh-handle-prev-do):
5242 * progmodes/meta-mode.el (meta-indent-line):
5243 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
5245 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
5246 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
5247 * progmodes/fortran.el (fortran-looking-at-if-then):
5248 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
5249 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
5250 (cperl-find-pods-heres):
5251 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
5252 * net/quickurl.el (quickurl-list-insert):
5253 * net/ldap.el (ldap-search-internal):
5254 * net/eudc.el (eudc-expand-inline):
5255 * mail/sendmail.el (sendmail-send-it):
5256 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
5257 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
5258 (viper-brac-function):
5259 * calc/calc-yank.el (calc-do-grab-region):
5260 * calc/calc-keypd.el (calc-keypad-press):
5261 * term.el (term-move-columns, term-insert-spaces):
5262 * speedbar.el (speedbar-highlight-one-tag-line):
5263 * simple.el (current-word):
5264 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
5265 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
5267 * hippie-exp.el (he-line-beg):
5268 * epa.el (epa--marked-keys):
5269 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
5270 (dired-update-file-line, dired-add-entry, dired-remove-entry)
5271 (dired-relist-entry):
5272 * buff-menu.el (Buffer-menu-buffer):
5273 * array.el (current-line):
5274 * allout.el (allout-resolve-xref)
5275 (allout-latex-verbatim-quote-curr-line):
5276 Replace yet more uses of end-of-line etc with line-end-position, etc.
5278 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5280 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
5281 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
5282 (checkdoc-syntax-table): Initialize in the declaration.
5283 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
5284 the mode on unconditionally.
5286 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
5287 (extent-end-position, extent-start-position): Remove setf method for
5288 non-existing functions (bug#7319).
5290 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5292 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
5293 (smie-precs->prec2): Rename from smie-precs-precedence-table.
5294 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
5295 (smie-prec2->grammar): Rename from smie-prec2-levels.
5296 (smie-grammar): Rename from smie-op-levels.
5297 (smie-indent--hanging-p): Rename from smie-hanging-p.
5298 (smie-rule-hanging-p): New alias.
5299 (smie-indent--bolp): Rename from smie-bolp.
5300 (smie-indent--hanging-p): New alias.
5301 (smie--token): New dynamically bound variable.
5302 (smie-indent--parent): New function.
5303 (smie-rule-parent-p): Use it; rename from smie-parent-p.
5304 (smie-rule-next-p): Rename from smie-next-p.
5305 (smie-rule-prev-p): Rename from smie-prev-p.
5306 (smie-rule-sibling-p, smie-rule-parent)
5307 (smie-indent--separator-outdent, smie-rule-separator): New functions.
5308 (smie-rule-separator-outdent): New var.
5309 (smie-indent--rule): Merge with smie-indent--column.
5310 (smie-indent-forward-token, smie-indent-backward-token):
5311 Also recognize close parens.
5312 (smie-indent-keyword): Don't use smie-indent--column any more.
5313 (smie-indent-after-keyword): Ignore closers by default.
5314 (smie-indent-line): Use with-demoted-errors.
5315 * progmodes/octave-mod.el (octave-smie-grammar):
5316 Rename from octave-smie-op-levels.
5317 (octave-smie-rules): Adjust to new behavior.
5318 * progmodes/prolog.el (prolog-smie-grammar):
5319 Rename from prolog-smie-op-levels.
5321 2010-11-07 Glenn Morris <rgm@gnu.org>
5323 * eshell/esh-util.el (subst-char-in-string)
5324 (directory-files-and-attributes): These compatibility definitions are
5325 not needed on any version of Emacs since at least 21.4.
5327 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
5328 (verilog-get-end-of-line): Remove.
5329 (verilog-within-string, verilog-re-search-forward-substr)
5330 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
5331 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
5332 Use point-at-bol, point-at-eol.
5333 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
5335 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
5336 (electric-pascal-terminate-line, pascal-set-auto-comments)
5337 (pascal-indent-paramlist, pascal-indent-declaration)
5338 (pascal-get-lineup-indent, pascal-func-completion)
5339 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
5340 Use point-at-bol, point-at-eol.
5341 * progmodes/flymake.el (flymake-line-beginning-position)
5342 (flymake-line-end-position): Remove.
5343 (flymake-highlight-line): Use point-at-bol, point-at-eol.
5344 * eshell/esh-util.el (line-end-position, line-beginning-position):
5345 Remove compat definitions.
5347 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
5349 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
5350 Use line-end-position.
5352 * emacs-lisp/chart.el (chart-zap-chars):
5353 * play/decipher.el (decipher-set-map):
5354 * progmodes/ada-mode.el (ada-get-current-indent)
5355 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
5356 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
5357 * progmodes/ada-xref.el (ada-initialize-runtime-library)
5358 (ada-get-all-references):
5359 * progmodes/cperl-mode.el (cperl-electric-paren)
5360 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
5361 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
5362 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
5363 (cperl-word-at-point-hard):
5364 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
5365 (idlwave-shell-filename-string, idlwave-shell-batch-command)
5366 (idlwave-shell-display-line):
5367 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
5368 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
5369 * progmodes/js.el (js--re-search-forward-inner)
5370 (js--re-search-backward-inner):
5371 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
5372 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
5373 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
5374 * textmodes/flyspell.el (flyspell-process-localwords):
5375 * textmodes/ispell.el (ispell-buffer-local-parsing)
5376 (ispell-buffer-local-dict, ispell-buffer-local-words):
5377 Use point-at-bol and point-at-eol.
5379 * speedbar.el (speedbar-generic-item-info)
5380 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
5381 (speedbar-add-indicator, speedbar-check-vc-this-line)
5382 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
5383 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
5384 Replace more uses of end-of-line etc with line-end-position.
5386 2010-11-06 Glenn Morris <rgm@gnu.org>
5388 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
5389 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
5390 (texinfo-delete-existing-pointers, texinfo-find-pointer)
5391 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
5392 (texinfo-multiple-files-update):
5393 * textmodes/table.el (table--probe-cell-left-up)
5394 (table--probe-cell-right-bottom):
5395 * textmodes/picture.el (picture-tab-search):
5396 * textmodes/page-ext.el (pages-copy-header-and-position)
5397 (pages-directory-for-addresses):
5398 * progmodes/vera-mode.el (vera-get-offset):
5399 * progmodes/simula.el (simula-calculate-indent):
5400 * progmodes/python.el (python-pdbtrack-overlay-arrow):
5401 * progmodes/prolog.el (end-of-prolog-clause):
5402 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
5403 * progmodes/icon.el (indent-icon-exp):
5404 * progmodes/etags.el (tag-re-match-p):
5405 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
5406 * progmodes/ebnf2ps.el (ebnf-begin-file):
5407 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
5408 (dcl-save-local-variable):
5409 * play/life.el (life-setup):
5410 * play/gametree.el (gametree-looking-at-ply):
5411 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
5412 * mail/sendmail.el (mail-mode-auto-fill):
5413 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
5414 * emacs-lisp/edebug.el (edebug-overlay-arrow):
5415 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
5416 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
5417 (woman-tab-to-tab-stop, WoMan-warn-ignored):
5418 * type-break.el (type-break-file-keystroke-count):
5419 * term.el (term-replace-by-expanded-history-before-point)
5420 (term-skip-prompt, term-extract-string):
5421 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
5422 (speedbar-contract-line, speedbar-toggle-line-expansion)
5423 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
5424 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
5425 * sort.el (sort-skip-fields):
5426 * skeleton.el (skeleton-internal-list):
5427 * simple.el (line-move-finish, line-move-to-column):
5428 * shell.el (shell-forward-command):
5429 * misc.el (copy-from-above-command):
5430 * makesum.el (double-column):
5431 * ebuff-menu.el (electric-buffer-update-highlight):
5432 * dired.el (dired-move-to-end-of-filename):
5433 * dframe.el (dframe-popup-kludge):
5434 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
5435 * arc-mode.el (archive-get-lineno):
5436 Use line-end-position and line-beginning-position.
5438 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
5439 (idlwave-study-twins): Prefix dynamic local `class'.
5440 (idlwave-routine-twin-compare): Update for above name change.
5442 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
5443 Use boundp tests to silence compiler. Update for changed name of
5444 bytecomp-filename variable.
5446 * emulation/viper-cmd.el (viper-read-string-with-history):
5447 Prefix dynamic local `initial'.
5448 (viper-minibuffer-standard-hook): Update for above name change.
5450 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
5451 (elint-init-form): Update for above name change.
5453 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
5454 local variables `cbeg' and `cend' a prefix.
5455 (mail-extr-voodoo): Update for above name change.
5457 * textmodes/reftex-toc.el (reftex-toc-do-promote)
5458 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
5459 (reftex-toc-promote-action): Doc fix.
5461 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
5462 `prompt', `data' a prefix.
5463 (reftex-select-post-command-hook, reftex-select-callback)
5464 (reftex-select-mouse-accept, reftex-select-read-cite):
5465 Update for above name changes.
5467 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
5468 `refstyle' to reftex-refstyle.
5469 (reftex-offer-label-menu): Update for above name change.
5470 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
5471 `refstyle' name change.
5473 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
5474 with with-current-buffer.
5475 (diff, template): Give dynamic local variables a prefix.
5476 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
5477 (emerge-line-number-in-buf): Update for above name change.
5478 (emerge-combine-versions-internal): Rename local `template' to
5479 emerge-combine-template.
5480 (emerge-combine-versions-edit): Update for above name change.
5482 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
5484 * textmodes/reftex-cite.el
5485 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
5486 entries with whitespace after \bibitem.
5487 (reftex-create-bibtex-file): Match entries containing numbers and
5488 symbol constituents. Make sure that entries with whitespace at
5489 various places are found.
5491 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
5493 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
5495 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
5497 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
5499 2010-11-05 Glenn Morris <rgm@gnu.org>
5501 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
5502 (woman2-roff-buffer): Give local variable `request' a prefix.
5503 (woman0-macro): Rename argument `request' in the same way.
5504 (woman-request): New name for `request' dynamic variable.
5505 (woman-unquote, woman-forward-arg): Update for above name change.
5506 (woman1-roff-buffer): Give local variable `unquote' a prefix.
5507 (woman1-unquote): New name for `unquote' dynamic variable.
5508 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
5509 (woman-translations): Rename from `translations'. No longer global.
5510 (woman2-tr, woman-translate): Update for above name change.
5511 (woman-translate): Check for bound variable.
5512 (woman2-roff-buffer): Give local variable `translations' a prefix.
5514 * play/doctor.el: Give all local variables a prefix. Update callers.
5515 (doc$, doctor-put-meaning): Use backquote.
5517 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
5518 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
5520 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
5521 variables bytes, ptr, op a prefix.
5522 (disassemble-offset): Update for above change.
5524 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5526 * emacs-lisp/package.el (package-unpack): Remove no-op.
5527 (package--builtins, package--dir): Doc fix.
5528 (package-activate-1, package-activate, package-install)
5529 (package-compute-transaction): Fix error message.
5530 (package-delete): Use delete-directory. Omit system packages.
5531 (package-initialize): Set package-alist to nil first.
5532 (package-menu-mark-delete, package-menu-mark-install): Don't add
5533 symbols that are inconsistent with the package state.
5534 (package-menu-execute): Perform deletions and installations as
5535 single batch operations.
5537 2010-11-03 Glenn Morris <rgm@gnu.org>
5539 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
5540 (props): Remove unnecessary declaration.
5542 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
5543 set-process-query-on-exit-flag.
5545 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
5546 (reftex-toc-do-promote): Remove unused local `mpos'.
5547 (reftex-toc-restore-region): Make `mpos' local to this function.
5549 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
5551 * play/landmark.el (lm-losing-threshold): Correct spelling.
5552 (lm-human-plays): Use new name.
5554 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
5555 (gomoku-human-plays): Use new name.
5557 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
5558 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
5559 (gomoku-score-trans-table, gomoku-winning-threshold)
5560 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
5562 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5564 * emacs-lisp/package.el: Don't put built-in packages in
5565 package-alist, to avoid loading inefficiencies.
5566 (package-built-in-p): Make VERSION optional, and treat it as a
5567 minimum acceptable version.
5568 (package-activate): Search separately for built-in packages.
5569 Emit a warning if a dependency fails.
5570 (define-package): Handle most common case, where there is no
5571 obsolete package, first.
5572 (package-compute-transaction): Print required version in error.
5573 (package--initialized): New variable.
5574 (list-packages): Use it.
5575 (package-initialize): Optional arg NO-ACTIVATE. Don't put
5576 built-in packages in packages-alist; keep it separate.
5577 Set package--initialized.
5578 (describe-package): Avoid activating packages as a side-effect.
5579 Search separately for built-in packages.
5580 (describe-package-1): Handle the case where an elpa package is
5581 simultaneously built-in and available/installed.
5582 (package-installed-p, package--generate-package-list):
5583 Search separately for built-in packages.
5584 (package-load-descriptor): Doc fix.
5586 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5588 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5589 Handle __DATA__ and __END__.
5591 2010-11-02 Noah Friedman <friedman@splode.com>
5593 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
5594 nil, do not ask to recompile files that are not already compiled,
5595 and do not recompile them.
5597 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
5599 * emacs-lisp/package.el (package-initialize): Ensure that
5600 obsoleted built-in packages are not in package-activated-list
5602 (describe-package-1): Make the "installed" status override
5605 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5607 * subr.el (version-separator, version-regexp-alist): Remove '*'
5609 (version-list-<=, version<=, version=): Doc fix.
5611 2010-11-01 Kenichi Handa <handa@m17n.org>
5613 * faces.el (glyphless-char): Inherit underline for tty.
5615 2010-11-01 Kenichi Handa <handa@m17n.org>
5617 Implement various display methods for glyphless characters.
5619 * international/characters.el (char-acronym-table): New variable.
5620 (glyphless-char-control): New variable.
5621 (update-glyphless-char-display): New function.
5623 * faces.el (glyphless-char): New face.
5625 2010-11-01 Glenn Morris <rgm@gnu.org>
5627 * calendar/holidays.el (general-holidays, oriental-holidays)
5628 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
5629 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
5630 the definitions of their targets.
5632 * emacs-lisp/smie.el (smie): New custom group.
5633 (smie-blink-matching-inners, smie-indent-basic): Add :group.
5635 * faces.el (xw-defined-colors, x-setup-function-keys):
5636 * mouse-sel.el (x-select-text):
5637 * term/w32console.el (x-setup-function-keys): Update declarations.
5639 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
5641 * textmodes/ispell.el (comment-add): Declare.
5643 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
5646 * info.el (finder-keywords-hash, package-alist): Declare.
5648 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5650 * finder.el (finder-compile-keywords): Don't use intern-soft,
5651 since package names may not yet exist in the obarray.
5653 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5655 * vc/vc-arch.el (vc-arch-checkin):
5656 * vc/vc-cvs.el (vc-cvs-checkin):
5657 * vc/vc-mtn.el (vc-mtn-checkin):
5658 * vc/vc-rcs.el (vc-rcs-checkin):
5659 * vc/vc-sccs.el (vc-sccs-checkin):
5660 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
5661 since 2010-04-21 commit by Stefan Monnier.
5663 2010-11-01 Glenn Morris <rgm@gnu.org>
5665 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
5667 * startup.el (package-enable-at-startup, package-initialize):
5670 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
5673 2010-10-31 Julien Danjou <julien@danjou.info>
5675 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
5676 (byte-recompile-directory):
5677 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
5678 Use `byte-recompile-file'.
5680 2010-10-31 Glenn Morris <rgm@gnu.org>
5682 * cus-start.el: Handle standard values via a keyword.
5683 Only set version property if specified.
5684 (cursor-in-non-selected-windows, menu-bar-mode)
5685 (tool-bar-mode, show-trailing-whitespace):
5686 Do not specify standard values.
5687 (transient-mark-mode, temporary-file-directory): Use :standard.
5689 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
5691 * term/x-win.el (x-get-selection-value): New function that gets
5692 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
5694 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
5696 * net/tramp.el (tramp-handle-insert-file-contents): For root,
5697 preserve owner and group when editing files. (Bug#7289)
5699 2010-10-31 Glenn Morris <rgm@gnu.org>
5701 * speedbar.el (speedbar-mode):
5702 * play/fortune.el (fortune-in-buffer, fortune):
5703 * play/gomoku.el (gomoku-mode):
5704 * play/landmark.el (lm-mode):
5705 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
5706 Replace inappropriate uses of toggle-read-only. (Bug#7292)
5708 * select.el (x-selection): Mark it as an obsolete alias.
5710 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5712 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
5713 major-mode (bug#7284).
5715 2010-10-31 Glenn Morris <rgm@gnu.org>
5717 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
5718 rather than just an unused variable that inherits from the real one.
5720 2010-10-31 Alan Mackenzie <acm@muc.de>
5722 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
5723 This fixes bug #7185.
5725 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
5727 * startup.el (command-line): Search for package directories, and
5728 don't load package.el if none are found.
5730 * emacs-lisp/package.el (describe-package, list-packages):
5731 Call package-initialize if it has not been called yet.
5733 2010-10-30 Alan Mackenzie <acm@muc.de>
5735 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
5736 which fontifies the tail of an enum.
5737 (c-basic-matchers-after): Insert a call to the above new function.
5738 This fixes bug #7264.
5740 2010-10-30 Glenn Morris <rgm@gnu.org>
5742 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
5743 tool-bar-mode, transient-mark-mode. (Bug#7306)
5744 Include the :set property in the dumped Emacs.
5746 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5748 SMIE: change indent rules format, improve smie-setup.
5749 * emacs-lisp/smie.el (smie-precs-precedence-table)
5750 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
5751 Mark them pure so the tables gets built at compile time.
5752 (smie-bnf-precedence-table): Store the closer-alist in the table.
5753 (smie-prec2-levels): Preserve the closer-alist.
5754 (smie-blink-matching-open): Be more forgiving in case of indentation.
5755 (smie-hanging-p): Rename from smie-indent--hanging-p.
5756 (smie-bolp): Rename from smie-indent--bolp.
5757 (smie--parent, smie--after): New dynamic vars.
5758 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
5759 (smie-indent-rules): Remove.
5760 (smie-indent--offset-rule): Remove fun.
5761 (smie-rules-function): New var.
5762 (smie-indent--rule): New fun.
5763 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
5764 (smie-indent-exps): Use it.
5765 (smie-setup): Setup paren blinking; add keyword args for token
5766 functions; extract closer-alist from op-levels.
5767 (smie-indent-debug-log): Remove var.
5768 (smie-indent-debug): Remove fun.
5769 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
5770 (prolog-smie-rules): New fun to replace it.
5771 (prolog-mode-variables): Simplify.
5772 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
5773 it's setup automatically.
5774 (octave-smie-indent-rules): Remove.
5775 (octave-smie-rules): New fun to replace it.
5776 (octave-mode): Simplify.
5778 2010-10-29 Glenn Morris <rgm@gnu.org>
5780 * files.el (temporary-file-directory): Remove (already defined in C).
5781 * cus-start.el: Add temporary-file-directory.
5783 * abbrev.el (abbrev-mode):
5784 * composite.el (auto-composition-mode):
5785 * menu-bar.el (menu-bar-mode):
5786 * simple.el (transient-mark-mode):
5787 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5788 that they do not define the associated variables twice.
5789 * simple.el (transient-mark-mode): Remove defvar.
5790 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5791 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5792 Handle multiple groups, and also custom-delayed-init-variables.
5793 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5795 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5797 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5798 (pcase-if): Add one minor optimization.
5799 (pcase-split-equal): Rename from pcase-split-eq.
5800 (pcase-split-member): Rename from pcase-split-memq.
5801 (pcase-u1): Add strings to the member optimization.
5802 Add `guard' variant of predicates.
5803 (pcase-q1): Add string patterns.
5805 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5807 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5809 2010-10-28 Glenn Morris <rgm@gnu.org>
5811 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5812 Move menu-bar related settings to ../menu-bar.el.
5813 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5814 Move ns-specific settings here from term/ns-win.el.
5816 * simple.el (x-selection-owner-p): Remove unused declaration.
5818 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5820 * minibuffer.el (completion-cycling): New var (bug#7266).
5821 (minibuffer-complete, completion--do-completion):
5822 Use completion--flush-all-sorted-completions.
5823 (minibuffer-complete): Only cycle if completion-cycling is set.
5824 (completion--flush-all-sorted-completions): Unset completion-cycling.
5825 (minibuffer-force-complete): Set completion-cycling.
5826 (completion-all-sorted-completions): Move declaration before first use.
5828 2010-10-28 Leo <sdl.web@gmail.com>
5830 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5831 which changes the order of matches seen by users (bug#7231).
5833 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
5835 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5836 Don't confuse -omega as "-o mega".
5838 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
5840 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5841 (log-edit-author): New dynamic var.
5842 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5843 to return the author if different from committer.
5844 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5846 * play/landmark.el: Adjust commenting convention.
5847 (lm-nil-score): Rename from nil-score.
5848 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5849 (OOOOscore): Move into a let in lm-score-trans-table.
5850 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5852 * electric.el (electric-indent-chars): Autoload.
5853 * progmodes/octave-mod.el (octave-mode):
5854 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5855 (ruby-mode-abbrev-table): Merge initialization and declaration.
5857 2010-10-27 Glenn Morris <rgm@gnu.org>
5859 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5862 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5864 * term/ns-win.el: Restore require of cl when compiling.
5865 (menu-bar-final-items): Remove non-existent `windows' menu.
5866 (ns-handle-nxopen): Optionally handle the temp-case.
5867 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5868 (ns-insert-file, ns-find-file): Use `pop'.
5870 2010-10-26 Glenn Morris <rgm@gnu.org>
5872 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5874 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
5876 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5878 * term/common-win.el (x-setup-function-keys): Remove most of the
5879 keymappings. Comment on the remaining ones.
5881 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
5883 * server.el (server-port): New option. (Bug#854)
5884 (server-start): Use server-port.
5886 2010-10-26 Glenn Morris <rgm@gnu.org>
5888 * term/ns-win.el (ns-version-string): Remove unused declaration.
5889 (ns-invocation-args): Change to x-invocation-args.
5890 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5891 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5892 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5893 Use x-invocation-args instead of ns-invocation-args.
5894 (ns-initialize-window-system, handle-args-function-alist):
5895 Use x-handle-args instead of ns-handle-args.
5896 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5897 * startup.el (command-line-ns-option-alist): Replace
5898 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5899 ns-handle-iconic with the x- equivalents.
5901 * term/common-win.el (x-select-enable-clipboard):
5902 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5904 * term/ns-win.el: No need to require cl when compiling.
5905 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5906 (xw-defined-colors): Use the common-win definitions.
5907 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5908 (ns-handle-iconic): Make it an alias for x-handle-iconic.
5909 * term/common-win.el (x-select-text, x-alternatives-map)
5910 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5911 * loadup.el [ns]: Load common-win.
5913 2010-10-26 Daiki Ueno <ueno@unixuser.org>
5915 * epa-mail.el (epa-mail-encrypt): Handle local-part only
5916 recipients; expand mail aliases (Bug#7280).
5918 2010-10-25 Glenn Morris <rgm@gnu.org>
5920 * term/common-win.el (x-handle-switch): Simplify with pop.
5921 Optionally handle numeric switches.
5922 (x-handle-numeric-switch): Just call x-handle-switch.
5923 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5924 (x-handle-name-switch, x-handle-display, x-handle-args):
5927 * term/ns-win.el: Do not require easymenu.
5928 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5929 <spell>: Move adjustments to menu-bar.el.
5930 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5931 <separator-undo, spell>: Move ns-win's adjustments here.
5932 * loadup.el [ns]: Do not load easymenu.
5934 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5936 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5939 * startup.el (fancy-startup-tail): Instead of using inline images,
5940 refer to image files from etc/.
5942 * wid-edit.el (checkbox): Likewise.
5943 (widget-image-find): Center image specs.
5945 2010-10-24 Glenn Morris <rgm@gnu.org>
5947 * term/ns-win.el (x-select-text): Doc fix.
5948 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5949 (x-select-text): Move to term/common-win.
5950 * term/w32-win.el (xw-defined-colors): Move to common-win.
5951 * term/x-win.el (xw-defined-colors, x-alternatives-map)
5952 (x-setup-function-keys, x-select-text): Move to common-win.
5953 * term/common-win.el (x-select-text, x-alternatives-map)
5954 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5957 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
5959 * net/mairix.el (mairix-searches-mode-map):
5960 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5962 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
5964 * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5965 auto-built for efficiency of execution and updating.
5966 (verilog-extended-complete-re): Support 'pure' fucntion & task
5967 declarations (these have no bodies).
5968 (verilog-beg-of-statement): General cleanup to enable support of
5969 'pure' fucntion & task declarations (these have no bodies).
5970 These efforts together fix Verilog bug210 from veripool; which was also
5971 noticed by Steve Pearlmutter.
5972 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5973 (verilog-directive-nest-re, verilog-set-auto-endcomments):
5974 Support `elsif. Reported by Shankar Giri.
5975 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5976 attribute handling for lining up declarations and assignments.
5977 (verilog-beg-of-statement-1): Fix issue where continued declaration
5978 is indented differently if it is after a begin..end clock.
5979 (verilog-in-attribute-p, verilog-skip-backward-comments)
5980 (verilog-skip-forward-comment-p): Support proper treatment of
5981 attributes by indent code. Reported by Jeff Steele.
5982 (verilog-in-directive-p): Fix comment to correctly describe function.
5983 (verilog-backward-up-list, verilog-in-struct-region-p)
5984 (verilog-backward-token, verilog-in-struct-p)
5985 (verilog-in-coverage-p, verilog-do-indent)
5986 (verilog-pretty-declarations): Use verilog-backward-up-list as
5987 wrapper around backward-up-list inorder to properly skip comments.
5988 Reported by David Rogoff.
5989 (verilog-property-re, verilog-endcomment-reason-re)
5990 (verilog-beg-of-statement, verilog-set-auto-endcomments)
5991 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5992 of if). Reported by Max Bjurling and
5993 (verilog-calc-1): Fix for clocking block in modport
5994 declaration. Reported by Brian Hunter.
5996 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
5998 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5999 (verilog-gate-keywords, verilog-read-sub-decls)
6000 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
6001 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
6002 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
6003 (verilog-read-decls): Fix spaces in V2K module parameters causing
6004 mis-identification as interfaces, bug287.
6005 (verilog-read-decls): Fix not treating "parameter string" as a
6006 parameter in AUTOINSTPARAM.
6007 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
6008 treating `elsif similar to `endif inside AUTOSENSE.
6009 (verilog-do-indent): Implement correct automatic or static task or
6010 function end comment highlight. Reported by Steve Pearlmutter.
6011 (verilog-font-lock-keywords-2): Fix highlighting of single
6012 character pins, bug264. Reported by Michael Laajanen.
6013 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
6014 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
6015 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
6016 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
6017 (verilog-pretty-expr): Fix interactive arguments, bug272.
6018 Reported by Mark Johnson.
6019 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
6020 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
6021 bug269. Suggested by Gary Delp.
6022 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
6023 (verilog-preprocessor, verilog-set-compile-command):
6024 Create verilog-preprocess and verilog-preprocessor to show
6025 preprocessed output.
6026 (verilog-get-beg-of-line, verilog-get-end-of-line)
6027 (verilog-modi-file-or-buffer, verilog-modi-name)
6028 (verilog-modi-point, verilog-within-string): Move defmacro's
6029 before first use to avoid warning. Reported by Steve Pearlmutter.
6030 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
6031 (verilog-colorize-region, verilog-highlight-buffer)
6032 (verilog-highlight-includes, verilog-highlight-modules)
6033 (verilog-highlight-region, verilog-mode): Rename colorize to
6034 highlight to match other packages. Disable module highlighting,
6035 as received speed complaints, reenable for experimentation only
6036 using new verilog-highlight-modules.
6037 (verilog-read-decls): Fix regexp stack overflow in very large
6038 AUTO_TEMPLATEs, bug250.
6039 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
6040 (verilog-scan): Create verilog-save-buffer-state to standardize
6041 making insignificant changes that shouldn't call hooks.
6042 (verilog-save-no-change-functions, verilog-save-scan-cache)
6043 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
6044 Create verilog-save-no-change-functions to wrap verilog-scan
6045 preservation, and fix to work with nested preserved calls.
6046 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
6047 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
6048 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
6049 (verilog-submit-bug-report): Update variable list to be complete.
6050 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
6051 breaking on-the-fly font-locking.
6052 (verilog-colorize-buffer, verilog-colorize-include-files)
6053 (verilog-colorize-include-files-buffer, verilog-colorize-region)
6054 (verilog-load-file-at-mouse, verilog-load-file-at-point)
6055 (verilog-mode, verilog-read-inst-module-matcher): With point on a
6056 AUTOINST cell instance name, middle mouse button now finds-file on
6057 it. Suggested by Brad Dobbie.
6058 (verilog-alw-get-temps, verilog-auto-reset)
6059 (verilog-auto-sense-sigs, verilog-read-always-signals)
6060 (verilog-read-always-signals-recurse): Fix loop indexes being
6061 AUTORESET. AUTORESET now assumes any variables in the
6062 initialization section of a for() should be ignored.
6063 Reported by Dan Dever.
6064 (verilog-error-font-lock-keywords)
6065 (verilog-error-regexp-emacs-alist)
6066 (verilog-error-regexp-xemacs-alist): Fix error detection of
6067 Cadence HAL, reported by David Asher. Repair drift between the
6068 three similar error variables.
6069 (verilog-modi-lookup, verilog-modi-lookup-cache)
6070 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
6071 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
6072 Fix slow verilog-auto expansion on very large files.
6073 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
6074 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
6075 "{1*2{...". Broke in last revision.
6076 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
6077 submodule connections with replications "{#{a},#{b}}".
6079 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
6081 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
6082 Fix typo in docstring.
6084 2010-10-24 Kenichi Handa <handa@m17n.org>
6086 * face-remap.el (text-scale-adjust): Call read-event with a proper
6089 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6091 * emacs-lisp/unsafep.el: Don't mark functions that display
6092 messages as safe. Suggested by Johan Bockgård.
6094 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6096 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
6097 Turn comments into docstrings.
6099 * minibuffer.el (completion--replace): Move point where it belongs
6100 when there's a common suffix (bug#7215).
6102 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6104 Merge read-color and facemenu-read-color (Bug#7242).
6106 * faces.el (read-color): Use the completion code from
6107 facemenu-read-color. Require match in completion. Doc fix.
6109 * facemenu.el (facemenu-read-color): Alias for read-color.
6110 (facemenu-set-foreground, facemenu-set-background):
6113 * frame.el (set-background-color, set-foreground-color)
6114 (set-cursor-color, set-mouse-color, set-border-color):
6117 2010-10-24 Leo <sdl.web@gmail.com>
6119 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
6120 argument of delete-file and delete-directory (Bug#7011).
6122 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6124 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
6127 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
6129 * emacs-lisp/package.el (package--generate-package-list): Make the
6130 *Packages* buffer read-only.
6132 2010-10-24 Alan Mackenzie <acm@muc.de>
6134 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
6135 result of `c-beginning-of-decl-1' between invocations of a lambda
6136 function (Bug #7265).
6138 2010-10-24 Daiki Ueno <ueno@unixuser.org>
6140 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
6141 executable is not available on the system (Bug#7268).
6143 2010-10-24 Glenn Morris <rgm@gnu.org>
6145 * select.el (selection-coding-system, next-selection-coding-system):
6146 Sync doc with C versions.
6148 * w32-vars.el (x-select-enable-clipboard):
6149 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
6150 * term/common-win.el (x-select-enable-clipboard): Move here.
6152 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
6153 definition of C variable.
6155 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
6156 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
6157 Don't redefine things that are defined in C.
6158 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
6159 (show-trailing-whitespace, auto-hscroll-mode)
6160 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
6161 Set up the appropriate custom properties.
6163 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6166 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
6167 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
6168 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
6169 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
6171 2010-10-23 Glenn Morris <rgm@gnu.org>
6173 * textmodes/flyspell.el (flyspell-mode): If there was an error,
6176 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
6177 Sync docs with C version.
6179 * term/ns-win.el (xw-defined-colors):
6180 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
6182 * term/pc-win.el (x-select-enable-clipboard):
6183 * term/x-win.el (x-select-enable-clipboard):
6184 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
6186 * comint.el (comint-password-prompt-regexp): Make it less vague.
6189 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
6191 * help.el (finder-by-keyword): Remove unnecessary autoload.
6193 2010-10-22 Glenn Morris <rgm@gnu.org>
6195 * loadup.el: Unconditionally load float-sup.
6196 * paren.el (show-paren-delay):
6197 * emacs-lisp/float-sup.el:
6198 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
6199 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
6200 (lazy-lock-stealth-verbose): Assume float support.
6201 * ps-print.el: Assume float support on Emacs.
6202 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
6203 Remove non-float branch.
6205 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
6206 src/Makefile no longer being pre-processed.
6208 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6210 * emacs-lisp/find-func.el (find-library): Use test-completion.
6212 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6214 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
6216 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
6218 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
6219 space in stat format string.
6220 (tramp-send-command): Unset $PS1 when using here documents, in
6221 order not to get several prompts.
6222 (tramp-get-inline-coding): Return `nil' in case of errors.
6224 2010-10-21 Daiki Ueno <ueno@unixuser.org>
6226 * hexl.el (hexl-mode, hexl-mode-exit):
6227 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
6228 (hexl-revert-buffer-function): New function.
6229 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
6231 2010-10-19 Alan Mackenzie <acm@muc.de>
6233 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
6234 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
6235 that these keywords aren't wrongly matched as identifiers.
6237 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
6238 setting of c-new-BEG and c-new-END from c-before-change to
6239 c-after-change. (Bug#7181)
6241 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
6243 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
6246 * custom.el (custom-theme-set-variables): Likewise.
6247 (load-theme): Add custom-theme-set-faces and
6248 custom-theme-set-variables to safe-functions while loading.
6249 (custom-enabled-themes): Mark as risky.
6251 2010-10-18 Julien Danjou <julien@danjou.info>
6253 * bindings.el: Remove end dashes in default mode-line-format.
6255 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
6257 * bindings.el (global-map): Bind C-d to delete-char and deletechar
6258 to delete-forward-char.
6260 * simple.el (normal-erase-is-backspace-mode): Remap delete to
6261 deletechar, and hence delete-forward-char.
6263 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6265 * repeat.el (repeat): Use read-key (bug#6256).
6267 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
6269 * emacs-lisp/unsafep.el: Don't mark functions that display
6270 messages as safe. Suggested by Johan Bockgård.
6272 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6274 * minibuffer.el (completion--replace): Move point where it belongs
6275 when there's a common suffix (bug#7215).
6277 2010-10-19 Kenichi Handa <handa@m17n.org>
6279 * international/characters.el: Add category '|' (word breakable)
6280 to fullwidth characters.
6282 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
6284 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
6285 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
6286 order to make stat results a float. Patch by Andreas Schwab
6287 <schwab@linux-m68k.org>.
6289 2010-10-18 Julien Danjou <julien@danjou.info>
6291 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
6292 hidden by `make-pointer-invisible'.
6294 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6296 * files.el (locate-file-completion-table): Strip non-matching elements
6297 before checking length of list (bug#7238).
6299 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
6301 * custom.el (custom-theme-set-variables): Mark as a safe function.
6302 (load-theme): Check forms using unsafep.
6304 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
6306 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
6308 * textmodes/ispell.el (ispell-aspell-find-dictionary):
6309 Fix aspell data file searching (bug#7230).
6311 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6313 * cus-theme.el (custom-theme--migrate-settings): New var.
6314 (customize-create-theme): Allow editing the `user' theme.
6315 (custom-theme-add-variable, custom-theme-add-var-1)
6316 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
6317 to the front of each variable or face widget.
6318 (custom-theme-write): Save theme settings in the correct order.
6319 Optionally, remove saved settings from user customizations.
6320 (custom-theme-write-variables, custom-theme-write-faces):
6321 Save only the checked widgets.
6322 (customize-themes): Add a link for migrating custom settings.
6324 * custom.el (custom-declare-theme, provide-theme):
6325 Use custom-theme-name-valid-p.
6326 (custom-theme-name-valid-p): Remove checks that are now
6327 unnecessary since themes no longer obey load-path.
6329 * cus-edit.el (custom-variable-value-create): For the simple
6330 style, hide documentation string when hidden.
6332 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6334 * cus-edit.el (custom-variable, custom-face): Combine the
6335 :inhibit-magic and :display-style properties into a single
6336 :custom-style property.
6337 (custom-toggle-hide-variable, custom-toggle-hide-face):
6338 New functions. If hiding an edited value, save it to :shown-value.
6339 (custom-variable-value-create, custom-face-value-create): Use them.
6340 (custom-magic-reset): Allow magic property to be unset.
6342 * custom.el: Custom themes no longer use load-path.
6343 (custom-theme-load-path): New option. Change built-in theme
6345 (custom-enabled-themes): Add custom-theme-load-path dependency.
6346 (custom-theme--load-path): New function.
6347 (load-theme, custom-available-themes): Use it.
6349 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
6350 (customize-themes): Link to custom-theme-load-path variable.
6351 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
6352 :custom-style property.
6354 * themes/*.el: Moved to etc/.
6356 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
6358 * textmodes/reftex-cite.el
6359 (reftex-extract-bib-entries-from-thebibliography): Do not move
6360 point when searching for \bibitem entries. Match entries with
6361 spaces or tabs in front of arguments.
6363 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6365 * cus-theme.el (customize-create-theme): Delete overlays after
6366 erasing. If given a THEME arg, display only the faces of that arg
6367 instead of custom-theme--listed-faces.
6368 (custom-theme-variable-menu, custom-theme-variable-action)
6369 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
6370 (custom-theme-add-variable, custom-theme-add-face): Apply value
6371 from the theme settings, instead of the current value.
6372 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
6373 (custom-theme-visit-theme): Allow calling outside theme buffers.
6374 (custom-theme-merge-theme): Don't enable the theme when merging.
6375 (custom-theme-write-variables, custom-theme-write-faces): Use the
6376 :shown-value properties to save buffer values, not global ones.
6377 (customize-themes): Display a warning about user customizations.
6379 * cus-edit.el (custom-variable-value-create)
6380 (custom-face-value-create): Obey new special properties
6381 :shown-value and :inhibit-magic.
6383 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
6385 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6386 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
6389 2010-10-14 Kenichi Handa <handa@m17n.org>
6391 * mail/rmail.el (rmail-show-message-1): Catch an error of
6392 base64-decode-region and just show an error message (bug#7165).
6394 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
6395 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
6396 a font-spec (bug#7197).
6398 2010-10-14 Glenn Morris <rgm@gnu.org>
6400 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
6402 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
6404 * international/mule.el (define-coding-system):
6405 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
6406 * composite.el (compose-region): Fix typo in docstring.
6408 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
6410 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
6411 only after checking the theme-face property.
6413 * faces.el (face-spec-reset-face): Reset all attributes in one
6414 single call to set-face-attribute.
6415 (face-spec-match-p): Make it a defsubst.
6416 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
6417 (x-create-frame-with-faces, tty-create-frame-with-faces)
6418 (tty-set-up-initial-frame-faces): Don't recompute face specs in
6419 frame-set-background-mode, since they are recomputed immediately
6420 afterwards in face-set-after-frame-default.
6421 (face-set-after-frame-default): Minor optimization.
6422 (cursor): Provide non-trivial defface spec.
6424 * custom.el (custom-theme-recalc-face): Simplify.
6426 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
6428 * calc/calc-alg.el (math-var): Rename from `var'.
6429 (math-is-polynomial, math-is-poly-rec): Replace `var'
6432 * calc/calcalg2.el (math-var): Rename from `var'.
6433 (calcFunc-table, math-scan-for-limits): Replace `var'
6436 2010-10-13 Glenn Morris <rgm@gnu.org>
6438 * subr.el (last): Deal with dotted lists (reported in bug#7174).
6440 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
6442 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
6444 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6446 * net/tls.el (tls-program): Remove spurious %s from openssl.
6447 (tls-starttls-switches): Remove starttls hack.
6448 (open-tls-stream): Ditto.
6449 (tls-find-starttls-argument): Ditto.
6451 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
6453 * image.el (image-library-alist): Declare as obsolete alias.
6454 (image-type-available-p): Use `dynamic-library-alist'.
6456 * term/w32-win.el (dynamic-library-alist):
6457 Use instead of `image-library-alist'.
6459 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
6461 * subr.el (last): Make it faster. (Bug#7174)
6463 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
6465 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
6467 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6469 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
6470 (describe-theme-1): Extract doc from unloaded themes.
6472 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
6474 * themes/tango-theme.el:
6475 * themes/tango-dark-theme.el:
6476 * themes/wheatgrass-theme.el: New files.
6478 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6480 * cus-theme.el (describe-theme, customize-themes)
6481 (custom-theme-save): New commands.
6482 (custom-new-theme-mode-map): Bind C-x C-s.
6483 (custom-new-theme-mode): Use custom--initialize-widget-variables.
6484 (customize-create-theme): New optional arg THEME.
6485 (custom-theme-revert): Use it.
6486 (custom-theme-visit-theme): Remove dead code.
6487 (custom-theme-merge-theme): Use custom-available-themes.
6488 (custom-theme-write): Make interactive.
6489 (custom-theme-write): Use custom-theme-name-valid-p.
6490 (describe-theme-1, custom-theme-choose-revert)
6491 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
6493 (custom-theme-allow-multiple-selections): New option.
6494 (custom-theme-choose-mode): New major mode.
6496 * custom.el (custom-theme-set-variables): Remove dead code.
6497 Obey custom--inhibit-theme-enable.
6498 (custom--inhibit-theme-enable): New var.
6499 (provide-theme): Obey it.
6500 (load-theme): Replace load with manual read/eval, in order to
6501 check for correctness. Use custom-theme-name-valid-p.
6502 (custom-theme-name-valid-p): New function.
6503 (custom-available-themes): Use it.
6505 * cus-edit.el (custom--initialize-widget-variables): New function.
6506 (Custom-mode): Use it.
6508 * cus-face.el (custom-theme-set-faces): Remove dead code.
6509 Obey custom--inhibit-theme-enable.
6511 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
6513 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
6515 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
6517 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
6519 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
6520 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
6521 (mac-right-option-modifier): New alias for ns-right-option-modifier.
6523 * cus-start.el (all): ns-right-alternate-modifier is new.
6525 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6527 * emacs-lisp/lisp.el (lisp-completion-at-point):
6528 Use emacs-lisp-mode-syntax-table for the whole function.
6530 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
6532 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
6533 instead of font-lock-mode before adding keywords.
6534 Remove hi-lock-mode off code. Remove inhibit hack.
6535 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
6536 non-nil; removed hook inhibit hack.
6538 2010-10-12 Glenn Morris <rgm@gnu.org>
6540 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
6541 (load-path-shadows-find): ... to this.
6542 (list-load-path-shadows): Update for above change.
6544 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
6546 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
6548 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
6549 Fix comment for declare-function.
6551 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
6553 * custom.el (custom-fix-face-spec): New function; code moved from
6554 custom-face-edit-fix-value.
6555 (custom-push-theme): Use it when checking if a face has been
6556 changed outside customize.
6557 (custom-available-themes): New function.
6558 (load-theme): Use it.
6560 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
6562 * custom.el (custom-push-theme): Cleanup (use cond).
6563 (disable-theme): Recompute the saved-face property.
6564 (custom-theme-recalc-face): Follow face alias before setting prop.
6566 * image.el (image-checkbox-checked, image-checkbox-unchecked):
6567 New variables, containing checkbox images.
6569 * startup.el (fancy-startup-tail):
6570 * wid-edit.el (checkbox): Use them.
6572 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
6574 * shell.el (shell-mode-map):
6575 * progmodes/modula2.el (m2-mode-map):
6576 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
6577 * play/mpuz.el (mpuz-mode-map):
6578 * play/landmark.el (lm-mode-map):
6579 * play/decipher.el (decipher-mode-map):
6580 * play/5x5.el (5x5-mode-map):
6581 * net/telnet.el (telnet-mode-map):
6582 * net/quickurl.el (quickurl-list-mode-map):
6583 * net/mairix.el (mairix-searches-mode-map):
6584 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
6585 * net/dig.el (dig-mode-map):
6586 * mail/mspools.el (mspools-mode-map):
6587 * hexl.el (hexl-mode-map):
6588 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
6589 (wordstar-C-o-map, wordstar-C-q-map):
6590 * emacs-lisp/edebug.el (edebug-eval-mode-map):
6591 * emacs-lisp/chart.el (chart-map):
6592 * edmacro.el (edmacro-mode-map):
6593 * erc/erc-list.el (erc-list-menu-mode-map):
6594 * array.el (array-mode-map): Declare and define in one step.
6596 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
6598 2010-10-10 Daiki Ueno <ueno@unixuser.org>
6600 * epa.el (epa-passphrase-callback-function): Display filename
6601 passed as the 3rd arg.
6602 * epa-file.el (epa-file-passphrase-callback-function):
6603 Pass filename to epa-passphrase-callback-function.
6605 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
6607 * cus-edit.el (custom-face-widget-to-spec)
6608 (custom-face-get-current-spec, custom-face-state): New functions.
6609 (custom-face-set, custom-face-mark-to-save)
6610 (custom-face-value-create, custom-face-state-set): Use them.
6612 * cus-theme.el (custom-theme--listed-faces): New var.
6613 (customize-create-theme): Use *Custom Theme* as the buffer name.
6614 Set revert-buffer-function. Optional arg BUFFER. Insert all
6615 faces listed in custom-theme--listed-faces.
6616 (custom-theme-revert): New function.
6617 (custom-theme-add-variable, custom-theme-add-face): Insert at the
6619 (custom-theme-write): Prompt for theme name if empty.
6620 (custom-theme-write-variables): Use dolist.
6621 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
6623 2010-10-09 Alan Mackenzie <acm@muc.de>
6625 Enhance fontification of declarators to take account of the
6626 presence/absence of "typedef".
6628 * cc-engine.el (c-forward-type): New &optional param
6630 (c-forward-decl-or-cast-1): cdr of return value now indicates the
6631 presence of either or both of a "struct"-like keyword and "typedef".
6633 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
6634 fontification of declarators which follow a "}".
6635 (c-font-lock-declarations): Fontify declarators according to the
6636 presence/absence of "typedef".
6638 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
6640 (c-typedef-decl-key): New lang variable built from
6641 c-typedef-decl-kwds.
6643 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
6645 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
6646 since that's too annoying. Move the filter groups commands to
6649 * epa.el (epa-passphrase-callback-function): Say what we're
6650 querying the password for.
6652 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
6653 behaviour, don't bury the ibuffer buffer when visiting other buffers.
6655 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6657 * cus-edit.el (custom-commands, custom-buffer-create-internal)
6658 (custom-magic-value-create): Pad button tags with spaces.
6659 (custom-face-edit): New variable.
6660 (custom-face-value-create): Determine whether to use the usual
6661 face editor here, instead of using custom-face-selected.
6662 Pass face defaults to custom-face-edit widget.
6663 (custom-face-selected, custom-display-unselected): Delete widgets.
6664 (custom-display-unselected-match): Function removed.
6665 (custom-face-set, custom-face-mark-to-save):
6666 Accept custom-face-edit widgets as the direct widget child.
6668 * wid-edit.el (widget--completing-widget): New var.
6669 (widget-default-complete): Bind it when doing completion.
6670 (widget-string-complete, widget-file-complete): Use it.
6672 2010-10-09 Glenn Morris <rgm@gnu.org>
6674 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
6675 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
6676 (holiday-hebrew-misc): Small simplifications.
6678 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
6680 * net/browse-url.el: Don't require thingatpt, term, dired,
6681 executable, or w3-auto when compiling.
6682 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
6684 (browse-url-text-emacs): Require term.
6686 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
6688 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
6690 2010-10-08 Glenn Morris <rgm@gnu.org>
6692 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
6694 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
6695 (shadows-compare-text-p): Make it an obsolete alias for...
6696 (load-path-shadows-compare-text): ... new name.
6697 (find-emacs-lisp-shadows): Update for above name change.
6698 (load-path-shadows-same-file-or-nonexistent): New name for the old
6699 shadow-same-file-or-nonexistent.
6701 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6703 * minibuffer.el (completion--some, completion--do-completion)
6704 (minibuffer-complete-and-exit, minibuffer-completion-help)
6705 (completion-basic-try-completion)
6706 (completion-basic-all-completions)
6707 (completion-pcm--find-all-completions): Use lexical-let to
6708 avoid some false matches in variable completion (Bug#7056)
6710 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
6712 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
6714 2010-10-08 Leo <sdl.web@gmail.com>
6716 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
6717 return non-nil if the file exists (Bug#7090).
6719 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6721 * minibuffer.el (completion--replace):
6722 Better preserve markers (bug#7138).
6724 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
6726 * server.el (server-process-filter): Doc fix.
6728 2010-10-08 Drew Adams <drew.adams@oracle.com>
6730 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
6732 2010-10-08 Glenn Morris <rgm@gnu.org>
6734 * vc/ediff-wind.el (ediff-setup-control-frame):
6735 * vc/ediff-ptch.el (ediff-default-backup-extension):
6736 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
6737 (ediff-exec-process): Remove system-types emx, windows-95.
6739 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
6741 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
6743 * cus-edit.el (custom-variable, custom-face): Doc fix.
6744 (custom-face-edit): Add value-create attribute.
6745 (custom-face-edit-value-create)
6746 (custom-face-edit-value-visibility-action): New functions.
6747 Hide unused face attributes by default, and add a visibility toggle.
6748 (custom-face-edit-deactivate): Show empty values with shadow face.
6749 (custom-face-selected): Only use this for face specs with default
6751 (custom-face-value-create): Cleanup.
6753 * wid-edit.el (widget-checklist-value-create): Use dolist.
6754 (widget-checklist-match-find): Make second arg optional.
6756 2010-10-07 Glenn Morris <rgm@gnu.org>
6758 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
6761 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
6762 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
6763 load-path-shadows-mode, update references.
6764 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
6765 Rename variable and button.
6766 (list-load-path-shadows): Update button caller.
6768 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6770 * emacs-lisp/smie.el (smie-bnf-classify): New function.
6771 (smie-bnf-precedence-table): Use it to remember the closers/openers.
6772 (smie-merge-prec2s): Handle those new entries.
6773 (smie-prec2-levels): Only set precedence to nil for actual
6775 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
6776 that is now unnecessary.
6778 2010-10-07 Miles Bader <miles@gnu.org>
6780 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
6782 2010-10-07 Glenn Morris <rgm@gnu.org>
6784 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6785 (mail-position-on-field): Remove declarations.
6786 (mail-position-on-field): Autoload it.
6787 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6788 and mail-header-end. Don't require sendmail.
6790 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6791 (shadow-mode): New mode.
6792 (shadow-find-file): New button.
6793 (list-load-path-shadows): Use shadow-mode and buttons.
6795 * iimage.el (iimage-version): Remove.
6796 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6797 Turn into defcustoms.
6798 (iimage-mode-map): Give it a doc string.
6800 * calendar/appt.el (appt-activate): Give a warning rather than an error
6801 if there is no diary-file.
6803 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
6805 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6806 Use `tramp-handle-find-backup-file-name'.
6808 2010-10-06 Glenn Morris <rgm@gnu.org>
6810 * font-core.el (font-lock-defaults-alist): Remove variable.
6811 (font-lock-mode): Doc fix.
6812 (font-lock-default-function): Do not consult font-lock-defaults-alist.
6813 * font-lock.el (font-lock-refresh-defaults): Doc fix.
6814 (font-lock-set-defaults): Doc fix.
6815 Do not consult font-lock-defaults-alist.
6817 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6819 * emacs-lisp/cl.el: No longer provide cl-19.
6821 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
6823 * net/tramp.el (tramp-handle-directory-files-and-attributes)
6824 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6825 New defuns, taken from tramp-smb.el.
6826 (tramp-coding-system-change-eol-conversion)
6827 (tramp-set-process-query-on-exit-flag): Remove.
6829 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6830 (tramp-compat-coding-system-change-eol-conversion)
6831 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6834 * net/tramp-gvfs.el:
6835 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6836 by `tramp-compat-set-process-query-on-exit-flag'.
6838 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6839 Use `tramp-handle-directory-files-and-attributes',
6840 `tramp-handle-file-exists-p' and
6841 `tramp-handle-file-newer-than-file-p'.
6842 (tramp-imap-handle-file-exists-p)
6843 (tramp-imap-handle-file-executable-p)
6844 (tramp-imap-handle-file-readable-p)
6845 (tramp-imap-handle-directory-files-and-attributes)
6846 (tramp-imap-handle-file-newer-than-file-p): Remove.
6848 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6849 by `tramp-compat-set-process-query-on-exit-flag' and
6850 `tramp-coding-system-change-eol-conversion' by
6851 `tramp-compat-coding-system-change-eol-conversion'.
6853 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6854 Use `tramp-handle-directory-files-and-attributes',
6855 `tramp-handle-file-exists-p' and
6856 `tramp-handle-file-newer-than-file-p'.
6857 (tramp-smb-handle-directory-files-and-attributes)
6858 (tramp-smb-handle-file-exists-p)
6859 (tramp-smb-handle-file-newer-than-file-p): Remove.
6860 (tramp-smb-maybe-open-connection):
6861 Replace `tramp-set-process-query-on-exit-flag' by
6862 `tramp-compat-set-process-query-on-exit-flag'.
6864 2010-10-05 Glenn Morris <rgm@gnu.org>
6866 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6868 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
6870 Continue reorganization of load dependencies. (Bug#7156)
6872 * net/tramp.el (tramp-handle-file-local-copy-hook)
6873 (tramp-delete-temp-file-function): Move down.
6874 (tramp-exists-file-name-handler): Move up.
6875 (tramp-register-file-name-handlers): Simplify autoload.
6876 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6877 (tramp-handle-directory-files, tramp-handle-dired-uncache)
6878 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6879 (tramp-handle-file-name-completion)
6880 (tramp-handle-file-name-directory)
6881 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6882 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6883 (tramp-handle-find-backup-file-name)
6884 (tramp-handle-insert-file-contents, tramp-handle-load)
6885 (tramp-handle-substitute-in-file-name)
6886 (tramp-handle-unhandled-file-name-directory)
6887 (tramp-mode-string-to-int, tramp-local-host-p)
6888 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6890 * net/tramp-gvfs.el (top):
6891 * net/tramp-smb.el (top): Do not require 'tramp-sh.
6893 * net/tramp-sh.el (all): Move several objects to tramp.el, see
6894 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6896 2010-10-04 Glenn Morris <rgm@gnu.org>
6898 * calendar/appt.el (appt-add): Ensure reminders are enabled.
6899 (appt-activate): Give status messages.
6901 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6903 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
6904 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6905 `gnutls-negotiate' (formerly `starttls-negotiate').
6906 Remove trivial wrapper `starttls-open-stream'.
6908 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
6910 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6911 log-outgoing commands.
6912 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6913 to create a buffer local revert-buffer-function variable.
6914 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6915 revert-buffer-function lambda.
6917 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6919 * net/gnutls.el (starttls-negotiate): Use the plist interface to
6920 `gnutls-boot'. Make TYPE the only required parameter.
6921 Allow TRUSTFILES and KEYFILES to be lists.
6922 (open-ssl-stream): Use it.
6924 2010-10-03 Glenn Morris <rgm@gnu.org>
6926 * subr.el (directory-sep-char): Remove obsolete variable.
6927 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6930 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6931 * vc/vc.el (vc-static-header-alist): Doc fix.
6932 * vc/vc-cvs.el (vc-cvs-header):
6933 * vc/vc-rcs.el (vc-rcs-header):
6934 * vc/vc-sccs.el (vc-sccs-header):
6935 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6936 * obsolete/vc-mcvs.el (vc-mcvs-header):
6937 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6940 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6942 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6943 Remove obsolete use of binary-overwrite-mode (Bug#7001).
6945 2010-10-03 Glenn Morris <rgm@gnu.org>
6947 * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6949 * textmodes/rst.el (rst-font-lock-keywords-function):
6952 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6954 * printing.el: Drop Emacs 20 code.
6956 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6957 without having used appt.el already).
6959 * subr.el (make-local-hook): Remove function obsolete since 21.1.
6960 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6961 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6963 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6964 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6966 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6967 (charset-width, find-charset-region, chars-in-region, forward-point)
6968 (encode-coding-string, coding-system-p, ccl-execute-on-string)
6969 (define-ccl-program, multibyte-string-p, string-make-multibyte):
6970 Remove compatibility cruft (none of these are used by ps*.el).
6972 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6974 * subr.el (booleanp): Return t instead of a list (Bug#7086).
6976 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6978 * server.el (server-process-filter, server-return-error):
6979 Give emacsclient time to shut down after receiving an error string.
6981 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
6983 * files.el (remote-file-name-inhibit-cache): New defcustom.
6985 * time.el (display-time-file-nonempty-p):
6986 Use `remote-file-name-inhibit-cache'.
6988 * net/tramp.el (tramp-completion-reread-directory-timeout):
6991 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6992 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
6993 `remote-file-name-inhibit-cache'. Check also for an integer
6994 value. Add/increase counter when `tramp-verbose' >= 10.
6995 (tramp-set-file-property): Add/increase counter when
6996 `tramp-verbose' >= 10.
6998 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6999 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
7000 (tramp-bug): Set tramp-autoload cookie. Report all interned
7001 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
7002 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
7003 characters only in strings.
7005 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
7006 to backward compatibility.
7008 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
7009 (tramp-handle-file-name-all-completions)
7010 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
7011 (tramp-open-connection-setup-interactive-shell):
7012 Call `tramp-cleanup-connection' directly.
7014 2010-10-02 Glenn Morris <rgm@gnu.org>
7016 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
7018 * subr.el (char-bytes): Remove obsolete function.
7020 * isearch.el (isearch-return-char): Remove obsolete function.
7022 * mouse.el: No longer provide mldrag.
7023 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
7024 Remove obsolete aliases.
7026 * comint.el (comint-kill-output): Remove obsolete alias.
7028 * composite.el (decompose-composite-char): Remove obsolete function.
7029 * ps-def.el (decompose-composite-char): Remove unused function.
7031 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
7033 * outline.el (outline-visible): Remove obsolete function.
7035 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
7036 * faces.el (internal-find-face, internal-get-face)
7037 (frame-update-faces, frame-update-face-colors)
7038 (x-frob-font-weight, x-frob-font-slant)
7039 (internal-frob-font-weight, internal-frob-font-slant)
7040 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
7041 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
7042 (x-make-font-bold-italic): Remove functions and aliases, obsolete
7044 * emulation/viper-util.el (viper-get-face):
7045 * obsolete/lucid.el (find-face, get-face): Use facep.
7046 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
7047 Remove unused functions.
7048 * vc/ediff-util.el (ediff-submit-report): Doc fix.
7050 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
7051 delete tempfile if interrupted during compilation.
7053 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7055 * net/tls.el (tls-starttls-switches): Give up on using starttls with
7057 (tls-program): Add --insecure to be consistent with the defaults from
7058 openssl s_client. Now all three commands are insecure.
7060 2010-10-01 Eli Zaretskii <eliz@gnu.org>
7062 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
7063 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
7064 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
7066 2010-10-01 Glenn Morris <rgm@gnu.org>
7068 * obsolete/sc.el: Remove file.
7070 * files.el (temporary-file-directory): On darwin, also try
7071 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
7073 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
7075 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
7076 Let's not break compatibility gratuitously, shall we?
7078 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7080 * net/tls.el (tls-starttls-switches): New variable.
7081 (tls-find-starttls-argument): Use it.
7082 (open-tls-stream): Ditto.
7084 * net/netrc.el (netrc-credentials): Return the value of the "default"
7086 (netrc-machine): Ditto.
7088 2010-09-30 Eli Zaretskii <eliz@gnu.org>
7090 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
7092 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
7094 * server.el (server-start): Don't write pid to the authentication file.
7095 (server-create-tty-frame): Don't send pid.
7096 (server-process-filter): Send pid at the start of every connection.
7098 2010-09-30 Glenn Morris <rgm@gnu.org>
7100 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
7101 (show-all-diary-entries): Remove obsolete function aliases.
7103 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
7104 Remove options, obsolete since 22.1.
7105 (appt-display-format, appt-display-message):
7106 Remove backwards-compatibility code.
7107 (appt-check): No longer check appt-issue-message.
7108 (appt-make-list): No longer autoload it. Doc fix. No longer
7109 activate the package.
7111 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7113 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
7114 (starttls-negotiate): Just call boot, and let the handshake be
7115 triggered from the read loop.
7117 2010-09-29 Glenn Morris <rgm@gnu.org>
7119 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
7120 not displaying the diary.
7121 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
7122 * calendar/appt.el (appt-check): No longer need to kill diary.
7124 * calendar/diary-lib.el (diary-list-entries): Move the
7125 "Preparing..." message entirely here.
7126 (diary-simple-display, diary-fancy-display): Move "Preparing..."
7127 messages to diary-list-entries.
7128 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
7129 diary-display-function.
7131 * calendar/diary-lib.el (diary-include-other-diary-files):
7132 Trap some recursive includes.
7134 * calendar/appt.el (appt-activate): Check diary file.
7136 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
7138 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
7141 * calendar/time-date.el: No need to require cl for Emacs 21.
7143 2010-09-28 Glenn Morris <rgm@gnu.org>
7145 * calendar/appt.el (appt-check): Minor simplification.
7147 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
7149 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
7152 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
7154 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7155 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
7157 2010-09-27 Kenichi Handa <handa@m17n.org>
7159 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
7162 2010-09-27 Kenichi Handa <handa@m17n.org>
7164 * international/mule.el (define-coding-system): Docstring fixed.
7166 * international/mule-diag.el (describe-character-set): Use princ
7167 with proper print-length and print-level instead of insert.
7169 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
7171 * window.el (walk-windows): Doc fix (bug#7105).
7173 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7175 * emacs-lisp/float-sup.el (e): Remove.
7177 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
7179 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
7181 (starttls-negotiate): Use it.
7183 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7185 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
7188 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
7190 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
7192 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7194 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
7196 * net/netrc.el (netrc-store-data): New function.
7198 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
7200 * net/gnutls.el: GnuTLS glue code to set up a connection.
7202 2010-09-25 Julien Danjou <julien@danjou.info>
7204 * notifications.el: Call dbus-register-signal only if it is bound.
7206 2010-09-25 Glenn Morris <rgm@gnu.org>
7208 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7209 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
7210 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
7211 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
7212 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
7213 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
7214 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
7215 * eshell/esh-util.el, eshell/esh-var.el:
7216 Remove leading `*' from docs of faces and defcustoms.
7218 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
7220 * eshell/em-ls.el (eshell-ls-archive-regexp):
7221 * eshell/esh-util.el (eshell-tar-regexp):
7222 * ibuffer.el (ibuffer-compressed-file-name-regexp):
7223 * info.el (Info-suffix-list):
7224 * international/mule.el (auto-coding-alist):
7225 * woman.el (woman-file-regexp, woman-file-compression-regexp):
7226 * progmodes/etags.el (tags-compression-info-list):
7227 Support xz compression.
7229 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
7231 * files.el (get-free-disk-space): Don't assume the "df" output
7232 columns line up (Bug#6995).
7234 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
7236 * finder.el (finder-unknown-keywords):
7237 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
7238 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
7240 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
7242 * server.el (server-start): Revert part of 2010-08-08 change. Using
7243 address 127.0.0.1 for local host is now done in Fmake_network_process.
7245 2010-09-24 Glenn Morris <rgm@gnu.org>
7247 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
7248 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
7249 * textmodes/css-mode.el, textmodes/dns-mode.el:
7250 Move autoloaded auto-mode-alist entries to files.el.
7251 * files.el (auto-mode-alist): Move entries here.
7253 2010-09-23 Glenn Morris <rgm@gnu.org>
7255 * isearch.el (isearch-lazy-highlight-cleanup)
7256 (isearch-lazy-highlight-initial-delay)
7257 (isearch-lazy-highlight-interval)
7258 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
7259 * net/net-utils.el (ipconfig-program-options):
7260 Move aliases to options before the associated definitions.
7262 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7264 * newcomment.el (comment-normalize-vars): Better test validity of
7267 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7269 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
7270 (float-e): New name for `e'.
7271 (degrees-to-radians, radians-to-degrees):
7272 * calendar/solar.el (solar-longitude):
7273 * calculator.el (calculator-registers, calculator-funcall):
7274 * textmodes/artist.el (artist-spray-random-points):
7275 * play/bubbles.el (bubbles--initialize-images): Use new names.
7277 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
7279 Update to CEDET 1.0's version of EIEIO.
7281 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
7283 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
7284 (eieio-default-eval-maybe): Eval val instead of unquoting only.
7285 (class-precedence-list): If class is nil, return nil.
7286 (eieio-generic-call): If class of first input arg is nil, don't
7287 look up static methods, and do check for primary methods.
7288 (initialize-instance): See if the default needs to be evaluated
7289 during the constructor.
7290 (eieio-perform-slot-validation-for-default): Don't do the check
7291 for values that will eventually be evaluated.
7292 (eieio-eval-default-p): New function.
7293 (eieio-default-eval-maybe): Use it.
7295 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
7297 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
7298 method-invocation-order.
7299 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
7300 (eieio-class-precedence-dfs): Compute class precedence list using
7302 (eieio-class-precedence-bfs): Compute class precedence list using
7304 (eieio-class-precedence-c3): Compute class precedence list using
7306 (class-precedence-list): New function.
7307 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
7308 (inconsistent-class-hierarchy): New error symbol.
7309 (call-next-method): Stow the replacement argument list for future
7310 call-next-method invocations.
7312 2010-09-23 Glenn Morris <rgm@gnu.org>
7314 * calendar/appt.el (appt-check): If not displaying the diary,
7315 use (diary 1) to only get the entries we need.
7316 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
7317 that it is in day order. (Bug#7019)
7319 * calendar/appt.el (appt-check): Rather than showing the diary,
7320 just turn off invisible display, and only if needed.
7322 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
7324 2010-09-23 Glenn Morris <rgm@gnu.org>
7326 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7327 (byte-compile-defvar, byte-compile-cl-warn):
7328 Start warnings with lower-case, like the majority.
7330 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
7332 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
7334 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
7335 * files.el (auto-mode-alist): Move ld-script entries here, further down
7338 * vc/add-log.el: Don't require timezone when compiling.
7339 (timezone-make-date-sortable): Autoload it.
7340 (change-log-sortable-date-at): Don't require timezone.
7341 Use `ignore-errors'.
7343 * comint.el (comint-use-prompt-regexp-instead-of-fields):
7344 Move alias before definition, so it does not need autoloading.
7346 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
7347 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
7348 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
7349 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
7350 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
7351 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
7352 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
7353 * textmodes/tex-mode.el, textmodes/two-column.el:
7354 Remove leading `*' from docs of defcustoms etc.
7356 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
7358 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
7360 2010-09-22 Dan Christensen <jdc@uwo.ca>
7362 * calendar/time-date.el (date-to-time): Try using parse-time-string
7363 first before using the slower timezone-make-date-arpa-standard.
7365 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
7367 * calendar/time-date.el (format-seconds): Comment fix.
7369 2010-09-22 Glenn Morris <rgm@gnu.org>
7371 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
7372 is not automatically buffer-local.
7374 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7376 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
7377 (smie-indent-comment): Be more careful with comment-start-skip.
7378 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
7379 (smie-indent-functions): Use them.
7381 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
7383 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
7385 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
7387 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
7388 tool-bar-position. Don't modify frame parameters here.
7389 (menu-bar-options-save): Add tool-bar-position.
7391 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
7393 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7395 * textmodes/reftex-parse.el (reftex-what-macro)
7396 (reftex-context-substring): Let-bind forward-sexp-function to nil
7397 since we don't need/want to treat \begin...\end as a block (bug#7053).
7399 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
7401 * simple.el (blink-matching-open): Use syntax-class.
7403 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
7404 Set invisibility spec for pascal's outline mode.
7405 (pascal-outline-change): Clean up calling convention.
7406 (pascal-show-all, pascal-hide-other-defuns): Update callers.
7408 * progmodes/prolog.el (prolog-smie-forward-token)
7409 (prolog-smie-backward-token): New functions.
7410 (prolog-mode-variables): Use them to parse "!," correctly.
7411 Set up smie-blink-matching for ".".
7413 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
7415 (ispell-region, ispell-process-line): Update users.
7417 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
7420 * textmodes/ispell.el: Fix commenting convention.
7421 (ispell-parse-output): Simplify, use push.
7422 (ispell-region): Use match-string-no-properties.
7423 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
7424 (ispell-minor-mode): Use define-minor-mode.
7425 (ispell-message): Remove unused var `skip-regexp'.
7426 (ispell-add-per-file-word-list): Use dynamic let-binding.
7427 Try and use the proper comment marker.
7429 * mail/sendmail.el: Fix commenting convention.
7430 (sendmail-send-it): Use line-beginning-position.
7432 * help-fns.el (describe-variable): Add original value, if applicable.
7434 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
7436 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
7438 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
7440 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7442 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
7443 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
7444 (smie-prec2-levels): Use them to better diagnose precedence cycles.
7445 (smie-blink-matching-check): Don't signal a mismatch if car is t.
7446 (smie-blink-matching-open): Rewrite to remove assumptions, so that
7447 something like "." can also be a closer.
7448 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
7449 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
7450 Rename internal functions to use "--". Update callers.
7452 * frame.el (make-frame-names-alist): Don't list frames on other displays.
7454 * fringe.el (fringe-styles): New var.
7455 (fringe-mode, fringe-query-style): Use it.
7457 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
7459 * progmodes/sql.el: Version 2.8
7460 (sql-login-params): Update widget structure; changes still needed.
7461 (sql-product-alist): Add :list-all and :list-table features for
7462 SQLite, Postgres and MySQL products.
7463 (sql-redirect): Handle default value.
7464 (sql-execute, sql-execute-feature): New functions.
7465 (sql-read-table-name): New function.
7466 (sql-list-all, sql-list-table): New functions. User API.
7467 (sql-mode-map, sql-interactive-mode-map): Add key definitions
7468 for above functions.
7469 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
7470 for above functions.
7471 (sql-postgres-login-params): Add user and database defaults.
7472 (sql-buffer-live-p): Bug fix.
7473 (sql-product-history): New variable.
7474 (sql-read-product): New function. Use it.
7475 (sql-set-product, sql-product-interactive): Use it.
7476 (sql-connection-history): New variable.
7477 (sql-read-connection): New function. Use it.
7478 (sql-connect): New function.
7479 (sql-for-each-login): Redesign function interface.
7480 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
7481 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
7482 (sql-comint): Check for program. Existing live buffer.
7483 (sql-comint-postgres): Add port parameter.
7485 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7487 * emacs-lisp/warnings.el: Fix commenting convention.
7488 (display-warning): Use special mode and make the buffer read-only.
7490 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
7492 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
7493 empty string when it follows a repeated or optional pattern.
7495 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7497 * indent.el (indent-according-to-mode): Apply syntax-propertize.
7498 (indent-region): Use indent-according-to-mode.
7500 2010-09-18 Eli Zaretskii <eliz@gnu.org>
7502 * fringe.el (fringe-mode): Doc fix.
7504 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
7506 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
7507 refreshing the preview buffer.
7509 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7511 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
7512 (latex-syntax-propertize-rules): New consts; replace
7513 tex-font-lock-syntactic-keywords.
7514 (tex-env-mark, latex-env-before-change): New functions.
7515 (latex-electric-env-pair-mode): New minor mode.
7516 (tex-font-lock-verb): Change arguments; do move point.
7517 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
7518 representation as a form of comment.
7519 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
7520 (doctex-syntax-propertize-rules): New const; replaces
7521 doctex-font-lock-syntactic-keywords.
7522 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
7524 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
7525 (fortran-make-syntax-propertize-function): New function; replaces
7526 fortran-font-lock-syntactic-keywords.
7527 (fortran-mode): Use it.
7528 (fortran-line-length): Use it. Improve interactive spec.
7530 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
7531 (syntax-propertize-rules): Add var-ref case. Fix offset computation
7532 when adding surrounding \(..\).
7534 * progmodes/js.el (js-mode): Fix last change (bug#7054).
7536 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7538 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
7539 Use with-current-buffer.
7541 * isearch.el (isearch-face): Rename from `isearch'.
7542 (isearch-highlight): Use new name.
7544 2010-09-17 Eli Zaretskii <eliz@gnu.org>
7546 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
7547 5, for `half' width fringes. (Bug#6933)
7549 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7551 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
7552 (byte-compile-defvar): "foo/bar" does not lack a prefix.
7554 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
7556 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
7558 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
7559 in calculating new frame position. Add more space between new and
7560 parent on the left (Bug#7048).
7562 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
7564 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
7567 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
7569 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
7571 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
7572 obsolete alias for x-selection-value.
7574 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
7576 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
7578 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
7581 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
7583 * net/tramp-compat.el (tramp-compat-with-temp-message)
7584 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
7585 (tramp-compat-process-put): New defuns.
7587 * net/tramp.el (top):
7588 * net/tramp-gvfs.el (top):
7589 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
7591 * net/tramp.el (tramp-progress-reporter-update):
7592 Use `tramp-compat-funcall'.
7594 * net/tramp.el (tramp-process-actions):
7595 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7596 * net/tramp-sh.el (tramp-handle-vc-registered)
7597 (tramp-get-remote-stat, tramp-get-remote-readlink):
7598 Use `tramp-compat-with-temp-message'.
7600 * net/tramp-sh.el (top): Require 'cl.
7601 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
7602 (tramp-open-connection-setup-interactive-shell):
7603 Use `tramp-compat-process-put'.
7605 2010-09-15 Alan Mackenzie <acm@muc.de>
7607 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
7609 (c-forward-<>-arglist-recur): Fix an infinite recursion.
7611 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
7613 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
7614 `lexical' for warnings related to lexical scoping.
7615 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
7616 global vars which don't have a prefix and could hence affect lexical
7617 scoping in unrelated files.
7619 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7621 * net/imap.el: Revert back to version
7622 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
7625 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
7627 * obsolete/old-whitespace.el (whitespace-unload-function):
7628 Explicitly pass `obarray' to `unintern' to avoid a warning.
7630 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7632 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
7633 Add `when' argument. Update callers.
7635 * subr.el (unintern): Declare the obarray arg mandatory.
7637 2010-09-14 Glenn Morris <rgm@gnu.org>
7639 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
7642 * calendar/diary-lib.el (diary-included-files): New variable.
7643 (diary-list-entries): Maybe initialize diary-included-files.
7644 (diary-include-other-diary-files): Append to diary-included-files.
7645 * calendar/appt.el (appt-update-list): Also check the members of
7646 diary-included-files. (Bug#6999)
7647 (appt-check): Doc fix.
7649 2010-09-14 David Reitter <david.reitter@gmail.com>
7651 * simple.el (line-move-visual): Do not truncate goal column to
7652 integer size. (Bug#7020)
7654 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7656 * repeat.el (repeat): Allow repeating when the last event is a click.
7657 Suggested by Drew Adams (bug#6256).
7659 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
7661 * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
7662 Replace setting HGRCPATH to "" by some less invasive --config options.
7664 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7666 * font-lock.el (font-lock-beginning-of-syntax-function):
7669 2010-09-14 Glenn Morris <rgm@gnu.org>
7671 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
7672 and tool-bar modes. (Bug#6211)
7673 (menu-bar-mode): Move setting of standard-value after the
7674 minor-mode definition, otherwise it seems to have no effect.
7676 2010-09-14 Masatake YAMATO <yamato@redhat.com>
7678 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
7679 Fix typo. (Bug#6976)
7681 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7683 * whitespace.el: Allow cleaning up blanks without blank
7684 visualization (Bug#6651). Adjust help window for
7685 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7686 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
7687 (whitespace-style): Add new value 'face. Adjust docstring.
7688 (whitespace-space, whitespace-hspace, whitespace-tab):
7689 Adjust foreground property face.
7690 (whitespace-line-column): Adjust docstring and type declaration.
7691 (whitespace-style-value-list, whitespace-toggle-option-alist)
7692 (whitespace-help-text): Adjust const initialization.
7693 (whitespace-toggle-options, global-whitespace-toggle-options):
7695 (whitespace-display-window, whitespace-interactive-char)
7696 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7697 (whitespace-help-scroll): New fun.
7699 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
7701 * calendar/time-date.el (format-seconds): Comment fix.
7703 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
7705 * progmodes/sql.el: Version 2.7.
7706 (sql-buffer-live-p): Improve detection.
7707 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7708 (sql-set-sqli-buffer): Use it.
7709 (sql-product-interactive): Run `sql-set-sqli-hook'.
7710 (sql-rename-buffer): Code cleanup.
7711 (sql-redirect, sql-redirect-value): New functions. More to come.
7713 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
7715 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.
7716 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7717 (TRAMP_SRC): New macro.
7718 ($(lisp)/net/tramp-loaddefs.el): New target.
7720 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
7722 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
7724 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
7726 * net/tramp.el (top): Don't show loading message. Require just
7727 'tramp-compat, everything else is required there.
7728 Use `ignore-errors' where appropriate.
7729 (tramp-inline-compress-start-size, tramp-copy-size-limit)
7730 (tramp-terminal-type, tramp-end-of-output)
7731 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
7732 (tramp-completion-function-alist-ssh)
7733 (tramp-completion-function-alist-telnet)
7734 (tramp-completion-function-alist-su)
7735 (tramp-completion-function-alist-putty, tramp-remote-path)
7736 (tramp-remote-process-environment, tramp-sh-extra-args)
7737 (tramp-actions-before-shell, tramp-uudecode)
7738 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
7739 (tramp-perl-file-attributes)
7740 (tramp-perl-directory-files-and-attributes)
7741 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
7742 (tramp-perl-encode, tramp-perl-decode)
7743 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
7744 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
7745 (tramp-handle-make-symbolic-link, tramp-handle-load)
7746 (tramp-handle-file-name-as-directory)
7747 (tramp-handle-file-name-directory)
7748 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
7749 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
7750 (tramp-do-file-attributes-with-ls)
7751 (tramp-do-file-attributes-with-perl)
7752 (tramp-do-file-attributes-with-stat)
7753 (tramp-handle-set-visited-file-modtime)
7754 (tramp-handle-verify-visited-file-modtime)
7755 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
7756 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
7757 (tramp-handle-file-selinux-context)
7758 (tramp-handle-set-file-selinux-context)
7759 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
7760 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
7761 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
7762 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
7763 (tramp-handle-file-ownership-preserved-p)
7764 (tramp-handle-directory-file-name, tramp-handle-directory-files)
7765 (tramp-handle-directory-files-and-attributes)
7766 (tramp-do-directory-files-and-attributes-with-perl)
7767 (tramp-do-directory-files-and-attributes-with-stat)
7768 (tramp-handle-file-name-all-completions)
7769 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
7770 (tramp-handle-copy-file, tramp-handle-copy-directory)
7771 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
7772 (tramp-do-copy-or-rename-file-via-buffer)
7773 (tramp-do-copy-or-rename-file-directly)
7774 (tramp-do-copy-or-rename-file-out-of-band)
7775 (tramp-handle-make-directory, tramp-handle-delete-directory)
7776 (tramp-handle-delete-file)
7777 (tramp-handle-dired-recursive-delete-directory)
7778 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
7779 (tramp-handle-insert-directory)
7780 (tramp-handle-unhandled-file-name-directory)
7781 (tramp-handle-expand-file-name)
7782 (tramp-handle-substitute-in-file-name)
7783 (tramp-handle-executable-find, tramp-process-sentinel)
7784 (tramp-handle-start-file-process, tramp-handle-process-file)
7785 (tramp-handle-call-process-region, tramp-handle-shell-command)
7786 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7787 (tramp-handle-insert-file-contents)
7788 (tramp-handle-insert-file-contents-literally)
7789 (tramp-handle-find-backup-file-name)
7790 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7791 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7792 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7793 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7794 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7795 (tramp-find-file-exists-command, tramp-open-shell)
7796 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7797 (tramp-open-connection-setup-interactive-shell)
7798 (tramp-local-coding-commands, tramp-remote-coding-commands)
7799 (tramp-find-inline-encoding, tramp-call-local-coding-command)
7800 (tramp-inline-compress-commands, tramp-find-inline-compress)
7801 (tramp-compute-multi-hops, tramp-maybe-open-connection)
7802 (tramp-send-command, tramp-wait-for-output)
7803 (tramp-send-command-and-check, tramp-barf-unless-okay)
7804 (tramp-send-command-and-read, tramp-mode-string-to-int)
7805 (tramp-convert-file-attributes, tramp-check-cached-permissions)
7806 (tramp-file-mode-from-int, tramp-file-mode-permissions)
7807 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7808 (tramp-method-out-of-band-p, tramp-local-host-p)
7809 (tramp-get-remote-path, tramp-get-remote-tmpdir)
7810 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7811 (tramp-get-test-command, tramp-get-test-nt-command)
7812 (tramp-get-file-exists-command, tramp-get-remote-ln)
7813 (tramp-get-remote-perl, tramp-get-remote-stat)
7814 (tramp-get-remote-readlink, tramp-get-remote-trash)
7815 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7816 (tramp-get-local-uid, tramp-get-local-gid)
7817 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7819 (tramp-methods, tramp-default-method-alist)
7820 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7821 Move initialization to tramp-sh.el.
7822 (tramp-temp-name-prefix): Make it a defconst.
7823 (tramp-dissect-file-name): Don't check anymore for multi-hop
7825 (tramp-debug-outline-regexp): Add a docstring.
7826 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7827 (tramp-get-debug-buffer): Use it.
7829 * net/tramp-cache.el (top): Set tramp-autoload cookie for
7830 initialization forms.
7831 (tramp-set-connection-property): Don't protect `tramp-message'
7832 call, it isn't necessary any longer.
7833 (tramp-dump-connection-properties): Use `ignore-errors'.
7835 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7836 'password-cache and 'auth-source.
7838 * net/tramp-gvfs.el (top):
7839 * net/tramp-smb.el (top): Require 'tramp-sh.
7841 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7843 * net/tramp-sh.el: New file, derived from tramp.el.
7844 (top): Initialize `tramp-methods', `tramp-default-method-alist',
7845 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7846 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7847 Use `ignore-errors' where appropriate.
7848 (tramp-sh-file-name-handler-alist): Rename from
7849 `tramp-file-name-handler-alist'.
7850 (tramp-send-command-and-check): Return t or nil. Remove all
7851 `zerop' checks, where called.
7852 (tramp-handle-set-file-modes)
7853 (tramp-do-copy-or-rename-file-directly)
7854 (tramp-handle-delete-directory, tramp-handle-delete-file)
7855 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7856 (tramp-sh-file-name-handler, tramp-send-command-and-check)
7857 (tramp-get-remote-ln): Set tramp-autoload cookie.
7859 * net/tramp-fish.el: Remove file.
7861 2010-09-13 Daiki Ueno <ueno@unixuser.org>
7863 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7864 buffer-file-name to avoid file-locking. (Bug#7026)
7866 2010-09-13 Julien Danjou <julien@danjou.info>
7868 * notifications.el (notifications-notify): Add support for
7869 image-path and sound-name.
7870 (notifications-specification-version): Add this variable.
7872 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7874 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7876 2010-09-12 Leo <sdl.web@gmail.com>
7878 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7879 (rcirc-completion-start): New variables.
7880 (rcirc-nick-completions): Rename to rcirc-completions.
7881 (rcirc-nick-completion-start-offset): Delete.
7882 (rcirc-completion-at-point): New function for constructing
7883 completion data for both nicks and irc commands. Add to
7884 completion-at-point-functions in rcirc mode.
7885 (rcirc-complete): Rename from rcirc-nick-complete; use
7886 rcirc-completion-at-point.
7887 (defun-rcirc-command): Update rcirc-client-commands.
7889 2010-09-11 Glenn Morris <rgm@gnu.org>
7891 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7892 atomically, to avoid parallel build errors. (Bug#4196)
7894 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
7896 * progmodes/sql.el: Version 2.6
7897 (sql-dialect): Synonym for "sql-product".
7898 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7899 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7900 Set "sql-buffer" to buffer name not buffer object so multiple sql
7901 interactive buffers work properly. Reverts misguided changes in
7903 (sql-comint): Make sure different buffer name is used if "*SQL*"
7904 buffer is for a different product.
7905 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7907 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7908 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7909 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7910 Accept new buffer name or prompt for one.
7911 (sql-port): Default to zero.
7912 (sql-comint-mysql): Handle "sql-port" as a numeric.
7913 (sql-port-history): Delete unused variable.
7914 (sql-get-login): Default "sql-port" to a number.
7915 (sql-product-alist): Correct Postgres prompt and terminator regexp.
7916 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7917 "sqlite3" executables.
7918 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7919 (sql-buffer-live-p): New function.
7920 (sql-mode-menu, sql-send-string): Use it.
7921 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7923 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7924 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7926 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7928 * net/netrc.el (netrc-credentials): New convenience function.
7930 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7932 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7933 to replace texinfo-font-lock-syntactic-keywords.
7934 (texinfo-mode): Use it.
7936 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7937 Use syntax-propertize-function.
7939 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7940 replace sgml-font-lock-syntactic-keywords.
7941 (sgml-mode): Use it.
7943 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7944 since we don't use it.
7946 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7948 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7950 (vhdl-fontify-buffer): Adjust.
7952 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7953 replace tcl-font-lock-syntactic-keywords.
7956 * progmodes/simula.el (simula-syntax-propertize-function): New var to
7957 replace simula-font-lock-syntactic-keywords.
7958 (simula-mode): Use it.
7960 * progmodes/sh-script.el (sh-st-symbol): Remove.
7961 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7962 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7963 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7964 (sh-font-lock-paren): Set syntax-multiline.
7965 (sh-font-lock-syntactic-keywords): Remove.
7966 (sh-syntax-propertize-function): New function to replace it.
7969 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7970 Define while compiling.
7971 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7972 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7973 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7974 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7975 (ruby-here-doc-end-syntax): Only define when
7976 syntax-propertize is not available.
7977 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7979 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7980 (electric-indent-chars): Silence bytecompiler.
7981 (ruby-mode): Use prog-mode, syntax-propertize-function, and
7982 electric-indent-chars.
7984 * progmodes/python.el (python-syntax-propertize-function): New var to
7985 replace python-font-lock-syntactic-keywords.
7986 (python-mode): Use it.
7987 (python-quote-syntax): Simplify and adjust to new use.
7989 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7990 replace perl-font-lock-syntactic-keywords.
7991 (perl-syntax-propertize-special-constructs): New fun to replace
7992 perl-font-lock-special-syntactic-constructs.
7993 (perl-font-lock-syntactic-face-function): New fun.
7994 (perl-mode): Use it.
7996 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7997 to replace octave-font-lock-close-quotes.
7998 (octave-syntax-propertize-function): New function to replace
7999 octave-font-lock-syntactic-keywords.
8000 (octave-mode): Use it.
8002 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
8003 replaces mixal-font-lock-syntactic-keywords.
8004 (mixal-mode): Use it.
8006 * progmodes/make-mode.el (makefile-syntax-propertize-function):
8007 New var; replaces makefile-font-lock-syntactic-keywords.
8008 (makefile-mode): Use it.
8009 (makefile-imake-mode): Adjust.
8011 * progmodes/js.el (js--regexp-literal): Define while compiling.
8012 (js-syntax-propertize-function): New var; replaces
8013 js-font-lock-syntactic-keywords.
8016 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
8017 replaces gdb-script-font-lock-syntactic-keywords.
8018 (gdb-script-mode): Use it.
8020 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
8021 (fortran--font-lock-syntactic-keywords): New var.
8022 (fortran-line-length): Update syntax-propertize-function and
8023 fortran--font-lock-syntactic-keywords.
8025 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
8027 * progmodes/cfengine.el (cfengine-mode):
8028 Use syntax-propertize-function.
8029 (cfengine-font-lock-syntactic-keywords): Remove.
8031 * progmodes/autoconf.el (autoconf-mode):
8032 Use syntax-propertize-function.
8033 (autoconf-font-lock-syntactic-keywords): Remove.
8035 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
8036 (ada-after-change-function, ada-initialize-syntax-table-properties)
8037 (ada-handle-syntax-table-properties): Only define when
8038 syntax-propertize is not available.
8039 (ada-mode): Use syntax-propertize-function.
8041 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
8042 (font-lock-fontify-syntactic-keywords-region): Move handling of
8043 font-lock-syntactically-fontified to...
8044 (font-lock-default-fontify-region): ...here.
8045 Let syntax-propertize-function take precedence.
8046 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
8048 * emacs-lisp/syntax.el (syntax-propertize-function)
8049 (syntax-propertize-chunk-size, syntax-propertize--done)
8050 (syntax-propertize-extend-region-functions): New vars.
8051 (syntax-propertize-wholelines, syntax-propertize-multiline)
8052 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
8053 (syntax-propertize): New functions.
8054 (syntax-propertize-rules): New macro.
8055 (syntax-ppss-flush-cache): Set syntax-propertize--done.
8056 (syntax-ppss): Call syntax-propertize.
8058 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
8060 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
8062 * textmodes/ispell.el (ispell-init-process): Improve comments.
8063 XEmacs compatibility changes regarding (add-hook) 'local option
8064 and (set-process-query-on-exit-flag).
8066 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
8068 * net/tramp-cache.el (tramp-parse-connection-properties):
8069 Set tramp-autoload cookie.
8071 2010-09-09 Glenn Morris <rgm@gnu.org>
8073 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
8074 (imagemagick-register-types): Doc fix.
8076 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
8078 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
8080 * progmodes/js.el (require): Require is already "eval-and-compile".
8081 (js--re-search-forward): Avoid `eval'. Preserve the error data.
8082 (js--re-search-backward): Use js--re-search-forward.
8084 * progmodes/fortran.el (fortran-line-length): Don't recompute
8085 syntactic keywords redundantly a second time.
8087 * progmodes/ada-mode.el: Replace "(set '" with setq.
8088 (ada-mode): Simplify.
8089 (ada-create-case-exception, ada-adjust-case-interactive)
8090 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
8091 (ada-search-ignore-string-comment, ada-move-to-start)
8092 (ada-move-to-end): Use with-syntax-table.
8094 * font-lock.el (save-buffer-state): Remove `varlist' arg.
8095 (font-lock-unfontify-region, font-lock-default-fontify-region):
8096 Update usage correspondingly.
8097 (font-lock-fontify-syntactic-keywords-region):
8098 Set parse-sexp-lookup-properties buffer-locally here.
8099 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
8101 * simple.el (blink-matching-open): Don't burp if we can't find a match.
8103 2010-09-08 Glenn Morris <rgm@gnu.org>
8105 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
8106 Error if not compiled with -DBYTE_CODE_METER.
8108 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8109 Ignore dir-locals-file.
8111 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
8113 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8115 (compilation-error-regexp-alist-alist): Rule out ": " in file names
8116 for the `gnu' messages.
8117 (compilation-set-skip-threshold): New command.
8118 (compilation-start): Use \' rather than $.
8119 (compilation-forget-errors): Use clrhash.
8121 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
8123 * textmodes/ispell.el (ispell-valid-dictionary-list):
8126 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
8128 Migrate to Tramp 2.2. Rearrange load dependencies.
8129 (Bug#1529, Bug#5448, Bug#5705)
8131 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
8132 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
8133 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
8135 * net/tramp.el (top): Remove all other tramp-* loads except
8136 tramp-compat.el. Remove all changes to tramp-unload-hook for
8137 other tramp-* packages. Rearrange defun order. Change calls of
8138 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
8139 `tramp-compat-octal-to-decimal' to new function names.
8140 (tramp-terminal-type, tramp-initial-end-of-output)
8141 (tramp-methods, tramp-foreign-file-name-handler-alist)
8142 (tramp-tramp-file-p, tramp-completion-mode-p)
8143 (tramp-send-command-and-check, tramp-get-remote-path)
8144 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
8145 (tramp-shell-quote-argument): Set tramp-autoload cookie.
8146 (with-file-property, with-connection-property): Move to
8148 (tramp-local-call-process, tramp-decimal-to-octal)
8149 (tramp-octal-to-decimal): Move to tramp-compat.el.
8150 (tramp-handle-shell-command): Do not require 'shell.
8151 (tramp-compute-multi-hops): No special handling for tramp-gw-*
8153 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
8155 * net/tramp-cache.el (top): Require 'tramp. Add to
8156 `tramp-unload-hook'.
8157 (tramp-cache-data, tramp-get-file-property)
8158 (tramp-set-file-property, tramp-flush-file-property)
8159 (tramp-flush-directory-property, tramp-get-connection-property)
8160 (tramp-set-connection-property, tramp-flush-connection-property)
8161 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
8163 (with-file-property, with-connection-property): New defuns, moved
8165 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
8168 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
8169 (tramp-version): Set tramp-autoload cookie.
8171 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
8172 changes to tramp-unload-hook for other tramp-* packages. Add to
8173 `tramp-unload-hook'.
8174 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
8175 (tramp-compat-call-process): New defuns, moved from tramp.el.
8177 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
8178 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8179 Add to `tramp-unload-hook'. Change call of
8180 `tramp-compat-decimal-to-octal' to new function name.
8181 (tramp-fish-method): Make it a defconst.
8182 (tramp-fish-file-name-p): Make it a defsubst.
8183 (tramp-fish-method, tramp-fish-file-name-handler)
8184 (tramp-fish-file-name-p): Set tramp-autoload cookie.
8186 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
8187 `tramp-foreign-file-name-handler-alist'. Add to
8188 `tramp-unload-hook'.
8189 (tramp-ftp-method): Make it a defconst.
8190 (tramp-ftp-file-name-p): Make it a defsubst.
8191 (tramp-ftp-method, tramp-ftp-file-name-handler)
8192 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
8194 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
8195 `tramp-foreign-file-name-handler-alist'. Add to
8196 `tramp-unload-hook'. Change checks, whether package can be
8198 (tramp-gvfs-file-name-p): Make it a defsubst.
8199 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
8200 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
8201 (tramp-gvfs-handle-file-directory-p): New defun.
8202 (tramp-gvfs-file-name-handler-alist): Use it.
8204 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
8205 `tramp-foreign-file-name-handler-alist'. Add to
8206 `tramp-unload-hook'.
8207 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
8208 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
8210 (tramp-gw-tunnel-method, tramp-gw-socks-method)
8211 (tramp-gw-open-connection): Set tramp-autoload cookie.
8213 * net/tramp-imap.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 checks, whether package can be
8217 (tramp-imap-file-name-p): Make it a defsubst.
8218 (tramp-imap-method, tramp-imaps-method)
8219 (tramp-imap-file-name-handler)
8220 (tramp-imap-file-name-p): Set tramp-autoload cookie.
8222 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
8223 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8224 Add to `tramp-unload-hook'. Change checks, whether package can be
8225 loaded. Change call of `tramp-compat-decimal-to-octal' to new
8227 (tramp-smb-tunnel-method): Make it a defconst.
8228 (tramp-smb-file-name-p): Make it a defsubst.
8229 (tramp-smb-method, tramp-smb-file-name-handler)
8230 (tramp-smb-file-name-p): Set tramp-autoload cookie.
8232 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
8233 (tramp-uuencode-region): Set tramp-autoload cookie.
8235 * net/trampver.el (top) Add to `tramp-unload-hook'.
8236 (tramp-version, tramp-bug-report-address): Set tramp-autoload
8237 cookie. Update release number.
8239 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
8241 * textmodes/ispell.el (ispell-start-process): Make sure original
8242 arg list is properly initialized (Bug#6993, Bug#6994).
8244 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8246 * files.el (directory-abbrev-alist): Use \` as default regexp.
8248 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
8249 chars like - or ] (bug#6984).
8250 (rx-any-condense-range): Explode 2-char ranges.
8252 2010-09-06 Glenn Morris <rgm@gnu.org>
8254 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
8256 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8258 * textmodes/bibtex.el:
8259 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
8261 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8263 * net/imap.el (imap-message-map): Remove optional buffer parameter,
8264 since no callers use it.
8265 (imap-message-get): Ditto.
8266 (imap-message-put): Ditto.
8267 (imap-mailbox-map): Ditto.
8268 (imap-mailbox-put): Ditto.
8269 (imap-mailbox-get): Ditto.
8270 (imap-mailbox-get): Revert last change for this function.
8272 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8274 * net/imap.el (imap-fetch-safe): Remove function, and alter all
8275 callers to use `imap-fetch' instead. According to the comments, this
8276 should be safe, since all other IMAP clients use the 1:* syntax.
8277 (imap-enable-exchange-bug-workaround): Remove.
8278 (imap-debug): Remove -- doesn't seem very useful.
8280 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8282 * net/imap.el (imap-log): New convenience function used throughout
8283 instead of repeating the same code all over the place.
8285 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
8287 * mouse.el (mouse-save-then-kill): Save region to kill-ring
8288 when mouse-drag-copy-region is non-nil (Bug#6956).
8290 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
8292 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
8293 Improve regexps (Bug#6987).
8294 (dired-sort-toggle): Search more robustly for -t flag.
8296 * files.el (get-free-disk-space): Search more robustly for
8297 "available" column. Suggested by Ehud Karni
8298 <ehud@unix.mvs.co.il>.
8300 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
8302 * international/uni-bidi.el:
8303 * international/uni-category.el:
8304 * international/uni-combining.el:
8305 * international/uni-decimal.el:
8306 * international/uni-mirrored.el:
8307 * international/uni-name.el: Regenerate.
8309 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8311 * electric.el (electric-indent-post-self-insert-function):
8312 Don't reindent with a sloppy indentation function.
8314 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
8315 border case in change-log-mode.
8317 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
8319 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8320 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
8321 Recognize leading tab in gcc-include regexp. Ignore names with
8322 leading "from" or "in" in gnu regexp (Bug#6937).
8324 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8326 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
8327 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
8328 (ispell-start-process): Avoid setq and simplify logic.
8329 (ispell-init-process): Setup kill-buffer-hook locally when needed.
8330 (kill-buffer-hook): Don't use it globally with code that uses
8331 expand-file-name since that may call kill-buffer via
8332 code_conversion_restore.
8334 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
8336 * emacs-lisp/package.el (package-directory-list): Only call
8337 file-name-nondirectory on a string.
8339 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
8341 * emacs-lisp/package.el (package--download-one-archive):
8342 Ensure that archive-contents is valid before saving it.
8343 (package-activate-1, package-mark-obsolete, define-package)
8344 (package-compute-transaction, package-list-maybe-add): Use push.
8346 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8348 Use SMIE's blink-paren for octave-mode.
8349 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
8350 Backslashes do not escape single-quotes, single-quotes do.
8351 (octave-block-else-regexp, octave-block-end-regexp)
8352 (octave-block-match-alist): Remove.
8353 (octave-smie-bnf-table): New var, with old content.
8354 (octave-smie-op-levels): Use it.
8355 (octave-smie-closer-alist): New var.
8356 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
8357 (octave-blink-matching-block-open): Remove.
8358 (octave-reindent-then-newline-and-indent, octave-electric-semi)
8359 (octave-electric-space): Let self-insert-command run expand-abbrev and
8362 * electric.el (electricity): New group.
8363 (electric-indent-chars): New var.
8364 (electric-indent-post-self-insert-function): New fun.
8365 (electric-indent-mode): New minor mode.
8366 (electric-pair-skip-self): New custom.
8367 (electric-pair-post-self-insert-function): New function.
8368 (electric-pair-mode): New minor mode.
8370 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
8371 calcAlg-blink-matching-open.
8372 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
8373 (calc-do-alg-entry): Only touch the part of the keymap that varies.
8374 Use the new blink-matching-check-function.
8376 Provide blink-matching support to SMIE.
8377 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
8378 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
8379 (smie-blink-matching-check, smie-blink-matching-open): New functions.
8381 * simple.el (newline): Fix last change to properly remove itself from
8384 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8386 * simple.el (newline): Eliminate optimization.
8387 Use post-self-insert-hook to set hard-newline and things before
8388 running post-self-insert-hook.
8389 (blink-matching-check-mismatch): New function.
8390 (blink-matching-check-function): New variable.
8391 (blink-matching-open): Use them.
8392 Skip back forward over prefix chars skipped by forward-sexp.
8393 Don't check if the parens are backslash escaped.
8394 (blink-paren-post-self-insert-function): Check backslash escaping here.
8396 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
8398 * emacs-lisp/package.el (package-menu-mode-map):
8399 Change package-menu-revert bindings to revert-buffer.
8400 (package-menu-mode): Set revert-buffer-function.
8401 (package-menu-revert): Doc fix.
8403 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
8405 * textmodes/ispell.el (ispell-init-process): Use "~/" as
8406 `default-directory' unless using Ispell per-directory personal
8407 dictionaries and not in a mini-buffer under XEmacs.
8408 (kill-buffer-hook): Do not kill ispell process on exit when
8409 `ispell-process-directory' is "~/". (Bug#6143)
8411 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
8413 * simple.el (kill-new): Call interprogram-cut-function with only
8416 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
8417 Remove cut buffer from error message.
8419 * term/x-win.el (x-select-text):
8420 * term/pc-win.el (x-selection-value):
8421 * term/ns-win.el (x-selection-value):
8422 * eshell/em-term.el:
8423 * w32-fns.el (x-get-selection-value):
8424 * mouse-sel.el (mouse-sel-set-selection-function):
8425 * frame.el (display-selections-p): Remove cut-buffer in documentation.
8427 * term/x-win.el: Update documentation for x-last-selected-text-*.
8428 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
8429 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
8430 (x-select-text): Remove argument PUSH, update documentation.
8431 Remove cut-buffer code.
8432 (x-selection-value-internal): Was previously x-selection-value.
8433 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8434 Update documentation, remove cut-buffer code.
8435 Call x-selection-value-internal.
8436 (x-clipboard-yank): Call x-selection-value-internal.
8437 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
8439 * term/pc-win.el (x-last-selected-text):
8440 x-cut-buffer-or-selection-value renamed to x-selection-value
8441 (x-select-text): Remove argument PUSH, update documentation.
8443 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
8444 x-cut-buffer-or-selection-value renamed to x-selection-value
8445 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8446 (x-select-text): Remove argument PUSH, update documentation.
8448 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
8450 * w32-fns.el (x-last-selected-text):
8451 x-cut-buffer-or-selection-value renamed to x-selection-value.
8452 (x-cut-buffer-max): Remove.
8453 (x-select-text): Remove argument PUSH, update documentation.
8455 * simple.el (interprogram-cut-function): Remove mention of PUSH.
8457 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
8459 * mouse-sel.el (mouse-sel-get-selection-function):
8460 x-cut-buffer-or-selection-value renamed to x-selection-value.
8461 (x-select-text): Remove optional push.
8463 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8465 * simple.el (blink-paren-function): Move from C to here.
8466 (blink-paren-post-self-insert-function): New function.
8467 (post-self-insert-hook): Use it.
8469 * emacs-lisp/pcase.el (pcase-split-memq):
8470 Fix overenthusiastic optimisation.
8471 (pcase-u1): Handle the case of a lambda pred.
8473 2010-08-31 Kenichi Handa <handa@m17n.org>
8475 * international/mule-cmds.el (standard-display-european-internal):
8476 Setup standard-display-table for 8-bit characters by storing 8-bit
8477 characters in the element vector.
8479 * disp-table.el (standard-display-8bit):
8480 Setup standard-display-table for 8-bit characters by storing 8-bit
8481 characters in the element vector.
8482 (standard-display-european): Likewise.
8484 2010-08-31 Masatake YAMATO <yamato@redhat.com>
8486 * textmodes/nroff-mode.el (nroff-view): New command.
8487 (nroff-mode-map): Bind it to C-c C-c.
8489 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
8491 * emacs-lisp/smie.el (smie-down-list): New command.
8493 Remove old indentation and navigation code on octave-mode.
8494 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
8495 smie-down-list rather than add a binding for octave-down-block.
8496 (octave-mark-block, octave-blink-matching-block-open):
8497 Rely on forward-sexp-function.
8498 (octave-fill-paragraph): Don't narrow, so you can use
8499 indent-according-to-mode.
8500 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
8501 (octave-in-block-p, octave-re-search-forward-kw)
8502 (octave-re-search-backward-kw, octave-indent-calculate)
8503 (octave-end-as-array-index-p, octave-block-end-offset)
8504 (octave-scan-blocks, octave-forward-block, octave-backward-block)
8505 (octave-down-block, octave-backward-up-block, octave-up-block)
8506 (octave-before-magic-comment-p, octave-indent-line): Remove.
8508 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
8510 * emacs-lisp/package.el (package--read-archive-file): Just use
8511 `read', to avoid copying an additional string.
8512 (package-menu-mode): Set header-line-format here.
8513 (package-menu-refresh, package-menu-revert): Signal an error if
8514 not in the Package Menu.
8515 (package-menu-package-list): New var.
8516 (package--generate-package-list): Operate on the current buffer;
8517 don't assume that it is *Packages*, since the user may rename it.
8518 Allow persistent package listings and sort keys using
8519 package-menu-package-list and package-menu-package-sort-key.
8520 (package-menu--version-predicate): Fix version calculation.
8521 (package-menu-sort-by-column): Don't select the window.
8522 (package--list-packages): Create the *Packages* buffer.
8523 Set package-menu-package-list-key.
8524 (list-packages): Sorting by status is now the default.
8525 (package-buffer-info): Use match-string-no-properties.
8526 (define-package): Add a &rest argument for future proofing, but
8528 (package-install-from-buffer, package-install-buffer-internal):
8529 Merge into a single function, package-install-from-buffer.
8530 (package-install-file): Change caller.
8532 * finder.el: Load finder-inf using `require'.
8533 (finder-list-matches): Sorting by status is now the default.
8534 (finder-compile-keywords): Simpify printing.
8536 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8538 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8539 (octave-mode-map): Remove special bindings for forward/backward-block
8540 and octave-backward-up-block. Use smie-close-block.
8541 (octave-continuation-marker-regexp): New var.
8542 (octave-continuation-regexp): Use it.
8543 (octave-operator-table, octave-smie-op-levels)
8544 (octave-operator-regexp, octave-smie-indent-rules): New vars.
8545 (octave-smie-backward-token, octave-smie-forward-token): New funs.
8546 (octave-mode): Use SMIE.
8547 (octave-close-block): Delete.
8549 2010-08-30 Eli Zaretskii <eliz@gnu.org>
8551 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
8552 CLIPBOARD, not in PRIMARY. (Bug#6944)
8554 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8556 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
8558 (smie-indent-column): Allow indirection through variables.
8560 * composite.el (save-buffer-state): Delete, unused.
8561 * font-lock.el (save-buffer-state): Use with-silent-modifications.
8562 (font-lock-default-fontify-region): Use with-syntax-table.
8563 * jit-lock.el (with-buffer-unmodified): Remove.
8564 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
8566 Use `declare' in defmacros.
8567 * window.el (save-selected-window):
8568 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
8569 * progmodes/python.el (def-python-skeleton):
8570 * net/dbus.el (dbus-ignore-errors):
8571 * jka-cmpr-hook.el (with-auto-compression-mode):
8572 * international/mule.el (with-category-table):
8573 * emacs-lisp/timer.el (with-timeout):
8574 * emacs-lisp/lisp-mnt.el (lm-with-file):
8575 * emacs-lisp/eieio.el (with-slots):
8576 * emacs-lisp/easymenu.el (easy-menu-define):
8577 * emacs-lisp/debug.el (debugger-env-macro):
8578 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
8579 (Multiple-value-call, Multiple-value-prog1):
8580 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
8581 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
8582 edebug rule to definition.
8583 * emacs-lisp/lisp-mode.el (save-selected-window)
8584 (with-current-buffer, combine-after-change-calls)
8585 (with-output-to-string, with-temp-file, with-temp-buffer)
8586 (with-temp-message, with-syntax-table, read-if, eval-after-load)
8587 (dolist, dotimes, when, unless):
8588 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
8590 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8592 * finder.el: Require `package'.
8593 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
8594 (finder-package-info): Var deleted.
8595 (finder-keywords-hash, finder--builtins-alist): New vars.
8596 (finder-compile-keywords): Compute package--builtins and
8597 finder-keywords-hash instead of finder-keywords-hash, respecting
8598 the "Package" header.
8599 (finder-unknown-keywords, finder-list-matches):
8600 Use finder-keywords-hash and package--list-packages.
8601 (finder-mode): Don't set font-lock-defaults.
8602 (finder-exit): We don't use "*Finder-package*" and "*Finder
8603 Category*" buffers anymore.
8605 * emacs-lisp/package.el (package--builtins-base): Var deleted.
8606 (package--builtins): Set default value to nil.
8607 (package-initialize): Load precomputed value of package--builtins
8609 (package-alist, package-compute-transaction)
8610 (package-download-transaction): Improve docstring.
8611 (package-read-all-archive-contents): Do not change
8612 package--builtins here.
8613 (list-packages): Make package-list-packages an alias for this.
8614 Sort by status by default.
8615 (package--list-packages): Add optional PACKAGES arg.
8616 (describe-package-1): Use font-lock-face property. For built-in
8617 packages, insert file commentary.
8618 (package--generate-package-list): Rename from
8619 package-list-packages-internal; all callers changed. Add optional
8620 PACKAGES arg. Add alphabetical sort fallbacks.
8621 (package-menu--version-predicate, package-menu--status-predicate)
8622 (package-menu--description-predicate)
8623 (package-menu--name-predicate): New functions.
8625 * info.el (Info-finder-find-node): Search package-alist instead of
8626 finder-package-info.
8628 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8630 * subr.el (version-regexp-alist): Don't use "a" and "b" for
8632 (version-to-list): Handle versions like "10.3d".
8634 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8636 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
8637 (macroexp-accumulate): Use `declare'.
8639 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8641 * whitespace.el (whitespace-style): Adjust type declaration.
8643 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
8645 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
8647 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8649 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
8652 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
8654 * progmodes/js.el: Make indentation more customizable (Bug#6914).
8655 (js-paren-indent-offset, js-square-indent-offset)
8656 (js-curly-indent-offset): New options.
8657 (js--proper-indentation): Use them.
8659 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
8661 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
8662 instead of inspecting font-lock properties (Bug#6916).
8664 2010-08-26 David Reitter <david.reitter@gmail.com>
8666 * server.el (server-visit-files): Run pre-command-hook and
8667 post-command-hook for each buffer while it is current (Bug#6910).
8668 (server-execute): Do not run hooks here.
8670 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
8672 Sync with Tramp 2.1.19.
8674 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
8675 Protect deleting tmpfile.
8676 (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
8678 * net/tramp.el (tramp-handle-expand-file-name)
8679 (tramp-completion-handle-file-name-all-completions)
8680 (tramp-completion-handle-file-name-completion):
8681 Use `tramp-connectable-p'.
8683 * net/trampver.el: Update release number.
8685 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8687 * help.el (help-map): Bind `C-h P' to describe-package.
8689 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
8691 * emacs-lisp/package.el (package-refresh-contents): Catch errors
8692 when downloading archives.
8693 (describe-package-1): Add package commentary.
8694 (package-install-button-action): New function.
8695 (package-menu-mode-map): Bind ? to package-menu-describe-package.
8696 (package-menu-view-commentary): Function removed.
8697 (package-list-packages-internal): Hide the `package' package too.
8699 2010-08-25 Kenichi Handa <handa@m17n.org>
8701 * language/misc-lang.el ("Arabic"): New language environment.
8702 Setup composition-function-table for Arabic characters.
8704 * international/fontset.el (setup-default-fontset): Fix typo for
8705 arabic OTF spec (fini->fina).
8707 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
8709 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
8712 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8714 * whitespace.el: Allow cleaning up blanks without blank
8715 visualization (Bug#6651). Adjust help window for
8716 whitespace-toggle-options (Bug#6479). Allow to use fill-column
8717 instead of whitespace-line-column (from EmacsWiki). New version
8719 (whitespace-style): Add new value 'face. Adjust docstring.
8720 (whitespace-space, whitespace-hspace, whitespace-tab):
8721 Adjust foreground property face.
8722 (whitespace-line-column): Adjust docstring and type declaration.
8723 (whitespace-style-value-list, whitespace-toggle-option-alist)
8724 (whitespace-help-text): Adjust const initialization.
8725 (whitespace-toggle-options, global-whitespace-toggle-options):
8727 (whitespace-display-window, whitespace-interactive-char)
8728 (whitespace-style-face-p, whitespace-color-on): Adjust code.
8729 (whitespace-help-scroll): New fun.
8731 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8733 * emacs-lisp/package.el (list-packages): Alias for
8734 package-list-packages.
8736 2010-08-24 Kevin Ryde <user42@zip.com.au>
8738 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
8741 * progmodes/ruby-mode.el (ruby): Add defgroup.
8743 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8745 * progmodes/python.el: Add Ipython support (Bug#5390).
8746 (python-shell-prompt-alist)
8747 (python-shell-continuation-prompt-alist): New options.
8748 (python--set-prompt-regexp): New function.
8749 (inferior-python-mode, run-python, python-shell):
8750 Require ansi-color. Use python--set-prompt-regexp to set the comint
8751 prompt based on the Python interpreter.
8752 (python--prompt-regexp): New var.
8753 (python-check-comint-prompt)
8754 (python-comint-output-filter-function): Use it.
8755 (run-python): Use a pipe (Bug#5694).
8757 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
8759 * progmodes/python.el (python-send-region): Send a different
8760 Python command if Ipython is in use.
8761 (python-check-version): Use a Python command to find the version.
8763 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8765 * mouse.el (mouse-yank-primary): Avoid setting primary when
8766 deactivating the mark (Bug#6872).
8768 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
8770 * progmodes/python.el (python-block-pairs): Allow use of "finally"
8771 with "else" (Bug#3991).
8773 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
8775 * net/dbus.el: Accept UNIX domain sockets as bus address.
8776 (top): Don't initialize `dbus-registered-objects-table' anymore,
8777 this is done in dbusbind.c.
8778 (dbus-check-event): Adapt test for bus.
8779 (dbus-return-values-table, dbus-unregister-service)
8780 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
8783 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
8785 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8787 2010-08-22 Juri Linkov <juri@jurta.org>
8789 * simple.el (read-extended-command): New function with the logic
8790 for `completing-read' moved to Elisp from `execute-extended-command'.
8791 Use `function-called-at-point' in `minibuffer-default-add-function'
8792 to get a command name for M-n (bug#5364, bug#5214).
8794 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8796 * startup.el (command-line-1): Issue warning for ignored arguments
8797 --unibyte, etc (Bug#6886).
8799 2010-08-22 Leo <sdl.web@gmail.com>
8801 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8802 (ignore, bright, dim, keyword): Split list of nicknames before
8803 passing to rcirc-add-or-remove (Bug#6894).
8805 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8807 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8809 2010-08-22 Leo <sdl.web@gmail.com>
8811 Fix buffer-list rename&refresh after killing a buffer in ido.
8812 * ido.el: Revert Óscar's.
8813 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8814 Remember the buffers at head, rather than their name.
8815 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8817 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
8818 Stefan Monnier <monnier@iro.umontreal.ca>
8820 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8821 extra backslash added to each line (bug#6890).
8823 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8825 * subr.el (read-key): Don't echo keystrokes (bug#6883).
8827 2010-08-22 Glenn Morris <rgm@gnu.org>
8829 * menu-bar.el (menu-bar-games-menu): Add landmark.
8831 2010-08-22 Glenn Morris <rgm@gnu.org>
8833 * align.el (align-regexp): Make group and spacing arguments
8834 use the interactive defaults when non-interactive. (Bug#6698)
8836 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8837 expansion, so as not to need sendmail.
8838 (mail-text-start): Remove declaration.
8839 (rmail-retry-failure): Require sendmail.
8841 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8843 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8845 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
8847 * progmodes/flymake.el (flymake-start-syntax-check-process):
8848 Use `start-file-process' in order to let it run also on remote hosts.
8850 2010-08-22 Kenichi Handa <handa@m17n.org>
8852 * files.el: Add `word-wrap' as safe local variable.
8854 2010-08-22 Glenn Morris <rgm@gnu.org>
8856 * woman.el (woman-translate): Case matters. (Bug#6849)
8858 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8860 * simple.el (kill-region): Doc fix (Bug#6787).
8862 2010-08-22 Glenn Morris <rgm@gnu.org>
8864 * calendar/diary-lib.el (diary-header-line-format):
8865 Fit it to the window, not the frame.
8867 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
8869 * subr.el (ignore-errors): Add debug declaration.
8871 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
8873 * whitespace.el (whitespace-color-off): Remove post-command-hook
8876 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8878 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8880 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8882 * cus-edit.el (custom-group-value-create): Add extra newline
8883 before end line (Bug#6876).
8885 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8887 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8888 when extending it. Before killing on the second click, check if
8889 the buffer is the correct one. Doc fix.
8890 (mouse-secondary-save-then-kill): Allow usage without first
8891 calling mouse-start-secondary, by defaulting to point. Don't save
8892 an empty secondary selection. Doc fix.
8894 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8896 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
8897 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8899 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8900 Adjust initialization.
8901 (whitespace-bob-marker, whitespace-eob-marker)
8902 (whitespace-buffer-changed): New vars.
8903 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8904 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8905 (whitespace-post-command-hook, whitespace-display-char-on):
8907 (whitespace-looking-back, whitespace-buffer-changed): New funs.
8908 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8910 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8912 * files.el (locate-file-completion-table): Only list the .el and .elc
8913 extensions if there's no other choice (bug#5955).
8915 * facemenu.el (facemenu-self-insert-data): New var.
8916 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8918 (facemenu-add-face): Use them.
8920 * simple.el (blink-matching-open): Obey forward-sexp-function.
8922 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
8924 * simple.el (prog-mode-map): New var.
8925 (prog-indent-sexp): New command.
8927 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8929 * progmodes/prolog.el (smie): Require.
8931 * emacs-lisp/smie.el (smie-default-backward-token)
8932 (smie-default-forward-token): Strip properties.
8933 (smie-next-sexp): Be more careful with associative operators.
8934 (smie-forward-sexp-command): Generalize.
8935 (smie-backward-sexp-command): Simplify.
8936 (smie-closer-alist): New var.
8937 (smie-close-block): New command.
8938 (smie-indent-debug-log): New var.
8939 (smie-indent-offset-rule): Add a few more cases.
8940 (smie-indent-column): New function.
8941 (smie-indent-after-keyword): Use it.
8942 (smie-indent-keyword): Use it.
8943 Fix up the opener code's point position.
8944 (smie-indent-comment): Only applies at BOL.
8945 (smie-indent-debug): New command.
8947 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8948 declarations that are useful before running the macro.
8950 2010-08-18 Joakim Verona <joakim@verona.se>
8952 * image.el (imagemagick-types-inhibit): New variable.
8953 (imagemagick-register-types): New function.
8954 * image-mode.el (image-transform-properties): New function.
8955 (image-transform-set-scale, image-transform-fit-to-height)
8956 (image-transform-set-rotation, image-transform-set-resize)
8957 (image-transform-fit-to-width, image-transform-fit-to-height):
8959 (image-toggle-display-image): Support image transforms.
8961 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
8963 * image.el (create-animated-image): Don't add heuristic mask to image
8966 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
8968 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8969 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8971 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
8973 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8975 Font-lock '...' strings, plus various simplifications and fixes.
8976 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8977 (octave-font-lock-close-quotes): New function.
8978 (octave-font-lock-syntactic-keywords): New var.
8979 (octave-mode): Use it. Set beginning-of-defun-function.
8980 (octave-mode-map): Don't override the <foo>-defun commands.
8981 (octave-mode-menu): Pass it directly to easy-menu-define;
8982 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8983 (octave-block-match-alist): Fix up last change so that
8984 octave-close-block uses the more specific keyword.
8985 (info-lookup-mode): Silence byte-compiler.
8986 (octave-beginning-of-defun): Not interactive any more.
8988 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8989 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8990 (octave-completion-at-point-function): Make sure point is within
8992 (octave-reindent-then-newline-and-indent):
8993 Use reindent-then-newline-and-indent.
8994 (octave-add-octave-menu): Remove.
8996 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
8998 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8999 (report-emacs-bug-can-use-xdg-email): New functions.
9000 (report-emacs-bug): Set can-xdg-email to result of
9001 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
9002 \C-cm to report-emacs-bug-insert-to-mailer and add help text
9005 * net/browse-url.el (browse-url-default-browser): Add cond
9006 for browse-url-xdg-open.
9007 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
9009 2010-08-17 Glenn Morris <rgm@gnu.org>
9011 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
9012 (c-fontify-recorded-types-and-refs): Define for compiler.
9013 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
9016 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
9019 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
9021 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
9023 (tramp-handle-process-file): Call the program in a subshell, in
9024 order to preserve working directory.
9025 (tramp-action-password): Hide password prompt before next run.
9026 (tramp-process-actions): Widen connection buffer for the trace.
9028 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9030 * net/rcirc.el (rcirc-log-process-buffers): New option.
9031 (rcirc-print): Use it.
9032 (rcirc-generate-log-filename): New function.
9033 (rcirc-log-filename-function): Change default to
9034 rcirc-generate-log-filename (Bug#6828).
9036 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
9038 * simple.el (deactivate-mark): If select-active-regions is `only',
9039 only set selection for temporarily active regions.
9041 * cus-start.el: Change defcustom for select-active-regions.
9043 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
9045 * mouse.el (mouse--drag-set-mark-and-point): New function.
9046 (mouse-drag-track): Use LOCATION arg to push-mark.
9047 Use mouse--drag-set-mark-and-point to take click-count into
9048 consideration when updating point and mark (Bug#6840).
9050 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
9052 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9053 Give the Ruby rule a lower priority than Gnu (Bug#6778).
9055 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
9057 * font-lock.el (lisp-font-lock-keywords-2):
9058 Add combine-after-change-calls, condition-case-no-debug,
9059 with-demoted-errors, and with-silent-modifications (Bug#6025).
9061 2010-08-14 Kevin Ryde <user42@zip.com.au>
9063 * emacs-lisp/copyright.el (copyright-update-year)
9064 (copyright-update): Temporary switch-to-buffer to ensure the
9065 buffer change being queried is visible (Bug#5394).
9067 2010-08-14 Tom Tromey <tromey@redhat.com>
9069 * progmodes/etags.el (tags-file-name): Mark safe if stringp
9072 2010-08-14 Eli Zaretskii <eliz@gnu.org>
9074 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
9077 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
9079 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
9080 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9081 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9082 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
9083 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
9084 Call menu-bar-set-tool-bar-position.
9086 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9088 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
9089 comment style (bug#6834).
9090 * progmodes/scheme.el (scheme-mode-syntax-table):
9091 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
9092 "b" flag in "' 14b" syntax.
9094 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
9095 for (un)commenting the region and performing completion.
9096 (octave-mode-menu): Use standard commands for help and completion.
9097 (octave-mode-syntax-table): Support %{..%} comments (sort of).
9098 (octave-mode): Use define-derived-mode.
9099 Set completion-at-point-functions and don't set columns.
9100 Don't disable adaptive-fill-regexp.
9101 (octave-describe-major-mode, octave-comment-region)
9102 (octave-uncomment-region, octave-comment-indent)
9103 (octave-indent-for-comment): Remove.
9104 (octave-indent-calculate): Rename from calculate-octave-indent.
9105 (octave-indent-line, octave-fill-paragraph): Update caller.
9106 (octave-initialize-completions): No need to make an alist.
9107 (octave-completion-at-point-function): New function.
9108 (octave-complete-symbol): Use it.
9109 (octave-insert-defun): Use define-skeleton.
9111 * progmodes/octave-mod.el (octave-mode): Set comment-add.
9112 (octave-mode-map): Use comment-dwim (bug#6829).
9114 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com>
9116 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
9117 indentation of inserted comment.
9119 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
9121 * faces.el (region): Add type gtk that uses gtk colors.
9123 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
9124 Handle theme-name change.
9126 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
9128 * progmodes/sql.el: Version 2.5
9129 (sql-product-alist): Add :prompt-cont-regexp property for several
9131 (sql-prompt-cont-regexp): New variable.
9132 (sql-output-newline-count, sql-output-by-send):
9133 New variables. Record number of newlines in input text.
9134 (sql-send-string): Handle multiple filters and count newlines.
9135 (sql-send-magic-terminator): Count terminator newline.
9136 (sql-interactive-remove-continuation-prompt): Filters output to
9137 remove continuation prompts; one for each newline.
9138 (sql-interactive-mode): Set up new variables, prompt regexp and
9140 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
9141 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
9143 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9145 * emacs-lisp/pcase.el: New file.
9147 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
9149 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
9150 as here-document, otherwise the command could exceed maximum
9151 length of command line.
9152 (tramp-handle-vc-registered): Call script accordingly.
9153 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
9155 2010-08-10 Kenichi Handa <handa@m17n.org>
9157 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
9160 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
9162 * emacs-lisp/package.el (package-version-split)
9163 (package--version-first-nonzero, package-version-compare):
9165 (package-directory-list, package-load-all-descriptors)
9166 (package--built-in, package-activate, define-package)
9167 (package-installed-p, package-compute-transaction)
9168 (package-read-all-archive-contents)
9169 (package--add-to-archive-contents, package-buffer-info)
9170 (package-tar-file-info, package-list-packages-internal):
9171 Use version-to-list and version-list-*.
9173 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9174 Use version-to-list.
9175 (package-upload-buffer-internal): Use version-list-<=.
9177 2010-08-09 Kenichi Handa <handa@m17n.org>
9179 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
9182 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
9184 * tutorial.el (tutorial--default-keys): C-d is now bound to
9185 delete-forward-char (Bug#6826).
9187 * mouse.el (mouse-drag-track): Remove accidentally-removed check
9188 for `double' value of mouse-1-click-follows-link (Bug#6807).
9190 2010-08-08 Johan Bockgård <bojohan@gnu.org>
9192 * replace.el (replace-highlight): Bind isearch-forward and
9193 isearch-error, ensuring that highlighting is updated if the user
9194 switches the search direction (Bug#6808).
9196 * isearch.el (isearch-lazy-highlight-forward): New var.
9197 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9198 (isearch-lazy-highlight-update): Use it.
9200 2010-08-08 Kenichi Handa <handa@m17n.org>
9202 * international/mule.el (define-charset): Store NAME as :base property.
9203 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
9204 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
9205 current priority. Force using the designation of the specific
9206 charset by adding `charset' text property. Improve the whole algorithm.
9208 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9210 * emulation/pc-select.el (pc-selection-mode-hook)
9211 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
9212 (pc-selection-mode): Fix typos in docstrings.
9214 2010-08-08 Kenichi Handa <handa@m17n.org>
9216 * language/cyrillic.el: Don't add "microsoft-cp1251" to
9217 ctext-non-standard-encodings-alist here.
9219 * international/mule.el (ctext-non-standard-encodings-alist):
9220 Add "koi8-r" and "microsoft-cp1251".
9221 (ctext-standard-encodings): New variable.
9222 (ctext-non-standard-encodings-table): List only elements for
9223 non-standard encodings.
9224 (ctext-pre-write-conversion): Adjust for the above change.
9225 Check ctext-standard-encodings.
9227 * international/mule-conf.el (compound-text): Doc fix.
9228 (ctext-no-compositions): Doc fix.
9229 (compound-text-with-extensions): Doc fix.
9231 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9233 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
9235 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9237 * progmodes/which-func.el (which-func-format): Split help-echo text
9238 into lines, like other mode-line tooltips.
9240 * server.el (server-start): When using TCP sockets, force IPv4
9241 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
9243 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9245 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
9247 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9249 * term.el (term-delimiter-argument-list): Reflow docstring.
9250 (term-read-input-ring, term-write-input-ring, term-send-input)
9251 (term-bol, term-erase-in-display, serial-supported-or-barf):
9252 Fix typos in docstrings.
9254 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9256 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
9258 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9260 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
9262 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
9264 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
9265 Fix typo in docstring (bug#6747).
9267 2010-08-08 Leo <sdl.web@gmail.com>
9269 * eshell/esh-io.el (eshell-get-target): Better detection of
9270 read-only file (Bug#6762).
9272 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9274 * align.el (align-default-spacing): Doc fix.
9275 (align-region-heuristic, align-regexp): Fix typos in docstrings.
9277 2010-08-08 Stephen Peters <speters@itasoftware.com>
9279 * calendar/icalendar.el
9280 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
9281 (icalendar--get-weekday-numbers): New.
9282 (icalendar--convert-recurring-to-diary): Handle multiple byday
9283 values in weekly rules. (Bug#6766)
9285 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
9287 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
9288 (icalendar--create-uid, icalendar-export-region)
9289 (icalendar--parse-summary-and-rest): Code formatting.
9291 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
9293 * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
9294 to italicize headers.
9295 (calc-highlight-selections-with-faces): New variable.
9296 (calc-selected-face, calc-nonselected-face): New faces.
9298 * calc/calccomp.el (math-comp-highlight-string): Use
9299 `calc-highlight-selections-with-faces' to determine how to highlight
9302 * calc/calc-sel.el (calc-show-selections): Change message to when
9303 using faces to highlight selections.
9305 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
9307 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
9308 Add SQLite 3 keywords, functions and datatypes.
9309 (sql-interactive-mode): Remove `comint-process-echoes' set to t
9312 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
9314 * simple.el (select-active-regions): Move to keyboard.c.
9315 (deactivate-mark): Used saved-region-selection.
9316 (select-active-region): Function removed.
9317 (activate-mark, set-mark, push-mark-command)
9318 (handle-shift-selection): Don't call it.
9319 (keyboard-quit): Avoid adding the region to the window selection.
9321 * mouse.el (mouse-drag-track): Remove hacks to deal with old
9322 select-active-regions implementation.
9323 (mouse-yank-at-click): Doc fix.
9325 * cus-start.el: Add custom declaration for select-active-regions.
9327 2010-08-07 Eli Zaretskii <eliz@gnu.org>
9329 * simple.el (delete-forward-char): Doc fix.
9331 * tutorial.el (help-with-tutorial): Hack safe file-local variables
9332 after reading the tutorial.
9334 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
9336 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
9337 Fix for the case that a C style comment has its delimiters alone on
9338 their respective lines. (Bug#193)
9340 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
9342 * net/tramp.el (tramp-handle-start-file-process): Set connection
9344 (tramp-process-sentinel): Use it for flushing the cache.
9345 We cannot do it via the process buffer, the buffer could be deleted
9346 already when running the sentinel.
9348 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
9350 * comint.el (comint-mode): Make directory tracking functions
9351 functional on remote files. (Bug#6764)
9353 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
9355 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
9357 2010-08-05 Eli Zaretskii <eliz@gnu.org>
9359 * emacs-lisp/find-gc.el (find-gc-source-files):
9360 Rename unexec.c => unexcoff.c.
9362 * emacs-lisp/authors.el (authors-fixed-entries):
9363 Rename unexec.c => unexcoff.c.
9365 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
9367 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
9368 cache, not only file cache.
9369 (tramp-process-sentinel): New defun.
9370 (tramp-handle-start-file-process): Use it, in order to invalidate
9373 2010-08-03 Leo <sdl.web@gmail.com>
9375 * server.el (server-start): Simplify loop.
9377 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
9379 * frame.el (screen-height, screen-width, set-screen-width)
9380 (set-screen-height): Remove ancient compatibility aliases.
9382 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
9383 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
9385 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
9386 that change current buffer.
9388 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9390 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
9391 beginning of the string. Use `string-match-p'. (Bug#6765)
9393 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
9395 * cus-start.el (x-gtk-use-system-tooltips): New variable.
9397 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
9399 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
9400 (package--builtins): Tweak descriptions.
9401 (package-print-package): Upcase descriptions if necessary.
9402 Show all built-in packages in font-lock-builtin-face.
9403 (package-list-packages-internal): Omit "emacs" package.
9404 Show status of built-in packages as "built-in".
9406 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
9408 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
9409 before killing to preserve the primary selection (Bug#6701).
9411 * term/x-win.el (x-select-text): Doc fix.
9413 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
9415 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
9416 (objc-font-lock-extra-types):
9417 * progmodes/cc-mode.el (c-basic-common-init):
9418 * progmodes/cc-langs.el (c-make-mode-syntax-table)
9419 (c++-make-template-syntax-table)
9420 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
9421 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
9422 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
9423 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
9424 * progmodes/cc-fonts.el (c-make-inverse-face)
9425 (c-basic-matchers-after):
9426 * progmodes/cc-engine.el (c-forward-keyword-clause)
9427 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
9428 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
9429 (c-guess-continued-construct, c-guess-basic-syntax):
9430 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
9431 The above functions were modified or created.
9433 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
9435 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
9437 2010-07-31 Eli Zaretskii <eliz@gnu.org>
9439 * files.el (bidi-paragraph-direction): Define safe local values.
9441 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
9442 language-info-alist. Remove outdated FIXME in a comment.
9444 2010-07-31 Alan Mackenzie <acm@muc.de>
9446 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
9447 Auto-fill broken in C/C++ modes.
9449 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
9451 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9452 (menu-bar-showhide-tool-bar-menu-customize-disable)
9453 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9454 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
9455 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
9456 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
9457 make a menu for Options => toolbar that can move it.
9459 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
9461 * emacs-lisp/package-x.el (package--make-rss-entry):
9462 (package-maint-add-news-item, package--update-news)
9463 (package-upload-buffer-internal): New arg ARCHIVE-URL.
9465 * emacs-lisp/package.el (package-archive-url): Rename from
9467 (package-install): Doc fix.
9468 (package-download-single, package-download-tar, package-install)
9469 (package-menu-view-commentary): Callers changed.
9471 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
9473 * net/tramp.el (tramp-handle-start-file-process): Check only for
9474 `remote-tty' process property.
9475 (tramp-open-shell): Don't check for tty.
9476 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
9479 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
9482 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
9484 * emacs-lisp/package.el (package-load-list, package-archives)
9485 (package-archive-contents, package-user-dir)
9486 (package-directory-list, package--builtins, package-alist)
9487 (package-activated-list, package-obsolete-alist): Mark as risky.
9489 2010-07-28 Phil Hagelberg <phil@evri.com>
9491 Add support for non-default package repositories.
9492 * emacs-lisp/package.el (package-archive-base): Var deleted.
9493 (package-archives): New variable.
9494 (package-archive-contents): Doc fix.
9495 (package-load-descriptor): Do nothing if descriptor file is missing.
9496 (package--write-file-no-coding): New function.
9497 (package-unpack-single): Use it.
9498 (package-archive-id): New function.
9499 (package-download-single, package-download-tar)
9500 (package-menu-view-commentary): Use it.
9501 (package-installed-p): Make second argument optional.
9502 (package-read-all-archive-contents): New function.
9503 (package-initialize): Use it.
9504 (package-read-archive-contents): Add ARCHIVE argument.
9505 (package--add-to-archive-contents): New function.
9506 (package-install): Don't call package-read-archive-contents.
9507 (package--download-one-archive): Store archive file in a
9508 subdirectory of package-user-dir.
9509 (package-menu-execute): Remove spurious line movement.
9511 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
9513 * cus-start.el (tool-bar-style): Add text-image-horiz.
9515 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9517 * progmodes/gud.el (gud-common-init): Check for remoteness of
9518 `file', and not of `default-directory'.
9520 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9522 * net/tramp.el (tramp-methods): Move hostname to the end in all
9523 ssh `tramp-login-args'.
9524 (tramp-verbose): Describe verbose level 9.
9525 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
9526 (tramp-open-connection-setup-interactive-shell): Trace stty
9527 settings if `tramp-verbose' >= 9.
9528 (tramp-handle-start-file-process): Implement tty setting.
9529 (Bug#4604, Bug#6360)
9531 * net/tramp-cmds.el (tramp-bug): Recommend setting of
9532 `tramp-verbose' to 9.
9534 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
9536 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
9537 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
9538 Remove references to package `lisp-re' (bug#4369).
9540 2010-07-27 Tom Tromey <tromey@redhat.com>
9542 * progmodes/js.el (js-mode):
9543 * progmodes/make-mode.el (makefile-mode):
9544 * progmodes/simula.el (simula-mode):
9545 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
9547 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
9549 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
9551 * time.el (display-time-day-and-date): Remove spurious * in docstring.
9552 (display-time-world-buffer-name, display-time-world-mode-map):
9553 Fix typos in docstrings.
9555 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
9557 * image-mode.el (image-display-size): New function.
9558 (image-forward-hscroll, image-next-line, image-eol, image-eob)
9559 (image-mode-fit-frame): Use it (Bug#6639).
9561 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
9563 * dired.el (dired-buffers-for-dir): Handle list values of
9564 dired-directory (Bug#6636).
9566 2010-07-26 Sam Steingold <sds@gnu.org>
9568 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
9569 Do not call `x-get-selection' the second time, reuse the value.
9571 2010-07-26 Daiki Ueno <ueno@unixuser.org>
9573 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
9574 which consist of control chars only. Suggested by Richard Stallman.
9576 2010-07-25 Daiki Ueno <ueno@unixuser.org>
9578 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
9579 exists before passing an error to find-file-not-found-functions
9582 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
9584 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
9585 Remove leading nil element, adjust values.
9586 (tetris-shapes, tetris-shape-scores):
9587 Change representation of shapes and remove some redundancy.
9588 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
9589 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
9590 Adjust for working with new representation of shapes.
9591 (tetris-shape-rotations): New function.
9592 (tetris-move-bottom, tetris-move-left, tetris-move-right)
9593 (tetris-rotate-prev, tetris-rotate-next):
9594 Adjust for working with the new version of tetris-test-shape.
9596 2010-07-23 Markus Triska <markus.triska@gmx.at>
9598 * progmodes/ps-mode.el: Use comint (bug#5954).
9599 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
9600 (ps-mode-other-newline): Simplify.
9601 (ps-run-mode): Derive from comint-mode instead of
9602 fundamental-mode, yielding input history etc.
9603 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
9604 (ps-run-send-string): Adapt for comint-mode.
9605 (ps-run-newline): Remove now unneeded function.
9607 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9609 * net/tramp.el (tramp-methods): Move hostname to the end in all
9610 plink `tramp-login-args'.
9612 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9614 * net/tramp.el (tramp-open-shell): New defun.
9615 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9618 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9620 * net/tramp.el (tramp-file-name-regexp-unified)
9621 (tramp-completion-file-name-regexp-unified): On W32 systems, do
9622 not regard the volume letter as remote filename. (Bug#5447)
9624 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
9626 * custom.el (custom-declare-variable): Give a clearer error message
9627 when the docstring is missing (bug#6476).
9629 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
9631 * progmodes/sql.el: Version 2.4. Improved Login prompting.
9632 (sql-login-params): New widget definition.
9633 (sql-oracle-login-params, sql-mysql-login-params)
9634 (sql-solid-login-params, sql-sybase-login-params)
9635 (sql-informix-login-params, sql-ingres-login-params)
9636 (sql-ms-login-params, sql-postgres-login-params)
9637 (sql-interbase-login-params, sql-db2-login-params)
9638 (sql-linter-login-params): Use it.
9639 (sql-sqlite-login-params): Use it; Define "database" parameter as
9641 (sql-sqlite-program): Change to "sqlite3".
9642 (sql-comint-sqlite): Make sure database name is complete.
9643 (sql-for-each-login): New function.
9644 (sql-connect, sql-save-connection): Use it.
9645 (sql-get-login-ext): New function.
9646 (sql-get-login): Use it.
9647 (sql-make-alternate-buffer-name): Handle :file parameters.
9649 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
9651 * dired.el (dired-no-confirm): Document value t and fix defcustom to
9652 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
9654 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
9656 * dired.el (dired-mode-map): Use command remapping (bug#6632).
9658 2010-07-22 Lawrence Mitchell <wence@gmx.li>
9660 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
9662 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
9664 * net/tramp.el (tramp-get-ls-command)
9665 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
9668 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
9670 * progmodes/sql.el: Version 2.3.
9671 (sql-connection-alist): Change keys from symbols to strings;
9672 enhanced the widget definition.
9673 (sql-mode-menu): Add submenu to select connections.
9674 (sql-interactive-mode-menu): Add "Save Connection" item.
9675 (sql-add-product): Fix menu item.
9676 (sql-get-product-feature): Improved error handling.
9677 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
9678 (sql-make-alternate-buffer-name): Simplified.
9679 (sql-product-interactive): Handle missing product.
9680 (sql-connect): Support string keys, minor improvements.
9681 (sql-save-connection): New function.
9682 (sql-connection-menu-filter): New function.
9684 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9686 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
9687 (tramp-open-connection-setup-interactive-shell):
9688 Apply workaround for IRIX64 bug. Move argument of last
9689 `tramp-send-command' where it belongs to.
9691 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9693 * net/tramp.el (tramp-perl-file-attributes)
9694 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
9695 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
9696 front of `login-args'.
9698 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
9700 * time.el (display-time-world-mode): Define with `define-derived-mode'.
9701 Set `show-trailing-whitespace' to nil.
9702 (display-time-world-display): Simplify.
9704 2010-07-18 Alan Mackenzie <acm@muc.de>
9706 Enhance `c-file-style' in file/directory local variables.
9707 * progmodes/cc-mode.el (c-count-cfss): New function.
9708 (c-before-hack-hook): Call `c-set-style' differently according to
9709 whether c-file-style was set in file or directory local
9712 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
9714 * progmodes/sql.el: Version 2.2.
9715 (sql-product, sql-user, sql-database, sql-server, sql-port):
9716 Use defcustom :safe keyword rather than putting safe-local-variable
9718 (sql-password): Use defcustom :risky keyword rather than putting
9719 risky-local-variable property.
9720 (sql-oracle-login-params, sql-sqlite-login-params)
9721 (sql-solid-login-params, sql-sybase-login-params)
9722 (sql-informix-login-params, sql-ingres-login-params)
9723 (sql-ms-login-params, sql-postgres-login-params)
9724 (sql-interbase-login-params, sql-db2-login-params)
9725 (sql-linter-login-params): Add `port' option.
9726 (sql-get-product-feature): Add NO-INDIRECT parameter.
9727 (sql-comint-oracle, sql-comint-sybase)
9728 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
9729 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
9730 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
9731 (sql-comint-linter): Rename sql-connect-* functions to
9733 (sql-product-alist, sql-mode-menu): Rename as above and
9734 :sqli-connect-func to :sqli-comint-func.
9735 (sql-connection): New variable.
9736 (sql-interactive-mode): Set it.
9737 (sql-connection-alist): New variable.
9738 (sql-connect): New function.
9739 (sql--alt-buffer-part, sql--alt-if-not-empty)
9740 (sql-make-alternate-buffer-name): Improved alternative buffer name.
9742 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9744 * image-mode.el (image-bookmark-make-record): Do not set context
9745 in an image (Bug#6650).
9747 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9749 * simple.el (select-active-region): New function.
9750 (push-mark-command, set-mark, activate-mark)
9751 (handle-shift-selection): Use it.
9752 (deactivate-mark): Don't check for size of region.
9754 * mouse.el (mouse-drag-track): Use select-active-region.
9756 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
9758 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
9761 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9763 * term/x-win.el (x-select-enable-primary): Change default to nil.
9764 (x-select-enable-clipboard): Add :version keyword.
9766 * mouse.el (mouse-drag-copy-region):
9767 * simple.el (select-active-regions): Likewise.
9769 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
9771 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
9772 (vc-coding-system-for-diff): Use it to decide whether to inherit
9773 from the file the EOL format for reading the diffs of that file.
9776 2010-07-16 Eli Zaretskii <eliz@gnu.org>
9778 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
9779 unibyte, so compressed attachments are not compressed again.
9781 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
9783 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
9784 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9785 (tramp-find-shell): Simplify setting connection property.
9786 (tramp-get-ls-command): Make test for "--color=never" stronger.
9788 2010-07-15 Simon South <ssouth@member.fsf.org>
9790 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9791 blocks within record declarations (i.e. variant parts) correctly.
9793 2010-07-15 Simon South <ssouth@member.fsf.org>
9795 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9796 over literal tokens when parsing so newlines aren't "absorbed" by
9797 single-line comments. Corrects the indentation of case blocks
9798 that have a comment on the first line.
9800 2010-07-14 Karl Fogel <kfogel@red-bean.com>
9802 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9803 by Drew Adams (Bug#5504).
9805 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
9807 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9808 now that Unicode is used (Bug#6594).
9810 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
9812 * term/x-win.el (x-select-enable-clipboard): Default to t.
9813 (x-initialize-window-system): Don't overwrite Paste menu item.
9815 * simple.el (select-active-regions): Default to t.
9816 (push-mark-command): Don't overwrite primary with empty string.
9818 * mouse.el: Bind mouse-2 to mouse-yank-primary.
9819 (mouse-drag-copy-region): Default to nil.
9821 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9822 Cut/Copy/Paste menu bar items.
9824 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9826 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9827 Patch applied by Karl Fogel.
9829 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9830 and `bookmark-current-buffer' if they have been already set in
9831 another buffer (e.g gnus-art).
9833 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9834 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9836 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9838 * bookmark.el (bookmark-make-record-default): Allow unneeded
9839 information to be omitted from the record.
9841 Adjust declarations and calls:
9843 * info.el (bookmark-make-record-default): Adjust declaration.
9844 (Info-bookmark-make-record): Adjust call.
9846 * woman.el (bookmark-make-record-default): Adjust declaration.
9847 (woman-bookmark-make-record): Adjust call.
9849 * man.el (bookmark-make-record-default): Adjust declaration.
9850 (Man-bookmark-make-record): Adjust call.
9852 * image-mode.el (bookmark-make-record-default): Adjust declaration.
9854 * doc-view.el (bookmark-make-record-default): Adjust declaration.
9856 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9858 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9859 This is also from Thierry Volpiatto's patch in bug #6444. However,
9860 because it was extraneous to the functional change in that patch,
9861 and causes a re-indendation, I am committing it separately.
9863 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9865 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9866 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9867 Patch applied by Karl Fogel (Bug#6444).
9869 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
9871 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9873 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
9875 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9876 Dempsky; bug#5084). Remove incorrect binding for S-tab.
9877 (ns-alternatives-map): Change S-tab binding to backtab
9880 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9883 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
9885 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9888 * language/tv-util.el (tai-viet-re): Remove format.
9890 2010-07-12 Kenichi Handa <handa@m17n.org>
9892 * language/hebrew.el: Remove no-byte-compile declaration.
9893 Change coding: tag to utf-8. Register hebrew-shape-gstring in
9894 composition-function-table for 3-character looking back.
9895 (hebrew-font-get-precomposed): New function.
9896 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9898 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
9900 * mouse.el (mouse-drag-track): Handle select-active-regions
9903 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
9905 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9906 empty argument to gvfs-copy.
9908 2010-07-10 Glenn Morris <rgm@gnu.org>
9910 * calendar/calendar.el (calendar-week-end-day): New function.
9911 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9912 Respect calendar-week-start-day. (Bug#6606)
9913 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9914 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9915 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9916 respect calendar-week-start-day.
9918 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
9920 * simple.el (use-region-p): Doc fix (Bug#6607).
9922 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
9924 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9925 Add regexps for cucumber and ruby.
9927 2010-07-08 Daiki Ueno <ueno@unixuser.org>
9929 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9930 (epa-file-insert-file-contents): Hack to prevent
9931 find-file from opening empty buffer when decryption failed
9934 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
9936 * textmodes/ispell.el (ispell-alternate-dictionary):
9937 Use file-readable-p.
9938 Return nil if no word-list is found at default locations.
9939 (ispell-complete-word-dict): Default to nil.
9940 (ispell-command-loop): Use 'word-list' when using lookup-words.
9941 (lookup-words): Use ispell-complete-word-dict or
9942 ispell-alternate-dictionary. Check for word-list availability
9943 and handle errors if needed with better messages (Bug#6539).
9944 (ispell-complete-word): Use ispell-complete-word-dict or
9945 ispell-alternate-dictionary.
9947 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
9949 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9950 builtins (BufferError, BytesWarning, WindowsError; callables
9951 bin, bytearray, bytes, format, memoryview, next, print; __package__).
9953 2010-07-07 Glenn Morris <rgm@gnu.org>
9955 * play/zone.el (top-level): Do not require timer, tabify, or cl.
9956 (zone-shift-left): Ignore intangibility, and any errors from
9958 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
9959 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9960 deleting, and copying text properties.
9961 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9962 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9963 to point-max is hard.
9964 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9965 (zone-fill-out-screen): Ignore intangibility.
9967 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
9969 * menu-bar.el (menu-bar-mode):
9970 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9973 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9974 word/line selection (Bug#6565).
9976 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
9978 * net/dbus.el (dbus-send-signal): Declare function.
9980 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
9982 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9983 (dbus-register-property): New optional argument EMITS-SIGNAL.
9984 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9986 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
9988 * mouse.el (mouse-drag-overlay): Variable deleted.
9989 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9990 (mouse--remap-link-click-p): New function.
9991 (mouse-drag-track): Handle dragging by using temporary Transient
9992 Mark mode, instead of a special overlay.
9993 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9996 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9999 2010-07-02 Juri Linkov <juri@jurta.org>
10001 * autoinsert.el (auto-insert-alist): Fix readability
10002 by using dotted pair notation for lambda.
10004 2010-07-02 Juri Linkov <juri@jurta.org>
10006 * faces.el (read-face-name): Rename arg `string-describing-default'
10007 to `default'. Doc fix. Display the default value in quotes
10008 in the prompt. With empty input, return the `default' arg,
10009 unless the default value is a string (in which case return nil).
10010 (describe-face): Replace the string `default' arg of `read-face-name'
10011 with the symbol `default'.
10013 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
10015 * emulation/viper-cmd.el (viper-delete-backward-char)
10016 (viper-del-backward-char-in-insert)
10017 (viper-del-backward-char-in-replace, viper-change)
10018 (viper-backward-indent): Replace delete-backward-char with
10019 delete-char (Bug#6552).
10021 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
10023 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
10025 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
10027 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
10028 argument passed to frame-creation-function (Bug#5378).
10030 * faces.el (x-handle-named-frame-geometry)
10031 (x-handle-reverse-video, x-create-frame-with-faces)
10032 (face-set-after-frame-default, tty-create-frame-with-faces):
10033 Don't separately consult default-frame-alist. It is now passed as the
10034 PARAMETER argument.
10036 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
10038 * startup.el (command-line): Don't call tool-bar-setup in a
10041 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
10043 * ruler-mode.el (ruler--save-header-line-format): New fun.
10044 (ruler-mode): Use it as a setter function, so as not to overwrite
10045 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
10047 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
10049 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
10050 (vc-root-diff, vc-print-root-log, vc-log-incoming)
10051 (vc-log-outgoing): Use it.
10052 (vc-diff-internal): Set diff-vc-backend.
10054 * vc/diff-mode.el (diff-vc-backend): New var.
10056 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
10058 * dynamic-setting.el (font-setting-change-default-font):
10059 Remove call to message.
10061 2010-06-28 Kenichi Handa <handa@m17n.org>
10063 * international/quail.el (quail-insert-kbd-layout): Fix the
10064 showing of untranslated characters.
10066 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
10068 * simple.el (delete-active-region): New option.
10069 (delete-backward-char): Implement in Lisp.
10070 (delete-forward-char): New command.
10072 * mouse.el (mouse-region-delete-keys): Delete.
10073 (mouse-show-mark): Simplify.
10075 * bindings.el (global-map): Bind delete and DEL, the former to
10076 delete-forward-char.
10078 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
10080 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
10081 (ruby-mode): Bind indent-line-function (Bug#5119).
10083 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
10085 * startup.el (command-line): Recognize "0" X resource value.
10087 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
10089 * startup.el (command-line): Use X resources to set the value of
10090 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
10092 * menu-bar.el (menu-bar-mode):
10093 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
10094 Set init-value to t.
10096 * frame.el (frame-notice-user-settings): Don't change
10097 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
10098 vice versa (Bug#2249).
10100 2010-06-26 Eli Zaretskii <eliz@gnu.org>
10102 * w32-fns.el (w32-convert-standard-filename): Doc fix.
10104 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
10106 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
10107 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
10109 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
10110 default directories are expanded (Bug#6143).
10112 2010-06-24 Juri Linkov <juri@jurta.org>
10114 * minibuffer.el (completions-format): Change default from nil to
10115 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
10117 2010-06-24 Juri Linkov <juri@jurta.org>
10119 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
10120 buffer-locally to lambda that re-runs the vc diff command.
10123 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
10125 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
10126 echo area is in use (Bug#3412).
10128 2010-06-22 Glenn Morris <rgm@gnu.org>
10130 * textmodes/texinfmt.el (texinfo-format-region)
10131 (texinfo-raise-lower-sections, texinfo-format-separate-node)
10132 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
10133 (texinfo-format-option, texinfo-noindent):
10134 Use line-beginning-position and line-end-position.
10136 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
10137 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
10138 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
10141 2010-06-21 Karl Fogel <kfogel@red-bean.com>
10143 * play/zone.el (zone-fall-through-ws): Fix next-line ->
10144 forward-line fallout.
10146 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
10148 * mouse.el (mouse-appearance-menu): Add docstring.
10150 * help.el (describe-key): Print up-event using key-description.
10152 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
10154 * net/zeroconf.el (zeroconf-resolve-service)
10155 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
10156 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
10158 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
10160 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
10162 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
10164 Avoid displaying files with a nil state in vc-dir.
10165 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
10166 cases that cause insertion.
10167 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
10170 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
10172 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
10174 2010-06-29 Leo <sdl.web@gmail.com>
10176 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
10178 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10180 * generic-x.el (bat-generic-mode): Fix regexp for command line
10181 switches (Bug#5719).
10183 2010-06-27 Masatake YAMATO <yamato@redhat.com>
10185 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
10186 of nconc to avoid pure storage error (Bug#6239).
10188 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
10190 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
10191 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
10192 bindings of bookmark-automatically-show-annotations (Bug#6515).
10194 2010-06-25 Eli Zaretskii <eliz@gnu.org>
10196 * arc-mode.el (archive-zip-extract): Don't quote the file name on
10197 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
10199 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
10201 * comint.el (make-comint, make-comint-in-buffer): Mention return
10202 value in the docstrings. (Bug#6498)
10204 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
10206 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
10207 since it is not present when using some non-default switches.
10209 2010-06-23 Karl Fogel <kfogel@red-bean.com>
10211 * simple.el (compose-mail): Fix doc string to refer to
10212 `compose-mail-user-agent-warnings', instead of to the
10213 nonexistent `compose-mail-check-user-agent'.
10215 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
10217 Fix an indentation bug:
10219 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
10220 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
10221 of existing values.
10223 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
10224 (c-clear->-pair-props-if-match-before): now return t when they've
10225 cleared properties, nil otherwise.
10226 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
10227 by taking account of the existing value.
10229 * progmodes/cc-defs.el
10230 (c-clear-char-property-with-value-function): Fix this to clear the
10231 property rather than overwriting it with nil.
10233 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
10235 * emacs-lisp/package.el (package-print-package): Add link to
10236 package description via describe-package.
10237 (describe-package-1): List package requirements. Add button to
10238 perform installation.
10239 (package-menu-describe-package): New command.
10241 * help-mode.el (help-package): New button type.
10243 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
10245 * emacs-lisp/package.el: Move package-list-packages binding to
10247 (describe-package, describe-package-1, package--dir): New funs.
10248 (package-activate-1): Use package--dir.
10250 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
10252 * help-mode.el (help-package-def): New button type.
10254 * menu-bar.el: Move package-list-packages binding here from
10257 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
10259 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
10261 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10263 * emacs-lisp/edebug.el (edebug-read-list):
10264 Phase out old-style backquotes.
10266 2010-06-17 Juri Linkov <juri@jurta.org>
10268 * help-mode.el (help-mode): Set buffer-local variable
10269 revert-buffer-function to help-mode-revert-buffer.
10270 (help-mode-revert-buffer): New function.
10272 * info.el (Info-revert-find-node): Check for major-mode Info-mode
10273 before popping to "*info*" (like in other Info functions).
10274 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
10275 old-history-forward. Pop to old-buffer-name or "*info*" to
10276 recreate the killed buffer. Set Info-history-forward from
10277 old-history-forward.
10278 (Info-breadcrumbs-depth): Add :group and :version.
10280 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
10282 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
10284 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
10286 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
10287 for languages like Portuguese with pt_{BR,PT} and no plain pt.
10289 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
10291 * emacs-lisp/package.el (package-menu-mode-map):
10292 Move initialization into declaration.
10294 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
10296 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
10298 * emacs-lisp/package.el (package-archive-base): Point to
10300 (package-enable, package-load-list): New defcustoms.
10301 (package-user-dir, package-directory-list): Turn into defcustoms.
10302 Don't include package-user-dir in package-directory-list.
10303 (package--builtins-base): Don't include Emacs as a "package".
10304 (package-subdirectory-regexp): New var.
10305 (package-load-all-descriptors, package-compute-transaction)
10306 (package-download-transaction): Obey package-load-list.
10307 (package-activate-1): Rename from package-do-activate.
10308 (package-list-packages-internal): Check package-load-list.
10309 (package-load-descriptor, package-generate-autoloads)
10310 (package-unpack, package-unpack-single)
10311 (package--read-archive-file, package-delete):
10312 Use expand-file-name.
10314 * emacs-lisp/package-x.el: New file. Package uploading
10315 functionality split out from package.el.
10317 * startup.el (command-line): Load packages after reading init file.
10319 2010-06-17 Tom Tromey <tromey@redhat.com>
10321 * emacs-lisp/package.el: New file.
10323 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
10325 Fix vc-annotate for renamed files when using Git.
10326 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
10327 ls-files. Doe not pass the object as a file name to cat-file, it
10328 is not a file name.
10329 (vc-git-annotate-command): Pass the file name using -- to avoid
10330 ambiguity with the revision.
10331 (vc-git-previous-revision): Pass a relative file name.
10333 2010-06-22 Glenn Morris <rgm@gnu.org>
10335 * progmodes/js.el (js-mode-map): Use standard capitalization and
10336 ellipses for menu entries.
10338 * wid-edit.el (widget-complete): Doc fix.
10340 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
10342 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
10344 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
10346 Fix annotating other revisions for renamed files in vc-annotate.
10347 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
10348 VC backend. Use it when non-nil.
10349 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
10352 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
10353 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10354 Do not pass the file name to the 'previous-revision call when we
10355 don't want a file diff. (Bug#6489)
10357 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
10359 Fix finding revisions for renamed files in vc-annotate.
10360 * vc/vc.el (vc-find-revision): Add an optional argument for
10361 the VC backend. Use it when non-nil.
10362 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
10363 backend to vc-find-revision. (Bug#6487)
10365 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
10367 Fix reading file names in Git annotate buffers.
10368 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
10369 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
10371 2010-06-20 Alan Mackenzie <acm@muc.de>
10373 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
10374 in file local variables, set it first.
10376 2010-06-19 Glenn Morris <rgm@gnu.org>
10378 * descr-text.el (describe-char-unicode-data): Insert separating
10379 space when needed. (Bug#6422)
10381 * progmodes/idlwave.el (idlwave-action-and-binding):
10382 Fix typo in 2009-12-03 change. (Bug#6450)
10384 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10386 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
10387 handling for `lambda' (misunderstanding).
10389 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
10391 * calc/calc-poly.el (math-accum-factors): Make sure that
10392 constants aren't distributed after they are factored out.
10394 2010-06-16 Juri Linkov <juri@jurta.org>
10396 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
10397 `list-colors-print'. (Bug#6332)
10399 * subr.el (read-quoted-char): Fix up last change (bug#6290).
10401 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
10403 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
10404 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
10406 * font-lock.el (font-lock-major-mode): Rename from
10407 font-lock-mode-major-mode to distinguish it from
10408 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
10409 (font-lock-set-defaults):
10410 * font-core.el (font-lock-default-function): Adjust users.
10411 (font-lock-mode): Don't set it at all.
10413 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
10415 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
10417 2010-06-16 Glenn Morris <rgm@gnu.org>
10419 * calendar/appt.el (appt-time-msg-list): Doc fix.
10420 (appt-check): Let-bind appt-warn-time.
10421 (appt-add): Make the 3rd argument optional.
10422 Simplify argument names. Doc fix. Check for integer WARNTIME.
10423 Only add WARNTIME to the output list if non-nil.
10425 2010-06-16 Ivan Kanis <apple@kanis.eu>
10427 * calendar/appt.el (appt-check): Let the 3rd element of
10428 appt-time-msg-list specify the warning time.
10429 (appt-add): Add new argument with the warning time. (Bug#5176)
10431 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10433 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
10434 older than version 1.6. (Bug#6361)
10436 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
10438 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
10439 used by cl-do-arglist. (Bug#6408)
10441 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
10443 * textmodes/ispell.el (ispell-dictionary-base-alist):
10444 Fix portuguese casechars/not-casechars for missing 'çÇ'.
10445 Suggested by Rolando Pereira (bug#6434).
10447 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
10449 * facemenu.el (list-colors-sort): Doc fix.
10451 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10453 * progmodes/sql.el (sql-connect-mysql): Fix typo.
10455 2010-06-14 Juri Linkov <juri@jurta.org>
10457 Add sort option `list-colors-sort'. (Bug#6332)
10458 * facemenu.el (color-rgb-to-hsv): New function.
10459 (list-colors-sort): New defcustom.
10460 (list-colors-sort-key): New function.
10461 (list-colors-display): Doc fix. Sort list according to the option
10462 `list-colors-sort'.
10463 (list-colors-print): Add HSV values to `help-echo' property of
10466 2010-06-14 Juri Linkov <juri@jurta.org>
10468 * compare-w.el: Move to the "vc" subdirectory.
10470 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10472 * image-mode.el (image-mode-map): Remap left-char and right-char.
10474 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
10476 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
10478 * term/common-win.el (x-colors): Add all the color names defined
10479 in rgb.txt (Bug#6332).
10481 * facemenu.el (list-colors-print): Don't print extra names if it
10482 will overflow the window width.
10484 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
10487 2010-06-12 Eli Zaretskii <eliz@gnu.org>
10489 * files.el (make-directory): Doc fix (bug#6396).
10491 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
10493 * net/tramp.el (tramp-remote-process-environment): Protect version
10494 string by apostroph.
10495 (tramp-shell-prompt-pattern): Do not use a shy group in case of
10497 (tramp-file-name-for-operation): Add `call-process-region'.
10498 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
10500 * net/tramp-compat.el (top): Do not autoload
10501 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
10502 only when `start-file-process' is not bound.
10503 (tramp-advice-file-expand-wildcards): Do not use
10504 `tramp-handle-file-remote-p'.
10505 (tramp-compat-make-temp-file): Handle the case, that
10506 `make-temp-file' has no third argument EXTENSION.
10508 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
10510 * makefile.w32-in (WINS_BASIC): Include new directory vc.
10512 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
10514 2010-06-11 Juri Linkov <juri@jurta.org>
10516 * finder.el (finder-known-keywords): Add keyword "vc"
10517 for version control.
10519 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
10520 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
10521 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
10522 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
10524 2010-06-11 Juri Linkov <juri@jurta.org>
10526 Move version control related files to the "vc" subdirectory.
10527 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
10528 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
10529 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
10530 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
10531 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
10532 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
10533 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
10534 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
10535 Move files to the "vc" subdirectory.
10537 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
10539 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
10542 2010-06-11 Stephen Eglen <stephen@gnu.org>
10544 * shell.el: Bind `shell-resync-dirs' to M-RET.
10546 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
10548 * notifications.el: Move file from lisp/net, because it is
10549 supposed to talk locally to the user.
10551 2010-06-10 Julien Danjou <julien@danjou.info>
10553 * net/notifications.el (notifications-on-action-signal)
10554 (notifications-on-closed-signal): Pass notification id as first
10555 argument to the callback functions. Add docstrings.
10556 (notifications-notify): Fix docstring.
10558 2010-06-10 Glenn Morris <rgm@gnu.org>
10560 * emacs-lisp/authors.el (authors-ignored-files)
10561 (authors-valid-file-names): Add some files.
10563 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10565 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
10566 merge conflict, giving preference to the emacs-23 version of the code.
10568 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10570 * emacs-lisp/advice.el (ad-compile-function):
10571 Define warning-suppress-types before we let-bind it (bug#6275).
10573 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
10574 declare it, make it buffer-local and permanent-local (bug#6324).
10575 (vc-resynch-window): Adjust name.
10576 * vc-hooks.el (vc-find-file-hook): Adjust name.
10578 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
10580 * net/notifications.el (notifications-notify): Fix docstring.
10582 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10584 Update to Unicode 6.0.0 beta.
10585 * international/charprop.el: Update copyright.
10586 * international/mule-cmds.el (ucs-names): Update character ranges.
10587 * international/uni-bidi.el:
10588 * international/uni-category.el:
10589 * international/uni-combining.el:
10590 * international/uni-comment.el:
10591 * international/uni-decimal.el:
10592 * international/uni-decomposition.el:
10593 * international/uni-digit.el:
10594 * international/uni-lowercase.el:
10595 * international/uni-mirrored.el:
10596 * international/uni-name.el:
10597 * international/uni-numeric.el:
10598 * international/uni-old-name.el:
10599 * international/uni-titlecase.el:
10600 * international/uni-uppercase.el: Regenerate.
10602 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10604 * emacs-lisp/smie.el (comment-string-strip): Declare function.
10605 (smie-precs-precedence-table): Fix typo in docstring.
10607 * vc-mtn.el (log-edit-extract-headers): Declare function.
10609 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
10611 * net/notifications.el (dbus-register-signal): Declare function.
10612 (notifications-notify): Fix typos and reflow docstring.
10614 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10616 Improve VC create/retrieve tag/branch.
10617 * vc.el (vc-create-tag): Do not read the directory name for VCs
10618 with repository revision granularity. Adjust the tag/branch
10619 prompt. Reset VC properties.
10620 (vc-retrieve-tag): Do not read the directory name for VCs
10621 with repository revision granularity. Reset VC properties.
10623 2010-06-09 Julien Danjou <julien@danjou.info>
10625 * net/notifications.el: New file.
10627 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10629 Add optional support for resetting VC properties.
10630 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
10631 call vc-file-clearprops when true.
10632 (vc-resynch-buffer): Add new optional argument, pass it down.
10633 (vc-resynch-buffers-in-directory): Likewise.
10635 Improve support for special markup in the VC commit message.
10636 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
10637 * vc-hg.el (vc-hg-checkin): Add support for Date:.
10638 * vc-git.el (vc-git-checkin):
10639 * vc-bzr.el (vc-bzr-checkin): Likewise.
10641 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10643 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
10644 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
10646 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
10648 * iimage.el: Remove images as soon as the underlying text is modified.
10649 (iimage-modification-hook): New function.
10650 (iimage-mode-buffer): Use it.
10652 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10654 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
10655 smie-indent-offset-after. Add :prev case. Make a bit more generic.
10656 (smie-indent-virtual): Remove `virtual' arg. Update callers.
10657 (smie-indent-keyword): Add handling of open-paren keywords.
10658 (smie-indent-comment-continue): Don't assume comment-continue.
10660 2010-06-07 Martin Rudalics <rudalics@gmx.at>
10662 * window.el (pop-to-buffer): Remove the conditional that
10663 compares new-window and old-window, so it will reselect
10664 the selected window unconditionally.
10665 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
10667 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10669 * emacs-lisp/smie.el (smie-indent-offset-after)
10670 (smie-indent-forward-token, smie-indent-backward-token): New functions.
10671 (smie-indent-after-keyword): Use them.
10672 (smie-indent-fixindent): Only applies to the indentation of the BOL.
10673 (smie-indent-keyword): Tweak the black magic.
10674 (smie-indent-comment-continue): Strip comment-continue before use.
10675 (smie-indent-functions): Indent comments before keywords.
10677 2010-06-06 Juri Linkov <juri@jurta.org>
10679 * isearch.el (isearch-lazy-highlight-search): Fix looping
10680 by checking for empty match. This syncs this loop with the
10681 similar loop in `isearch-search'. (Bug#6362)
10683 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
10685 * net/dbus.el (dbus-register-method): Declare function.
10686 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
10687 (dbus-introspect): Doc fix.
10688 (dbus-event-bus-name, dbus-introspect-get-interface)
10689 (dbus-introspect-get-argument): Reflow docstrings.
10691 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
10693 vc-log-incoming/vc-log-outgoing fixes for Git.
10694 * vc-git.el (vc-git-log-view-mode): Fix font lock for
10695 incoming/outgoing logs.
10696 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
10697 instead of vc-git-compute-remote.
10698 (vc-git-compute-remote): Remove.
10700 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
10702 * term/common-win.el (x-colors): Add "dark green" and "dark
10703 turquoise" (Bug#6332).
10705 2010-06-04 Juri Linkov <juri@jurta.org>
10707 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
10708 Instead of setting `replace' to t and replacing the same string
10709 with itself, don't do certain actions when
10710 kill-do-not-save-duplicates is non-nil and string is equal to car
10711 of kill-ring: don't call menu-bar-update-yank-menu, don't push
10712 interprogram-paste strings to kill-ring, and don't push the input
10713 argument `string' to kill-ring.
10714 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
10716 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10718 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
10720 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
10722 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
10723 (tramp-gvfs-handler-mounted-unmounted)
10724 (tramp-gvfs-connection-mounted-p): Handle default-location.
10726 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
10727 move files to trash.
10729 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10731 * international/mule-cmds.el (nonascii-insert-offset)
10732 (nonascii-translation-table): Add obsolescence information.
10734 * international/mule.el (make-translation-table-from-vector): Doc fix.
10736 2010-06-03 Glenn Morris <rgm@gnu.org>
10738 * desktop.el (desktop-clear-preserve-buffers):
10739 Add "*Warnings*" buffer. (Bug#6336)
10741 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
10743 vc-log-incoming/vc-log-outgoing improvements for Git.
10744 * vc-git.el (vc-git-log-outgoing): Use the same format as the
10746 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
10748 Add bindings for vc-log-incoming and vc-log-outgoing.
10749 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
10750 and vc-log-outgoing.
10751 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
10752 and vc-log-outgoing.
10754 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10756 * net/rcirc.el (rcirc-sort-nicknames): Remove.
10757 (rcirc-handler-366): Always sort nicknames.
10759 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
10761 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
10763 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10765 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
10767 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10769 * net/rcirc.el (rcirc-sort-nicknames): Change default.
10770 (rcirc-sort-nicknames-join): Avoid setq.
10772 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10774 * net/rcirc.el (rcirc-sort-nicknames): New custom.
10775 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
10776 (rcirc-handler-366): Use them.
10778 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10780 Split smie-indent-calculate into more manageable chunks.
10781 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
10782 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
10783 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
10784 (smie-indent-exps): Extract from smie-indent-calculate.
10785 (smie-indent-functions): New var.
10786 (smie-indent-functions): Use them.
10788 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10790 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10791 (smie-indent-calculate): Simplify and cleanup.
10793 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
10795 * net/tramp-gvfs.el (top): Require url-util.
10796 (tramp-gvfs-mount-point): Remove.
10797 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10799 (with-tramp-dbus-call-method): Format trace message.
10800 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10801 Implement backup call, when operation on local files fails.
10802 Use progress reporter. Flush properties of changed files.
10803 (tramp-gvfs-handle-make-directory): Make more traces.
10804 (tramp-gvfs-url-file-name): Hexify file name in url.
10805 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10806 into account for the resulting file name.
10807 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10808 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
10809 (tramp-gvfs-handler-mounted-unmounted)
10810 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10811 attribute "default_location". Set "prefix" property.
10812 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10813 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10814 exists. Raise an error, if not (due to a corresponding answer
10815 "no" in interactive questions, for example).
10817 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
10819 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10821 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
10823 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10824 right-*. (Bug#6265)
10826 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
10828 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10829 * vc-git.el (vc-git-compute-remote): New function.
10830 (vc-git-log-outgoing): Use it instead of hard coding a value.
10831 (vc-git-log-incoming): New function.
10833 Improve state updating for VC tag commands.
10834 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10835 to update the state of all buffers in the directory.
10837 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10839 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10841 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10842 `file-directory-p' to the filename part rather than to the whole text.
10844 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10846 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10848 2010-05-31 Drew Adams <drew.adams@oracle.com>
10850 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10852 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
10854 * subr.el (momentary-string-display): Just use read-event to read
10855 the exit event (Bug#6238).
10857 2010-05-30 Eli Zaretskii <eliz@gnu.org>
10859 * international/mule.el (define-coding-system): Doc fix (bug#6313).
10861 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10863 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10864 Suggested by Eli Zaretskii <eliz@gnu.org>.
10866 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10868 * minibuffer.el (completion-file-name-table): Don't return a boundary
10869 past the end of `string' (bug#6299).
10870 (completion--file-name-table): Delegate to completion-file-name-table
10871 for the `boundaries' case.
10873 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10875 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10878 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10879 `path-separator', but maintain compatibility with Emacs 20.2.
10881 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10883 * server.el (server-process-filter): Receive parent-id argument
10885 (server-create-window-system-frame): New arg. Pass parent-id as
10888 2010-05-29 Eli Zaretskii <eliz@gnu.org>
10890 Bidi-sensitive word movement with arrow keys.
10891 * subr.el (right-arrow-command, left-arrow-command): Move to
10894 * bindings.el (right-char, left-char): Move from subr.el and
10895 rename from right-arrow-command and left-arrow-command.
10896 (right-word, left-word): New functions.
10897 (global-map) <right>: Bind to right-char.
10898 (global-map) <left>: Bind to left-char.
10899 (global-map) <C-right>: Bind to right-word.
10900 (global-map) <C-left>: Bind to left-word.
10902 * ls-lisp.el (ls-lisp-classify-file): New function.
10903 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10904 (ls-lisp-classify): Call ls-lisp-classify-file.
10905 (insert-directory): Remove blanks from switches.
10907 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10909 * ansi-color.el: Delete unused escape sequences (Bug#6085).
10910 (ansi-color-drop-regexp): New constant.
10911 (ansi-color-apply, ansi-color-filter-region)
10912 (ansi-color-apply-on-region): Delete unrecognized control sequences.
10913 (ansi-color-apply): Build string list before calling concat.
10915 2010-05-28 Juri Linkov <juri@jurta.org>
10917 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10918 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10921 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10923 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10924 to ignored backtrace functions.
10925 (with-progress-reporter): Expand docstring.
10926 (tramp-handle-delete-file): Implement TRASH argument.
10927 (tramp-get-remote-trash): New defun.
10929 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10931 * net/tramp-compat.el (tramp-compat-delete-file):
10932 Use `symbol-value' for backward compatibility.
10934 * net/tramp.el (tramp-handle-make-symbolic-link)
10935 (tramp-handle-load)
10936 (tramp-do-copy-or-rename-file-via-buffer)
10937 (tramp-do-copy-or-rename-file-directly)
10938 (tramp-do-copy-or-rename-file-out-of-band)
10939 (tramp-handle-process-file, tramp-handle-call-process-region)
10940 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10941 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10942 (tramp-delete-temp-file-function): Use `delete-file' instead
10943 of `tramp-compat-delete-file'.
10945 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10946 (tramp-fish-handle-make-symbolic-link)
10947 (tramp-fish-handle-process-file): Use `delete-file' instead
10948 of `tramp-compat-delete-file'.
10950 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10951 Use `delete-file' instead of `tramp-compat-delete-file'.
10953 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
10954 Use `delete-file' instead of `tramp-compat-delete-file'.
10956 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10957 Use `delete-file' instead of `tramp-compat-delete-file'.
10959 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10960 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10961 (tramp-smb-handle-write-region): Use `delete-file' instead of
10962 `tramp-compat-delete-file'.
10963 (tramp-smb-handle-delete-directory): Use 'trash as arg.
10965 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10967 * dired.el (dired-delete-file): New arg TRASH.
10968 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
10969 (dired-do-flagged-delete, dired-do-delete): Use trash.
10971 * speedbar.el (speedbar-item-delete): Allow trashing.
10973 * files.el (delete-directory): New arg TRASH.
10975 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10976 (ange-ftp-rename-remote-to-remote)
10977 (ange-ftp-rename-local-to-remote)
10978 (ange-ftp-rename-remote-to-local, ange-ftp-load)
10979 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10981 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10984 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10985 handle new TRASH arg of `delete-file'.
10987 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10988 (tramp-handle-make-symbolic-link, tramp-handle-load)
10989 (tramp-do-copy-or-rename-file-via-buffer)
10990 (tramp-do-copy-or-rename-file-directly)
10991 (tramp-do-copy-or-rename-file-out-of-band)
10992 (tramp-handle-process-file, tramp-handle-call-process-region)
10993 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10994 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10995 (tramp-delete-temp-file-function): Use null TRASH arg in
10996 tramp-compat-delete-file call.
10998 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10999 (tramp-fish-handle-delete-file)
11000 (tramp-fish-handle-make-symbolic-link)
11001 (tramp-fish-handle-process-file): Use null TRASH arg in
11002 `tramp-compat-delete-file' call.
11004 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
11005 arg in `tramp-compat-delete-file' call.
11007 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
11008 (tramp-gvfs-handle-write-region): Use null TRASH arg in
11009 `tramp-compat-delete-file' call.
11011 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
11012 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
11013 `tramp-compat-delete-file' call.
11015 * net/tramp-smb.el (tramp-smb-handle-copy-file)
11016 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11017 (tramp-smb-handle-write-region): Use null TRASH arg in
11018 tramp-compat-delete-file call.
11019 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
11020 (tramp-smb-handle-delete-file): Rename arg.
11022 * diff.el (diff-sentinel):
11023 * epg.el (epg--make-temp-file, epg-decrypt-string)
11024 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11025 * jka-compr.el (jka-compr-partial-uncompress)
11026 (jka-compr-call-process, jka-compr-write-region):
11027 * server.el (server-sentinel): Remove optional arg from
11028 delete-file, reverting 2010-05-03 change.
11030 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
11032 * progmodes/verilog-mode.el (verilog-type-font-keywords):
11033 Use font-lock-constant-face, not obsolete font-lock-reference-face.
11035 2010-05-27 Kenichi Handa <handa@m17n.org>
11037 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
11038 element of GSTRING is nil.
11040 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11042 * emacs-lisp/smie.el (smie-forward-token-function)
11043 (smie-backward-token-function): New vars.
11044 (smie-backward-sexp, smie-forward-sexp)
11045 (smie-indent-hanging-p, smie-indent-calculate): Use them.
11046 (smie-default-backward-token): Rename from smie-backward-token and
11048 (smie-default-forward-token): Rename from smie-forward-token and
11050 (smie-next-sexp): Handle nil results from next-token.
11051 (smie-indent-calculate): Add a new case for special `fixindent' comments.
11053 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
11055 * progmodes/verilog-mode.el (verilog-type-font-keywords):
11056 Use font-lock-constant-face, not obsolete font-lock-reference-face.
11058 2010-05-27 Masatake YAMATO <yamato@redhat.com>
11060 * htmlfontify.el (hfy-face-resolve-face): New function.
11061 (hfy-face-to-style): Use it (Bug#6279).
11063 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11065 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
11066 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
11068 2010-05-26 Glenn Morris <rgm@gnu.org>
11070 * emulation/edt.el (edt-load-keys): Use locate-library.
11072 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
11074 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
11075 (log-edit-changelog-entries): Doc fix.
11076 (log-edit-changelog-insert-entries): Args changed.
11077 Rename relative filenames in ChangeLog entries. Delete tabs.
11078 (log-edit-insert-changelog-entries): Reorganize return value of
11079 `log-edit-changelog-entries' to pass filenames to
11080 log-edit-changelog-insert-entries.
11082 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11084 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
11085 `image-dired-dired-insert-marked-thumbs' to
11086 `image-dired-dired-toggle-marked-thumbs'.
11088 * image-dired.el: Require cl when compiling.
11089 (image-dired-dired-toggle-marked-thumbs): Rename from
11090 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
11091 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
11092 to 'no-dir. Skip files whose names don't match
11093 `image-file-name-regexp'. When file has a thumbnail overlay,
11094 delete it. (Bug#5270)
11096 2010-05-25 Juri Linkov <juri@jurta.org>
11098 * image-mode.el (image-mode): Add image-after-revert-hook to
11100 (image-after-revert-hook): New function. (Bug#5669)
11102 2010-05-25 Juri Linkov <juri@jurta.org>
11104 * image.el (image-animated-p): When delay between animated images
11105 is 0, set it to 10 (0.1 sec). (Bug#6258)
11107 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
11109 * net/tramp.el (tramp-handle-insert-directory): Don't use
11110 `forward-word', its default syntax could be changed.
11112 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
11114 * net/tramp.el (tramp-progress-reporter-update): New defun.
11115 (with-progress-reporter): Use it.
11116 (tramp-process-actions):
11117 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
11118 Preserve current message, in order to let progress reporter continue
11119 afterwards. (Bug#6257)
11121 2010-05-25 Glenn Morris <rgm@gnu.org>
11123 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
11126 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
11128 * net/rcirc.el (rcirc-default-user-name): Change to "user".
11129 (rcirc-default-full-name): Change to "unknown".
11130 (rcirc-user-name-history): Add variable.
11132 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
11133 Jonathan Rockway <jon@jrock.us>
11135 * net/rcirc.el (rcirc-server-alist): Add :pass.
11136 (rcirc): When prompting for connection parameters, also prompt for
11137 username and password.
11138 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
11139 value to server when connecting.
11141 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11143 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
11144 (smie-merge-prec2s): Pass the tables as separate args.
11145 (smie-bnf-precedence-table): Adjust call accordingly.
11146 (smie-prec2-levels): Set levels at the end.
11148 Replace Lisp calls to delete-backward-char by delete-char.
11149 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
11150 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
11151 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
11152 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
11153 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
11154 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
11155 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
11156 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
11157 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
11158 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
11159 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
11160 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
11161 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
11162 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
11163 delete-backward-char by calls to delete-char.
11165 2010-05-25 Kenichi Handa <handa@m17n.org>
11167 * language/hebrew.el (hebrew-shape-gstring): New function.
11168 Register it in composition-function-table for all Hebrew combining
11171 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11173 * epa.el (epa--select-keys): Don't explicitly delete the window since
11174 that can fail (e.g. sole window in frame). Use dedication instead.
11176 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11178 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
11180 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
11182 * image.el (image-refresh): Define as an alias for image-flush.
11184 * image-mode.el (image-toggle-display-image): Caller changed.
11186 2010-05-21 Juri Linkov <juri@jurta.org>
11188 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
11189 Remove "all" from grep-files-aliases. Split grep-files-aliases by
11190 whitespace, call wildcard-to-regexp on substrings and concat them
11191 with "\\|". (Bug#6114)
11193 2010-05-21 Alan Mackenzie <acm@muc.de>
11195 * progmodes/cc-engine.el (c-parse-state-get-strategy):
11196 Replace parameter `here' with `here-' and `here-plus', which sandwich
11197 any pertinent CPP construct.
11198 (c-remove-stale-state-cache-backwards): Fix a bug which happens
11199 when doing (c-parse-state) in a CPP construct: Exclude any "new"
11200 CPP construct from taking part in the scanning.
11202 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
11204 * net/tramp.el (tramp-do-copy-or-rename-file)
11205 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
11206 Tune `with-progress-reporter' messages.
11207 (tramp-handle-vc-registered):
11208 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
11209 (tramp-fish-handle-insert-file-contents)
11210 (tramp-fish-maybe-open-connection):
11211 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11212 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
11213 (tramp-imap-handle-insert-file-contents)
11214 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
11216 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
11218 * add-log.el (change-log-font-lock-keywords):
11219 Highlight all authors in multi-author entries.
11221 * smerge-mode.el (smerge-refine-ignore-whitespace)
11222 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
11223 Fix typos in docstrings.
11224 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
11226 2010-05-21 Glenn Morris <rgm@gnu.org>
11228 * progmodes/fortran.el (fortran-mode):
11229 * progmodes/f90.el (f90-mode): Derive from prog-mode.
11231 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
11232 having a relative path in src/Makefile.in.
11234 2010-05-20 Kevin Ryde <user42@zip.com.au>
11236 * help-mode.el (help-make-xrefs): For Info node links turn
11237 newlines into spaces. Link node names with newlines are matched
11238 by help-xref-info-regexp and buttonized, this change ensures they
11239 can be followed successfully with RET. (Bug#6206)
11241 2010-05-20 Juri Linkov <juri@jurta.org>
11243 * locate.el (locate): Use pop-to-buffer instead of
11244 switch-to-buffer-other-window. (Bug#6204)
11246 2010-05-20 Juri Linkov <juri@jurta.org>
11248 * replace.el (replace-highlight): Fix lazy-highlighting
11249 for `M-s w str M-% str RET'.
11251 2009-12-15 Masatake YAMATO <yamato@redhat.com>
11253 * isearch.el (isearch-yank-word-or-char): Pull next subword
11254 when `subword-mode' is activated. (Bug#6220)
11256 2010-05-20 Mark A. Hershberger <mah@everybody.org>
11258 * isearch.el (isearch-update-post-hook): New hook.
11259 (isearch-update): Use the new hook. (Bug#6225)
11261 2010-05-20 Juri Linkov <juri@jurta.org>
11263 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
11264 [f1], [help], and (char-to-string help-char) instead of "\C-h".
11267 2010-05-20 Juri Linkov <juri@jurta.org>
11269 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
11272 2010-05-20 Juri Linkov <juri@jurta.org>
11274 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
11275 FILE-NAME to read from the minibuffer when called interactively
11276 with prefix argument instead of using buffer-file-name.
11277 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
11279 * dired.el: Update autoloads.
11281 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
11283 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
11284 nxml-finish-element, for consistency with SGML mode.
11286 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
11287 octave-close-block.
11289 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
11291 * composite.el: Require cl when compiling.
11292 (reference-point-alist, compose-gstring-for-graphic)
11293 (compose-gstring-for-terminal): Fix typos in docstrings.
11295 2010-05-19 Juri Linkov <juri@jurta.org>
11297 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
11298 set-window-parameter.
11300 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
11302 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
11304 (tramp-maybe-open-connection): Use it.
11306 2010-05-19 Eli Zaretskii <eliz@gnu.org>
11308 * simple.el (move-end-of-line): Make sure we are at line beginning
11309 before backing up to end of previous line.
11311 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
11313 * password-cache.el (password-cache-remove): Fix docstring.
11315 * net/secrets.el: Autoload the widget functions.
11316 (secrets-search-items, secrets-create-item)
11317 (secrets-get-attributes, secrets-expand-item): Attributes will be
11318 stored on the password database without leading ":", as all other
11319 clients do as well.
11320 (secrets-mode): Fix docstring.
11321 (secrets-show-secrets): Provide it as autoloaded command only when
11322 D-Bus support is available. Check existence of Secret Service API.
11324 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11326 * indent.el (indent-region): Deactivate region (bug#6200).
11328 2010-05-19 Glenn Morris <rgm@gnu.org>
11330 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
11332 2010-05-19 Kenichi Handa <handa@m17n.org>
11334 * composite.el: Register compose-gstring-for-graphic in
11335 composition-function-table only for combining characters (Mn, Mc, Me).
11337 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
11339 * calc/calc-trail.el (calc-trail-isearch-forward)
11340 (calc-trail-isearch-backward): Ensure that the new window
11341 point is set correctly.
11343 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11345 * subr.el (read-quoted-char): Resolve modifiers after key
11346 remapping (bug#6212).
11348 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
11350 Add visualization code for secrets.
11351 * net/secrets.el (secrets-mode): New major mode.
11352 (secrets-show-secrets, secrets-show-collections)
11353 (secrets-expand-collection, secrets-expand-item)
11354 (secrets-tree-widget-after-toggle-function)
11355 (secrets-tree-widget-show-password): New defuns.
11357 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11359 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
11360 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
11361 handled in smie-next-sexp.
11362 (smie-indent-calculate): Provide a starting indentation (so the
11363 recursion is well-founded ;-).
11365 Fix handling of non-associative equal levels.
11366 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
11367 when it's not needed.
11368 (smie-op-left, smie-op-right): New functions.
11369 (smie-next-sexp): New function, extracted from smie-backward-sexp.
11370 Better handle equal levels to distinguish the associative case from
11371 the "multi-keyword construct" case.
11372 (smie-backward-sexp, smie-forward-sexp): Use it.
11374 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
11376 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
11378 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
11379 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
11381 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11383 Provide a simple generic indentation engine and use it for Prolog.
11384 * emacs-lisp/smie.el: New file.
11385 * progmodes/prolog.el (prolog-smie-op-levels)
11386 (prolog-smie-indent-rules): New var.
11387 (prolog-mode-variables): Use them to configure SMIE.
11388 (prolog-indent-line, prolog-indent-level): Remove.
11390 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11392 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
11393 order before computing the averages.
11395 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
11397 * calc/calc-vec.el (calc-histogram):
11398 (calcFunc-histogram): Allow vectors as inputs.
11399 (math-vector-avg): New function.
11401 * calc/calc-ext.el (math-group-float): Have the number of digits
11402 being grouped depend on the radix (Bug#6189).
11404 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
11406 * version.el (emacs-copyright, emacs-version): Don't define here,
11407 now that emacs.c defines it.
11409 2010-05-15 Eli Zaretskii <eliz@gnu.org>
11411 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
11412 "Describe Language Environment" menu item.
11414 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
11416 Bidi-sensitive movement with arrow keys.
11417 * subr.el (right-arrow-command, left-arrow-command): New functions.
11419 * bindings.el (global-map): Bind them to right and left arrow keys.
11421 Don't override standard definition of convert-standard-filename.
11422 * files.el (convert-standard-filename):
11423 Call w32-convert-standard-filename and dos-convert-standard-filename on
11424 the corresponding systems.
11426 * w32-fns.el (w32-convert-standard-filename): Rename from
11427 convert-standard-filename. Doc fix.
11429 * dos-fns.el (dos-convert-standard-filename): Doc fix.
11430 (convert-standard-filename): Don't defalias.
11431 (register-name-alist, make-register, register-value)
11432 (set-register-value, intdos): Obsolete aliases for the
11433 corresponding dos-* functions and variables.
11434 (dos-intdos): Add a doc string.
11436 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
11438 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
11439 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
11440 (math-compose-tex-func):
11441 * calc/calccomp.el (math-compose-expr):
11442 * calc/calc-ext.el (math-format-flat-expr-fancy):
11443 * calc/calc-store.el (calc-read-var-name):
11444 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
11446 * calc/calc.el (var-π, var-φ, var-γ): New variables.
11447 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
11448 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
11449 (math-standard-units): Add units.
11451 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11453 * progmodes/asm-mode.el (asm-mode):
11454 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
11456 * pcomplete.el (pcomplete-completions-at-point): New function,
11457 extracted from pcomplete-std-complete.
11458 (pcomplete-std-complete): Use it.
11460 2010-05-15 Glenn Morris <rgm@gnu.org>
11462 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11463 Remove references to CVS, RCS and Old directories.
11465 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
11467 * calc/calc-bin.el (math-format-twos-complement): Group digits when
11470 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11472 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
11473 (sh-mode-syntax-table): Give it a default value instead.
11474 (sh-header-marker): Make buffer-local.
11475 (sh-mode): Move make-local-variable to the corresponding setq.
11476 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
11477 Use complete-with-action.
11479 * simple.el (prog-mode): New (abstract) major mode.
11480 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
11481 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
11483 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
11485 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
11486 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
11487 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
11488 (sql-make-alternate-buffer-name, sql-placeholders-filter)
11489 (sql-escape-newlines-filter, sql-input-sender)
11490 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
11492 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
11494 Add TeX open-block and close-block keybindings to SGML, and vice versa.
11496 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
11497 latex-open-block and C-c / to latex-close-block.
11499 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
11500 and C-c C-e to sgml-close-tag.
11502 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
11504 * net/tramp.el (with-progress-reporter): Create reporter object
11505 only when the message would be displayed. Handle nested calls.
11506 (tramp-handle-load, tramp-handle-file-local-copy)
11507 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11508 (tramp-maybe-send-script, tramp-find-shell):
11509 Use `with-progress-reporter'.
11510 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
11513 * net/tramp-smb.el (tramp-smb-handle-copy-file)
11514 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11515 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
11516 Use `with-progress-reporter'.
11518 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
11520 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
11521 process everytime when spellchecking from the minibuffer (bug#6143).
11523 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11525 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
11527 * dos-fns.el: Add "dos-" prefix for namespace control.
11528 (convert-standard-filename): Define as alias for
11529 dos-convert-standard-filename but only if applicable.
11531 2010-05-12 Alan Mackenzie <acm@muc.de>
11533 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
11534 Push the mark at the start of these functions when appropriate.
11536 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11538 * minibuffer.el (completion-cycle-threshold): New custom var.
11539 (completion--do-completion): Use it.
11540 (minibuffer-complete): Use cycling if appropriate.
11542 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
11544 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
11545 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
11547 2010-05-11 Juri Linkov <juri@jurta.org>
11549 * scroll-all.el (scroll-all-check-to-scroll):
11550 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
11552 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11554 * iimage.el (iimage-mode-map): Move initialization into declaration.
11555 (iimage-mode-buffer): Use with-silent-modifications.
11556 Simplify calling convention. Adjust callers.
11557 (iimage-mode): Don't run hook redundantly.
11559 * minibuffer.el (completion-pcm--pattern->regex):
11560 Fix last change (bug#6160).
11562 2010-05-10 Juri Linkov <juri@jurta.org>
11564 Remove nodes visited during Isearch from the Info history.
11565 * info.el (Info-isearch-initial-history)
11566 (Info-isearch-initial-history-list): New variables.
11567 (Info-isearch-start): Record initial values of
11568 Info-isearch-initial-history and Info-isearch-initial-history-list.
11569 Add Info-isearch-end to isearch-mode-end-hook.
11570 (Info-isearch-end): New function.
11572 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
11574 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
11575 format string, in order to work around a bug in pdksh.
11576 Reported by Gilles Pion <gpion@lfdj.com>.
11577 (tramp-handle-verify-visited-file-modtime): Do not send a command
11578 when the connection is not established.
11579 (tramp-handle-set-file-times): Simplify the check for utc.
11581 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
11583 Fix use of `filter-buffer-substring' (rework previous change).
11584 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
11585 (cua-repeat-replace-region):
11586 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
11587 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11588 (cua-cut-region-to-global-mark): Use it.
11590 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
11592 * progmodes/sql.el: Version 2.1.
11593 (sql-product-alist): Redesign structure of product info.
11594 (sql-product, sql-user, sql-server, sql-database): Safe variables.
11595 (sql-port, sql-port-history): New variables.
11596 (sql-interactive-product): New variable.
11597 (sql-send-terminator): New variable.
11598 (sql-imenu-generic-expression): Add "Types" imenu entry.
11599 (sql-oracle-login-params, sql-sqlite-login-params)
11600 (sql-mysql-login-params, sql-solid-login-params)
11601 (sql-sybase-login-params, sql-informix-login-params)
11602 (sql-ingres-login-params, sql-ms-login-params)
11603 (sql-postgres-login-params, sql-interbase-login-params)
11604 (sql-db2-login-params, sql-linter-login-params)
11605 (sql-oracle-scan-on): New variables.
11606 (sql-mode-map): Add C-c C-i to start interactive mode.
11607 (sql-mode-menu): Update existing menu entries.
11608 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
11609 (sql-mode-oracle-font-lock-keywords)
11610 (sql-mode-postgres-font-lock-keywords)
11611 (sql-mode-ms-font-lock-keywords)
11612 (sql-mode-sybase-font-lock-keywords)
11613 (sql-mode-informix-font-lock-keywords)
11614 (sql-mode-interbase-font-lock-keywords)
11615 (sql-mode-ingres-font-lock-keywords)
11616 (sql-mode-solid-font-lock-keywords)
11617 (sql-mode-mysql-font-lock-keywords)
11618 (sql-mode-sqlite-font-lock-keywords)
11619 (sql-mode-db2-font-lock-keywords)
11620 (sql-mode-linter-font-lock-keywords): Update initialization to
11621 reduce run-time complexity.
11622 (sql-add-product, sql-del-product): New functions.
11623 (sql-set-product-feature, sql-get-product-feature): New functions.
11624 (sql-product-font-lock): Update product API.
11625 (sql-add-product-keywords): New function.
11626 (sql-highlight-product): Update product API.
11627 (sql-help-list-products): New function.
11628 (sql-help): Dynamically lists free and non-free products.
11629 (sql-get-login): Correct bug in handling history and added
11631 (sql-copy-column): Copy without properties.
11632 (sqli-input-sender): Apply filters to SQLi input.
11633 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
11634 Implement as a filter.
11635 (sql-escape-newlines-filter): Implement as a filter.
11636 (sql-remove-tabs-filter): New function.
11637 (sql-send-magic-terminator): New function.
11638 (sql-send-string): Implement magic terminator.
11639 (sql-send-region): Use `sql-send-string'.
11640 (sql-interactive-mode): Use product API.
11641 (sql-product-interactive): Use product API.
11642 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
11643 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
11644 (sql-db2, sql-linter): Use `sql-product-interactive'.
11645 (sql-connect): New function.
11646 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
11647 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
11648 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
11649 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
11652 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11654 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
11655 New custom variable.
11656 (completion-pcm--string->pattern): Use it.
11657 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
11658 Make it handle any symbol as `any'.
11659 (completion-pcm--merge-completions): Extract common suffix for the new
11660 `prefix' symbol as well.
11661 (completion-substring--all-completions): Use the new `prefix' symbol.
11663 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
11665 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
11667 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
11668 (tramp-compat-funcall): New defmacro.
11669 (tramp-compat-line-beginning-position)
11670 (tramp-compat-line-end-position)
11671 (tramp-compat-temporary-file-directory)
11672 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
11673 (tramp-compat-copy-file, tramp-compat-copy-directory)
11674 (tramp-compat-delete-file, tramp-compat-delete-directory)
11675 (tramp-compat-number-sequence, tramp-compat-process-running-p)
11676 * net/tramp.el (top, with-progress-reporter)
11677 (tramp-rfn-eshadow-setup-minibuffer)
11678 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
11679 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
11680 (tramp-completion-mode-p, tramp-check-for-regexp)
11681 (tramp-open-connection-setup-interactive-shell)
11682 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
11683 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
11684 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
11685 * net/tramp-cmds.el (tramp-cleanup-all-connections)
11686 (tramp-reporter-dump-variable, tramp-load-report-modules)
11687 (tramp-append-tramp-buffers)
11688 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
11690 * net/tramp-imap.el (top): Autoload `epg-make-context'.
11692 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11694 * progmodes/compile.el (compilation-buffer-modtime): Rename from
11695 buffer-modtime. Adjust users.
11697 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11699 * international/mule.el (auto-coding-alist): Only purecopy
11700 car of each item, not the whole list (Bug#6083).
11702 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11704 * progmodes/js.el (js-mode): Make paragraph variables local before
11705 calling c-setup-paragraph-variables (Bug#6071).
11707 2010-05-08 Eli Zaretskii <eliz@gnu.org>
11709 * composite.el (compose-region, reference-point-alist): Fix typos
11710 in the doc strings.
11712 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11714 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
11715 gnuplot's "set" command.
11717 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11719 * abbrev.el (last-abbrev-text): Doc fix.
11720 (abbrev-prefix-mark): Don't escape parenthesis.
11722 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
11724 * composite.el (find-composition): Doc fix.
11726 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11728 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
11729 (sql-oracle-program, sql-sqlite-options)
11730 (sql-query-placeholders-and-send): Doc fixes.
11731 (sql-set-product, sql-interactive-mode): Reflow docstrings.
11732 (sql-imenu-generic-expression, sql-buffer)
11733 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
11734 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
11735 (sql-mode-sybase-font-lock-keywords)
11736 (sql-mode-informix-font-lock-keywords)
11737 (sql-mode-interbase-font-lock-keywords)
11738 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
11739 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
11740 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
11741 (sql-product-feature, sql-highlight-product)
11742 (comint-line-beginning-position, sql-rename-buffer)
11743 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
11744 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
11745 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
11746 Fix typos in docstrings.
11748 2010-05-08 Juri Linkov <juri@jurta.org>
11750 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
11751 property instead of `invisible' and `after-string' (bug#5998).
11753 2010-05-08 Juri Linkov <juri@jurta.org>
11755 * image-mode.el (image-mode-as-text): Fix typo in docstring.
11757 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11759 * filecache.el (file-cache-add-directory-list)
11760 (file-cache-add-directory-recursively): Fix typos in docstrings.
11762 2010-05-08 Kenichi Handa <handa@m17n.org>
11764 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
11765 (gujarati-composable-pattern): Fix typo.
11767 2010-05-08 Kenichi Handa <handa@m17n.org>
11769 * language/indian.el (oriya-composable-pattern)
11770 (tamil-composable-pattern, malayalam-composable-pattern):
11771 Add two-part vowels to "v" (vowel sign).
11773 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11775 * files.el (copy-directory): Handle symlinks (Bug#5982).
11777 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
11779 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
11780 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
11783 2010-05-08 Glenn Morris <rgm@gnu.org>
11785 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11787 * minibuffer.el (completion-at-point): Doc fix.
11789 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11791 * electric.el (Electric-command-loop): Minor tweak.
11793 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11794 better with dedicated windows.
11796 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
11798 * Version 23.2 released.
11800 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11801 Stefan Monnier <monnier@iro.umontreal.ca>
11803 Highlight vendor specific properties.
11804 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11805 (css-proprietary-property): New face.
11806 (css-font-lock-keywords): Use them.
11808 2010-05-07 Eli Zaretskii <eliz@gnu.org>
11810 * cus-start.el (all): Add native condition for tool-bar-* symbols.
11812 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11814 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11815 * files.el (auto-mode-alist): Remove redundant entries.
11817 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11818 * simple.el (auto-save-mode): Move from files.el.
11819 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11821 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
11823 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11825 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
11827 * mail/binhex.el (binhex-decode-region-internal)
11828 * mail/uudecode.el (uudecode-decode-region-internal)
11829 * net/dns.el (dns-read-string-name, dns-write, dns-read)
11830 (dns-read-type, dns-query)
11831 * pgg-parse.el (pgg-parse-armor)
11832 * pgg.el (pgg-verify-region)
11833 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11836 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11838 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
11840 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11842 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11843 * emulation/cua-base.el (cua-repeat-replace-region):
11844 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11845 (cua-cut-region-to-global-mark):
11846 Remove text properties with `set-text-properties'.
11848 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
11850 * net/tramp.el (top, with-progress-reporter):
11851 Use `symbol-function' inside `funcall'.
11853 * net/tramp-compat.el (tramp-compat-file-attributes)
11854 (tramp-compat-delete-file, tramp-compat-delete-directory):
11855 Handle only `wrong-number-of-arguments' error.
11857 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11858 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11861 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11863 * minibuffer.el (completion--sreverse, completion--common-suffix):
11865 (completion-pcm--merge-completions): Extract common suffix when safe.
11867 * emacs-lisp/easy-mmode.el (define-minor-mode):
11868 Make :variable more flexible.
11869 * files.el (auto-save-mode): Use it to define using define-minor-mode.
11871 2010-05-05 Juri Linkov <juri@jurta.org>
11873 Add `slow' and `history' tags to the desktop data.
11875 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11876 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11877 (Info-finder-find-node): Require `finder.el' to be able
11878 to restore node from the desktop.
11879 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
11880 data `Info-history' and `slow' tag in the assoc list.
11881 (Info-restore-desktop-buffer): Don't restore nodes with the
11882 `slow' tag. Restore `Info-history'.
11884 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
11886 Add FORCE argument to `delete-file'.
11888 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11889 forcing to delete the temporary file.
11890 (ange-ftp-delete-file): Add FORCE arg.
11891 (ange-ftp-rename-remote-to-remote)
11892 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11893 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11894 Force file deletion.
11896 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11898 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11899 (tramp-handle-make-symbolic-link, tramp-handle-load)
11900 (tramp-do-copy-or-rename-file-via-buffer)
11901 (tramp-do-copy-or-rename-file-directly)
11902 (tramp-do-copy-or-rename-file-out-of-band)
11903 (tramp-handle-process-file, tramp-handle-call-process-region)
11904 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11905 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11906 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11908 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11909 (tramp-fish-handle-make-symbolic-link)
11910 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11912 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11913 Use `tramp-compat-delete-file'.
11915 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11916 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11918 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11919 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11921 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11922 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11923 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11924 Use `tramp-compat-delete-file'.
11926 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11929 * subr.el (add-minor-mode): Use push.
11930 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11931 * emulation/edt.el (edt-select-mode): Simplify.
11933 Use define-minor-mode in more cases.
11934 * term/tvi970.el (tvi970-set-keypad-mode):
11935 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11936 (normal-erase-is-backspace-mode):
11937 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11938 (set-scroll-bar-mode-1): (Re)move to its sole caller.
11939 (get-scroll-bar-mode): New function.
11940 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11942 Use define-minor-mode for less obvious cases.
11943 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11944 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11945 * international/iso-ascii.el (iso-ascii-mode):
11946 * frame.el (auto-raise-mode, auto-lower-mode):
11947 * composite.el (global-auto-composition-mode): Use define-minor-mode.
11949 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
11951 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11952 in order to see error messages for failed logins.
11954 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
11956 * diff.el (diff-sentinel):
11958 * epg.el (epg--make-temp-file, epg-decrypt-string)
11959 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11961 * jka-compr.el (jka-compr-partial-uncompress)
11962 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11964 * server.el (server-sentinel): Use delete-file's new FORCE arg
11967 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11969 Use define-minor-mode where applicable.
11970 * view.el (view-mode):
11971 * type-break.el (type-break-query-mode)
11972 (type-break-mode-line-message-mode):
11973 * textmodes/reftex.el (reftex-mode):
11974 * term/vt100.el (vt100-wide-mode):
11975 * tar-mode.el (tar-subfile-mode):
11976 * savehist.el (savehist-mode):
11977 * ibuf-ext.el (ibuffer-auto-mode):
11978 * composite.el (auto-composition-mode):
11979 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11980 Use define-minor-mode.
11981 (vhdl-mode): Use static mode-line format.
11982 (vhdl-mode-line-update): Delete.
11983 (vhdl-create-mode-menu, vhdl-activate-customizations)
11984 (vhdl-hs-minor-mode): Don't bother calling it.
11986 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11988 * simple.el (with-wrapper-hook): Move.
11989 (buffer-substring-filters): Mark obsolete.
11990 (filter-buffer-substring-functions): New variable.
11991 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
11993 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
11994 Michael Albinus <michael.albinus@gmx.de>
11996 Implement compression for inline methods.
11998 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11999 (tramp-copy-size-limit): Allow also nil.
12000 (tramp-inline-compress-commands): New defconst.
12001 (tramp-find-inline-compress, tramp-get-inline-compress)
12002 (tramp-get-inline-coding): New defuns.
12003 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
12004 replaced by `tramp-get-inline-coding'.
12005 (tramp-handle-file-local-copy, tramp-handle-write-region)
12006 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
12008 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12010 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
12011 Remove unused functions.
12013 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
12014 Set find-tag-default-function as a variable rather than a property.
12016 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
12017 * progmodes/etags.el (tags-completion-at-point-function):
12018 Remove left over interactive spec. Add autoloading stub.
12019 (complete-tag): Use tags-completion-at-point-function.
12021 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
12023 * minibuffer.el (tags-completion-at-point-function): Fix return value.
12025 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
12027 * ido.el (ido-init-completion-maps): Remove C-v binding.
12028 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
12030 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
12032 * minibuffer.el (tags-completion-at-point-function): New function.
12033 (completion-at-point-functions): Use it.
12035 * progmodes/etags.el (complete-tag): Revert last change.
12037 2010-04-29 Alan Mackenzie <acm@muc.de>
12039 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
12040 off-by-one error (in end of macro position).
12042 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12044 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
12045 firefox is absent. Don't autoload.
12046 (browse-url-galeon-program): Don't autoload.
12048 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
12050 * bindings.el (complete-symbol): Move into minibuffer.el.
12052 * minibuffer.el (complete-tag): Move from etags.el. If tags
12053 completion cannot be performed, return nil instead of signalling
12055 (completion-at-point): Make it an alias for complete-symbol.
12056 (complete-symbol): Move from bindings.el, and replace with the
12057 body of completion-at-point.
12059 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
12061 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
12063 * net/tramp.el (tramp-remote-selinux-p): New defun.
12064 (tramp-handle-file-selinux-context)
12065 (tramp-handle-set-file-selinux-context): Use it.
12067 2010-04-28 Sam Steingold <sds@gnu.org>
12069 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
12070 `safe-local-variable' if the value is a string or a symbol with
12071 the property `bug-reference-url-format'.
12073 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
12075 * progmodes/bug-reference.el (bug-reference-url-format):
12076 Revert 2010-04-27 change due to security risk.
12078 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12080 Make it possible to locally disable a globally enabled mode.
12081 * simple.el (fundamental-mode): Run fundamental-mode-hook.
12082 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
12083 rather than kill-all-local-variables so it runs fundamental-mode-hook.
12084 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12085 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
12086 that subsequent hooks get a chance to disable it.
12088 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12090 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12091 Avoid re-enabling a minor mode after the user turned the minor mode
12092 off if MODE-enable-in-buffers is run twice (typically once from
12093 fundamental-mode's after-change-major-mode-hook and a second time from
12094 run-mode-hook's own after-change-major-mode-hook).
12096 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
12098 2010-04-27 Sam Steingold <sds@gnu.org>
12100 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
12101 `safe-local-variable' if the value is a string or a function, as
12102 documented and implemented on 2010-04-02.
12104 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
12106 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
12107 when method is 'kill.
12109 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
12111 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
12112 condition in default directory check.
12113 (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
12114 Kill ispell process when killing its associated buffer.
12116 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
12118 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
12119 but we aren't using it.
12121 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
12123 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
12124 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
12126 2010-04-24 Glenn Morris <rgm@gnu.org>
12128 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
12129 Ignore VCS-ignore files, and deleted nextstep preferences files.
12130 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
12131 (authors-ambiguous-files): New list.
12132 (authors-valid-file-names): Add some deleted files.
12133 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
12134 (authors-disambiguate-file-name): New function. (Bug#5501)
12135 (authors-canonical-file-name): Doc fix.
12136 Don't warn about obsolete files.
12137 (authors-canonical-file-name, authors-scan-el):
12138 Use authors-disambiguate-file-name.
12140 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
12141 Add autoload cookies.
12142 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
12143 (generated-autoload-file): Set file-local value to "htmlfontify.el".
12144 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
12145 They have definitions / compiler macros in cl.el.
12146 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
12147 Replace manual autoloads with generated ones.
12148 (htmlfontify-unload-rgb-file): Remove autoload.
12149 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
12151 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12153 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
12154 (byte-compile-setq-default): Optimize for the
12155 single-var case and don't call byte-compile-form in this case to avoid
12156 inf-loop with byte-compile-set-default.
12158 * progmodes/compile.el (compilation-start): Abbreviate default directory.
12160 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
12162 Implement SELINUX backends.
12164 * net/tramp.el (tramp-file-name-handler-alist):
12165 Add `file-selinux-context' and `set-file-selinux-context'.
12166 (tramp-handle-file-selinux-context)
12167 (tramp-handle-set-file-selinux-context): New defuns.
12168 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
12169 Handle PRESERVE-SELINUX-CONTEXT.
12171 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12172 Add `file-selinux-context' and `set-file-selinux-context'.
12173 (tramp-gvfs-handle-file-selinux-context)
12174 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
12175 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
12177 * net/ange-ftp.el (ange-ftp-copy-file):
12178 * net/tramp-fish.el (tramp-fish-handle-copy-file):
12179 * net/tramp-imap.el (tramp-imap-handle-copy-file):
12180 * net/tramp-smb.el (tramp-smb-handle-copy-file):
12181 Add PRESERVE-SELINUX-CONTEXT.
12183 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
12185 Synchronize with Tramp repository.
12187 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
12188 (tramp-action-process-alive, tramp-action-out-of-band)
12189 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
12190 (tramp-exists-file-name-handler): Fix docstring.
12191 (with-progress-reporter): New defmacro.
12192 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
12193 (tramp-maybe-open-connection): Use it.
12195 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
12197 Detect ssh 'ControlMaster' argument automatically in some cases.
12199 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
12200 (tramp-default-method): Use it.
12202 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
12204 * net/tramp.el (tramp-handle-copy-file): Add new optional
12205 parameter `preserve-selinux-context'.
12206 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
12208 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
12210 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
12211 Ensure, that non remote files are still checked. Oops.
12213 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
12217 * icomplete.el (icomplete-completions): Use `non-essential'.
12219 * net/tramp.el (tramp-connectable-p): New defun.
12220 (tramp-handle-expand-file-name)
12221 (tramp-completion-handle-file-name-all-completions)
12222 (tramp-completion-handle-file-name-completion): Use it.
12224 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
12226 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
12228 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
12230 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
12232 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
12234 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
12237 * info.el (info-tool-bar-map): Add labels.
12239 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
12241 * cus-edit.el (custom-commands): Add labels for tool bar.
12242 (custom-buffer-create-internal, Custom-mode): Adjust for
12243 labels in custom-commands.
12245 * dynamic-setting.el: Renamed from font-setting.el.
12247 2010-04-21 John Wiegley <jwiegley@gmail.com>
12249 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
12250 toggles the use of virtual buffers.
12251 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
12252 (ido-toggle-virtual-buffers): New function.
12254 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
12256 Use `define-derived-mode'; fix window selection; doc fixes.
12257 * play/tetris.el (tetris, tetris-update-speed-function)
12258 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
12259 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
12260 (tetris-rotate-next, tetris-end-game, tetris-start-game)
12261 (tetris-pause-game): Fix typos in docstrings.
12262 (tetris-mode-map, tetris-null-map):
12263 Move initialization into declaration.
12264 (tetris-mode): Define with `define-derived-mode';
12265 set show-trailing-whitespace to nil.
12266 (tetris): Prefer window already displaying the "*Tetris*" buffer.
12268 2010-04-21 Karel Klíč <kklic@redhat.com>
12270 * files.el (backup-buffer): Handle SELinux context, and return it
12271 if a backup was made by renaming.
12272 (backup-buffer-copy): Set SELinux context to the target file.
12273 (basic-save-buffer): Set SELinux context of the newly written file.
12274 (basic-save-buffer-1): Now it also returns any SELinux context.
12275 (basic-save-buffer-2): Set SELinux context of the newly created file,
12277 * net/tramp.el (tramp-file-name-for-operation):
12278 Add file-selinux-context.
12280 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
12282 Make the log-edit comments use RFC822 format throughout.
12284 * vc.el (vc-checkin, vc-modify-change-comment):
12285 Adjust to new vc-start/finish-logentry.
12286 (vc-find-conflicted-file): New command.
12287 (vc-transfer-file): Adjust to new vc-checkin.
12288 (vc-next-action): Improve scoping.
12290 * vc-hg.el (vc-hg-log-edit-mode): Remove.
12291 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
12293 * vc-git.el (vc-git-log-edit-mode): Remove.
12294 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
12295 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
12297 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
12298 (vc-start-logentry): Remove argument `extra'.
12299 (vc-finish-logentry): Remove extra args.
12301 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
12302 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
12303 (vc-bzr-conflicted-files): New function.
12305 * log-edit.el (log-edit-extra-flags)
12306 (log-edit-before-checkin-process): Remove.
12307 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
12308 (log-edit-headers-alist): New var.
12309 (log-edit-header-contents-regexp): New const.
12310 (log-edit-match-to-eoh): New function.
12311 (log-edit-font-lock-keywords): Use them.
12312 (log-edit): Insert a "Summary:" header as default.
12313 (log-edit-mode): Mark font-lock rules as case-insensitive.
12314 (log-edit-done): Cleanup headers.
12315 (log-view-process-buffer): Remove.
12316 (log-edit-extract-headers): New function to replace it.
12318 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
12320 * subr.el (default-direction-reversed): Remove obsolescence info.
12322 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12324 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
12327 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
12328 I.e. include text after point in the completion region.
12329 Also, return nil when we're not after/in a symbol.
12331 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
12332 default enable-multibyte-characters.
12334 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12336 * international/mule.el: Help the user choose a valid coding-system.
12337 (read-buffer-file-coding-system): New function.
12338 (set-buffer-file-coding-system): Use it. Prompt the user if the
12339 coding-system cannot encode all the chars.
12341 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
12342 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
12343 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
12344 Don't use *vc-bzr-shelve*.
12346 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
12348 Fix the version number for added files.
12349 * vc-hg.el (vc-hg-working-revision): Check if the file is
12350 registered after hg parent fails (Bug#5961).
12352 2010-04-19 Glenn Morris <rgm@gnu.org>
12354 * htmlfontify.el (htmlfontify-buffer)
12355 (htmlfontify-copy-and-link-dir): Autoload entry points.
12357 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
12359 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
12360 name relative to the project root (Bug#5960).
12362 2010-04-19 Glenn Morris <rgm@gnu.org>
12364 * vc-git.el (vc-git-print-log): Doc fix.
12366 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
12368 * ido.el (ido-file-internal): Fix 2009-12-02 change.
12370 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
12372 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
12373 default settings (Bug#5928).
12375 2010-04-19 Glenn Morris <rgm@gnu.org>
12377 * progmodes/fortran.el (fortran-match-and-skip-declaration):
12379 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
12381 2010-04-19 Kenichi Handa <handa@m17n.org>
12383 * language/indian.el (malayalam-composable-pattern): Fix previous
12384 change (add U+0D4D "SIGN VIRAMA").
12385 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
12386 (tamil-composable-pattern): Fix typo in the regexp.
12387 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
12388 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
12389 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
12391 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
12393 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
12394 paragraph-separate (Bug#5821).
12396 2010-04-19 Juri Linkov <juri@jurta.org>
12398 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
12400 * info.el (Info-find-node-2): Comment out code that skips
12402 (Info-mouse-follow-link): New command.
12403 (Info-link-keymap): New keymap.
12404 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
12405 Return a string with links instead of inserting breadcrumbs
12406 to the Info buffer.
12407 (Info-fontify-node): Comment out code that inserts breadcrumbs.
12408 Instead of putting the `invisible' text property over the Info
12409 header, make an overlay over the Info header with the `invisible'
12410 property and `after-string' set to the string returned by
12411 `Info-breadcrumbs'.
12413 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
12415 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
12416 Reported by monkey@sandpframing.com.
12418 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12420 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
12421 (tmm-get-keymap): Add key-binding shortcuts now that they're not
12422 available in the "keyseq cache" any more.
12424 * custom.el (defcustom): Add edebug spec.
12426 2010-04-18 Juri Linkov <juri@jurta.org>
12428 Test for special mode-class in view-buffer instead of view-file (bug#5513).
12430 * view.el (view-file, view-buffer): Move test for special mode-class
12431 from view-file to view-buffer.
12433 * tar-mode.el (tar-extract): Turn if's into one cond
12434 like in arc-mode.el.
12436 2010-04-18 Juri Linkov <juri@jurta.org>
12438 Add 7z archive format support (bug#5475).
12440 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
12441 (archive-7z-extract): New defcustom.
12442 (archive-find-type): Add magic string for 7z.
12443 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
12444 If `stderr-file' is non-nil, use `(t stderr-file)' for the
12445 `buffer' arg of `call-process'.
12446 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
12447 call the function `archive-7z-extract' with the variable
12448 `archive-7z-extract' let-bound to `archive-zip-extract'.
12449 (archive-7z-summarize, archive-7z-extract): New functions.
12451 * international/mule.el (auto-coding-alist):
12452 * files.el (auto-mode-alist): Add 7z file extension.
12454 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12456 * loadup.el: Setup hash-cons for pure data.
12458 Fix duplicate entries in cedet's loaddefs.el files.
12459 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
12460 Should make most file-local generated-autoload-file unnecessary.
12461 (print-readably): Silence warnings.
12462 (autoload-find-destination): Take load-name as an arg to make sure
12463 it's the same as the one that will be in the file.
12464 (autoload-generate-file-autoloads): Adjust to above changes.
12465 Try to make the dataflow a bit simpler.
12467 * cvs-status.el (cvs-refontify): Remove unused.
12469 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
12471 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
12473 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
12474 twos-complement mode.
12476 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
12478 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
12479 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
12480 (calc-inverse): Add "Option" to message, as appropriate.
12481 (calc-hyperbolic): Add "Option" to message, as appropriate.
12482 (calc-option, calc-is-option): New functions.
12484 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
12485 (calc-option-prefix-help): New function.
12487 * calc/calc-misc.el (calc-help): Add "Option" entry.
12489 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
12490 (calc-option-flag): New variable.
12491 (calc-do): Set `calc-option-flag to nil.
12492 (calc-set-mode-line): Add "Opt " as appropriate.
12494 2010-04-16 Juri Linkov <juri@jurta.org>
12496 Move scrolling commands from simple.el to window.el
12497 because their primitives are implemented in window.c.
12499 * simple.el (scroll-error-top-bottom)
12500 (scroll-up-command, scroll-down-command, scroll-up-line)
12501 (scroll-down-line, scroll-other-window-down)
12502 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12503 * window.el (scroll-error-top-bottom)
12504 (scroll-up-command, scroll-down-command, scroll-up-line)
12505 (scroll-down-line, scroll-other-window-down)
12506 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12507 Move from simple.el to window.el because their primitives are
12508 implemented in window.c.
12510 2010-04-16 Juri Linkov <juri@jurta.org>
12512 * isearch.el (isearch-lookup-scroll-key): Check both
12513 `isearch-scroll' and `scroll-command' properties.
12514 (scroll-up, scroll-down): Remove `isearch-scroll' property.
12516 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
12518 * simple.el (scroll-up-command, scroll-down-command)
12519 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
12521 2010-04-15 Juri Linkov <juri@jurta.org>
12523 * simple.el (scroll-up-command, scroll-down-command)
12524 (scroll-up-line, scroll-down-line): Put `scroll-command'
12525 property on the these symbols. Remove them from
12526 `scroll-preserve-screen-position-commands'.
12528 * mwheel.el (mwheel-scroll): Put `scroll-command' and
12529 `isearch-scroll' properties on the `mwheel-scroll' symbol.
12530 Remove it from `scroll-preserve-screen-position-commands'.
12532 * isearch.el (isearch-allow-scroll): Doc fix.
12534 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
12536 * net/tramp.el (tramp-error-with-buffer): Don't show the
12537 connection buffer when we are in completion mode.
12538 (tramp-file-name-handler): Catch the error for some operations
12539 when we are in completion mode. This gives the user the chance to
12540 correct the file name in the minibuffer.
12542 2010-04-15 Glenn Morris <rgm@gnu.org>
12544 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
12546 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
12548 Simplify by using `define-derived-mode'.
12549 * info.el (Info-mode):
12550 * calendar/todo-mode.el (todo-mode):
12551 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
12552 (gomoku-mode-map): Move initialization into declaration.
12554 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
12557 * ido.el (ido-file-name-all-completions-1):
12558 * minibuffer.el (minibuffer-completion-help):
12559 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
12561 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12563 * simple.el (non-essential): New var.
12565 Add a new field `location' to bookmarks for non-file bookmarks.
12566 * bookmark.el (bookmark-location): Use the new field, if present.
12567 (bookmark-insert-location): Undo last change, not needed any more.
12568 * man.el (Man-bookmark-make-record):
12569 * woman.el (woman-bookmark-make-record): Add `location' field.
12571 2010-04-14 Juri Linkov <juri@jurta.org>
12573 * simple.el (scroll-error-top-bottom): New defcustom.
12574 (scroll-up-command, scroll-down-command): Use it. Doc fix.
12576 * emulation/pc-select.el (pc-select-override-scroll-error):
12577 Obsolete in favor of `scroll-error-top-bottom'.
12579 2010-04-14 Juri Linkov <juri@jurta.org>
12581 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
12582 `scroll-up-command' and `M-v' to `scroll-down-command'.
12584 * emulation/cua-rect.el (cua--init-rectangles):
12585 * forms.el (forms--change-commands):
12586 * image-mode.el (image-mode-map):
12587 Remap scroll-down-command and scroll-up-command
12588 in addition to scroll-down and scroll-up.
12590 2010-04-14 Juri Linkov <juri@jurta.org>
12592 * mwheel.el (scroll-preserve-screen-position-commands):
12593 Add mwheel-scroll to this list of commands.
12595 * simple.el (scroll-preserve-screen-position-commands):
12596 Add scroll-up-command, scroll-down-command, scroll-up-line,
12597 scroll-down-line to this list of commands.
12599 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12601 * obsolete/complete.el: Move from lisp/complete.el.
12603 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
12605 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
12606 to the minor mode function now turns the mode ON unconditionally.
12608 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12610 * vc-dir.el (vc-dir-kill-line): New command.
12611 (vc-dir-mode-map): Bind it to C-k.
12613 * bookmark.el (bookmark-insert-location): Handle a nil filename.
12615 * woman.el: Add bookmark declarations to silence the compiler.
12616 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
12617 step to compatibility between man and woman bookmarks.
12618 Adjust for Man-default-bookmark-title renaming.
12619 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
12621 * man.el: Add bookmark declarations to silence the compiler.
12622 (Man-name-local-regexp): Make it match NAME as well.
12623 (Man-getpage-in-background): Return the buffer.
12624 (Man-notify-when-ready): Use `case'.
12625 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
12626 Don't hardcode "NAME". Simplify.
12627 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
12628 Rename from Man-bookmark-make-record.
12629 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
12630 we have the actual man-args. Use Man-getpage-in-background rather
12631 than `man' since the arg is already processed. Let bookmark.el do the
12632 window handling. Only wait for the relevant process.
12633 Don't forget to autoload.
12635 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
12637 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12639 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
12641 (woman-mode): Setup bookmark support.
12643 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
12644 (man-bookmark-jump): New functions.
12645 (Man-mode): Setup bookmark support.
12647 2010-04-10 Jari Aalto <jari.aalto@cante.net>
12649 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
12650 recognize ssh-keygen prompt (Bug#2817).
12652 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12654 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
12656 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12658 Synchronize with Tramp repository.
12660 * net/tramp.el (tramp-completion-function-alist)
12661 (tramp-file-name-regexp, tramp-chunksize)
12662 (tramp-local-coding-commands, tramp-remote-coding-commands):
12664 (tramp-remote-process-environment): Use `format' instead of `concat'.
12665 (tramp-handle-directory-files-and-attributes)
12666 (tramp-get-remote-path): Use `copy-tree'.
12667 (tramp-handle-file-name-all-completions): Backward/ XEmacs
12668 compatibility: Use `completion-ignore-case' if
12669 `read-file-name-completion-ignore-case' does not exist.
12670 (tramp-do-copy-or-rename-file-directly): Do not use
12671 `tramp-handle-file-remote-p'.
12672 (tramp-do-copy-or-rename-file-out-of-band):
12673 Use `tramp-compat-delete-directory'.
12674 (tramp-do-copy-or-rename-file-out-of-band)
12675 (tramp-compute-multi-hops, tramp-maybe-open-connection):
12676 Use `format-spec-make'.
12677 (tramp-find-foreign-file-name-handler)
12678 (tramp-advice-make-auto-save-file-name)
12679 (tramp-set-auto-save-file-modes): Remove superfluous check for
12680 `stringp'. This is done inside `tramp-tramp-file-p'.
12681 (tramp-debug-outline-regexp): New defconst.
12682 (tramp-get-debug-buffer): Use it.
12683 (tramp-check-for-regexp): Use (forward-line 1).
12684 (tramp-set-auto-save-file-modes): Adapt version check.
12686 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
12687 Wrap call of `featurep' for 2nd argument.
12688 (tramp-compat-make-temp-file): Simplify fallback implementation.
12689 (tramp-compat-copy-tree): Remove function.
12690 (tramp-compat-delete-directory): Provide implementation for older
12693 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
12694 Do not use `tramp-fish-handle-file-attributes.
12696 * net/trampver.el: Update release number.
12698 2010-04-10 Glenn Morris <rgm@gnu.org>
12700 * progmodes/compile.el (compilation-save-buffers-predicate):
12701 Add missing :version tag.
12703 2010-04-09 Sam Steingold <sds@gnu.org>
12705 * progmodes/compile.el (compilation-save-buffers-predicate):
12706 Remove the "autoload" cookie.
12708 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
12709 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
12710 and `bug-reference-prog-mode' can be used in hooks directly.
12712 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
12714 Add --author support to git commit.
12715 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
12716 (vc-git-log-edit-mode): New minor mode.
12717 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
12720 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
12722 * vc-hooks.el, vc-git.el: Improve documentation comments.
12724 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12726 Fix some of the problems in defsubst* (bug#5728).
12727 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
12728 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
12730 2010-04-07 Sam Steingold <sds@gnu.org>
12732 * progmodes/compile.el (compilation-save-buffers-predicate):
12733 New custom variable.
12734 (compile, recompile): Pass it to `save-some-buffers'.
12736 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
12738 * wid-edit.el (widget-choose): Move cursor to the second line of
12739 the buffer (Bug#5695).
12741 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12743 Add new VC methods: vc-log-incoming and vc-log-outgoing.
12744 * vc.el (vc-print-log-setup-buttons): New function split out from
12745 vc-print-log-internal.
12746 (vc-log-internal-common): New function, a parametrized version of
12747 vc-print-log-internal.
12748 (vc-print-log-internal): Just call vc-log-internal-common with the
12750 (vc-incoming-outgoing-internal):
12751 (vc-log-incoming, vc-log-outgoing): New functions.
12752 (vc-log-view-type): New permanent local variable.
12754 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
12756 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
12757 of the dynamic bound vc-short-log.
12758 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
12760 * vc-git.el (vc-git-log-outgoing): New function.
12761 (vc-git-log-view-mode): Use vc-log-view-type instead
12762 of the dynamic bound vc-short-log.
12764 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
12765 of the dynamic bound vc-short-log. Highlight the tag.
12766 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
12767 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
12768 (vc-hg-incoming-mode): Remove.
12769 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
12771 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12773 Fix default-directory for vc-root-diff.
12774 * vc.el (vc-root-diff): Bind default-directory to the root
12775 directory for the diff command.
12777 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
12779 * progmodes/verilog-mode.el (verilog-forward-sexp):
12780 (verilog-calc-1): Support "disable fork" and "fork wait" multi
12781 word keywords, suggested by Steve Pearlmutter.
12782 (verilog-pretty-declarations): Support lineup of declarations in
12784 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12785 fix bug for /* / comments.
12786 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12787 Speed up and simplfy as this is never called with a bound.
12788 (verilog-pretty-declarations): Enhance to line up declarations
12789 inside a parameter list, suggested by Alan Morgan.
12790 (verilog-pretty-expr): Tune assignment regular expression match
12791 string for corner cases; also use markers instead of character
12792 number as indent changes the later.
12794 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
12796 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12797 as missing keyword.
12798 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12799 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
12800 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12801 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
12803 (verilog-keywords):
12804 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12805 1800-2009 keywords, including "global.".
12807 2010-04-06 John Wiegley <jwiegley@gmail.com>
12809 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12810 appearing in buffer list (if a live buffer name matched a recentf
12811 file basename). Should use uniquify to offer a real solution.
12813 2010-04-06 John Wiegley <jwiegley@gmail.com>
12815 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12816 comment to code, and add a :version tag.
12817 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12819 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
12821 Enable recentf-mode if using virtual buffers.
12822 * ido.el (recentf-list): Declare for byte-compiler.
12823 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
12824 (ido-make-buffer-list): Simplify.
12825 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
12827 2010-04-05 Juri Linkov <juri@jurta.org>
12829 Scrolling commands which scroll a line instead of full screen.
12830 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12832 * simple.el (scroll-up-line, scroll-down-line): New commands.
12833 Put property isearch-scroll=t on them.
12835 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12838 2010-04-05 Juri Linkov <juri@jurta.org>
12840 Scrolling commands which do not signal errors at top/bottom.
12841 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12843 * simple.el (scroll-up-command, scroll-down-command): New commands.
12844 Put property isearch-scroll=t on them.
12846 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12847 `scroll-down-command' and [next] from `scroll-up' to
12848 `scroll-up-command'.
12850 * emulation/cua-base.el: Put property CUA=move on
12851 `scroll-up-command' and `scroll-down-command'.
12852 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12853 and `scroll-down-command' to `cua-scroll-down'.
12855 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
12857 * help.el (describe-mode): Return nil.
12859 2010-04-04 John Wiegley <jwiegley@gmail.com>
12861 * ido.el (ido-use-virtual-buffers): New variable to indicate
12862 whether "virtual buffer" support is enabled for IDO.
12863 (ido-virtual): Face used to indicate virtual buffers in the list.
12864 (ido-buffer-internal): If a buffer is chosen, and no such buffer
12865 exists, but a virtual buffer of that name does (which would be why
12866 it was in the list), recreate the buffer by reopening the file.
12867 (ido-make-buffer-list): If virtual buffers are being used, call
12868 `ido-add-virtual-buffers-to-list' before the make list hook.
12869 (ido-virtual-buffers): New variable which contains a copy of the
12870 current contents of the `recentf-list', albeit pared down for the
12871 sake of speed, and with proper faces applied.
12872 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12873 create a list of "virtual buffers" to present to the user in
12874 addition to the currently open set. Note that this logic could
12875 get rather slow if that list is too large. With the default
12876 `recentf-max-saved-items' of 200, there is little speed penalty.
12878 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
12880 * font-lock.el: Require CL when compiling.
12881 (font-lock-turn-on-thing-lock): Use `case'.
12883 2010-04-03 Eli Zaretskii <eliz@gnu.org>
12885 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12888 2010-04-02 Juri Linkov <juri@jurta.org>
12890 * ehelp.el (electric-help-orig-major-mode):
12891 New buffer-local variable.
12892 (electric-help-mode): Set it to original major-mode. Doc fix.
12893 (with-electric-help): Use `electric-help-orig-major-mode' instead
12894 of (default-value 'major-mode). Doc fix.
12895 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12897 2010-04-02 Sam Steingold <sds@gnu.org>
12899 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12900 `vc-hg-command' with a list of flags.
12902 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12903 Also accept "patch" and "RFE".
12904 (bug-reference-fontify): `bug-reference-url-format' can also be a
12905 function to be able to handle the bug kind.
12906 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12908 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
12910 * tmm.el (tmm-get-keymap): Check with symbolp before passing
12911 value to fboundp, it may not be a symbol.
12913 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12915 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12917 2010-03-31 Juri Linkov <juri@jurta.org>
12919 * simple.el (next-line, previous-line): Re-throw a signal
12920 with `signal' instead of using `ding'.
12921 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12923 2010-03-31 Juri Linkov <juri@jurta.org>
12925 * simple.el (keyboard-escape-quit): Raise deselecting the active
12926 region higher than exiting the minibuffer.
12927 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12929 2010-03-31 Juri Linkov <juri@jurta.org>
12931 * image.el (image-animated-p): Use `image-metadata' instead of
12932 `image-extension-data'. Get GIF extenstion data from metadata
12933 property `extension-data'.
12935 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12937 * simple.el (append-to-buffer): Simplify.
12939 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
12941 * textmodes/artist.el (artist-mode): Fix typo in docstring.
12942 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
12944 2010-03-31 Kenichi Handa <handa@m17n.org>
12946 * language/sinhala.el (composition-function-table): Fix regexp for
12947 the new Unicode specification.
12949 * language/indian.el (devanagari-composable-pattern)
12950 (tamil-composable-pattern, kannada-composable-pattern)
12951 (malayalam-composable-pattern): Adjust for the new Unicode
12953 (bengali-composable-pattern, gurmukhi-composable-pattern)
12954 (gujarati-composable-pattern, oriya-composable-pattern)
12955 (telugu-composable-pattern): New variables to cope with the new
12956 Unicode specification. Use them in composition-function-table.
12958 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12960 Make tmm-menubar work for the Buffers menu again (bug#5726).
12961 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12962 vectors rather than cons cells, as used in menu-bar-update-buffers.
12964 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12966 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12967 (js-insert-and-indent): Revert 2009-08-15 change, restoring
12968 electric punctuation for "{}();,:" (Bug#5586).
12970 * mail/sendmail.el (mail-default-directory): Doc fix.
12972 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12974 * mail/sendmail.el (mail-default-directory): Doc fix.
12976 2010-03-31 Eli Zaretskii <eliz@gnu.org>
12978 * subr.el (version-regexp-alist, version-to-list)
12979 (version-list-<, version-list-=, version-list-<=)
12980 (version-list-not-zero, version<, version<=, version=): Doc fix.
12983 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
12985 * vc.el (vc-root-diff): Doc fix.
12987 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12989 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12991 * simple.el (append-to-buffer): Fix last change.
12993 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12995 * simple.el (append-to-buffer): Ensure that point is preserved if
12996 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
12999 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13001 * files.el (auto-mode-case-fold): Change default to t.
13003 2010-03-30 Juri Linkov <juri@jurta.org>
13005 * dired-x.el (dired-omit-mode): Doc fix.
13007 2010-03-30 Juri Linkov <juri@jurta.org>
13009 * replace.el (occur-accumulate-lines): Move occur-engine related
13010 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
13011 to be located after `occur-engine'.
13013 2010-03-30 Juri Linkov <juri@jurta.org>
13015 Make occur handle multi-line matches cleanly with context.
13016 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
13018 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
13019 (occur-engine): Add local variables `ret', `prev-after-lines',
13020 `prev-lines'. Use more arguments for `occur-context-lines'.
13021 Set first elem of its returned list to `data', and the second elem
13022 to `prev-after-lines'. Don't print the separator line.
13023 In the end, print remaining context after-lines.
13024 (occur-context-lines): Add new arguments `begpt', `endpt',
13025 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
13026 after-lines of the previous match with before-lines of the
13027 current match and not overlap them. Return a list with two
13028 values: the output line and the list of context after-lines.
13030 2010-03-30 Juri Linkov <juri@jurta.org>
13032 * replace.el (occur-accumulate-lines): Fix a bug where the first
13033 context line at the beginning of the buffer was missing.
13035 2010-03-30 Eli Zaretskii <eliz@gnu.org>
13037 * files.el: Make bidi-display-reordering safe variable for boolean
13040 2010-03-29 Phil Hagelberg <phil@evri.com>
13041 Chong Yidong <cyd@stupidchicken.com>
13043 * subr.el: Extend progress reporters to perform "spinning".
13044 (progress-reporter-update, progress-reporter-do-update):
13045 Handle non-numeric value arguments.
13046 (progress-reporter--pulse-characters): New var.
13048 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
13050 * progmodes/compile.el (compilation-start): Fix regexp detection
13051 of initial cd command (Bug#5771).
13053 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
13055 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
13057 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
13059 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
13060 * progmodes/gdb-mi.el: Restore.
13061 * progmodes/gdb-ui.el: Remove.
13062 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
13064 2010-03-25 Glenn Morris <rgm@gnu.org>
13066 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
13067 all dired buffers, even tramp ones. (Bug#5755)
13069 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13071 Add "union tags" in mpc.el.
13072 * mpc.el: Remove backward compatibility code.
13073 (mpc-browser-tags): Change default.
13074 (mpc--find-memoize-union-tags): New var.
13075 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
13076 (mpc-cmd-find): Handle the case where the playlist does not exist.
13078 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
13079 (mpc-cmd-add): Use mpc-cmd-flush.
13080 (mpc-tagbrowser-tag-name): New fun.
13081 (mpc-tagbrowser-buf): Use it.
13082 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
13084 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13087 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
13088 Use replace-regexp-in-string.
13089 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
13090 (makefile-imake-mode-syntax-table): Move init into defvar.
13091 (makefile-mode): Use define-derived-mode.
13093 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
13094 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
13095 not be present any more.
13097 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
13099 * faces.el (set-face-attribute): Fix typo in docstring.
13100 (face-valid-attribute-values): Reflow docstring.
13102 2010-03-24 Glenn Morris <rgm@gnu.org>
13104 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
13106 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
13108 * indent.el (indent-for-tab-command): Doc fix.
13110 2010-03-24 Alan Mackenzie <acm@muc.de>
13112 * progmodes/cc-engine.el (c-remove-stale-state-cache):
13113 Fix off-by-one error. Fixes bug #5747.
13115 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
13117 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
13118 (image-dired-read-comment): Doc fix.
13120 * json.el (json-object-type, json-array-type, json-key-type)
13121 (json-false, json-null, json-read-number):
13122 * minibuffer.el (completion-in-region-functions):
13123 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
13124 (cal-tex-cursor-week):
13125 * emacs-lisp/trace.el (trace-function):
13126 * eshell/em-basic.el (eshell/printnl):
13127 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
13128 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
13129 * obsolete/levents.el (allocate-event, event-key, event-object)
13130 (event-point, event-process, event-timestamp, event-to-character)
13131 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
13132 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
13133 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
13134 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
13135 (reftex-highlight-selection): Fix typos in docstrings.
13137 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
13139 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
13141 2010-03-24 Glenn Morris <rgm@gnu.org>
13143 * mail/rmail.el (rmail-highlight-face): Restore option deleted
13144 2008-02-13 without comment; mark it obsolete.
13145 (rmail-highlight-headers): Use rmail-highlight-face once more.
13147 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
13149 * woman.el (woman2-process-escapes): Only consume the newline if
13150 the filler character is on a line by itself (Bug#5729).
13152 2010-03-24 Kenichi Handa <handa@m17n.org>
13154 * language/indian.el (devanagari-composable-pattern): Add more
13157 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
13159 * net/trampver.el: Update release number.
13161 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
13163 * net/tramp.el (tramp-find-executable):
13164 Use `tramp-get-connection-buffer'. Make the regexp for checking
13165 output of "wc -l" more robust.
13166 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
13167 (tramp-open-connection-setup-interactive-shell): Remove workaround
13168 for OpenSolaris bug, it is not needed anymore.
13170 2010-03-24 Glenn Morris <rgm@gnu.org>
13172 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
13174 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
13176 * files.el (auto-mode-alist): Accept more verilog file patterns.
13178 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13180 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
13182 2010-03-24 Glenn Morris <rgm@gnu.org>
13184 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
13185 log-edit-before-checkin-process.
13187 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
13189 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
13191 * vc-dispatcher.el (vc-start-logentry): Doc fix.
13192 (log-view-process-buffer, log-edit-extra-flags): Declare.
13194 * log-edit.el (log-edit-before-checkin-process): Doc fix.
13196 2010-03-23 Sam Steingold <sds@gnu.org>
13198 Fix bug#5620: recalculate all markers on compilation buffer
13199 modifications, not on file modifications.
13200 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
13201 variable: the buffer modification time, for buffers not associated with
13203 (compilation-mode): Create it.
13204 (compilation-filter): Update it.
13205 (compilation-next-error-function): Use it instead of
13206 `visited-file-modtime' for timestamp.
13208 2010-03-23 Juri Linkov <juri@jurta.org>
13210 Implement Occur multi-line matches.
13211 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
13213 * replace.el (occur): Doc fix.
13214 (occur-engine): Set `begpt' to the beginning of the first line.
13215 Set `endpt' to the end of the last match line. At first, count
13216 line numbers between `origpt' and `begpt'. Split out code from
13217 `out-line' variable to new let-bindings `match-prefix' and
13218 `match-str'. In `out-line' add non-numeric prefix to all
13219 non-first lines of multi-line matches. Finally, count lines
13220 between `begpt' and `endpt' and add to `lines'.
13222 2010-03-23 Juri Linkov <juri@jurta.org>
13224 * replace.el (occur-accumulate-lines, occur-engine):
13225 Use `occur-engine-line' instead of duplicate code.
13226 (occur-engine-line): New function created from duplicate code
13227 in `occur-accumulate-lines' and `occur-engine'.
13229 * replace.el (occur-engine-line): Add optional arg `keep-props'.
13230 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
13232 2010-03-23 Juri Linkov <juri@jurta.org>
13234 * finder.el: Remove TODO tasks.
13236 * info.el (Info-finder-find-node): Add node "all"
13237 with all package info. Handle a list of multiple keywords
13238 separated by comma.
13239 (info-finder): In interactive use with a prefix argument,
13240 use `completing-read-multiple' to read a list of keywords
13241 separated by comma.
13243 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
13245 Add a new completion style `substring'.
13246 * minibuffer.el (completion-basic--pattern): New function.
13247 (completion-basic-try-completion, completion-basic-all-completions):
13249 (completion-substring--all-completions)
13250 (completion-substring-try-completion)
13251 (completion-substring-all-completions): New functions.
13252 (completion-styles-alist): New style `substring'.
13254 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
13256 Get rid of .elc files after removal of the corresponding .el.
13257 * Makefile.in (compile-clean): New target.
13258 (compile-main): Use it.
13260 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
13262 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
13263 don't do make there. When compiling with separate object dir, there
13264 is no Makefile there.
13266 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
13268 Get rid of the ELCFILES abomination, again.
13269 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13270 (all, compile): Don't call compile-last.
13271 (compile-main): Build the "elcfiles" list dynamically.
13272 (compile-targets): New (internal) target.
13274 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
13276 * Makefile.in (top_srcdir): Define.
13277 (abs_top_builddir): Define.
13278 (srcdir): Don't append `/..'.
13279 (EMACS): Use ${abs_top_builddir}.
13280 (all, compile, compile-always, compile-last): Don't set emacswd.
13281 (update-subdirs, update-authors): Use $(top_srcdir) instead of
13283 (lisp): Use $(srcdir) instead of @srcdir@.
13285 2010-03-21 Juri Linkov <juri@jurta.org>
13287 Fix message of multi-line occur regexps and multi-buffer header lines.
13288 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
13290 * replace.el (occur-1): Don't display regexp if it is longer
13291 than window-width. Use `query-replace-descr' to display regexp.
13292 (occur-engine): Don't display regexp in the buffer header for
13293 multi-buffer occur. Display a separate header line with total
13294 match count and regexp for multi-buffer occur.
13295 Use `query-replace-descr' to display regexp.
13297 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
13299 * net/secrets.el: Fix parenthesis.
13300 (secrets-enabled): Fix parenthesis.
13302 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13304 Use more relative file and directory names.
13305 * Makefile.in (EMACS): Arrange for it to work when we chdir.
13306 (setwins, setwins_almost, setwins_for_subdirs):
13307 Don't `cd'; output relative names.
13308 (all, compile, compile-always, compile-last): Set emacswd.
13309 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
13310 Just cd to the lisp source dir so we can use relative file names.
13312 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
13314 2010-03-20 Glenn Morris <rgm@gnu.org>
13316 * textmodes/rst.el: Use faces for font-lock customization, and make the
13317 old -face variables obsolete.
13318 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
13319 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
13320 (rst-block-face, rst-external-face, rst-definition-face)
13321 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
13322 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
13324 (rst-font-lock-keywords-function): Update for above changes.
13326 2010-03-20 Juri Linkov <juri@jurta.org>
13329 * obsolete/s-region.el: Move to obsolete.
13331 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
13333 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
13335 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
13337 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
13339 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
13341 Add special markup processing for commit logs.
13342 * log-edit.el (log-edit-extra-flags): New variable.
13343 (log-edit): Add new argument MODE. Use that mode when non-nil
13344 instead of the log-view-mode.
13345 (log-view-process-buffer): New function.
13347 * vc.el: Document that the checkin method takes optional
13348 arguments. Document new backend specific method: log-view-mode.
13349 (vc-default-log-edit-mode): New function.
13350 (vc-checkin): Use a backend specific log-view-mode.
13351 Pass extra arguments to the checkin method.
13352 (vc-modify-change-comment): Pass a dummy extra argument.
13354 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
13356 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
13357 (vc-finish-logentry): Process the log buffer before passing it
13358 down. Pass log-edit-extra-flags.
13360 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
13362 (log-edit-extra-flags, log-edit-before-checkin-process):
13365 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
13367 (log-edit-extra-flags, log-edit-before-checkin-process):
13369 (vc-hg-log-edit-mode): New derived mode.
13371 * vc-arch.el (vc-arch-checkin):
13372 * vc-cvs.el (vc-cvs-checkin):
13373 * vc-git.el (vc-git-checkin):
13374 * vc-mtn.el (vc-mtn-checkin):
13375 * vc-rcs.el (vc-rcs-checkin):
13376 * vc-sccs.el (vc-sccs-checkin):
13377 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
13379 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13381 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
13384 2010-03-19 Glenn Morris <rgm@gnu.org>
13386 * password-cache.el (password-cache, password-cache-expiry): Autoload.
13388 2010-03-18 Glenn Morris <rgm@gnu.org>
13390 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
13392 * replace.el (query-replace-history): Give it a doc string.
13393 (map-query-replace-regexp): Use query-replace-from-history-variable
13394 and query-replace-to-history-variable.
13396 * mail/hashcash.el (declare-function): Remove duplicate definition.
13398 * mail/emacsbug.el (report-emacs-bug-pretest-address):
13399 Make it an obsolete alias for report-emacs-bug-address.
13400 (message-strip-special-text-properties): Declare.
13401 (report-emacs-bug): Remove test for a pretest bug address.
13402 Combine message-mode-specific code.
13404 * mail/supercite.el: Don't require sendmail.
13405 (mh-in-header-p): Declare rather than using with-no-warnings.
13406 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
13407 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
13409 * calendar/cal-french.el: Convert to utf-8.
13411 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
13414 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
13416 * net/secrets.el (secrets-enabled): New variable. Use it instead
13419 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
13421 * net/secrets.el (top): Register the D-Bus signals only when the
13422 service "org.freedesktop.secrets" can be pinged.
13423 Provide subfeature `enabled'.
13425 2010-03-14 Juri Linkov <juri@jurta.org>
13427 Add finder unknown keywords.
13429 * finder.el (finder-unknown-keywords): New function.
13431 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
13432 to create a Finder node with unknown keywords.
13434 2010-03-14 Juri Linkov <juri@jurta.org>
13436 * finder.el (finder-compile-keywords): Replace `princ' with
13437 `prin1' on a list of symbols interned from keyword strings.
13439 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
13440 a comma, then split keywords using a comma and optional whitespace.
13441 Otherwise, split by whitespace.
13449 * progmodes/mixal-mode.el: Fix keywords.
13451 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
13453 * Makefile.in (ELCFILES): Add net/secrets.elc.
13455 * net/secrets.el: New file.
13457 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13459 * facemenu.el (list-colors-display, list-colors-print): New arg
13460 callback. Use it to allow selecting colors.
13462 * wid-edit.el (widget-image-insert): Insert image prop even if the
13463 current display is non-graphic.
13464 (widget-field-value-set): New fun.
13465 (editable-field): Use it.
13466 (widget-field-value-get): Clean up unused var.
13467 (widget-color-value-create, widget-color--choose-action):
13468 New funs. Allow using list-colors-display to choose color.
13470 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13472 * cus-edit.el: Resort topmost custom groups.
13473 (custom-buffer-sort-alphabetically): Default to t.
13474 (customize-apropos): Use apropos-parse-pattern.
13475 (custom-search-field): New var.
13476 (custom-buffer-create-internal): Add custom-apropos search field.
13477 (custom-add-parent-links): Don't display parent doc.
13478 (custom-group-value-create): Don't sort top-level custom group.
13479 (custom-magic-value-create): Show visibility button before option name.
13481 (custom-variable-state): New fun, from custom-variable-state-set.
13482 (custom-variable-state-set): Use it.
13483 (custom-group-value-create): Hide options with standard values
13484 using the :hidden-states property. Use progress reporter.
13486 (custom-show): Simplify.
13487 (custom-visibility): Disable images by default.
13488 (custom-variable): New property :hidden-states.
13489 (custom-variable-value-create): Enable images for
13490 custom-visibility widgets. Use :hidden-states property to
13491 determine initial visibility.
13493 * wid-edit.el (widget-image-find): Give images center ascent.
13494 (visibility): Add :on-image and :off-image properties.
13495 (widget-visibility-value-create): Use them.
13497 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13499 * cus-edit.el (processes): Remove from development group.
13500 (oop, hypermedia): Delete group.
13501 (comm): Promote to top-level group.
13503 * net/browse-url.el (browse-url):
13504 * net/xesam.el (xesam):
13505 * net/tramp.el (tramp):
13506 * net/goto-addr.el (goto-address):
13507 * net/ange-ftp.el (ange-ftp): Put in comm group.
13509 * view.el (view): Remove from editing group.
13511 * uniquify.el (uniquify): Put in files group.
13513 * net/browse-url.el (browse-url):
13514 * ps-print.el (postscript): Put in external group.
13516 * cus-edit.el (outlines):
13517 * textmodes/text-mode.el (text-mode-hook):
13518 * textmodes/table.el (table):
13519 * textmodes/picture.el (picture):
13520 * outline.el (outlines): Put in wp group.
13522 * nxml/nxml-mode.el (nxml): Remove from wp group.
13524 * net/tramp-imap.el (tramp-imap): Put in tramp group.
13526 * mail/metamail.el (metamail): Remove from hypermedia group.
13528 * cus-edit.el (abbrev):
13529 * whitespace.el (whitespace):
13530 * vcursor.el (vcursor):
13531 * reveal.el (reveal):
13532 * hl-line.el (hl-line): Put in convenience group.
13534 * epg-config.el (epg): Put in data group.
13536 * emulation/pc-select.el (pc-select): Put in emulations group.
13538 * calculator.el (calculator): Put in applications group.
13540 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13542 Add .dir-locals.el support for file-less buffers.
13543 * files.el (hack-local-variables): Split out code to apply local
13544 variable settings ...
13545 (hack-local-variables-apply): ... here. New function.
13546 (hack-dir-local-variables): Use the default directory for when the
13547 buffer does not have an associated file.
13548 (hack-dir-local-variables-non-file-buffer): New function.
13549 * diff-mode.el (diff-mode):
13550 * vc-annotate.el (vc-annotate-mode):
13551 * vc-dir.el (vc-dir-mode):
13552 * log-edit.el (log-edit-mode):
13553 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
13555 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13557 Add support for shelving snapshots and for showing shelves.
13558 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
13559 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
13561 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13562 (vc-bzr-extra-menu-map): Map them.
13564 2010-03-11 Glenn Morris <rgm@gnu.org>
13566 * cus-edit.el (customize-changed-options-previous-release):
13569 * image.el (image-animate-max-time): Fix :version tag.
13571 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
13575 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
13577 * vc-git.el (vc-git-revision-table): Include remote branches.
13579 2010-03-10 Kim F. Storm <storm@cua.dk>
13581 Animated image API.
13582 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
13584 * image.el (image-animate-max-time): New defcustom.
13585 (image-animated-types): New defconst.
13586 (create-animated-image, image-animate-timer)
13587 (image-animate-start, image-animate-stop, image-animate-timeout)
13588 (image-animated-p): New functions.
13590 * image-mode.el (image-toggle-display-image):
13591 Replace `create-image' with `create-animated-image'.
13593 2010-03-09 Miles Bader <miles@gnu.org>
13595 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
13596 instead of "format:"; this ensures that the output is
13597 newline-terminated.
13599 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
13601 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
13602 that all errors are caught, and that the return value is always a
13605 2010-03-08 Kenichi Handa <handa@m17n.org>
13607 * language/misc-lang.el (windows-1256): New coding system.
13608 (cp1256): New alias of windows-1256 (bug#5690).
13610 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
13612 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
13613 call to rfc822-bad-address. (Bug#5692)
13615 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
13617 * vc-git.el (vc-git-annotate-extract-revision-at-line):
13618 Use vc-git-root as default directory for revision path (Bug#5657).
13620 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
13622 * calculator.el (calculator): Don't bind split-window-keep-point
13625 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
13627 * vc-git.el: Re-flow to fit into 80 columns.
13628 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
13629 Remove spurious `quote' element in each case alternative.
13630 (vc-git-show-log-entry): Use prog1.
13631 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
13633 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
13635 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
13637 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
13639 * macros.el (insert-kbd-macro): Look up keyboard macro using the
13640 definition, not the name (Bug#5481).
13642 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
13644 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
13645 argument with a local variable. (Bug#5670)
13647 2010-03-02 Juri Linkov <juri@jurta.org>
13649 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
13651 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
13653 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
13654 error when FILENAME and NEWNAME are existing remote directories.
13656 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
13657 parameter DIR-FLAG.
13659 2010-03-02 Glenn Morris <rgm@gnu.org>
13661 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
13662 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
13664 2010-03-01 Kenichi Handa <handa@m17n.org>
13666 * language/burmese.el (burmese-composable-pattern): Rename from
13667 myanmar-composable-pattern.
13669 * international/characters.el (script-list):
13670 * international/fontset.el (script-representative-chars):
13671 Change myanmar to burmese.
13672 (otf-script-alist): Likewise.
13673 (setup-default-fontset): Likewise. Re-fix :otf spec.
13675 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
13677 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
13679 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
13681 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
13683 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13685 * net/tramp.el (tramp-handle-write-region): START can be a string.
13686 Take care in the checks. Reported by Dan Davison
13687 <davison@stats.ox.ac.uk>.
13689 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13691 * net/dbus.el (dbus-introspect, dbus-get-property)
13692 (dbus-set-property, dbus-get-all-properties):
13693 Use `dbus-call-method' when noninteractive. (Bug#5645)
13695 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
13697 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
13698 * emacs-lisp/elint.el (elint-add-required-env):
13699 * calendar/icalendar.el (icalendar--add-diary-entry):
13700 * calc/calcalg2.el (math-tracing-integral):
13701 * files.el (recover-session-finish): Use with-current-buffer
13702 instead of save-excursion.
13704 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
13706 Fix in-buffer completion when after-change-functions modify the buffer.
13707 * minibuffer.el (completion--replace): New function.
13708 (completion--do-completion): Use it and use relative movement.
13710 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
13712 * international/fontset.el (setup-default-fontset): Fix :otf spec.
13714 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
13716 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
13717 Allow the characters _<> in the stack entry (Bug#5653).
13719 2010-02-26 Kenichi Handa <handa@m17n.org>
13721 * language/burmese.el: Fix entries in composition-function-table.
13722 (myanmar-composable-pattern): New variable.
13724 * international/fontset.el (setup-default-fontset): Add an entry
13727 * international/characters.el (script-list): Add Myanmar
13730 2010-02-26 Glenn Morris <rgm@gnu.org>
13732 * custom.el (custom-initialize-delay): Doc fix.
13734 * mail/sendmail.el (send-mail-function): Autoload the call
13735 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
13737 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
13739 * files.el (hack-local-variables-filter): For eval forms, also
13740 check safe-local-variable-p (Bug#5636).
13742 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
13744 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
13745 setting the modes by `ignore-errors'. It might fail, for example
13746 if the file is not owned by the user but the group.
13747 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
13749 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
13751 * files.el (directory-listing-before-filename-regexp):
13752 Use stricter matching for iso-style dates, to avoid false matches with
13753 date-like filenames (Bug#5597).
13755 * htmlfontify.el (htmlfontify): Doc fix.
13757 * eshell/eshell.el (eshell): Doc fix.
13759 * startup.el (fancy-about-screen): In mode-line, apply
13760 mode-line-buffer-id face only to the buffer name (Bug#5613).
13762 2010-02-20 Kevin Ryde <user42@zip.com.au>
13764 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13765 In `watcom' anchor regexp to start of line, to avoid slowness
13768 2010-02-20 Eli Zaretskii <eliz@gnu.org>
13770 * subr.el (remove-yank-excluded-properties): Explain in a comment
13771 why `category' property is removed.
13773 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
13775 * isearch.el (isearch-update-post-hook, isearch-update):
13776 Revert 2010-02-17 change.
13778 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
13780 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
13781 (icalendar--convert-weekly-to-ical)
13782 (icalendar--convert-yearly-to-ical)
13783 (icalendar--convert-block-to-ical)
13784 (icalendar--convert-cyclic-to-ical)
13785 (icalendar--convert-anniversary-to-ical): Take care of time
13786 specifications where hour has 1-digit only (Bug#5549).
13788 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
13790 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13791 of disassemble output in GDB 7.1.
13793 2010-02-19 Glenn Morris <rgm@gnu.org>
13795 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13796 property. (Bug#5593)
13798 2010-02-18 Sam Steingold <sds@gnu.org>
13800 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13802 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
13804 Use abbreviated file names in bookmarks (bug#5591).
13805 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13806 calls to expand-file-name.
13807 (bookmark-relocate): Use abbreviated file names in bookmarks.
13808 (bookmark-load): Use abbreviated file names in messages.
13810 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13812 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13813 expand "." and "..". Reported by Thierry Volpiatto
13814 <thierry.volpiatto@gmail.com>.
13816 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13818 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13819 permissions of the temporary file to "0600". In case the remote
13820 file has no read permissions for the owner, there might be
13821 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
13823 22010-02-18 Glenn Morris <rgm@gnu.org>
13825 * emacs-lisp/authors.el (authors-renamed-files-alist):
13826 Add entries for INSTALL.CVS.
13828 2010-02-17 Mark A. Hershberger <mah@everybody.org>
13830 * vc-bzr.el: Fix typo in Known Bugs section.
13832 * isearch.el (isearch-update-post-hook): New hook.
13833 (isearch-update): Use the new hook.
13835 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
13837 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13838 Fix errors in copying directories.
13839 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13840 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13841 (tramp-handle-delete-file)
13842 (tramp-handle-dired-recursive-delete-directory)
13843 (tramp-handle-write-region): Flush also the cache for the upper
13846 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
13848 * simple.el (save-interprogram-paste-before-kill): Doc fix.
13850 * cus-edit.el (hardware): Doc fix.
13852 * man.el (man): Add to external custom group.
13854 * delim-col.el (columns): Move to wp custom group.
13856 * doc-view.el (doc-view): Add to data custom group.
13858 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13860 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13861 by ispell-parse-output (Bug#5575).
13863 2010-02-16 Kenichi Handa <handa@m17n.org>
13865 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13866 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13867 (skkdic-convert): Use `euc-japan' coding system for writing.
13869 2010-02-16 Glenn Morris <rgm@gnu.org>
13871 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13872 tex-main-file before using it. (Bug#5562)
13874 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
13876 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13877 warnings, since it is annoying for the user to see them each time he
13880 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
13882 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13883 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13884 instead of PROC for caching "first-password-request". Otherwise,
13885 new processes would not profit from passwords already entered.
13887 * net/tramp-cache.el (tramp-dump-connection-properties):
13888 Don't save "first-password-request" property.
13890 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
13892 * outline.el (outline-head-from-level):
13893 * simple.el (with-wrapper-hook):
13894 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13895 (elint-defun, elint-buffer-env, elint-top-form-logged)
13896 (elint-unbound-variable):
13897 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13898 Fix typos in docstrings.
13900 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
13902 * files.el (insert-directory): When WILDCARD-REGEXP and
13903 FULL-DIRECTORY-P are nil, insert the file entry instead of the
13904 whole directory. (Bug#5551)
13906 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
13907 dired's alignment sanity. (Bug#5516)
13909 2010-02-14 Juri Linkov <juri@jurta.org>
13911 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13912 Remove remaining ^H with their preceding chars. (Bug#5566)
13914 2010-02-13 Glenn Morris <rgm@gnu.org>
13916 * simple.el (transpose-subr): Give it a doc-string.
13918 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13921 2010-02-12 Juri Linkov <juri@jurta.org>
13923 * arc-mode.el (archive-unique-fname): Make directories for nested
13924 archives. (Bug#5540)
13926 2010-02-12 Juri Linkov <juri@jurta.org>
13928 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
13930 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
13932 * subr.el (copy-overlay): Handle deleted overlays.
13934 * man.el (Man-completion-table): Don't signal an error if we can't run
13935 manual-program (bug#4056).
13937 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
13939 * textmodes/artist.el (artist-mt): Fix typos in docstring.
13941 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13943 * info.el (Info-bookmark-jump): Simplify.
13945 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13946 (bookmark-default-handler): Accept new bookmark field `buffer'.
13948 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
13950 * iswitchb.el (iswitchb-completions): Revert last change.
13952 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
13954 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13955 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13956 This prevents file names like "~/" being listed literally.
13958 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
13960 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13961 Remove dead code. (Bug#5546)
13963 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
13965 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13966 correctly (Bug#5548).
13968 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
13970 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13971 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13973 2010-02-08 Kenichi Handa <handa@m17n.org>
13975 * international/mule-util.el (with-coding-priority): Add autoload
13976 cookie for putting `lisp-indent-function'.
13978 2010-02-07 Glenn Morris <rgm@gnu.org>
13980 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13981 Move F2003 named interfaces from keywords-2 to keywords-1, and
13982 use function-name-face rather than constant-face.
13983 Simplify "abstract interface" regexp.
13985 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
13987 * eshell/esh-util.el (eshell-file-attributes): New optional arg
13988 ID-FORMAT. Pass it to `file-attributes'.
13990 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13992 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
13994 * faces.el (set-face-attribute): Allow calling
13995 internal-set-lisp-face-attribute with 'unspecified family and
13996 foundry argument (Bug#5536).
13998 2010-02-07 Glenn Morris <rgm@gnu.org>
14000 * progmodes/f90.el (f90-font-lock-keywords-2)
14001 (f90-looking-at-type-like, f90-looking-at-program-block-end):
14002 Handle F2003 named interfaces.
14004 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
14006 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
14007 beg and end before calling c-get-state-before-change-functions.
14009 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
14011 * vc-bzr.el (vc-bzr-dir-extra-headers):
14012 Disable the pending merges header.
14014 2010-02-05 Juri Linkov <juri@jurta.org>
14016 * doc-view.el (doc-view-mode):
14017 * image-mode.el (image-mode): Put property mode-class=special.
14020 2010-02-05 Mark A. Hershberger <mah@everybody.org>
14022 * vc-svn.el (vc-svn-revision-table): New function.
14024 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
14026 * net/ange-ftp.el (ange-ftp-insert-directory):
14027 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
14028 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
14029 Handle also directories. (Bug#5478)
14031 2010-02-05 Glenn Morris <rgm@gnu.org>
14033 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
14035 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
14037 * startup.el (command-line-1): Convert options beginning with a
14038 single dash as well (Bug#5519).
14040 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
14042 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
14043 * minibuffer.el (completion-initials-expand): Only check the presence
14044 of delims *within* the boundaries, since otherwise the / delim is
14045 always found for files.
14047 Fix up various corner case problems.
14048 * doc-view.el (doc-view-last-page-number): New function.
14049 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
14050 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
14051 (doc-view-kill-proc): Avoid inf-loop in freak cases.
14052 (doc-view-reconvert-doc): Use the new recursive delete-directory.
14053 (doc-view-convert-current-doc): Don't create the resolution.el file
14055 (doc-view-pdf/ps->png): Do it here instead.
14056 (doc-view-already-converted-p): Check that resolution.el is present.
14057 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
14058 windows that are not yet showing images.
14060 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
14062 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
14063 `dired-uncache' for every elemnt which is an absolute file name.
14065 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
14066 directory, handle its directory component.
14067 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
14068 function is called permanently and creates noise, otherwise.
14070 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
14071 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
14072 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
14074 2010-02-04 David Burger <dburger@google.com> (tiny change)
14076 * macros.el (apply-macro-to-region-lines):
14077 Minor simplification. (Bug#5485)
14079 2010-02-04 Glenn Morris <rgm@gnu.org>
14081 * mail/rmail.el (rmail-show-message-1): Handle malformed
14082 quoted-printable text. (Bug#5441)
14084 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
14086 * simple.el (visual-line-mode): Capitalize lighter.
14088 2010-02-03 John Wiegley <jwiegley@gmail.com>
14090 * iswitchb.el (iswitchb-completions): Add bookmark files to the
14091 list of files considered for "virtual buffer" completions.
14093 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
14095 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
14096 also in case of (and (not full) (not wildcard)). This is needed
14097 when dired is called with a list of files, which are not in
14098 `default-directory'. (Bug#5478)
14100 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
14102 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
14104 2010-02-02 Juri Linkov <juri@jurta.org>
14106 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
14107 from unidiff to allow function-line after @@.
14109 2010-02-02 Juri Linkov <juri@jurta.org>
14111 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
14112 '(RCS SCCS) with inverted condition.
14114 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
14116 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
14119 2010-02-01 Juri Linkov <juri@jurta.org>
14121 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
14122 compare with "pkunzip" and "pkzip" instead of only "pkzip".
14123 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
14124 only when (car archive-zip-extract) is "unzip". (Bug#5475)
14126 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
14128 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
14129 (doc-view-revert-buffer): New command.
14130 (doc-view-mode-map): Use it.
14132 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
14134 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
14135 pending merge is detected.
14137 2010-01-31 Juri Linkov <juri@jurta.org>
14139 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
14140 beginning of interactive spec like all other grep commands do.
14141 Put "all" in front of "gz". (Bug#5260)
14143 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
14145 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
14147 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
14149 * dirtrack.el (dirtrack): Warn instead of signalling error if the
14150 regexp is incorrect (Bug#5476).
14152 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
14154 * net/tramp.el (tramp-handle-insert-directory): Handle also
14155 symlinks, when FILENAME is not in `default-directory'.
14157 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
14159 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
14160 FILE is not in `default-directory'. (Bug#5478)
14162 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
14163 of SWITCHES. Handle the case, FILENAME is not in
14164 `default-directory'. (Bug#5478)
14165 (tramp-register-file-name-handlers): Add safe-magic property.
14167 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
14169 * arc-mode.el (archive-zip-extract): Quote the argument passed to
14172 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
14174 * progmodes/flymake.el (flymake-allowed-file-name-masks)
14175 (flymake-master-make-header-init): Add other C++ filename masks.
14176 (flymake-find-possible-master-files)
14177 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
14179 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
14181 Fix some busybox annoyances.
14183 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
14184 not responding." string.
14185 (tramp-open-connection-setup-interactive-shell): Dump stty
14186 settings. Enable "neveropen" arg for all `tramp-send-command'
14187 calls. Handle "=" in variable values properly.
14188 (tramp-find-inline-encoding): Raise an error, when no encoding is
14190 (tramp-wait-for-output): Check, whether PROC buffer is available.
14191 Remove spurious " ^H" sequences, sent by busybox.
14192 (tramp-get-ls-command): Suppress coloring, if possible.
14194 2010-01-28 Glenn Morris <rgm@gnu.org>
14196 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
14198 * log-edit.el (log-edit-strip-single-file-name): Add missing
14199 :safe, :group, and :version tags.
14201 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
14203 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
14204 buffers. (Bug#5477)
14206 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
14208 * files.el (delete-directory): Handle moving to trash without
14209 first doing recursion (Bug#5436).
14211 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
14213 * vc-hooks.el (vc-path): Mark as obsolete.
14215 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
14217 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
14220 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
14222 (vc-bzr-log-view-mode): Adjust regexp for the above change.
14224 2010-01-25 Mark A. Hershberger <mah@everybody.org>
14226 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
14228 * vc-bzr.el (vc-bzr-revision-table): New function.
14230 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
14232 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
14233 diff-index command. This requires at least git-1.5.5. (Bug#1589).
14235 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
14237 Remove support for adding --signoff on commit.
14238 Future support will use an incompatible generic mechanism.
14239 * vc-git.el (vc-git-add-signoff): Remove variable.
14240 (vc-git-toggle-signoff): Remove function.
14241 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
14243 * term/xterm.el (xterm-maybe-set-dark-background-mode):
14244 Rename from xterm-set-background-mode. Return t if the background mode
14246 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
14247 earlier, call it again in case the background mode has changed.
14249 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
14251 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
14254 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
14256 * emacs-lisp/assoc.el (aelement): Doc fix.
14257 (aput, adelete, amake): Use lexical-let (Bug#5450).
14259 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
14261 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
14262 is the same as subprogram call, not declaration. (Bug#5435).
14264 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
14266 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
14267 (tramp-smb-maybe-open-connection): Use it.
14269 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
14271 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
14273 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
14275 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
14276 just because we see "encoding: 8bit".
14277 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
14279 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
14281 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
14283 2010-01-22 Eli Zaretskii <eliz@gnu.org>
14285 * jka-compr.el (jka-compr-load): If load-file is not in
14286 load-history, try its file-truename version. (bug#5447)
14288 2010-01-21 Alan Mackenzie <acm@muc.de>
14290 Fix a situation where deletion of a cpp construct throws an error.
14291 * progmodes/cc-engine.el (c-invalidate-state-cache):
14292 Before invoking c-with-all-but-one-cpps-commented-out, check that the
14293 special cpp construct is still in the buffer.
14294 (c-parse-state): Record the special cpp with markers, not numbers.
14296 2010-01-21 Kenichi Handa <handa@m17n.org>
14298 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
14299 process last-command-event, as it is now decoded first (Bug#5380).
14301 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
14303 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
14305 2010-01-20 Glenn Morris <rgm@gnu.org>
14307 * indent.el (tab-always-indent): Fix custom-type.
14309 2010-01-19 Alan Mackenzie <acm@muc.de>
14311 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
14312 buffer throws "args out of range".
14313 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
14314 playing the role of delimiter.
14316 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
14318 * progmodes/ada-mode.el: Fix bug#5400.
14319 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
14320 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
14321 changed. Delete RECURSIVE parameter; never used. Improve doc string.
14322 Improve comments in "is" portion. Handle null procedure declaration.
14323 (ada-move-to-end): Improve doc string.
14325 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
14327 * ido.el (ido-cur-list): Initialize to nil.
14328 Remove obsolete information from commentary.
14329 (ido-choice-list): Initialize to nil.
14330 (ido-get-bufname): Reject minibuffers.
14331 (ido-make-buffer-list): If "default" is a nonexistent
14332 buffer, ignore it, as per the function's comment.
14333 (ido-kill-buffer-internal): New function.
14334 (ido-kill-buffer-at-head): Use it.
14335 (ido-visit-buffer): Likewise.
14337 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
14339 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
14341 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
14343 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
14344 Fix typos in chart titles.
14346 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
14347 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
14348 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
14349 (describe-class, eieio-describe-generic, describe-generic):
14350 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
14351 (eieio-speedbar-expand):
14352 * emulation/viper-cmd.el (viper-exec-form-in-vi)
14353 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
14354 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
14355 (viper-del-backward-char-in-replace, viper-backward-indent)
14356 (viper-brac-function, viper-register-to-point, viper-submit-report):
14357 * net/tramp.el (tramp-remote-coding-commands):
14358 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
14359 Fix typos in docstrings.
14361 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
14363 * mail/sendmail.el (mail-yank-original): Set the mark if the
14364 specified function for yanking does not do it.
14366 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
14368 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
14370 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
14371 resyncing a directory.
14373 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
14375 * progmodes/ada-mode.el: Fix bug#1920.
14376 (ada-ident-re): Delete ., allow multibyte characters.
14377 (ada-goto-label-re): New; matches goto labels.
14378 (ada-block-label-re): New; matches block labels.
14379 (ada-label-re): New; matches both.
14380 (ada-named-block-re): Delete; callers changed to use
14381 `ada-block-label-re' instead.
14382 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
14383 Use `ada-block-label-re'.
14384 (ada-indent-on-previous-lines): Improve handling of goto labels.
14385 (ada-get-indent-block-start): Special-case block label.
14386 (ada-get-indent-label): Split into `ada-indent-block-label' and
14387 `ada-indent-goto-label'.
14388 (ada-goto-stmt-start, ada-goto-next-non-ws):
14389 Optionally ignore goto labels.
14390 (ada-goto-next-word): Simplify.
14391 (ada-indent-newline-indent-conditional): Insert newline before
14392 trying to fix indentation; doc fix.
14394 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
14396 * calc/calc.el (calc-command-flags): Give it an initial value.
14398 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
14400 * files.el (minibuffer-with-setup-hook):
14401 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
14402 (artist-key-draw-continously, artist-key-do-continously-continously)
14403 (artist-key-set-point-continously, artist-mouse-draw-continously):
14404 Fix typos in docstrings.
14406 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
14408 * nxml/nxml-mode.el (nxml-extend-after-change-region):
14409 Never return t (Bug#3898).
14411 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
14413 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
14414 can parse the output of the external commands (Bug#5279).
14416 2010-01-16 Jari Aalto <jari.aalto@cante.net>
14418 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
14420 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
14422 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
14424 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
14426 * startup.el (command-line): Remove unused --icon-type arg.
14427 Handle --display arg, passing it to command-line-1 (Bug#5392).
14429 2010-01-16 Mario Lang <mlang@delysid.org>
14431 * emacs-lisp/chart.el (chart-translate-namezone):
14432 * textmodes/artist.el (artist-compute-popup-menu-table):
14433 Remove duplicated words in doc-strings.
14435 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
14437 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
14438 to mairix-search to suppress threading (Bug#5342).
14440 2010-01-15 Kenichi Handa <handa@m17n.org>
14442 * international/mule-cmds.el (canonicalize-coding-system-name):
14443 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
14445 2010-01-15 Glenn Morris <rgm@gnu.org>
14447 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
14449 * wid-edit.el (widget-keymap): Doc fix.
14451 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
14452 former seems to be more widely accepted by various svn versions.
14454 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14456 * find-cmd.el (find-constituents):
14457 * vc-arch.el (vc-arch-root):
14458 * window.el (window-body-height, pop-up-frames):
14459 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
14460 * progmodes/ada-stmt.el (ada-if):
14461 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
14462 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
14463 (ispell-encoding8-command, ispell-aspell-supports-utf8)
14464 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
14466 * progmodes/flymake.el (flymake-post-syntax-check):
14467 Fix typo in error message.
14469 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14471 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
14472 which is always a string. (Bug#5313)
14474 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14476 * progmodes/ada-xref.el (ada-default-prj-properties):
14477 Simplify previous change.
14479 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14481 * progmodes/ada-xref.el (ada-default-prj-properties):
14482 Default ada_project_path to $ADA_PROJECT_PATH.
14484 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14486 * progmodes/ada-mode.el (ada-create-keymap):
14487 Override `narrow-to-defun' with `ada-narrow-to-defun'.
14489 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14491 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
14492 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
14493 (ada-get-current-indent, ada-imenu-generic-expression)
14494 (ada-which-function): Check for it.
14496 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14498 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
14499 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
14501 2010-01-14 Glenn Morris <rgm@gnu.org>
14503 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
14505 2010-01-14 Kenichi Handa <handa@m17n.org>
14507 * composite.el (auto-composition-mode): Make it a buffer local
14508 variable (permanent-local).
14509 (auto-composition-function): Set the default value to
14510 auto-compose-chars.
14511 (auto-composition-mode): Make it a simple function, not a minor mode.
14512 (global-auto-composition-mode): Likewise.
14513 (turn-on-auto-composition-if-enabled): Delete it.
14515 2010-01-13 Karl Fogel <kfogel@red-bean.com>
14517 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
14519 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
14521 * files.el (copy-directory): Compute target for recursive
14522 directories with identical names. (Bug#5343)
14524 2010-01-12 Glenn Morris <rgm@gnu.org>
14526 * mail/emacsbug.el (report-emacs-bug-pretest-address):
14527 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
14529 2010-01-11 Sam Steingold <sds@gnu.org>
14531 * imenu.el (imenu-default-create-index-function): Detect infinite
14532 loops caused by imenu-prev-index-position-function.
14534 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14536 * htmlfontify.el (htmlfontify-load-rgb-file)
14537 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
14538 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
14539 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
14540 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
14541 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
14542 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
14543 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
14544 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
14545 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
14546 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
14547 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
14548 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
14549 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
14550 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
14551 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
14552 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
14553 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
14554 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
14555 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
14556 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
14557 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
14558 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
14559 backslash-quoting from parentheses, etc.
14561 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
14563 * progmodes/js.el: Autoload javascript-mode alias.
14565 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14567 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
14568 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
14569 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
14570 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
14571 Fix typos in docstrings.
14572 (ffap-url-regexp): Doc fix.
14573 (ffap-at-mouse): Fix typo in message.
14575 2010-01-11 Glenn Morris <rgm@gnu.org>
14577 * version.el (emacs-copyright): Set copyright year to 2010.
14579 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
14581 * format.el (format-annotate-function): Only set
14582 write-region-post-annotation-function after running to-fn so as not to
14583 affect nested write-region calls (bug#5273).
14585 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
14587 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
14590 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14592 * man.el (Man-goto-section): Signal error if the section is not
14595 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
14597 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
14598 URLs with a leading triple slash in the file: scheme. (Bug#5345)
14600 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14602 * progmodes/compile.el: Don't treat compile-command as safe if
14603 compilation-read-command might be nil (Bug#4218).
14605 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
14607 * startup.el (command-line-1): Use orig-argi to check for ignored X and
14610 2010-01-08 Kenichi Handa <handa@m17n.org>
14612 * international/fontset.el (build-default-fontset-data):
14613 Exclude characters in scripts kana, hangul, han, or cjk-misc.
14615 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
14617 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
14618 to `create-file-buffer' as it expects, not just a buffer name.
14619 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
14620 to help uniquify. (Bug#3224)
14622 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
14624 * font-setting.el (font-setting-change-default-font): Use user-spec
14627 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
14629 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
14631 2010-01-05 Tom Tromey <tromey@redhat.com>
14633 * progmodes/python.el (python-font-lock-keywords):
14634 Handle qualified decorators (Bug#881).
14636 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14638 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
14639 in a lightweight checkout.
14641 2010-01-05 Kenichi Handa <handa@m17n.org>
14643 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
14645 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14647 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
14649 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
14651 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
14652 checkouts. (Bug#618)
14653 (vc-bzr-log-view-mode): Also highlight the author.
14654 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
14655 (vc-bzr-shelve-menu-map):
14656 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
14657 (vc-bzr-shelve-apply): Make prompt more explicit.
14659 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
14661 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
14662 They are valid characters in URL paths (rfc3986), and at least
14663 Firefox does not understand the encoded version (Bug#3166).
14665 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
14667 * progmodes/octave-mod.el (octave-end-keywords)
14668 (octave-block-begin-or-end-regexp, octave-block-match-alist):
14669 Add "end" keyword (Bug#3061).
14670 (octave-end-as-array-index-p): New function.
14671 (calculate-octave-indent): Use it.
14673 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14675 * bookmark.el: Consistently put the text property on the bookmark name.
14676 (bookmark-bmenu-marks-width): Bump back to 2, to include
14678 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
14679 property on the bookmark name, instead of not putting it at all.
14680 (bookmark-bmenu-list): Fix where we put the text property.
14682 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14684 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
14685 for showing buffer modified state (as added in the previous change).
14687 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14689 * bookmark.el: Show modified state of bookmark buffer more accurately.
14690 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
14691 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
14692 (with-buffer-modified-unmodified): New macro.
14693 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14694 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
14695 Use new macro to preserve the buffer modified state.
14697 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14699 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
14700 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
14701 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
14702 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
14703 (bookmark-bmenu-rename, bookmark-bmenu-locate)
14704 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
14705 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
14707 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14709 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14710 Make the lines in the generated doc string shorter. (Bug#4668)
14712 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
14714 * net/rcirc.el: Add follow-link binding (Bug#4738).
14716 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14718 * Makefile.in (bzr-update): Rename from cvs-update.
14719 (cvs-update): New target for backward compatibility.
14721 * makefile.w32-in (bzr-update): Rename from cvs-update.
14722 (cvs-update): New target for backward compatibility.
14724 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14726 * bookmark.el: Remove gratuitous gratitude.
14728 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14730 * bookmark.el (bookmark-bmenu-any-marks): New function.
14731 (bookmark-bmenu-save): Clear buffer modification if no marks.
14733 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14735 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
14736 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
14737 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
14738 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
14740 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
14741 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
14742 To: emacs-devel {_AT_} gnu.org
14743 Subject: bookmark.el bug report
14744 Date: Mon, 28 Dec 2009 14:19:16 +0800
14745 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
14747 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14749 * bookmark.el: Improvements suggested by Drew Adams:
14750 (bookmark-bmenu-ensure-position): New name for
14751 `bookmark-bmenu-check-position'. Just ensure the position,
14752 don't return any meaningful value.
14753 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
14756 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
14758 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
14759 (bookmark-yank-point, bookmark-bmenu-check-position):
14760 Fix typos in docstrings.
14761 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
14762 (bookmark-name-from-full-record, bookmark-get-position)
14763 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
14764 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
14765 Remove useless quoting of parenthesis, etc. in docstrings.
14767 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
14768 (ediff-append-custom-diff): Fix typo in error message.
14769 (ediff-meta-mark-equal-files): Fix typos in messages.
14771 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
14773 * net/imap-hash.el (imap-hash-make): Doc fix.
14774 (imap-hash-test): Fix typo in error message; reflow docstring.
14775 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
14776 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
14777 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
14778 Fix typos in docstrings.
14779 (imap-hash-open-connection): Fix typo in error message.
14781 * play/gomoku.el (gomoku): Fix typos in docstring.
14783 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
14784 (gdb-jsonify-buffer): Fix typos in docstring.
14785 (gdb-goto-breakpoint): Fix typo in error message.
14786 ("Display Other Windows"): Fix typo in help message.
14787 (gdb-speedbar-expand-node): Fix typo in question.
14789 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14790 (idlwave-html-system-help-location, idlwave-html-help-location)
14791 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14792 (idlwave-help-browser-generic-args, idlwave-help-directory)
14793 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14794 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14795 (idlwave-online-help, idlwave-help-html-link)
14796 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14797 Fix typos in docstrings.
14798 (idlwave-help-with-source, idlwave-help-find-routine-definition):
14800 (idlwave-help-assistant-start): Fix typo in error message.
14802 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14803 (octave-electric-space): Fix typos in docstrings.
14805 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
14807 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14809 2010-01-01 Juri Linkov <juri@jurta.org>
14811 * comint.el (comint-input-ring-size): Make it a defcustom and
14812 increase the default to 500 (Bug#5148).
14814 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
14816 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14817 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14818 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14820 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
14822 Show working revision correctly for mercurial.
14823 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14824 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14826 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
14828 Declare some functions for the byte-compiler.
14829 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14830 (speedbar-timer-fn, speedbar-change-expand-button-char)
14831 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14833 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
14835 This changeset reverts GDB Graphical Interface to use annotations.
14836 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14838 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
14840 Make vc-dir work on subdirectories of the bzr root.
14841 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14842 Return file names relative to it.
14843 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14844 relative directory to vc-bzr-after-dir-status.
14846 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
14848 * font-lock.el (font-lock-refresh-defaults): New function, which
14849 can be used to let font-lock react to external changes in
14850 variables like font-lock-defaults and keywords.
14851 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14853 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
14855 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14857 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14859 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
14861 Supersede color.diff settings in git log (bug#5211).
14863 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14864 escape chars in its output when the user has color.diff set to `always'.
14865 This fix works on git 1.4.2 and newer (released on 2006-08-13).
14867 2009-12-26 Kevin Ryde <user42@zip.com.au>
14869 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14870 node. Keep previous "Index" name to work with past coreutils too.
14872 * man.el (man): Revise docstring a bit to show -a and -l as
14873 examples. Add -k description since support for it has otherwise
14874 been a secret. (Further to bug#3717.)
14875 (Man-bgproc-sentinel): When "-k foo" produces no output show error
14876 "no matches" rather than "Can't find manpage", as the latter reads
14877 like -k was interpreted as a page name, which is not so. (Bug#5431)
14879 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
14881 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14882 switches. Check also for //SUBDIRED// line.
14884 2009-12-25 Kenichi Handa <handa@m17n.org>
14886 * language/indian.el (devanagari-composable-pattern): Fix to
14887 handle ZWNJ and ZWJ. Use it in composition-function-table for
14889 (malayalam-composable-pattern): Fix previous change.
14891 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14893 * ps-print.el (ps-face-attributes): It was not returning the
14894 attribute face for faces specified as string. Reported by harven
14895 <harven@free.fr>. (Bug#5254)
14896 (ps-print-version): New version 7.3.5.
14898 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
14900 * calendar/icalendar.el (icalendar--convert-tz-offset):
14901 Fix timezone names.
14902 (icalendar--convert-tz-offset): Fix the "last-day-problem".
14903 (icalendar--add-diary-entry): Remove the trailing blank that
14904 diary-make-entry inserts.
14906 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
14908 Make `file-expand-wildcards' work for remote files.
14910 * files.el (file-expand-wildcards): In case of remote files, check
14911 only local file name part for wildcards. Provide feature 'files
14912 and subfeature 'remote-wildcards. (Bug#5198)
14914 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14915 if there is already an established connection.
14916 (tramp-advice-file-expand-wildcards): Remove it.
14918 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14919 (tramp-advice-file-expand-wildcards): Move from tramp.el.
14920 Activate advice for older GNU Emacs versions. (Bug#5237)
14922 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
14924 Some doc fixes (more needed).
14926 * find-cmd.el (find-constituents): Reflow docstring.
14927 (find-cmd, find-prune, find-command): Fix typos in docstrings.
14928 (find-generic): Doc fix.
14930 2009-12-17 Juri Linkov <juri@jurta.org>
14932 Fix regression from 23.1 to allow multiple modes in Local Variables.
14934 * files.el (hack-local-variables-filter): While ignoring duplicates,
14935 don't take `mode' into account.
14936 (hack-local-variables-filter, hack-dir-local-variables):
14937 Don't remove duplicate `mode' from local-variables-alist (like `eval').
14939 2009-12-17 Juri Linkov <juri@jurta.org>
14941 Make `dired-diff' safer. (Bug#5225)
14943 * dired-aux.el (dired-diff): Signal an error when `file' equals to
14944 `current' or when `file' is a directory of the `current' file.
14946 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
14948 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14949 unconditionally preloaded files.
14951 2009-12-16 Juri Linkov <juri@jurta.org>
14953 Revert to old 23.1 logic of using the file at the mark as default.
14954 * dired-aux.el (dired-diff): Use the file at the mark as default
14955 if it's not the same as the current file, and the target dir is
14956 the current dir or the mark is active. Add the current file
14957 as the arg of `dired-dwim-target-defaults'. Use the default file
14958 in the prompt. (Bug#5225)
14960 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
14962 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14963 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14964 (tramp-check-for-regexp): Check also, when an echoing shell stops
14965 to echo sent commands.
14967 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14969 * Makefile.in: Revert last change (Bug#5191).
14971 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
14973 * vc-hg.el (vc-hg-print-log): Fix argument order.
14974 (vc-hg-working-revision): Make sure the command is executed in a
14975 known environment so that we can parse the output. (Bug#4417)
14977 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14979 * progmodes/python.el (python-symbol-completions): Remove text
14980 properties from symbol string before calling python-send-receive.
14982 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
14984 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14985 when there are values for both file and line. (Bug#5060)
14987 2009-12-14 Juri Linkov <juri@jurta.org>
14989 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14990 whitespace after the file name of the first line of unified format,
14991 because git-diff doesn't output whitespace and file modification time
14992 after the file name.
14994 2009-12-14 David Kastrup <dak@gnu.org>
14996 * info.el (Info-hide-cookies-node): Before hiding a cookie,
14997 check if it already has the `display' property added by
14998 `Info-display-images-node', and not put the `invisible' property
15001 2009-12-13 Glenn Morris <rgm@gnu.org>
15003 * mail/emacsbug.el (message-sort-headers): Define for compiler.
15004 (report-emacs-bug): In message-mode, sort manually before storing
15005 original report text. (Bug#5178)
15006 Remove superfluous save-excursion.
15008 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
15010 * net/dbus.el (dbus-property-handler): Filter lambda forms out
15011 when responding to "GetAll" properties.
15013 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
15015 * simple.el (compose-mail): Remove mail-setup-with-from from
15016 customization checks.
15018 2009-12-12 Eli Zaretskii <eliz@gnu.org>
15020 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
15021 RAR archives created on Unix systems.
15023 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
15025 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
15026 the varalias that was accidentally removed by the 2009-11-19 change
15029 2009-12-12 Kenichi Handa <handa@m17n.org>
15031 * language/indian.el (indian-compose-regexp): New function.
15032 (malayalam-composable-pattern): Fix the pattern.
15033 (composition-function-table): Set malayalam-composable-pattern for
15034 Malayalam characters.
15036 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
15038 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
15039 rather than down-mouse-1, based on follow-link conventions.
15041 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
15044 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
15046 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
15047 (verilog-vmm-statement-re, verilog-ovm-statement-re)
15048 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
15049 (verilog-leap-to-head, verilog-backward-token):
15050 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
15052 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
15054 * progmodes/verilog-mode.el (verilog-auto-lineup)
15055 (verilog-nameable-item-re): Cleanup user-visible spelling and
15056 documentation errors. One reported by Gary Delp.
15057 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
15058 (verilog-read-decls): Fix AUTOWIRE with types declared in a
15059 package, bug195. Reported by Pierre-David Pfister.
15061 2009-12-11 Glenn Morris <rgm@gnu.org>
15063 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
15065 * mail/emacsbug.el: No longer require sendmail.
15066 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
15067 (report-emacs-bug-orig-text): Doc fix.
15068 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
15069 New local variables, to adapt to different mail-user-agents.
15070 (report-emacs-bug): Fix test for a gnu.org address.
15071 Use overlays for emphasis, since font-lock defeats 'face property.
15072 Pretest bugs also end up at the newsgroup these days.
15073 Stop message-mode stripping text properties.
15074 Set and use the new buffer-local variables.
15075 (report-emacs-bug-hook): Add doc-string.
15076 Remove some unnecessary save-excursions and simplify.
15077 Use the appropriate hook and send-command.
15079 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
15080 capitalization of some menu entries.
15082 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15084 * whitespace.el (whitespace-display-char-on):
15085 Ensure `buffer-display-table' is unique when two or more windows are
15086 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
15089 2009-12-10 Eli Zaretskii <eliz@gnu.org>
15091 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
15092 characters in the Attribute field.
15094 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
15096 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
15098 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
15100 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
15101 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15102 Disregard autoload-excludes.
15103 (update-directory-autoloads): Obey autoload-excludes here instead.
15104 But don't store its contents in no-autoloads and remove entries that
15105 refer to excludes files.
15107 2009-12-10 Glenn Morris <rgm@gnu.org>
15109 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
15110 (expand-mail-aliases): Define for compiler.
15112 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
15113 Define for compiler.
15115 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
15116 appropriate for the mail-user-agent in use.
15118 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
15120 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
15122 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
15124 Fix short log parsing and fontification.
15125 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
15126 Fix fontification for the [merge] label.
15128 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
15130 Drop some properties to avoid surprises (bug#5002).
15131 * htmlfontify.el (hfy-ignored-properties): New defcustom.
15132 (hfy-fontify-buffer): Use it.
15134 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
15137 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
15138 Adjust all callers.
15139 (ffap-locate-file): Remove unused arg `dir-ok' and make other
15140 args compulsory. Adjust callers.
15141 (ffap-gopher-at-point): Remove unused var `name'.
15143 Get rid of the ELCFILES abomination.
15144 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
15145 (compile-elcfiles): New phony target.
15146 (compile-main): Compute ELCFILES dynamically.
15147 (compile-clean): New target to remove left-over elc files.
15148 (compile, all): Use it.
15150 2009-12-09 Kenichi Handa <handa@etlken>
15152 * international/mule-diag.el: Require help-mode instead of help-fns.
15154 2009-12-09 Kenichi Handa <handa@m17n.org>
15156 * international/mule-cmds.el (ucs-names): Supply sufficiently
15157 fine ranges instead of pre-calculating accurate ranges.
15158 Iterate with bigger gc-cons-threshold.
15160 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
15162 Add support for stashing a snapshot of the current tree.
15163 * vc-git.el (vc-git-stash-snapshot): New function.
15164 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
15166 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
15168 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
15169 instead of `(beginning|end)-of-line'.
15171 2009-12-08 Glenn Morris <rgm@gnu.org>
15173 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
15175 * Makefile.in (ELCFILES): Regenerate.
15177 2009-12-07 Juri Linkov <juri@jurta.org>
15179 Don't lazy-highlight the comint output in history Isearch mode.
15181 * comint.el (comint-history-isearch-search): Instead of
15182 `comint-line-beginning-position', use `comint-after-pmark-p'
15183 to check if point if before the process mark, and go to
15184 `process-mark' in this case.
15186 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15188 * textmodes/tex-mode.el (latex-complete)
15189 (latex-indent-or-complete): Remove.
15190 (latex-mode): Set completion-at-point-functions instead.
15192 Provide a standard completion command and hook it into TAB.
15193 * minibuffer.el (completion-at-point-functions): New var.
15194 (completion-at-point): New command.
15195 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
15196 * progmodes/python.el (python-mode-map): Use completion-at-point.
15197 (python-completion-at-point): Rename from python-partial-symbol and
15198 adjust for use in completion-at-point-functions.
15199 (python-mode): Setup completion-at-point for Python completion.
15200 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
15201 extracted from lisp-complete-symbol.
15202 (lisp-complete-symbol): Use it.
15203 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
15204 setup completion-at-point for Elisp completion.
15205 (emacs-lisp-mode-map, lisp-interaction-mode-map):
15206 Use completion-at-point.
15207 * ielm.el (ielm-map): Use completion-at-point.
15208 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
15209 * progmodes/sym-comp.el: Move to...
15210 * obsolete/sym-comp.el: Move from progmodes.
15212 2009-12-07 Eli Zaretskii <eliz@gnu.org>
15214 Prevent save-buffer in Rmail buffers from using the coding-system
15215 of the current message, and from clobbering the encoding mnemonics
15216 in the mode line (Bug#4623).
15218 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
15220 (rmail-message-encoding): New variable.
15221 (rmail-write-region-annotate): Record the encoding of the current
15222 message in rmail-message-encoding.
15223 (rmail-after-save-hook): New function, restores the encoding of
15224 the current message after the message collection is saved.
15226 2009-12-07 Juri Linkov <juri@jurta.org>
15228 * progmodes/grep.el (grep-read-files): Use `completing-read'
15229 instead of `read-string'. Set its `collection' arg to
15230 `read-file-name-internal'. (Bug#4301)
15232 2009-12-07 Juri Linkov <juri@jurta.org>
15234 Correctly restore original Isearch point. (Bug#4994)
15236 * isearch.el (isearch-mode): Move `isearch-push-state' after
15237 `(run-hooks 'isearch-mode-hook)'.
15238 (isearch-cancel): When `isearch-push-state-function' is defined,
15239 let-bind `isearch-cmds' to the first state (the last element of
15240 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
15241 function and restores the original point). Otherwise, move point
15242 to `isearch-opoint'.
15244 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15246 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
15247 chars that don't have names, so the table can be built much faster at
15250 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
15252 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
15253 change. Suggested by David Kastrup.
15255 * simple.el (compose-mail): Check for incompatibilities and warn.
15256 (compose-mail-user-agent-warnings): New option.
15258 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15260 Support showing a single log entry from vc-annotate.
15261 * vc.el (print-log): Add a new argument: START-REVISION.
15262 (vc-print-log-internal): Add a new optional argument and
15263 pass it to the backend.
15264 (vc-print-log, vc-print-root-log): Adjust callers.
15265 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
15266 buffer already displays the requested log entry, use it.
15267 Otherwise display only the log entry in question.
15268 * vc-svn.el (vc-svn-print-log):
15269 * vc-mtn.el (vc-mtn-print-log):
15270 * vc-hg.el (vc-hg-state):
15271 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
15272 (vc-git-show-log-entry): Return t on success.
15273 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
15274 (vc-bzr-show-log-entry): Return t on success.
15275 * vc-rcs.el (vc-rcs-print-log):
15276 * vc-sccs.el (vc-sccs-print-log):
15277 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
15279 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15281 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
15282 Add menus to the meta mode. (Bug#5043)
15284 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
15286 * ediff-init.el (ediff-event-key): Use event-to-character instead of
15289 * ediff.el (ediff-buffers-internal): Add unwind-protect.
15291 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
15293 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
15294 Berbain <raphael.berbain@gmail.com>.
15296 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
15298 (tramp-initial-end-of-output): New defconst.
15299 (tramp-methods, tramp-find-shell)
15300 (tramp-open-connection-setup-interactive-shell)
15301 (tramp-maybe-open-connection): Use it.
15302 (tramp-shell-prompt-pattern, tramp-wait-for-output):
15303 Handle existence of `#' and `$'.
15305 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
15306 Use `tramp-initial-end-of-output'.
15308 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15310 Get the background mode from the terminal for xterm, and set
15312 * term/xterm.el (xterm-set-background-mode): New function.
15313 (terminal-init-xterm): Use it in case xterm supports background
15314 color queries. Recompute faces after getting the background
15317 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
15319 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
15320 number comment back on its own line, for easier parsing.
15322 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15324 Make it work for non-file buffers (bug#5102).
15325 * doc-view.el (doc-view-current-cache-dir):
15326 Use doc-view-buffer-file-name rather than buffer-file-name.
15327 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
15329 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
15331 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
15332 author field is too short.
15334 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
15336 * vc-git.el (vc-git-print-log): Handle a limit argument.
15337 Display the short log in graph form and with labels.
15338 (vc-git-log-view-mode): Handle labels.
15340 Make vc-revert change VC state from 'added to 'unregistered.
15341 * vc-git.el (vc-git-revert): Call git reset first.
15343 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
15345 * net/newst-backend.el, net/newst-plainview.el:
15346 * net/newst-reader.el, net/newst-ticker.el:
15347 * net/newst-treeview.el, net/newsticker.el:
15348 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
15350 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
15352 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
15354 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
15355 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
15356 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
15357 Update annotation regexp.
15359 * simple.el (beginning-of-visual-line): Constrain to field
15360 boundaries (Bug#5106).
15362 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
15364 * xml.el (xml-substitute-numeric-entities):
15365 Move newsticker--decode-numeric-entities in newst-backend.el to
15366 xml-substitute-numeric-entities in xml.el. (Bug#5008)
15367 * net/newst-backend.el (newsticker--parse-generic-feed)
15368 (newsticker--parse-generic-items)
15369 (newsticker--decode-numeric-entities):
15370 Move newsticker--decode-numeric-entities in newst-backend.el to
15371 xml-substitute-numeric-entities in xml.el. (Bug#5008)
15373 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
15375 * progmodes/js.el (js--js-not): Add null to the list of values.
15377 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
15379 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
15381 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15383 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
15384 delimiter if it is at the end of the current line.
15385 (bibtex-generate-url-list): Fix docstring.
15387 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15389 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
15390 minibuffer's content with itself.
15391 Fold the confirm-after-completion case into the `confirm' case.
15392 (completion-pcm-word-delimiters): Add : and / to the delimiters.
15394 2009-12-06 Kevin Ryde <user42@zip.com.au>
15396 * ffap.el (ffap-rfc-path): Make this a defcustom since
15397 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
15399 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
15400 manuals, similar to existing setup for help-mode. (Bug#3913.)
15402 2009-12-05 Juri Linkov <juri@jurta.org>
15404 Save and restore dired buffer's point positions too. (Bug#4880)
15406 * dired.el (dired-save-positions): Return in the first element
15407 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
15409 (dired-restore-positions): First restore buffer's position.
15410 While restoring window's positions, check if window still displays
15411 the original buffer.
15413 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
15415 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
15418 * shell.el (shell): Require ansi-color (Bug#5113).
15420 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
15422 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
15424 2009-12-05 Alan Mackenzie <acm@muc.de>
15426 * progmodes/cc-mode.el (c-before-hack-hook)
15427 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
15428 `c-file-style' to work again. This reversion restores the current
15429 software to its state in Emacs 23.1. (Bug#4146)
15431 2009-12-05 Kevin Ryde <user42@zip.com.au>
15433 * textmodes/sgml-mode.el (sgml-lexical-context):
15434 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
15436 2009-12-05 Juri Linkov <juri@jurta.org>
15438 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
15439 for virtual nodes. (Bug#4147)
15440 (Info-find-node-2): Set `Info-current-node-virtual' to nil
15441 when moving from a virtual node.
15442 (Info-mode-menu): Add `Info-virtual-index' to the menu.
15443 (Info-mode): Add `Info-virtual-index' to the docstring.
15445 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15447 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
15448 track of the buffer position of the end of a BibTeX entry as this
15449 position may change during reformatting.
15450 (bibtex-format-entry): Remove whitespace before processing
15451 numerical fields so that we recognize the latter properly.
15452 (bibtex-reformat): Do not use push which changes the global value
15453 of bibtex-entry-format.
15454 (bibtex-field-braces-alist, bibtex-field-strings-alist)
15455 (bibtex-field-re-init): Replace only space characters by regexp
15457 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
15458 (bibtex-initialize): Also update bibtex-strings.
15459 (bibtex-kill-field): Preserve white space at end of entry.
15460 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
15461 Update bibtex-reference-keys.
15463 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
15465 * minibuffer.el (completion-pcm--merge-try): Also consider placing
15466 point after a star, if that's the only place where modifications can
15469 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
15471 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
15474 2009-12-04 Juri Linkov <juri@jurta.org>
15476 * proced.el (proced): Call `(proced-update t)' to update process
15477 information instead of only running proced-post-display-hook.
15478 (proced-send-signal): Add a leading space to the buffer name
15479 " *Marked Processes*" to make this buffer ephemeral.
15481 2009-12-04 Juri Linkov <juri@jurta.org>
15483 * dired.el (dired-auto-revert-buffer): New defcustom.
15484 (dired-internal-noselect): Use it.
15486 2009-12-04 Juri Linkov <juri@jurta.org>
15488 Change roles of modes and functions in image-mode.el (Bug#5062).
15490 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
15491 in `auto-mode-alist'.
15492 (image-mode-previous-major-mode): New variable.
15493 (image-minor-mode-map): Rename from `image-mode-text-map'.
15494 (image-mode): Move graceful error-handling code from
15495 `image-minor-mode' to here. On errors call `image-mode-as-text'.
15496 (image-minor-mode): Remove all image-handling code.
15497 Replace `image-mode-text-map' with `image-minor-mode-map'.
15498 Check for `image-type' in mode-line format string.
15499 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
15500 (image-mode-as-text): New function with most code from
15501 `image-mode-maybe'.
15502 (image-toggle-display-text): Move code that removes image
15503 properties from `image-toggle-display' to here.
15504 (image-toggle-display-image): New function with code that adds
15505 image properties copied from `image-toggle-display'.
15506 (image-toggle-display): Remove most code with leaving only code
15507 that toggles between `image-mode-as-text' and `image-mode'.
15509 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
15511 * net/newst-treeview.el
15512 (newsticker--treeview-list-highlight-start): Restored call to
15513 save-excursion: Selected item was stuck.
15514 (newsticker--treeview-list-select): New.
15515 (newsticker--treeview-item-show-text)
15516 (newsticker--treeview-item-show)
15517 (newsticker--treeview-item-update): Use new
15518 newsticker-treeview-item-mode.
15519 (newsticker-treeview-update): Keep current item.
15520 (newsticker-treeview-next-new-or-immortal-item): Doc change.
15521 (newsticker--treeview-first-feed): Doc change.
15522 (newsticker-treeview-list-menu)
15523 (newsticker-treeview-item-menu): Add menu entries.
15524 (newsticker-treeview-item-mode): New.
15526 * net/newst-backend.el (newsticker-customize): Delete other
15529 2009-12-04 Sam Steingold <sds@gnu.org>
15531 * log-view.el (log-view-mode-map): "q" calls quit-window,
15532 like in all the other non-self-insert buffers.
15534 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
15537 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
15538 key decoding rather than do it manually via last-input-event +
15540 (term-exec): Use delete-and-extract-region.
15541 (term-handle-ansi-terminal-messages): Remove unused var `end'.
15542 (term-process-pager): Remove unused var `i'.
15543 (term-dynamic-simple-complete): Make obsolete.
15544 (serial-update-config-menu): Remove unused vars `y' and `str'.
15545 (term-update-mode-line): Remove unused var `temp'.
15547 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15549 Limit the number of log entries displayed by default.
15550 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
15551 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
15552 using a prefix argument.
15554 2009-12-03 Glenn Morris <rgm@gnu.org>
15556 * progmodes/idlwave.el (class): Restore still useful declaration.
15558 2009-12-03 Alan Mackenzie <acm@muc.de>
15560 Enhance `c-parse-state' to run efficiently in "brace deserts".
15562 * progmodes/cc-mode.el (c-basic-common-init):
15563 Call c-state-cache-init.
15564 (c-neutralize-syntax-in-and-mark-CPP): Rename from
15565 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
15566 placing `category' properties value 'c-cpp-delimiter at its boundaries.
15568 * progmodes/cc-langs.el (c-before-font-lock-function):
15569 c-extend-and-neutralize-syntax-in-CPP has been renamed
15570 c-neutralize-syntax-in-and-mark-CPP.
15572 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
15573 with `category' properties now, not `syntax-table' ones.
15575 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
15576 enhanced (but slower) version of c-end-of-macro that won't land
15577 inside a literal or on another awkward character.
15578 (c-state-cache-too-far, c-state-cache-start)
15579 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
15580 (c-state-nonlit-pos-cache-limit, c-state-point-min)
15581 (c-state-point-min-lit-type, c-state-point-min-lit-start)
15582 (c-state-min-scan-pos, c-state-brace-pair-desert)
15583 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
15584 buffer local variables.
15585 (c-state-literal-at, c-state-lit-beg)
15586 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
15587 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
15588 (c-state-cache-top-paren, c-state-cache-after-top-paren)
15589 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
15590 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
15591 (c-renarrow-state-cache)
15592 (c-append-lower-brace-pair-to-state-cache)
15593 (c-state-push-any-brace-pair, c-append-to-state-cache)
15594 (c-remove-stale-state-cache)
15595 (c-remove-stale-state-cache-backwards, c-state-cache-init)
15596 (c-invalidate-state-cache-1, c-parse-state-1)
15597 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
15598 (c-parse-state): Enhance and refactor.
15599 (c-debug-parse-state): Amend to deal with all the new variables.
15601 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
15602 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
15603 modify to use category text properties rather than syntax-table ones.
15604 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
15605 to switch off/on the syntactic paren property of C++ template
15606 delimiters using the category property.
15607 (c-with-<->-as-parens-suppressed): Macro to invoke code with
15608 template delims suppressed.
15609 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
15610 New constant/macros which apply category properties to the start
15611 and end of preprocessor constructs.
15612 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
15613 "comment out" the syntactic value of characters in preprocessor
15615 (c-with-cpps-commented-out)
15616 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
15617 with characters in all or all but one preprocessor constructs
15620 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15622 * proced.el (proced-filter-alist): Use regexp-quote.
15624 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
15627 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
15628 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
15629 arguments. Expand `default-directory'.
15631 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
15632 the benefit of returning an expanded localname.
15633 (tramp-tramp-file-p): Handle the case NAME is not a string.
15635 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15637 Add support for bzr shelve/unshelve.
15638 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
15639 (vc-bzr-extra-menu-map): New variables.
15640 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
15641 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
15642 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
15643 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
15644 (vc-bzr-dir-extra-headers): Display shelves.
15646 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
15648 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15650 * textmodes/bibtex.el (bibtex-complete-internal):
15651 Use completion-in-region.
15652 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
15654 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15656 Support applying stashes. Improve UI.
15657 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
15658 (vc-git-stash-apply, vc-git-stash-pop)
15659 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
15660 (vc-git-stash-menu): New functions.
15661 (vc-git-stash-menu-map): New variable.
15662 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
15664 2009-12-03 Glenn Morris <rgm@gnu.org>
15666 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
15667 (vc-print-log-internal): Fix previous change.
15668 (vc-revert): Correct pluralization.
15670 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15672 * progmodes/make-mode.el (makefile-special-targets-list): No need for
15673 it to be an alist any more.
15674 (makefile-complete): Use completion-in-region.
15676 * progmodes/octave-mod.el (octave-complete-symbol):
15677 Use completion-in-region.
15680 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
15681 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
15682 (idlwave-complete-class): Don't quote lambda.
15683 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
15684 (idlwave-mode-map): Move initialization into declaration.
15685 (idlwave-action-and-binding): Use backquotes.
15686 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
15688 (idlwave-is-pointer-dereference): Remove unused var `pos'.
15689 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
15690 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
15691 `parts', and `all-parts'.
15692 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
15693 (idlwave-convert-xml-system-routine-info): Remove unused string
15695 (idlwave-display-user-catalog-widget): Use dolist.
15696 (idlwave-scanning-lib): Declare dynamically-scoped var.
15697 (idlwave-scan-library-catalogs): Remove unused var `flags'.
15698 (completion-highlight-first-word-only): Declare to silence bytecomp.
15699 (idlwave-popup-select): Tighten scope of `resp'.
15700 (idlwave-find-struct-tag): Remove unused var `beg'.
15701 (idlwave-after-load-rinfo-hook): Declare.
15702 (idlwave-sintern-class-info): Remove unused var `taglist'.
15703 (idlwave-find-class-definition): Remove unused var `list'.
15704 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
15705 (idlwave-what-module-find-class): Remove unused var `classes'.
15707 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
15709 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
15711 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15713 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
15714 buffers visited. Remove redundant current-buffer-saving.
15716 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15718 Use completion-in-buffer and remove uses of dynamic scoping.
15719 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
15720 (pascal-buffer-to-use, pascal-flag): Don't declare.
15721 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
15722 (pascal-get-completion-decl, pascal-keyword-completion):
15723 Add `pascal-str' argument, save-excursion,
15724 return the found completions, and don't filter with pascal-pred.
15725 (pascal-completion-cache): New var.
15726 (pascal-completion): Don't switch buffer any more (it was never
15727 necessary). Don't save-excursion any more (it's done by the called
15728 subroutines). Use a cache to avoid redundant computations.
15729 Use complete-with-action rather than pascal-completion-response and
15730 let it apply the predicate as well.
15731 (pascal-complete-word): Use completion-in-buffer when
15732 pascal-toggle-completions is nil.
15733 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
15735 (pascal-comp-defun): Don't change buffer any more.
15736 Use complete-with-action rather than pascal-completion-response and
15737 let it apply the predicate as well.
15738 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
15741 2009-12-02 Kenichi Handa <handa@m17n.org>
15743 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
15744 shape for all Indic scripts.
15746 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15748 Use completion-in-buffer.
15749 * wid-edit.el (widget-field-text-end): New function.
15750 (widget-field-value-get): Use it.
15751 (widget-string-complete, widget-file-complete)
15752 (widget-color-complete): Use it and completion-in-region.
15753 (widget-complete): Don't narrow the buffer.
15755 2009-12-02 Glenn Morris <rgm@gnu.org>
15757 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
15758 (rmail-select-summary): Use rmail-pop-to-buffer.
15759 * mail/rmailsum.el: Replace all pop-to-buffer calls with
15760 rmail-pop-to-buffer, to prevent horizontal splits.
15762 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
15763 save-excursion with save-current-buffer.
15764 Widen before searching. (Bug#5093)
15765 (diary-list-sexp-entries): Remove superfluous save-excursion.
15767 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
15769 * woman.el (woman-make-bufname): Handle man-pages with "." in the
15772 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
15774 * ido.el (ido-file-internal): Handle filenames at point that do
15775 not have a directory part. (Bug#5049)
15777 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
15779 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
15780 (mpc-songs-jump-to, mpc-resume): Doc fixes.
15782 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
15784 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15785 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15788 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15790 * comint.el (comint-insert-input): Ignore clicks to the right of
15791 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15793 * vc.el (vc-print-log-internal): Don't wait for the process to
15794 terminate before setting up the major mode.
15796 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15799 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15802 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15804 2009-12-01 Glenn Morris <rgm@gnu.org>
15806 * window.el (window--display-buffer-2): Fix previous changes.
15808 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
15810 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15812 2009-12-01 Glenn Morris <rgm@gnu.org>
15814 * Makefile.in (ELCFILES): Add mpc.elc.
15816 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15818 * mpc.el: New file.
15820 2009-12-01 Glenn Morris <rgm@gnu.org>
15822 * window.el (window-to-use): Define for compiler.
15824 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15825 consistent with others (no final period).
15827 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15828 (rmail-mime-show): Downcase the encoding. (Bug#5070)
15830 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
15832 Make vc-print-log buttons work.
15833 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15835 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
15837 * savehist.el (savehist-autosave-interval): Allow setting to nil
15838 through customize. (Bug#5056)
15840 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
15842 Fix references to jit-lock properties.
15843 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15844 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15845 (perl-font-lock-special-syntactic-constructs):
15846 Quote jit-lock-defer-multiline property.
15848 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
15850 * vc-git.el (vc-git-registered): Call vc-git-root only once.
15852 2009-11-30 Juri Linkov <juri@jurta.org>
15854 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15855 value `buffer' of `multi-isearch-next-buffer-current-function'.
15856 Use `(current-buffer)' when `buffer' is nil.
15857 (multi-isearch-next-buffer-from-list): Don't fallback to
15858 `(current-buffer)' when `buffer' is nil. (Bug#4947)
15860 2009-11-30 Juri Linkov <juri@jurta.org>
15862 * misearch.el (multi-isearch-read-buffers): Move canonicalization
15863 of buffers with `get-buffer' to `multi-isearch-buffers'.
15864 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15865 Canonicalize BUFFERS with `get-buffer'. Doc fix.
15866 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15867 FILES with `expand-file-name' converting relative file names
15868 to absolute. Doc fix. (Bug#4727)
15870 2009-11-30 Juri Linkov <juri@jurta.org>
15872 * misearch.el (multi-isearch-read-buffers)
15873 (multi-isearch-read-matching-buffers): New functions.
15874 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15875 Use them in the `interactive' spec. Doc fix.
15876 (multi-isearch-read-files, multi-isearch-read-matching-files):
15878 (multi-isearch-files, multi-isearch-files-regexp):
15879 Use them in the `interactive' spec. Doc fix. (Bug#4725)
15881 2009-11-30 Juri Linkov <juri@jurta.org>
15883 * doc-view.el (doc-view-continuous):
15884 Rename from `doc-view-continuous-mode'.
15885 (doc-view-menu): Move "Toggle display" to the top.
15886 Add submenu "Continuous" with radio buttons "Off"/"On"
15887 and "Save as Default".
15888 (doc-view-scroll-up-or-next-page)
15889 (doc-view-scroll-down-or-previous-page)
15890 (doc-view-next-line-or-next-page)
15891 (doc-view-previous-line-or-previous-page):
15892 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
15894 2009-11-30 Juri Linkov <juri@jurta.org>
15896 * comint.el (comint-mode-map): Rebind `M-r' from
15897 `comint-previous-matching-input' to
15898 `comint-history-isearch-backward-regexp'.
15899 Unbind `M-s' to allow global key binding `M-s'.
15900 Add menu items for `comint-history-isearch-backward' and
15901 `comint-history-isearch-backward-regexp'. (Bug#3746)
15903 2009-11-30 Juri Linkov <juri@jurta.org>
15905 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15906 For def=recenter, replace `recenter' with `recenter-top-bottom'
15907 that is called with `this-command' and `last-command' let-bound
15908 to `recenter-top-bottom'. When the last `def' was not `recenter',
15909 set `recenter-last-op' to nil. (Bug#4981)
15911 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
15913 Minor cleanup and simplification.
15914 * filecache.el (file-cache-add-directory)
15915 (file-cache-add-directory-recursively)
15916 (file-cache-add-from-file-cache-buffer)
15917 (file-cache-delete-file-regexp, file-cache-delete-directory)
15918 (file-cache-files-matching-internal, file-cache-display): Use dolist.
15919 (file-cache-temp-minibuffer-message): Delete function.
15920 (file-cache-minibuffer-complete): Use minibuffer-message instead.
15922 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15923 Don't signal an error when bumping into EOB in tr, s, or y.
15925 2009-11-29 Juri Linkov <juri@jurta.org>
15927 * startup.el (fancy-about-text): Fix wording of Guided Tour.
15930 * descr-text.el (describe-char-unidata-list): Use lowercase name
15931 for "Unicode name" like in other tags.
15933 2009-11-29 Juri Linkov <juri@jurta.org>
15935 * ediff-util.el (ediff-minibuffer-with-setup-hook):
15936 New compatibility macro.
15937 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15939 2009-11-29 Juri Linkov <juri@jurta.org>
15941 Add defcustom to define the cycling order of `recenter-top-bottom'.
15944 * window.el (recenter-last-op): Doc fix.
15945 (recenter-positions): New defcustom.
15946 (recenter-top-bottom): Rewrite to use `recenter-positions'.
15947 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15949 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
15951 Improve integration of Tramp and ange-ftp in eshell.
15953 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15954 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
15955 (eshell/sudo): Flatten args. Let-bind `default-directory'.
15957 * eshell/esh-util.el (top): Require also Tramp when compiling.
15958 (eshell-directory-files-and-attributes): Check for FTP remote
15960 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15961 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15962 (eshell-file-attributes): Handle ".". Return `entry'.
15964 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15965 (ange-ftp-directory-files-and-attributes)
15966 (ange-ftp-real-directory-files-and-attributes): New defuns.
15968 * net/tramp.el (tramp-maybe-open-connection): Open the remote
15969 shell with "exec" when possible. This prevents trailing prompts
15970 in `start-file-process'.
15972 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15974 Try and remove assumptions about point-min==1.
15975 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15976 (rng-compute-mode-line-string): Show the validation percentage in
15977 terms of the narrowed text, not the widened text.
15978 (rng-do-some-validation): Don't catch internal errors when debugging.
15979 (rng-first-error): Simplify.
15980 (rng-after-change-function): Remove work around. AFAIK the bug has
15981 been fixed a while ago.
15983 * image-mode.el (image-minor-mode): Exit more gracefully when the image
15984 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15986 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15988 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15989 `cd' doesn't always do it for us (bug#5067).
15991 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15992 on 2009-10-25 as part of some other change (bug#5067).
15994 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15996 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15998 (byte-compile-warnings): Use byte-compile-warning-types.
15999 (byte-compile-save-excursion): Warn about use of set-buffer right
16000 after save-excursion.
16002 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
16003 the excursion as well.
16005 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
16007 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
16008 providing a Tramp related implementation of "su" and "sudo".
16009 (eshell-unix-initialize): Add "su" and "sudo".
16011 2009-11-27 Daiki Ueno <ueno@unixuser.org>
16013 * net/socks.el (socks-send-command): Convert binary request to
16014 unibyte before sending. This fixes mishandling of some port
16015 numbers such as 129.
16017 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
16019 * help.el (describe-bindings-internal): Remove `interactive'.
16021 * man.el (Man-completion-table): Trim a terminating "(".
16022 Remove the space between name page a section.
16023 Add the command's description on the `help-echo' property.
16024 Remove `process-connection-type' binding since it's unused by
16026 Provide completion for the "<section> <name>" format as well.
16027 (Man-default-man-entry): Remove spurious var shadowing the argument.
16029 2009-11-26 Kevin Ryde <user42@zip.com.au>
16031 * log-view.el: Add "Keywords: tools", since its other keywords
16032 aren't in finder-known-keywords, and following vc.el.
16034 * sha1.el (sha1-string-external): default-directory "/" in case
16035 otherwise non-existent. process-connection-type pipe for touch of
16036 efficiency recommended by elisp manual. (An aside in Bug#3911.)
16038 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
16040 Misc coding convention cleanups.
16041 * htmlfontify.el (hfy-init-kludge-hook): Rename from
16042 hfy-init-kludge-hooks.
16043 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
16044 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
16045 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
16047 (hfy-slant, hfy-weight): Use tables rather than code.
16048 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
16049 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
16050 (hfy-face-attr-for-class): Initialize `face-spec' directly.
16051 (hfy-face-to-css): Remove `nconc' with single arg.
16052 (hfy-p-to-face-lennart): Use `or'.
16053 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
16054 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
16055 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
16056 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
16057 (hfy-force-fontification): Use run-hooks.
16059 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
16061 Various minor fixes.
16062 * htmlfontify.el (hfy-default-header): Add toggle_invis since
16063 Javascript belongs in the header, not the body.
16064 (hfy-javascript): Remove.
16065 (hfy-fontify-buffer): Don't insert it any more.
16066 (hfy-face-at): Handle (face0 face1 face2) style face properties.
16067 Fix bug in invis handling when there were no invis props in a chunk.
16069 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
16071 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
16073 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
16075 * finder.el (finder-mode-map): Add a menu.
16077 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
16079 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
16080 "unsigned" structs.
16082 (verilog-leap-to-head, verilog-backward-token): Handle "disable
16083 fork" statement better.
16085 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
16087 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
16088 (verilog-delete-auto, verilog-delete-empty-auto-pair)
16089 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
16090 Reported by Clay Douglass.
16092 (verilog-auto-inst, verilog-auto-star-safe)
16093 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
16094 Fix removing "// Interfaces" when saving .* expansions.
16095 Reported by Pierre-David Pfister.
16097 2009-11-26 Glenn Morris <rgm@gnu.org>
16099 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
16102 2009-11-25 Johan Bockgård <bojohan@gnu.org>
16104 * vc-annotate.el (vc-annotate-revision-previous-to-line):
16105 Really use previous revision.
16107 2009-11-25 Kevin Ryde <user42@zip.com.au>
16109 * man.el (Man-completion-table): default-directory "/" in case
16110 doesn't otherwise exist. process-environment COLUMNS=999 so as
16111 not to truncate long names. process-connection-type pipe to avoid
16112 any chance of hitting the pseudo-tty TIOCGWINSZ.
16113 (man): completion-ignore-case t for friendliness and since man
16114 itself is case-insensitive on the command line.
16115 Further to Bug#3717.
16117 * arc-mode.el: Add "Keywords: files", so the details in its
16118 commentary can be reached from finder-by-keyword.
16119 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
16120 editing mode, but it's comms related and sgml-mode.el has "comm"
16122 * textmodes/bibtex-style.el: Add "Keywords: tex".
16123 * international/isearch-x.el, international/ja-dic-cnv.el:
16124 * international/ja-dic-utl.el, international/kkc.el:
16125 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
16127 2009-11-25 Juri Linkov <juri@jurta.org>
16129 * man.el (Man-completion-table): Modify regexp to include
16130 section names to completion strings. (Bug#3717)
16132 2009-11-25 Juri Linkov <juri@jurta.org>
16134 Search recursively in gzipped files. (Bug#4982)
16136 * progmodes/grep.el (grep-highlight-matches): Add new options
16137 `always' and `auto'. Doc fix.
16138 (grep-process-setup): Check `grep-highlight-matches' for
16139 `auto-detect' to determine the need to compute grep defaults.
16140 Move Windows/DOS specific --colors settings handling
16141 to `grep-compute-defaults'. Check `grep-highlight-matches'
16142 to get the value of "--color=".
16143 (grep-compute-defaults): Compute `grep-highlight-matches' when it
16144 has the value `auto-detect'. Move Windows/DOS specific settings
16145 from `grep-process-setup'.
16146 (zrgrep): New command with alias `rzgrep'.
16148 2009-11-25 Juri Linkov <juri@jurta.org>
16150 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
16151 to nil instead of switching off view-mode. (Bug#4896)
16153 2009-11-25 Juri Linkov <juri@jurta.org>
16155 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
16157 * mwheel.el (mwheel-scroll-up-function)
16158 (mwheel-scroll-down-function): New defvars.
16159 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
16160 `scroll-up', and `mwheel-scroll-down-function' instead of
16163 * doc-view.el (doc-view-scroll-up-or-next-page)
16164 (doc-view-scroll-down-or-previous-page): Add optional ARG.
16165 Use this ARG in the call to image-scroll-up/image-scroll-down.
16166 Change `interactive' spec to "P". Goto next/previous page only
16167 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
16168 SPC/DEL case). Doc fix.
16169 (doc-view-next-line-or-next-page)
16170 (doc-view-previous-line-or-previous-page): Rename arg to ARG
16172 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
16173 `doc-view-scroll-up-or-next-page', and buffer-local
16174 `mwheel-scroll-down-function' to
16175 `doc-view-scroll-down-or-previous-page'.
16177 2009-11-25 Juri Linkov <juri@jurta.org>
16179 Provide additional default values (directories at other Dired
16180 windows) via M-n in the minibuffer of some Dired commands.
16182 * dired-aux.el (dired-diff, dired-compare-directories)
16183 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
16184 `minibuffer-default' in `minibuffer-with-setup-hook'.
16185 (dired-dwim-target-directory): Find a window that displays Dired
16186 buffer instead of failing when the next window is not Dired.
16187 Use `get-window-with-predicate' to find for the next Dired window.
16188 (dired-dwim-target-defaults): New function.
16190 * ediff-util.el (ediff-read-file-name):
16191 Use `dired-dwim-target-defaults' to set `minibuffer-default'
16192 in `minibuffer-with-setup-hook'.
16194 2009-11-25 Juri Linkov <juri@jurta.org>
16196 Provide additional default values (file name at point or at the
16197 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
16199 * minibuffer.el (read-file-name-defaults): New function.
16200 (read-file-name): Reset `minibuffer-default' to nil when
16201 it duplicates initial input `insdef'.
16202 Bind `minibuffer-default-add-function' to lambda that
16203 calls `read-file-name-defaults' in `minibuffer-selected-window'.
16204 (minibuffer-insert-file-name-at-point): New command.
16206 * files.el (file-name-at-point-functions): New defcustom.
16207 (find-file-default): Remove defvar.
16208 (find-file-read-args): Don't use `find-file-default'.
16209 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
16210 to `read-file-name'.
16211 (find-file-literally): Use `read-file-name' with
16212 `confirm-nonexistent-file-or-buffer'.
16214 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
16216 * dired.el (dired-read-dir-and-switches):
16217 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
16218 to `read-file-name'.
16219 (dired-file-name-at-point): New function.
16220 (dired-mode): Add hook `dired-file-name-at-point' to
16221 `file-name-at-point-functions'.
16223 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
16225 Really make the *Completions* window soft-dedicated (bug#5030).
16226 * window.el (window--display-buffer-2): Add `dedicated' argument.
16227 (display-buffer): Pass it when needed so the dedicated flag is set
16228 after calling set-window-buffer, which would otherwise reset it.
16230 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
16232 * progmodes/meta-mode.el (meta-complete-symbol):
16233 * progmodes/etags.el (complete-tag):
16234 * mail/mailabbrev.el (mail-abbrev-complete-alias):
16235 Use completion-in-region.
16237 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
16238 (dabbrev-completion): Use completion-in-region.
16239 (dabbrev--abbrev-at-point): Simplify regexp.
16241 * abbrev.el (abbrev--before-point): Use word-motion functions
16242 if :regexp is not specified (bug#5031).
16244 * subr.el (string-prefix-p): New function.
16246 * man.el (Man-completion-cache): New var.
16247 (Man-completion-table): Use it.
16249 * vc.el (vc-print-log-internal): Make `limit' optional for better
16250 compatibility (e.g. with vc-annotate.el).
16252 2009-11-24 Kevin Ryde <user42@zip.com.au>
16254 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
16255 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
16257 * emacs-lisp/elint.el (elint-add-required-env): Better error message
16258 when .el source file not found or other error.
16260 2009-11-24 Markus Triska <markus.triska@gmx.at>
16262 * linum.el (linum-update-window): Ignore intangible (bug#4996).
16264 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
16266 Handle the [back] button properly (bug#4979).
16267 * descr-text.el (describe-text-properties): Add a `buffer' argument.
16268 Use help-setup-xref, help-buffer, and with-help-window.
16269 (describe-char): Add `buffer' argument.
16270 Pass proper command to help-setup-xref. Don't meddle with
16271 help-xref-stack-item directly.
16272 (describe-text-category): Use with-help-window and help-buffer.
16274 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
16275 for the displayed buffer (bug#4887).
16277 * man.el (Man-completion-table): New function.
16280 2009-11-24 David Reitter <david.reitter@gmail.com>
16282 * vc-git.el (vc-git-registered): Use checkout directory (where
16283 .git is) rather than the file's directory and a relative path spec
16284 to work around a bug in git.
16286 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
16288 Improve handling of processes on remote hosts.
16290 * eshell/esh-util.el (eshell-path-env): New defvar.
16291 (eshell-parse-colon-path): New defun.
16292 (eshell-file-attributes): Use `eshell-parse-colon-path'.
16294 * eshell/esh-ext.el (eshell-search-path):
16295 Use `eshell-parse-colon-path'.
16296 (eshell-remote-command): Remove argument HANDLER.
16297 (eshell-external-command): Check for FTP remote connection.
16299 * eshell/esh-proc.el (eshell-gather-process-output):
16300 Use `file-truename', in order to start also symlinked files.
16301 Apply `start-file-process' instead of `start-process'.
16302 Shorten `command' to the local file name part.
16304 * eshell/em-cmpl.el (eshell-complete-commands-list):
16305 Use `eshell-parse-colon-path'.
16307 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
16309 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
16310 to `eshell-directory-change-hook'.
16312 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
16314 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
16315 because it could be enabled automatically if view-read-only is non-nil.
16317 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
16319 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
16320 made on 2009-11-22.
16322 2009-11-24 Glenn Morris <rgm@gnu.org>
16324 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
16325 deleted variable bookmark-bmenu-bookmark-column.
16327 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
16329 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
16331 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
16333 * net/browse-url.el (browse-url-filename-alist): On Windows, add
16334 two slashes to the "file:" prefix.
16335 (browse-url-file-url): De-munge Cygwin filenames before passing
16336 them to Windows browser.
16337 (browse-url-default-windows-browser): Use call-process.
16339 2009-11-23 Juri Linkov <juri@jurta.org>
16341 Implement DocView Continuous mode. (Bug#4896)
16342 * doc-view.el (doc-view-continuous-mode): New defcustom.
16343 (doc-view-mode-map): Bind C-n/<down> to
16344 `doc-view-next-line-or-next-page', C-p/<up> to
16345 `doc-view-previous-line-or-previous-page'.
16346 (doc-view-next-line-or-next-page)
16347 (doc-view-previous-line-or-previous-page): New commands.
16349 2009-11-23 Juri Linkov <juri@jurta.org>
16351 Implement Isearch in comint input history. (Bug#3746)
16352 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
16353 `isearch-mode-hook'.
16354 (comint-history-isearch): New defcustom.
16355 (comint-history-isearch-backward)
16356 (comint-history-isearch-backward-regexp): New commands.
16357 (comint-history-isearch-message-overlay): New buffer-local variable.
16358 (comint-history-isearch-setup, comint-history-isearch-end)
16359 (comint-goto-input, comint-history-isearch-search)
16360 (comint-history-isearch-message, comint-history-isearch-wrap)
16361 (comint-history-isearch-push-state)
16362 (comint-history-isearch-pop-state): New functions.
16364 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
16366 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
16368 (tramp-handle-make-symbolic-link)
16369 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
16371 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
16372 (tramp-handle-process-file): Use it.
16374 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
16376 * window.el (move-to-window-line-last-op): Remove.
16377 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
16379 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
16381 Make M-r mirror the new cycling behavior of C-l.
16382 * window.el (move-to-window-line-last-op): New var.
16383 (move-to-window-line-top-bottom): New command.
16384 (global-map): Bind M-r move-to-window-line-top-bottom.
16386 2009-11-23 Sven Joachim <svenjoac@gmx.de>
16388 * dired-x.el (dired-guess-shell-alist-default):
16389 Support xz format. (Bug#4953)
16391 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
16393 * emulation/viper-cmd.el: Use viper-last-command-char instead of
16394 last-command-char/last-command-event.
16395 (viper-prefix-arg-value): Do correct conversion of event-char for
16398 * emulation/viper-util.el, emulation/viper.el:
16399 Use viper-last-command-char instead of
16400 last-command-char/last-command-event.
16402 * ediff-init.el, ediff-mult.el, ediff-util.el:
16403 Replace last-command-char and last-command-event
16404 with (ediff-last-command-char) everywhere.
16406 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
16407 created in fundamental mode.
16409 * ediff.el (ediff-version): Revert the change of interactive-p to
16410 called-interactively-p.
16412 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
16414 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
16415 generation from word-movement command names.
16417 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
16419 * cus-start.el (all): Add native condition for font-use-system-font.
16421 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
16423 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
16424 Correct the patch from 2009-11-18. (Bug#3910)
16426 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
16428 * progmodes/subword.el: Rename from lisp/subword.el.
16430 * subword.el: Rename to progmodes/subword.el.
16432 * Makefile.in (ELCFILES): Adapt to subword.el move.
16434 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16435 Stefan Monnier <monnier@iro.umontreal.ca>
16437 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
16438 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
16439 (bookmark-bmenu-show-filenames): Use push.
16440 (bookmark-bmenu-hide-filenames): Use local var instead of
16441 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
16442 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
16443 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
16444 filenames now that the bookmark names are always available.
16446 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16448 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
16449 (bookmark-search-pattern): Move and leave unbound.
16450 (bookmark-bmenu-mode-map): Change binding.
16451 (bookmark-read-search-input): Simplify.
16452 Don't use text-char-description. Don't error on non-char events.
16453 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
16454 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
16455 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
16456 Use a local var for the timer.
16457 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
16458 (i.e. bookmark-bmenu-search).
16460 2009-11-21 Glenn Morris <rgm@gnu.org>
16462 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
16464 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
16466 * net/browse-url.el (browse-url-default-windows-browser):
16467 Use cygstart for cygwin.
16469 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
16471 * bookmark.el: Formatting and doc fixes only:
16472 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
16473 (bookmark-bmenu-search): Wrap to fit within 80 columns.
16474 Minor grammar and punctuation fixes in doc string.
16475 (bookmark-read-search-input): Adjust to fit within 80 columns.
16477 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16479 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
16480 (c-backward-into-nomenclature): Adapt to subword renaming.
16482 * subword.el (subword-forward, subword-backward, subword-mark)
16483 (subword-kill, subword-backward-kill, subword-transpose)
16484 (subword-downcase, subword-upcase, subword-capitalize)
16485 (subword-forward-internal, subword-backward-internal):
16486 Rename from forward-subword, backward-subword, mark-subword,
16487 kill-subword, backward-kill-subword, transpose-subwords,
16488 downcase-subword, upcase-subword, capitalize-subword,
16489 forward-subword-internal, backward-subword-internal.
16491 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16493 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
16495 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
16497 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
16498 (bookmark-bmenu-filter-alist-by-regexp)
16499 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
16500 (bookmark-bmenu-search): New command.
16501 (bookmark-bmenu-mode-map): Bind it.
16503 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16505 * progmodes/cc-cmds.el: declare-functioned forward-subword and
16506 backward-subword to quit the byte-compiler.
16508 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
16510 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
16512 * progmodes/cc-cmds.el (c-update-modeline)
16513 (c-forward-into-nomenclature, c-backward-into-nomenclature):
16514 Refer to subword.el functions instead of cc-subword.el.
16516 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
16517 subword.el functions instead of cc-subword.el.
16519 * progmodes/cc-subword.el: Rename to subword.el.
16520 * subword.el: Rename from progmodes/cc-subword.el.
16521 (subword-mode-map): Rename from c-subword-mode-map.
16522 (subword-mode): Rename from c-subword-mode.
16523 (global-subword-mode): New global minor mode.
16524 (forward-subword): Rename from c-forward-subword.
16525 (backward-subword): Rename from c-backward-subword.
16526 (mark-subword): Rename from c-mark-subword.
16527 (kill-subword): Rename from c-kill-subword.
16528 (backward-kill-subword): Rename from c-backward-kill-subword.
16529 (transpose-subwords): Rename from c-tranpose-subword.
16530 (downcase-subword): Rename from c-downcase-subword.
16531 (capitalize-subword): Rename from c-capitalize-subword.
16532 (forward-subword-internal): Rename from c-forward-subword-internal.
16533 (backward-subword-internal): Rename from c-backward-subword-internal.
16535 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
16537 * vc.el (vc-deduce-fileset): Allow non-state changing operations
16538 from a dired buffer.
16539 (vc-dired-deduce-fileset): New function.
16540 (vc-root-diff, vc-print-root-log): Use it.
16542 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
16543 nil LIMIT argument to vc-print-log-internal.
16545 2009-11-20 Glenn Morris <rgm@gnu.org>
16547 * Makefile.in (ELCFILES): Regenerate.
16549 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
16551 * calc/calc.el (calc-set-mode-line):
16552 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16553 (math-format-number): Rename `math-format-complement-signed' to
16554 `math-format-twos-complement'.
16556 * calc/calc-bin.el (math-format-twos-complement): Rename from
16557 math-format-complement-signed.
16558 (calc-radix): Rename `calc-complement-signed-mode' to
16559 `calc-twos-complement-mode'.
16560 (calc-octal-radix, calc-hex-radix): Add an argument for
16563 * calc/calc-embed.el (calc-embedded-mode-vars):
16564 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16566 * calc/calc-ext.el (calc-init-extensions):
16567 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16568 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
16570 * calc/calc-units.el (math-build-units-table-buffer):
16571 Let `calc-twos-complement-mode' be nil.
16573 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
16576 * calc/calc-vec.el (calcFunc-vunpack):
16577 * calc/calc-aent.el (calc-do-calc-eval):
16578 * calc/calc-forms.el (math-format-date):
16579 * calc/calc-graph.el (calc-graph-plot):
16580 * calc/calc-math.el (math-use-emacs-fn):
16581 * calc/calccomp.el (math-compose-expr):
16582 Let `calc-twos-complement-mode' be nil.
16584 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16586 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
16587 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
16588 * minibuffer.el (completion-in-region-functions): New hook.
16589 (completion-in-region): New function.
16590 * emacs-lisp/lisp.el (lisp-complete-symbol):
16591 * pcomplete.el (pcomplete-std-complete): Use it.
16593 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16595 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
16596 (latex-complete-alist): New vars.
16597 (latex-string-prefix-p, latex-complete-bibtex-keys)
16598 (latex-complete-envnames, latex-complete-refkeys)
16599 (latex-complete-data): New functions.
16600 (latex-complete, latex-indent-or-complete): New commands.
16602 * window.el (display-buffer-mark-dedicated): New var.
16603 (display-buffer): Obey it.
16604 * minibuffer.el (minibuffer-completion-help): Use it.
16606 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
16608 * filecache.el (file-cache-add-file): Use push and cons.
16609 (file-cache-delete-file-regexp): Use push.
16610 (file-cache-complete): Use completion-in-region.
16612 * simple.el (with-wrapper-hook): Fix thinko.
16614 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
16615 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
16616 Use with-current-buffer and string-to-number.
16617 (hfy-fallback-colour-values): Use assoc-string.
16618 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
16619 (hfy-face-at): Remove unused var `found-face'.
16620 (hfy-compile-stylesheet): Remove unused var `css'.
16621 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
16623 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
16624 Use with-current-buffer.
16625 (hfy-text-p): Use expand-file-name and fewer setq.
16627 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
16629 * htmlfontify.el, hfy-cmap.el: New files.
16631 2009-11-19 Juri Linkov <juri@jurta.org>
16633 * minibuffer.el (completions-format): New defcustom.
16634 (completion--insert-strings): Implement vertical format.
16636 * simple.el (switch-to-completions): Move point to the first
16637 completion when point was at the beginning of the buffer.
16639 2009-11-19 Juri Linkov <juri@jurta.org>
16641 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
16643 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
16645 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
16647 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
16648 (mail-signature): Change default to t.
16649 (mail-from-style): Deprecate `system-default' value.
16650 (mail-insert-from-field): For default value of mail-from-style,
16651 default to `angles' unless `angles' needs quoting and `parens'
16653 (mail-citation-prefix-regexp): Use citation regexp from
16656 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
16658 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
16659 Set variables for computing the prompt for reading password.
16661 2009-11-19 Glenn Morris <rgm@gnu.org>
16663 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
16665 * textmodes/flyspell.el (sgml-lexical-context): Declare.
16667 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
16668 (newsticker-treeview-listwindow-height): Fix custom type.
16670 2009-11-19 Kenichi Handa <handa@m17n.org>
16672 * descr-text.el (describe-char-padded-string): Compose with TAB
16673 only if there's a font for CH.
16674 (describe-char): Fix the condition for detecting a trivial composition.
16676 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
16678 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
16679 more accurate version of the regexp. (Bug#3910)
16681 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16683 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
16685 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
16687 * font-setting.el (font-use-system-font): Declare for byte-compiler.
16688 (font-setting-change-default-font): Fix typo in docstring.
16690 2009-11-18 Alan Mackenzie <acm@muc.de>
16692 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
16694 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16696 * font-setting.el (font-use-system-font): Move ...
16698 * cus-start.el (all): ... to here.
16700 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
16702 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
16703 Don't set `ad-return-value' if `ad-do-it' doesn't.
16705 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
16708 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16710 * menu-bar.el: Put "Use system font" in Option-menu.
16711 (menu-bar-options-save): Add font-use-system-font.
16713 * loadup.el: If feature system-font-setting or font-render-setting is
16714 there, load font-setting.
16716 * Makefile.in (ELCFILES): Add font-settings.el.
16717 * font-setting.el: New file.
16719 2009-11-17 Glenn Morris <rgm@gnu.org>
16721 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
16723 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
16724 Preserve point in the list buffer. (Bug#4939)
16726 (newsticker--treeview-list-update-highlight)
16727 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
16729 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16731 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
16734 * calc/calc-ext.el (calc-init-extensions): Remove references to
16737 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
16739 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
16740 * calc/calc-help.el (calc-b-prefix-help): Remove references to
16743 2009-11-16 Kevin Ryde <user42@zip.com.au>
16745 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16746 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
16748 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
16749 (lm-keywords-list): Allow comma-only separator like "foo,bar".
16750 Ignore trailing spaces by omit-nulls to split-string (fixing
16751 regression from Emacs 21 due to the incompatible split-string
16752 change). (Bug #4928.)
16754 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
16756 * vc.el (vc-log-show-limit): Default to 2000.
16757 (vc-print-log-internal): Insert buttons to request more entries
16758 when limiting the output.
16760 * vc-sccs.el (vc-sccs-print-log):
16761 * vc-rcs.el (vc-rcs-print-log):
16762 * vc-cvs.el (vc-cvs-print-log):
16763 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
16766 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16768 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
16769 error when `tramp-gvfs-dbus-event-vector' is set.
16770 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
16772 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16774 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
16776 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16778 * net/dbus.el (dbus-unregister-service): New defun.
16779 (dbus-register-property): Register the handlers of
16780 "org.freedesktop.DBus.Properties" for SERVICE.
16781 (dbus-property-handler): Fix docstring.
16783 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16785 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16786 Quote doc string reference in defvaralias as it is not in special form.
16787 (byte-compile-output-docform): Doc fix.
16789 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16791 * calc/calc.el (math-2-word-size, math-half-2-word-size)
16792 (calc-complement-signed-mode): New variables.
16793 (calc-set-mode-line): Add indicator for twos-complements.
16794 (math-format-number): Format twos-complement notation.
16796 * calc/calc-bin.el (calc-word-size): Reset the variables
16797 `math-2-word-size' and `math-half-2-word-size'.
16798 (math-format-complement-signed, math-symclip, calcFunc-symclip)
16799 (calc-symclip): New functions.
16801 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16803 * calc/calc-embed.el (calc-embedded-mode-vars):
16804 Add `calc-complement-signed-mode' to the list of modes.
16806 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16807 (calc-b-oper-keys): Add `calc-symclip' to list.
16809 * calc/calc-ext.el (math-read-number-fancy): Read complement
16811 (calc-init-extensions): Add binding for `calc-symclip'.
16812 Add autoload for `calcFunc-symclip' and `calc-symclip'.
16814 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16816 (calc-modes-menu): Add item for twos complement mode.
16818 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16820 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16822 * register.el (jump-to-register, insert-register): Handle Semantic
16823 tags. From commented-out advice in semantic/senator.el.
16825 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
16827 * vc.el (vc-log-show-limit): New variable.
16828 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
16829 when using a prefix argument.
16830 (vc-print-log-internal): Add new argument LIMIT.
16832 * vc-svn.el (vc-svn-print-log):
16833 * vc-mtn.el (vc-mtn-print-log):
16834 * vc-hg.el (vc-hg-print-log):
16835 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16836 pass it to the log command when set. Make the BUFFER argument
16839 * vc-sccs.el (vc-sccs-print-log):
16840 * vc-rcs.el (vc-rcs-print-log):
16841 * vc-git.el (vc-git-print-log):
16842 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16843 ignore it. Make the BUFFER argument non-optional.
16845 * bindings.el (mode-line-buffer-identification): Do not purecopy.
16847 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16849 * dired.el (dired-mode-map): Move encryption items to "Operate"
16852 * strokes.el (strokes-update-window-configuration): Make strokes
16853 buffer current before erasing (Bug#4906).
16855 2009-11-15 Juri Linkov <juri@jurta.org>
16857 * simple.el (set-mark-default-inactive): Add :type, :group
16858 and :version. (Bug#4876)
16860 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
16862 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16863 (archive-unique-fname): ... here. (Bug#4929)
16865 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
16867 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16870 * novice.el (disabled-command-function): Add useful args.
16871 Setup the help buffer so that [back] works.
16872 Remove redundant call to help-mode.
16873 (disabled-command-function): Use `case'.
16874 (en/disable-command): New function extracted from enable-command.
16875 (enable-command, disable-command): Use it.
16877 2009-11-14 Glenn Morris <rgm@gnu.org>
16879 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16880 constants. (Bug#4913)
16882 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16884 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
16886 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16887 defined in C that have no doc-strings. (Bug#1063)
16889 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
16891 * cus-edit.el (data, files):
16892 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
16894 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
16896 * simple.el (shell-command): Doc fix (Bug#4891).
16898 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16900 2009-11-14 Glenn Morris <rgm@gnu.org>
16902 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16903 statements for vc-diff, emerge-quit, and rmail-cease-edit.
16904 If they are already loaded, eval-after-load will do the right thing.
16906 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16909 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16911 * simple.el (x-selection-owner-p): Declare.
16912 (read-mail-command): Use custom radio type rather than choice.
16913 (completion-no-auto-exit): Doc fix.
16915 * custom.el (defgroup):
16916 * epg-config.el (epg): Doc fixes.
16918 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
16920 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16921 * international/ccl.el (define-ccl-program): Do not purecopy the
16922 docstring, defconst does it anyway.
16924 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16926 * add-log.el (add-change-log-entry): Avoid displaying the changelog
16929 * x-dnd.el (x-dnd-maybe-call-test-function):
16930 * window.el (split-window-vertically):
16931 * whitespace.el (whitespace-help-on):
16932 * vc-rcs.el (vc-rcs-consult-headers):
16933 * userlock.el (ask-user-about-lock-help)
16934 (ask-user-about-supersession-help):
16935 * type-break.el (type-break-force-mode-line-update):
16936 * time-stamp.el (time-stamp-conv-warn):
16937 * terminal.el (te-set-output-log, te-more-break, te-filter)
16938 (te-sentinel, terminal-emulator):
16939 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16940 (term-write-input-ring, term-check-source, term-start-output-log):
16941 (term-display-buffer-line, term-dynamic-list-completions):
16942 (term-ansi-make-term, serial-term):
16943 * subr.el (selective-display):
16944 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16945 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16946 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16947 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16948 (speedbar-remove-localized-speedbar-support)
16949 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16950 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16951 (speedbar-buffers-line-directory):
16952 * simple.el (shell-command-on-region, append-to-buffer)
16953 (prepend-to-buffer):
16954 * shadowfile.el (shadow-save-todo-file):
16955 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16956 (scroll-bar-maybe-set-window-start):
16957 * sb-image.el (speedbar-image-dump):
16958 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16959 (load-save-place-alist-from-file):
16960 * ps-samp.el (ps-print-message-from-summary):
16961 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16962 (ps-background-image, ps-begin-job, ps-do-despool):
16963 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16964 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16965 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16966 (pr-call-process, pr-file-list, pr-interface-save):
16967 * novice.el (disabled-command-function)
16968 (enable-command, disable-command):
16969 * mouse.el (mouse-buffer-menu-alist):
16970 * mouse-copy.el (mouse-kill-preserving-secondary):
16971 * macros.el (kbd-macro-query):
16972 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16973 * informat.el (batch-info-validate):
16974 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16975 * hippie-exp.el (try-expand-dabbrev-visible):
16976 * help-mode.el (help-make-xrefs):
16977 * help-fns.el (describe-variable):
16978 * generic-x.el (bat-generic-mode-run-as-comint):
16979 * finder.el (finder-mouse-select):
16980 * find-dired.el (find-dired-sentinel):
16981 * filesets.el (filesets-file-close):
16982 * files.el (list-directory):
16983 * faces.el (list-faces-display, describe-face):
16984 * facemenu.el (list-colors-display):
16985 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16986 * epg.el (epg--process-filter, epg-cancel):
16987 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16988 (epa--read-signature-type):
16989 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16990 (emerge-file-names):
16991 * ehelp.el (electric-helpify):
16992 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
16993 * ediff-vers.el (rcs-ediff-view-revision):
16994 * ediff-util.el (ediff-setup):
16995 * ediff-mult.el (ediff-append-custom-diff):
16996 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16998 * echistory.el (Electric-command-history-redo-expression):
16999 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
17000 * disp-table.el (describe-display-table):
17001 * dired.el (dired-find-buffer-nocreate):
17002 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
17003 * dabbrev.el (dabbrev--same-major-mode-p):
17004 * chistory.el (list-command-history):
17005 * apropos.el (apropos-documentation):
17006 * allout.el (allout-obtain-passphrase):
17007 (allout-copy-exposed-to-buffer):
17008 (allout-verify-passphrase): Use with-current-buffer.
17010 2009-11-13 Glenn Morris <rgm@gnu.org>
17012 * Makefile.in (ELCFILES): Regenerate.
17014 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
17016 * net/dbus.el (dbus-registered-objects-table): Rename from
17017 `dbus-registered-functions-table', because it contains also properties.
17018 (dbus-unregister-object): Unregister also properties.
17019 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
17020 Use a timeout of 500 msec, in order to not block.
17021 (dbus-register-property, dbus-property-handler): New defuns.
17023 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
17025 * simple.el (minibuffer-default-add-completions): Drop deprecated
17028 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
17030 * textmodes/artist.el (artist-mouse-choose-operation):
17031 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
17032 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
17033 (artist-compute-up-event-key): New function.
17034 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
17036 2009-11-13 Kenichi Handa <handa@m17n.org>
17038 * language/japan-util.el: Make sure that the value of jisx0208
17039 property is jisx0208 character.
17041 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
17043 * international/mule.el (auto-coding-regexp-alist): Only purecopy
17044 car or each item, not the whole list.
17046 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
17048 * minibuffer.el (minibuffer-completion-help):
17049 Use minibuffer-hide-completions.
17051 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
17053 * dired.el (dired-save-positions, dired-restore-positions): New funs.
17054 (dired-revert): Use them (bug#4880).
17056 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
17058 * tooltip.el (tooltip-frame-parameters): Undo previous change.
17060 2009-11-12 Juri Linkov <juri@jurta.org>
17062 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
17064 (find-file-literally-at-point): Alias of `ffap-literally'.
17066 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
17068 * textmodes/ispell.el (ispell-skip-region-alist):
17069 * textmodes/css-mode.el (auto-mode-alist):
17070 * progmodes/compile.el (auto-mode-alist):
17071 * international/mule.el (ctext-non-standard-encodings-alist)
17072 (ctext-non-standard-encodings-regexp):
17073 * simple.el (shell-command-switch, text-read-only):
17074 * replace.el (occur-mode-map):
17075 * paths.el (rmail-file-name):
17076 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
17077 * find-file.el (ff-special-constructs):
17078 * files.el (file-name-handler-alist):
17079 * composite.el: Purecopy strings.
17081 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
17083 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
17085 * widget.el (define-widget): Purecopy the docstring.
17086 * international/mule-cmds.el (charset): Do not purecopy the
17087 docstring here, define-widget does it.
17089 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
17090 * textmodes/bibtex-style.el (auto-mode-alist):
17091 * progmodes/inf-lisp.el (inferior-lisp-prompt):
17092 * progmodes/compile.el (compile-command):
17093 * language/korea-util.el (default-korean-keyboard):
17094 * international/mule-conf.el (file-coding-system-alist):
17095 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
17096 * tooltip.el (tooltip-frame-parameters):
17097 * newcomment.el (comment-end, comment-padding):
17098 * dired.el (dired-trivial-filenames):
17099 * comint.el (comint-file-name-prefix): Purecopy initial values.
17101 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
17103 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
17104 (tramp-advice-minibuffer-electric-tilde): Unload advices via
17106 (tramp-advice-make-auto-save-file-name)
17107 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
17108 after removing the advice.
17110 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
17112 * progmodes/grep.el (grep-regexp-alist):
17113 * international/mule-cmds.el (iso-2022-control-alist):
17114 * emacs-lisp/timer.el (timer-duration-words):
17115 * subr.el (version-separator, version-regexp-alist):
17116 * minibuffer.el (completion-styles-alist):
17117 * faces.el (face-attribute-name-alist, list-faces-sample-text):
17118 Change defvars to defconsts.
17120 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
17121 * loadup.el ("international/mule-conf"): Load the byte compiled version.
17122 * international/mule-conf.el: Allow to be byte compiled.
17124 * international/mule.el (define-charset): Purecopy props.
17125 (load-with-code-conversion): Purecopy doc string and file name.
17126 (put-charset-property): Purecopy strings.
17127 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
17129 * international/mule-cmds.el (register-input-method): Purecopy arguments.
17130 (define-char-code-property): Correctly purecopy the table.
17132 * international/ccl.el (define-ccl-program): Purecopy the docstring.
17134 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
17136 * subr.el (add-hook): Purecopy strings.
17137 (eval-after-load): Purecopy load-history-regexp and the form.
17139 * custom.el (custom-declare-group): Purecopy load-file-name.
17141 * subr.el (menu-bar-separator): New defconst.
17142 * net/eudc.el (eudc-tools-menu):
17143 * international/mule-cmds.el (set-coding-system-map)
17144 (mule-menu-keymap):
17145 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17146 * vc-hooks.el (vc-menu-map):
17147 * replace.el (occur-mode-map):
17148 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
17149 (menu-bar-edit-menu, menu-bar-goto-menu)
17150 (menu-bar-custom-menu, menu-bar-showhide-menu)
17151 (menu-bar-options-menu, menu-bar-tools-menu)
17152 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
17153 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
17154 (menu-bar-help-menu):
17155 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
17156 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
17158 * term/x-win.el (x-gtk-stock-map):
17159 * progmodes/vera-mode.el (auto-mode-alist):
17160 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
17161 (inferior-lisp-program, inferior-lisp-load-command):
17162 * progmodes/hideshow.el (hs-special-modes-alist):
17163 * progmodes/gud.el (same-window-regexps):
17164 * progmodes/grep.el (grep-program, find-program, xargs-program):
17165 * net/telnet.el (same-window-regexps):
17166 * net/rlogin.el (same-window-regexps):
17167 * language/ethiopic.el (font-ccl-encoder-alist):
17168 * vc-sccs.el (vc-sccs-master-templates):
17169 * vc-rcs.el (vc-rcs-master-templates):
17170 * subr.el (cl-assertion-failed):
17171 * simple.el (next-error-overlay-arrow-position):
17172 * lpr.el (lpr-command):
17173 * locate.el (locate-ls-subdir-switches):
17174 * info.el (same-window-regexps, info)
17175 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
17176 * image-mode.el (image-mode, auto-mode-alist):
17177 * hippie-exp.el (hippie-expand-ignore-buffers):
17178 * format.el (format-alist):
17179 * find-dired.el (find-ls-subdir-switches, find-grep-options)
17181 * facemenu.el (facemenu-keybindings):
17182 * dired.el (dired-listing-switches, dired-chown-program):
17183 * diff.el (diff-switches, diff-command):
17184 * cus-edit.el (same-window-regexps):
17185 * bindings.el (mode-line-mule-info)
17186 (mode-line-buffer-identification): Purecopy strings.
17188 2009-11-11 Juri Linkov <juri@jurta.org>
17190 * simple.el (dired-get-filename) <declare-function>:
17191 Tell the byte-compiler about dired-get-filename.
17192 (shell-command): In Dired mode, get filename from the current line
17193 as the default value.
17195 2009-11-10 Glenn Morris <rgm@gnu.org>
17197 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
17198 * calendar/holidays.el, progmodes/cperl-mode.el:
17199 Update x-popup-menu declarations.
17201 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
17202 (list-load-path-shadows): Use dolist.
17203 (list-load-path-shadows): Use with-current-buffer.
17205 2009-11-10 Juri Linkov <juri@jurta.org>
17207 * minibuffer.el (read-file-name): Support a list of default values
17208 in `default-filename'. Use the first file name where only one
17209 element is required. Doc fix.
17211 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
17213 * net/dbus.el (dbus-unregister-object): Release service, if no
17214 other method is registered for it.
17216 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
17218 * bookmark.el (bookmark-completing-read): Sort bookmark names if
17219 bookmark-sort-flag is non-nil (Bug#4653).
17221 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
17223 * emulation/cua-base.el: Add CUA property to some CC mode commands
17226 2009-11-08 Kevin Ryde <user42@zip.com.au>
17228 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
17229 at end of sentence (Bug#4818).
17231 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
17233 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17234 Handle "see declaration of" MSFT statements (Bug#4100).
17236 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
17238 * net/tramp.el (tramp-advice-make-auto-save-file-name)
17239 (tramp-advice-file-expand-wildcards): Unload via
17240 `ad-remove-advice'.
17242 * net/trampver.el: Update release number.
17244 2009-11-08 Kevin Ryde <user42@zip.com.au>
17246 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
17249 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
17251 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
17252 in order to keep context in SELinux.
17254 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
17256 * dired-aux.el (dired-query): Place cursor in echo area and allow
17259 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
17260 menu item if not on a directory (Bug#4701).
17262 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
17264 Sync with Tramp 2.1.17.
17266 * net/tramp.el (tramp-handle-copy-directory): Don't use
17267 `file-remote-p' (due to compatibility).
17269 * net/tramp-compat.el (tramp-compat-copy-directory)
17270 (tramp-compat-delete-directory): New defuns.
17272 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17273 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17274 Use `tramp-compat-delete-directory'.
17276 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
17277 (tramp-smb-handle-delete-directory):
17278 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
17280 * net/trampver.el: Update release number.
17282 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
17284 * tar-mode.el (tar-copy): Call write-region on the right buffer
17287 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
17288 by hand, if necessary (Bug#4878).
17290 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
17292 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
17293 align size column (Bug#4839).
17295 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
17298 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
17300 * progmodes/ld-script.el (auto-mode-alist):
17301 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
17303 * cus-face.el (custom-declare-face): Purecopy face spec.
17305 2009-11-06 Kenichi Handa <handa@m17n.org>
17307 * international/uni-bidi.el: Re-generated.
17308 * international/uni-category.el: Re-generated.
17309 * international/uni-combining.el: Re-generated.
17310 * international/uni-mirrored.el: Re-generated.
17312 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
17314 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
17315 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
17316 (tex-start-options, slitex-run-command, latex-run-command)
17317 (tex-run-command, tex-directory):
17318 * textmodes/ispell.el (ispell-html-skip-alists)
17319 (ispell-tex-skip-alists, ispell-tex-skip-alists):
17320 * textmodes/fill.el (adaptive-fill-first-line-regexp):
17321 (adaptive-fill-regexp):
17322 * textmodes/dns-mode.el (auto-mode-alist):
17323 * progmodes/python.el (interpreter-mode-alist):
17324 * progmodes/etags.el (tags-compression-info-list):
17325 * progmodes/etags.el (tags-file-name):
17326 * net/browse-url.el (browse-url-galeon-program)
17327 (browse-url-firefox-program):
17328 * mail/sendmail.el (mail-signature-file)
17329 (mail-citation-prefix-regexp):
17330 * international/mule-conf.el (eight-bit):
17331 * international/latexenc.el (latex-inputenc-coding-alist):
17332 * international/fontset.el (x-pixel-size-width-font-regexp):
17333 * emacs-lisp/warnings.el (warning-type-format):
17334 * emacs-lisp/trace.el (trace-buffer):
17335 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
17336 (emacs-lisp-mode-map):
17337 * calendar/holidays.el (holiday-solar-holidays)
17338 (holiday-bahai-holidays, holiday-islamic-holidays)
17339 (holiday-christian-holidays, holiday-hebrew-holidays)
17340 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
17341 (hebrew-holidays-1, holiday-oriental-holidays)
17342 (holiday-general-holidays):
17343 * x-dnd.el (x-dnd-known-types):
17344 * tool-bar.el (tool-bar):
17345 * startup.el (site-run-file):
17346 * shell.el (shell-dumb-shell-regexp):
17347 * rfn-eshadow.el (file-name-shadow-tty-properties)
17348 (file-name-shadow-properties):
17349 * paths.el (remote-shell-program, news-directory):
17350 * mouse.el ([C-down-mouse-3]):
17351 * menu-bar.el (menu-bar-tools-menu):
17352 * jka-cmpr-hook.el (jka-compr-load-suffixes)
17353 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
17354 (jka-compr-compression-info-list):
17355 * isearch.el (search-whitespace-regexp):
17356 * image-file.el (image-file-name-extensions):
17357 * find-dired.el (find-ls-option):
17358 * files.el (directory-listing-before-filename-regexp)
17359 (directory-free-space-args, insert-directory-program)
17360 (list-directory-brief-switches, magic-fallback-mode-alist)
17361 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
17362 (automount-dir-prefix):
17363 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
17364 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
17365 (face-font-registry-alternatives, face-font-registry-alternatives)
17366 (face-font-family-alternatives):
17367 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
17368 (facemenu-foreground-menu, facemenu-face-menu):
17369 * epa-hook.el (epa-file-name-regexp):
17370 * dnd.el (dnd-protocol-alist):
17371 * textmodes/rst.el (auto-mode-alist):
17372 * button.el (default-button): Purecopy strings.
17374 2009-11-06 Glenn Morris <rgm@gnu.org>
17376 * Makefile.in (ELCFILES): Update.
17378 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
17380 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
17381 * emacs-lisp/levents.el: Move to obsolete/levents.el.
17383 * nxml/xsd-regexp.el (xsdre-gen-categories):
17384 * nxml/xmltok.el (xmltok-parse-entity):
17385 * nxml/rng-parse.el (rng-parse-validate-file):
17386 * nxml/rng-maint.el (rng-format-manual)
17387 (rng-manual-output-force-new-line):
17388 * nxml/rng-loc.el (rng-save-schema-location-1):
17389 * nxml/rng-cmpct.el (rng-c-parse-file):
17390 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
17391 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
17393 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
17395 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
17396 Remove extra save-excursions and make-variable-buffer-local's.
17397 Suggested by Stefan Monnier.
17399 (verilog-getopt-file, verilog-module-inside-filename-p)
17400 (verilog-set-define): Merge GNU 1.35 and repair changes from
17401 switching to using with-current-buffer.
17403 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
17404 being treated as a number and confusing AUTORESET.
17405 Reported by Dan Dever.
17407 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
17408 Add verilog-auto-ignore-concat to fix backward compatibility with
17409 older verilog-modes. Reported by Dan Katz.
17411 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
17412 containing closing anchors "...$".
17414 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
17415 Reported by Wade Smith.
17417 (verilog-batch-execute-func): Comment on function usage.
17419 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
17421 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
17424 (verilog-label-re, verilog-calc-1): Support proper indent of named
17427 (verilog-backward-token, verilog-basic-complete-re)
17428 (verilog-beg-of-statement, verilog-indent-re): Support proper
17429 indent of the assert statement at the beginning of a block of text.
17431 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
17432 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
17435 2009-11-05 Glenn Morris <rgm@gnu.org>
17437 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
17438 Emacs 19. (Bug#1531)
17439 (byte-compile-fix-header): Update for the above change.
17440 Drop test for epoch::version.
17442 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
17443 * cus-dep.el (custom-make-dependencies):
17444 * finder.el (finder-compile-keywords):
17445 Use autoload-rubric's feature argument.
17447 * calendar/diary-lib.el (top-level): Make load behave more like require.
17449 * vc-git.el (vc-git-stash-map): Move definition before use.
17451 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
17453 * custom.el (custom-declare-group): Purecopy standard-value.
17454 (custom-declare-group): Purecopy custom-prefix.
17456 * international/mule.el (load-with-code-conversion):
17457 Call do-after-load-evaluation unconditionally.
17459 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
17461 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
17463 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
17465 2009-11-04 Glenn Morris <rgm@gnu.org>
17467 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
17468 (byte-compile-compatibility): Remove option.
17469 (byte-compile-close-variables, byte-compile-fix-header)
17470 (byte-compile-insert-header, byte-compile-output-docform)
17471 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
17472 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
17473 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
17474 (byte-compile-insert, byte-compile-defun):
17475 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
17476 (byte-defop-compiler19): Remove.
17477 Without byte-compile-compatibility, the 'emacs19-opcode property is not
17478 used by anything. Replace all calls with byte-defop-compiler.
17480 2009-11-04 Juri Linkov <juri@jurta.org>
17482 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
17483 (menu-bar-options-menu): Don't quote the `prop' arg of
17484 `menu-bar-make-mm-toggle'.
17486 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
17488 * calendar/calendar.el (cal-loaddefs):
17489 * calendar/diary-lib.el (diary-loaddefs):
17490 * calendar/holidays.el (hol-loaddefs):
17491 * eshell/esh-module.el (esh-groups): Load rather than require.
17493 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17495 * calendar/todo-mode.el (todo-add-category): Don't hardcode
17497 (todo-top-priorities): Only display-buffer when called interactively.
17498 (todo-item-start): Don't save excursion point.
17499 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
17500 (todo-insert-item-here, todo-file-item, todo-remove-item):
17501 Adjust uses of todo-item-start and todo-item-end.
17503 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
17504 (autoload-rubric): Don't use any more.
17506 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
17507 and only put a prop if it is non-nil.
17509 2009-11-03 Juri Linkov <juri@jurta.org>
17511 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
17512 (menu-bar-options-menu): Fix list quoting (Bug#4429).
17514 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
17515 and "Menu" to make top-level menu item visually one unit (like
17516 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
17517 multi-word menu items). Fix :help string for quit-window.
17519 2009-11-03 Glenn Morris <rgm@gnu.org>
17521 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
17522 (byte-compile-file-form-define-abbrev-table)
17523 (byte-compile-file-form-custom-declare-variable)
17524 (byte-compile-variable-ref, byte-compile-defvar):
17525 Whether or not a warning is enabled should only affect whether we issue
17526 the warning, not whether or not we collect the relevant data.
17527 Eg warnings can be turned on and off throughout the course of a file.
17529 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
17530 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
17532 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17534 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
17535 * play/mpuz.el (mpuz-create-buffer):
17536 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
17537 (lm-print-y,s,noise, lm-print-w0, lm-init):
17538 * play/gomoku.el (gomoku-prompt-for-move):
17539 * play/fortune.el (fortune-in-buffer):
17540 * play/dissociate.el (dissociated-press):
17541 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
17542 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
17543 * mail/supercite.el (sc-eref-show):
17544 * mail/smtpmail.el (smtpmail-send-it):
17545 * mail/rmailsum.el (rmail-summary-next-labeled-message)
17546 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
17547 (rmail-summary-undelete-many, rmail-summary-rmail-update)
17548 (rmail-summary-goto-msg, rmail-summary-expunge)
17549 (rmail-summary-get-new-mail, rmail-summary-search-backward)
17550 (rmail-summary-add-label, rmail-summary-output-menu)
17551 (rmail-summary-output-body):
17552 * mail/rfc822.el (rfc822-addresses):
17553 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
17554 * mail/mailpost.el (post-mail-send-it):
17555 * mail/hashcash.el (hashcash-generate-payment):
17556 * mail/feedmail.el (feedmail-run-the-queue)
17557 (feedmail-queue-send-edit-prompt-help-first)
17558 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
17559 (feedmail-deduce-address-list):
17560 * eshell/esh-ext.el (eshell-remote-command):
17561 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
17562 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
17563 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
17564 (viper-save-string-in-file, viper-valid-marker):
17565 * emulation/viper-keym.el (viper-toggle-key):
17566 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
17567 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
17568 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
17569 * emulation/viper-cmd.el (viper-exec-form-in-vi)
17570 (viper-exec-form-in-emacs, viper-brac-function):
17571 * emulation/viper.el (viper-delocalize-var):
17572 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
17573 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
17574 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
17575 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
17576 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
17577 * emulation/edt.el (edt-electric-helpify):
17578 * emulation/cua-rect.el (cua--rectangle-aux-replace):
17579 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
17580 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
17581 (cua-indent-to-global-mark-column):
17582 * calendar/diary-lib.el (calendar-mark-1):
17583 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
17584 Use with-current-buffer.
17585 * emulation/viper.el (viper-delocalize-var): Use dolist.
17587 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
17589 * comint.el (comint-replace-by-expanded-history-before-point):
17590 Replace !! with the previous input string literally (Bug#1795).
17592 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
17594 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
17595 to be made up of whitespace.
17597 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
17599 * minibuffer.el (read-file-name): Don't use file dialogs for
17600 remote directories (Bug#99).
17602 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
17604 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
17606 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
17608 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
17609 instead of deleting the window or frame.
17611 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17613 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
17614 Support face colors.
17616 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
17617 New function. Support face colors (Bug#1168).
17618 (tex-common-initialization): Use it.
17620 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
17621 mode allows it (Bug#1168).
17623 2009-10-31 Juri Linkov <juri@jurta.org>
17625 * facemenu.el (list-colors-display): Don't mark buffer as
17626 modified (Bug#3948).
17628 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17630 * international/mule-diag.el (list-character-sets-1):
17631 Minor message fix (Bug#3526).
17633 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
17634 Fix face property (Bug#4834).
17635 (etags-list-tags, etags-tags-apropos-additional)
17636 (etags-tags-apropos, tags-select-tags-table): Add follow-link
17639 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
17642 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
17644 * textmodes/two-column.el (2C-split):
17645 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
17646 * textmodes/tex-mode.el (tex-set-buffer-directory):
17647 * textmodes/spell.el (spell-region, spell-string):
17648 * textmodes/reftex.el (reftex-erase-buffer):
17649 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
17650 * textmodes/reftex-toc.el (reftex-toc-promote-action):
17651 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
17652 (reftex-select-item):
17653 * textmodes/reftex-ref.el (reftex-label-info-update)
17654 (reftex-offer-label-menu):
17655 * textmodes/reftex-index.el (reftex-index-change-entry)
17656 (reftex-index-phrases-info):
17657 * textmodes/reftex-global.el (reftex-create-tags-file)
17658 (reftex-save-all-document-buffers, reftex-ensure-write-access):
17659 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
17660 (reftex-view-crossref-from-bibtex):
17661 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
17662 (reftex-extract-bib-entries-from-thebibliography)
17663 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
17664 * textmodes/refbib.el (r2b-capitalize-title):
17665 (r2b-convert-buffer, r2b-help):
17666 * textmodes/page-ext.el (pages-directory)
17667 (pages-directory-goto-with-mouse):
17668 * textmodes/bibtex.el (bibtex-validate-globally):
17669 * textmodes/bib-mode.el (bib-capitalize-title):
17670 * textmodes/artist.el (artist-clear-buffer, artist-system):
17671 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
17672 (local-set-scheme-interaction-buffer, xscheme-process-filter)
17673 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
17674 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
17675 (xscheme-send-control-g-interrupt, xscheme-start-process)
17676 (xscheme-process-sentinel, xscheme-cd):
17677 * progmodes/verilog-mode.el (verilog-read-always-signals)
17678 (verilog-set-define, verilog-getopt-file)
17679 (verilog-module-inside-filename-p):
17680 * progmodes/sh-script.el:
17681 * progmodes/python.el (python-pdbtrack-get-source-buffer)
17682 (python-pdbtrack-grub-for-buffer, python-execute-file):
17683 * progmodes/octave-inf.el (inferior-octave):
17684 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
17685 (idlwave-shell-compile-helper-routines, idlwave-set-local)
17686 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
17687 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
17688 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
17689 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
17690 (idlwave-shell-filter, idlwave-shell-examine-highlight)
17691 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
17692 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
17693 (idlwave-shell-examine-display, idlwave-shell-run-region)
17694 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
17695 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
17696 * progmodes/idlw-help.el (idlwave-help-get-special-help)
17697 (idlwave-help-get-help-buffer):
17698 * progmodes/gud.el (gud-basic-call, gud-find-class)
17699 (gud-tooltip-activate-mouse-motions-if-enabled):
17700 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
17701 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
17702 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
17703 (ebrowse-tags-next-file):
17704 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
17705 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
17706 (ebnf-eps-finish-and-write):
17707 * progmodes/cpp.el (cpp-edit-save):
17708 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
17709 * progmodes/cc-defs.el (c-emacs-features):
17710 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
17711 (antlr-directory-dependencies):
17712 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
17713 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
17714 (ada-find-any-references, ada-make-filename-from-adaname)
17715 (ada-make-body-gnatstub):
17716 * obsolete/rnews.el (news-list-news-groups):
17717 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
17718 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
17719 * net/rcirc.el (rcirc-debug):
17720 * net/newst-treeview.el (newsticker--treeview-list-add-item)
17721 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
17722 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
17723 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
17724 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
17725 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
17726 (newsticker--treeview-list-clear-highlight)
17727 (newsticker--treeview-list-update-highlight)
17728 (newsticker--treeview-list-highlight-start)
17729 (newsticker--treeview-tree-update-highlight)
17730 (newsticker--treeview-get-selected-item)
17731 (newsticker-treeview-mark-list-items-old)
17732 (newsticker--treeview-set-current-node):
17733 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
17734 * net/newst-backend.el (newsticker--get-news-by-funcall)
17735 (newsticker--get-news-by-wget, newsticker--image-get)
17736 (newsticker--image-sentinel):
17737 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
17738 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
17739 (eudc-ph-close-session):
17740 * net/eudc.el (eudc-save-options):
17741 * language/thai-word.el (thai-update-word-table):
17742 * language/japan-util.el (japanese-string-conversion):
17743 * international/titdic-cnv.el (tsang-quick-converter)
17744 (ziranma-converter, ctlau-converter):
17745 * international/mule-cmds.el (describe-language-environment):
17746 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
17747 (skkdic-convert-postfix, skkdic-convert-prefix):
17748 (skkdic-convert-okuri-nasi, skkdic-convert):
17749 * emacs-lisp/re-builder.el (reb-update-overlays):
17750 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
17751 * emacs-lisp/gulp.el (gulp-send-requests):
17752 * emacs-lisp/find-gc.el (trace-call-tree):
17753 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
17754 (eieio-describe-generic):
17755 * emacs-lisp/eieio-base.el (eieio-persistent-read):
17756 * emacs-lisp/edebug.el (edebug-outside-excursion):
17757 * emacs-lisp/debug.el (debugger-make-xrefs):
17758 * emacs-lisp/cust-print.el (custom-prin1-to-string):
17759 * emacs-lisp/chart.el (chart-new-buffer):
17760 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
17761 Use with-current-buffer.
17762 * textmodes/artist.el (artist-system): Don't call
17763 copy-sequence on a fresh string.
17764 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
17766 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
17768 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
17769 is no item to edit. (Bug#4820)
17770 (todo-top-priorities): Restore point and restore narrowing in Todo
17773 2009-10-31 Glenn Morris <rgm@gnu.org>
17775 * net/ange-ftp.el (top-level): Don't require dired when compiling.
17776 (comint-last-output-start, comint-last-input-start)
17777 (comint-last-input-end): Don't defvar when compiling.
17778 (ange-ftp-process-file): Use bound-and-true-p.
17780 * pcmpl-rpm.el (top-level): Move provide statement to end.
17781 (pcmpl-rpm): Remove unused custom group.
17783 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17785 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17787 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17788 (byte-compile-warnings): Add `constants' as an option.
17789 (byte-compile-callargs-warn, byte-compile-arglist-warn)
17790 (display-call-tree): Update for byte-compile-fdefinition possibly
17791 returning `(macro lambda ...)'. (Bug#4778)
17792 (byte-compile-variable-ref, byte-compile-setq-default):
17793 Respect `constants' member of byte-compile-warnings.
17795 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17797 * vc-bzr.el (vc-bzr-revision-keywords): New var.
17798 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17801 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
17803 * textmodes/ispell.el (ispell-skip-region-alist):
17804 * international/mule-conf.el (eight-bit):
17805 * international/fontset.el (font-encoding-alist):
17806 * startup.el (pure-space-overflow-message):
17807 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17808 * paths.el (gnus-nntp-service, rmail-spool-directory)
17809 (term-file-prefix):
17810 * files.el (save-some-buffers-action-alist):
17811 * cmuscheme.el (same-window-buffer-names):
17812 * ielm.el (same-window-buffer-names):
17813 * shell.el (same-window-buffer-names):
17814 * mail/sendmail.el (same-window-buffer-names):
17815 * progmodes/inf-lisp.el (same-window-buffer-names):
17816 * bindings.el (mode-line-client)
17817 (mode-line-column-line-number-mode-map):
17818 * language/tibetan.el (tibetan-precomposition-rule-regexp)
17819 (tibetan-precomposed-regexp): Purecopy string arguments.
17821 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17823 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17824 (calcDigit-nondigit):
17825 * calc/calc-yank.el (calc-copy-to-buffer):
17826 * calc/calc-units.el (calc-invalidate-units-table):
17827 * calc/calc-trail.el (calc-trail-yank):
17828 * calc/calc-store.el (calc-insert-variables):
17829 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17830 * calc/calc-prog.el (calc-read-parse-table):
17831 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17832 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17833 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17834 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17835 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17836 (calc-graph-name, calc-graph-find-command, calc-graph-view)
17837 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17838 * calc/calc-ext.el (calc-realign):
17839 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17840 (calc-embedded-finish-edit, calc-embedded-make-info)
17841 (calc-embedded-finish-command, calc-embedded-stack-change):
17842 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17844 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17845 shell-dynamic-complete-filename in preference to
17846 comint-dynamic-complete-filename.
17848 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17849 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17850 Don't consider whether the display supports colors.
17851 (bookmark-import-new-list): Use dolist.
17852 (bookmark-bmenu-mode-map): Move initialization into declaration.
17853 (bookmark-bmenu-list): Use dolist, simplify.
17854 (bookmark-show-all-annotations): Use save-selected-window and dolist.
17855 (menu-bar-final-items): Use push.
17857 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
17859 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17860 it works on remote files.
17861 (vc-hg-diff): Don't pass any `--cwd' argument.
17863 2009-10-27 Kevin Ryde <user42@zip.com.au>
17865 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17866 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17867 (Further to Bug#3921).
17869 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
17871 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17872 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17873 calling `tramp-imap-put-file'. Add file size to the call.
17874 (tramp-imap-get-file-entries): Compute also user name, file size,
17876 (tramp-imap-handle-insert-directory): Insert uid and gid.
17877 (tramp-imap-handle-file-attributes): Transform uid and gid
17878 according to `id-format'.
17879 (tramp-imap-put-file): New optional parameter SIZE. Encode file
17880 size in header X-Size.
17882 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
17884 * simple.el (transpose-subr): Give clearer error when the mark
17885 is not set. (Bug#4807)
17887 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
17889 * net/tramp.el (tramp-perl-file-truename): New defconst.
17890 Perl code contributed by yary <not.com@gmail.com> (tiny change).
17891 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17892 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17893 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17895 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17896 Ignore `dired-call-process'.
17897 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17899 2009-10-26 Julian Scheid <julians37@gmail.com>
17901 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17902 (tramp-get-remote-readlink): New defun.
17903 (tramp-handle-file-truename): Use it.
17904 (tramp-handle-file-exists-p): Check file-attributes cache, assume
17905 file exists if cache value present.
17906 (tramp-check-cached-permissions): New defun.
17907 (tramp-handle-file-readable-p): Use it.
17908 (tramp-handle-file-writable-p): Likewise.
17909 (tramp-handle-file-executable-p): Likewise.
17910 (tramp-handle-file-name-all-completions): Try using Perl to get
17911 partial completions. When perl not available, combine `cd' and
17912 `ls' into single remote operation and use shell expansion to get
17913 partial remote directory contents. Set `file-exists-p' cache for
17914 directory and any files returned by ls. Change cache handling to
17915 support partial directory contents. Use error message emitted by
17916 remote `cd' or Perl code for local tramp-error.
17917 (tramp-do-copy-or-rename-file-directly): Avoid separate
17918 tramp-send-command-and-check call.
17919 (tramp-handle-process-file): Merge three remote ops into one.
17920 Do not flush all caches when `process-file-side-effects' is set.
17921 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17922 file-attributes shows uid/gid to be set already.
17924 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
17926 * textmodes/tex-mode.el (tex-dvi-view-command)
17927 (tex-show-queue-command, tex-open-quote):
17928 * progmodes/ruby-mode.el (auto-mode-alist)
17929 (interpreter-mode-alist): Purecopy strings.
17931 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17933 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17934 string for the hook, keymap and abbrev table.
17936 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17938 * x-dnd.el (x-dnd-xdnd-to-action):
17939 * startup.el (fancy-startup-text, fancy-about-text): Change to
17940 defconst from defvar.
17942 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17944 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17945 Purecopy initialization strings.
17947 * mail/sendmail.el (mail-header-separator)
17948 (mail-personal-alias-file):
17949 * mail/rmail.el (rmail-default-dont-reply-to-names)
17950 (rmail-ignored-headers, rmail-retry-ignored-headers)
17951 (rmail-highlighted-headers, rmail-secondary-file-directory)
17952 (rmail-secondary-file-regexp):
17953 * files.el (null-device, file-name-invalid-regexp)
17954 (locate-dominating-stop-dir-regexp)
17955 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17956 (interpreter-mode-alist): Use mapcar instead of mapc.
17958 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17960 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17961 (completion-ignored-extensions):
17962 (debug-ignored-errors): Purecopy strings.
17964 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17966 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17967 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17968 (pcomplete--here): Use push.
17970 * subr.el (all-completions): Declare the 4th arg obsolete.
17972 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17974 * pcomplete.el (pcomplete-unquote-argument-function): New var.
17975 (pcomplete-unquote-argument): New function.
17976 (pcomplete--common-suffix): Always pay attention to case.
17977 (pcomplete--table-subvert): Quote and unquote the text.
17978 (pcomplete--common-quoted-suffix): New function.
17979 (pcomplete-std-complete): Use it and pcomplete-begin.
17981 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17982 we're inside a dedicated or minibuffer window.
17984 2009-10-24 Karl Fogel <kfogel@red-bean.com>
17986 * bookmark.el: Update documentation, especially documentation
17987 of `bookmark-alist' and of the bookmark file format.
17988 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
17990 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
17992 * mail/emacsbug.el (report-emacs-bug): Clarify that the
17993 keybindings apply to the mail buffer (Bug#4003). Shrink help
17996 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17997 (global-whitespace-mode, global-whitespace-newline-mode)
17998 (whitespace-toggle-options, global-whitespace-toggle-options):
17999 Doc fix (Bug#3660).
18001 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
18002 of xmltok-start before the end tag was inserted (Bug#2840).
18004 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
18005 patterns that are preceded by an open-paren (Bug#1320).
18007 2009-10-24 Sven Joachim <svenjoac@gmx.de>
18009 * files.el (delete-directory): Delete symlinks to directories with
18010 delete-file (Bug#4739).
18012 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
18014 * vc.el (vc-backend-for-registration): Rename from
18015 vc-get-backend-for-registration. Update callers.
18017 * international/mule-cmds.el (set-language-info-alist):
18019 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
18020 (charset): Purecopy the name.
18021 (define-char-code-property): Purecopy string arguments.
18023 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18024 Purecopy string arguments.
18026 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
18027 * ediff-hook.el (menu-bar-ediff-menu):
18028 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
18029 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
18031 2009-10-24 Glenn Morris <rgm@gnu.org>
18033 * comint.el (comint-dynamic-list-completions):
18034 * term.el (term-dynamic-list-completions): Use choose-completion rather
18035 than obsolete alias mouse-choose-completion.
18037 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
18038 file-cache-choose-completion.
18039 (file-cache-choose-completion): Handle an optional event argument.
18040 (file-cache-mouse-choose-completion): Make it an obsolete alias.
18042 * progmodes/octave-mod.el (octave-complete-symbol):
18043 Use choose-completion if mouse-choose-completion is ever removed.
18045 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
18048 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
18051 * vc-hooks.el (vc-responsible-backend): Fix declaration.
18053 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
18055 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
18056 Ignore `pred' now that we receive one.
18057 Handle test-completion specially.
18059 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
18061 * vc.el (vc-responsible-backend): Throw an error if not backend is
18062 found. Remove the REGISTER argument. Move the code dealing with
18064 (vc-get-backend-for-registration): ... here. New function.
18065 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
18066 of vc-responsible-backend, pass the file name instead of the
18069 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
18071 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
18073 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
18074 (pcomplete-comint-setup): Don't modify a global var via
18075 accidental side-effects.
18076 (pcomplete-shell-setup): Adjust call accordingly.
18077 (pcomplete-parse-comint-arguments): Use push.
18079 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
18081 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
18082 Allow uncapitalized info node names (Bug#3921).
18084 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
18085 to the DEBUG file (Bug#3781).
18087 2009-10-23 Jari Aalto <jari.aalto@cante.net>
18089 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
18090 dictionary entry (Bug#4579).
18092 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
18094 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
18095 from `rfn-eshadow-update-overlay-hook' when unloading.
18096 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
18097 "rsyncc". Adjust doc string.
18098 (tramp-temp-buffer-file-name): New buffer-local defvar.
18099 (tramp-handle-insert-file-contents, tramp-handle-write-region):
18100 Keep temporary file when indicated by method ("rsync" and
18102 (tramp-handle-write-region): Handle APPEND.
18103 (tramp-delete-temp-file-function): New defun. Added to
18104 `kill-buffer-hook'.
18106 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
18108 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
18110 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
18112 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
18113 (color-name-rgb-alist, tty-standard-colors)
18114 (tty-color-mode-alist): Change to defconst.
18116 * simple.el (mark-inactive): Purecopy message.
18118 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
18119 (global-map, yank-menu):
18120 * textmodes/ispell.el (ispell-menu-map):
18121 * net/eudc.el (eudc-tools-menu):
18122 * international/mule-cmds.el (describe-language-environment-map)
18123 (setup-language-environment-map, set-coding-system-map)
18124 (mule-menu-keymap):
18125 * vc-hooks.el (vc-menu-entry, vc-menu-map):
18126 * replace.el (occur-mode-map):
18127 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
18129 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
18131 * calc/calc.el (math-read-number, math-read-number-simple):
18132 Use `save-match-data'.
18134 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
18136 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
18137 rather than fiddling with global-map bindings, since it should only
18138 affect per-terminal settings.
18139 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
18141 * minibuffer.el (completion-table-with-terminator): Allow to specify
18142 the terminator-regexp.
18144 * simple.el (switch-to-completions): Look for *Completions* in other
18147 * pcomplete.el: Allow the use of completion-tables.
18148 (pcomplete-std-complete): New command.
18149 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
18150 (pcomplete--here): Use a function for `form' rather than an expression,
18151 so it can be byte-compiled.
18152 (pcomplete-here, pcomplete-here*): Adjust accordingly.
18153 Add edebug declaration.
18154 (pcomplete-show-completions): Remove unused var `curbuf'.
18155 (pcomplete-do-complete, pcomplete-stub):
18156 Don't assume `completions' is a list of strings any more.
18158 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
18160 * find-dired.el (find-name-arg): Fix typo in docstring.
18162 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
18164 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
18165 (pcmpl-linux-fs-types): Same, and update to new modules layout.
18167 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
18170 * comint.el (comint-read-input-ring, comint-write-input-ring)
18171 (comint-substitute-in-file-name)
18172 (comint-dynamic-complete-as-filename)
18173 (comint-dynamic-simple-complete)
18174 (comint-dynamic-list-filename-completions)
18175 (comint-dynamic-list-completions)
18176 (comint-redirect-results-list-from-process): Minor simplifications.
18178 2009-10-21 Kevin Ryde <user42@zip.com.au>
18180 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
18181 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
18182 the first form. And insert a blank line after ";;; Code" since
18183 that's usual style. (Bug#4612)
18185 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
18187 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
18189 * minibuffer.el (completion-table-with-terminator): Properly implement
18190 boundaries, in case `terminator' appears in the suffix.
18191 (completion--embedded-envvar-table): Don't return boundaries if
18192 there's no valid completion. Simplify.
18193 (completion-file-name-table): New completion table extracted from
18194 completion--file-name-table.
18195 (completion--file-name-table): Use it.
18196 (read-file-name-predicate): Declare obsolete.
18197 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
18198 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
18199 completion-file-name-table, and use the `pred' argument.
18200 * files.el (locate-file-completion-table): Use the `pred' arg rather
18201 than read-file-name-predicate.
18202 (abbreviate-file-name): Use \` rather than ^ for BOS.
18204 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
18206 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
18207 vc-responsible-backend to register, it causes problems.
18209 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
18211 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
18213 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
18215 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
18216 (tramp-smb-handle-file-attributes): Use it.
18217 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
18218 (tramp-smb-handle-insert-directory): Use `mapc' rather than
18219 `mapcar'. Use `tramp-smb-get-stat-capability'.
18220 Add `dired-filename' text properties.
18221 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
18222 (tramp-smb-maybe-open-connection): Simplify check for smbclient
18225 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
18227 * subr.el (read-key-delay): Reduce to 0.01.
18228 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
18231 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
18233 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
18235 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
18236 (Info-menu): Remove unused vars `last' and `completions'.
18237 (Info-index-nodes): Remove unused var `node'.
18239 * info.el (Info-complete-menu-item): Use complete-with-action.
18241 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
18243 Make vc-annotate work through copies and renames.
18244 * vc-annotate.el (vc-annotate-extract-revision-at-line):
18245 Return the file name too.
18246 (vc-annotate-revision-at-line)
18247 (vc-annotate-find-revision-at-line)
18248 (vc-annotate-revision-previous-to-line)
18249 (vc-annotate-show-log-revision-at-line): Update to get the file
18250 name from vc-annotate-extract-revision-at-line.
18251 (vc-annotate-show-diff-revision-at-line-internal): Change the
18252 argument to mean whether to show a file diff or not. Get the file
18253 name from vc-annotate-extract-revision-at-line.
18254 (vc-annotate-show-diff-revision-at-line):
18255 Update vc-annotate-show-diff-revision-at-line call.
18256 (vc-annotate-warp-revision): Add an optional file argument.
18258 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
18259 (vc-git-annotate-extract-revision-at-line): Also return the file
18262 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
18263 command. Remove unused code.
18264 (vc-hg-annotate-re): Update to match --follow output.
18265 (vc-hg-annotate-extract-revision-at-line): Also return the file
18268 * vc.el: Update annotate-extract-revision-at-line documentation.
18270 2009-10-18 Kevin Ryde <user42@zip.com.au>
18272 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
18273 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
18275 * net/browse-url.el (browse-url): Identify alist with "consp and
18276 not functionp" and let all other things go down the `apply' leg,
18277 as suggested by Stefan. (Further to bug#4531.)
18279 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
18281 * minibuffer.el (read-file-name): Check for repeat before putting
18282 a default argument in file-name-history (Bug#4657).
18284 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
18285 read syntax (Bug#4737).
18287 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
18289 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18291 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
18292 (html-tag-alist, html-tag-help): Add descriptions for undocumented
18293 entries and make note of obsolete tags.
18295 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
18297 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
18299 2009-10-18 Glenn Morris <rgm@gnu.org>
18301 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
18302 grep, so that binary files (eg international/uni-bidi.el) can match.
18303 Remove test for "UnicodeData" files, since it is hopefully unnecessary
18304 now, and in any case the file header format has changed.
18306 2009-10-17 Glenn Morris <rgm@gnu.org>
18308 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
18309 (flyspell-get-word, flyspell-large-region)
18310 (flyspell-auto-correct-previous-word): Doc/error message fixes.
18312 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
18314 * Makefile.in (ELCFILES): Add ede/shell.
18316 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
18318 * term/common-win.el (x-colors): Purecopy it.
18320 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18322 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
18323 permissive for when the buffer is empty.
18324 (tar-header-block-tokenize): Decode the username and groupname.
18325 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
18327 2009-10-17 Eric Ludlam <zappo@gnu.org>
18329 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
18330 contains multibyte characters, choose first applicable coding
18331 system automatically.
18333 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18335 * international/mule-cmds.el (select-safe-coding-system): If the file
18336 has a coding cookie, use it regardless of any other setting (bug#4712).
18338 2009-10-17 Glenn Morris <rgm@gnu.org>
18340 * foldout.el (foldout-mouse-swallow-events):
18341 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
18343 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
18344 (dired-keep-marker-copy, dired-keep-marker-hardlink)
18345 (dired-keep-marker-symlink, dired-dwim-target)
18346 (dired-copy-preserve-time): Do not autoload these defcustoms.
18348 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
18349 messages from messing up the file coding. (Bug#4623)
18351 2009-10-17 Jari Aalto <jari.aalto@cante.net>
18353 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
18354 if no match is found for the current dictionary. (Bug#4578)
18356 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
18357 optional, since that is how it is documented, and this is often called
18358 with a nil argument. (Bug#4577)
18359 (flyspell-external-point-words, flyspell-auto-correct-word)
18360 (flyspell-correct-word-before-point, flyspell-word-search-forward)
18361 (flyspell-word-search-backward): Remove nil argument in calls to
18362 flyspell-get-word, since it is not needed now.
18364 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
18366 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
18368 2009-10-16 Glenn Morris <rgm@gnu.org>
18370 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
18372 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
18374 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
18375 (ange-ftp-file-size): New function.
18376 (ange-ftp-file-attributes): Use it.
18378 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
18380 * net/tramp-smb.el (tramp-smb-version): New defvar.
18381 (tramp-smb-maybe-open-connection): Use it, in order to avoid
18384 2009-10-16 Glenn Morris <rgm@gnu.org>
18386 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
18387 Maybe copy some custom properties from old to new name. (Bug#4706)
18389 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
18391 * subr.el (error, sit-for, start-process-shell-command)
18392 (start-file-process-shell-command): Set the calling convention
18393 after the function definition.
18395 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
18397 * subr.el (error, sit-for, start-process-shell-command)
18398 (start-file-process-shell-command): Use the new
18399 set-advertised-calling-convention feature.
18401 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
18403 * international/ucs-normalize.el (ucs-normalize-version):
18405 (check-range): Adjust for Unicode 5.2.
18407 2009-10-15 Juri Linkov <juri@jurta.org>
18409 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
18410 to the `menu-item' format.
18412 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
18414 * net/tramp.el (tramp-replace-environment-variables): Do not fail
18415 if the environment variable does not exist.
18417 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18418 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
18420 (tramp-smb-handle-add-name-to-file)
18421 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18422 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18423 (tramp-smb-handle-file-attributes)
18424 (tramp-smb-do-file-attributes-with-stat)
18425 (tramp-smb-handle-file-local-copy)
18426 (tramp-smb-handle-insert-directory)
18427 (tramp-smb-handle-make-directory)
18428 (tramp-smb-handle-make-directory-internal)
18429 (tramp-smb-handle-make-symbolic-link)
18430 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
18431 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
18432 (tramp-smb-maybe-open-connection): Apply the changed parameters.
18433 (tramp-smb-read-file-entry): Read Disk names in compressed format.
18434 Handle long file names.
18435 (tramp-smb-get-cifs-capabilities): Check, whether the connection
18436 process is running.
18437 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
18438 Read share names with "-g" option.
18440 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
18442 * net/rcirc.el (rcirc-view-log-file): New command.
18443 (rcirc-track-minor-mode-map): Remove C-c ` binding.
18444 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
18447 2009-10-15 Glenn Morris <rgm@gnu.org>
18449 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
18450 from the second command-line argument.
18451 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
18452 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
18453 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
18454 w32-batch-update-autoloads.
18455 * emacs-lisp/autoload.el (autoload-make-program): New variable.
18456 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
18458 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
18459 the headers cannot be located. Simplify, subtracting superflous
18462 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
18464 Replace completion-base-size by completion-base-position to fix bugs
18465 such as (bug#4699).
18466 * simple.el (completion-base-position): New var.
18467 (completion-base-size): Mark as obsolete.
18468 (choose-completion): Make it work for mouse events as well.
18469 Pass the new base-position to choose-completion-string.
18470 (choose-completion-guess-base-position): New function, extracted from
18471 choose-completion-delete-max-match.
18472 (choose-completion-delete-max-match): Use it. Make obsolete.
18473 (choose-completion-string): Use the new base-position info.
18474 (completion-root-regexp): Delete.
18475 (completion-setup-function): Preserve completion-base-position.
18476 Eliminate obsolete base-size manipulation.
18477 * minibuffer.el (display-completion-list): Don't mess with base-size.
18478 (minibuffer-completion-help): Set completion-base-position instead.
18479 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
18481 * textmodes/bibtex.el (bibtex-complete):
18482 * emacs-lisp/crm.el (crm--choose-completion-string):
18483 Adjust to new calling convention.
18484 * complete.el (partial-completion-mode): Use minibufferp to avoid
18485 bumping into incompatible change to choose-completion-string-functions.
18486 * ido.el (ido-choose-completion-string): Make its calling convention
18488 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
18489 base-size manipulation.
18490 (comint-dynamic-list-input-ring): Use dotimes and push.
18491 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
18492 fundamental-mode. Use `or'.
18494 2009-10-14 Juri Linkov <juri@jurta.org>
18496 * misearch.el (multi-isearch-next-buffer-from-list)
18497 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
18499 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18501 * Makefile.in (compile-onefile): Load `bytecomp' rather than
18504 * minibuffer.el (completion-pcm--merge-completions): Make sure the
18505 string we return is all made up of text from the completions rather
18506 than part from the completions and part from the input (bug#4219).
18508 * ido.el (ido-everywhere): Use define-minor-mode.
18510 * buff-menu.el (list-buffers, ctl-x-map):
18511 Mark the entry points with ;;;###autoload cookies.
18513 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
18515 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
18516 correctly in the detached head case.
18517 (vc-git-print-log): Remove unused binding.
18519 * vc.el (vc-responsible-backend): When a directory is passed for
18520 for registration create a VC repository if no backend is
18521 responsible for the directory argument.
18522 (vc-deduce-fileset): Tell vc-responsible-backend to register.
18524 * vc.el: Move comments about RCS and SCCS ...
18526 * vc-sccs.el: ... here, respectively.
18528 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18530 * minibuffer.el (completion--file-name-table): Return nil if there's
18531 no file completion, even if substitute-in-file-name changed
18532 the string (bug#4708).
18534 2009-10-13 Juri Linkov <juri@jurta.org>
18536 * files-x.el (read-file-local-variable-value): Don't filter out
18537 minor modes from mode name completion (bug#4664).
18539 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18541 * international/mule-cmds.el (ucs-names): Remove exclusion of
18542 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
18544 2009-10-13 Kenichi Handa <handa@m17n.org>
18546 * international/uni-name.el: Regenerated.
18548 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18550 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
18551 should be automatically buffer-local, but isn't.)
18553 2009-10-12 Sam Steingold <sds@gnu.org>
18555 * progmodes/compile.el (compilation-next-error-function): Fix the
18556 timestamps if the buffer has been visited before.
18557 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
18558 non-anchored patterns, like the perl one (bug#3928).
18560 2009-10-12 Glenn Morris <rgm@gnu.org>
18562 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
18565 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
18567 * proced.el (proced-unload-function): New function.
18569 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
18570 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
18573 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
18575 2009-10-11 Juri Linkov <juri@jurta.org>
18577 * files-x.el (read-file-local-variable-value):
18578 Provide default value only for bound variables (bug#4664).
18580 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
18582 * net/tramp.el (tramp-local-host-p): Function shall return nil for
18583 connection methods like smb.
18585 * net/tramp-cache.el (tramp-flush-connection-property): The hash
18588 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18589 (tramp-smb-file-name-handler-alist): Add handlers for
18590 `add-name-to-file', `make-symbolic-link'.
18591 (tramp-smb-handle-add-name-to-file)
18592 (tramp-smb-do-file-attributes-with-stat)
18593 (tramp-smb-handle-make-symbolic-link)
18594 (tramp-smb-get-cifs-capabilities): New defuns.
18595 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18596 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18597 (tramp-smb-handle-file-local-copy)
18598 (tramp-smb-handle-make-directory-internal)
18599 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
18600 The file name syntax depends on cifs capabilities.
18601 (tramp-smb-handle-file-attributes):
18602 Call `tramp-smb-do-file-attributes-with-stat' if possible.
18603 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
18604 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
18606 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
18608 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
18609 (eieio-defclass): Apply deftype handler and setf-method properties
18611 (eieio-add-new-slot): Avoid union function from cl library.
18612 (eieio--typep): New function.
18613 (eieio-perform-slot-validation): Use it.
18615 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18617 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
18618 Update documentation to refer to the variables documented in r1.135.
18621 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18623 * bookmark.el (Info-suffix-list): Remove this unused variable.
18624 (bookmark-current-point): Remove this obsolete variable.
18625 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
18626 Adjust for removal of bookmark-current-point.
18628 (bookmarks-already-loaded, bookmark-current-buffer)
18629 (bookmark-yank-point): Document. (Bug#4188)
18631 2009-10-10 Glenn Morris <rgm@gnu.org>
18633 * frame.el (frame-height): Doc fix.
18635 * calendar/calendar.el (calendar-split-width-threshold): New option.
18636 (calendar-basic-setup): Use calendar-split-width-threshold.
18638 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
18640 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
18641 Ideographic Supplement" range (U+1F200..U+1F2FF).
18643 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18645 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
18646 since the list will have been rebuilt anyway. (Bug#4349)
18648 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18650 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
18651 (bookmark-bmenu-execute-deletions): Don't save here, as
18652 bookmark-delete will now do so if necessary.
18653 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
18656 2009-10-09 Glenn Morris <rgm@gnu.org>
18658 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
18660 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18662 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
18663 (bookmark-jump-other-window): Just invoke bookmark-jump with new
18664 argument now, so the two function's behaviors will match. (Bug#3645)
18666 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
18668 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
18669 (tramp-file-name-real-host, tramp-file-name-port):
18670 Apply `save-match-data'.
18672 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
18673 case both directories are remote.
18674 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
18675 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
18677 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18679 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
18681 2009-10-07 Glenn Morris <rgm@gnu.org>
18683 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
18686 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
18688 * files-x.el (read-file-local-variable): Include some
18689 non-user-variables in the completion table (bug#4664).
18691 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
18693 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
18696 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18697 (tramp-smb-file-name-handler-alist): Add handler for
18698 `copy-directory', `expand-file-name', `set-file-modes'.
18699 (tramp-smb-handle-copy-directory)
18700 (tramp-smb-handle-expand-file-name)
18701 (tramp-smb-handle-set-file-modes): New defuns.
18702 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
18703 (tramp-smb-handle-file-attributes): Simplify check for retrieving
18705 (tramp-smb-handle-insert-directory): Don't flush the cache.
18706 (tramp-smb-maybe-open-connection): Check for samba client and
18709 2009-10-07 Eli Zaretskii <eliz@gnu.org>
18711 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
18712 to not error out of search for "^lisp=" fails.
18714 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18716 * makefile.w32-in (WINS_UPDATES): New macro.
18717 (custom-deps, finder-data, autoloads): Use it.
18719 2009-10-07 Glenn Morris <rgm@gnu.org>
18721 * Makefile.in (autoloads): Revert previous change.
18722 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
18723 the list of preloaded files passed on the command-line, get
18724 it from src/Makefile.
18726 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
18727 show the original buffer rather than a random one.
18729 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
18731 * help.el (describe-no-warranty): Place point in a slightly better
18732 position in the GPLv3 text.
18734 2009-10-06 Sam Steingold <sds@gnu.org>
18736 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
18737 the comm attribute is present before calling regexp-quote.
18739 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
18741 * play/animate.el (animate-string): For good effect, make sure
18742 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
18744 * play/animate.el (animate-sequence, animate-birthday-present):
18745 * misc.el (butterfly): Don't set `indent-tabs-mode'.
18747 2009-10-06 Glenn Morris <rgm@gnu.org>
18749 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
18751 * emacs-lisp/autoload.el (autoload-excludes): New variable.
18752 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
18753 (batch-update-autoloads): Process a string value of autoload-excludes,
18754 set during the build process.
18755 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
18757 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
18758 inside with-parsed... macro so that `v' is defined.
18760 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
18761 * progmodes/fortran.el (fortran-end-of-block)
18762 (fortran-beginning-of-block):
18763 Also push mark in the macro case.
18765 * emerge.el (emerge-show-file-name):
18766 * calc/calc.el (calc-quit):
18767 * calc/calc-misc.el (calc-big-or-small):
18768 * calc/calc-graph.el (calc-graph-view):
18769 * calc/calc-ext.el (calc-reset):
18770 * calendar/calendar.el (calendar-basic-setup):
18771 Use window-full-height-p.
18773 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
18774 header we don't understand, don't insert another. (Bug#4624)
18775 If changing mime charset, insert the new one in the right place.
18777 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
18779 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
18780 (cal-tex-cursor-month): Correctly increment the end date for diary and
18781 holiday listing. (Bug#4626)
18783 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18785 * help-fns.el (describe-function-1): Don't burp if the function is not
18788 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
18790 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18791 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18792 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18793 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18795 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18796 (eieio-default-superclass): Reflow docstrings.
18797 (this, class-option-assoc, defclass, eieio-class-un-autoload)
18798 (eieio-unbind-method-implementations, defmethod)
18799 (eieio-validate-slot-value, eieio-validate-class-slot-value)
18800 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18801 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18802 (eieio-slot-originating-class-p, eieio-slot-name-index)
18803 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18804 (constructor, initialize-instance, no-next-method, object-print)
18805 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18806 Fix typos in docstrings.
18807 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18808 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18809 (next-method-p): Doc fixes.
18810 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18811 Fix typos in error messages.
18812 (eieio-defmethod): Fix typo in description of generic method.
18814 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18815 (eieio-persistent-save-interactive, slot-missing):
18816 Fix typos in docstrings.
18817 (eieio-instance-inheritor-slot-boundp): Doc fix.
18819 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18820 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18822 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18823 (eieio-custom-object-apply-reset):
18824 Fix typos in docstrings and error messages.
18826 * emacs-lisp/eieio-datadebug.el (data-debug-show):
18827 Fix typo in docstring.
18829 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18830 (eieio-browse-tree): Doc fix.
18831 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18832 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18833 Fix typos in docstrings.
18835 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18836 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18837 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18838 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18841 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
18843 * vc-hg.el (log-view-vc-backend): Declare for compiler.
18844 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18845 Set log-view-vc-backend so that diff can work.
18847 * log-view.el (log-view-diff): Use vc-diff-internal instead of
18849 (vc-diff-internal): Autoload this instead of vc-version-diff.
18851 2009-10-05 Eli Zaretskii <eliz@gnu.org>
18853 * simple.el (eval-expression): Doc fix.
18855 * progmodes/cwarn.el (cwarn-mode): Doc fix.
18857 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
18859 * files.el (directory-files-no-dot-files-regexp): New defconst.
18860 (delete-directory): Use it.
18861 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
18863 * net/tramp.el (tramp-verbose): Fix docstring.
18864 (tramp-methods): Add recursive option to `tramp-copy-args'.
18865 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
18866 "scp1_old", "scp2_old", "rsync", "rsyncc".
18867 (tramp-default-method): Check also for `auth-source-user-or-password'.
18868 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18869 Add handler for `copy-directory'.
18870 (tramp-handle-copy-directory): New defun.
18871 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18872 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18873 Optimize sent command.
18875 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18877 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18878 window if necessary.
18880 * calendar/calendar.el (calendar-basic-setup): Don't call
18881 switch-to-buffer in a dedicated window.
18883 2009-10-05 Karl Fogel <kfogel@red-bean.com>
18885 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18886 don't do anything related to relocating, just return nil.
18887 (bookmark-error-no-filename): New error.
18888 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18889 bookmark has no file. Don't even attempt to handle things that
18890 are not files; the whole point of custom handlers is to keep that
18891 knowledge elsewhere anyway. Tighten some comments.
18892 (bookmark-file-or-variation-thereof): Remove now-unused function.
18893 (bookmark-location): Doc string fix.
18896 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18898 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18899 don't use a file dialog, because they usually don't know how to read
18900 a directory target from the user. (Bug#4230)
18901 Also, make sure the prompt can display directories as well as files.
18903 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18905 * bookmark.el (bookmark-set, bookmark-buffer-name):
18906 Improve doc strings. (Bug#1193)
18908 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18910 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18911 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18912 (bookmark-get-annotation, bookmark-set-annotation)
18913 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18914 (bookmark-set-position, bookmark-get-front-context-string)
18915 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18916 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18917 (bookmark-jump-other-window, bookmark-handle-bookmark)
18918 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18919 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18920 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18921 Improve doc strings to say whether bookmark can be a string or
18922 a record or both, and make other consistency and clarity fixes.
18923 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18924 (bookmark-default-annotation-text, bookmark-yank-word)
18925 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18926 (bookmark-import-new-list, bookmark-maybe-rename)
18927 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18928 (bookmark-bmenu-bookmark): Give these doc strings.
18929 (bookmark-bmenu-check-position): Give this a doc string, but also
18930 add a FIXME comment about how the function may be pointless.
18931 (bookmark-default-handler): Rework doc string and change a
18932 parameter name, to clarify that this takes a bookmark record
18933 not a bookmark name.
18934 (bookmark-set): Change a parameter name to indicate its meaning,
18935 and improve the doc string a bit.
18938 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18940 * bookmark.el (bookmark-alist): Document the new `handler' element
18941 in the param alist.
18942 (bookmark-make-record-function): Adjust documentation for above.
18945 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18947 * info.el (Info-bookmark-make-record): Document this function.
18948 (Info-bookmark-jump): Document with a doc string, not just a comment.
18951 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
18953 * files.el (copy-directory): New defun.
18955 * dired-aux.el (dired-copy-file-recursive): Use it.
18957 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
18959 * files-x.el (modify-dir-local-variable)
18960 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18963 * recentf.el (recentf-unload-function): New function.
18965 2009-10-04 Glenn Morris <rgm@gnu.org>
18967 * window.el (window-full-height-p): Add doc string.
18969 2009-10-04 Martin Rudalics <rudalics@gmx.at>
18971 * window.el (window-full-height-p): New function. (Bug#4543)
18973 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
18975 * vc.el: Remove commented out code.
18976 (vc-derived-from-dir-mode): Remove, unused.
18977 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18979 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
18981 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18982 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
18983 there could be recursive loading when `default-directory' is a
18984 remote file name. (Bug#4614)
18986 2009-10-03 Glenn Morris <rgm@gnu.org>
18988 * calendar/calendar.el (calendar-basic-setup): Handle the case where
18990 (calendar-generate-window): Test for shrinkability rather than width.
18992 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
18993 reusing existing buffers, in case we happen to visit two files with the
18994 same basename. (Bug#4593)
18996 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18998 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18999 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
19000 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
19001 subdirs of cedet as well.
19002 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
19004 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
19006 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
19007 Obey advertised-signature-table.
19009 * help-fns.el (help-function-arglist): Don't check
19010 advertised-signature-table.
19011 (describe-function-1): Do it here instead so it also applies to subrs.
19013 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
19015 * simple.el (start-file-process): Say in the doc-string, that file
19016 handlers might not support pty association, if PROGRAM is nil.
19018 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
19019 HOST and USER are strings. They are nil, when there are
19020 incomplete entries in ~/.netrc, for example.
19021 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
19022 root directory ("device busy" error otherwise).
19024 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
19025 Flush file properties of created directory.
19027 2009-10-02 Eli Zaretskii <eliz@gnu.org>
19029 * makefile.w32-in (WINS_BASIC): Remove cedet.
19030 (WINS_CEDET): Add cedet.
19031 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
19033 2009-10-02 Kevin Ryde <user42@zip.com.au>
19035 * net/browse-url.el (browse-url): Pass any symbol in
19036 browse-url-browser-function to `apply', since if you've mistakenly put
19037 an unbound symbol then the error is clearer. (Bug#4531)
19039 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
19041 * allout.el (allout-init, allout-back-to-current-heading)
19042 (allout-beginning-of-current-entry, allout-ascend-to-depth)
19043 (allout-ascend, allout-up-current-level, allout-end-of-level)
19044 (allout-previous-visible-heading, allout-forward-current-level)
19045 (allout-backward-current-level, allout-show-children):
19046 * apropos.el (apropos-describe-plist):
19047 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
19048 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
19049 * completion.el (add-completion, add-permanent-completion):
19050 * descr-text.el (describe-text-category, describe-char):
19051 * desktop.el (desktop-lazy-abort):
19052 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
19053 * dired.el (dired-build-subdir-alist):
19054 * ediff.el (ediff-version):
19055 * elide-head.el (elide-head, elide-head-show):
19056 * emerge.el (emerge-version):
19058 * face-remap.el (variable-pitch-mode):
19059 * faces.el (describe-face):
19060 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
19062 * files.el (find-file-existing, auto-save-mode):
19063 * font-lock.el (font-lock-fontify-buffer):
19064 * help-fns.el (describe-function, describe-variable)
19065 (describe-syntax, describe-categories):
19066 * help.el (view-lossage, describe-bindings, describe-key)
19068 * hexl.el (hexl-current-address):
19069 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
19070 * info.el (Info-goto-emacs-key-command-node):
19071 * log-edit.el (log-edit-insert-cvs-template)
19072 (log-edit-insert-cvs-rcstemplate):
19073 * menu-bar.el (menu-bar-mode):
19074 * mouse.el (mouse-appearance-menu):
19075 * newcomment.el (comment-indent-new-line):
19076 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
19077 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
19078 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
19079 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
19080 * recentf.el (recentf-mode):
19081 * savehist.el (savehist-mode, savehist-save):
19082 * shadowfile.el (shadow-copy-files):
19083 * simple.el (kill-ring-save, next-line, previous-line)
19084 (normal-erase-is-backspace-mode):
19085 * strokes.el (strokes-update-window-configuration)
19086 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
19087 (strokes-xpm-for-stroke):
19088 * time.el (emacs-uptime, emacs-init-time):
19089 * tutorial.el (tutorial--describe-nonstandard-key)
19090 (tutorial--detailed-help):
19091 * type-break.el (type-break-mode)
19092 (type-break-mode-line-message-mode, type-break-query-mode)
19093 (type-break-guesstimate-keystroke-threshold):
19094 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
19095 * version.el (emacs-version):
19096 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
19097 * winner.el (winner-mode):
19098 * calendar/timeclock.el (timeclock-in, timeclock-out)
19099 (timeclock-status-string, timeclock-change)
19100 (timeclock-workday-remaining-string)
19101 (timeclock-workday-elapsed-string)
19102 (timeclock-when-to-leave-string):
19103 * calendar/todo-mode.el (todo-add-category):
19104 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
19105 * emacs-lisp/autoload.el (update-file-autoloads):
19106 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
19107 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
19108 (checkdoc-message-text, checkdoc-defun):
19109 * emacs-lisp/debug.el (debugger-list-functions):
19110 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
19111 * emacs-lisp/eieio-opt.el (eieio-describe-class)
19112 (eieio-describe-generic):
19113 * emacs-lisp/lisp-mnt.el (lm-synopsis):
19114 * emacs-lisp/shadow.el (list-load-path-shadows):
19115 * emulation/cua-base.el (cua-mode):
19116 * emulation/edt.el (edt-set-scroll-margins):
19117 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
19118 (tpu-toggle-regexp, tpu-toggle-search-direction)
19119 (tpu-toggle-rectangle, tpu-toggle-control-keys):
19120 * emulation/tpu-extras.el (tpu-set-scroll-margins):
19121 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
19122 (viper-set-parsing-style-toggling-macro)
19123 (viper-set-emacs-state-searchstyle-macros):
19124 * emulation/viper.el (viper-set-hooks):
19125 * eshell/esh-mode.el (eshell-truncate-buffer):
19126 * international/mule-cmds.el (prefer-coding-system)
19127 (describe-input-method, describe-language-environment):
19128 * international/mule-diag.el (list-character-sets)
19129 (describe-character-set, describe-coding-system)
19130 (describe-fontset, list-fontsets, list-input-methods):
19131 * mail/sendmail.el (mail-signature):
19132 * net/ange-ftp.el (ange-ftp-copy-file):
19133 * net/browse-url.el (browse-url):
19134 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
19135 * net/quickurl.el (quickurl-add-url):
19136 * net/rcirc.el (names, topic):
19137 * net/xesam.el (xesam-mode):
19138 * play/5x5.el (5x5-new-game):
19139 * play/yow.el (apropos-zippy):
19140 * progmodes/ada-mode.el (ada-mode-version):
19141 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
19143 (f90-beginning-of-block):
19144 * progmodes/fortran.el (fortran-end-of-block)
19145 (fortran-beginning-of-block):
19146 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
19147 * progmodes/python.el (python-describe-symbol, python-shell):
19148 * term/ns-win.el (ns-print-buffer):
19149 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
19150 * textmodes/flyspell.el (flyspell-mode-on):
19151 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
19152 (pages-directory-for-addresses):
19153 * textmodes/table.el (table-recognize-cell)
19154 (table-query-dimension, table-generate-source)
19155 (table-insert-sequence, table--warn-incompatibility):
19156 * textmodes/tex-mode.el (tex-validate-buffer):
19157 * textmodes/texinfmt.el (texinfmt-version)
19158 (texinfo-format-buffer):
19159 Use `called-interactively-p' instead of `interactive-p'.
19161 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
19163 * image-mode.el (image-toggle-display):
19164 * emacs-lisp/elp.el (elp-instrument-function):
19165 * emacs-lisp/advice.el (ad-make-advised-definition):
19166 * emacs-lisp/easy-mmode.el (define-minor-mode):
19167 * net/browse-url.el (browse-url-maybe-new-window):
19168 * progmodes/sh-script.el (sh-learn-buffer-indent):
19169 Pass new argument 'any to `called-interactively-p'.
19171 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
19173 * international/uni-bidi.el:
19174 * international/uni-category.el:
19175 * international/uni-combining.el:
19176 * international/uni-comment.el:
19177 * international/uni-decimal.el:
19178 * international/uni-decomposition.el:
19179 * international/uni-digit.el:
19180 * international/uni-lowercase.el:
19181 * international/uni-mirrored.el:
19182 * international/uni-name.el:
19183 * international/uni-numeric.el:
19184 * international/uni-old-name.el:
19185 * international/uni-titlecase.el:
19186 * international/uni-uppercase.el:
19187 Regenerate from Unicode 5.2.0 data.
19189 2009-10-01 Glenn Morris <rgm@gnu.org>
19191 * Makefile.in (ELCFILES): Regenerate.
19193 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
19195 * subr.el (interactive-p): Mark obsolete.
19196 (called-interactively-p): Make the optional-ness of `kind' obsolete.
19197 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
19198 advertised-signature-table for subroutines as well.
19200 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
19201 (set-advertised-calling-convention): New function.
19202 (make-obsolete, define-obsolete-function-alias)
19203 (make-obsolete-variable, define-obsolete-variable-alias):
19204 Make the optional-ness of `when' obsolete.
19205 (define-obsolete-face-alias): Make `when' non-optional.
19206 * help-fns.el (help-function-arglist):
19207 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
19208 Use advertised-signature-table.
19210 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
19212 * files.el (delete-directory): New defun. The original function
19213 in fileio.c has been renamed to `delete-directory-internal'.
19215 * dired.el (dired-delete-file): Call `delete-directory' with
19216 RECURSIVE parameter.
19218 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
19219 parameter RECURSIVE. Implementation is missing.
19221 * net/tramp.el (tramp-handle-make-directory): Flush upper
19222 directory's file properties.
19223 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
19224 (tramp-handle-dired-recursive-delete-directory): Flush directory
19225 properties after the remove command only.
19227 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
19228 Handle optional parameter RECURSIVE.
19230 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
19231 Handle optional parameter RECURSIVE.
19233 * net/tramp-smb.el (tramp-smb-errors): Add error message for
19234 connection timeout.
19235 (tramp-smb-handle-delete-directory): Handle optional parameter
19238 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
19240 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
19241 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
19242 (byte-compile-defmacro): Use backquotes.
19244 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
19246 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
19247 has no associated file.
19248 (vc-resynch-buffer): Use vc-dir-buffers.
19250 2009-10-01 Glenn Morris <rgm@gnu.org>
19252 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
19253 (chart-file-count):
19254 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
19255 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
19256 * emacs-lisp/eieio-opt.el (eieio-describe-class):
19257 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
19258 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
19259 (eieio-copy-parents-into-subclass, make-instance, class-children)
19260 (eieio-generic-form):
19262 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
19263 match-data. (Bug#4555).
19265 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
19266 rather than parsing it as a regexp. This relaxes the layout
19267 requirements and makes errors easier to detect.
19268 (check-declare-verify): Check file is regular.
19269 (check-declare-directory): Doc fix.
19270 * subr.el (declare-function): Doc fix.
19272 * ibuffer.el (ibuffer-format-qualifier):
19273 * isearch.el (hi-lock-regexp-okay):
19274 * calc/calc.el (math-zerop):
19275 * mail/uce.el (rmail-msgbeg, rmail-msgend):
19276 * term/w32-win.el (setup-default-fontset, set-fontset-font):
19277 Remove unused declarations.
19279 2009-09-30 Eric Ludlam <zappo@gnu.org>
19281 * emacs-lisp/eieio.el (boolean-p): Delete.
19283 2009-09-30 Glenn Morris <rgm@gnu.org>
19285 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
19287 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
19288 filename is not a string.
19290 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
19292 * files.el (safe-local-eval-forms): Fix typo.
19294 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
19296 * vc-hooks.el (vc-dir-buffers): New var.
19297 (vc-state-refresh): New function.
19298 (vc-state): Use it.
19299 (vc-after-save): Always ask the backend to recompute the new state.
19300 Always call vc-dir if necessary, using vc-dir-buffers.
19301 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
19302 Use vc-dir-buffers.
19303 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
19304 (vc-dir-prepare-status-buffer, vc-dir-update)
19305 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
19306 Don't call expand-file-name on default-directory.
19308 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
19310 * speedbar.el (speedbar-item-delete):
19311 * calc/calc-prog.el (calc-kbd-if):
19312 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
19314 * epa.el (epa-key-list-mode-map):
19315 * hi-lock.el (hi-lock-menu): Fix typos in menus.
19317 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
19318 (hs-show-hook): Fix typo in docstring.
19320 2009-09-29 Glenn Morris <rgm@gnu.org>
19322 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
19323 file-name-nondirectory call preventing location of cedet files.
19324 (check-declare-verify): Use literal search rather than re-search.
19325 Add basic defmethod and defclass, and define-overloadable-function.
19327 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
19328 Use tramp-compat-file-attributes rather than nonexistent
19329 tramp-compat-handle-file-attributes.
19331 * Makefile.in (lisptagsfiles4): New.
19332 (AUTOGENEL): Add cedet loaddefs files.
19333 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
19334 (update-elclist, compile-always, backup-compiled-files)
19335 (bootstrap-clean): Add yet another directory level.
19336 (update-elclist): Use LC_COLLATE rather than COLLATE.
19337 (ELCFILES): Update, via `make update-elclist'.
19339 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
19341 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
19342 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
19343 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
19345 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
19347 * Makefile.in (lisptagsfiles3): Define.
19348 (TAGS, TAGS-LISP): Use it.
19349 (update-elclist): Add third directory level to look for elc files.
19350 (compile-always): Likewise.
19351 (backup-compiled-files): Likewise.
19352 (bootstrap-clean): Likewise.
19353 (ELCFILES): Update.
19355 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
19357 * Makefile.in (ELCFILES): Add CEDET files.
19359 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
19361 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
19363 * net/tramp.el (top): Require tramp-imap.
19365 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
19366 Use `tramp-compat-handle-file-attributes'.
19368 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
19370 * net/tramp-imap.el: New package.
19372 2009-09-28 Eric Ludlam <zappo@gnu.org>
19374 * emacs-lisp/chart.el:
19375 * emacs-lisp/eieio-base.el:
19376 * emacs-lisp/eieio-comp.el:
19377 * emacs-lisp/eieio-custom.el:
19378 * emacs-lisp/eieio-datadebug.el:
19379 * emacs-lisp/eieio-opt.el:
19380 * emacs-lisp/eieio-speedbar.el:
19381 * emacs-lisp/eieio.el: New files.
19383 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19385 * whitespace.el (whitespace-trailing-regexp)
19386 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
19389 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
19391 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
19394 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
19395 menu-bar-ediff-menu.
19397 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
19398 define-overloadable-function.
19400 * progmodes/autoconf.el: Provide autoconf as well, so that this
19401 file can be `require'd.
19403 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
19405 * emacs-lisp/autoload.el (generated-autoload-feature)
19406 (generated-autoload-load-name): New vars.
19407 (autoload-rubric, autoload-generate-file-autoloads): Use them.
19408 (make-autoload): Recognize define-overloadable-function and
19409 defclass forms (for EIEIO).
19411 * Makefile.in (update-subdirs): Exclude cedet directory.
19413 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
19415 * term/ns-win.el: Don't set the region face background. (Bug#4381)
19417 * faces.el: Default light-background background for region face to
19418 ns_selection_color under NS.
19420 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
19422 * net/imap-hash.el: New library, see NEWS.
19424 * Makefile.in (ELCFILES): Add imap-hash.el.
19426 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
19428 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
19429 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
19430 * help-macro.el (make-help-screen): Avoid using an ambiguous function
19431 definition where the docstring could be taken for the return value.
19433 2009-09-26 Glenn Morris <rgm@gnu.org>
19435 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
19436 Add option to only show images below a certain size.
19437 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
19438 save-excursion calls.
19440 2009-09-26 Eli Zaretskii <eliz@gnu.org>
19442 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
19443 subdirectories) and eieio.
19445 2009-09-26 Alan Mackenzie <acm@muc.de>
19447 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19448 Correct buggy bracketing. (Bug#4289)
19450 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
19451 character constants (as case labels). (Bug#4289)
19453 2009-09-25 Juri Linkov <juri@jurta.org>
19455 * files.el (safe-local-eval-forms): Allow time-stamp in
19456 before-save-hook (Bug#4554).
19458 2009-09-25 Drew Adams <drew.adams@oracle.com>
19460 * menu-bar.el (list-buffers-directory): Doc fix.
19462 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
19464 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
19465 Try and avoid copying twice the same paragraph.
19466 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
19467 Remove save-excursion.
19468 (log-edit-changelog-entry): Do it here instead.
19470 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
19472 * bs.el (bs--get-file-name): Use `list-buffers-directory'
19473 when available, instead of hardcoding mode names. Doc fix.
19475 * menu-bar.el (list-buffers-directory): Add docstring.
19476 Make automatically buffer-local.
19478 * dired.el (dired-mode):
19479 * files.el (cd-absolute):
19480 * pcvs.el (cvs-temp-buffer):
19481 * pcvs-util.el (cvs-get-buffer-create):
19482 * shell.el (shell-mode):
19483 * vc-dir.el (vc-dir-mode):
19484 Don't make `list-buffers-directory' buffer local.
19486 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
19488 * comint.el (comint-exec, comint-run, make-comint):
19489 Doc fixes (Bug#4542).
19491 2009-09-25 Glenn Morris <rgm@gnu.org>
19493 * mail/rmailmm.el (rmail-mime): New custom group.
19494 Move all defcustoms in this file into this group.
19495 (rmail-mime-media-type-handlers-alist): Revert previous change.
19496 (rmail-mime-show-images): New option.
19497 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
19498 references to it, since it wasn't actually used for anything.
19499 (rmail-mime-insert-image): New function.
19500 (rmail-mime-image): Use rmail-mime-insert-image.
19501 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
19502 obey the value of `rmail-mime-show-images' option. Print the size of
19505 2009-09-25 David Engster <deng@randomsample.de>
19507 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
19509 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19511 * whitespace.el: Does not highlight trailing spaces While point is
19512 at end of line. Does not highligt spaces at beginning of buffer
19513 while point is at beginning of buffer. Does not highlight spaces
19514 at end of buffer while point is at end of buffer. (Bug#4177)
19516 (whitespace-display-mappings): Adjust initialization.
19517 (whitespace-point, whitespace-font-lock-refontify): New vars.
19518 (whitespace-color-on, whitespace-color-off): Adjust code.
19519 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
19520 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
19521 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
19523 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
19525 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
19527 * textmodes/sgml-mode.el: Remove xml-mode alias.
19529 * files.el (auto-mode-alist, conf-mode-maybe)
19530 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
19532 2009-09-24 Alan Mackenzie <acm@muc.de>
19534 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
19535 c-forward-conditionals, but it doesn't move point and doesn't set
19537 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
19538 (c-down-conditional-with-else, c-backward-conditional)
19539 (c-forward-conditional): Refactor to use c-scan-conditionals.
19541 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19543 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
19544 (help-default-arg-highlight): Remove.
19545 (help-highlight-arg): New function.
19546 (help-do-arg-highlight): Use it.
19547 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
19549 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19551 * term.el (term-set-scroll-region, term-handle-ansi-escape):
19552 Undo last change, which didn't fix the problem and introduced others.
19554 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
19556 * progmodes/gdb-mi.el: Don't require speedbar.
19557 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
19559 2009-09-24 Glenn Morris <rgm@gnu.org>
19561 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
19563 * term/ns-win.el (ns-reg-to-script): Define for compiler.
19565 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
19566 there is no newline after the final mime boundary. (Bug#4539)
19567 Move markers on insertion so that any buttons inserted don't end up in
19568 the next part of a multipart message.
19569 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
19570 (rmail-mime-bulk-handler): Optionally handle images.
19571 (rmail-mime-image): New button action.
19572 (rmail-mime-image-handler): New function.
19573 (rmail-mime-mode): New mode.
19574 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
19576 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19578 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
19579 than just dropping elements from it (bug#4504).
19581 * term.el (term-set-scroll-region): Don't move cursor any more.
19582 (term-handle-ansi-escape): Call term-goto here instead.
19583 Suggested by Ivan Kanis <apple@kanis.eu>.
19585 * term.el: Require CL.
19586 (term-ansi-reset): New function.
19587 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
19588 (term-handle-colors-array): Simplify.
19590 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19592 * allout.el (allout-overlay-interior-modification-handler)
19593 (allout-obtain-passphrase):
19594 * epa-file.el (epa-file-write-region):
19595 * ps-print.el (ps-begin-job):
19596 * vc-hooks.el (vc-toggle-read-only):
19597 * vc-rcs.el (vc-rcs-rollback):
19598 * vc-sccs.el (vc-sccs-rollback):
19599 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
19600 (vc-version-diff, vc-revert, vc-rollback):
19601 * wdired.el (wdired-check-kill-buffer):
19602 * emacs-lisp/authors.el (authors):
19603 * net/socks.el (socks-open-connection):
19604 * net/zeroconf.el (zeroconf-service-add-hook):
19605 * obsolete/vc-mcvs.el (vc-mcvs-register):
19606 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
19607 (gdb-select-frame):
19608 * progmodes/grep.el (lgrep, rgrep):
19609 * progmodes/idlw-help.el (idlwave-help-check-locations)
19610 (idlwave-help-html-link, idlwave-help-assistant-open-link):
19611 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
19612 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
19613 (reftex-toc-rename-label): Fix typos in error messages.
19615 * dired-aux.el (dired-do-shell-command): Reflow docstring.
19616 (dired-copy-how-to-fn): Doc fix.
19617 (dired-files-attributes, dired-read-shell-command):
19618 Fix typos in docstrings.
19620 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
19621 (dired-x-find-file-other-window): Reflow docstrings.
19622 (dired-omit-marker-char, dired-read-shell-command)
19623 (dired-x-submit-report): Fix typos in docstrings.
19625 * shell.el (shell-mode-hook):
19626 * view.el (View-scroll-line-forward):
19627 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
19628 Fix typos in docstrings.
19630 * net/dig.el (dig-invoke): Fix typo in docstring.
19631 (query-dig): Reflow docstring.
19633 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
19634 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
19635 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
19636 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
19637 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
19638 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
19639 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
19640 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
19641 (idlwave-completion-map, idlwave-current-indent)
19642 (idlwave-custom-ampersand-surround, idlwave-customize)
19643 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
19644 (idlwave-define-abbrev, idlwave-determine-class-special)
19645 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
19646 (idlwave-end-block-reg, idlwave-end-of-statement)
19647 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
19648 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
19649 (idlwave-explicit-class-listed, idlwave-file-header)
19650 (idlwave-fill-paragraph, idlwave-find-class-definition)
19651 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
19652 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
19653 (idlwave-in-quote, idlwave-indent-action-table)
19654 (idlwave-indent-expand-table, idlwave-indent-line)
19655 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
19656 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
19657 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
19658 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
19659 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
19660 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
19661 (idlwave-outlawed-buffers, idlwave-popup-select)
19662 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
19663 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
19664 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
19665 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
19666 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
19667 (idlwave-statement-type, idlwave-struct-skip)
19668 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
19669 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
19670 (idlwave-what-module-find-class): Fix typos in docstrings.
19671 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
19672 (idlwave-calculate-cont-indent, idlwave-expand-equal)
19673 (idlwave-find-module, idlwave-find-structure-definition)
19674 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
19675 (idlwave-list-load-path-shadows, idlwave-next-statement)
19676 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
19677 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
19678 (idlwave-template): Reflow docstrings.
19680 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
19681 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
19682 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
19683 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
19684 (idlwave-shell-display-line, idlwave-shell-display-wframe)
19685 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
19686 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
19687 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
19688 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
19689 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
19690 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
19691 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
19692 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
19693 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
19694 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
19695 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
19696 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
19697 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
19698 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
19699 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
19700 Fix typos in docstrings.
19701 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
19702 (idlwave-shell-hide-output, idlwave-shell-mode)
19703 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
19706 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
19708 2009-09-24 Ivan Kanis <apple@kanis.eu>
19710 * term.el (term-bold-attribute): New var.
19711 (term-handle-colors-array): Use it.
19713 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
19715 * progmodes/gdb-mi.el (gdb-version): New variable.
19716 (gdb-non-stop-handler): Set gdb-version.
19717 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
19718 Condition "--thread" option on gdb-version.
19719 (gdb-invalidate-threads): Remove unused argument.
19721 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19723 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
19724 to looking-back to avoid ridiculous slow down in large files (bug#4511).
19726 2009-09-23 Glenn Morris <rgm@gnu.org>
19728 * mail/rmail.el (rmail-reply): Don't try to add a References header when
19729 replying to mail without References or Message-Id. (Bug#4525)
19731 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
19733 * term/ns-win.el (ns-reg-to-script): New variable.
19735 2009-09-23 Daiki Ueno <ueno@unixuser.org>
19737 * epg.el (epg-wait-for-status): Preserve existing 'error results.
19739 2009-09-22 Sam Steingold <sds@gnu.org>
19741 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
19742 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
19743 to 1 because hg returns status 1 when nothing is found.
19744 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
19746 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
19748 * textmodes/fill.el: Convert to utf-8 encoding.
19749 (fill-french-nobreak-p): Remove redundant » and « inherited from our
19752 * add-log.el (change-log-fill-forward-paragraph): New function.
19753 (change-log-mode): Use it so fill-region DTRT.
19754 Set fill-indent-according-to-mode here rather than in
19755 change-log-fill-paragraph.
19756 (change-log-fill-paragraph): Remove.
19758 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
19760 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
19761 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
19763 2009-09-22 Glenn Morris <rgm@gnu.org>
19765 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
19766 the scroll-bar scroll the calendar window rather than the buffer.
19768 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
19769 commands that move point (as opposed to scrolling).
19771 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
19773 * emacs-lisp/elint.el (elint): New custom group.
19774 (elint-log-buffer): Make it a defcustom.
19775 (elint-scan-preloaded, elint-ignored-warnings)
19776 (elint-directory-skip-re): New options.
19777 (elint-builtin-variables): Doc fix.
19778 (elint-preloaded-env): New variable.
19779 (elint-unknown-builtin-args): Add an entry for encode-time.
19780 (elint-extra-errors): Make it a variable rather than a constant.
19781 (elint-preloaded-skip-re): New constant.
19782 (elint-directory): Skip files matching elint-directory-skip-re.
19783 (elint-features): New variable, local to linted buffers.
19784 (elint-update-env): Initialize elint-features. Possibly add
19785 elint-preloaded-env to the buffer's environment.
19786 (elint-get-top-forms): Bind elint-current-pos, for log messages.
19788 (elint-init-form): New function, extracted from elint-init-env.
19789 Make non-list forms a warning rather than an error.
19790 Add the mode-map for define-derived-mode. Handle define-minor-mode,
19791 easy-menu-define, put that adds an error-condition, and provide.
19792 When requiring cl, also require cl-macs. Really require cl, to handle
19793 some cl macros. Store required libraries in the list elint-features,
19794 so as not to re-load them. Treat cc-require like require.
19795 (elint-init-env): Call elint-init-form to do the work.
19796 Handle eval-and-compile and such like.
19797 (elint-add-required-env): Do not clear messages.
19798 (elint-special-forms): Add handlers for function, defalias, if, when,
19800 (elint-form): Add optional argument to ignore elint-special-forms,
19801 useful to prevent recursive calls from handlers. Doc fix.
19802 Respect elint-ignored-warnings.
19803 (elint-form): Respect elint-ignored-warnings.
19804 (elint-bound-variable, elint-bound-function): New variables.
19805 (elint-unbound-variable): Respect elint-bound-variable.
19806 (elint-get-args): Respect elint-bound-function.
19807 (elint-check-cond-form): Add some simple handling for (f)boundp and
19809 (elint-check-defalias-form): New handler.
19810 (elint-check-let-form): Make an empty let a warning rather than an
19812 (elint-check-setq-form): Make an empty setq a warning rather than an
19813 error. Respect elint-ignored-warnings.
19814 (elint-check-defvar-form): Accept null doc-strings.
19815 (elint-check-conditional-form): New handler. Does some simple-minded
19816 checking of featurep and (f)boundp tests.
19817 (elint-put-function-args): New function.
19818 (elint-initialize): Use elint-scan-doc-file rather than
19819 elint-find-builtin-variables. Use elint-put-function-args.
19820 Possibly scan preloaded-file-list.
19821 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19822 extend to handle functions as well.
19824 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
19826 * linum.el (linum-delete-overlays, linum-update-window):
19827 Do not modify the right margin. (Bug#3971)
19829 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
19831 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19832 Use nxml-mode instead of xml-mode.
19834 2009-09-21 Kevin Ryde <user42@zip.com.au>
19836 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
19838 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19840 * net/dig.el (dig-mode): Use define-derived-mode.
19842 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
19844 * vc-dispatcher.el (vc-do-command): Return the process object in
19845 the asynchronous case. Use when instead of if. Do not run
19846 vc-exec-after to display a message if not enabled. (Bug#4463)
19848 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19849 properties to the stash strings.
19850 (vc-git-stash-list): Return a list of strings.
19851 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19852 (vc-git-stash-show-at-point): New functions.
19853 (vc-git-stash-map): New keymap.
19855 * register.el (ctl-x-r-map): Define the keys here instead of
19858 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
19860 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19861 list, to workaround performance problem (bug#4485).
19863 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
19865 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19867 2009-09-20 Daiki Ueno <ueno@unixuser.org>
19869 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19870 Document that this option is not recommended to use.
19872 2009-09-19 Glenn Morris <rgm@gnu.org>
19874 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19877 * calc/calc-alg.el (var):
19878 * calc/calcalg2.el (var): Define for compiler.
19880 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
19882 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19883 Doc fix (Bug#3932).
19885 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19887 * time-stamp.el (time-stamp-month-dd-yyyy)
19888 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19889 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19890 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19891 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19892 Remove functions that have been obsolete since 1995 (Bug#4436).
19894 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19895 indent buffer only if called interactively (Bug#4452).
19897 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
19898 Eli Zaretskii <eliz@gnu.org>
19900 This fixes bug#4197 (merged to bug#865, though not identical).
19901 * server.el (server-auth-dir): Add docstring note about FAT32.
19902 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19903 but warn against using them.
19905 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
19907 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19908 older GDB where there is no has_more field.
19910 2009-09-19 Glenn Morris <rgm@gnu.org>
19912 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19914 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
19916 * files.el (auto-mode-alist): Change default for XML files to nXML
19919 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
19921 * server.el (server-ensure-safe-dir): Pass 'integer
19922 to `file-attributes', as suggested.
19924 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
19926 * dired-aux.el (dired-query-alist): Remove spurious backslash.
19927 (dired-query): Use read-key.
19929 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
19931 * cus-start.el (ns-use-qd-smoothing): Remove.
19933 2009-09-18 Glenn Morris <rgm@gnu.org>
19935 * allout.el (top-level): Remove unnecessary progn.
19937 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19939 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19940 definition of abbrev table.
19942 * speedbar.el (speedbar-track-mouse):
19943 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19944 * net/eudc.el (eudc-expand-inline):
19945 * net/newst-backend.el (newsticker--cache-read-feed):
19946 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19947 condition-case handlers.
19949 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
19951 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19952 (gdb-var-list): Add an element for has_more field.
19953 (gdb-non-stop-handler): Enable pretty printing for STL containers.
19954 (gdb-var-create-handler, gdb-var-list-children-handler-1)
19955 (gdb-var-update-handler-1): Parse output of dynamic variable
19956 objects (STL containers).
19957 (gdb-var-delete-1): Pass var1 as an explicit second argument.
19958 (gdb-get-field): Delete alias. Use bindat-get-field directly.
19960 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19962 (gud-speedbar-buttons): Make node expandable if expression "has more"
19965 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
19967 * startup.el (emacs-quick-startup): Remove variable and all uses.
19968 (command-line): Set `inhibit-x-resources' instead.
19969 (command-line-1): Use `inhibit-x-resources' instead.
19971 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
19973 * subr.el: Fix last change to avoid using the `unless' macro,
19974 which breaks bootstrapping.
19976 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19978 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19979 extended definitions, in case we reload subr.el after having
19981 (eval-next-after-load): Mark as obsolete.
19983 2009-09-17 Juri Linkov <juri@jurta.org>
19985 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19986 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19987 (menu-bar-showhide-menu, menu-bar-tools-menu)
19988 (menu-bar-describe-menu, menu-bar-help-menu)
19989 (minibuffer-local-completion-map, minibuffer-local-map):
19992 2009-09-17 Glenn Morris <rgm@gnu.org>
19994 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
19995 arguments, whether or not it has a handler.
19997 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19999 * simple.el (hard-newline): Give it a doc-string.
20001 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20002 (lisp-mode-syntax-table): Give them doc-strings.
20004 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
20006 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
20007 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
20008 (menu-bar-options-menu, menu-bar-showhide-menu)
20009 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
20010 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
20011 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
20012 (menu-bar-options-menu, menu-bar-tools-menu)
20013 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
20014 (menu-bar-help-menu):
20015 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
20018 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
20019 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
20020 calls for the menu names and :help.
20022 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
20024 * mouse.el (minor-mode-menu-from-indicator): Pay attention
20025 to :minor-mode-function (bug#4455).
20027 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
20029 * startup.el (command-line): Initialize the window-system after
20030 processing the command-line.
20032 * textmodes/page.el (what-page): Make sure we don't inf-loop if
20033 page-delimiter matches the empty string.
20035 2009-09-16 Glenn Morris <rgm@gnu.org>
20037 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
20038 byte-compile-not-obsolete-var. It's a list now.
20039 (byte-compile-not-obsolete-funcs): New variable.
20040 (byte-compile-warn-obsolete): Don't warn about functions if they are in
20041 byte-compile-not-obsolete-funcs.
20042 (byte-compile-variable-ref, byte-compile-defvar): Update for
20043 byte-compile-not-obsolete-vars name-change and list nature.
20044 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
20045 and variables behind (f)boundp tests.
20046 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
20048 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
20050 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
20052 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
20054 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
20055 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
20058 2009-09-15 Stephen Eglen <stephen@gnu.org>
20060 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
20061 the virtual-buffers, use the name of the buffer specified by
20062 find-file-noselect, as the match may be a symlink. (This was a
20063 problem if the target and the symlink had different names.)
20065 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
20067 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
20069 * desktop.el (desktop-path): Check user-emacs-directory.
20071 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
20073 * loadup.el: Use after-load-functions to GC after loading each file.
20074 Remove the explicit GC calls that used to be sprinkled around.
20076 * subr.el (after-load-functions): New hook.
20077 (do-after-load-evaluation): Run it. Use string-match-p to detect
20078 `obsolete' packages, rather than painfully extracting the relevant
20081 2009-09-15 Glenn Morris <rgm@gnu.org>
20083 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
20084 free variable `doc'.
20086 * dired.el (dired-mode-map): Add menu entry for async shell command.
20088 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
20089 variables, also consider the .elc files, since the .el files are
20090 normally gzipped (subsequent code locates the .el.gz from the .elc).
20092 * calc/calc-prog.el (arglist): Define for compiler.
20094 * calendar/diary-lib.el (diary-display-function): Change the default to
20096 (body): Define for compiler.
20098 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
20099 (byte-compile-file-form, byte-compile-lambda)
20100 (byte-compile-top-level-body, byte-compile-form)
20101 (byte-compile-variable-ref, byte-compile-setq)
20102 (byte-compile-setq-default, byte-compile-body)
20103 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
20104 (batch-byte-compile): Give some more local variables with common names
20105 a "bytecomp-" prefix to avoid masking warnings about free variables.
20107 * startup.el (command-line-1): Give local variables with common names a
20108 distinguishing prefix, so as not to hide free variable warnings during
20111 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
20112 clever and add a suffix to make a unique name, just let the user decide
20113 whether or not to overwrite it. If the input is a directory, write the
20114 default filename to that directory. (Bug#4388)
20115 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
20116 is a filename-as-a-directory.
20118 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
20120 * textmodes/page.el (what-page): Don't move to beginning of line.
20121 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
20123 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
20125 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
20127 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
20129 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
20130 * help.el (help-for-help-internal): Add purecopy calls for text.
20132 * vc.el (top): print-log method now takes an optional SHORTLOG
20133 argument. Add a new method: root.
20134 (vc-root-diff, vc-print-root-log): New functions.
20135 (vc-log-short-style): New variable.
20136 (vc-print-log-internal): Add support for showing short logs.
20138 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
20139 vc-print-root-log and vc-print-root-diff.
20141 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
20142 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
20143 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
20146 * vc-cvs.el (vc-cvs-print-log):
20147 * vc-mtn.el (vc-mtn-print-log):
20148 * vc-rcs.el (vc-rcs-print-log):
20149 * vc-sccs.el (vc-sccs-print-log):
20150 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
20151 that is ignored for now.
20153 * vc-mtn.el (vc-mtn-annotate-command):
20154 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
20156 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20158 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
20159 to function-key-map, and give them ascii-character property.
20160 * term/x-win.el (x-alternatives-map):
20161 * term/ns-win.el (ns-alternatives-map):
20162 * term/internal.el (msdos-key-remapping-map):
20163 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
20165 2009-09-14 Glenn Morris <rgm@gnu.org>
20167 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
20168 temp-buffers (2009-09-12).
20170 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
20172 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
20173 the new read-key function.
20175 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
20177 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
20178 is defined (Bug#4405).
20180 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
20182 * recentf.el (recentf-cleanup): Use a hash table to find
20183 duplicates (Bug#4407).
20185 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
20187 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
20188 kp-0 to ascii equivalents (Bug#4325).
20190 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
20192 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
20194 * eshell/em-hist.el:
20195 * eshell/em-dirs.el (eshell-complete-user-reference):
20196 Declare pcomplete functions and variables to avoid compiler warnings.
20198 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
20200 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
20201 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
20202 * eshell/em-alias.el (eshell-aliases-file):
20203 * eshell/em-hist.el (eshell-history-file-name):
20204 Use expand-file-name instead of concat to make file names (Bug#4308).
20206 2009-09-13 Glenn Morris <rgm@gnu.org>
20208 * ediff-merg.el (ediff-do-merge):
20209 * filesets.el (filesets-run-cmd):
20210 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
20211 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
20212 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
20213 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
20214 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
20215 Replace empty `let's with `progn'.
20217 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
20219 * mail/sendmail.el (send-mail-function):
20220 * tooltip.el (tooltip-mode):
20221 * simple.el (transient-mark-mode):
20222 * rfn-eshadow.el (file-name-shadow-mode):
20223 * frame.el (blink-cursor-mode):
20224 * font-core.el (global-font-lock-mode):
20225 * files.el (temporary-file-directory)
20226 (small-temporary-file-directory, auto-save-file-name-transforms):
20227 * epa-hook.el (auto-encryption-mode):
20228 * composite.el (global-auto-composition-mode):
20229 Use custom-initialize-delay.
20230 * startup.el (command-line): Don't explicitly call
20231 custom-reevaluate-setting for all the above vars.
20232 * custom.el (custom-initialize-safe-set)
20233 (custom-initialize-safe-default): Delete.
20235 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20237 * term/x-win.el (x-initialize-window-system):
20238 * term/w32-win.el (w32-initialize-window-system):
20239 * term/ns-win.el (ns-initialize-window-system): Don't call
20240 mouse-wheel-mode since it's enabled globally by default already.
20242 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
20243 actually define the variable, but only silences the byte-compiler.
20244 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
20245 before looking it up.
20246 (mouse-wheel-scroll-amount): Also reset the bindings if this value
20249 2009-09-12 Glenn Morris <rgm@gnu.org>
20251 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
20253 (elint-add-required-env): Don't beep on error.
20254 (elint-forms): In case of error, return ENV unchanged.
20255 (elint-init-env): Skip non-list forms.
20256 (elint-log): Handle unknown file positions.
20258 2009-09-12 Daiki Ueno <ueno@unixuser.org>
20260 * epg.el (epg-make-context): Add autoload cookie.
20261 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
20262 (epg-decrypt-string, epg-start-verify, epg-verify-file)
20263 (epg-verify-string, epg-start-sign, epg-sign-file)
20264 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
20265 (epg-encrypt-string, epg-start-export-keys)
20266 (epg-export-keys-to-file, epg-export-keys-to-string)
20267 (epg-start-import-keys, epg-import-keys-from-file)
20268 (epg-import-keys-from-string, epg-start-receive-keys)
20269 (epg-receive-keys, epg-import-keys-from-server)
20270 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
20271 (epg-sign-keys, epg-start-generate-key)
20272 (epg-generate-key-from-file, epg-generate-key-from-string):
20273 Remove autoload cookie.
20275 2009-09-12 Eli Zaretskii <eliz@gnu.org>
20277 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
20278 reevaluation of trash-directory.
20280 * mwheel.el: Fix last change.
20281 (mouse-wheel-mode): New defvar.
20282 (mouse-wheel-mode): Remove autoload cookie.
20284 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20286 * mwheel.el (mwheel-installed-bindings): New var.
20287 (mouse-wheel-mode): Use it, so as to make sure we really remove all
20288 the bindings we set last time. Use custom-initialize-delay.
20289 * loadup.el: Load mwheel after term/*-win.el.
20290 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
20291 and mouse-wheel-up-event now that their first evaluation is done
20292 sufficiently late to be correct.
20294 * startup.el (tutorial-directory): Make it a defcustom.
20295 Use custom-initialize-delay rather than eval-at-startup to set it.
20296 * image.el (image-load-path): Make it a defcustom.
20297 Use custom-initialize-delay rather than eval-at-startup to set it.
20298 * subr.el (eval-at-startup): Remove.
20299 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
20301 * subr.el (do-after-load-evaluation): Warn the user after loading an
20304 2009-09-12 Glenn Morris <rgm@gnu.org>
20306 * proced.el (proced-mark-alt): Remove alias.
20307 (proced-mode-map): Remove proced-mark-alt.
20309 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
20310 Elint file and directory. Remove initialization entry.
20312 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
20314 (elint-current-buffer): Set mode-line-process.
20315 (elint-init-env): Handle define-derived-mode.
20316 Fix declare-function with unspecified arglist. Guard against odd
20317 defalias statements (eg iso-insert's 8859-1-map).
20318 (elint-add-required-env): Use a temp buffer.
20319 (elint-form): Just print the function/macro name, not the whole form.
20320 Return env unchanged if we fail to parse a macro.
20321 (elint-forms): Guard against parse errors.
20322 (elint-output): New function, to handle batch mode.
20323 (elint-log-message): Add optional argument. Use elint-output.
20324 (elint-set-mode-line): New function.
20326 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
20328 * emacs-lisp/elp.el (elp-not-profilable): Add more
20329 functions (Bug#4233).
20331 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
20333 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
20334 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
20336 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
20338 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
20339 (gdb-var-list-children): Use json parsing.
20341 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
20343 * progmodes/js.el (js--proper-indentation): Handle the case where
20344 char-before is null. Reported by Deniz Dogan.
20346 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
20348 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
20350 2009-09-11 Daiki Ueno <ueno@unixuser.org>
20352 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
20353 (epg-digest-algorithm-alist): Add SHA224.
20354 (epg-context-set-passphrase-callback)
20355 (epg-context-set-progress-callback): Add description about
20358 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20360 * custom.el (custom-delayed-init-variables): New var.
20361 (custom-initialize-delay): New function.
20362 * startup.el (command-line): "Re"evaluate all vars in
20363 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
20364 explicitly any more.
20365 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
20366 to avoid creating a ~/.emacs.d at build-time (bug#4347).
20368 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
20370 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
20372 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
20373 (gdb-var-update-handler): Use json parsing.
20375 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
20377 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
20378 decode annotated text, regardless of language environment. (Bug#2741)
20380 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20382 * Makefile.in (autoloads): Make rmail.el writable as well.
20384 2009-09-11 Glenn Morris <rgm@gnu.org>
20386 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
20388 * dired.el: Regenerate with extracted autoloads.
20389 * Makefile.in (autoloads): Make dired.el writable.
20391 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
20392 * ibuffer.el: Regenerate with extracted autoloads.
20393 * Makefile.in (autoloads): Make ibuffer.el writable.
20395 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
20396 * version.el (emacs-copyright, emacs-major-version)
20397 (emacs-minor-version): Reformat doc-strings for make-docfile.
20399 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
20400 functions and variables, since they must be stuff specific to some other
20402 (apropos-print): Make mouse-click message less specific about button.
20404 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
20405 that records where a macro was defined.
20406 * help-fns.el (describe-function-1): Mention if a function has a
20408 * help-mode.el (help-function-cmacro): New button.
20410 * locate.el (top-level): Always require dired.
20411 (locate-mode-map): Initialize inside the defvar.
20413 * net/ange-ftp.el (dired-compress-file): Declare.
20414 (ange-ftp-dired-compress-file): Add doc string.
20416 * term/ns-win.el (x-display-name, x-setup-function-keys):
20417 Unify doc-strings with X versions.
20419 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20421 * emulation/crisp.el (crisp-mode-map): Move initialization
20423 (crisp-mode): Use define-minor-mode.
20425 * progmodes/xscheme.el (xscheme-evaluation-commands):
20426 Put a :advertised-binding property rather than using
20427 advertised-xscheme-send-previous-expression.
20428 (advertised-xscheme-send-previous-expression): Declare obsolete.
20429 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
20431 (crisp-mode): Add corresponding bindings to
20432 undo's :advertised-binding instead.
20433 * dired.el (dired-mode-map): Put a :advertised-binding property rather
20434 than using dired-advertised-find-file.
20435 (dired-advertised-find-file):
20436 * simple.el (advertised-undo):
20437 * wid-edit.el (advertised-widget-backward): Declare obsolete.
20438 (widget-keymap): Put a :advertised-binding property rather
20439 than using advertised-widget-backward.
20440 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
20441 than using advertised-undo.
20442 * tutorial.el (tutorial--default-keys): Adjust accordingly.
20444 2009-09-10 Simon South <ssouth@slowcomputing.org>
20446 * progmodes/delphi.el (delphi-tab): Indent region when Transient
20447 Mark mode is enabled and region is active; otherwise indent or
20448 insert TAB as usual.
20449 (delphi-mode): Update description of TAB-key binding.
20451 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
20453 * subr.el (define-key-rebound-commands): Mark obsolete.
20454 * startup.el (precompute-menubar-bindings): Remove.
20455 (normal-top-level): Remove obsolete code that tried to precompute
20457 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
20458 define-key-rebound-commands and precompute-menubar-bindings.
20460 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
20462 * net/imap.el (imap-interactive-login): Better messages.
20463 (imap-open): Fix bug with renamed buffer on reconnect.
20464 (imap-authenticate): Add buffer-local imap-last-authenticator variable
20465 for easier debugging and cleaner code. On successful (guessed based on
20466 server capabilities) secondary authentication, set imap-state
20468 (imap-last-authenticator): Define imap-last-authenticator as a variable
20471 2009-09-10 Glenn Morris <rgm@gnu.org>
20473 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
20475 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
20476 (byte-compile-file-form-autoload): Don't warn about unknown functions
20477 where the autoload statement comes after the use.
20478 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
20479 that any handlers inside the body (eg require) are in turn respected.
20481 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
20484 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
20485 and syntax and abbrev tables basic docs, if they don't have any.
20487 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
20489 * international/mule-cmds.el (top-level): Require cl when compiling.
20490 (view-hello-file): Use default-value rather than
20491 default-enable-multibyte-characters.
20493 * progmodes/fortran.el: Move all safe and risky properties into the
20496 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
20497 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
20498 * mail/undigest.el:
20499 Put autoloads in rmail.el rather than loaddefs.el.
20500 * mail/rmail.el: Regenerate with extracted autoloads.
20502 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
20503 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
20505 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
20507 Reported in thread for Bug#4375.
20508 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
20509 "-data-evaluate-expression" instead of print.
20510 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
20511 (gdb-tooltip-print): Parse output from above MI command.
20512 (gdb): Revert 2009-08-11 change. User should detach inferior
20515 Remove the word "separate" from IO functions as inferior
20516 output is now never displayed in the GUD buffer.
20518 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
20520 * startup.el (command-line-normalize-file-name): On Windows and
20521 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
20523 2009-09-10 Juri Linkov <juri@jurta.org>
20525 * isearch.el (isearch-text-char-description): Propertize escape
20526 character sequences with the `escape-glyph' face. (Bug#4344)
20528 * simple.el (shell-command): Set asynchronous process filter to
20529 `comint-output-filter'. (Bug#4343)
20531 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
20532 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
20533 the list. Move "asm" to the bottom.
20534 (grep-find-ignored-directories): Add `choice' with nil value
20535 to empty the list easily.
20536 (grep-find-ignored-files): New option.
20537 (grep-files-history): Set to nil by default instead of '("ch" "el").
20538 (grep-compute-defaults): Add "<X>" to `grep-template'.
20539 (grep-read-files): Bind new local variables `default-alias' and
20540 `default-extension'. Use a list of default values for the file prompt.
20541 (lgrep): Add `--exclude=' command line options composed from
20542 `grep-find-ignored-files'.
20543 (rgrep): Add `-name' command line options composed from
20544 `grep-find-ignored-files'. (Bug#4301)
20546 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
20548 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
20551 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
20553 * calendar/time-date.el (autoload):
20554 Expand define-obsolete-function-alias into defalias and make-obsolete
20555 for old Emacsen that Gnus supports.
20556 (with-no-warnings): Define it for old Emacsen.
20557 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
20559 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
20560 float-time is available; suppress compile warning for time-to-seconds.
20562 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
20564 * net/imap.el (imap-message-map): Docstring fix.
20566 2009-09-09 Glenn Morris <rgm@gnu.org>
20568 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
20569 line numbers too. (Bug#4374)
20571 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
20573 * smerge-mode.el (smerge-remove-props, smerge-refine):
20574 Use with-silent-modifications (bug#4342).
20576 * subr.el (with-silent-modifications): New macro.
20578 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
20580 * files.el (top-level): Require `cl' when compiling.
20582 2009-09-07 Glenn Morris <rgm@gnu.org>
20584 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
20586 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
20587 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
20589 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
20591 * vc-git.el (vc-git-annotate-command): Use separator to parse
20592 arguments correctly.
20594 2009-09-06 Eli Zaretskii <eliz@gnu.org>
20596 * proced.el (proced-mode): Doc fix.
20598 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
20600 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
20602 (tramp-do-file-attributes-with-ls): Check for file existence at
20604 (tramp-do-file-attributes-with-stat): Likewise.
20605 (tramp-convert-file-attributes): Return nil when attr is nil.
20607 2009-09-05 Glenn Morris <rgm@gnu.org>
20609 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
20610 properties to this button.
20611 (diary-fancy-display): Don't extend the button to the final newline.
20612 (diary-fancy-display-mode): Continue to define "q" as a local key.
20614 * calendar/cal-china.el (holiday-chinese): Make it slightly more
20617 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
20619 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
20620 (byte-compile-dest-file-function): New option.
20621 (byte-compile-dest-file): Doc fix.
20622 Obey byte-compile-dest-file-function.
20623 (byte-compile-cl-file-p): New function.
20624 (byte-compile-eval): Only suppress noruntime warnings about cl functions
20625 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
20626 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
20627 than for file being previously loaded.
20628 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
20629 (byte-compile-file-form-require): Handle the case where requiring a file
20630 indirectly causes CL to be loaded.
20632 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20634 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
20635 before killing the old buffer, since by the time `kill-buffer' is
20636 run so many buffer variables have been set to nil that it may not
20637 behave as expected. (Bug#4061)
20639 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20641 * files.el (find-alternate-file): If the old buffer is modified
20642 and visiting a file, behave similarly to `kill-buffer' when
20643 killing it, thus reverting to the pre-1.878 behavior; see
20644 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
20645 for discussion. Also, consult `buffer-file-name' as a variable
20646 not as a function, for consistency with the rest of the code.
20648 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
20650 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
20651 also when adding a new directory.
20653 * net/tramp-compat.el (tramp-compat-line-beginning-position):
20656 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
20658 * files.el (locate-file-completion-table): Make it provide boundary
20659 information, so partial-completion works better.
20661 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
20663 * mail/footnote.el (Footnote-text-under-cursor):
20664 Check footnote-text-marker-alist before using it (bug#4324).
20666 2009-09-04 Glenn Morris <rgm@gnu.org>
20668 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
20669 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
20670 * play/solitaire.el, play/tetris.el:
20671 Remove leading * from defcustom and defface docs.
20673 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
20675 (diary-fancy-overriding-map): New variable.
20676 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
20679 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
20682 2009-09-03 Glenn Morris <rgm@gnu.org>
20684 * arc-mode.el (archive-mode):
20685 * dos-fns.el (set-default-process-coding-system):
20686 * man.el (Man-getpage-in-background):
20687 * menu-bar.el (menu-bar-describe-menu):
20688 * server.el (server-process-filter):
20689 * startup.el (command-line):
20690 * tar-mode.el (tar-header-block-tokenize, tar-extract):
20691 * w32-fns.el (set-default-process-coding-system):
20692 * x-dnd.el (x-dnd-handle-file-name):
20693 * international/mule-cmds.el (mule-menu-keymap)
20694 (set-default-coding-systems, language-info-alist, set-language-info)
20695 (set-language-environment, standard-display-european-internal)
20696 (set-locale-environment):
20697 * international/mule-diag.el (mule-diag):
20698 * mail/emacsbug.el (report-emacs-bug):
20699 * mail/rmail.el (rmail-mode):
20700 * mail/sendmail.el (mail-setup):
20701 Use default-value rather than default-enable-multibyte-characters.
20703 * progmodes/f90.el: Move all safe properties into the defcustoms.
20704 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
20706 * calendar/appt.el (appt-check):
20707 * calendar/diary-lib.el (diary-set-header, diary-live-p)
20708 (diary-check-diary-file, diary-list-entries)
20709 (diary-include-other-diary-files, diary-simple-display)
20710 (diary-fancy-display, diary-print-entries)
20711 (diary-mark-included-diary-files, diary-make-entry):
20712 Don't call substitute-in-file-name on diary-file.
20714 2009-09-03 Eduard Wiebe <usenet@pusto.de>
20715 Stefan Monnier <monnier@iro.umontreal.ca>
20717 * mail/footnote.el (footnote-prefix): Make it a defcustom.
20718 (footnote-mode-map): Move initialization into the declaration.
20719 (footnote-minor-mode-map): Define it rather than changing global-map.
20720 (footnote-mode): Use define-minor-mode.
20722 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
20724 * net/tramp.el (tramp-handle-file-attributes-with-ls)
20725 (tramp-do-file-attributes-with-perl)
20726 (tramp-do-file-attributes-with-stat): Rename from
20727 `tramp-handle-file-attributes-with-*'.
20728 (tramp-handle-file-attributes): Use them.
20729 (tramp-do-directory-files-and-attributes-with-perl)
20730 (tramp-do-directory-files-and-attributes-with-stat): Rename from
20731 `tramp-handle-directory-files-and-attributes-with-*'.
20732 (tramp-handle-directory-files-and-attributes): Use them.
20733 (tramp-method-out-of-band-p): Additional parameter SIZE.
20734 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
20735 (tramp-handle-write-region): Use it.
20736 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
20737 (tramp-handle-vc-registered): Check, whether the first run did
20738 return files to be tested.
20739 (tramp-advice-make-auto-save-file-name): Do not call directly
20740 `tramp-handle-make-auto-save-file-name', because this would bypass
20741 the locking mechanism.
20743 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
20744 (file-remote-p, process-file, start-file-process, set-file-times)
20745 (tramp-compat-file-attributes): Compatibility functions shall not
20746 call directly `tramp-handle-*', because this would bypass the
20748 (tramp-compat-number-sequence): New defun.
20750 2009-09-02 Glenn Morris <rgm@gnu.org>
20752 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
20753 alias for float-time.
20754 (time-to-number-of-days): In Emacs, use float-time.
20755 * net/newst-backend.el (time-add): Suppress warnings from compat
20757 * time.el (emacs-uptime, emacs-init-time):
20758 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
20759 Use float-time rather than time-to-seconds.
20761 * minibuffer.el (completion-initials-expand): Fix typo.
20763 * faces.el (modeline, modeline-inactive, modeline-highlight)
20764 (modeline-buffer-id):
20765 * info.el (info-menu-5): Mark these face aliases as obsolete.
20767 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20769 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
20771 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
20772 no "--thread" option.
20773 (gdb-stopped): Don't print "Switched to thread" message when it is
20776 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
20778 * minibuffer.el (completion-try-completion)
20779 (completion-all-completions): Remove ill-defined (and
20780 mistakenly installed and luckily never used nor documented)
20781 `completion-styles' property.
20782 (completion-initials-expand, completion-initials-all-completions)
20783 (completion-initials-try-completion): New functions.
20784 (completion-styles-alist): Add doc to each entry.
20785 Add new `initials' entry.
20787 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20789 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20790 MI command -var-evaluate-expression.
20791 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20792 and tweak for case of string child.
20793 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20795 2009-09-01 Glenn Morris <rgm@gnu.org>
20797 * add-log.el (change-log-date-face, change-log-name-face)
20798 (change-log-email-face, change-log-file-face, change-log-list-face)
20799 (change-log-conditionals-face, change-log-function-face)
20800 (change-log-acknowledgement-face):
20801 * cus-edit.el (custom-invalid-face, custom-rogue-face)
20802 (custom-modified-face, custom-set-face, custom-changed-face)
20803 (custom-saved-face, custom-button-face, custom-button-pressed-face)
20804 (custom-documentation-face, custom-state-face, custom-comment-face)
20805 (custom-comment-tag-face, custom-variable-tag-face)
20806 (custom-variable-button-face, custom-face-tag-face)
20807 (custom-group-tag-face-1, custom-group-tag-face):
20808 * diff-mode.el (diff-header-face, diff-file-header-face)
20809 (diff-index-face, diff-hunk-header-face, diff-removed-face)
20810 (diff-added-face, diff-changed-face, diff-function-face)
20811 (diff-context-face, diff-nonexistent-face):
20812 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20813 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20814 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20815 (Info-title-4-face):
20816 * isearch.el (isearch-lazy-highlight-face):
20817 * log-view.el (log-view-file-face, log-view-message-face):
20818 * paren.el (show-paren-match-face, show-paren-mismatch-face):
20819 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20820 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20822 * smerge-mode.el (smerge-mine-face, smerge-other-face)
20823 (smerge-base-face, smerge-markers-face):
20824 * wid-edit.el (widget-documentation-face, widget-button-face)
20825 (widget-field-face, widget-single-line-field-face)
20826 (widget-inactive-face, widget-button-pressed-face):
20827 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20828 (woman-addition-face):
20829 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20830 (eshell-ls-executable-face, eshell-ls-readonly-face)
20831 (eshell-ls-unreadable-face, eshell-ls-special-face)
20832 (eshell-ls-missing-face, eshell-ls-archive-face)
20833 (eshell-ls-backup-face, eshell-ls-product-face)
20834 (eshell-ls-clutter-face):
20835 * eshell/em-prompt.el (eshell-prompt-face):
20836 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20837 * obsolete/old-whitespace.el (whitespace-highlight-face):
20838 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20839 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20840 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20841 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20842 (antlr-font-lock-literal-face):
20843 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20844 (ebrowse-root-class-face, ebrowse-file-name-face)
20845 (ebrowse-default-face, ebrowse-member-attribute-face)
20846 (ebrowse-member-class-face, ebrowse-progress-face):
20847 * progmodes/make-mode.el (makefile-space-face):
20848 * progmodes/sh-script.el (sh-heredoc-face):
20849 * textmodes/flyspell.el (flyspell-incorrect-face)
20850 (flyspell-duplicate-face):
20851 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20852 * textmodes/texinfo.el (texinfo-heading-face):
20853 Mark face aliases with "-face" suffix as obsolete.
20855 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20858 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20859 (eudc-bob-sound-menu): Use defvar rather than defconst, since
20860 easy-menu-define wants to modify these.
20862 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20864 * net/browse-url.el (browse-url-file-url):
20865 * term/internal.el (dos-codepage-setup):
20866 Use default-value rather than default-enable-multibyte-characters.
20868 * progmodes/etags.el (etags-goto-tag-location):
20869 * progmodes/flymake.el (flymake-highlight-line)
20870 (flymake-goto-file-and-line, flymake-goto-line):
20871 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20872 (gdb-goto-breakpoint):
20873 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20874 * progmodes/python.el (python-find-function)
20875 (python-pdbtrack-track-stack-file):
20876 * progmodes/verilog-mode.el (verilog-surelint-off):
20877 * term/ns-win.el (ns-open-file-select-line):
20878 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20879 Use forward-line rather than goto-line.
20881 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20882 * textmodes/reftex-index.el (reftex-display-index):
20883 * textmodes/reftex-ref.el (reftex-offer-label-menu):
20884 * textmodes/reftex-toc.el (reftex-toc):
20885 Remove unnecessary bindings of default-major-mode (all are followed by
20886 major-mode check and possible mode switch).
20888 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20890 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20891 Handle watchpoints (bug#4282).
20892 (def-gdb-thread-buffer-command): Enable thread to be selected by
20893 clicking without selecting threads buffer first.
20894 (gdb-current-context-command): Use selected frame so that "up",
20895 "down" etc work in the GUD buffer.
20896 (gdb-update): Find selected frame before rendering stack buffer.
20897 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20899 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
20901 * progmodes/sym-comp.el (displayed-completions): Remove.
20902 (symbol-complete): Use minibuffer-complete.
20904 2009-08-31 Glenn Morris <rgm@gnu.org>
20906 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20908 * apropos.el (apropos-symbols-internal):
20909 Handle (obsolete) face aliases.
20911 * faces.el (describe-face): Adjust the output format to be more like
20912 describe-variable, and to mention (obsolete) face aliases.
20913 Adjust the whitespace so that help-setup-xref works.
20915 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20916 * calendar/diary-lib.el (diary-button-face):
20917 Mark these face aliases as obsolete.
20919 * calendar/calendar.el (calendar-today): Doc fix.
20921 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20923 * progmodes/gdb-mi.el (gdb-control-all-threads)
20924 (gdb-control-current-thread): Force tool bar update.
20925 (gdb-non-stop-handler): New function.
20926 (gdb-init-1): Use it to test if non-stop mode is supported.
20927 Remove unused gdbmi buffer type.
20929 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
20931 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20932 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
20934 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
20936 * comint.el (comint-exec-1): Check command is non-null first.
20937 Part of gdb-mi.el change (2009-08-28).
20939 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20941 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20943 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
20945 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20946 instead of `dolist' to avoid a recursive require when bootstrapping.
20948 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20950 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20952 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20954 * net/imap.el (imap-send-command): Simplify.
20955 (imap-wait-for-tag): point-max -> buffer-size.
20957 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20959 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20960 with constant argument.
20962 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20964 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20966 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20967 Change default, since most of our files don't have a history.
20968 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20971 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20974 * calc/calc.el: Improve commenting convention.
20975 (calc-digit-map, toplevel): Simplify.
20977 * comint.el (comint-insert-input): Be careful to only set point if we
20978 don't delegate to some other command.
20980 * proced.el (proced-signal-list): Make it an alist.
20981 (proced-grammar-alist): Capitalize names.
20982 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20983 Disable undo manually and make it read-only.
20984 Use completion-annotate-function.
20986 * minibuffer.el (minibuffer-message): If the current buffer is not
20987 a minibuffer, insert the message in the echo area rather than at the
20989 (completion-annotate-function): New variable.
20990 (minibuffer-completion-help): Use it.
20991 (completion--embedded-envvar-table): Environment vars are
20992 always case-sensitive.
20994 2009-08-30 Glenn Morris <rgm@gnu.org>
20996 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20997 from fortran-current-defun.
20998 (fortran-beginning-of-subprogram): Be more precise about finding the
20999 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
21000 (fortran-end-of-subprogram): Simplify.
21001 (fortran-current-defun): Use fortran-start-prog-re.
21003 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
21005 * subr.el (do-after-load-evaluation): Simplify.
21007 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
21009 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
21011 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
21012 (vc-rcs-print-log): Use it.
21014 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
21016 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
21018 * paths.el (abbrev-file-name): Move to abbrev.el.
21019 * abbrev.el (abbrev-file-name): Move from paths.el.
21020 Obey user-emacs-directory.
21021 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
21022 user-emacs-directory.
21023 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
21024 abbrev-file-name and calc-settings-file any more.
21025 * startup.el (command-line): Recompute abbrev-file-name and
21026 abbreviated-home-dir.
21027 (normal-no-mouse-startup-screen): Improve the generic code and get rid
21028 of the special code for when C-h bindings haven't been changed.
21029 (display-startup-echo-area-message): Use with-current-buffer.
21030 (command-line-1): Use a list of strings, rather than a list of lists
21031 of strings for longopts.
21033 * files.el (get-free-disk-space): Use / for default-directory.
21035 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
21036 Use with-current-buffer.
21038 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
21039 Recognize immutable variables like most-positive-fixnum.
21040 (byte-compile-setq-default): Check and warn if trying to assign
21041 to an immutable variable, or a non-variable.
21043 * progmodes/cc-vars.el (c-comment-continuation-stars):
21044 * progmodes/cc-engine.el (c-looking-at-bos):
21045 * progmodes/cc-cmds.el (c-toggle-auto-state)
21046 (c-forward-into-nomenclature, c-backward-into-nomenclature)
21047 (c-comment-line-break-function): Add version of obsolescence.
21049 2009-08-28 Juri Linkov <juri@jurta.org>
21051 * files.el (magic-fallback-mode-alist): Add ZIP magic number
21052 associated with `archive-mode'.
21054 * image.el (image-type-header-regexps): Use only JPEG magic number
21055 to determine JPEG images, and don't use `image-jpeg-p' because
21056 Emacs can display non-JFIF non-Exif JPEG images.
21058 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
21060 * arc-mode.el (archive-mode):
21061 * emacs-lisp/re-builder.el (re-builder-unload-function):
21062 Protect against the default value of `major-mode' being nil.
21064 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
21066 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
21067 Fix typos in docstrings.
21069 * progmodes/js.el (js--macro-decl-re): Doc fix.
21070 (js--plain-method-re, js--split-name): Refloc docstring.
21071 (js--class-styles, js--make-merged-item, js--splice-into-items):
21072 Fix typos in docstrings; reflow docstrings.
21073 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
21074 (js--variable-decl-matcher, js--inside-pitem-p)
21075 (js--parse-state-at-point, js--get-all-known-symbols)
21076 (js--symbol-history, js-find-symbol, js--js-references)
21077 (js--moz-interactor, js--js-encode-value, js--read-tab):
21078 Fix typos in docstrings.
21080 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21082 * textmodes/reftex.el (reftex-get-file-buffer-force):
21083 * progmodes/verilog-mode.el (verilog-batch-execute-func):
21084 * emulation/viper.el (viper-go-away, viper-set-hooks):
21085 * emacs-lisp/re-builder.el (re-builder-unload-function):
21086 * emacs-lisp/bytecomp.el (byte-compile-file):
21087 * ses.el (ses-unload-function):
21088 * hexl.el (hexl-find-file):
21089 * files.el (normal-mode):
21090 * ehelp.el (with-electric-help):
21091 * autoinsert.el (auto-insert-alist):
21092 * arc-mode.el (archive-mode):
21093 Use (default-value 'major-mode) instead of default-major-mode.
21095 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
21096 * international/mule.el (load-with-code-conversion):
21097 * emacs-lisp/debug.el (debug):
21098 * ediff-vers.el (ediff-rcs-get-output-buffer):
21099 * dired.el (dired-internal-noselect): Don't let-bind
21100 default-major-mode around code that doesn't use it.
21101 E.g. buffer creation via get-buffer-create doesn't use it.
21103 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
21105 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
21106 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
21107 when writing the temp file. Otherwise, epa-file gets confused.
21108 (tramp-register-file-name-handlers): Make it a defun. Move also
21109 `epa-file-handler' to the front of `file-name-handler-alist'.
21111 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21113 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
21114 start right after a ^M.
21115 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
21116 (tramp-completion-file-name-regexp-separate)
21117 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
21118 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
21119 Don't modify last-coding-system-used by accident.
21120 (tramp-completion-file-name-handler): Apply the checks here,
21121 instead during registration.
21122 (tramp-register-file-name-handlers): Rename from
21123 `tramp-register-file-name-handler'. Register both
21124 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
21125 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
21127 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
21129 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
21130 Remove variable ...
21131 (gdb-init-1, gdb-display-separate-io-buffer)
21132 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
21134 (gdb-inferior-io-mode): Use make-comint-in-buffer.
21135 (gdb-inferior-filter): Use comint-output-filter to stop
21136 echoing and remove ^M characters.
21138 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21140 * emulation/viper-init.el (viper-restore-cursor-type):
21141 * emulation/cua-base.el (cua--update-indications):
21142 Replace default-cursor-type with (default-value 'cursor-type).
21144 * mail/sendmail.el (mail-recover-1):
21145 * international/mule-diag.el (describe-current-coding-system-briefly)
21146 (describe-current-coding-system):
21147 * international/mule-cmds.el (select-safe-coding-system)
21148 (select-message-coding-system)
21149 (set-language-environment-coding-systems, set-locale-environment):
21150 * hexl.el (hexl-insert-multibyte-char):
21151 * dos-w32.el (find-buffer-file-type-coding-system):
21152 * simple.el (what-cursor-position):
21153 Replace uses of default-buffer-file-coding-system
21154 with (default-value 'buffer-file-coding-system).
21156 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
21157 Replace uses of default-cursor-in-non-selected-windows
21158 with (default-value 'cursor-in-non-selected-windows).
21159 Use with-current-buffer.
21161 * mail/feedmail.el: Use CL macros.
21162 (feedmail-run-the-queue, feedmail-send-it-immediately):
21163 * dos-w32.el (find-buffer-file-type): Replace uses of
21164 default-buffer-file-type with (default-value 'buffer-file-type).
21166 2009-08-28 Glenn Morris <rgm@gnu.org>
21168 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
21169 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
21170 Use default-value of major-mode rather than default-major-mode.
21172 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
21174 * Makefile.in (update-elcfiles): Report left over elc files.
21176 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
21177 expand-file-name and with-current-buffer.
21178 (mail-get-names, mail-directory): Use with-current-buffer.
21180 * vc.el (vc-read-revision): New function.
21181 (vc-version-diff, vc-merge): Use it.
21183 2009-08-27 Sam Steingold <sds@gnu.org>
21185 * simple.el (kill-do-not-save-duplicates): New user option.
21186 (kill-new): When it is non-nil, and the new string is the same as
21187 the latest kill, set replace to t to avoid duplicates in kill-ring.
21189 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
21191 * net/tramp.el (tramp-handle-process-file): Do not flush all
21192 caches when `process-file-side-effects' is set.
21193 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
21194 instead of `tramp-find-file-exists-command'.
21195 Unset `process-file-side-effects'.
21197 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
21199 * net/tramp.el (tramp-methods): New method "rsyncc".
21200 (top): Add completion function for "rsyncc".
21201 (tramp-message-show-message): New defvar.
21202 (tramp-message, tramp-error): Use it.
21203 (tramp-do-copy-or-rename-file-directly): Extend check for direct
21205 (tramp-do-copy-or-rename-file-out-of-band): Handle new
21206 `tramp-methods' entry `copy-env' of "rsyncc".
21207 (tramp-vc-registered-read-file-names): New defconst.
21208 (tramp-vc-registered-file-names): New defvar.
21209 (tramp-handle-vc-registered): Implement optimization strategy.
21210 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
21211 (tramp-vc-file-name-handler): New defun.
21212 (tramp-get-ls-command, tramp-get-test-command)
21213 (tramp-get-file-exists-command, tramp-get-remote-ln)
21214 (tramp-get-remote-perl, tramp-get-remote-stat)
21215 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
21217 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
21218 (tramp-cache-inhibit-cache): Extend doc string. It allows also
21220 (tramp-get-file-property): Check for timestamps in
21221 `tramp-cache-inhibit-cache'.
21222 (tramp-set-file-property): Write timestamp.
21224 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21226 * language/japan-util.el (japanese-symbol-table): Add entries for
21229 * international/characters.el: Add category `j' to cp932-2-byte.
21231 2009-08-27 Kenichi Handa <handa@m17n.org>
21233 * international/fontset.el (build-default-fontset-data): New macro.
21234 (setup-default-fontset): Use build-default-fontset-data for CJK,
21235 tibetan, ethiopic, and ipa.
21237 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
21239 * cus-start.el (default-major-mode): Customize `major-mode' instead.
21240 (enable-multibyte-characters): Not customizable any more.
21242 * subr.el (default-mode-line-format, default-header-line-format)
21243 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
21244 (default-direction-reversed, default-truncate-lines)
21245 (default-left-margin, default-tab-width, default-case-fold-search)
21246 (default-left-margin-width, default-right-margin-width)
21247 (default-left-fringe-width, default-right-fringe-width)
21248 (default-fringes-outside-margins, default-scroll-bar-width)
21249 (default-vertical-scroll-bar, default-indicate-empty-lines)
21250 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
21251 (default-fringe-cursor-alist, default-scroll-up-aggressively)
21252 (default-scroll-down-aggressively, default-fill-column)
21253 (default-cursor-type, default-buffer-file-type)
21254 (default-cursor-in-non-selected-windows)
21255 (default-buffer-file-coding-system, default-major-mode)
21256 (default-enable-multibyte-characters): Mark as obsolete.
21258 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
21260 * vc-dir.el (vc-dir-update): Remove debug helper.
21262 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
21264 2009-08-26 Sam Steingold <sds@gnu.org>
21266 * simple.el (save-interprogram-paste-before-kill): New user option.
21267 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
21268 save the interprogram-paste into kill-ring before overriding it
21269 with the Emacs kill.
21271 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
21273 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
21274 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
21275 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
21276 and move to vc-rcs.el.
21277 (vc-default-next-revision): Rename to vc-rcs-next-revision and
21279 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
21280 (vc-rcs-update-changelog): Remove.
21281 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
21282 and move to vc-rcs.el.
21284 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
21285 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
21287 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
21288 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
21289 vc.el, renamed to be RCS specific.
21291 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
21293 (vc-cvs-update-changelog): Move here from vc.el.
21295 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
21298 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
21300 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
21302 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
21304 * vc-git.el (vc-git-register): Use "git add" for directories.
21305 (vc-git-stash, vc-git-stash-show): New functions.
21306 (vc-git-extra-menu-map): Bind them.
21308 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
21309 directory correctly in case the item is a directory itself.
21311 * vc.el: Document the desired behavior for reverted files in the
21313 (vc-default-prettify-state-info): Remove function, unused.
21315 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
21317 2009-08-26 Glenn Morris <rgm@gnu.org>
21319 * bindings.el (standard-mode-line-format): Reposition dashes in
21320 which-func entry. (Bug#4217)
21322 * files.el (enable-local-variables, enable-local-eval)
21323 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
21325 (auto-mode-alist, ignored-local-variables)
21326 (save-some-buffers-action-alist): Move risky declarations to the
21328 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
21329 (font-lock-defaults, format-alist, imenu--index-alist)
21330 (imenu-generic-expression, input-method-alist, minor-mode-alist)
21331 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
21332 (mode-line-modified, mode-line-mule-info, mode-line-position)
21333 (mode-line-process, mode-line-remote, outline-level)
21334 (parse-time-rules, rmail-output-file-alist)
21335 (special-display-buffer-names, vc-mode):
21336 Move risky declarations to the relevant files.
21337 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
21338 (mode-line-modified, mode-line-process, mode-line-position)
21339 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
21340 * font-core.el (font-lock-defaults):
21341 * format.el (format-alist):
21342 * vc-hooks.el (vc-mode):
21343 * window.el (special-display-buffer-names):
21344 * international/mule-cmds.el (input-method-alist):
21345 Define riskiness here (dumped file) rather than in files.el.
21346 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
21347 * imenu.el (imenu-generic-expression, imenu--index-alist):
21348 * outline.el (outline-level):
21349 * time.el (display-time-string):
21350 * calendar/parse-time.el (parse-time-rules):
21351 * mail/rmailout.el (rmail-output-file-alist):
21352 Autoload riskiness here, rather than placing in files.el.
21354 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
21356 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
21358 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
21360 * simple.el (process-file-side-effects): New defvar.
21362 * dired-aux.el (dired-show-file-type):
21363 * vc.el (vc-diff-internal):
21364 * vc-arch.el (vc-arch-diff):
21365 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
21366 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
21367 * vc-git.el (vc-git-registered, vc-git-working-revision)
21368 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
21369 (vc-git--empty-db-p):
21370 * vc-hooks.el (vc-user-login-name):
21371 * vc-svn.el (vc-svn-registered, vc-svn-state)
21372 (vc-svn-dir-extra-headers, vc-svn-find-revision):
21373 * progmodes/grep.el (grep-probe): Let-bind
21374 `process-file-side-effects' with nil.
21376 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
21378 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
21379 daemon. Replace ping by checking for running service for bluez
21380 and zeroconf. (Bug#4239)
21382 2009-08-25 Kevin Ryde <user42@zip.com.au>
21384 * net/dig.el (dig): Add autoload cookie.
21386 2009-08-25 Glenn Morris <rgm@gnu.org>
21388 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
21389 load-history for absolute file-names.
21390 (byte-compile-file-form-require): Warn about use of the cl package.
21392 * format.el (format-alist): Doc fix.
21394 * play/bubbles.el (top-level): Don't require cl at run-time.
21396 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
21399 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
21401 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
21403 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
21405 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
21407 * calc/calc-alg.el (math-trig-rewrite)
21408 (math-hyperbolic-trig-rewrite): New functions.
21409 (calc-simplify): Simplify trig functions when asked.
21411 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21413 * diff-mode.el (diff-find-source-location): Avoid goto-line.
21415 2009-08-24 Kenichi Handa <handa@m17n.org>
21417 * language/ind-util.el (mapthread): Delete it.
21418 (combinatorial): New function.
21419 (indian--puthash-cv): Use combinatorial instead of mapthread.
21421 2009-08-22 Kevin Ryde <user42@zip.com.au>
21423 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
21424 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
21425 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
21426 Clarify docstring that the value is strings not symbols.
21427 (checkdoc-list-of-strings-p): New function.
21429 2009-08-22 Glenn Morris <rgm@gnu.org>
21431 * files.el (auto-mode-alist):
21432 * hippie-exp.el (he-concat-directory-file-name):
21433 * lpr.el (lpr-windows-system, printer-name):
21434 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
21435 * ps-print.el (ps-windows-system):
21436 * startup.el (command-line):
21437 * emulation/viper-ex.el (viper-glob-function):
21438 * international/mule-cmds.el (set-language-environment-coding-systems):
21439 * net/ange-ftp.el (ange-ftp-write-region):
21440 * obsolete/fast-lock.el (fast-lock-cache-name):
21441 Remove code for defunct system-types emx, macos, mswindows, next-mach,
21442 unisoft-unix, vax-vms, win32, w32.
21444 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
21445 given name if the pattern is not more specific.
21447 * calendar/lunar.el (lunar-phase-names): New option.
21448 (lunar-phase): Doc fix.
21449 (lunar-cycles-per-year): New constant.
21450 (lunar-index): New function.
21451 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
21452 (lunar-phase-name): Use lunar-phase-names.
21453 (calendar-lunar-phases): Use format.
21454 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
21456 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
21457 Copy imenu-example--name-and-position function here for own use.
21458 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
21460 * bs.el (bs--redisplay):
21461 * cus-edit.el (custom-redraw):
21462 * ibuffer.el (ibuffer-bury-buffer):
21463 * server.el (server-goto-line-column):
21464 * startup.el (command-line-1):
21465 * strokes.el (strokes-xpm-for-stroke):
21466 * term.el (term-display-buffer-line):
21467 * view.el (View-goto-line):
21468 * calc/calc.el (calc-do, calc-trail-buffer):
21469 * play/gamegrid.el (gamegrid-add-score-insecure):
21470 * progmodes/ada-mode.el (ada-compile-goto-error):
21471 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
21472 (ebrowse-select-1st-to-9nth):
21473 * progmodes/cperl-mode.el (cperl-time-fontification):
21474 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
21475 * progmodes/gud.el (gud-display-line):
21476 (idlwave-shell-display-line):
21477 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
21478 * progmodes/make-mode.el (makefile-browser-toggle):
21479 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
21480 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
21481 * textmodes/picture.el (picture-draw-rectangle):
21482 * textmodes/reftex-index.el (reftex-index-goto-letter):
21483 (reftex-select-jump-to-previous):
21484 * textmodes/reftex-sel.el (reftex-find-start-point)
21485 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
21486 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
21487 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
21488 * textmodes/tex-mode.el (tex-compilation-parse-errors):
21489 * textmodes/two-column.el (2C-associated-buffer):
21490 Use forward-line rather than goto-line.
21492 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
21495 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
21496 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
21497 (quick-check-list-to-regexp): Declare.
21499 * progmodes/make-mode.el (makefile-browser-insert-selection):
21500 Use goto-char rather than goto-line.
21502 * progmodes/prolog.el (compilation-error-regexp-alist)
21503 (compilation-forget-errors): Declare.
21505 2009-08-22 Juri Linkov <juri@jurta.org>
21507 * progmodes/grep.el (lgrep, rgrep): At the beginning
21508 set `dir' to `default-directory' unless `dir' is a non-nil
21509 readable directory. (Bug#4052)
21510 (lgrep, rgrep): Change a weird way to report an error
21511 from using `read-string' to using `error'.
21512 Instead of using interactive arguments in the function body,
21513 add new argument `confirm'.
21515 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
21517 * textmodes/remember.el (remember-buffer):
21518 * progmodes/cperl-mode.el (cperl-vc-header-alist):
21519 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
21520 (icalendar-extract-ical-from-buffer):
21521 * net/newst-treeview.el (newsticker-groups-filename):
21522 * net/newst-backend.el (newsticker-cache-filename):
21523 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
21524 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
21525 (speedbar-add-ignored-path-regexp, speedbar-line-path)
21526 (speedbar-buffers-line-path, speedbar-path-line)
21527 (speedbar-buffers-line-path):
21528 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
21530 * epa.el (epa-display-verify-result):
21531 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
21533 2009-08-21 Glenn Morris <rgm@gnu.org>
21535 * progmodes/js.el (inferior-moz-process): Fix declaration.
21537 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
21539 * obsolete/rnewspost.el (news-mail-reply):
21540 Use goto-char rather than goto-line.
21542 * term/ns-win.el (ns-open-file-select-line):
21543 Use line-beginning-position rather than goto-line.
21545 * apropos.el (apropos-command):
21546 * ehelp.el (electric-helpify):
21547 * printing.el (pr-show-setup):
21548 * strokes.el (strokes-help):
21549 * tutorial.el (tutorial--describe-nonstandard-key)
21550 (tutorial--detailed-help):
21551 * woman.el (woman-mini-help, woman-display-extended-fonts):
21552 * calc/calc-help.el (calc-describe-key):
21553 * emulation/edt.el (edt-electric-helpify):
21554 * international/mule-diag.el (mule-diag):
21555 * play/yow.el (apropos-zippy):
21556 * progmodes/python.el (python-describe-symbol):
21557 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
21558 * textmodes/table.el (*table--cell-describe-mode)
21559 (*table--cell-describe-bindings):
21560 Use help-print-return-message rather than the now obsolete alias.
21562 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
21563 (calendar-cursor-to-visible-date):
21564 * play/5x5.el (5x5-position-cursor):
21565 * play/decipher.el (decipher):
21566 * play/gomoku.el (gomoku-goto-xy):
21567 * play/landmark.el (lm-goto-xy):
21568 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
21569 (mpuz-paint-digit):
21570 Use forward-line, not goto-line.
21572 * mail/rmail.el (rmail-obsolete): Delete custom group.
21573 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
21574 (rmail-remote-password, rmail-remote-password-required):
21575 Remove unneeded :set-after and :set properties.
21577 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
21579 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
21581 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
21583 * loadup.el: Remove leftover macos code.
21585 * vc-git.el (vc-git-annotate-command): Run asynchronously.
21586 Explicitly pass the date format to git blame so that user local
21587 so that the output format can be parsed.
21589 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
21591 * net/dbus.el (top): Don't check for (getenv
21592 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
21594 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
21596 * log-edit.el (log-edit-strip-single-file-name): New var.
21597 (log-edit-insert-changelog): Use it. Bug#3571.
21599 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21601 * subr.el (read-passwd): Use read-key so keypad keys work as well.
21604 * help.el (help-print-return-message): Rename from
21605 print-help-return-message.
21607 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
21608 cvs-mode-map parent hack.
21609 (log-view-mode): Derive from special-mode.
21611 * linum.el (linum-mode): window-size-change-functions is redundant.
21612 Adapt to new window-configuration-change-hook behavior.
21613 (linum-after-size, linum-after-config): Remove.
21615 * imenu.el (imenu-example--name-and-position)
21616 (imenu-example--lisp-extract-index-name)
21617 (imenu-example--create-lisp-index, imenu-example--create-c-index):
21620 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
21621 (inferior-prolog-mode): Use it.
21622 (inferior-prolog-load-file): Reset list of errors.
21624 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21626 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
21628 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
21630 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
21632 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
21633 is running already.
21635 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21637 * subr.el (listify-key-sequence-1): Use normal syntax since those
21638 integers are nowadays always represented by the same (positive) number
21640 (read-key-empty-map): New const.
21641 (read-key-delay): New var.
21642 (read-key): New function.
21643 (force-mode-line-update): Use with-current-buffer.
21644 (locate-user-emacs-file): Don't forget to abbreviate the file name.
21645 (start-process-shell-command, start-file-process-shell-command):
21646 Discourage the use of command-args.
21648 2009-08-19 Glenn Morris <rgm@gnu.org>
21650 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
21652 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21654 * simple.el (choose-completion-string): Don't rely on
21655 minibuffer-completing-file-name and ad-hoc checks to decide whether
21656 to continue completion or not.
21658 * minibuffer.el (minibuffer-hide-completions): New function.
21659 (completion--do-completion): Use it.
21660 (completions-annotations): New face.
21661 (completion--insert-strings): Use it.
21662 (completion-pcm--delim-wild-regex): Add docstring.
21663 (completion-pcm--string->pattern): Add support for 0-width delimiters
21664 in completion-pcm--delim-wild-regex.
21666 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
21668 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
21669 Remove unused var `buffer-modified-p'.
21671 * minibuffer.el (completion--do-completion): Move point for the #b001
21672 case as well (bug#4176).
21673 (minibuffer-complete, minibuffer-complete-word): Don't move point.
21675 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
21677 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
21678 and :session buses.
21680 2009-08-18 Kenichi Handa <handa@m17n.org>
21682 * international/ucs-normalize.el (ucs-normalize-version):
21684 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
21685 (utf-8-hfs): Make it perform normalization on encoding too.
21687 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
21688 (sentence-end-without-space): Delete duplicated chars.
21689 (sentence-end-base): Likewise.
21691 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
21692 (html-mode): Delete duplicated chars from sentence-end-base.
21694 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
21695 (texinfo-mode): Delete duplicated chars from sentence-end-base.
21697 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
21699 * files.el (hack-one-local-variable): If the mode function is for
21700 a minor mode, pass it an argument (Bug#4148).
21702 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
21704 * net/tramp.el (tramp-register-completion-file-name-handler):
21705 Check also for (member 'partial-completion completion-styles).
21707 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21709 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
21712 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
21714 * progmodes/cperl-mode.el: Merge upstream 6.2.
21715 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
21716 (cperl-forward-re): Check cperl-brace-recursing.
21717 (cperl-highlight-charclass): New function.
21718 (cperl-find-pods-heres): Use it.
21719 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
21720 (cperl-beautify-regexp-piece): Fix column calculation.
21721 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
21722 (cperl-beautify-level): Don't process entire regexp.
21723 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
21725 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
21726 (cperl-init-faces): Build a list in the normal way.
21728 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21730 * calendar/parse-time.el (parse-time-string-chars): Save match
21733 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
21735 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
21736 (sql-product): Use it.
21737 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
21738 (sql-set-product): Add completion.
21739 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
21740 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
21741 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
21742 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
21743 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
21744 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
21745 (sql-highlight-db2-keywords): Remove.
21746 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
21747 (sql-highlight-product): Use derived-mode-p.
21748 (sql-set-sqli-buffer): Use with-current-buffer.
21749 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
21752 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
21754 * term.el: Fix commenting convention, turn comments into docstrings.
21756 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21758 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
21760 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
21762 * calendar/parse-time.el (parse-time-string-chars): Compute using
21763 character classes, to handle non-ascii characters (Bug#3190).
21765 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21767 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
21768 another heredoc if the user adds another < (Bug#3226).
21770 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
21771 Don't initialize based on window-system (Bug#4124).
21773 * facemenu.el (facemenu-read-color): Use a completion function
21774 that accepts any defined color, such as RGB triplets (Bug#3677).
21776 * files.el (get-free-disk-space): Change fallback default
21777 directory to /. Expand DIR argument before switching to fallback.
21778 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
21780 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21782 * files.el (load-library): Doc fix.
21784 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
21786 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21787 (viper-if-string): Redefine C-s in the minibuffer to insert the last
21788 incremental search string.
21790 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21793 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21794 (ediff-merge-region-is-non-clash)
21795 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21796 Also check if the job is really a merge job.
21798 * ediff.el (ediff-current-file): New function.
21800 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21802 * progmodes/js.el: Edit docstrings throughout to follow Emacs
21804 (js-insert-and-indent): Delete function.
21805 (js-mode-map): Don't bind keys to js-insert-and-indent.
21806 (js-beginning-of-defun): Rename from js--beginning-of-defun.
21807 (js-end-of-defun): Rename from js--end-of-defun.
21808 (js-auto-indent-flag): Delete variable.
21810 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
21812 * progmodes/js.el: Remove proclaim statement.
21813 Defvar which-func-imenu-joiner-function to silence compiler.
21815 * files.el (auto-mode-alist): Use js-mode for .js files.
21817 * progmodes/js2-mode.el: Remove file.
21819 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21821 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21823 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21825 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
21826 Karl Landstrom <karl.landstrom@brgeight.se>
21828 * progmodes/js.el: New file.
21830 2009-08-14 Mark A. Hershberger <mah@everybody.org>
21832 * timezone.el (timezone-parse-date): Add ability to understand ISO
21833 basic format (minimal separators) dates in addition to the
21834 already-supported extended format dates.
21836 2009-08-14 Eli Zaretskii <eliz@gnu.org>
21838 * international/ucs-normalize.el: Add a `coding' file variable.
21840 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21842 2009-08-14 Sam Steingold <sds@gnu.org>
21844 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21846 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
21848 * faces.el (help-argument-name): Define it here instead of
21849 help-fns.el, because in daemon mode help-fns.el may be loaded when
21850 faces are still uninitialized (Bug#1078).
21852 * help-fns.el (help-argument-name): Move defface to faces.el.
21854 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
21856 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21857 create buffer with a pty but no process so that GDB can make the
21858 inferior the controlling process.
21860 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
21862 * international/ucs-normalize.el: New file.
21864 2009-08-13 Richard Stallman <rms@gnu.org>
21866 * mail/rmail.el (rmail-get-attr-names):
21867 Accept an attribute header that is too short.
21869 * mail/rmail.el (rmail-forget-messages):
21870 Ignore nil elt in rmail-message-vector. Use dotimes.
21872 * progmodes/compile.el (compilation-goto-locus):
21873 Use next-error-move-function.
21875 * simple.el (next-error-move-function): New variable.
21877 2009-08-12 Juri Linkov <juri@jurta.org>
21879 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21880 always non-nil. (Bug#4052)
21882 * replace.el (read-regexp): Return empty string when
21883 `default-value' is nil.
21884 (keep-lines-read-args): Don't use empty string as the
21885 default value for `read-regexp'. (Bug#2495)
21887 2009-08-12 Juri Linkov <juri@jurta.org>
21889 * international/mule-cmds.el (ucs-insert): Change arguments
21890 from `arg' to `character', `count', `inherit' to be the same
21891 as in `insert-char'. Doc fix. (Bug#4039)
21893 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21895 2009-08-12 Juri Linkov <juri@jurta.org>
21897 * files-x.el: New file.
21899 * files.el: Move code that deals with adding/deleting
21900 file/directory-local variables to files-x.el.
21902 * Makefile.in (ELCFILES): Add files-x.elc.
21904 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
21906 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21907 to use `goto-line'.
21908 (gdb-place-breakpoints, gdb-get-location): Rewritten without
21910 (gdb-invalidate-disassembly): Do not refresh upon receiving
21911 'update signal. Instead, update all disassembly buffers only after
21913 (gdb): Send -target-detach when buffer is killed (Bug#3794).
21914 (gdb-starting): Move -data-list-register-names...
21915 (gdb-stopped): ...here so it's sent when first thread stops.
21916 (gdb-registers-handler-custom): Do nothing if register names are
21919 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21920 from `gdb-mi.el' to avoid extra tangling.
21922 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21923 change which breaks `gud-def' definitions used in `gdb'.
21924 (gdb-update-gud-running): No extra fuss for updating frame number.
21926 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
21928 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21929 (describe-language-environment-map, setup-language-environment-map)
21930 (set-coding-system-map): Move initialization into declaration.
21931 (set-language-info-alist): Last arg to define-key-after can be skipped.
21933 * international/quail.el (quail-completion-1): Simplify.
21934 (quail-define-rules): Use slightly more compact code.
21935 (quail-insert-decode-map): Propertize keys, compact columns.
21937 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21940 2009-08-10 Miles Bader <miles@gnu.org>
21942 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21943 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21944 (js2-instance-member, js2-private-member, js2-private-function-call)
21945 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21946 (js2-magic-paren, js2-external-variable):
21947 Remove "-face" suffix from face names.
21948 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21949 (js2-highlight-undeclared-vars, js2-peek-token)
21950 (js2-parse-function-params, js2-mode-show-errors)
21951 (js2-mode-show-warnings, js2-make-magic-delimiter)
21952 (js2-mode-highlight-magic-parens): Update to use new face names.
21954 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
21956 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21957 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
21959 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
21961 * subr.el: Provide hashtable-print-readable.
21963 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21964 hs-c-like-adjust-block-beginning.
21965 (hs-hide-block-at-point): Stop hiding at the beginning of
21966 hs-block-end-regexp (Bug#700).
21968 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
21970 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21972 (gdb-registers-handler-custom): Do not fail when register names
21975 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21977 * progmodes/gdb-mi.el (gdb-control-all-threads)
21978 (gdb-control-current-thread): Interactive setters for
21979 `gdb-gud-control-all-threads' to use in menu.
21980 (gdb-show-run-p): Show «Go» when process is not active.
21981 (gud-tool-bar-map): Add non-stop/A,T indicator.
21982 Uses gud/thread.xpm and gud/all.xpm.
21984 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
21986 * net/net-utils.el (net-utils-font-lock-keywords): New var.
21987 (nslookup-font-lock-keywords): Make it a variable.
21988 (net-utils-mode): New mode for viewing diagnostic network output.
21989 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21990 (net-utils-run-simple): New function.
21991 (ifconfig, iwconfig, netstat, arp, route): Use it.
21993 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21995 * progmodes/gdb-mi.el (gdb-read-memory-custom)
21996 (gdb-memory-set-address, def-gdb-set-positive-number)
21997 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21998 after changing settings.
21999 (gdb-invalidate-disassembly): Update when first shown.
22000 (gdb-edit-locals-value): Fix.
22001 (gdb-registers-handler-custom): Print registers in right order and
22002 allow changing register values (only for current thread yet).
22003 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
22004 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
22005 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
22006 (gdb-locals-handler-custom, gdb-registers-handler-custom):
22007 Thread info in mode name.
22008 (gdb-registers-mode-map): TAB to switch to locals.
22010 2009-08-08 Eli Zaretskii <eliz@gnu.org>
22012 * mail/rmail.el (rmail-add-mbox-headers)
22013 (rmail-set-message-counters-counter): Search for
22014 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
22016 2009-08-08 Glenn Morris <rgm@gnu.org>
22018 * Makefile.in (ELCFILES): Update.
22020 2009-08-07 Eli Zaretskii <eliz@gnu.org>
22022 * mail/sendmail.el (mail-yank-original):
22023 Set buffer-file-coding-system from the one used by the message whose
22026 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
22027 to "windows" when "pgnuplot" is used.
22028 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
22029 Don't call accept-process-output if "pgnuplot" is used.
22030 (calc-graph-init): Don't send -display and -geometry to
22031 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
22032 running "pgnuplot -V" with shell-command-to-string.
22034 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
22037 2009-08-07 Eli Zaretskii <eliz@gnu.org>
22039 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
22042 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
22044 * vc-dispatcher.el (vc-resynch-window): Update comment.
22046 * term.el (term-handle-ansi-escape): Add comments with the
22047 terminfo capabilities implemented.
22049 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
22051 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
22052 (gdb-var-create-handler): Rewritten using JSON parser.
22053 (gdb-propertize-header): Move earlier.
22054 (gdb-set-header): Remove to avoid duplication.
22055 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
22056 Refresh disassembly buffers only after threads list have been
22058 (gdb-threads-header, gdb-registers-header): Per-buffer header line
22061 2009-08-04 Juri Linkov <juri@jurta.org>
22063 * files.el: Commands to add/delete file/directory-local variables.
22064 (read-file-local-variable, read-file-local-variable-value)
22065 (read-file-local-variable-mode, modify-file-local-variable)
22066 (modify-file-local-variable-prop-line)
22067 (modify-dir-local-variable): New functions.
22068 (add-file-local-variable, delete-file-local-variable)
22069 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
22070 (add-dir-local-variable, delete-dir-local-variable)
22071 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
22072 (copy-dir-locals-to-file-locals-prop-line): New commands.
22074 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
22076 * abbrev.el (insert-abbrev-table-description): Prettify output.
22077 Suggested by Karl Chen.
22079 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
22081 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
22082 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
22083 (gdb-overlay-arrow-position, gdb-thread-position)
22084 (gdb-disassembly-position): Declare variables.
22085 (gdb-wait-for-pending): Function now.
22086 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
22087 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
22088 compilation goes smoothly.
22089 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
22090 (gdb-non-stop-setting): New customization setting which replaces
22091 `gdb-non-stop' so changing it doesn't break active GDB session.
22092 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
22093 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
22094 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
22095 (gdb-show-threads-by-default): New customization options.
22096 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
22098 (gdb-get-buffer-create): Send buffers update signal when they are
22100 (gdb-invalidate-locals, gdb-invalidate-registers)
22101 (gdb-invalidate-breakpoints)
22102 (gdb-invalidate-threads, gdb-invalidate-disassembly)
22103 (gdb-invalidate-memory): Accept update signal.
22104 (gdb-current-context-command): Use --frame option.
22105 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
22106 Implement `gdb-frame-number' selection logic.
22107 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
22108 whether to show GUD toolbar buttons.
22109 (gdb-thread-exited): Unselect current thread when it exits.
22110 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
22111 (gdb-mark-line): Routine which sets overlay arrow or inverses
22112 video on fringeless displays.
22113 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
22114 to build aligned columns of data in GDB buffers and set text
22115 properties line-by-line.
22116 (gdb-invalidate-breakpoints)
22117 (gdb-breakpoints-list-handler-custom)
22118 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
22119 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
22120 (gdb-registers-handler-custom): Align data columns.
22121 (gdb-locals-handler-custom): Now prints data like in variable
22123 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
22124 Remove confusing buttons.
22125 (gdb-invalidate-threads): Append --frame.
22126 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
22127 between breakpoints/threads buffers.
22128 (gdb-set-window-buffer): Now can ignore dedicated windows.
22129 (gdb-propertize-header): Use `gdb-set-window-buffer'.
22130 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
22131 (def-gdb-thread-buffer-gud-command): Replaces
22132 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
22133 for fine thread control.
22134 (gdb-preempt-existing-or-display-buffer): New function used to
22135 display bound buffers without breaking window layout.
22136 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
22137 (gdb-select-frame): New version of `gdb-frames-select' which now
22138 sets `gdb-frame-number' so commands may use --frame option instead
22139 of inner debugger state.
22140 (gdb-frame-handler): Do not set `gdb-frame-number'.
22141 (gdb-threads-mode-map): Select threads with mouse.
22143 * progmodes/gud.el (gdb-gud-context-call): Declare function to
22144 avoid compilation warning.
22145 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
22148 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
22149 Argument `key' renamed to `buffer-type'.
22150 (gdb-current-context-buffer-name): Do not add thread info to
22151 buffer name when no thread is selected.
22152 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
22153 command (bug 3794).
22154 (gdb-thread-selected): Handle `=thread-selected' notification.
22155 (gdb-wait-for-pending): New macro to deal with congestion problems.
22156 (gdb-breakpoints-list-handler-custom): Don't fail on pending
22158 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
22159 This fixes problem similar to one described in bug 3947.
22160 (gud-menu-map): More menu items.
22161 (gdb-init-1): Reset `gdb-thread-number' to nil.
22163 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
22166 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
22167 (gdb-current-context-command): Do not append --thread if
22168 `gdb-thread-number' is nil.
22169 (gdb-running-threads-count, gdb-stopped-threads-count):
22171 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
22172 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
22173 New customization options.
22174 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
22176 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
22177 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
22178 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
22179 set `gdb-thread-number' and update `gud-running' properly.
22180 (gdb-running): Update threads list when new threads appear.
22181 (gdb-stopped): Support non-stop operation and new thread switching
22183 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
22184 (gdb-json-partial-output): New set of JSON routines.
22185 (def-gdb-auto-update-trigger): New `signal-list' optional
22187 (gdb-thread-list-handler-custom): Update `gud-running',
22188 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
22189 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
22190 (gdb-continue-thread, gdb-step-thread): New commands for fine
22191 thread execution control.
22192 (gud-menu-map): New menu items to switch non-stop options.
22193 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
22194 (gdb-send): Mimic RET properly (bug 3794).
22196 * progmodes/gdb-mi.el (gdb-rules-name-maker)
22197 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
22199 (def-gdb-auto-update-handler): New nopreserve optional argument.
22200 (gdb-stack-list-frames-custom): Print stack from top to bottom.
22202 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
22203 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
22204 (gdb-parent-mode): New mode to derive other GDB modes from.
22205 (gdb-display-disassembly-for-thread)
22206 (gdb-frame-disassembly-for-thread): New commands for threads
22209 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
22210 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
22211 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
22212 (gdb-update): We now store all GDB buffers in a list so that they
22213 can be updated by traversing a list instead of calling invalidate
22214 triggers explicitly.
22215 (def-gdb-trigger-and-handler): New macro to define trigger-handler
22216 pair for GDB buffer.
22217 (gdb-stack-buffer-name): Add thread information.
22218 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
22219 handle pending triggers.
22220 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
22221 (def-gdb-thread-buffer-simple-command)
22222 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
22223 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
22224 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
22225 New commands which show buffers bound to thread.
22226 (gdb-stack-list-locals-regexp): Remove unused regexp.
22228 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
22229 (gdb-locals-buffer-name, gdb-registers-buffer-name)
22230 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
22231 to (gud-comint-buffer) in *-buffer-name functions
22232 because (gdb-get-target-string) already does that.
22233 (gdb-locals-handler-custom, gdb-registers-handler-custom)
22234 (gdb-changed-registers-handler): Rewritten without regexps.
22236 * progmodes/gdb-mi.el: Basic thread selection support.
22237 (gdb-thread-number): New variable.
22238 (gdb-current-context-command): New macro which adds --thread
22240 (gdb-threads-mode-map): Select thread with SPC.
22241 (gdb-thread-list-handler-custom): Mark current thread with overlay
22242 arrow. Synchronize GDB thread and Emacs thread.
22243 (gdb-select-thread): New command which selects current thread.
22244 (gdb-invalidate-frames, gdb-invalidate-locals)
22245 (gdb-invalidate-registers): Use --thread option.
22247 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
22249 * net/tramp.el (top): Make check for tramp-gvfs loading more
22251 (tramp-handle-insert-file-contents): `unwind-protect' must be
22252 inside `with-parsed-tramp-file-name'.
22254 * net/tramp-gvfs.el (top): Remove superfluous message when loading
22257 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
22259 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
22260 directory if CLASSPATH is not set.
22262 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
22264 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
22266 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
22268 2009-08-02 Kevin Ryde <user42@zip.com.au>
22270 * net/newst-backend.el (newsticker--raw-url-list-defaults):
22271 Update freshmeat link. Delete newsforge.com as it seems gone.
22273 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
22275 * select.el (x-set-selection): Doc fix (Bug#4021).
22277 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
22279 * help-fns.el (describe-variable): Treat list return values from
22280 dir-locals-find-file properly (Bug#4005).
22282 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
22284 * net/tramp.el (tramp-debug-message): Print also microseconds.
22286 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
22288 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
22290 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
22291 (tramp-get-debug-buffer): Change `outline-regexp' according to new
22294 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
22295 (tramp-get-file-property): Use it.
22297 * autorevert.el (auto-revert-handler):
22298 Allow `auto-revert-tail-mode' for remote files.
22300 2009-08-02 Jason Rumney <jasonr@gnu.org>
22302 * minibuffer.el (read-file-name): Treat confirm options to
22303 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
22305 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
22307 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
22308 (font-lock-variable-name-face, font-lock-constant-face):
22309 Darken the colors for light backgrounds.
22311 2009-08-01 Eli Zaretskii <eliz@gnu.org>
22313 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
22314 month names. (Bug#3987)
22316 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
22318 * simple.el (line-move-finish): Pass whole number to
22319 line-move-to-column.
22320 (line-move-visual): Perform hscroll to the recorded position.
22322 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
22324 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
22326 2009-07-29 Alan Mackenzie <acm@muc.de>
22328 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
22330 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
22332 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
22333 (gdb-place-breakpoints): Use full path when setting breakpoints.
22335 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
22337 * calc/calc.el (calc-mode-map): Add keybinding for
22338 `calc-transpose-lines'.
22340 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
22342 * calc/calc-misc.el (calc-transpose-lines): New function.
22344 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
22346 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
22347 Simplify check for out-of-band methods.
22348 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
22349 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
22351 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
22353 * vc-git.el (vc-git-checkin): Fix typo.
22355 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
22357 * progmodes/js2-mode.el: New file.
22359 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
22361 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
22362 (gud-menu-map): Adjust tooltip accordingly.
22364 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
22366 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
22367 (vc-bzr-log-view-mode): Adjust log-view-file-re.
22369 * add-log.el (change-log-mode-map): Add a menu.
22371 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
22373 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
22374 function returns nil.
22375 (dbus-handle-event): Handle special return value :ignore.
22376 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
22378 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
22380 * view.el (view-mode-enable): Don't define Helper-return-blurb if
22383 2009-07-25 Eli Zaretskii <eliz@gnu.org>
22387 * w32-vars.el (x-select-enable-clipboard): Doc fix.
22389 * term/pc-win.el (x-display-name, x-colors)
22390 (x-select-enable-clipboard, x-select-text): Doc fix.
22392 * term/common-win.el (x-display-name, x-colors): Doc fix.
22394 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
22395 (xw-defined-colors): Doc fix.
22397 * w32-fns.el (x-select-text, x-setup-function-keys)
22398 (x-get-selection, x-set-selection): Doc fix.
22400 * term/x-win.el (x-select-text, x-setup-function-keys)
22401 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
22403 * select.el (x-set-selection): Doc fix.
22405 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
22407 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
22408 instead of "IsNSSSupportAvailable". Avahi ought to work also when
22409 "IsNSSSupportAvailable" method is not available.
22410 Reported by Steve Youngs <steve@sxemacs.org>.
22412 2009-07-24 Kenichi Handa <handa@m17n.org>
22414 * international/characters.el: Fix setting of category ?C, ?|, ?K,
22415 and ?H. Fix setting of case for Latin Extended and Greek Extended.
22416 (build-unicode-category-table): Fix range checks.
22418 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
22420 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
22421 the buffer we try to sync is current when calling
22424 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
22425 not show up to date files.
22427 2009-07-24 Glenn Morris <rgm@gnu.org>
22429 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
22430 Add autoload cookies. If necessary, initialize.
22431 (elint-log): Handle non-file buffers.
22432 (elint-initialize): Add optional argument to reinitialize.
22433 (elint-find-builtin-variables): Save excursion.
22435 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
22437 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
22440 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
22442 * vc.el (vc-print-log-internal): New function, split out from ...
22443 (vc-print-log): ... here.
22444 (vc-dir-move-to-goal-column): Declare.
22446 * vc-git.el (vc-git-add-signoff): New variable.
22447 (vc-git-checkin): Use it.
22448 (vc-git-toggle-signoff): New function.
22449 (vc-git-extra-menu-map): Bind it to menu.
22450 (vc-git--run-command-string): Accept a nil FILE argument.
22451 (vc-git-stash-list): New function.
22452 (vc-git-dir-extra-headers): Use it.
22454 2009-07-23 Glenn Morris <rgm@gnu.org>
22456 * help-fns.el (describe-variable): Describe ignored and risky local
22457 variables in a similar way to that in which we describe safe ones.
22459 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
22460 (byte-compile-output-file-form, byte-compile-output-docform)
22461 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
22462 Give some more local variables with common names a "bytecomp-" prefix,
22463 so as not to shadow things during compilation.
22464 * emacs-lisp/cl-macs.el (load-time-value)
22465 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
22466 `outbuffer' to `bytecomp-outbuffer'.
22468 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
22469 since the next two variables cover them automatically now.
22470 (elint-builtin-variables, elint-autoloaded-variables): New.
22471 (elint-unknown-builtin-args): Remove all members, since they can be
22472 parsed automatically now.
22473 (elint-extra-errors): New.
22474 (elint-env-add-env, elint-env-add-macro): Use cadr.
22475 (elint-current-buffer): Use or. Change final message.
22476 (elint-get-top-forms): Use line-end-position.
22477 (elint-init-env): Use cadr. Handle autoload, declare-function,
22479 (elint-add-required-env): Doc fix. Use or. Standardize error.
22480 (regexp-assoc): Remove unused function.
22481 (elint-top-form): Set elint-current-pos, to record the start of the
22482 top-level form, for compilation-mode.
22483 (elint-form): Trap errors in macro expansion. Use dolist.
22484 (elint-unbound-variable): Use elint-builtin-variables and
22485 elint-autoloaded-variables.
22486 (elint-get-args): Use cadr, or.
22487 (elint-check-cond-form): Use dolist, cadr.
22488 (elint-check-condition-case-form): Doc fix. Use cadr.
22489 Use elint-extra-errors.
22490 (elint-log): New function.
22491 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
22492 Distinguish errors and warnings.
22493 (elint-log-message): Use with-current-buffer. Inhibit read-only.
22494 Use a bytecomp-style format.
22495 (elint-clear-log): Preserve default-directory. Inhibit read-only.
22496 (elint-get-log-buffer): Use compilation mode. Disable undo.
22497 Don't truncate lines.
22498 (elint-initialize): Set builtin and autoloaded variable lists.
22499 Only process elint-unknown-builtin-args if non-nil.
22500 (elint-find-builtin-variables, elint-find-autoloaded-variables):
22502 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
22504 2009-07-22 Kevin Ryde <user42@zip.com.au>
22506 * net/newst-backend.el (newsticker--parse-atom-1.0)
22507 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
22508 (newsticker--parse-rss-1.0):
22509 * progmodes/idlwave.el (idlwave-mode):
22510 * progmodes/idlw-shell.el (idlwave-shell-mode):
22511 * progmodes/vera-mode.el (vera-mode):
22512 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
22513 * progmodes/vhdl-mode.el (vhdl-mode):
22514 * textmodes/table.el (table-generate-source)
22515 (table--warn-incompatibility):
22516 Hyperlink urls in docstrings with URL `...'.
22518 2009-07-22 Glenn Morris <rgm@gnu.org>
22520 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
22521 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
22522 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
22523 Remove leading * from defcustom docs.
22525 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
22527 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
22529 (list-load-path-shadows): Optionally, just return shadows as a string.
22531 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
22533 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
22535 * mail/rmailedit.el (rmail-edit-mode):
22536 Use auto-save-include-big-deletions.
22538 * mail/rmail.el (rmail-variables):
22539 Use auto-save-include-big-deletions.
22541 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
22544 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
22546 * calc/calc.el (calc-undo-length): New variable.
22547 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
22549 2009-07-21 Richard Stallman <rms@gnu.org>
22551 * files.el (auto-save-mode): Handle buffer-save-size = -2
22554 2009-07-21 Glenn Morris <rgm@gnu.org>
22556 * textmodes/ispell.el (ispell-looking-back): Update declaration.
22558 * calendar/todo-mode.el (calendar-current-date): Update declaration.
22560 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
22561 silence compiler. Instead...
22562 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
22563 (ps-print-ensure-fontified): Update for above function name changes.
22565 * printing.el (pr-mh-get-msg-num, pr-mh-show)
22566 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
22567 silence compiler. Instead...
22568 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
22569 (mh-show-buffer): Only define for compiler.
22570 (pr-mh-current-message): Update for above function name changes.
22572 * files.el (abort-if-file-too-large): Explicitly pass `filename'
22574 (find-file-noselect, insert-file-1): Update for above change.
22576 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
22578 * mail/mailclient.el (mailclient-send-it): Fix message.
22580 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
22581 (edebug-eval): Check cl-debug-env is bound.
22582 (print-level, print-circle): Don't redefine built-in variables.
22584 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
22585 (custom-print-vectors): Remove old comments from doc.
22587 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
22588 (emerge-version): Make the variable an obsolete alias for the
22589 emacs-version variable. Make the function obsolete.
22590 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
22591 Emerge options, rather than merging in into the main Options menu.
22592 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
22593 and auto advance modes. Disable edit/fast items when not relevant.
22595 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
22597 * term/vt420.el (terminal-init-vt420): Fix typo.
22599 2009-07-20 Sam Steingold <sds@gnu.org>
22601 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
22602 variable (removed from compile.el on 2004-03-11).
22604 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
22606 * files.el (hack-local-variables-filter): Fix last change.
22608 2009-07-19 Juri Linkov <juri@jurta.org>
22610 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
22611 (dir-local-variables-alist): New buffer-local variable.
22612 (hack-local-variables-filter): If variable is not dir-local,
22613 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
22614 because file-local overrides dir-local.
22615 (c-postprocess-file-styles) <declare-function>:
22616 Remove obsolete declaration.
22617 (hack-dir-local-variables): Add dir-local variable/value pair to
22618 `dir-local-variables-alist' and remove duplicates. Doc fix.
22620 * help-fns.el (describe-variable): Add information about
22621 file-local and dir-local variables.
22623 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
22625 * files.el (hack-local-variables-filter): Rewrite.
22627 2009-07-19 Glenn Morris <rgm@gnu.org>
22629 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
22630 Silence compiler by only defining on XEmacs.
22632 * international/mule.el (auto-coding-regexp-alist): Only match
22633 BABYL... at the start of buffer, not of lines. (Bug#3790)
22635 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
22636 non-calendar buffers (Bug#3862). Restore "not on a date" message.
22637 (cal-menu-context-mouse-menu): Doc fix.
22639 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
22641 * simple.el (mail-user-agent): Doc fix. Set :version tag.
22643 2009-07-18 Juri Linkov <juri@jurta.org>
22645 * info.el: Virtual Info keyword finder.
22646 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
22647 (Info-finder-file): New variable.
22648 (Info-finder-find-file): New function.
22649 (finder-known-keywords, finder-package-info)
22650 (find-library-name, lm-commentary): Use defvar and
22651 declare-function to silence compiler warnings.
22652 (Info-finder-find-node): New function.
22653 (info-finder): New command.
22655 * subr.el (process-kill-buffer-query-function): New function.
22656 (add-hook)<kill-buffer-query-functions>: Add hook
22657 `process-kill-buffer-query-function'.
22659 2009-07-18 Alan Mackenzie <acm@muc.de>
22661 * progmodes/cc-mode.el (c-before-hack-hook)
22662 (c-postprocess-file-styles): Give invocation of `c-set-style'
22663 DONT-OVERRIDE parameter of t. Already set style variables will
22664 thus not be overridden by style settings given by `c-file-syle'.
22666 * files.el (hack-local-variables-filter): Remove entries with
22667 duplicate keys from `file-local-variables-alist'.
22669 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22671 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
22672 x-set-selection if display-selections-p returns nil for the
22675 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
22677 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
22679 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22681 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
22682 Accept nil in addition to a regexp.
22683 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
22684 Accept nil in addition to a regexp.
22685 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
22686 buffers that have an associated file. Handle nil values of
22687 desktop-buffers-not-to-save and desktop-files-not-to-save.
22690 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
22691 (x-disown-selection-internal): New functions.
22693 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
22695 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
22697 (gdb-breakpoints-header): Move forward to avoid compiler warning.
22698 (gdb-make-header-line-mouse-map): Remove duplicate definition.
22700 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
22702 * simple.el (set-mark): Revert last change.
22704 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
22706 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
22707 rendering of pngs is not possible instead of messaging a long
22710 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
22712 * w32-fns.el (x-selection-owner-p): New function.
22714 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
22715 (mouse-yank-at-click, mouse-yank-primary):
22716 If select-active-regions is non-nil, deactivate the mark before
22719 * simple.el (deactivate-mark, set-mark): Only save selection if we
22722 2009-07-17 Kenichi Handa <handa@m17n.org>
22724 * case-table.el (describe-buffer-case-table): Fix for the case
22725 that KEY is a cons.
22727 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
22729 * vc-rcs.el (vc-rcs-find-file-hook):
22730 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
22732 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
22734 * net/tramp.el (tramp-wait-for-output): Handle the case when
22735 commands do not return a newline but a null byte before the shell
22738 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22740 * term/ns-win.el (ns-set-alpha): Don't declare.
22741 (ns-set-background-alpha): Remove function.
22743 2009-07-16 Kevin Ryde <user42@zip.com.au>
22745 * emacs-lisp/copyright.el (copyright-update): Save match-data across
22746 y-or-n-p, for safety.
22748 2009-07-16 Richard Stallman <rms@gnu.org>
22750 * files.el (auto-save-mode): If buffer-saved-size is -2,
22753 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
22754 (rmail-retry-ignored-headers): Add more uninteresting fields.
22756 2009-07-15 Jari Aalto <jari.aalto@cante.net>
22758 * net/rcirc.el (rcirc): Use history variables.
22759 (rcirc-server-name-history, rcirc-nick-name-history)
22760 (rcirc-server-port-history): New variables.
22762 2009-07-15 Kenichi Handa <handa@m17n.org>
22764 * international/mule-cmds.el (set-language-environment-charset):
22765 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
22768 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
22769 Delete unibyte-display.
22771 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22773 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
22775 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22777 * simple.el (deactivate-mark): Optional argument FORCE.
22778 (set-mark): Use deactivate-mark.
22780 * info.el (Info-search): No need to check transient-mark-mode
22781 before calling deactivate-mark.
22783 * select.el (x-set-selection): Doc fix.
22784 (x-valid-simple-selection-p): Allow buffer values.
22785 (xselect--selection-bounds): Handle buffer values.
22786 Suggested by David De La Harpe Golden.
22788 * mouse.el (mouse-set-region, mouse-drag-track):
22789 Call copy-region-as-kill before setting the mark, to let
22790 select-active-regions work.
22792 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
22794 * simple.el (deactivate-mark): If select-active-regions is
22795 non-nil, copy the selection data into a string.
22796 (activate-mark): If select-active-regions is non-nil, set the
22797 selection to the current buffer.
22798 (set-mark): Update selection if select-active-regions is non-nil.
22800 * select.el (x-valid-simple-selection-p): Allow buffer values.
22802 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
22804 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22805 and more featureful message-mode.
22807 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
22809 * select.el (x-set-selection): Doc fix.
22810 (x-valid-simple-selection-p): Disallow selection data consisting
22811 of a list or cons of integers, since that is not used.
22812 (xselect--selection-bounds, xselect--int-to-cons): New functions.
22813 (xselect-convert-to-string, xselect-convert-to-length)
22814 (xselect-convert-to-filename, xselect-convert-to-charpos)
22815 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22817 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
22819 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22820 output in -break-info command (Emacs bug #3794).
22822 2009-07-14 Glenn Morris <rgm@gnu.org>
22824 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22825 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22826 (edebug-print-length, edebug-print-level, edebug-print-circle)
22827 (edebug-sit-for-seconds, edebug-view-outside)
22828 (edebug-bounce-point, edebug-set-global-break-condition)
22829 (edebug-Go-nonstop-mode, edebug-trace-mode)
22830 (edebug-Trace-fast-mode, edebug-continue-mode)
22831 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22832 (edebug-visit-eval-list): Doc fixes.
22834 * subr.el (def-edebug-spec): Doc fix.
22836 2009-07-14 Kenichi Handa <handa@m17n.org>
22838 * international/characters.el: Fix setting of category ?C.
22840 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
22842 * term/ns-win.el (x-select-font): defalias x-select-font to
22843 ns-popup-font-panel instead of generate-fontset-menu.
22845 2009-07-12 Eli Zaretskii <eliz@gnu.org>
22847 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
22849 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
22851 * arc-mode.el (archive-find-type): Allow for a PK00 string before
22852 the PK\003\004 header (Bug#3770).
22854 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
22856 * pcomplete.el (pcomplete-comint-setup): Check for
22857 shell-dynamic-complete-filename too.
22859 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
22861 * simple.el (temporary-goal-column): Change the value for
22862 line-move-visual to a cons cell.
22863 (line-move-visual): Record or set the window hscroll, if
22864 necessary (Bug#3494).
22865 (line-move-1): Handle cons value of temporary-goal-column.
22867 2009-07-11 Kenichi Handa <handa@m17n.org>
22869 * international/mule-diag.el (describe-character-set): Don't show
22872 2009-07-10 Sam Steingold <sds@gnu.org>
22874 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22875 Omake sometimes indents the errors it prints, so allow all
22876 regexps to start with spaces.
22878 2009-07-10 Eli Zaretskii <eliz@gnu.org>
22880 * cus-edit.el (customize-changed-options-previous-release):
22881 Bump value to 22.1. (Bug#3804)
22883 2009-07-08 Sam Steingold <sds@gnu.org>
22885 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22886 to be a cons cell (test . ignored-directory) to selectively ignore
22887 some directories depending on the location of the search.
22889 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
22891 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22892 remote user is root, on the local host.
22893 (tramp-local-host-p): Either the local user or the remote user
22894 must be root. (Bug#3771)
22896 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22898 * progmodes/gdb-mi.el (gdb): Remove description of
22899 gdb-use-separate-io-buffer.
22900 (menu): Don't allow toggling of or enable
22901 gdb-use-separate-io-buffer from menubar.
22903 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
22905 * mail/unrmail.el (unrmail): Make sure the message ends with two
22906 newlines (Bug#3769).
22908 2009-07-08 Glenn Morris <rgm@gnu.org>
22910 * calendar/calendar.el (calendar-current-date): Rework previous change.
22912 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
22914 * calendar/calendar.el (calendar-current-date):
22915 Add an optional argument giving an offset from today.
22917 2009-07-08 Glenn Morris <rgm@gnu.org>
22919 * tutorial.el (tutorial--describe-nonstandard-key):
22920 Adjust the message for when a key has been unbound.
22921 (help-with-tutorial): Hide the arch-tag.
22923 2009-07-08 Kenichi Handa <handa@m17n.org>
22925 * international/fontset.el (setup-default-fontset): For each
22926 script, append (not set) font-specs.
22928 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22931 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22933 * progmodes/gdb-mi.el (gdb-init-1): Move sending
22934 -data-list-register-names to ...
22935 (gdb-starting): ... here because GDB 7.0 requires execution to
22936 have started when using this MI command.
22937 (gdb-set-header): New function to distinguish select and
22938 unselected tabs in gdb buffers.
22939 (gdb-propertize-header): New macro that uses gdb-set-header.
22940 (gdb-breakpoints-header, gdb-locals-header): Use it.
22941 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22943 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
22945 * Makefile.in (ELCFILES): Remove fadr.elc.
22947 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
22949 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22950 may contain frame information, so `string-match' should be used.
22951 (gdb-update): Disassembly is invalidated through
22952 `gdb-get-selected-frame'.
22953 (gdb-pad-string): New function to pad string with spaces.
22954 (gdb-invalidate-disassembly): Invalidate only if the buffer
22956 (gdb-disassembly-handler-custom): Column alignment.
22957 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22959 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22961 (gdb-frame-handler): Match convention to for disassembly buffer
22963 (gdb-stack-list-frames-handler): Rewritten without regexps.
22964 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22965 not highlight breakpoints without line information.
22966 (gdb-input): Add trailing newline to command.
22968 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22970 (gdb-breakpoints-list-handler-custom): Replacement for
22971 `gdb-break-list-handler'. Using real parser instead of regexps
22973 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22974 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22975 to place breakpoints.
22976 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22978 (gdb-disassembly-handler-custom): Show overlay arrow.
22979 (gdb-disassembly-place-breakpoints): Show breakpoints in
22980 disassembly buffer.
22981 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22982 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22983 instead of parsing breakpoints buffer. Fixed old menu references
22988 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22989 (gdb-memory-address): New variable which holds top address of
22990 memory page shown in memory buffer.
22991 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22992 New customization variables.
22994 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
22995 display the memory buffer.
22996 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22997 buffer display parameters.
22998 (def-gdb-memory-format, gdb-memory-format-binary)
22999 (gdb-memory-format-octal, gdb-memory-format-unsigned)
23000 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
23001 Functions for setting memory buffer format.
23002 (gdb-memory-unit-word, gdb-memory-unit-halfword)
23003 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
23004 unit size used in memory buffer.
23005 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
23006 Switch to next/previous page of memory buffer.
23007 Now using (bindat-get-field) instead of fadr functions.
23009 2009-07-07 Sam Steingold <sds@gnu.org>
23011 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
23012 non-top-level files.
23014 2009-07-07 Kenichi Handa <handa@m17n.org>
23016 * international/mule-cmds.el (reset-language-environment):
23017 Put the highset priority to the charset iso-8859-1.
23019 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
23021 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
23022 to the end of the line when locating the block (Bug#700).
23024 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
23026 * net/tramp.el (tramp-handle-write-region): Flush file properties
23027 in case of short track.
23029 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
23031 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
23032 Coded custom representation of verilog error regular expressions
23033 to work with Emacs-22's new format.
23034 (verilog-error-regexp-xemacs-alist): Coded custom representation
23035 of verilog error regular expressions to work with XEmacs format.
23036 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
23037 error recognition into XEmacs.
23038 (verilog-error-regexp-add-emacs): Hook routine to install verilog
23039 error recognition into Emacs-22.
23041 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
23043 * woman.el: Remove stand-alone closing parentheses.
23044 (woman-file-name, woman2-format-paragraphs)
23045 (woman-leave-blank-lines): Code cleanup.
23046 (woman-use-own-frame): Change default to nil.
23047 (woman-italic, woman-bold, woman-unknown, woman-addition):
23048 Change defaults to inherit from default faces.
23049 (woman2-process-escapes): Consume the newline after a stand-alone
23050 filler character (Bug#3651).
23052 2009-07-06 Glenn Morris <rgm@gnu.org>
23054 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
23055 (top-level): Move provide to the end.
23056 (ffap): Remove defunct URL from custom group.
23058 * subr.el (eval-after-load): Doc fix.
23060 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
23062 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
23063 `calc-embedded-word' is called twice.
23065 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
23067 * files.el (find-alternate-file-other-window, find-alternate-file):
23068 Obey confirm-nonexistent-file-or-buffer.
23070 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
23072 * dired-aux.el (dired-show-file-type): Handle remote files.
23074 2009-07-05 Jari Aalto <jari.aalto@cante.net>
23076 * desktop.el (desktop-globals-to-save):
23077 Add file-name-history (Bug#2750).
23079 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
23081 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
23083 2009-07-04 Johan Bockgård <bojohan@gnu.org>
23085 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
23086 property on entire argument since this is what eshell-lisp-command
23089 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
23091 * net/tramp-gvfs.el (tramp-gvfs-methods)
23092 (tramp-gvfs-zeroconf-domain)
23093 (tramp-bluez-discover-devices-timeout): Add version flag.
23094 (tramp-gvfs-handler-mounted-unmounted)
23095 (tramp-gvfs-connection-mounted-p): Polish handling of
23096 incompatibilities between GVFS 0.2 and 1.0.
23098 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
23100 * cus-start.el (all): Add make-pointer-invisible.
23102 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
23104 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
23105 formatted correctly.
23107 2009-07-02 Juri Linkov <juri@jurta.org>
23109 * info.el: Virtual Info files and nodes.
23110 (Info-virtual-files, Info-virtual-nodes): New variables.
23111 (Info-current-node-virtual): New variable.
23112 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
23114 (Info-file-supports-index-cookies): Use Info-virtual-file-p
23115 to check for a virtual file instead of checking a fixed list
23117 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
23118 instead of ad-hoc processing of "dir" and (apropos history toc).
23119 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
23120 instead of ad-hoc processing of "dir" and (apropos history toc).
23121 Reread a file when moving from a virtual node.
23122 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
23123 (Info-directory-toc-nodes, Info-directory-find-file)
23124 (Info-directory-find-node): New functions.
23125 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
23126 (Info-history): Move part of code to
23127 `Info-history-find-node'.
23128 (Info-history-toc-nodes, Info-history-find-file)
23129 (Info-history-find-node): New functions.
23130 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
23131 (Info-toc): Move part of code to `Info-toc-find-node'.
23132 (Info-toc-find-node): New function.
23133 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
23134 the current Info file name to references because now the node
23135 "*TOC*" belongs to the same Info manual.
23136 (Info-toc-build): Rename from `Info-build-toc'.
23137 (Info-toc-nodes): Rename input argument `file' to `filename'.
23138 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
23139 instead of ad-hoc processing of ("dir" apropos history toc).
23140 (Info-index-nodes): Use Info-virtual-file-p
23141 to check for a virtual file instead of checking a fixed list
23143 (Info-index-node): Add check for `Info-current-node-virtual'.
23144 Raise `save-match-data' higher up the tree to contain
23145 `search-forward' too (bug fix).
23146 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
23147 (Info-virtual-index-nodes): New variable.
23148 (Info-virtual-index-find-node, Info-virtual-index): New functions.
23149 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
23150 (Info-apropos-file, Info-apropos-nodes): New variables.
23151 (Info-apropos-toc-nodes, Info-apropos-find-file)
23152 (Info-apropos-find-node, Info-apropos-matches): New functions.
23153 (info-apropos): Move part of code to `Info-apropos-find-node' and
23154 `Info-apropos-matches'.
23155 (Info-mode-map): Bind "I" to `Info-virtual-index'.
23156 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
23157 for a virtual file instead of checking a fixed list of node names.
23159 * simple.el (async-shell-command): New command.
23161 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
23163 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
23164 instead of `mount-info'.
23166 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
23168 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
23169 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
23171 2009-07-02 Kenichi Handa <handa@m17n.org>
23173 * international/mule.el (set-keyboard-coding-system): Force *-unix
23174 coding-system to avoid eol conversion.
23176 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
23178 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
23179 Add handler for `process-file', `shell-command' and
23180 `start-file-process'.
23181 (tramp-gvfs-handle-shell-command)
23182 (tramp-gvfs-handle-start-file-process)
23183 (tramp-gvfs-handle-process-file): New defuns.
23184 (tramp-synce-list-devices): Simplify check for existence of property.
23186 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
23188 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
23190 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
23192 * language/korean.el (set-language-info-alist): Add korean-cp949,
23195 2009-07-01 Kenichi Handa <handa@m17n.org>
23197 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
23199 * international/encoded-kb.el: Deleted.
23201 * international/mule.el (set-keyboard-coding-system): Perform the
23202 necessary setup here instead of calling encoded-kbd-setup-display.
23204 2009-07-01 Glenn Morris <rgm@gnu.org>
23206 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
23208 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
23210 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
23212 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
23214 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
23215 Handle also the 'rename case, when setting file modes. (Bug#3712)
23216 (tramp-default-file-modes): Remove execute permissions.
23218 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
23219 (top): Add a default for "synce" in `tramp-default-user-alist'.
23220 Add completion function for "synce" method.
23221 (tramp-hal-service, tramp-hal-path-manager)
23222 (tramp-hal-interface-manager, tramp-hal-interface-device):
23224 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
23225 (tramp-synce-list-devices, tramp-synce-parse-device-names):
23228 * net/trampver.el: Update release number.
23230 2009-06-30 Kenichi Handa <handa@m17n.org>
23232 * international/fontset.el (setup-default-fontset): Add CJK fonts
23233 for symbols and the other miscellaneous characters.
23235 * language/korea-util.el (setup-korean-environment-internal):
23236 Make char-width-table suitable for Korean environments.
23237 (exit-korean-environment): Cancel above.
23239 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
23240 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
23241 setup-function to make char-width-table suitable for respective
23242 environments, and an exit-function to cancel that.
23244 * language/japan-util.el (setup-japanese-environment-internal):
23245 Call use-cjk-char-width-table with arg `ja_JP'.
23247 * international/characters.el (cjk-char-width-table): Delete it.
23248 (cjk-char-width-table-list): New variable.
23249 (use-cjk-char-width-table): New arg local-name.
23250 (use-default-char-width-table): Fix for the case that Emacs is
23251 already using the default char-width-table.
23253 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
23255 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
23256 modes mandatory. (Bug#3712)
23258 2009-06-29 Alan Mackenzie <acm@muc.de>
23260 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
23261 correction between the visible width of TABs and their number of bytes.
23263 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
23265 * server.el (server-buffer-done): Prevent kill-buffer from
23266 prompting by clearing the buffer modification flag (Bug#3696).
23268 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
23270 * progmodes/verilog-mode.el (verilog-beg-of-statement)
23271 (verilog-endcomment-reason-re): Support unique case and priority case.
23272 (verilog-basic-complete-re): Support localparam lineup.
23273 (verilog-beg-of-statement-1): Fix for robustness, unique case.
23274 (verilog-set-auto-endcomments): Fix for unique case, always_comb
23276 (verilog-leap-to-case-head): Now support *nested* unique &
23277 priority case statements.
23278 (verilog-auto-lineup): Make just declarations the default (as it
23280 (verilog-leap-to-case-head): Support priority/unique case statements.
23281 (verilog-auto-lineup): Rework to give users radio buttons to
23282 select the various styles of automatic lineup.
23283 (verilog-error-regexp-alist): Rework to support the XEmacs style
23284 of error regular expressions from compilers, lint tools &
23285 simulators. Note that GNU Emacs has made it impossible for a mode
23286 to load such things.
23287 (electric-verilog-terminate-line, verilog-indent-declaration)
23288 (verilog-auto-wiure): Rework for radio button selection of
23289 auto-lineup selection of specification of auto lineup.
23290 (verilog-beg-of-statement-1): Redesign to support proper operation
23291 in additional code, based on testing with auto-lineup.
23292 (verilog-calculate-indent, assignments & declarations)
23293 (verilog-backward-token): Enhance to support auto-lineup of
23294 assignments & declarations.
23295 (verilog-in-directive-p, verilog-at-struct-p): New function for
23296 easy test of whether we are.
23297 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
23298 to support safe execution at almost anyline.
23299 (verilog-calc-1): Properly support indenting deep inside generate
23301 (verilog-init-font): Remove definition & use of verilog-init-font,
23302 as it is redundant with font-lock-defaults.
23303 (verilog-mode): Alter the definition of verilog-font-lock-defaults
23304 to avoid circular calls if syntax-ppss is a function (as is the
23305 case now in 22.x GNU Emacs) as that function would sometimes call
23306 itself, leading to (nearly) infinite recursion.
23307 (verilog-ovm-begin-re, verilog-ovm-end-re)
23308 (verilog-ovm-statement-re, verilog-leap-to-head)
23309 (verilog-backward-token): Add support for OVM macros. Some are
23310 complete statements, and others open and close scopes like begin
23312 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
23313 (verilog-defun-level-generate-only-re): Really fix the defun-list
23315 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
23316 coverpoint, constraint and cross statements.
23317 (verilog-defun-level-list, verilog-generate-defun-level-list)
23318 (verilog-all-defun-level-list): Redo these specifications - it is
23319 too hard to support eval-when compile aggregation of lists also
23320 built at when-compile time.
23321 (verilog-defun-level-list): Place defconsts of variables used in
23322 building regular expressions which are built in eval-when-compile
23323 bodies in the same eval-when-compile body to facilitate compile
23325 (verilog-beg-block-re-ordered): Support indenting
23326 virtual/protected tasks and functions.
23327 (verilog-defun-level-list, verilog-in-generate-region-p)
23328 (verilog-backward-ws&directives, verilog-calc-1): Speed up
23329 indentation of some module items (generate items).
23330 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
23331 across virtual/protected tasks and functions.
23333 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
23335 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
23336 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
23337 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
23338 in concatenations. Reported by Yishay Belkind.
23339 (verilog-auto-ascii-enum): Support one-hot state machines in
23340 AUTOASCIIENUM. Suggested by Lloyd Gomez.
23341 (verilog-auto-inst, verilog-auto-inst-port): Include interface
23342 modport in AUTOINST and add vl-modport for users.
23343 Reported by David Rogoff.
23344 (verilog-auto-inout-module, verilog-auto-inst)
23345 (verilog-decls-get-interfaces, verilog-insert-definition)
23346 (verilog-insert-one-definition, verilog-read-decls)
23347 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
23348 (verilog-sig-modport, verilog-signals-combine-bus)
23349 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
23350 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
23351 Suggested by David Rogoff.
23352 (verilog-repair-open-comma): Fix non-insertion of comma when
23353 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
23354 (verilog-make-width-expression): Simplify [A-1:0] expression
23355 widths to just {A{1'b0}}.
23356 (verilog-mode): Cleanup checkdoc warnings.
23357 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
23358 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
23359 inputs/outputs or data type. Suggested by Vasu Kandadi.
23360 (next-error-last-buffer): Fix byte-compiler warning.
23361 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
23362 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
23363 or shell command text during AUTO expansion. Suggested by Tad Truex.
23364 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
23365 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
23366 Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
23367 in AUTOINOUT. Reported by Matthew Lovell.
23368 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
23369 causing use of <= assignments. Reported by Alex Reed.
23370 (verilog-read-decls): Fix triand, trior, wand, wor to be
23371 recognized by AUTOWIRE. Reported by Spencer Isaacson.
23372 (verilog-extended-complete-re): Support import "DPI-C" functions.
23373 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
23374 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
23375 (verilog-insert-date, verilog-insert-year)
23376 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
23377 Windows systems. Reported by Michael Potts.
23378 (verilog-read-module-name): Fix AUTOINST when the child module
23379 declaration's name is a tick define. Reported by Elliot Mednick.
23380 (verilog-read-decls): Fix V2K parameter bit subscripts getting
23381 passed to next parameter's definition. Reported by Bruce T.
23382 (verilog-read-decls): Fix detecting "parameter int" when using
23383 AUTOINSTPARAM. Reported by Bruce T.
23384 (verilog-goto-defun): Fix goto not finding modules unless first
23385 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
23386 (verilog-mode): Expand -f flag arguments on entry to mode so
23387 verilog-goto-defun will work. Reported by Lawrence Butcher.
23388 (verilog-getopt): Expand environment variables in -f file
23389 arguments. Suggested by Lawrence Butcher.
23390 (verilog-set-define): Fix "Symbol's value as variable is void"
23391 when reading enumerations.
23392 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
23393 Suggested by Stephen Peltan.
23394 (verilog-read-defines): Fix reading of enumerations in include
23395 files. Reported by Steve Peltan.
23397 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
23399 * files.el (trash-directory): Fix defcustom type.
23401 2009-06-28 Juri Linkov <juri@jurta.org>
23403 * help-fns.el (describe-function-1): Correctly locate adviced
23404 functions in hyperlink (Bug#2438).
23406 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
23408 * files.el (trash-directory): Change default to nil.
23409 (move-file-to-trash): If trash-directory is nil and
23410 system-move-file-to-trash is unbound, perform freedesktop-style
23413 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
23415 * files.el (move-file-to-trash): Add freedesktop trash
23418 2009-06-28 Glenn Morris <rgm@gnu.org>
23420 * autorevert.el (global-auto-revert-non-file-buffers)
23421 (global-auto-revert-mode): Doc fixes.
23423 2009-06-27 Johan Bockgård <bojohan@gnu.org>
23425 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
23427 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
23429 * faces.el (x-handle-named-frame-geometry): Ensure that we have
23430 opened an X connection before calling x-get-resource (Bug#3194).
23432 * play/doctor.el: Remove reference to obsolete website.
23433 (make-doctor-variables): Correct grammar mistake (Bug#2633).
23435 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
23437 Remove find-file-not-found-hook VC method. (Bug#2757)
23438 * vc-hooks.el (vc-file-not-found-hook)
23439 (vc-default-find-file-not-found-hook): Remove functions.
23440 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
23441 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
23444 * vc-git.el: Do not mention find-file-not-found-hook VC method.
23446 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
23448 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
23449 compatibility function for `looking-back'.
23451 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
23452 Use `ispell-looking-back'.
23454 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
23456 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
23457 rather than `filename'.
23459 2009-06-23 Miles Bader <miles@gnu.org>
23461 * face-remap.el (text-scale-set): New function.
23463 2009-06-23 Glenn Morris <rgm@gnu.org>
23465 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
23467 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
23469 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
23471 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
23473 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
23474 Simplify Persian conditionals.
23476 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
23477 variable `filename'.
23479 * comint.el (comint-insert-input): Doc fix.
23481 * Makefile.in (ELCFILES): Fix typo in previous change.
23483 2009-06-23 Miles Bader <miles@gnu.org>
23485 * cus-start.el: Add entry for `recenter-redisplay'.
23487 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23489 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
23490 Add an optional argument for the backend, use it instead of
23491 calling vc-backend.
23492 (vc-mode-line): Add an optional argument for the backend.
23493 Pass the backend to vc-state and vc-working-revision. Move code for
23494 special handling for vc-state being a buffer to ...
23496 * vc-rcs.el (vc-rcs-find-file-hook):
23497 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
23499 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
23500 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
23501 vc-stay-local-p and vc-mode-line calls.
23503 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
23504 (vc-cvs-diff, vc-cvs-annotate-command)
23505 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
23506 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
23507 vc-mode-line calls.
23509 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
23511 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
23512 backend when calling vc-mode-line.
23513 (vc-register): Do not create a closure for calling the vc register
23514 function, call it directly.
23516 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23518 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
23519 to make it obvious item can be clicked.
23521 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
23523 2009-06-23 Kenichi Handa <handa@m17n.org>
23525 * language/korea-util.el (korean-key-bindings): Change the binding
23526 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
23529 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
23531 Sync with Tramp 2.1.16.
23533 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
23535 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
23536 when a loading of a package fails. Completion function for rsync
23537 is `tramp-completion-function-alist-ssh'.
23538 (all): Replace all calls of `split-string' and
23539 `tramp-split-string' by `tramp-compat-split-string'.
23540 (tramp-default-method): Use `tramp-compat-process-running-p'.
23541 (tramp-default-proxies-alist): Allow also Lisp forms.
23542 (tramp-remote-path): Add choice "Private Directories".
23543 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
23544 (tramp-domain-regexp): Allow also "-", "_" and ".".
23545 (tramp-end-of-output): Remove newlines, and add "$" at the end.
23546 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
23547 (tramp-debug-message): Insert header line in debug buffer.
23548 (tramp-handle-directory-files-and-attributes-with-stat):
23549 Care about filenames with spaces, or starting with "-".
23550 (tramp-handle-dired-uncache): New defun.
23551 (tramp-handle-insert-directory): Don't flush the directory from
23552 cache, this is handled by `dired-uncache' now.
23553 (tramp-handle-insert-file-contents): Improve error handling.
23554 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
23555 Quote `tramp-end-of-output'.
23556 (tramp-action-password): Improve trace message.
23557 (tramp-check-for-regexp): Both echoes must be present, before removing.
23558 (tramp-open-connection-setup-interactive-shell): Trace coding system.
23559 (tramp-compute-multi-hops): Eval cons cells of
23560 `tramp-default-proxies-alist'.
23561 (tramp-maybe-open-connection): Use the same command pattern for
23562 first hop and further hops.
23563 (tramp-wait-for-output): Remove handling of newlines.
23564 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
23565 (tramp-split-string): Remove function. It is handled in
23568 * net/tramp-cmds.el (tramp-bug):
23569 Recommend `tramp-cleanup-all-connections' in the bug mail.
23571 * net/tramp-compat.el (tramp-compat-split-string)
23572 (tramp-compat-process-running-p): New defuns.
23574 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
23575 for `dired-uncache'.
23577 * net/tramp-gvfs.el: New package.
23579 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
23580 Add handler for `dired-uncache'.
23581 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
23583 * net/trampver.el: Update release number. Make version check fit
23586 2009-06-22 Jim Meyering <meyering@redhat.com>
23588 Automatically handle .xz suffix (XZ-compressed files), too.
23589 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
23590 XZ is the successor to LZMA: <http://tukaani.org/xz/>
23592 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
23593 Nick Roberts <nickrob@snap.net.nz>
23595 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
23596 repository (http://sphinx.net.ru/hg/gdb-mi/).
23598 2009-06-22 Glenn Morris <rgm@gnu.org>
23600 * files.el (dir-locals-collect-mode-variables): Allow for any number of
23601 `mode' and `eval' entries. (Bug#3430)
23603 * Makefile.in (ELCFILES): Add fadr.elc.
23605 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
23606 differing behavior of \n and ^ in strings. (Bug#3385)
23608 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
23610 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
23612 (lisp-indent-function): Make it a defcustom.
23614 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
23616 * progmodes/gdb-ui.el: Replace with ...
23617 * progmodes/gdb-mi.el: ... this file.
23618 * progmodes/gud.el: Modify for gdb-mi.el.
23620 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
23622 * fadr.el: New file.
23624 See ChangeLog.14 for earlier changes.
23626 ;; Local Variables:
23630 Copyright (C) 2009-2011 Free Software Foundation, Inc.
23632 This file is part of GNU Emacs.
23634 GNU Emacs is free software: you can redistribute it and/or modify
23635 it under the terms of the GNU General Public License as published by
23636 the Free Software Foundation, either version 3 of the License, or
23637 (at your option) any later version.
23639 GNU Emacs is distributed in the hope that it will be useful,
23640 but WITHOUT ANY WARRANTY; without even the implied warranty of
23641 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23642 GNU General Public License for more details.
23644 You should have received a copy of the GNU General Public License
23645 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.