1 2011-04-02 Eli Zaretskii <eliz@gnu.org>
3 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
5 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
7 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
8 Use `dolist' rather than `mapcar'.
10 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14 * subr.el (apply-partially): Use new closures rather than CL.
15 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16 (dolist, dotimes): Use slightly different expansion for lexical code.
17 (functionp): Move to C.
19 (with-wrapper-hook): Use it and apply-partially instead of CL.
20 (eval-after-load): Preserve lexical-binding.
21 (save-window-excursion, with-output-to-temp-buffer): Turn them
24 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
26 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
28 (help-add-fundoc-usage): Don't add `Not documented'.
29 (help-function-arglist): Handle closures, subroutines, and new
31 (help-make-usage): Remove leading underscores.
32 (describe-function-1): Handle closures.
33 (describe-variable): Use special-variable-p for completion.
35 * files.el (lexical-binding): Declare safe.
37 * emacs-lisp/pcase.el: Don't use destructuring-bind.
38 (pcase--memoize): Rename from pcase-memoize. Change weakness.
39 (pcase): Add `let' pattern.
40 Change memoization so it actually works.
41 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
42 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
45 * emacs-lisp/macroexp.el: Use lexical binding.
46 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
47 Don't convert ' to #' without checking that it's indeed quoting
50 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
51 Use eval-sexp-add-defvars.
52 (eval-sexp-add-defvars): New fun.
54 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
56 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
58 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
59 than the internal `byte-compile-lambda'.
60 (defmethod): Don't hide code under quotes.
61 (eieio-defmethod): New `code' argument.
63 * emacs-lisp/eieio-comp.el: Remove.
65 * emacs-lisp/edebug.el (edebug-eval-defun)
66 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
67 (edebug-toggle): Avoid `eval'.
69 * emacs-lisp/disass.el (disassemble-internal): Handle new
71 (disassemble-1): Handle new byte codes.
73 * emacs-lisp/cl.el (pushnew): Silence warning.
75 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
76 (cl-byte-compile-throw): Remove.
77 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
79 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
82 * emacs-lisp/cconv.el: New file.
84 * emacs-lisp/bytecomp.el: Use lexical binding instead of
85 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
86 (byte-compile-initial-macro-environment):
87 Handle declare-function here.
88 (byte-compile--lexical-environment): New var.
89 (byte-stack-ref, byte-stack-set, byte-discardN)
90 (byte-discardN-preserve-tos): New lap codes.
91 (byte-interactive-p): Don't use any more.
92 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
94 (byte-compile-lapcode): Use them and handle new lap codes.
95 (byte-compile-obsolete): Remove.
96 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
97 (byte-compile-arglist-warn): Check late def of inlinable funs.
98 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
99 since they should have been expanded by now.
100 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
101 (byte-compile-from-buffer): Remove unused second arg.
102 (byte-compile-preprocess): New function.
103 (byte-compile-toplevel-file-form): New function to distinguish
104 file-form calls from outside from file-form calls from hunk-handlers.
105 (byte-compile-file-form): Simplify.
106 (byte-compile-file-form-defsubst): Remove.
107 (byte-compile-file-form-defmumble): Simplify now that
108 byte-compile-lambda always returns a byte-code-function.
109 (byte-compile): Preprocess.
110 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
111 Remove, not used any more.
112 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
113 (byte-compile-make-args-desc): New funs.
114 (byte-compile-lambda): Handle lexical functions. Always return
115 a byte-code-function.
116 (byte-compile-reserved-constants): New var, to make up room for
117 closed-over variables.
118 (byte-compile-constants-vector): Obey it.
119 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
120 (byte-compile-macroexpand-declare-function): New function.
121 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
123 (byte-compile-form): Check obsolescence here.
124 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
125 (byte-compile-variable-ref): Remove.
126 (byte-compile-dynamic-variable-op): New fun.
127 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
128 (byte-compile-variable-set): New funs.
129 (byte-compile-discard): Add 2 args.
130 (byte-compile-stack-ref, byte-compile-stack-set)
131 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
132 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
133 macroexpand-all instead.
134 (byte-compile-quote-form): Remove.
135 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
136 (byte-compile-bind, byte-compile-unbind): New funs.
137 (byte-compile-let): Handle let* and lexical binding.
138 (byte-compile-let*): Remove.
139 (byte-compile-catch, byte-compile-unwind-protect)
140 (byte-compile-track-mouse, byte-compile-condition-case):
141 Handle a new :fun-body form, used for lexical scoping.
142 (byte-compile-save-window-excursion)
143 (byte-compile-with-output-to-temp-buffer): Remove.
144 (byte-compile-defun): Simplify.
145 (byte-compile-stack-adjustment): New fun.
146 (byte-compile-out): Use it.
147 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
149 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
152 * emacs-lisp/byte-opt.el: Use lexical binding.
153 (byte-inline-lapcode): Remove (to bytecomp).
154 (byte-compile-inline-expand): Pay attention to inlining to/from
155 lexically bound code.
156 (byte-compile-unfold-lambda): Don't handle byte-code-functions
158 (byte-optimize-form-code-walker): Don't handle save-window-excursion
159 any more and don't call compiler-macros.
160 (byte-compile-splice-in-already-compiled-code): Remove.
161 (byte-code): Don't inline any more.
162 (disassemble-offset): Receive `bytes' as argument rather than via
164 (byte-compile-tag-number): Declare before first use.
165 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
166 `return' even if make-spliceable.
167 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
168 obsolete interactive-p.
169 (byte-optimize-lapcode): Optimize new lap-codes.
170 Don't trip up on new form of `byte-constant' lap code.
172 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
174 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
176 * custom.el (custom-initialize-default, custom-declare-variable):
179 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
181 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
182 (COMPILE_FIRST): Add macroexp and cconv.
183 * makefile.w32-in: Mirror changes in Makefile.in.
190 * textmodes/bibtex-style.el:
199 * emacs-lisp/smie.el:
202 * abbrev.el: Use lexical binding.
204 2011-04-01 Eli Zaretskii <eliz@gnu.org>
206 * info.el (info-display-manual): New function.
208 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
210 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
212 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
214 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
215 an entry for that server in rcirc-authinfo. (Bug#8385)
217 2011-03-31 Glenn Morris <rgm@gnu.org>
219 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
221 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
223 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
225 * progmodes/python.el (python-default-interpreter)
226 (python-python-command-args, python-jython-command-args)
227 (python-which-shell, python-which-args, python-which-bufname)
228 (python-file-queue, python-comint-output-filter-function)
229 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
230 variables and functions.
232 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
234 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
235 (completion-in-region-mode): New minor mode.
236 (completion-in-region): Use it.
237 (completion-in-region--data, completion-in-region-mode-map): New vars.
238 (completion-in-region--postch): New function.
239 (completion--capf-misbehave-funs, completion--capf-safe-funs):
241 (completion--capf-wrapper): New function.
242 (completion-at-point): Use it to track well-behavedness of
244 (completion-help-at-point): New command.
246 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
248 * vc/add-log.el (add-change-log-entry): Don't use whitespace
249 syntax class to search for whitespace on a single line
250 (Message-ID: <4D938140.4030905@redhat.com>).
252 2011-03-30 Leo Liu <sdl.web@gmail.com>
254 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
256 (edit-abbrevs-map): Bind them here.
257 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
259 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
261 * allout.el (allout-hide-by-annotation, allout-flag-region):
262 Reduce possibility of overlay leakage by making them volatile.
264 * allout-widgets.el (allout-widgets-tally): Define as nil so the
265 hash is not shared between buffers. Mode initialization is
266 responsible for giving it a useful starting value.
267 (allout-item-span): Reduce possibility of overlay leakage by
268 making them volatile.
269 (allout-widgets-count-buttons-in-region): Add diagnostic function
270 for tracking down button overlay leaks.
272 2011-03-29 Leo Liu <sdl.web@gmail.com>
274 * ido.el (ido-read-internal): Use the default history var
275 minibuffer-history if no HISTORY is specified.
277 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
279 * net/imap.el (imap-shell-open, imap-process-connection-type):
280 Use imap-process-connection-type for 'shell' streams as well as
281 Kerberos, SSL, other subprocesses.
283 2011-03-28 Leo Liu <sdl.web@gmail.com>
285 * abbrev.el (abbrev-table-empty-p): New function.
286 (prepare-abbrev-list-buffer): Place empty abbrev tables after
287 nonempty ones. (Bug#5937)
289 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
291 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
293 2011-03-27 Leo Liu <sdl.web@gmail.com>
295 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
296 for foreground and background colors.
297 (ansi-color-make-color-map): Adapt.
299 2011-03-25 Leo Liu <sdl.web@gmail.com>
301 * midnight.el (midnight-time-float): Remove. Note it calculates
302 the microsecond component incorrectly and seconds-to-time does the
304 Remove redundant (require 'timer).
306 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
307 (ido-completions): Remove unused arguments. (Bug#8329)
309 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
311 * minibuffer.el (completion--flush-all-sorted-completions):
312 Remove itself from hook.
313 (completion-at-point): Let the functions perform the completion
314 immediately and return nil or t.
315 * comint.el (comint-dynamic-complete-functions): Now identical to
316 completion-at-point-functions.
317 (comint-dynamic-list-input-ring): Remove unused var `index'.
318 (comint--match-partial-filename, comint--unquote&expand-filename):
319 New funs, split from comint-match-partial-filename.
320 (comint-dynamic-complete): Use completion-at-point.
321 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
323 2011-03-24 Drew Adams <drew.adams@oracle.com>
325 * thingatpt.el: Support `defun'.
327 2011-03-23 Leo Liu <sdl.web@gmail.com>
329 * abbrevlist.el: Move to obsolete/abbrevlist.el.
331 * help-mode.el (help-mode-finish): Tweak regexp.
333 2011-03-23 Glenn Morris <rgm@gnu.org>
335 * eshell/esh-opt.el (eshell-eval-using-options):
336 Do not bind unused local variable `eshell-option-stub'.
338 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
340 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
342 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
343 keymap variable in `with-no-warnings' to avoid a warning when the
344 keymap has been already `defconst'ed.
346 2011-03-22 Leo Liu <sdl.web@gmail.com>
348 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
349 encode all chars in abbrevs; otherwise use emacs-mule or
350 utf-8-emacs. (Bug#8308)
352 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
354 * simple.el (backward-delete-char-untabify):
355 Avoid warning about using `delete-backward-char'.
357 * image.el (image-type-file-name-regexps): Make it variable.
358 `imagemagick-register-types' modifies it, and the user may want
359 to add new extensions for known image types.
360 (imagemagick-register-types): Throw error if not using ImageMagick.
362 2011-03-22 Leo Liu <sdl.web@gmail.com>
364 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
365 located before rcirc-prompt-end-marker.
366 (rcirc-complete): Error if point is not after rcirc prompt.
367 Handle the case when table is nil.
368 (rcirc-user-authenticated): Define to fix compiler warning.
370 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
372 * custom.el (custom--inhibit-theme-enable): Make it affect only
373 custom-theme-set-variables and custom-theme-set-faces.
374 (provide-theme): Ignore custom--inhibit-theme-enable.
375 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
376 (custom-enabling-themes): Delete variable.
377 (enable-theme): Accept only loaded themes as arguments.
378 Ignore the special custom-enabled-themes variable.
379 (custom-enabled-themes): Forbid themes from setting this.
380 Eliminate use of custom-enabling-themes.
381 (custom-push-theme): Quote "changed" custom var entry.
383 2011-03-21 Leo Liu <sdl.web@gmail.com>
385 * ido.el (ido-read-internal): Add ido-selected to history instead
388 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
390 * subr.el (deferred-action-list, deferred-action-function):
393 2011-03-21 Leo Liu <sdl.web@gmail.com>
395 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
396 change on 2011-02-13 (bug#8309).
398 * minibuffer.el (read-file-name-function): Change default value.
399 (read-file-name--defaults): Rename from read-file-name-defaults.
400 (read-file-name-default): Rename from read-file-name.
401 (read-file-name): Call read-file-name-function.
403 2011-03-21 Glenn Morris <rgm@gnu.org>
405 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
408 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
410 * cus-theme.el: Add missing provide statement.
411 (customize-create-theme): Extract theme value correctly.
412 (custom-theme-visit-theme): Autoload.
413 (customize-create-theme): Prompt before inserting default faces.
415 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
417 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
418 units and musical notes.
420 2011-03-20 Leo <sdl.web@gmail.com>
422 * ido.el (ido-read-internal): Use completing-read-default.
423 (ido-completing-read): Fix compatibility with completing-read.
425 2011-03-20 Christian Ohler <ohler@gnu.org>
427 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
428 (ert-delete-all-tests): Use `called-interactively-p' rather than
430 (ert--make-xrefs-region): Respect END.
432 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
434 * dired-aux.el (dired-create-directory): Signal an error if the
435 directory already exists (Bug#8246).
437 * facemenu.el (list-colors-display): Call list-faces-display
438 inside with-help-window.
439 (list-colors-print): Use display property to align the final
440 column, instead of checking window-width.
442 2011-03-19 Eli Zaretskii <eliz@gnu.org>
444 * emerge.el (emerge-metachars): Separate value for ms-dos and
446 (emerge-protect-metachars): Quote correctly for ms-dos and
449 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
451 * info.el (info-initialize): Replace all uses of `:' with
452 path-separator for compatibility with non-Unix systems.
453 Cache quoting of path-separator. (Bug#8258)
455 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
457 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
458 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
459 (mouse-avoidance-mode): Fix typos in docstrings.
461 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
463 * startup.el (package-subdirectory-regexp): Move from package.el.
464 Omit \\` and \\', and let callers add them.
466 * emacs-lisp/package.el (package-strip-version)
467 (package-load-all-descriptors): Add \\` and \\' to
468 package-subdirectory-regexp before using it.
469 (package-untar-buffer): New arg DIR; ensure that file untars only
470 into this expected directory. Remove superfluous delete-region.
471 (package-unpack): Caller changed.
472 (package-tar-file-info): Use package-subdirectory-regexp.
474 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
476 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
477 diff-mode-shared-map (bug#8284).
478 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
480 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
482 * calendar/time-date.el (format-seconds): Use assoc instead of
483 assoc-string, since assoc-string doesn't exist in XEmacs.
485 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
487 * custom.el (custom-known-themes): Reflow docstring.
488 (custom-theme-load-path): Fix typo in docstring.
489 (load-theme): Fix typo in error message.
490 (custom-available-themes, custom-variable-theme-value):
491 Use `let', not `let*'.
493 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
495 * calc/README: Mention inclusion of musical notes.
497 * calc/calc-units.el (calc-lu-quant): Rename from
498 `calc-logunits-quantity'.
499 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
500 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
501 (calc-db): Rename from `calc-dblevel'.
502 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
503 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
504 (calc-np): Rename from `calc-nplevel'.
505 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
506 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
507 (calc-lu-plus): Rename from `calc-logunits-add'.
508 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
509 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
510 (calc-lu-minus): Rename from `calc-logunits-sub'.
511 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
512 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
513 (calc-lu-times): Rename from `calc-logunits-mul'.
514 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
515 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
516 (calc-lu-divide): Rename from `calc-logunits-div'.
517 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
518 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
520 * calc/calc-ext.el (calc-init-extensions): Update the names of the
521 functions being autoloaded.
523 * calc/calc.el (calc-lu-power-reference): Rename from
524 `calc-logunits-power-reference'.
525 (calc-lu-field-reference): Rename from
526 `calc-logunits-field-reference'.
528 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
530 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
532 * minibuffer.el (completion-all-sorted-completions):
533 Use :completion-cycle-penalty text property if present.
535 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
537 * allout.el (allout-yank-processing): Adjust for new rebulleting
538 regime so bullet being yanked is used without prompting the user
541 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
543 * startup.el (command-line): Warn the user that _emacs is deprecated.
545 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
547 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
548 (delphi-verbose, delphi-comment-face, delphi-string-face)
549 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
550 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
551 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
552 (delphi-new-comment-line, delphi-font-lock-defaults)
553 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
554 Fix typos in docstrings.
556 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
558 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
559 Invert the roles of character and string values for INSTEAD, so a
560 string is used for the more common case of a defaulting prompt.
562 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
564 * progmodes/ruby-mode.el (ruby-backward-sexp):
565 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
566 * play/gamegrid.el (gamegrid-make-face):
567 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
568 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
569 * notifications.el (notifications-notify):
570 * net/xesam.el (xesam-search-engines):
571 * net/quickurl.el (quickurl-list-insert):
572 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
574 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
576 * startup.el (command-line): Update package subdirectory regexp.
578 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
580 * allout.el (allout-abbreviate-flattened-numbering)
581 (allout-mode-deactivate-hook): Fix up obsolescence "date".
583 * subr.el (read-char-choice): Only show the cursor after the prompt,
584 not after the answer.
586 2011-03-15 Kevin Ryde <user42@zip.com.au>
588 * help-fns.el (variable-at-point): Skip leading quotes, if any
591 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
593 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
596 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
598 * shell.el (shell): When called interactively, offer to change the
599 shell file name on remote hosts.
601 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
603 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
604 integration for LDAP parameters. The host, base, user or binddn,
605 and secret tokens can be specified in a netrc file, for instance.
606 This is optional because an `auth-source' parameter must be
607 specified in the search attributes.
609 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
611 * help.el (describe-mode): Link to the mode's definition (bug#8185).
613 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
615 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
616 into declaration. Remove redundant and harmful binding.
618 2011-03-12 Eli Zaretskii <eliz@gnu.org>
620 * files.el (file-ownership-preserved-p): Pass `integer' as an
621 explicit 2nd argument to `file-attributes'. If the file's owner
622 is the Administrators group on Windows, and the current user is
623 Administrator, consider that a match.
625 * server.el (server-ensure-safe-dir): Consider server directory
626 safe on MS-Windows if its owner is the Administrators group while
627 the current Emacs user is Administrator. Use `=' to compare
628 numerical UIDs, since they could be integers or floats.
630 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
632 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
634 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
636 Sync with Tramp 2.2.1.
638 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
640 * net/trampver.el: Update release number.
642 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
644 * progmodes/compile.el (compilation--previous-directory): Fix up
645 various nil/dead-marker mismatches (bug#8014).
646 (compilation-directory-properties, compilation-error-properties):
647 Don't call it at a position past the one we're about to change.
649 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
650 Disable obsolescence warnings in the file that declares it.
652 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
654 * allout-widgets.el (allout-widgets-tally): Initialize
655 allout-widgets-tally as a hash table rather than nil to prevent
656 mode-line redisplay warnings.
657 Also, clarify the module description and fix a comment typo.
659 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
661 * help-fns.el (describe-variable): Don't complete keywords.
662 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
664 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
666 * emacs-lisp/package.el (package-version-join): Impose a standard
667 string representation for pre/alpha/beta version lists.
668 (package-unpack-single): Standardize the directory name by passing
669 it through package-version-join.
670 (package-strip-rcs-id): Accept any version string that does not
671 signal an error in version-to-list.
673 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
675 * simple.el (delete-trailing-whitespace): Return nil for the
676 benefit of `write-file-functions'.
678 2011-03-10 Glenn Morris <rgm@gnu.org>
680 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
682 * vc/vc-git.el (vc-git-program): New option.
683 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
684 (vc-git--call): Use it.
686 * eshell/esh-util.el (eshell-condition-case): Doc fix.
688 * cus-edit.el (Custom-newline): If no button at point, look
689 for a subgroup button at start-of-line. (Bug#2298)
691 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
693 2011-03-10 Julien Danjou <julien@danjou.info>
695 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
696 `cursor-type' is nil.
698 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
700 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
702 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
704 * allout.el Summary: Change so yank of distinctive-bullet items
705 preserves the existing header prefix, rebulleting it if necessary,
706 rather than replacing it. This is necessary for proper operation
707 of cooperative addons like allout-widgets.
708 (allout-make-topic-prefix, allout-rebullet-heading): Change
709 SOLICIT arg to INSTEAD, and interpret additionally a string value
710 as alternate bullet to be used, instead of prompting the user for
713 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
715 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
716 Do not use `tramp-file-name-port', because this returns also
717 `tramp-default-port'.
719 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
721 * net/rcirc.el (rcirc-handler-001): Remove useless
722 with-rcirc-process-buffer.
723 (rcirc-check-auth-status): Swap arguments to string-match.
725 2011-03-09 Glenn Morris <rgm@gnu.org>
727 * shell.el (shell-mode):
728 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
730 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
731 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
733 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
735 * emacs-lisp/package.el (package-refresh-contents)
736 (package-menu-execute): Use condition-case-no-debug.
738 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
740 * simple.el (shell-command-to-string): Use `process-file'.
742 * emacs-lisp/package.el (package-tar-file-info): Handle also
745 * emacs-lisp/package-x.el (package-upload-buffer-internal):
746 Use `equal' for upload base check.
748 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
750 * textmodes/texinfo.el (texinfo-environments):
751 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
753 2011-03-08 Glenn Morris <rgm@gnu.org>
755 * cus-start.el (cursor-in-non-selected-windows):
756 Fix :set quoting oddness. (Bug#8192)
758 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
759 in some setf expressions. (Bug#2159)
761 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
763 * custom.el (custom-available-themes): Return themes in
766 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
768 * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
769 application of patch from Alan Mackenzie (Bug#7595).
771 2011-03-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
773 * net/rcirc.el (rcirc-connect): Fix PASS bug.
775 2011-03-07 Glenn Morris <rgm@gnu.org>
777 * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
778 Give an explicit error if failed to make writable. (Bug#6146)
780 2011-03-07 Ed Reingold <reingold@emr.cs.iit.edu>
782 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
783 Add optional `after-sunset' argument. (Bug#8190)
785 2011-03-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
787 * play/morse.el (nato-alphabet, nato-region, denato-region):
788 New variable and functions. (Bug#2288)
789 (morse-region, unmorse-region): Barf if read-only.
791 2011-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
793 * progmodes/gud.el (gdb-script-syntax-propertize-function):
794 Don't change the syntax of a \n that closes a comment (bug#8169).
796 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
798 * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
800 (package--update-file): Doc fix. Accept relative file names.
801 (package--archive-contents-from-file): Remove the argument, since
802 it's necessarily always "archive-contents".
803 (package-maint-add-news-item): Pass relative file name args to
804 package--update-file.
805 (package-upload-buffer-internal): Prompt for a destination if
806 package-archive-upload-base is invalid. Create the directory if
808 (package-upload-buffer, package-upload-file): Doc fix.
810 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
812 * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
813 and move isearch-yank-line to M-s C-e (Bug#8183).
815 2011-03-06 Alan Mackenzie <acm@muc.de>
817 * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
818 (c-guess-basic-syntax): Move CASE 19 to a different place,
819 correctly to process template-args-cont lines.
821 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
823 * calc/calc-ext.el (calc-init-extensions):
824 Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
825 and calc-nplevel, respectively. Add keybindings for calc-spn,
826 calc-midi and calc-freq. Add autoloads for calcFunc-spn,
827 calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
829 * calc/calc-units.el (calc-dblevel): Rename from
830 calc-logunits-dblevel.
831 (calc-nplevel): Rename from calc-logunits-nplevel.
832 (math-midi-round, math-freqp, math-midip, math-spnp)
833 (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
834 (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
835 (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
836 (math-notes): New variable.
838 * calc/calc.el (calc-note-threshold): New variable.
840 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
842 * emacs-lisp/package.el (package-archives): Accept either ordinary
843 directory names, in addition to HTTP URLs.
844 (package--with-work-buffer): New macro. Handle normal directories.
845 (package-handle-response): Don't display the failing buffer.
846 (package-download-single, package-download-tar)
847 (package--download-one-archive): Use package--with-work-buffer.
848 (package-archive-base): Rename from package-archive-url.
850 2011-03-06 Glenn Morris <rgm@gnu.org>
852 * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
853 (xmodmap-generic-mode): Respect generic-extras-enable-list.
855 2011-03-06 Daniel Clemente <dcl441-bugs@yahoo.com> (tiny change)
857 * generic-x.el (xmodmap-generic-mode): New. (Bug#2065)
859 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
861 * allout.el (allout-init, allout-prefixed-keybindings)
862 (allout-unprefixed-keybindings):
863 * progmodes/prolog.el (prolog-find-term):
864 Fix typos in docstrings.
866 2011-03-06 Nikolaj Schumacher <me@nschum.de> (tiny change)
868 * emacs-lisp/elp.el (elp-results): Fix off-by-one in header. (Bug#2746)
870 2011-03-06 Kevin Ryde <user42@zip.com.au>
872 * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc. (Bug#5326)
874 2011-03-06 Michael Shields <shields@msrl.com> (tiny change)
876 * window.el (one-window-p, walk-windows, display-buffer):
877 Doc fixes. (Bug#5567)
879 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
881 * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
882 of the variable if it exists.
884 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
891 * net/tramp-cache.el:
892 * obsolete/fast-lock.el:
893 * textmodes/reftex.el:
894 Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
896 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
898 * files.el (delete-directory, copy-directory, list-directory):
899 Use read-directory-name.
901 * find-file.el (ff-find-the-other-file):
902 * net/ange-ftp.el (ange-ftp-make-directory):
903 * printing.el (pr-interactive-dir):
904 * progmodes/ada-prj.el (ada-prj-load-directory):
905 * progmodes/ebnf2ps.el (ebnf-print-directory)
906 (ebnf-spool-directory, ebnf-eps-directory)
907 (ebnf-syntax-directory):
909 * speedbar.el (speedbar-create-directory):
910 * vc/emerge.el (emerge-merge-directories):
911 * vc/vc-dir.el (vc-dir):
912 * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
914 2011-03-05 Chong Yidong <cyd@stupidchicken.com>
916 * help-mode.el (help-buffer): If we are to return the current
917 buffer, signal an error if it's not in Help mode (Bug#8147).
919 2011-03-05 Reuben Thomas <rrt@sc3d.org>
921 * files.el (file-name-version-regexp): Handle backup files of the
922 form `foo.js.~HEAD~1~' (Bug#8159).
924 2011-03-05 Glenn Morris <rgm@gnu.org>
926 * eshell/esh-var.el: Don't require esh-test when compiling.
927 * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
928 * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
929 * eshell/esh-test.el: Move to ../../test/eshell.el.
931 2011-03-05 David Engster <deng@randomsample.de>
933 * files.el (save-some-buffers): Report the names of buffers saved
934 automatically due to buffer-save-without-query (Bug#8134).
936 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
938 * net/rcirc.el: Add QuakeNet authentication support.
939 (rcirc-authinfo, rcirc-check-auth-status)
940 (rcirc-authenticate): Support QuakeNet.
942 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
944 * net/rcirc.el: Add functionality to authenticate before
945 autojoining channels.
946 (rcirc-authenticate-before-join): New option.
947 (rcirc-authenticated-hook): New variable.
948 (rcirc-connect): Make local variable rcirc-user-authenticated.
949 (rcirc-handler-001): Respect rcirc-authenticate-before-join.
950 (rcirc-check-auth-status, rcirc-join-channels-post-auth):
952 (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
953 Call rcirc-check-auth-status.
955 2011-03-05 Alex Harsanyi <AlexHarsanyi@gmail.com>
957 * net/soap-client.el (soap-namespace-put-link): Check if the target
958 name is fully qualified -- use only the name part.
959 (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
960 types, treated the same as xsd:sequence. (Bug#8166)
962 2011-03-05 Eli Zaretskii <eliz@gnu.org>
964 * files.el (find-file-noselect): Don't ask about re-visiting
965 non-literally if the file is already visited in image-mode.
968 2011-03-05 Glenn Morris <rgm@gnu.org>
970 * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
971 (eshell-mode): Use eshell-kill-buffer-function.
972 Run the -initialize functions independently of the -load-hooks.
973 * eshell/esh-proc.el (eshell-kill-process-function): New function.
974 (eshell-gather-process-output, eshell-sentinel)
975 (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
976 Use eshell-kill-process-function.
977 * eshell/em-alias.el (eshell-alias-load-hook):
978 * eshell/em-banner.el (eshell-banner-load-hook):
979 * eshell/em-cmpl.el (eshell-cmpl-load-hook):
980 * eshell/em-dirs.el (eshell-dirs-load-hook):
981 * eshell/em-glob.el (eshell-glob-load-hook):
982 * eshell/em-hist.el (eshell-hist-load-hook):
983 * eshell/em-pred.el (eshell-pred-load-hook):
984 * eshell/em-prompt.el (eshell-prompt-load-hook):
985 * eshell/em-rebind.el (eshell-rebind-load-hook):
986 * eshell/em-script.el (eshell-script-load-hook):
987 * eshell/em-smart.el (eshell-smart-load-hook):
988 * eshell/em-term.el (eshell-term-load-hook):
989 * eshell/em-unix.el (eshell-unix-load-hook):
990 * eshell/esh-arg.el (eshell-arg-load-hook):
991 * eshell/esh-cmd.el (eshell-cmd-load-hook):
992 * eshell/esh-ext.el (eshell-ext-load-hook):
993 * eshell/esh-io.el (eshell-io-load-hook):
994 * eshell/esh-mode.el (eshell-exit-hook):
995 * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
996 * eshell/esh-var.el (eshell-var-load-hook):
997 Set default hook values to nil. (Bug#5375)
999 * eshell/esh-module.el (eshell-module-unload-hook)
1000 (eshell-modules-list): Remove leading * from defcustom docs.
1002 * eshell/esh-util.el (eshell-for): Make it obsolete.
1003 * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
1004 * eshell/em-dirs.el (eshell-save-some-last-dir):
1005 * eshell/em-hist.el (eshell-save-some-history)
1006 (eshell-hist-parse-modifier):
1007 * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
1008 (eshell-ls-entries):
1009 * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
1010 * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
1012 * eshell/esh-ext.el (eshell-find-interpreter):
1013 * eshell/esh-mode.el (eshell-mode):
1014 * eshell/esh-module.el (eshell-unload-extension-modules):
1015 * eshell/esh-proc.el (eshell-process-interact):
1016 * eshell/esh-test.el (eshell-test):
1017 * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
1018 * eshell/esh-var.el (eshell/env, eshell-environment-variables)
1019 (eshell-variables-list):
1020 * eshell/eshell.el (eshell-unload-all-modules):
1021 Replace eshell-for with dolist.
1023 2011-03-04 Glenn Morris <rgm@gnu.org>
1025 * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0. (Bug#8170)
1027 2011-03-04 Tom Tromey <tromey@redhat.com>
1029 * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
1031 2011-03-04 Glenn Morris <rgm@gnu.org>
1033 * outline.el (outline-regexp): No longer allow nil.
1034 (outline-heading-end-regexp): Add safety predicate. (Bug#7619)
1036 * net/browse-url.el (browse-url):
1037 Handle deleted default-directory. (Bug#6077)
1039 * recentf.el (recentf-include-p): In case of a buggy predicate,
1040 err on the side of including, not excluding. (Bug#5843)
1042 2011-03-04 Jay Belanger <jay.p.belanger@gmail.com>
1044 * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
1047 2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
1049 * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
1050 if there is no node. (Bug#3261)
1052 2011-03-04 Leo <sdl.web@gmail.com>
1054 * vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
1056 * time.el (display-time-world-list): Fix typo. (Bug#7571)
1058 2011-03-04 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
1060 * cus-edit.el (custom-buffer-create-internal):
1061 Split search string before passing it to `customize-apropos' (bug#8136).
1063 2011-03-04 Drew Adams <drew.adams@oracle.com>
1065 * image-dired.el (image-dired-cmd-read-exif-data-options):
1066 Fix typo in docstring (bug#8156).
1068 2011-03-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1070 * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
1072 2011-03-03 Christian Ohler <ohler@gnu.org>
1074 * emacs-lisp/ert.el (ert--explain-equal): New function.
1075 (ert--explain-equal-rec): Rename from `ert--explain-not-equal'.
1076 All callers changed.
1077 (ert--explain-equal-including-properties): Rename from
1078 `ert--explain-not-equal-including-properties'. All callers
1081 2011-03-03 Christian Ohler <ohler@gnu.org>
1083 * emacs-lisp/ert.el (ert--stats-set-test-and-result)
1084 (ert-char-for-test-result, ert-string-for-test-result)
1085 (ert-run-tests-batch, ert--print-test-for-ewoc):
1086 Handle `ert-test-quit'.
1088 2011-03-03 David Abrahams <dave@boostpro.com> (tiny change)
1090 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1091 Move ediff-defvar-local calls after defcustoms. (Bug#1821)
1093 2011-03-03 Glenn Morris <rgm@gnu.org>
1095 * files.el (file-truename): Doc fix. (Bug#2341)
1097 2011-03-03 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
1099 * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
1101 2011-03-03 Vagn Johansen <gonz808@hotmail.com> (tiny change)
1103 * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
1104 programs output backslashes. (Bug#7663)
1106 2011-03-03 Glenn Morris <rgm@gnu.org>
1108 * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
1109 (mail-mode): Remove mail-sent-via from the doc.
1110 (mail-sent-via): Make it obsolete. (Bug#1776)
1112 * progmodes/grep.el (grep-highlight-matches): Doc fix.
1113 (grep-process-setup): No highlighting without font-lock. (Bug#8084)
1115 * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
1116 with no parents. (Bug#8025)
1118 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
1120 * password-cache.el (password-in-cache-p): Add autoload.
1122 2011-03-02 Glenn Morris <rgm@gnu.org>
1124 * man.el (Man-support-local-filenames): Also handle Red Hat's man.
1125 * dired-x.el (Man-support-local-filenames): Autoload it.
1126 (dired-guess-shell-alist-default): Also handle Red Hat's man.
1128 * dired-x.el (dired-default-directory-alist, dired-default-directory):
1130 (dired-smart-shell-command): Just call dired-current-directory.
1132 * dired-x.el (dired-jump-other-window): Add autoload.
1133 (dired-default-directory-alist, dired-default-directory): Doc fixes.
1134 (dired-default-directory-alist): Mark as risky.
1136 * dired-x.el (dired-omit-here-always): Make it obsolete.
1138 2011-03-02 Chong Yidong <cyd@stupidchicken.com>
1140 * textmodes/artist.el (artist-curr-go): Default to pen-line.
1141 (artist-select-op-pen-line): New function.
1142 (artist-menu-map): New variable.
1143 (artist-mode-map): Add a menu to the menu-bar.
1145 2011-03-02 Jay Belanger <jay.p.belanger@gmail.com>
1147 * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
1150 * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
1152 (math-logunits-add, math-logunits-mul, math-logunits-divide):
1153 (math-logunits-quant, math-logunits-level):
1154 Use `math-conditional-apply' and `math-conditional-pow' to evaluate
1156 (math-logunits-level): Extract units from ratio.
1158 2011-03-01 Juanma Barranquero <lekktu@gmail.com>
1160 * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
1162 2011-03-01 Glenn Morris <rgm@gnu.org>
1164 * calendar/cal-hebrew.el (calendar-hebrew-birthday)
1165 (diary-hebrew-birthday): Rename and rework functions added
1168 2011-03-01 Ed Reingold <reingold@emr.cs.iit.edu>
1170 * calendar/cal-hebrew.el (hebrew-calendar-birthday)
1171 (diary-hebrew-birthday): New functions.
1173 2011-03-01 Glenn Morris <rgm@gnu.org>
1175 * dired.el (dired-safe-switches-p): Beef it up.
1176 (dired-actual-switches): Use it for the safe-local prop. (Bug#3230)
1178 2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
1180 * dired.el (dired-safe-switches-p): New function.
1182 2011-03-01 Glenn Morris <rgm@gnu.org>
1184 * files.el (dir-locals-collect-variables):
1185 Add the ability to exclude subdirectories. (Bug#8100)
1187 * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
1189 2011-02-28 Christoph Scholtes <cschol2112@googlemail.com>
1191 * ido.el (ido-everywhere): Doc fix.
1192 (ido-mode): Doc fix.
1194 2011-02-28 Glenn Morris <rgm@gnu.org>
1196 * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
1198 2011-02-28 Michael Albinus <michael.albinus@gmx.de>
1200 * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
1203 2011-02-28 Antoine Levitt <antoine.levitt@gmail.com>
1205 * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
1207 2011-02-28 Juanma Barranquero <lekktu@gmail.com>
1209 * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
1210 Fix typos in docstrings.
1212 2011-02-28 Stephen Berman <stephen.berman@gmx.net>
1214 * dired-aux.el (dired-update-file-line):
1215 Fix 2010-11-09 change. (Bug#8131)
1217 2011-02-28 Eli Zaretskii <eliz@gnu.org>
1219 * international/mule-cmds.el (set-default-coding-systems): Use the
1220 -unix variant of encoding in default-keyboard-coding-system.
1223 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
1225 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
1227 2011-02-27 Prestoo Ten <prestooten@gmail.com> (tiny change)
1229 * term/screen.el: New file (Bug#2650).
1231 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
1233 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
1234 (pcase-mutually-exclusive-predicates): New var.
1235 (pcase--split-consp, pcase--split-pred): Use it.
1236 (pcase--split-equal, pcase--split-member): When splitting against
1237 a pure predicate, run it to know the outcome.
1238 (pcase--u1): Mark vars that are actually used.
1239 (pcase--q1): Avoid introducing unused vars.
1241 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
1243 * calc/calc-ext.el (calc-init-extensions):
1244 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
1246 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
1249 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
1250 argument is a variable.
1252 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1254 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
1255 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
1256 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
1258 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
1260 * password-cache.el (password-in-cache-p): Convenience function to
1261 check if a key is in the cache, even if the value is nil.
1263 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
1265 * emacs-lisp/package-x.el (package--archive-contents-from-url)
1266 (package--archive-contents-from-file): New functions.
1267 (package-update-news-on-upload): New var.
1268 (package-upload-buffer-internal): Extract archive-contents from
1269 package-archive-upload-base if it is not found at archive-url.
1270 Obey package-update-news-on-upload.
1271 (package-upload-buffer, package-upload-file): Doc fix.
1273 2011-02-24 Glenn Morris <rgm@gnu.org>
1275 * files-x.el (modify-dir-local-variable): Handle dir-locals from
1276 the cache, and from non-file sources.
1278 * help-fns.el (describe-variable): Return consistent results when a
1279 dir-local from a file came from the cache or did not. (Bug#8095)
1280 If a dir-local has no associated file, say it came from a "directory".
1282 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
1283 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
1285 * files.el (dir-locals-find-file): Doc fix.
1286 Fix the check for cache elements that have no associated file,
1287 and the mtime check for those that do. (Bug#8095)
1289 * dired-x.el (dired-hack-local-variables):
1290 Handle interrupts during hacking local variables. (Bug#5216)
1292 * emacs-lisp/autoload.el (autoload-save-buffers)
1293 (autoload-find-destination, update-directory-autoloads):
1294 Avoid prompts when updating autoloads.
1296 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1298 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
1300 2011-02-23 Kenichi Handa <handa@m17n.org>
1302 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
1303 error when a multipart boundary in the nested multipart is found.
1305 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
1308 2011-02-23 Glenn Morris <rgm@gnu.org>
1310 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
1311 * dired-x.el (dired-omit-mode): Safe if boolean.
1312 (dired-enable-local-variables): Fix doc and custom type.
1313 (dired-enable-local-variables, dired-local-variables-file)
1314 (dired-hack-local-variables): Make obsolete.
1315 (dired-omit-here-always): Use dir-locals.el instead.
1317 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
1319 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
1321 * help-fns.el (describe-function-1): Don't signal an error just because
1322 the DOC file disappeared.
1324 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
1326 * eshell/esh-ext.el (eshell-external-command): Do not restrict
1327 remote check to "ftp". (Bug#8089)
1329 2011-02-21 Alan Mackenzie <acm@muc.de>
1332 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
1333 in macros finding their way into c-state-nonlit-pos-cache.
1334 Strengthen the comments.
1335 (c-state-dump): New commented out diagnostic routine.
1337 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
1339 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
1340 `field' property of `rfn-eshadow-overlay'.
1342 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
1344 * net/netrc.el (netrc-parse): Comment fix.
1346 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
1348 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
1349 Autoload. Add optional arg FRAME, and pass it to color-values.
1350 (color-complement): Caller changed. Doc fix.
1351 (color-gradient): Rewrite for better clarity and efficiency.
1353 * faces.el (color-values): Use cond for clarity. Doc fix.
1355 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
1357 (list-colors-sort-key, list-colors-print):
1358 Use color-normalized-values.
1360 2011-02-20 Drew Adams <drew.adams@oracle.com>
1362 * color.el: First part of merge from hexrgb.el.
1363 (color-rgb-to-hex): Rename from color-rgb->hex.
1364 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
1365 saturation to zero if the value is too small.
1366 (color-rgb-to-hsl): Rename from color-rgb->hsl.
1367 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
1368 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
1369 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
1370 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
1371 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
1372 (color-cie-de2000): Doc fix.
1374 2011-02-20 Alan Mackenzie <acm@muc.de>
1376 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
1377 locating the beginning of a macro. (Bug#7595)
1379 2011-02-20 Glenn Morris <rgm@gnu.org>
1381 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
1384 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1385 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
1387 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
1388 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
1390 * progmodes/hideshow.el (hs-find-block-beginning)
1391 (hs-hide-level-recursive): Ignore comments when parsing braces
1394 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1396 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
1397 (vc-bzr-pull): Use it.
1399 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1401 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
1402 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
1403 but returning an alist. Ignore comments in bzr conffile.
1404 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
1405 (vc-bzr-error-regex-alist): New var.
1406 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
1408 * vc/vc-dispatcher.el (vc-do-async-command):
1409 Bind inhibit-read-only to t.
1411 * progmodes/compile.el (compilation--flush-directory-cache):
1412 Handle the case where cdr of compilation--flush-directory-cache
1413 points to no buffer, which can occur if we previously switched to
1414 compilation-mode in a pregenerated buffer.
1416 2011-02-19 Kenichi Handa <handa@m17n.org>
1418 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
1419 get the header copy into the temporary buffer.
1420 (rmail-mime-insert-decoded-text): Ignore us-ascii.
1421 (rmail-show-mime): When rmail-mime-coding-system is nil, set
1422 buffer-file-coding-system to undecided.
1424 2011-02-19 Eli Zaretskii <eliz@gnu.org>
1426 * international/mule-cmds.el (read-char-by-name, ucs-insert):
1427 Document completion with asterisk and a substring.
1429 2011-02-19 Glenn Morris <rgm@gnu.org>
1431 * files.el (find-file-literally): Doc fix.
1433 * simple.el (rfc822-goto-eoh): Give it a doc-string.
1435 * log-edit.el (log-edit-insert-changelog):
1436 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
1438 2011-02-19 Glenn Morris <rgm@gnu.org>
1440 * dired-x.el: Don't require dired-aux.
1441 (dired-do-create-files, dired-mark-read-regexp)
1442 (dired-do-create-files-regexp): Autoload from dired-aux.
1444 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
1445 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
1447 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
1448 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
1450 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
1451 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
1452 (dired-clean-up-buffers-too): Declare.
1454 * dired-x.el (dired-initial-position): Merge into dired.el's version.
1455 * dired.el (dired-initial-position): Merge dired-x's version here.
1456 (dired-find-subdir): Declare.
1458 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
1459 * dired-aux.el (dired-add-entry): Give it a doc-string.
1460 Merge dired-x's dired-omit handling here.
1461 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
1463 * international/mule-diag.el (list-input-methods-1):
1464 Indent all lines of multi-line doc-strings. (Bug#8066)
1466 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
1468 Fix 2011-02-02 changes.
1470 * apropos.el (apropos-print): Call apropos-mode before setting up
1471 buffer variables. Use inhibit-read-only.
1473 * emacs-lisp/package.el (package--list-packages):
1474 Call package-menu-mode before setting up buffer variables.
1476 * play/solitaire.el (solitaire): Call solitaire-mode before
1477 setting up buffer variables. Use inhibit-read-only.
1479 2011-02-18 Lawrence Mitchell <wence@gmx.li>
1481 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
1482 Bind case-fold-search to nil when looking for end of here-doc.
1484 2011-02-18 Eli Zaretskii <eliz@gnu.org>
1486 * image-mode.el (image-toggle-display-image):
1487 Set find-file-literally non-nil in buffers visiting binary image
1490 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1492 * files.el (cd): Make completion obey cd-path (bug#7924).
1494 2011-02-18 Glenn Morris <rgm@gnu.org>
1496 * progmodes/prolog.el: Don't require compile when compiling.
1497 (compilation-shell-minor-mode, compilation-error-regexp-alist)
1498 (compilation-forget-errors, compilation-fake-loc)
1499 (compilation-parse-errors-function, compilation-error-list): Declare.
1500 (prolog-inferior-mode): Require 'compile.
1502 * emulation/cua-base.el (pc-selection-mode): Declare.
1504 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
1505 (customize-object): Add autoload cookie.
1506 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
1507 (eieio-browse, describe-class, eieio-describe-class)
1508 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
1509 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
1510 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
1511 * Makefile.in (autoloads): Make eieio.el writable.
1513 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
1514 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
1515 (dired-hack-local-variables): Use inhibit-read-only.
1516 (dired-guess-default): Simplify.
1517 (dired-make-relative-symlink): Use dotimes.
1518 (dired-simultaneous-find-file): Use dolist.
1519 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
1520 (dired-x-hands-off-my-keys): Doc fix.
1521 (dired-x-bind-find-file): Doc fix. Use remapping.
1522 (after-init-hook): No need to add dired-x-bind-find-file.
1523 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
1524 No need to call expand-file-name.
1525 (dired-filename-at-point): Remove unused locals `end', `filename'.
1527 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1529 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
1531 2011-02-18 Christian Ohler <ohler@gnu.org>
1533 * emacs-lisp/ert.el (ert--setup-results-buffer)
1534 (ert-results-pop-to-backtrace-for-test-at-point)
1535 (ert-results-pop-to-messages-for-test-at-point)
1536 (ert-results-pop-to-should-forms-for-test-at-point)
1537 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
1538 were incorrect and unnecessary. This should make `make check'
1541 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
1543 * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
1544 (allout-widgets-icons-dark-subdir): Track relocations of icons.
1545 * lisp/allout.el: Remove commentary about remove encryption
1546 passphrase mnemonic support and verification.
1547 (allout-encrypt-string): Recognize epg failure to decrypt gpg2
1548 armored text using gpg1, and indicate that the gpg version *might*
1549 be the problem in the error message.
1551 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1553 * net/rcirc.el (rcirc-float-time): New function.
1554 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
1555 (rcirc-ctcp-sender-PING): Use it.
1557 2011-02-17 Glenn Morris <rgm@gnu.org>
1559 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
1560 (speedbar-update-flag, speedbar-fetch-etags-command)
1561 (speedbar-fetch-etags-arguments):
1562 * term.el (term-buffer-maximum-size, term-input-chunk-size)
1563 (term-completion-autolist, term-completion-addsuffix)
1564 (term-completion-recexact, term-completion-fignore):
1565 * term/sup-mouse.el (sup-mouse-fast-select-window):
1566 * term/x-win.el (x-select-request-type):
1567 Convert some defvars with "*" to defcustoms.
1569 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
1571 * vc/vc.el (vc-default-previous-version):
1572 Remove alias that points nowhere. (Bug#4496)
1574 * dired-x.el (dired-clean-up-after-deletion):
1575 kill-buffer does not need save-excursion.
1576 (dired-do-run-mail): Doc fix.
1577 (dired-filename-at-point): Doc fix.
1578 Use looking-at, and skip-chars rather than re search.
1580 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
1582 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
1584 * allout-widgets.el: New allout extension that shows allout
1585 outline structure with graphical widgets. 'allout-widgets'
1586 customize group is an 'allout' subgroup, for easy discovery.
1588 * allout.el: Include PGP and GnuPG in Keywords, and other
1589 commentary refinements.
1590 (allout-abbreviate-flattened-numbering): Rename to
1591 allout-flattened-numbering-abbreviation, and
1592 define-obsolete-variable-alias the old name.
1593 (allout-flattened-numbering-abbreviation): Rename from
1594 allout-abbreviate-flattened-numbering.
1595 (allout-mode-p): Include among autoloads, for use by other modes
1597 (allout-listify-exposed):
1598 Use allout-flattened-numbering-abbreviation.
1599 (allout-encrypt-string): Use set-buffer-multibyte directly.
1600 (allout-set-buffer-multibyte): Remove.
1602 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1604 * simple.el (just-one-space): Remove useless `or' call.
1606 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1608 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
1609 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
1610 (soap-decoded-multi-refs, soap-current-wsdl)
1611 (soap-encoded-namespaces): Rename CL-style *...* variables.
1613 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
1615 * net/soap-client.el: Add "comm" and "hypermedia" to the
1616 keywords. Reflow too long lines.
1618 * net/soap-inspect.el: Ditto. Require 'cl.
1620 2011-02-16 Bastien Guerry <bzg@altern.org>
1622 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
1623 in a `doctor-type' argument.
1625 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1627 * net/soap-client.el:
1628 * net/soap-inspect.el: New files.
1630 2011-02-16 Leo <sdl.web@gmail.com>
1632 * dired-x.el (dired-mode-map, dired-extra-startup):
1633 Remove dired-copy-filename-as-kill since it's already in dired.el.
1635 2011-02-16 Glenn Morris <rgm@gnu.org>
1637 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
1638 Doc fixes. Add :set property, replacing top-level calls.
1639 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
1640 (dired-guess-shell-gnutar): Test tar version rather than system-type.
1641 (dired-extra-startup, dired-man, dired-info): Doc fixes.
1642 (dired-clean-up-after-deletion): Use when and dolist.
1643 (dired-jump): Use unless and when.
1644 (dired-virtual): Use line-end-position.
1645 (dired-default-directory-alist): Rename from default-directory-alist.
1646 (dired-default-directory): Update for above name change.
1647 (dired-vm): Drop VM < 5 and simplify.
1648 (dired-buffer-more-recently-used-p): Rewrite.
1649 (dired-filename-at-point): Use when and or.
1650 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
1653 2011-02-15 Glenn Morris <rgm@gnu.org>
1655 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
1657 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
1659 * vc/vc-git.el (vc-git-root-log-format): New option for
1660 customizing log format.
1661 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
1662 (vc-git-log-view-mode): Use it.
1663 (vc-git-expanded-log-entry): New function.
1664 (vc-git-log-view-mode): Use it. Truncate lines in root log.
1666 * vc/vc-hg.el (vc-hg-root-log-template): New option for
1667 customizing log format.
1668 (vc-hg-print-log): Use it.
1669 (vc-hg-expanded-log-entry): New function.
1670 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
1671 vc-hg-expanded-log-entry. Truncate lines in root log.
1673 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
1675 * vc/log-view.el (log-view-mode-menu):
1676 Add log-view-toggle-entry-display.
1678 2011-02-14 Glenn Morris <rgm@gnu.org>
1680 * dired-x.el: Don't require man when compiling.
1681 (dired-omit-extensions, dired-local-variables-file)
1682 (dired-x-hands-off-my-keys): Make them defcustoms.
1683 (Man-support-local-filenames, Man-getpage-in-background): Declare.
1684 (vm-visit-folder): Declare rather than defining.
1685 (dired-x-help-address, dired-x-variable-list): Remove.
1686 (dired-x-submit-report): Make it an obsolete alias.
1688 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
1690 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
1692 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1694 * net/imap.el: Bring it back.
1696 2011-02-13 Alan Mackenzie <acm@muc.de>
1698 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
1699 narrow-to-region call that cuts context off the end (Bug#7722).
1701 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1702 Refactor nested if-forms with a simple cond.
1703 (c-forward-<>-arglist): Revert 2011-01-31 change.
1705 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1707 * vc/log-view.el: New command log-view-toggle-entry-display for
1708 toggling log entries between concise and detailed forms.
1709 (log-view-toggle-entry-display): New command.
1710 (log-view-mode-map): Bind RET to it.
1711 (log-view-expanded-log-entry-function): New variable.
1712 (log-view-current-entry, log-view-inside-comment-p)
1713 (log-view-current-tag): New functions.
1714 (log-view-toggle-mark-entry): Use log-view-current-entry and
1715 log-view-end-of-defun instead of searching directly with
1716 log-view-message-re.
1717 (log-view-end-of-defun): Likewise. Add optional ARG for
1718 compatibility with end-of-defun.
1719 (log-view-end-of-defun): Ignore comments and VC buttons.
1721 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
1722 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
1724 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1726 * net/imap.el: Remove file. All the functionality is in nnimap.el.
1728 * net/imap-hash.el: Remove file.
1730 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
1732 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
1734 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
1737 * net/tramp-imap.el: Remove file.
1739 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1741 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
1742 widget library for buttons, just use button.el.
1744 * vc/log-view.el (log-view-mode-map): Don't inherit from
1747 2011-02-12 Glenn Morris <rgm@gnu.org>
1749 * emacs-lisp/cl-seq.el (union, nunion, intersection)
1750 (nintersection, set-difference, nset-difference)
1751 (set-exclusive-or, nset-exclusive-or): Doc fix.
1753 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1755 * faces.el (face-attr-match-p): Handle the obsolete :bold and
1756 :italic props, so that frame-set-background-mode works. (Bug#7966)
1758 * simple.el (next-error): Doc fix.
1760 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1762 * dired-aux.el (dired-create-files): Adapt destination name to
1763 match the new behavior of copy-directory.
1765 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
1767 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1768 from rmail-dont-reply-to-names. Callers changed.
1769 (mail-dont-reply-to): Rename from mail-dont-reply-to.
1770 (rmail-dont-reply-to): Make it an obsolete alias.
1772 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1773 nil, and make obsolete (Bug#7888).
1774 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1776 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1778 * mail/rmailsort.el (rmail-sort-by-correspondent)
1779 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
1781 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1783 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1785 * files.el (copy-directory): New argument COPY-CONTENTS for
1786 copying directory contents into another existing directory.
1788 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
1790 * minibuffer.el (completion-table-case-fold): New function for
1791 creating a case-insensitive completion table.
1793 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1795 * net/tramp.el (tramp-default-method): Also check if
1796 `auth-source-search' is bound.
1797 (tramp-read-passwd): Use `auth-source-search' instead of
1798 `auto-source-user-or-password'.
1800 * net/tramp-imap.el: Autoload `auto-source-search' instead of
1801 `auto-source-user-or-password.
1802 (tramp-imap-passphrase-callback-function): Use it.
1804 * net/imap-hash.el: Autoload `auto-source-search' instead of
1805 `auto-source-user-or-password.
1806 (imap-hash-open-connection): Use it.
1808 * mail/smtpmail.el: Autoload `auto-source-search' instead of
1809 `auto-source-user-or-password.
1810 (smtpmail-try-auth-methods): Use it.
1812 2011-02-12 Phil Hagelberg <phil@hagelb.org>
1814 * emacs-lisp/package.el: Allow packages to be reinstalled.
1815 (package--write-file-no-coding): Remove EXCL arg.
1816 (package-unpack-single): Don't use it.
1818 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
1820 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1821 in each sub directory.
1822 (vc-svn-registered): Use vc-svn-root.
1823 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
1824 (vc-svn-repository-hostname): Use "svn info".
1826 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1828 * simple.el (delete-trailing-whitespace): New optional buffer
1831 2011-02-11 Bastien Guerry <bzg@altern.org>
1833 * files.el (basic-save-buffer): save unmodified buffers when
1834 the file pointed by buffer-file-name doesn't exist.
1836 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1838 * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1840 2011-02-11 Glenn Morris <rgm@gnu.org>
1842 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1844 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
1846 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1848 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
1850 * server.el (server-process-filter): Use pcase.
1852 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1854 (smie-indent--parent): Extend to "parent of arg".
1855 (smie-indent-inside-string): New function.
1856 (smie-indent-functions): Use it.
1858 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1859 bzr locking race condition.
1861 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1862 still valid before using it.
1864 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1865 `message' -> `compilation-message' rename (bug#8004).
1867 Move keymap initialization into declaration.
1868 * textmodes/enriched.el (enriched-mode-map):
1869 * textmodes/bib-mode.el (bib-mode-map):
1870 * term/lk201.el (lk201-function-map):
1871 * tar-mode.el (tar-mode-map):
1872 * replace.el (occur-mode-map):
1873 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1874 * progmodes/idlw-help.el (idlwave-help-mode-map):
1875 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1876 * play/solitaire.el (solitaire-mode-map):
1877 * play/snake.el (snake-mode-map, snake-null-map):
1878 * play/pong.el (pong-mode-map):
1879 * play/handwrite.el (menu-bar-handwrite-map):
1880 * play/gametree.el (gametree-mode-map):
1881 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1882 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1883 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1884 (newsticker--url-keymap):
1885 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1886 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1887 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1888 (menu-bar-edit-menu, menu-bar-custom-menu)
1889 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1890 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1891 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1892 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1893 (menu-bar-tools-menu, menu-bar-describe-menu)
1894 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1895 (menu-bar-help-menu):
1896 * mail/rmailsum.el (rmail-summary-mode-map):
1897 * kmacro.el (kmacro-step-edit-map):
1898 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1899 (ibuffer-mode-operate-map):
1900 * hi-lock.el (hi-lock-menu, hi-lock-map):
1901 * emulation/vip.el (vip-mode-map):
1902 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1903 * bookmark.el (bookmark-bmenu-mode-map):
1904 * help-mode.el (help-mode-map): Move initialization into declaration.
1906 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1908 * net/rcirc.el: Add PRIVMSG and CTCP functions.
1909 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1910 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1911 (rcirc-cmd-me, rcirc-authenticate): Use them.
1913 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
1915 * allout.el: Synopsis: Change allout user configuration so
1916 auto-activation is controlled solely by customization
1917 `allout-auto-activation'.
1919 (allout-auto-activation-helper, allout-setup): New autoloads
1920 implement new custom set procedure for allout-auto-activation.
1921 Also, explicitly invoke (allout-setup) after allout-auto-activation
1922 is custom-defined, to affect the settings in emacs sessions besides
1923 the few where allout-auto-activation customization is done.
1924 (allout-auto-activation): Use allout-auto-activation-helper to
1925 :set. Revise the docstring.
1926 (allout-init): Reduce functionality to just customizing
1927 allout-auto-activation, and mark obsolete.
1928 (allout-mode): Respect string values for allout-auto-activation.
1929 Run allout-after-copy-or-kill-hook without any args.
1930 (allout-mode, allout-layout, allout-default-layout)
1931 (outlineify-sticky): Adjust docstring for new scheme.
1932 (allout-after-copy-or-kill-hook): No arguments - hook implementers
1933 should concentrate on the kill ring.
1935 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
1937 * password-cache.el (password-cache-remove): Accept secrets that are
1940 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1942 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
1943 of here-doc that immediately follows a comment.
1945 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1947 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
1949 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
1951 (rcirc-ctcp-sender-PING): New function.
1953 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1955 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
1956 Remove the mark/nomark handling, and activate shift-select-mode instead.
1958 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
1960 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
1962 * calc/calc-units.el (math-logunits-quant): Add support for
1963 non-logarithmic units.
1965 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
1967 * allout.el (allout-after-copy-or-kill-hook): New hook for
1968 extension-specific processing of killed text.
1969 (allout-mode): Include new allout-after-copy-or-kill-hook among
1971 (allout-kill-line, allout-kill-topic): Ensure that processing
1972 after kill happens even if barf-if-buffer-read-only is raised.
1973 Include new allout-after-copy-or-kill-hook among that subsequent
1975 (allout-deannotate-hidden): Actually remove the annotation text
1978 * allout.el (allout-listify-exposed): Copy text sans text properties.
1980 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
1982 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
1984 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1986 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
1988 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
1990 * calc/calc.el (calc-logunits-field-reference): Rename from
1991 `calc-default-field-reference-level'.
1992 (calc-logunits-power-reference): Rename from
1993 `calc-default-power-reference-level'.
1995 * calc/calc-units.el (math-logunits-quant): Rename from
1996 `math-logunits-level'
1997 (math-logunits-plus): Rename from math-logcombine.
1998 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
1999 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
2000 (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
2002 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
2003 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
2004 (calc-logunits-quantity): Rename from `calc-level'.
2005 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
2006 (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
2007 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
2008 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
2009 (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
2012 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
2013 (calc-ul-prefix-help): Remove.
2014 (calc-l-prefix-help): New function.
2015 (calc-full-help): Add reference to `calc-l-prefix-help'.
2017 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
2019 * calc/README: Mention logarithmic units.
2021 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
2023 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
2024 non-ASCII characters (Bug#7925).
2026 2011-02-05 Glenn Morris <rgm@gnu.org>
2028 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
2030 * calendar/diary-lib.el (diary-font-lock-keywords):
2031 Tweak diary-time-regexp match. (Bug#7891)
2033 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
2034 (f90-mode): Use it for mode's `find-tag-default-function' property.
2036 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
2038 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
2040 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2042 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
2045 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
2047 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
2048 font-lock-syntax-table remappings.
2049 (sh-here-doc-markers, sh-here-doc-re): Remove.
2050 (sh-font-lock-close-heredoc): Remove.
2051 (sh-syntax-propertize-here-doc): New function.
2052 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
2053 instead of the sh-here-doc-re.
2054 (sh-font-lock-paren): Don't do anything in comments or strings.
2055 Handle line continuations. Accept a few more chars.
2056 Don't rely on the font-lock-syntax-table remappings.
2057 `esac' is not a valid pattern.
2058 (sh-syntax-propertize-function): Handle here-docs differently, so we
2059 don't bother syntax-propertizing the insides.
2061 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
2062 Handle new bashisms ";&" and ";;&" (bug#7947).
2064 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
2066 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
2067 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
2069 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
2071 * net/tramp.el (tramp-postfix-method-format)
2072 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
2073 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
2074 (tramp-postfix-user-regexp, tramp-prefix-port-format)
2075 (tramp-prefix-port-regexp, tramp-postfix-host-format)
2076 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
2079 2011-02-04 Sam Steingold <sds@gnu.org>
2081 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
2083 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
2085 * international/mule-util.el (with-coding-priority): Doc fix.
2087 2011-02-04 Eli Zaretskii <eliz@gnu.org>
2089 * arc-mode.el (archive-mode-map): Fix a typo in last change.
2091 2011-02-03 Sam Steingold <sds@gnu.org>
2093 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2094 Do not error out when `func' is nil.
2096 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
2098 * net/tramp-sh.el (tramp-remote-path): Add default settings for
2099 `tramp-default-remote-path' to the docstring.
2100 (tramp-get-remote-path): Suppress error message when `getconf
2103 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
2105 2011-02-03 Glenn Morris <rgm@gnu.org>
2107 * vc/vc-hg.el (vc-hg-command): Doc fix.
2109 * term/w32-win.el (libpng-version): Declare for compiler.
2111 * msb.el: No need to load dired while compiling.
2113 * emacs-lisp/elint.el (elint-standard-variables):
2114 Remove a couple of built-ins that now have doc-strings.
2116 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
2117 `require' is automatically `eval-and-compile'd.
2119 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
2120 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
2122 * strokes.el (strokes-fill-current-buffer-with-whitespace):
2123 Move definition before use.
2124 (strokes-report-bug): Make it obsolete.
2126 2011-02-02 Sam Steingold <sds@gnu.org>
2128 * apropos.el (apropos-print): Now that `apropos-mode' inherits
2129 from `special-mode', entering it makes the buffer read-only, so
2130 call it only when everything has been already inserted.
2131 * emacs-lisp/ert.el (ert--setup-results-buffer)
2132 (ert-results-pop-to-backtrace-for-test-at-point)
2133 (ert-results-pop-to-messages-for-test-at-point)
2134 (ert-results-pop-to-timings): Ditto.
2135 * emacs-lisp/package.el (package--list-packages): Ditto.
2136 * play/solitaire.el (solitaire): Ditto.
2138 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
2140 * progmodes/compile.el: Make all faces inherit.
2141 (compilation-warning): Inherit from font-lock-variable-name-face.
2142 (compilation-info): Inherit from font-lock-type-face.
2143 (compilation-line-number): Reassign to font-lock-keyword-face.
2144 (compilation-column-number): Reassign to font-lock-doc-face.
2145 (compilation-leave-directory-face): Reassign to
2146 font-lock-builtin-face.
2148 2011-02-02 Eli Zaretskii <eliz@gnu.org>
2150 * dired.el (dired-insert-directory): Don't invoke `ls' when
2151 ls-lisp.el is used to emulate it.
2153 2011-02-01 Julien Danjou <julien@danjou.info>
2155 * color.el (color-gradient): Add a color-gradient function.
2157 2011-02-01 Sam Steingold <sds@gnu.org>
2159 * simple.el (special-mode-map): Bind "h" to `describe-mode';
2160 bind "z" to `kill-this-buffer'.
2161 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
2162 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
2163 (apropos-mode): Inherit from `special-mode'.
2164 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
2165 * bookmark.el (bookmark-bmenu-mode): Define using
2166 `define-derived-mode' inheriting from `special-mode'.
2167 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
2168 * image-mode.el (image-mode-map): Ditto.
2169 * replace.el (occur-mode): Define using
2170 `define-derived-mode' inheriting from `special-mode'.
2171 * tar-mode.el (tar-mode): Inherit from `special-mode'.
2172 * calendar/diary-lib.el (diary-fancy-display-mode):
2173 Inherit from `special-mode-map'.
2174 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
2175 Inherit from `special-mode'.
2176 * emacs-lisp/package.el (package-menu-mode-map): Copy from
2178 (package-menu-mode): Define using `define-derived-mode'
2179 inheriting from `special-mode'.
2180 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
2181 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
2182 (xesam-mode-map): Define separately.
2183 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
2184 * progmodes/compile.el (compilation-minor-mode-map)
2185 (compilation-mode-map): Inherit from `special-mode-map'.
2186 * vc/diff-mode.el (diff-mode-shared-map):
2187 Inherit from `special-mode-map'.
2188 * vc/log-view.el (log-view-mode-map): Add a comment.
2190 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
2192 * custom.el (load-theme): Define return value. Drop use of
2193 unsafep; call custom-theme-load-confirm for non-known-safe themes.
2194 (custom-theme-load-confirm): Scroll in the correct window.
2195 (custom-enabled-themes): Add custom-safe-themes to :set-after.
2197 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
2198 checkbox if load-theme fails.
2200 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2202 * progmodes/compile.el (compilation-next-error): Check there's
2203 a message before using it (bug#7941).
2205 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
2207 * calc/calc-mtx.el (math-lud-pivot-check): New function.
2208 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
2209 of potential pivots.
2211 2011-01-31 Alan Mackenzie <acm@muc.de>
2213 * progmodes/cc-cmds.el (c-forward-over-illiterals):
2214 Continue parsing if we encounter a naked # (Bug#7595).
2215 (c-beginning-of-statement): Avoid loop in locating the beginning
2216 of a macro. (Not actually committed until 2011-02-20, see above).
2218 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2220 * files.el (copy-directory): Fix arguments to recursive call.
2222 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2224 * files.el (copy-directory): If destination is an existing
2225 directory, copy into a subdirectory there.
2227 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
2229 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
2232 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2234 * image-dired.el (image-dired-mouse-display-image): No-op if no
2235 file is found (Bug#7817).
2237 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
2239 2011-01-31 Kenichi Handa <handa@m17n.org>
2241 * international/quail.el (quail-keyboard-layout-alist):
2242 Remove superfluous SPC for "pc105-uk" (bug#7927).
2244 2011-01-31 Glenn Morris <rgm@gnu.org>
2246 * msb.el (msb-menu-bar-update-buffers): Update for changed
2247 argument handling of menu-bar-select-frame. (Bug#7902)
2249 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
2251 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
2252 to the recursion depth (Bug#7722).
2254 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
2256 * term/ns-win.el (ns-find-file): Expand ns-input-file with
2257 command-line-default-directory (Bug#7872).
2259 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2261 * progmodes/compile.el (compilation--flush-directory-cache):
2262 New function, extracted from compilation--remove-properties.
2263 (compilation--remove-properties, compilation--parse-region): Use it.
2264 (compilation--previous-directory): Handle one more case.
2265 (compilation-enable-debug-messages): Remove.
2266 (compilation-parse-errors, compilation--flush-parse): Just remove the
2267 left over debug messages.
2269 2011-01-31 Sam Steingold <sds@gnu.org>
2271 * progmodes/compile.el (compilation-enable-debug-messages):
2272 Add a variable to make the parsing messages introduced in
2273 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
2274 (compilation-parse-errors, compilation--flush-parse): Use it.
2276 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2278 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
2279 (rcirc-nick-completion-format): New defcustom.
2280 (rcirc-complete): Use it.
2282 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2284 * net/rcirc.el: Clean log filenames (Bug#7933).
2285 (rcirc-log-write): Use convert-standard-filename.
2286 (rcirc-log-filename-function): Documentation updates.
2288 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
2290 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
2291 Check report-emacs-bug-can-use-osx-open and use that if t.
2292 (report-emacs-bug-can-use-osx-open): New function.
2293 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
2294 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
2296 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
2298 * vc/vc-dispatcher.el (vc-set-async-update): New function for
2299 updating Dired or VC-dir buffers after async command completes.
2301 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
2302 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
2304 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
2305 completions if it exists. Use vc-set-async-update.
2306 (vc-git-pull): Use vc-set-async-update.
2308 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
2309 read-shell-command. Use vc-set-async-update.
2310 (vc-hg-merge-branch): Use vc-set-async-update.
2312 2011-01-29 Daiki Ueno <ueno@unixuser.org>
2314 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
2315 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
2318 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
2320 * progmodes/compile.el: Avoid an N² behavior in grep.
2321 (compilation--previous-directory): New fun.
2322 (compilation--previous-directory-cache): New var.
2323 (compilation--remove-properties): Flush it.
2324 (compilation-directory-properties, compilation-error-properties):
2325 Use the new fun to speed up looking for the current directory.
2327 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
2329 * vc/vc-hg.el (vc-hg-history): New var.
2330 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
2331 (vc-hg-merge-branch): New function.
2333 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
2334 the other way around.
2336 * vc/vc-git.el (vc-git-branches, vc-git-pull)
2337 (vc-git-merge-branch): New functions.
2338 (vc-git-history): New var.
2340 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2342 * vc/vc-dispatcher.el (vc-do-async-command): New function.
2344 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
2345 vc-do-async-command.
2347 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
2350 2011-01-28 Leo <sdl.web@gmail.com>
2352 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
2353 highlighting to the "this function is advised" message.
2355 * help-mode.el (help-mode-finish): Apply highlighting here, to
2356 avoid clobbering by substitute-command-keys (Bug#6304).
2358 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2360 * woman.el (woman0-roff-buffer): Process roff escape sequences
2361 occurring prior to the first request (Bug#7843).
2363 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2365 * progmodes/compile.el: Don't use font-lock any more.
2366 (compilation-error-regexp-alist-alist): Change handling of makepp
2367 so it preserves the warning/error distinction on subsequent files.
2368 Simplify various rules.
2369 (compilation-directory-properties): Use font-lock-face.
2370 Add a compilation-message property.
2371 (compilation-internal-error-properties): Use font-lock-face.
2372 Don't set the compilation-debug property here.
2373 (compilation--put-prop, compilation--remove-properties)
2374 (compilation--parse-region, compilation--ensure-parse)
2375 (compilation--ensure-parse): New functions.
2376 (compilation-parse-errors): New function, largely inspired of
2377 compilation-mode-font-lock-keywords. Set compilation-debug here.
2378 (compilation--parsed): New var.
2379 (compilation--flush-parse): Use compilation--ensure-parse.
2380 (compilation-start): Don't call font-lock.
2381 (compilation-turn-on-font-lock): Remove.
2382 (compilation-setup): Don't set font-lock-extra-managed-props not change
2383 other font-lock settings, other than keywords.
2384 Don't activate font-lock-mode.
2385 Set change-major-mode-hook and before-change-functions.
2386 (compilation--unsetup): Remove properties and hooks.
2387 (compilation-next-single-property-change): New function.
2388 (compilation-next-error): Use it to parse when needed.
2389 (compile-goto-error): Parse buffer as needed.
2390 (compilation--compat-error-properties): Don't need a dummy `face'
2393 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2395 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
2396 (compilation-process-setup-function): Fix docstring's false promises.
2397 (compilation-error-regexp-alist-alist): Catch omake's continuous
2398 recompilation message and avoid reuse of old markers.
2399 (compilation-parse-errors-function): Declare obsolete.
2400 (compilation-buffer-modtime): Remove.
2401 (compilation--make-cdrloc, compilation--loc->col)
2402 (compilation--loc->line, compilation--loc->file-struct)
2403 (compilation--loc->marker, compilation--loc->visited)
2404 (compilation--make-file-struct, compilation--file-struct->file-spec)
2405 (compilation--file-struct->formats)
2406 (compilation--file-struct->loc-tree): New macros. Use them.
2407 (compilation--message): New defstruct. Use them.
2408 (compilation-next-error-function): Don't mess with timestamps to try
2409 and guess when to reparse.
2411 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2413 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
2414 (tex-old-error-file-name): New function,
2415 extracted from tex-compilation-parse-errors.
2416 (tex-compilation-parse-errors): Remove.
2417 (tex-error-regexp-alist): New var.
2418 (tex-shell): Use it to avoid compilation-parse-errors-function.
2420 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
2421 (grep-mode-font-lock-keywords): Remove regexp that seems like
2422 a left-over from before we used compile.el.
2423 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
2424 modifying the buffer within with-silent-modifications.
2426 * progmodes/compile.el: Cleanup text-properties namespace by using
2427 `compilation-message' instead of `message', `compilation-directory'
2428 instead of `directory', and `compilation-debug' instead of `debug'.
2429 (compilation-last-buffer, compilation-parsing-end)
2430 (compilation-error-list, compilation-old-error-list): Move to the
2431 compatibility part of the code.
2432 (compilation-error-properties): If `file' is a function, let it return
2434 (compilation-mode-font-lock-keywords): Be more conservative with the
2435 omake "^ *" pattern prefix, to try and minimize the risk of
2436 pathologically slow regexp matching.
2437 (compilation-start): Use inhibit-read-only.
2438 (compilation--unsetup): New function.
2439 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
2440 (compilation-filter): Minor tweaks.
2441 (compilation-next-error-function): Try and avoid abusing variables.
2442 (compilation--flush-file-structure): New fun.
2443 (compilation-fake-loc): Use it to improve behavior when file is reused.
2444 (debug-ignored-errors): Add "Moved past last ...".
2445 (compilation--compat-error-properties)
2446 (compilation--compat-parse-errors): Rename by doubling the "-".
2448 Port features from the previous prolog.el to the new one.
2449 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
2450 (prolog-program-name, prolog-program-switches, prolog-consult-string)
2451 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
2452 variable and use a function to compute the value dynamically.
2453 (prolog-prompt-regexp): Add regexp for GNU Prolog.
2454 (prolog-continued-prompt-regexp): Remove, unused.
2455 (prolog-find-value-by-system): Try and use the value of prolog-system
2456 in the *prolog* buffer if it helps.
2457 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
2458 (prolog-zip-on): ..and check prolog-system and version here instead.
2459 (prolog-inferior-self-insert-command): New command.
2460 (prolog-inferior-mode-map): Use it.
2461 (prolog-inferior-error-regexp-alist): New var.
2462 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
2463 (prolog-input-filter): Use derived-mode-p.
2464 (prolog-inferior-guess-flavor): New function.
2465 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
2466 make-comint to avoid running comint-mode twice.
2467 (prolog-inferior-buffer): New fun.
2468 (prolog-old-process-region, prolog-old-process-file):
2469 Don't call prolog-bsts here...
2470 (prolog-build-prolog-command): ...do it here instead.
2471 (prolog-old-process-region, prolog-old-process-file):
2472 Use compilation-fake-loc and compilation-forget-errors.
2473 (prolog-consult-compile-region): Use bolp.
2475 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2477 * image-mode.el (image-display-size): Doc fix (Bug#7820).
2479 2011-01-27 Sam Steingold <sds@gnu.org>
2481 * midnight.el (clean-buffer-list-kill-never-buffer-names):
2482 Remove "*server*" which is never created by emacs server.
2484 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2486 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
2487 there are some diff switches.
2489 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
2491 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2492 Copy change made to ruby-font-lock-syntactic-keywords.
2494 * htmlfontify.el: Make it obey the font-lock-face text property.
2495 Miscellaneous cleanup such as:
2496 - Don't hide expressions after a closing paren.
2497 - Move initial setq into let.
2498 - Hoist common parts out of ifs.
2499 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
2500 (hfy-face-at): Use get-text-property instead.
2501 (hfy-prop-invisible-p): Use invisible-p if available.
2502 (htmlfontify-manual): Use \\[...].
2503 (hfy-html-quote-regex): Use [...].
2504 (hfy-combined-face-spec): Simplify.
2505 (hfy-compile-face-map): Don't presume point-min==1.
2506 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
2507 match end of string.
2508 (hfy-text-p): η-reduce.
2509 (hfy-tags-for-file): Receive cache-hash directly.
2510 (hfy-mark-tag-names): Adjust call.
2512 2011-01-27 Glenn Morris <rgm@gnu.org>
2514 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
2515 (msb-after-load-hook): Remove eval-after-load wackiness.
2517 2011-01-25 Sam Steingold <sds@gnu.org>
2519 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
2520 literal "diff" (important for windows-nt).
2522 2011-01-25 Glenn Morris <rgm@gnu.org>
2524 * emacs-lisp/copyright.el (copyright-at-end-flag)
2525 (copyright-names-regexp): Add safety properties.
2526 (copyright-year-ranges): New option.
2527 (copyright-find-end): New function, split from copyright-update-year.
2528 (copyright-update-year): Use copyright-find-end.
2529 (copyright-fix-years): Optionally, convert years to ranges.
2530 Handle years continued over comment lines.
2531 Do not mess with the fill-prefix.
2532 Do not call copyright-update.
2533 (copyright-update-directory): Optionally, fix years rather than update.
2534 Skip directories. Find files with only safe local vars.
2536 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
2538 * files.el (file-name-non-special): Only change buffer-file-name after
2539 insert-file-contents if it's `visit'ing the file (bug#7854).
2541 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
2543 * dired.el (dired-revert): Doc fix (Bug#7758).
2545 * simple.el (line-move-visual): Doc fix (Bug#7594).
2547 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
2549 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
2550 here-doc which ends with an underscore.
2551 (ruby-mode-set-encoding): Skip shebang line always.
2552 (ruby-mode-map): Bind C-c C-c to comment-region.
2553 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
2554 (ruby-forward-sexp): Stop after literal hash key labels.
2555 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
2558 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
2560 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
2561 the correct buffer (Bug#7650).
2563 2011-01-25 Glenn Morris <rgm@gnu.org>
2565 * comint.el (comint-mode): Doc fix. (Bug#7897)
2567 * simple.el (do-auto-fill): Give it a doc string.
2569 * button.el (make-text-button): Doc fix. (See bug#7881)
2571 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
2573 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2574 Don't move backward, so as not to fall in an inf-loop (bug#7736).
2576 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
2577 Handle ?" and friends differently (e.g. don't use backrefs).
2579 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
2581 * calc/calc.el (calc-default-power-reference-level)
2582 (calc-default-field-reference-level): New variables.
2583 * calc/calc-units.el (math-standard-units): Add dB and Np.
2584 (math-logunits): New variable.
2585 (math-extract-logunits, math-logcombine, calcFunc-luplus)
2586 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
2587 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
2589 (math-find-base-units-rec): Add entry for ln(10).
2590 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
2591 (calc-ul-prefix-help): New function.
2592 * calc/calc-ext.el (calc-init-extensions): Autoload new units
2593 functions. Add keybindings for new units functions.
2595 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
2597 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
2598 rcirc buffers. (Bug#4940)
2600 2011-01-22 Glenn Morris <rgm@gnu.org>
2602 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
2603 split out from copyright-update-year.
2604 (copyright-update): Don't mess with the GPL version if we don't own the
2605 copyright. Update license regexp, and remove no longer needed
2607 (copyright-fix-years): Use copyright-find-copyright.
2609 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2611 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
2613 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2615 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
2616 (lm): Rename to landmark.
2617 (lm-test-run): Rename to landmark-test-run.
2619 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2621 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
2622 "Case sensitive" menu item.
2624 2011-01-22 Roland McGrath <roland@frob.com>
2626 * comint.el (comint-replace-by-expanded-history-before-point): Fix
2627 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
2629 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2631 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
2633 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2635 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2636 Assume foo(bar) is a manpage reference rather than some unquoted
2639 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2641 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
2642 Suggested by Flo <sensorflo@gmail.com>.
2644 2011-01-22 Glenn Morris <rgm@gnu.org>
2646 * progmodes/compile.el (compilation-error-regexp-alist):
2647 Fix custom type. (Bug#7812)
2649 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
2651 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
2652 allout-number-siblings, in keeping with what obtained due to
2653 (now-defunct) allout-keybindings-list. Ditch repeat binding to
2655 (allout-before-change-handler): Better expose spots affected by
2658 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2660 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
2662 2011-01-22 Phil Hagelberg <phil@evri.com>
2664 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
2665 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
2666 (pcmpl-ssh-config-hosts): New function.
2667 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
2668 pcmpl-ssh-known-hosts.
2670 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2672 * calc/calc-undo.el (calc-undo): Autoload it.
2673 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
2674 and autoload for `calc-undo'.
2675 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
2676 * calc/calc-prog.el:
2677 * calc/calc-graph.el:
2678 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2680 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
2682 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
2683 keybindings to `calc-undo'.
2685 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2687 Don't mess with *temp*.
2688 * obsolete/spell.el: Move from textmodes/spell.el.
2690 * term.el (term-read-input-ring):
2691 * startup.el (display-startup-echo-area-message):
2692 * progmodes/antlr-mode.el (antlr-directory-dependencies):
2693 * comint.el (comint-read-input-ring): Use with-temp-buffer.
2694 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
2697 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
2699 * allout.el (allout-institute-keymap): Use fset instead of
2700 reapplying defalias.
2702 (allout-hotspot-key-handler): Check for non-control-modified
2703 bindings for hotspot characters if there are no control-modified
2706 * allout.el: Summary - migrate to defining allout mode using
2707 define-minor-mode instead of defun. Significantly clean-up
2708 internal keymap provisions, refactoring and, in the process,
2709 removing a lot of accumulated cruft.
2711 allout-mode-map is now a keymap by virtue of being a defalias to
2712 allout-mode-map-value, which contains the actual keymap structure.
2714 (allout-mode): Use define-minor-mode rather than defun.
2715 Remove now-unnecessary minor-mode setup activities from the body.
2716 Specify :keymap as allout-mode-map so the minor-mode-map-alist
2717 entry will be '(allout-mode . allout-mode-map) - see
2718 allout-mode-map-value, below. Adjust docstring to track changes.
2719 (allout-minor-mode): Remove this defalias, now that we're using
2721 (allout-mode-map): Set value to be 'allout-mode-map. The actual
2722 keymap is allout-mode-map-value, via defalias.
2723 (allout-mode-map-value): The variable holding the actual mode
2724 keymap structure, by virtue of defalias from allout-mode-map.
2725 (allout-compose-and-institute-keymap): Rename from
2726 allout-bind-keys, and including the binding-composition
2727 functionality of the former produce-allout-mode-map and
2728 allout-setup-mode-map.
2729 (allout-institute-keymap): Take over the "setup" part of the former
2730 allout-setup-mode-map. Reassign allout-mode-map-value value and
2731 update the defalias.
2732 (allout-command-prefix, allout-prefixed-keybindings)
2733 (allout-unprefixed-keybindings):
2734 Use allout-compose-and-institute-keymap to process the bindings.
2735 (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
2736 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
2737 user can customize if they want to use that binding.
2738 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
2739 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
2740 elided that, previously, instead of the one for \C-h.)
2741 (allout-hotspot-key-handler): Remove attempt to resolve the key
2742 through the literal key-string lookup on allout-keybindings-list.
2743 That probably hasn't worked for a Long Time, and removal of
2744 allout-keybindings-list further simplifies the keybindings situation.
2745 (allout-pre-command-business): Use allout-mode-map-value instead
2747 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
2748 the bindings if they want to use a keybinding having a trailing
2749 \C-h. No deprecation needed since this feature was never in a release.
2750 (allout-keybindings-list): Remove. It's not been useful for a
2751 while. (See allout-hotspot-key-handler changes, above.)
2752 (produce-allout-mode-map): Remove. Consolidate into
2753 allout-compose-and-institute-keymap.
2754 (allout-mode-map-adjustments): Remove. No longer necessary with
2755 removal of allout-preempt-trailing-ctrl-h.
2756 (allout-setup-mode-map): Remove. Consolidate into
2757 allout-compose-and-institute-keymap and allout-institute-keymap.
2759 2011-01-20 Glenn Morris <rgm@gnu.org>
2761 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2763 * simple.el (read-expression-history): Remove, it's in minibuf.c.
2765 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
2767 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2769 * files.el (find-alternate-file, basic-save-buffer)
2770 (basic-save-buffer-2, revert-buffer, recover-file)
2771 (kill-buffer-ask, abort-if-file-too-large)
2772 (set-visited-file-name, write-file, backup-buffer)
2773 (basic-save-buffer, save-some-buffers):
2774 * dired-aux.el (dired-compress-file): Callers changed.
2776 2011-01-19 Glenn Morris <rgm@gnu.org>
2778 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2779 Also check the property status. (Bug#7861)
2781 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
2783 * net/tramp.el (tramp-debug-message): Extend function exclude
2784 list. Use `regexp-opt'.
2786 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2788 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2789 highlighting doesn't spill over subsequent lines.
2791 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2792 keymap expression. Improve docstring.
2794 * electric.el (electric-indent-post-self-insert-function):
2795 Don't auto-indent for indent-to-left-margin, it's too often
2798 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
2800 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2801 spaces if the frame was resized, so that the full visible buffer
2802 serves as canvas for strokes.
2804 2011-01-16 Glenn Morris <rgm@gnu.org>
2806 * info-xref.el (info-xref-docstrings): Replace cl function.
2807 Also skip directories.
2809 2011-01-16 Kevin Ryde <user42@zip.com.au>
2811 * info-xref.el: Version 3.
2812 (info-xref-check, info-xref-check-all): Move commentary details
2813 into docstrings for better visibility.
2814 Use compilation-mode for the results buffer.
2815 (info-xref-output, info-xref-output-error, info-xref-with-output)
2816 (info-xref-filename, info-xref-in-progress):
2817 New internals for this.
2818 (info-xref-check-list, info-xref-check-buffer)
2819 (info-xref-check-all-custom): Use those.
2820 (info-xref-output-buffer): Rename from info-xref-results-buffer.
2821 (info-xref-output-heading): Rename from info-xref-filename-heading.
2822 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2823 (info-xref-filename-heading): Move to output managing section.
2824 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2825 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2826 (info-xref-subfile-p): Move to generic section with those two.
2827 (info-xref-check-node): New function split from
2828 info-xref-check-buffer, shared by info-xref-docstrings.
2829 (info-xref-goto-node-p): Move to a checking section with that func.
2830 (info-xref-unavail): New counter.
2831 (info-xref-check-node): Use it.
2832 (info-xref-with-output): Show count of unavailables at end of output.
2833 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
2834 symlinks. Exclude .texi files. Exclude Emacs backup files.
2835 (info-xref-check-all-custom): Fix quietening viper-mode and
2836 gnus-registry-install -- use setq not let so as not to unbind
2839 2011-01-16 Juri Linkov <juri@jurta.org>
2841 * isearch.el (isearch-abort): Don't quit if search has
2842 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
2844 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
2846 * files.el (backup-buffer): Make last-resort backup file in
2847 .emacs.d (Bug#6953).
2849 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2850 make it with permission 700.
2852 2011-01-15 Kenichi Handa <handa@m17n.org>
2854 * mail/rmailmm.el (rmail-mime-insert-header):
2855 Set rmail-mime-coding-system to a cons whose car is the last coding
2856 system used to decode the header.
2857 (rmail-mime-find-header-encoding): New function.
2858 (rmail-mime-insert-decoded-text):
2859 Override rmail-mime-coding-system if it is a cons.
2860 (rmail-show-mime): If only a header part was decoded, find the
2861 coding system while ignoring mm-charset-override-alist.
2863 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
2865 * subr.el (event-start, event-end): Doc fix (Bug#7826).
2867 2011-01-15 Kenichi Handa <handa@m17n.org>
2869 * mail/rmailmm.el (rmail-mime-next-item)
2870 (rmail-mime-previous-item): Delete them.
2871 (rmail-mime-shown-mode): Recursively call for children.
2872 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2874 (rmail-mime-raw-mode): Recursively call for children.
2875 (rmail-mode-map): Change mapping of tab and backtab to
2876 forward-button and backward-button respectively.
2877 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2879 (rmail-mime-update-tagline): New function.
2880 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2881 body display is changed.
2882 (rmail-mime-toggle-button): Rename from rmail-mime-image.
2883 (rmail-mime-image): Delete this button type.
2884 (rmail-mime-toggle): New button type.
2885 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2886 body display is changed. Change the save button label to "Save".
2887 Don't process show/hide button here.
2888 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2889 the body display is changed. Unconditionally call
2890 rmail-mime-insert for children.
2891 (rmail-mime-handle): Update `display' vector of the just inserted
2893 (rmail-mime-process): If mail-header-parse-content-type returns
2894 nil, use "text/plain" as the fallback type.
2895 (rmail-mime-insert): For raw-mode, recursively call
2896 rmail-mim-insert for children.
2897 (rmail-mime): Handle the case that the current buffer is not rmail
2898 buffer (e.g. in summary buffer).
2900 2011-01-15 Kenichi Handa <handa@m17n.org>
2902 * mail/rmailmm.el (rmail-mime-next-item)
2903 (rmail-mime-previous-item): Skip the body of a non-multipart
2904 entity if a tagline is shown.
2906 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2908 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2909 (tmm-prompt): Simplify.
2910 (tmm-add-prompt): Remove unused var `win'.
2912 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2913 to minor mode which used nil accidentally to mean "turn off".
2915 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2917 * net/tramp-sh.el (tramp-find-inline-compress)
2918 (tramp-get-inline-coding): Quote command after pipe symbol for
2919 local calls under W32. (Bug#6784)
2921 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2923 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
2924 only when running under W32.
2926 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2928 * progmodes/grep.el (grep-compute-defaults): Quote the program
2929 file name after the pipe symbol in Grep templates. (Bug#6784)
2930 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
2932 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
2934 * buff-menu.el (Buffer-menu-buffer-list): New var.
2935 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
2936 restricted buffer list is not lost on revert (Bug#7749).
2938 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
2940 * net/ldap.el (ldap-search-internal): Discard stderr output.
2942 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2944 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
2946 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2948 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
2950 2011-01-15 Kenichi Handa <handa@m17n.org>
2952 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
2953 part as a plain text.
2954 (rmail-mime-process-multipart): Set the default content-type to
2955 nil for unknown multipart subtypes (bug#7651).
2957 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2959 * hexl.el (hexl-mode-old-*): Remove.
2960 (hexl-mode--old-var-vals): New var to replace them.
2961 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
2962 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
2963 Use them to set local vars (bug#7846).
2964 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
2965 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
2966 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
2968 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
2969 (smerge-resolve--normalize-re): New var.
2970 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
2971 (smerge-resolve): Use them.
2972 * newcomment.el (comment-only-p): New function.
2973 (comment-or-uncomment-region): Use it.
2975 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
2977 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
2978 table, get the value before switching to the output buffer. (Bug#7733)
2980 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2982 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
2984 2011-01-14 Kim F. Storm <storm@cua.dk>
2986 * emulation/cua-base.el (cua--init-keymaps):
2987 Remap exchange-point-and-mark in cua-global-keymap.
2989 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
2991 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
2994 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2996 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
2998 (easy-menu-create-menu, easy-menu-convert-item-1):
2999 Use :label rather than nil for labels. Use `case'.
3000 Add :enable as alias for :active.
3001 (easy-menu-binding): Obey :label.
3003 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3005 Use run-mode-hooks for major mode hooks (bug#513).
3006 * textmodes/reftex-toc.el (reftex-toc-mode-map):
3007 Rename from reftex-toc-map.
3008 (reftex-toc-mode): Use define-derived-mode.
3009 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
3010 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
3011 Rename from reftex-select-(label|bib)-map. Move init into declaration.
3012 (reftex-select-label-mode, reftex-select-bib-mode):
3013 Use define-derived-mode.
3014 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
3015 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
3016 Move init into delcaration.
3017 (reftex-index-mode, reftex-index-phrases-mode):
3018 Use define-derived-mode.
3019 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
3020 speedbar-syntax-table. Move init into declaration.
3021 (speedbar-mode-map): Rename from speedbar-key-map.
3022 Move init into declaration.
3023 (speedbar-file-key-map): Move init into declaration.
3024 (speedbar-mode): Use define-derived-mode.
3025 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
3026 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
3027 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
3028 (chart-face-list): Move initialization into declaration.
3029 (chart-mode): Use define-derived-mode.
3030 * calculator.el (calculator-mode-map): Move init into declaration.
3031 (calculator-mode): Use define-derived-mode.
3033 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
3034 work for nested comments.
3036 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
3037 (prolog-use-prolog-tokenizer-flag): Change default when
3038 syntax-propertize can be used.
3039 (prolog-syntax-propertize-function): New var.
3040 (prolog-mode-variables): Move make-local-variable into `set'.
3041 Don't make comment-column local since we don't set it.
3042 Set comment-add (as it was in previous prolog.el). Use dolist.
3043 Set syntax-propertize-function.
3044 (prolog-mode, prolog-inferior-mode):
3045 Call prolog(-inferior)-menu directly, not through the mode-hook.
3046 (prolog-buffer-module, prolog-indent-level)
3047 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
3048 (prolog-comment-limits, prolog-goto-comment-column):
3049 Use line-(end|beginning)-position.
3050 (prolog-build-prolog-command): Tighten up regexp.
3051 (prolog-consult-compile): Move make-local-variable into `set'.
3052 (prolog-consult-compile-filter, prolog-goto-next-paren)
3053 (prolog-help-on-predicate, prolog-clause-info)
3054 (prolog-mark-predicate): Don't let+setq.
3055 (prolog-indent-line): Use indent-line-to.
3056 Only call prolog-goto-comment-column if necessary.
3057 (prolog-indent-level): Use bobp.
3058 (prolog-first-pos-on-line): Remove, not used any more.
3059 (prolog-in-string-or-comment): Use syntax-ppss if available.
3060 (prolog-help-on-predicate): Use read-string.
3061 (prolog-goto-predicate-info): Simplify.
3062 (prolog-read-predicate): Use `default' rather than `initial'.
3063 (prolog-temporary-file): Use make-temp-file to close a security hole.
3064 (prolog-toggle-sicstus-sd): New command.
3065 (prolog-electric-underscore, prolog-variables-to-anonymous):
3066 Use dynamic-scoping as it was meant.
3067 (prolog-menu): Move menu definitions to top-level.
3068 Use a toggle-button for Sicstus's source debugger.
3069 Change "Code" to the more usual "Prolog", and hence change "Prolog"
3071 (prolog-inferior-menu): Reuse prolog-menu's help menu.
3072 Move other menu definition to top-level.
3074 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
3076 * doc-view.el (doc-view-open-text): Use meaningful text buffer
3077 name. Keep original document's directory as default-directory
3079 (doc-view-initiate-display): Fall back to normal mode when
3080 doc-view-mode cannot be enabled, also when extracting the document
3081 text into a separate buffer (bug#6446).
3083 * simple.el (shell-command): Don't error out if shell command
3084 buffer contains text with non-nil read-only property when erasing
3087 2011-01-13 Kim F. Storm <storm@cua.dk>
3089 * ido.el (ido-may-cache-directory): Move "too-big" check later.
3090 (ido-next-match, ido-prev-match): Fix stray reordering of matching
3091 items when cycling through the matches.
3093 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
3095 * dired-x.el (dired-omit-verbose): New defcustom that allows
3096 disabling the omit messages.
3097 (dired-omit-expunge): Use it.
3099 2011-01-13 Christian Ohler <ohler@gnu.org>
3101 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
3103 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
3105 * font-lock.el (font-lock-verbose): Default to nil.
3107 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
3109 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
3110 (compose-mail): New arg RETURN-ACTION.
3111 (compose-mail-other-window, compose-mail-other-frame): Likewise.
3113 * mail/sendmail.el (mail-return-action): New var.
3114 (mail-mode): Make it buffer-local.
3115 (mail-bury): Obey it. Move special Rmail window handling to
3117 (mail, mail-setup): New arg RETURN-ACTION.
3118 (sendmail-user-agent-compose): Move from simple.el.
3120 * mail/rmail.el (rmail-mail-return): New function.
3121 (rmail-start-mail): Pass it to compose-mail.
3123 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
3125 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
3126 menus. Add menu item for customize-themes.
3128 * cus-theme.el (customize-themes):
3129 * emacs-lisp/package.el (package--list-packages):
3130 Use switch-to-buffer.
3132 2011-01-11 Johan Bockgård <bojohan@gnu.org>
3134 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
3136 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
3138 * progmodes/prolog.el: Fix up coding convention and such.
3139 (prolog-indent-width): Use the same default as in
3140 previous prolog.el rather than tab-width which depends on which buffer
3141 is current when the file is loaded.
3142 (prolog-electric-newline-flag): Only enable if electric-indent-mode
3144 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
3145 (prolog-known-systems): Remove.
3146 (prolog-mode-syntax-table, prolog-inferior-mode-map):
3147 Move initialization into declaration.
3148 (prolog-mode-map): Move initialization into declaration.
3149 Remove system-specific mode-map vars, since they referred to the same
3151 (prolog-mode-variables): Obey the user's preference w.r.t
3152 adaptive-fill-mode. Prefer symbol-value to `eval'.
3153 (prolog-mode-keybindings-edit): Add compatibility bindings.
3154 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
3155 (mercury-mode-map): New var.
3156 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
3157 (prolog-ensure-process, prolog-process-insert-string)
3158 (prolog-consult-compile): Use with-current-buffer.
3159 (prolog-guess-fill-prefix): Simplify data flow.
3160 (prolog-replace-in-string): New function to use instead of
3162 (prolog-enable-sicstus-sd): Don't abuse `eval'.
3163 (prolog-uncomment-region): Use `uncomment-region' when available.
3164 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
3165 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
3166 of int-to-char and char-to-int.
3167 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
3169 2011-01-11 Stefan Bruda <stefan@bruda.ca>
3171 * progmodes/prolog.el: Replace by a whole new file.
3173 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
3175 * subr.el (eval-after-load): Fix timing for features (bug#7769).
3176 (declare-function, undefined, insert-for-yank)
3177 (replace-regexp-in-string): Follow checkdoc's recommendations.
3179 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3181 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
3182 refreshing the diary buffer.
3184 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
3186 * allout.el: Add 2011 to the file copyright.
3187 (allout-encrypt-string): Prevent encryption from adding an extra
3188 newline at the end of the topic body.
3189 (allout-version): Increment to 2.3.
3191 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
3193 * net/dbus.el (dbus-unregister-service): Complete doc.
3194 Fix call of dbus-error signal.
3195 (dbus-register-property): Use `dont-register' keyword.
3197 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
3199 * net/dbus.el (dbus-unregister-service): Translate returned
3200 integer into a symbol.
3201 (dbus-register-property): Use `dbus-register-service' to do the
3204 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
3206 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
3207 Suggested by Joakim Verona.
3209 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
3211 * wid-edit.el (visibility): Replace :on-image and :off-image
3212 widget properties with :on-glyph and :off-glyph, for consistency
3213 with the `visibility' widget.
3214 (widget-toggle-value-create, widget-visibility-value-create):
3215 Merge into a single function `widget-toggle-value-create'.
3217 * cus-edit.el (custom-variable-value-create, custom-visibility)
3218 (custom-face-edit-value-create, custom-face-value-create):
3219 Replace :on-image and :off-image widget properties with :on-glyph and
3220 :off-glyph, for consistency with the `visibility' widget.
3222 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
3224 * net/ldap.el (ldap-search-internal): Don't use eval.
3226 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
3228 * subr.el (read-char-choice): Use read-key.
3230 * custom.el (custom-safe-themes): Rename from
3231 custom-safe-theme-files. Add :risky tag.
3232 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
3233 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
3235 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
3237 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
3238 from Search and add a label to Undo.
3240 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
3241 inappropriate buttons and adding :vert-only tags.
3243 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
3244 removal of Help tool-bar button. Remove Undo button for space.
3246 * info.el (info-tool-bar-map): Add :vert-only tags.
3248 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
3250 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
3251 image backend support. Either of them is fine.
3253 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
3255 * subr.el (y-or-n-p): Doc fix.
3257 * custom.el (custom-safe-theme-files): New defcustom.
3258 (custom-theme-load-confirm): New function.
3259 (load-theme): Load theme using `load', confirming with
3260 custom-theme-load-confirm if necessary.
3262 * subr.el (read-char-choice): New function, factored out from
3263 dired-query and hack-local-variables-confirm.
3265 * dired-aux.el (dired-query):
3266 * files.el (hack-local-variables-confirm): Use it.
3268 * dired-aux.el (dired-compress-file):
3269 * files.el (abort-if-file-too-large, find-alternate-file)
3270 (set-visited-file-name, write-file, backup-buffer)
3271 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
3272 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
3273 Use new format string args for y-or-n-p and yes-or-no-p.
3275 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
3277 * progmodes/compile.el (compilation-error-regexp-alist-alist)
3278 [gcc-include]: Tighten file name match, add match for column
3280 [gnu]: Remove unused group.
3282 2011-01-08 Glenn Morris <rgm@gnu.org>
3284 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
3286 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
3288 2011-01-07 Sam Steingold <sds@gnu.org>
3290 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
3291 the `explicit-shell-file-name' because that is the
3292 non-interactive shell.
3294 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
3296 * subr.el (y-or-n-p): Accept format string args.
3298 2011-01-07 Glenn Morris <rgm@gnu.org>
3300 * Makefile.in (EMACSOPT): Add --no-site-lisp.
3302 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
3304 * allout.el (allout-back-to-current-heading): Ensure return to
3305 the visible containing topic, rather than a collapsed one.
3306 (allout-view-change-hook): Remove hook that was deprecated long ago.
3307 (allout-exposure-change-hook): Remove documentation remarks
3308 concerning removed allout-view-change-hook.
3309 (allout-flag-region): Remove invocation of and documentation
3310 remarks concerning allout-view-change-hook.
3312 2011-01-06 Glenn Morris <rgm@gnu.org>
3314 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
3315 (vc-bzr-annotate-extract-revision-at-line):
3316 Handle authors with embedded spaces. (Bug#7792)
3318 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
3320 * doc-view.el (doc-view-image-width): New variable.
3321 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
3322 backend for PNG images, and do dynamic rescaling instead of
3323 reconverting the whole doc.
3325 2011-01-05 Glenn Morris <rgm@gnu.org>
3327 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
3329 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
3331 * allout.el: Reconcile with changes in line movement behavior for
3332 long text lines that cross more than a single physical window
3333 line, ie when truncate-lines is nil.
3334 (allout-next-visible-heading): Provide for change in line-move
3335 behavior on long lines when truncate-lines is nil. In that case,
3336 line-move can wind up on the same textual line when it moves to
3337 the next window line, and moving to the bullet position after the
3338 move yields zero advancement. Add logic to detect and compensate
3339 for the lack of progress.
3340 (allout-current-topic-collapsed-p): move-end-of-line respect for
3341 field boundaries is different when operating with body lines
3342 shorter than window width versus ones greater than window width,
3343 which can yield false negatives in this function. Avoid
3344 difference by applying move-end-of-line while field-text-motion is
3347 2011-01-04 Glenn Morris <rgm@gnu.org>
3349 * textmodes/rst.el (rst-compile-toolsets):
3350 Add pdf and s5 to option alist.
3352 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
3354 * net/dbus.el (dbus-register-property): Add optional parameter
3355 dont-register-service. Updated docstring accordingly.
3357 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
3359 * textmodes/rst.el (rst-compile-pdf-preview)
3360 (rst-compile-slides-preview): Remove extra line.
3362 2011-01-04 Glenn Morris <rgm@gnu.org>
3364 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
3365 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
3366 default to `prog' without a .py extension.
3367 (rst-compile-pdf-preview, rst-compile-slides-preview):
3368 Use program names from rst-compile-toolsets, rather than hard-coding.
3369 (rst-portable-mark-active-p): Fix presumed typo.
3371 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3373 * term/w32-win.el (dynamic-library-alist): Set up correctly for
3374 libpng versions both before and after 1.4.0. (Bug#7716)
3376 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3378 * time.el (display-time-mode): Mention display-time-interval in
3379 the doc string. (Bug#7713)
3381 2011-01-02 Kenichi Handa <handa@m17n.org>
3383 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
3384 condition-case and return an error message string if something
3386 (rmail-show-mime): Adjust for the above change. Insert the
3387 header by rmail-mime-insert-header.
3389 2011-01-02 Kenichi Handa <handa@m17n.org>
3391 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
3392 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
3393 (rmail-mime-mbox-buffer)
3394 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
3395 (rmail-mime-entity): Argument changed. All codes handling an
3396 entity object are changed.
3397 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
3399 (rmail-mime-entity-children, rmail-mime-entity-handler)
3400 (rmail-mime-entity-tagline): New functions.
3401 (rmail-mime-message-p): New function.
3402 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
3403 (rmail-mime-entity-segment, rmail-mime-next-item)
3404 (rmail-mime-previous-item, rmail-mime-shown-mode)
3405 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
3406 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
3407 (rmail-mime-insert-tagline, rmail-mime-insert-header):
3409 (rmail-mime-text-handler): Call rmail-mime-insert-text.
3410 (rmail-mime-insert-decoded-text): New function.
3411 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
3412 (rmail-mime-insert-image): Argument changed. Caller changed.
3413 (rmail-mime-image): Call rmail-mime-toggle-hidden.
3414 (rmail-mime-set-bulk-data): New function.
3415 (rmail-mime-insert-bulk): Argument changed.
3416 (rmail-mime-multipart-handler): Return t.
3417 (rmail-mime-process-multipart): Argument changed.
3418 Handle "multipart/alternative" here.
3419 (rmail-mime-process): Argument changed.
3420 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
3421 (rmail-mime-insert): Argument changed. Handle raw display mode.
3422 (rmail-mime): Argument changed. Handle toggling of raw display
3424 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
3425 rmail-mime-view-buffer.
3426 (rmail-insert-mime-forwarded-message): Likewise.
3427 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
3429 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
3430 non-nil, handle the header in rmail-show-mime-function.
3432 2011-01-02 Leo <sdl.web@gmail.com>
3434 * help-fns.el (describe-variable): Fix previous change.
3436 2011-01-02 Juri Linkov <juri@jurta.org>
3438 * isearch.el (isearch-lazy-highlight-error): New variable.
3439 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
3440 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
3441 to the current value of `isearch-error' (Bug#7468).
3443 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3445 * help-fns.el (describe-variable): Don't emit trailing whitespace
3448 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3450 * textmodes/rst.el (rst-compile-pdf-preview)
3451 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
3453 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3455 * emulation/edt-mapper.el: Override mapping of function keys so
3456 that the later call to read-key-sequence works.
3458 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3460 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
3461 Unix EOLs. (Bug#7589)
3463 2011-01-02 Leo <sdl.web@gmail.com>
3465 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
3466 if point is not behind eshell-last-output-end (Bug#7585).
3468 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
3470 * files.el (file-local-variables-alist):
3471 Make permanent-local (bug#7767).
3473 2011-01-02 Glenn Morris <rgm@gnu.org>
3475 * version.el (emacs-copyright): Set short copyright year to 2011.
3477 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3479 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
3480 an existing temp buffer. (Bug#7746)
3482 2011-01-02 Glenn Morris <rgm@gnu.org>
3484 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
3485 multiple addresses. (Bug#7760)
3487 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
3489 * allout.el (allout-auto-fill): Do not infinitely recurse - use
3490 do-auto-fill if everything points back to allout-auto-fill.
3491 (allout-mode-deactivate-hook): Declare obsolete, in favor of
3492 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
3494 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
3496 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
3499 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3501 * doc-view.el (doc-view-set-doc-type): New function refactored
3503 (doc-view-fallback-mode): New function.
3504 (doc-view-mode): Use it.
3505 (doc-view-mode-maybe): New function that checks if doc-view-mode
3506 can be used and falls back to the next best mode otherwise.
3508 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
3509 DVI, OpenDocument, and MS Office files.
3511 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
3513 * emacs-lisp/rx.el (rx-syntax): Fix typo.
3515 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3517 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
3518 on a copy of auto-mode-alist, because that deletes with side
3521 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3523 * doc-view.el (doc-view-mode, doc-view-toggle-display):
3524 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
3525 fallback instead of hard coding fundamental mode.
3527 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3529 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
3530 Office) files also for searching.
3532 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3534 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
3535 Office) files. Not yet enabled via auto-mode-list.
3536 (doc-view-unoconv-program): New custom variable.
3537 (doc-view-mode-p): Handle new odf document type.
3538 (doc-view-odf->pdf): New conversion function.
3539 (doc-view-convert-current-doc): Call it for odf files.
3540 (doc-view-mode): Recognize newly supported file extensions.
3542 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
3544 * net/tramp.el (tramp-default-method-alist)
3545 (tramp-default-user-alist)
3546 (tramp-local-host-regexp, tramp-prefix-domain-format)
3547 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
3550 * net/tramp-gvfs.el:
3552 * net/tramp-imap.el:
3554 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
3555 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
3557 2010-12-29 Karl Fogel <kfogel@red-bean.com>
3559 * saveplace.el (save-place-alist-to-file): Save list sorted and
3560 pretty-printed, so that it is mergeable by line-based text merging,
3561 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
3563 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
3565 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
3566 (allout-mode): Argument "toggle" => "force".
3567 Refine the docstring.
3568 Remove special provisions for reactivation, besides the 'force'
3570 Consolidate layout provisions coce directly into the activation
3571 condition branch, now that we've removed those provisions.
3572 (allout-unload-function): Explicitly activate the mode before
3573 deactivating, if it's initially deactivated.
3574 (allout-set-buffer-multibyte): Properly prevent byte-compiler
3575 warnings for version of function used only where
3576 set-buffer-multibyte is unavailable.
3578 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
3580 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
3581 are handled by the menu-bar entries. As before, don't use
3582 :visibile to avoid changing the tool-bar.
3584 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3586 * net/secrets.el (secrets-delete-alias): New defun.
3588 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3590 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
3591 methods, otherwise ~/.ssh/config would be ignored.
3593 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
3595 * emacs-lisp/rx.el: Make it a superset of sregex.
3596 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
3597 of args, add `regex' alias.
3598 (rx-info): Add arg to distinguish head and standalone forms.
3599 (rx-check, rx-form): Pass the corresponding arg.
3601 (rx-repeat): Make it work for any number of args.
3602 (rx-syntax): Make it accept syntax chars as is.
3603 * obsolete/sregex.el: Move from emacs-lisp/.
3604 * emacs-lisp/re-builder.el: Remove sregex support.
3605 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
3607 2010-12-25 Eli Zaretskii <eliz@gnu.org>
3609 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
3610 PRIMARY first, then the clipboard. (Bug#7699)
3612 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3614 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
3617 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
3619 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
3620 .emacs.elc (Bug#7530).
3622 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
3623 image spec (Bug#7480).
3625 2010-12-21 Daiki Ueno <ueno@unixuser.org>
3627 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
3628 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
3631 2010-12-20 Leo <sdl.web@gmail.com>
3633 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
3634 always be performed (Bug#7680).
3636 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
3638 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
3639 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
3642 * color.el: Move from gnus/.
3644 * vc/diff.el (diff-better-file-name): Function deleted.
3645 abbreviating file names causes problems with shell-quote-argument.
3646 (diff-no-select): Just use expand-file-name.
3648 * tool-bar.el (tool-bar--image-expression): New function.
3649 (tool-bar-local-item, tool-bar--image-exp): Use it.
3650 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
3651 Use :enable instead of :visible to avoid changing the tool-bar
3652 configuration unnecessarily.
3654 * info.el (info-tool-bar-map): Add separators.
3656 2010-12-17 Ken Brown <kbrown@cornell.edu>
3658 * loadup.el: Use version numbers in Cygwin build.
3660 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
3662 * ido.el (ido-file-internal): Ask for confirmation before
3663 overwriting an existing file (Bug#1238).
3665 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
3667 * tool-bar.el (tool-bar-setup): Add separators.
3669 * menu-bar.el (featurep): Use menu-bar-separator.
3671 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
3673 Migrate allout encryption provisions from pgg to epg.
3675 * allout.el (allout-toggle-current-subtree-encryption)
3676 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
3677 defaulting policy and other changes. Change fetch-pass to keymode-cue,
3678 for simpler universal argument interpretation.
3679 (allout-toggle-subtree-encryption): Adjust docstring to describe
3680 changed encryption provisions. Change fetch-pass to keymode-cue, for
3681 simpler universal argument interpretation. Remove provisions for
3682 handling key type and identity - they'll all be within
3683 allout-encrypt-string or epg/epg or even contained all the way in gpg.
3684 (allout-encrypt-string): Include keymode-cue, for optionally prompting
3685 for keypair recipients (universal argument > 1) and, in addition,
3686 associating the specified recipients with the outline (universal
3687 argument > 4) using a file local variable setting for
3688 'epa-file-encrypt-to'.
3689 Require epa, for recipients handling.
3690 Change how regexp filtering elements are named.
3691 Describe the problem with caching of incorrect symmetric-decryption
3693 Use the epa-passphrase-callback-function, in case the user is using
3695 Support saving of the selected keypair recipients when invoked with a
3697 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
3699 Establish epg-context with armoring and default epg-protocol.
3700 Remove all passphrase cache, verification, and hinting code.
3701 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
3702 No longer used, delete.
3703 (allout-mode): Adjust docstring to describe changed encryption
3704 provisions. Describe the problem with caching of incorrect
3705 symmetric-decryption keys.
3706 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
3707 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
3708 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
3709 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
3712 2010-12-16 Daiki Ueno <ueno@unixuser.org>
3714 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
3715 key selection prompt; make 'silent as default (Bug#7487).
3717 2010-12-16 Leo <sdl.web@gmail.com>
3719 * eshell/eshell.el (eshell-directory-name):
3720 Use locate-user-emacs-file (Bug#7578).
3722 2010-12-15 Glenn Morris <rgm@gnu.org>
3724 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
3726 2010-12-15 Jari Aalto <jari.aalto@cante.net>
3727 Scott Evans <gse@antisleep.com>
3729 * rect.el (rectange--default-line-number-format)
3730 (rectangle-number-line-callback): New functions.
3731 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
3733 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
3735 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
3736 Delete unused variables.
3737 (move-to-column-force): Remove function obsolete since 21.2.
3739 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
3741 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
3742 (tramp-handle-insert-file-contents): Do not set permanent-local
3745 * net/tramp-cache.el (tramp-persistency-file-name):
3746 Use `locate-user-emacs-file' if fboundp.
3748 * net/tramp-sh.el (tramp-methods): Add "ksu".
3749 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
3752 2010-12-14 Glenn Morris <rgm@gnu.org>
3754 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3755 (find-tag-marker-ring): Declare.
3756 (js-find-symbol): Require etags.
3758 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3760 (mail-alias-file): Don't autoload. Doc fix.
3761 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3762 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
3763 Mark as obsolete, and risky.
3764 (mail-setup): Simplify.
3766 * mail/mailalias.el (build-mail-aliases): Make it interactive.
3767 * mail/sendmail.el (build-mail-aliases): Update autoload.
3769 * dired.el (dired-trivial-filenames, dired-chown-program)
3770 (dired-auto-revert-buffer): Remove autoload cookies.
3771 * mail/sendmail.el (mail-recover-1): Require 'dired.
3773 * dired.el (dired-subdir-switches, dired-chown-program)
3774 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3775 Make into defcustoms.
3776 (dired-chown-program): Simplify initialization.
3778 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3780 2010-12-13 Romain Francoise <romain@orebokech.com>
3782 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3784 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3786 * net/netrc.el (netrc-point-at-eol): Remove the unused
3787 netrc-point-at-old and netrc-bound-and-true-p bindings.
3788 (netrc-parse): Cache the netrc contents.
3790 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3792 * subr.el (posn-col-row): Evaluate header-line-format in the
3793 context of the POSITION window's buffer.
3795 2010-12-13 Glenn Morris <rgm@gnu.org>
3797 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3798 (with-silent-modifications): Doc fixes.
3800 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3802 * net/tramp.el (tramp-action-password, tramp-process-actions):
3803 Revert previous from. Use `save-restriction'.
3805 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
3807 * calendar/diary-lib.el (diary-list-sexp-entries):
3808 Handle case of no newline at end of file. (Bug#7536)
3810 2010-12-13 Glenn Morris <rgm@gnu.org>
3812 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3814 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3816 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3817 (tramp-process-actions): Do not widen.
3819 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3820 Protect buffer-modified value. (Bug#7557)
3822 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
3824 * log-edit.el (log-edit-changelog-entries):
3825 Regexp quote filename. (Bug#7505)
3827 2010-12-13 Tom Breton <tehom@panix.com>
3829 * cus-edit.el (custom-save-all):
3830 Bind print-length and print-level to nil. (Bug#7581)
3832 2010-12-13 Glenn Morris <rgm@gnu.org>
3834 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3835 Run hooks to update menu contents. (Bug#7586)
3837 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3838 file names, for the sake of MS Windows. (Bug#7588)
3840 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3842 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3843 empty lines without a leading space.
3845 2010-12-13 Leo <sdl.web@gmail.com>
3847 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3848 while mapping over marks (Bug#6810).
3850 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3852 * image-dired.el (image-dired-db-file)
3853 (image-dired-temp-image-file, image-dired-gallery-dir)
3854 (image-dired-temp-rotate-image-file): Set default values relative
3855 to image-dired-dir (Bug#7518).
3857 2010-12-13 Lawrence Mitchell <wence@gmx.li>
3859 * format.el (format-decode-run-method): Pass args FROM and TO, not
3860 point-min and point-max, to shell-command-on-region (Bug#7488).
3862 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
3864 * frame.el (blink-cursor-mode): Make default t for ns.
3866 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3868 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3870 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3872 * comint.el (comint-dynamic-list-input-ring)
3873 (comint-dynamic-complete-filename)
3874 (comint-replace-by-expanded-filename)
3875 (comint-dynamic-simple-complete)
3876 (comint-dynamic-list-filename-completions)
3877 (comint-dynamic-list-completions): Doc fix (Bug#7499).
3879 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3882 2010-12-13 Martin Rudalics <rudalics@gmx.at>
3884 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3887 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
3889 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3892 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3894 * files.el (file-relative-name): Handle UNC file names on
3895 DOS/Windows. (Bug#4674)
3897 2010-12-13 Daiki Ueno <ueno@unixuser.org>
3899 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3900 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3901 (epg-context-set-passphrase-callback): Mention that the callback
3902 is not called when used with GnuPG 2.x.
3904 2010-12-13 Glenn Morris <rgm@gnu.org>
3906 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3907 Ensure ps-footer-font-size-internal is initialized.
3908 Call ps-get-page-dimensions before trying to use ps-font-for-text.
3910 2010-12-13 Kenichi Handa <handa@m17n.org>
3912 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3913 within condition-case.
3914 (rmail-show-mime): Don't use condition-case.
3915 (rmail-search-mime-message): New function.
3916 (rmail-search-mime-message-function): Set to
3917 rmail-search-mime-message.
3919 2010-12-13 Leo <sdl.web@gmail.com>
3921 * ido.el (ido-common-initialization): New function. (bug#3274)
3923 (ido-completing-read): Call it.
3925 2010-12-12 Karl Fogel <kfogel@red-bean.com>
3927 * bookmark.el (bookmark-name-from-full-record): Rename back to
3928 this original name from `bookmark-name-from-record' reverting part
3929 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
3930 As Drew Adams pointed out, there was no reason to cause churn for
3931 third-party callers. (Bug#7609)
3933 2010-12-12 Alan Mackenzie <acm@muc.de>
3935 * progmodes/cc-engine.el (c-forward-type): Before scanning a
3936 template arglist, check that the current language supports this.
3938 2010-12-11 Glenn Morris <rgm@gnu.org>
3940 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
3941 state of the file matches. (Bug#7544)
3942 (vc-bzr-register, vc-bzr-checkin)
3943 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
3944 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
3946 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
3948 2010-12-11 Karel Klíč <kklic@redhat.com>
3950 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
3952 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3954 Derive from prog-mode, use derived-mode-p, and fix up various
3955 minor style issues in lisp/progmodes.
3957 * progmodes/vhdl-mode.el (vhdl-mode):
3958 * progmodes/verilog-mode.el (verilog-mode):
3959 * progmodes/vera-mode.el (vera-mode):
3960 * progmodes/sql.el (sql-mode):
3961 * progmodes/scheme.el (scheme-mode):
3962 * progmodes/perl-mode.el (perl-mode):
3963 * progmodes/octave-inf.el (inferior-octave-mode):
3964 * progmodes/autoconf.el (autoconf-mode):
3965 * progmodes/m4-mode.el (m4-mode):
3966 * progmodes/inf-lisp.el (inferior-lisp-mode):
3967 * progmodes/idlwave.el (idlwave-mode):
3968 * progmodes/icon.el (icon-mode):
3969 * progmodes/idlw-help.el (idlwave-help-mode):
3970 * progmodes/dcl-mode.el (dcl-mode):
3971 * progmodes/idlw-shell.el (idlwave-shell-mode):
3972 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
3973 (ebrowse-member-mode, ebrowse-electric-position-mode):
3974 Use define-derived-mode.
3976 * progmodes/xscheme.el (exit-scheme-interaction-mode)
3977 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
3978 (xscheme-debugger-mode-p, xscheme-send-string-1):
3979 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
3980 (tcl-load-file, tcl-restart-with-file):
3981 * progmodes/ps-mode.el (ps-run-running):
3982 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
3983 * progmodes/js.el (js--get-all-known-symbols):
3984 * progmodes/inf-lisp.el (inferior-lisp-proc):
3985 * progmodes/idlwave.el (idlwave-beginning-of-statement)
3986 (idlwave-template, idlwave-update-buffer-routine-info)
3987 (idlwave-update-current-buffer-info)
3988 (idlwave-get-routine-info-from-buffers, idlwave-choose)
3989 (idlwave-scan-class-info, idlwave-fix-keywords)
3990 (idlwave-list-buffer-load-path-shadows):
3991 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
3992 (idlwave-toolbar-remove):
3993 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
3994 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
3995 (idlwave-shell-menu-def):
3996 * progmodes/idlw-complete-structtag.el
3997 (idlwave-prepare-structure-tag-completion):
3998 * progmodes/gud.el (gud-set-buffer):
3999 * progmodes/f90.el (f90-backslash-not-special):
4000 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
4002 * progmodes/xscheme.el (xscheme-start)
4003 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
4004 * progmodes/which-func.el (which-function):
4005 * progmodes/vhdl-mode.el (vhdl-set-style):
4006 * progmodes/verilog-mode.el (verilog-set-compile-command)
4007 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
4008 (verilog-set-define, verilog-auto-reeval-locals):
4009 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
4010 * progmodes/simula.el (simula-mode):
4011 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
4012 * progmodes/python.el (python-check, python-mode):
4013 * progmodes/prolog.el (prolog-mode-variables):
4014 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
4015 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
4016 * progmodes/delphi.el (delphi-mode):
4017 * progmodes/cc-styles.el (c-setup-paragraph-variables):
4018 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
4019 (c-font-lock-init): Move make-local-variable to their setq.
4021 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
4022 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
4024 * progmodes/sh-script.el (sh-require-final-newline): Remove.
4025 (sh-set-shell): Don't set require-final-newline since it's already done
4027 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
4028 since we never set it.
4029 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
4030 Use read-string and standard prompt.
4031 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
4032 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
4033 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
4034 (meta-common-mode-map): Rename from meta-mode-map.
4035 Remove C-m binding, which is a user preference, not mode specific.
4036 (meta-common-mode): New major mode; replace meta-common-initialization.
4037 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
4038 around with font-lock.
4039 * progmodes/etags.el (select-tags-table-mode):
4040 Derive from special-mode.
4041 * progmodes/octave-mod.el (octave-mode):
4042 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
4043 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
4044 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
4045 Let define-derived-mode do its job.
4046 * progmodes/cpp.el (cpp-edit-mode-map):
4047 Move initialization into declaration.
4048 (cpp-edit-mode): Use define-derived-mode.
4049 (cpp-edit-load): Use derived-mode-p.
4050 * progmodes/mixal-mode.el (mixal-mode):
4051 * progmodes/f90.el (f90-mode):
4052 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
4053 require-final-newline since prog-mode does it already.
4054 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
4055 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
4056 * progmodes/antlr-mode.el: Require cc-mode upfront.
4057 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
4059 (antlr-directory-dependencies, antlr-show-makefile-rules):
4061 (antlr-language-option): Don't assume point-min==1.
4062 (antlr-mode): Use define-derived-mode.
4063 * progmodes/ada-mode.el: Use derived-mode-p.
4064 (ada-mode): Use define-derived-mode.
4065 Use hack-local-variables-hook.
4067 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4069 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
4070 (texinfo-mode): Don't disable adaptive-fill-mode.
4071 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
4072 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
4073 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
4074 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
4075 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
4076 (texinfo-insert-@quotation, texinfo-insert-@samp)
4077 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
4078 (texinfo-insert-@uref): Use define-skeleton.
4079 (texinfo-insert-@-with-arg): Delete.
4081 2010-12-10 Eli Zaretskii <eliz@gnu.org>
4083 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
4084 nil, do quote archive member names. (Bug#6144)
4086 2010-12-10 Glenn Morris <rgm@gnu.org>
4088 * files.el (diff-no-select): Declare.
4090 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
4091 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
4093 * comint.el (comint-input-ring-file-name): Doc fix.
4095 2010-12-09 Eli Zaretskii <eliz@gnu.org>
4097 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
4099 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
4100 Use them instead of `nil' and `>', respectively.
4101 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
4103 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
4104 and menu-bar-positive-p instead of `nil' and `>', respectively.
4107 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4109 * whitespace.el (whitespace-newline-mode): Code fix.
4111 2010-12-09 Glenn Morris <rgm@gnu.org>
4113 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
4114 Rename functions without commas, update callers.
4116 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
4118 * whitespace.el (whitespace-cleanup-region):
4119 Clean up spaces before tabs. (Bug#7582)
4121 2010-12-08 Karl Fogel <kfogel@red-bean.com>
4123 * bookmark.el: Adjust parameter names and doc strings to resolve
4124 confusion over whether "bookmark" meant a bookmark name or a
4125 bookmark record. Along the way, shorten one function's name for
4126 similar reasons. (Issue #7548)
4127 (bookmark-name-from-record): New name for
4128 `bookmark-name-from-full-record'. All callers changed.
4129 (bookmark-get-bookmark, bookmark-get-bookmark-record)
4130 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
4131 (bookmark-get-annotation, bookmark-set-annotation)
4132 (bookmark-get-filename, bookmark-set-filename)
4133 (bookmark-get-position, bookmark-set-position)
4134 (bookmark-get-front-context-string, bookmark-set-front-context-string)
4135 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
4136 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
4137 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
4138 Rename `bookmark' parameter to `bookmark-name-or-record', to
4139 clearly show its role, and shorten or adjust doc strings accordingly.
4140 (bookmark-set-name): Same, and pass the parameter directly to
4141 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
4142 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
4143 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
4144 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
4145 and in some cases shorten doc string accordingly.
4146 (bookmark-rename): Change `old' and `new' parameters to `old-name'
4147 and `new-name', and adjust an internal variable to avoid confusion.
4148 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
4149 parameter in doc string.
4151 2010-12-08 Glenn Morris <rgm@gnu.org>
4153 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
4154 from gdb's history file. (Bug#7575)
4156 * mail/emacsbug.el (report-emacs-bug):
4157 Try to handle some other mail clients.
4159 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4161 * files.el (dir-locals-collect-variables): Don't let errors stop us.
4162 Use string-prefix-p.
4163 (file-name-version-regexp): New var.
4164 (file-name-sans-versions):
4165 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
4166 (jka-compr-get-compression-info): Use dolist.
4167 (jka-compr-compression-info-list): Don't bother specifying
4168 version/backup regexps.
4170 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
4172 * simple.el (just-one-space): Make argument n default to 1 if
4175 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4177 * electric.el (electric-indent-post-self-insert-function):
4178 Delete trailing newlines even if we don't reindent.
4180 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4182 * minibuffer.el (completion-at-point): Remove the `arg'.
4183 * bindings.el (complete-symbol): Move back from minibuffer.el.
4185 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4187 * simple.el (just-one-space): Delete newlines for negative arg.
4189 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4191 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
4192 (ansi-color-filter-apply): Simplify.
4193 (ansi-color-apply): Use `font-lock-face' rather than `face'.
4195 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
4197 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
4199 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
4201 * dired.el (dired-use-ls-dired): Set default to a special
4202 "unspecified" value.
4203 (dired-insert-directory): When called the first time, check
4204 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
4206 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
4208 * replace.el: Add "collect" feature to occur.
4209 (occur-collect-regexp-history): New var.
4210 (occur-read-primary-args): Return a replace string for nlines,
4212 (occur): Extend the meaning of nlines.
4214 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4216 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
4217 (which-func-update-1): Distinguish symbols from strings.
4218 (which-function): Stay within 80 columns.
4220 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4222 * subr.el (with-demoted-errors): Distinguish symbols from strings.
4224 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
4226 (comment-style): Use comment-styles's docs to describe values.
4228 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
4230 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
4231 and ns-show-prefs (Bug#7535).
4233 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
4234 bindings (Bug#7535).
4236 2010-12-03 Glenn Morris <rgm@gnu.org>
4238 * nxml/nxml-mode.el: Require rng-nxml.
4239 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
4240 Remove declarations.
4242 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
4243 * nxml/rng-nxml.el, nxml/rng-valid.el:
4244 Remove leading `*' from defcustom docs.
4246 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
4247 (normal-top-level-add-to-load-path, tty-handle-args):
4248 Convert comments to basic doc-strings.
4250 * net/browse-url.el (browse-url-url-at-point)
4251 (browse-url-default-browser): Remove autoload cookies.
4253 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4254 Remove more undefined cl functions.
4256 * vc/diff.el (diff-sentinel): Make new arguments optional.
4257 * ibuf-ext.el (diff-sentinel): Update declaration.
4259 2010-12-03 Daiki Ueno <ueno@unixuser.org>
4261 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
4262 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
4263 (epg-context-set-passphrase-callback): Mention that the callback
4264 is not called when used with GnuPG 2.x.
4266 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
4268 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
4269 (tramp-file-name-port): Check also for `tramp-default-port'.
4270 (tramp-get-connection-name): New defun.
4271 (tramp-get-connection-process): Use it.
4272 (tramp-debug-message): Extend function exclude list.
4273 (tramp-drop-volume-letter): Fix doc string.
4275 * net/tramp-cmds.el: Remove solved todo item.
4278 * net/tramp-gvfs.el:
4280 * net/tramp-imap.el:
4281 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
4282 and `tramp-default-user-alist', respectively.
4284 * net/tramp-gw.el (tramp-gw-open-connection):
4285 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
4287 * net/tramp-imap.el (tramp-imap-make-iht): Use just
4288 `tramp-file-name-port'.
4290 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
4291 and "psftp". Exchange "%k" marker with options.
4292 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
4293 Compute size of link target.
4294 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
4295 `tramp-current-*' up due to gateway methods. Optimize computing of
4296 copy arguments. Use `tramp-get-connection-name' and
4297 `tramp-get-connection-buffer'. Improve debug messages.
4298 (tramp-compute-multi-hops): Remove port determination.
4299 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
4301 * net/trampver.el: Update release number.
4303 2010-12-02 Glenn Morris <rgm@gnu.org>
4305 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
4306 Avoid infinite loop over windows. (Bug#7492)
4308 * progmodes/flymake.el (flymake-check-file-limit):
4309 Allow nil to mean "no limit".
4310 (flymake-check-patch-master-file-buffer): Update for above change.
4311 Allow a .tex file-name extension to be optional.
4312 (flymake-master-tex-init): Also match \include statements.
4314 2010-11-30 Sam Steingold <sds@gnu.org>
4316 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
4317 (nxml-parent-document-set): A function to set `nxml-parent-document'.
4318 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
4319 (nxml-mode-hook): Remove `defcustom' (auto-defined by
4320 define-derived-mode').
4321 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
4322 users who want to call `nxml-parent-document-set'.
4324 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4326 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
4327 stand-alone lines, since that is handled by log-edit-match-to-eoh
4330 2010-11-27 Eduard Wiebe <usenet@pusto.de>
4332 * dired.el (dired-get-filename): Replace backslashes with slashes
4333 in file names on MS-Windows, needed by `locate'. (Bug#7308)
4334 * locate.el (locate-default-make-command-line): Don't consider
4335 drive letter and root directory part of
4336 `directory-listing-before-filename-regexp'. (Bug#7308)
4337 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
4339 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4341 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
4342 of :smie-open/close-alist.
4343 (smie-next-sexp): Make it accept a "start token" as argument.
4344 (smie-indent-keyword): Be careful not to misidentify tokens that span
4345 more than one line, as empty lines. Add argument `token'.
4347 2010-11-27 Kenichi Handa <handa@m17n.org>
4349 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
4350 multipart subtypes, insert all as usual.
4352 * mail/rmail.el: Require rfc2047.
4354 2010-11-27 Kenichi Handa <handa@m17n.org>
4356 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
4357 (rmail-mime-entity-disposition)
4358 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
4359 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
4360 (rmail-mime-save): Handle the case that the button's `data' is a
4362 (rmail-mime-insert-text): New function.
4363 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
4364 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
4365 (rmail-mime-insert-bulk): New function mostly copied from the old
4366 rmail-mime-bulk-handler.
4367 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
4368 (rmail-mime-process-multipart): New function mostly copied from
4369 the old rmail-mime-multipart-handler.
4370 (rmail-mime-show): Just call rmail-mime-process.
4371 (rmail-mime-process): New function mostly copied from the old
4373 (rmail-mime-insert-multipart, rmail-mime-parse)
4374 (rmail-mime-insert, rmail-show-mime)
4375 (rmail-insert-mime-forwarded-message)
4376 (rmail-insert-mime-resent-message): New functions.
4377 (rmail-insert-mime-forwarded-message-function): Set to
4378 rmail-insert-mime-forwarded-message.
4379 (rmail-insert-mime-resent-message-function): Set to
4380 rmail-insert-mime-resent-message.
4382 * mail/rmailsum.el: Require rfc2047.
4383 (rmail-header-summary): Handle multiline Subject: field.
4384 (rmail-summary-line-decoder): Change the default to
4385 rfc2047-decode-string.
4387 * mail/rmail.el (rmail-enable-mime): Change the default to t.
4388 (rmail-mime-feature): Change the default to `rmailmm'.
4389 (rmail-quit): Delete the specifal code for rmail-enable-mime.
4390 (rmail-display-labels): Likewise.
4391 (rmail-show-message-1): Check rmail-enable-mime, and use
4392 rmail-show-mime-function for a MIME message. Decode the headers
4393 according to RFC2047.
4395 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4397 * progmodes/which-func.el (which-func-imenu-joiner-function):
4398 Return a string, as expected.
4399 (which-function-mode): Make sure we stop any previous timer before
4402 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
4404 * net/tramp.el (tramp-default-method-alist)
4405 (tramp-default-user-alist, tramp-default-proxies-alist):
4406 Adapt custom options type. (Bug#7445)
4408 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4410 * progmodes/python.el: Add Ipython support (Bug#5390).
4411 (python-shell-prompt-alist)
4412 (python-shell-continuation-prompt-alist): New options.
4413 (python--set-prompt-regexp): New function.
4414 (inferior-python-mode, run-python, python-shell):
4415 Require ansi-color. Use python--set-prompt-regexp to set the comint
4416 prompt based on the Python interpreter.
4417 (python--prompt-regexp): New var.
4418 (python-check-comint-prompt)
4419 (python-comint-output-filter-function): Use it.
4420 (run-python): Use a pipe (Bug#5694).
4422 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4424 * progmodes/python.el (run-python): Doc fix.
4425 (python-keep-current-directory-in-path): New var (Bug#7454).
4427 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4429 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4430 Prompt user before actually printing.
4432 2010-11-27 Glenn Morris <rgm@gnu.org>
4434 * startup.el (package-enable-at-startup, package-initialize):
4435 Remove unnecessary declarations.
4437 2010-11-27 Eli Zaretskii <eliz@gnu.org>
4439 * international/characters.el (glyphless-char-display-control):
4440 Exclude newline and TAB from the c0-control group.
4442 2010-11-27 Glenn Morris <rgm@gnu.org>
4444 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
4445 (expand-mail-aliases): Remove unnecessary autoload.
4447 * allout.el (allout-command-prefix, allout-mode-map): Declare.
4449 * shell.el (shell-dir-cookie-re): Move definition before use.
4451 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4452 Replace undefined CL functions.
4454 2010-11-26 Eli Zaretskii <eliz@gnu.org>
4456 * simple.el (prog-mode): Set bidi-paragraph-direction to
4459 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
4461 2010-11-26 Glenn Morris <rgm@gnu.org>
4463 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
4464 diary-outlook-formats can be sensitive to calendar-date-style.
4465 (diary-outlook-formats): Simplify the default setting.
4466 (diary-from-outlook-internal): Pass subject and body as arguments.
4467 Use dolist rather than dotimes. Don't save the diary buffer.
4468 (diary-from-outlook-gnus, diary-from-outlook-rmail):
4469 Pass subject and body as explicit arguments to the -internal function.
4471 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4473 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
4474 parsing them. This makes mailto:...?subject=foo\nbar work.
4476 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4478 * vc/diff.el (diff): Fix last change.
4480 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4482 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
4483 (pcase--dontcare-upats): New var.
4484 (pcase-let, pcase-let*): Generate better code.
4485 Accept the same bodies as `let'.
4486 (pcase-dolist): New macro.
4487 (pcase--trivial-upat-p): New helper function.
4488 (pcase--expand): Strip leading "(let nil" if any.
4490 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4492 * mail/mailclient.el (browse-url): Require.
4493 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
4494 use the external browser function to send the mail (bug#7469).
4496 * net/browse-url.el (browse-url-browser-function): Revert the
4497 default back to the previous value, since the new value broke
4499 (browse-url-mailto-function): New variable for mailto: URLs.
4500 (browse-url): Use the new variable for mailto: URLs.
4502 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4504 * eshell/esh-cmd.el (eshell-parse-command):
4505 * eshell/esh-arg.el (eshell-parse-arguments):
4506 * eshell/em-script.el (eshell-source-file):
4507 Use with-silent-modifications.
4509 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4511 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
4512 for a merge location.
4514 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
4515 (vc-bzr-merge-branch): Always prompt.
4516 (vc-bzr-async-command): Use the full branch filename.
4518 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4520 * shell.el (shell): Use current-buffer by default if it's already
4521 a shell mode buffer and its process is dead.
4522 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
4524 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
4526 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4527 Mention that the keywords should be comma separated.
4529 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4531 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
4532 Accept optional prefix arg meaning to prompt for a command.
4533 (vc-update): Use vc-BACKEND-pull if available. Accept optional
4534 prefix arg meaning to prompt for a command.
4535 (vc-pull): Alias for vc-update.
4537 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
4538 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
4539 (vc-bzr-merge-branch): New functions, implementing merge-branch
4540 and pull operations.
4542 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4544 * Makefile.in: Fix up last merge.
4546 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
4547 (diff-sentinel): Get them as arguments instead.
4548 (diff-old-file, diff-new-file, diff-extra-args): Remove.
4549 (diff-file-local-copy, diff-better-file-name): New funs.
4550 (diff-no-select): Rename from diff-into-buffer.
4551 Support buffers additionally to files. Move `buf' arg. Don't display buf.
4552 Prefer closures to buffer-local variables.
4553 (diff): Adjust accordingly.
4554 (diff-buffer-with-file): Move from files.el.
4555 * files.el (diff-buffer-with-file): Move to vc/diff.el.
4556 (diff-buffer-internal): Remove.
4557 (diff-buffer-buffer): Remove.
4558 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
4559 the buffer name used, and so as not to mess up windows and frames.
4561 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
4563 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
4564 (diff-buffer-internal): New function extracted from diff-buffer-with-file
4565 (diff-buffer-with-file): Use it.
4566 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
4569 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
4571 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
4572 \ref's or \pageref's value as default instead of initial input.
4574 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
4576 * files.el (backup-by-copying-when-mismatch): The default value is
4579 * startup.el (normal-top-level):
4580 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4581 `backup-by-copying-when-mismatch'.
4583 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4585 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
4587 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4589 * progmodes/python.el (python-font-lock-keywords):
4590 Highlight top-level augmented assignments (Bug#6445).
4592 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4594 * term/ns-win.el (ns-right-control-modifier)
4595 (ns-right-command-modifier): Defvar them.
4597 * cus-start.el (all): Add ns-right-control-modifier and
4598 ns-right-command-modifier (Bug#7458).
4600 2010-11-20 Glenn Morris <rgm@gnu.org>
4602 * emacs-lisp/authors.el (authors-ignored-files)
4603 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
4605 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4607 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
4608 (report-emacs-bug-parse-query-results)
4609 (report-emacs-bug-create-existing-bugs-buffer): Pass through
4610 keywords used for querying the bug database to show them in the
4611 existing bugs buffer.
4613 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
4615 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
4617 * info.el (info-tool-bar-map): Add some :vert-only keywords.
4619 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4621 * international/characters.el (glyphless-char-display-control):
4622 Make it a defcustom, with update-glyphless-char-display as its
4624 (top level): Don't call update-glyphless-char-display.
4626 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
4628 Sync with Tramp 2.2.0.
4630 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
4631 `file-remote-p' (due to compatibility).
4633 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
4634 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
4636 * net/trampver.el: Update release number.
4638 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4640 * faces.el (glyphless-char): Define value for `pc'.
4642 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4644 Implemented a bug querying mechanism.
4645 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
4646 (report-emacs-bug-create-existing-bugs-buffer)
4647 (report-emacs-bug-parse-query-results)
4648 (report-emacs-bug-query-existing-bugs): New functions.
4650 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
4652 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
4653 a \ref{} or \pageref{} macro, then use its value as initial input.
4655 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4657 * calc/calc-units.el (math-build-units-table-buffer):
4658 calc/README: Mention that the TeX specific units won't use the
4659 `tex' prefix in TeX mode.
4660 calc/calc-lang.el (math-variable-table): Don't use the `tex'
4661 prefix for units in TeX mode.
4663 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4665 * simple.el (kill-new, kill-append, kill-region):
4666 * comint.el (comint-kill-region): Make the yank-handler argument
4669 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4671 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
4672 that are both openers (resp. closers) and something else.
4673 (smie-grammar): Loosen definition of valid values.
4674 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
4675 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
4676 (smie-indent-after-keyword): Adjust users.
4677 (smie-indent-keyword): Don't indent empty lines.
4679 * vc-hg.el (vc-hg-program): New var.
4680 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
4681 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
4683 2010-11-18 Glenn Morris <rgm@gnu.org>
4685 * emacs-lisp/autoload.el (autoload-find-destination): The function
4686 coding-system-eol-type may return non-numeric values. (Bug#7414)
4688 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
4690 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
4692 2010-11-18 Eli Zaretskii <eliz@gnu.org>
4694 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
4696 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
4698 * textmodes/picture.el (picture-mouse-set-point): Don't use
4699 posn-col-row; explicitly compute the motion based on the posn at
4700 the window-start (Bug#7390).
4702 2010-11-18 Glenn Morris <rgm@gnu.org>
4704 * novice.el (disabled-command-function):
4705 Fix 2009-11-15 change. (Bug#7384)
4707 2010-11-18 Glenn Morris <rgm@gnu.org>
4709 * calendar/calendar.el (diary-iso-date-forms): Make elements
4710 mutually exclusive. (Bug#7377)
4712 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4714 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
4715 when filling the remaining "unconstrained" values.
4717 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4719 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
4722 * files.el (safe-local-variable-p): Gracefully handle errors.
4724 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
4725 Use smie-indent-virtual when indenting relative to an opener.
4726 (smie-rule-separator): Use smie-rule-parent.
4727 (smie-indent-keyword): Consult rules, even for openers at bol.
4728 (smie-indent-comment-close): Try to align closer's content.
4730 2010-11-18 Glenn Morris <rgm@gnu.org>
4732 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4734 2010-11-18 Glenn Morris <rgm@gnu.org>
4736 * printing.el (pr-menu-bind): Doc fix.
4738 * speedbar.el (speedbar-toggle-images): Doc fix.
4740 * progmodes/python.el (python-shell): Doc fix.
4742 * wid-edit.el (widget-field-use-before-change)
4743 (widget-use-overlay-change): Doc fixes.
4745 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4747 Minor cleanup to improve style.
4748 * textmodes/rst.el (rst-update-section): Use point-marker.
4749 (rst-get-decoration): Eliminate unneeded assignment.
4750 (rst-promote-region, rst-straighten-decorations)
4751 (rst-section-tree, rst-adjust): Use point-marker.
4752 (rst-toc-mode-mouse-goto): Avoid setq.
4753 (rst-shift-region-guts, rst-shift-region-left)
4754 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4755 (rst-convert-bullets-to-enumeration): Use copy-marker.
4757 * minibuffer.el (completion-fail-discreetly): New var.
4758 (completion--do-completion): Use it.
4760 * electric.el (electric-pair-pairs): New var.
4761 (electric-pair-post-self-insert-function): Use it.
4762 (electric-layout-post-self-insert-function): Don't insert a before
4763 newline unless it's actually needed.
4765 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4767 * progmodes/python.el (run-python): Explain why we remove the current
4768 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
4770 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4772 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4774 * progmodes/octave-mod.el: Rely on elecric-*-modes.
4775 (octave-mode-map): Don't bind ;, SPC, and LF.
4776 (octave-auto-indent, octave-auto-newline): Remove.
4777 (electric-layout-rules): Declare.
4778 (octave-mode): Set electric-layout-rules.
4779 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4780 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4781 (octave-electric-space): Remove.
4783 * electric.el (electric-layout-mode): New minor mode.
4784 (electric--after-char-pos): New function.
4785 (electric-indent-post-self-insert-function): Use it.
4786 (electric-layout-rules): New var.
4787 (electric-layout-post-self-insert-function): New function.
4788 (electric-indent-mode): Make them interact better.
4790 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4792 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4793 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4794 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4796 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
4798 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4799 Make sure to check inside the word (Bug#6761).
4801 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
4803 * startup.el (command-line): If the cursorColor resource is set,
4804 change the cursor face-spec (Bug#7392).
4806 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
4808 The main features of the following allout.el changes are:
4809 - implement user customization for the allout key bindings
4810 - add a customization control by which the user can inhibit use of
4811 a trailing Ctrl-H, so by default it's reserved for use with
4812 describe-prefix-bindings
4813 - adapt to new version of called-interactively-p, while
4814 maintaining backwards compatibility with old version
4815 - fix hotspot navigation so i works properly with meta-modified keys.
4817 * allout.el (allout-keybindings, allout-bind-keys)
4818 (allout-keybindings-binding, allout-prefixed-keybindings)
4819 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4820 (allout-keybindings-list, allout-mode-map-adjustments)
4821 (allout-setup-mode-map): Establish allout-mode keymaps as user
4822 customizable settings, and also establish a customizable setting which
4823 regulates whether or not a trailing control-h is reserved for use with
4824 describe-prefix-bindings - and inhibit it by default, so that control-h
4825 *is* reserved for describe-prefix-bindings unless the user changes it.
4827 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4828 and accurately between modified and unmodified events, and handle
4829 modified events more comprehensively.
4831 * allout.el (allout-substring-no-properties):
4832 Alias to use or provide version of `substring-no-properties'.
4833 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4835 * allout.el (allout-next-single-char-property-change):
4836 Alias to use or provide version of `next-single-char-property-change'.
4837 (allout-annotate-hidden, allout-hide-by-annotation):
4838 Use `allout-next-single-char-property-change'.
4840 * allout.el (allout-select-safe-coding-system):
4841 Alias to use or provide version of `select-safe-coding-system'.
4842 (allout-toggle-subtree-encryption):
4843 Use `allout-select-safe-coding-system'.
4845 * allout.el (allout-set-buffer-multibyte):
4846 Alias to use or provide version of `set-buffer-multibyte'.
4847 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4849 * allout.el (allout-called-interactively-p): Macro for using the
4850 different versions of called-interactively-p identically, depending on
4851 the subroutine's argument signature.
4852 (allout-back-to-current-heading, allout-beginning-of-current-entry):
4853 Use `(interactive "p")' instead of `(called-interactively-p)'.
4855 * allout.el (allout-init, allout-ascend, allout-end-of-level)
4856 (allout-previous-visible-heading, allout-forward-current-level)
4857 (allout-backward-current-level, allout-show-children):
4858 Use `allout-called-interactively-p' instead of `called-interactively-p'.
4860 * allout.el (allout-before-change-handler):
4861 Exempt edits to the (overlaid) character after the allout outline
4862 bullet from edit confirmation prompt.
4864 * allout.el (allout-add-resumptions):
4865 Ensure that it respects correct buffer for keybindings.
4867 * allout.el (allout-beginning-of-line):
4868 Use `allout-previous-single-char-property-change' alias for the sake of
4869 diverse compatibility.
4871 * allout.el (allout-end-of-line):
4872 Use `allout-mark-active-p' to encapsulate respect for mark activity.
4874 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
4876 * frame.el (frame-notice-user-settings): Don't clobber other
4877 user-set parameters when calling face-set-after-frame-default in
4878 response to background-color parameter (Bug#7373).
4880 2010-11-13 Eli Zaretskii <eliz@gnu.org>
4882 * international/characters.el (glyphless-char-display-control):
4883 Rename from glyphless-char-control; all users changed. Doc fix.
4884 Signal an error if display method is not one of the recognized
4887 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
4889 * net/tramp-compat.el (tramp-compat-line-beginning-position)
4890 (tramp-compat-line-end-position): Remove them.
4892 * net/tramp.el (tramp-parse-rhosts-group)
4893 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4894 (tramp-parse-hosts-group, tramp-parse-passwd-group)
4895 (tramp-parse-netrc-group, tramp-parse-putty-group)
4896 * net/tramp-cmds.el (tramp-append-tramp-buffers)
4897 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4898 (tramp-sh-handle-file-selinux-context)
4899 (tramp-sh-handle-file-name-all-completions)
4900 (tramp-sh-handle-insert-directory)
4901 (tramp-sh-handle-expand-file-name, tramp-find-executable)
4902 (tramp-wait-for-output, tramp-send-command-and-read)
4903 * net/tramp-smb.el (tramp-smb-read-file-entry)
4904 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4906 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4908 (tramp-remote-coding-commands): Add an alternative using "base64
4909 -d -i". This is needed for older base64 versions from GNU
4910 coreutils. Reported by Klaus Reichl
4911 <Klaus.Reichl@thalesgroup.com>.
4913 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
4915 * simple.el (count-words-region): New function.
4917 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4919 * shell.el (shell-dir-cookie-re): New custom variable.
4920 (shell-dir-cookie-watcher): New function.
4922 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4923 and compilation-mode (bug#7350).
4925 * vc/smerge-mode.el (smerge-refine): Choose better default part to
4926 highlight when one of them is empty.
4928 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
4930 (skeleton-newline): New function.
4931 (skeleton-internal-1): Use it.
4933 * simple.el (open-line): `newline' may strip trailing space.
4935 2010-11-12 Kevin Ryde <user42@zip.com.au>
4937 * international/mule-cmds.el (princ-list): Use mapc.
4939 2010-11-12 Glenn Morris <rgm@gnu.org>
4941 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
4942 Use it to replace all instances of "*Compile-Log*".
4944 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4946 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
4949 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4951 * progmodes/modula2.el: Use SMIE and skeleton.
4952 (m2-mode-syntax-table): (*..*) can be nested.
4953 Add //...\n. Fix paren syntax.
4954 (m2-mode-map): Remove LF and TAB bindings.
4955 (m2-indent): Add safety property.
4956 (m2-smie-grammar): New var.
4957 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
4958 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
4959 (m2-mode): Use define-derived-mode.
4960 (m2-newline, m2-tab): Remove.
4961 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
4962 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
4963 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
4964 (m2-import): Use define-skeleton.
4966 2010-11-11 Glenn Morris <rgm@gnu.org>
4968 * obsolete/lucid.el: Don't warn about any CL functions in this file.
4970 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
4971 (ls-lisp-verbosity): Add custom :set-after property.
4972 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
4973 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
4974 (ls-lisp-insert-directory): Update caller.
4975 (ls-lisp-set-options): New function.
4976 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
4979 * play/landmark.el (lm-prompt-for-move):
4980 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
4982 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
4984 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
4985 (idlwave-study-twins): Prefix dynamic local variable `name'.
4986 (idlwave-routine-twin-compare): Update for above change.
4988 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
4989 Prefix dynamic local variables `name', `kwd', and `link'.
4990 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
4991 * progmodes/idlw-complete-structtag.el
4992 (idlwave-complete-structure-tag-help):
4993 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
4994 (idlwave-complete-sysvar-tag-help)
4995 (idlwave-complete-class-structure-tag-help):
4996 Update for above name changes.
4998 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5000 * net/browse-url.el (browse-url-browser-function): Change the
5001 default to use `browse-url-mail' on mailto: URLs.
5003 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
5005 * emacs-lisp/package.el (package-read-all-archive-contents):
5006 Reset package-archive-contents to nil before re-reading.
5008 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
5010 * textmodes/flyspell.el (flyspell-word): Do not re-check words
5011 already found as misspellings by (flyspell-large-region), just
5012 do highlighting (bug#7322).
5014 2010-11-10 Glenn Morris <rgm@gnu.org>
5016 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
5018 * emulation/edt.el (edt-with-position): New macro.
5019 (edt-find-forward, edt-find-backward, edt-find-next-forward)
5020 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
5021 (edt-paragraph-forward, edt-paragraph-backward): Use it.
5023 * emulation/tpu-extras.el (tpu-with-position): New macro.
5024 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
5026 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
5028 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
5029 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
5030 (texinfo-master-menu, texinfo-insert-node-lines)
5031 (texinfo-multiple-files-update):
5032 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
5033 Use line-beginning-position.
5035 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
5036 No recent Emacs supports system-type `emx'.
5038 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
5039 (ada-command-separator, ada-default-prj-properties)
5040 (ada-find-any-references): Update for above name change.
5042 * dirtrack.el (dirtrack-directory-function)
5043 (dirtrack-canonicalize-function):
5044 * filecache.el (file-cache-completion-ignore-case)
5045 (file-cache-case-fold-search, file-cache-ignore-case):
5046 * term.el (serial-port-is-file-p): Cosmetic change.
5048 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
5049 Remove non-existent `windows-95' system-type.
5050 * dired.el (dired-chown-program): Remove non-existent `linux'
5053 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
5054 (ping-program-options): Remove non-existent `linux' system-type.
5056 * startup.el (package-initialize): Update declaration.
5058 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
5059 (ls-lisp-handle-switches): Use time-less-p.
5060 (ls-lisp-format-time): Use float-time.
5062 * textmodes/remember.el (remember-time-to-seconds): Remove.
5063 (remember-store-in-mailbox): Use float-time.
5065 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
5067 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
5068 never a real function.
5069 (with-no-warnings): Remove compat stub, now unused.
5070 (time-less-p): Doc fix.
5071 (time-to-number-of-days): Simplify.
5073 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
5075 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
5076 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
5077 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
5078 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
5079 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
5081 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
5082 (eshell-shuffle-files, eshell-shorthand-tar-command)
5083 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
5084 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
5085 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
5086 Prefix dynamic local variable `matches'.
5088 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
5089 Prefix dynamic local variable `skeleton'.
5091 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
5093 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
5094 in mail buffer; make yank-action always a command that yanks original
5097 2010-11-09 Glenn Morris <rgm@gnu.org>
5099 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
5101 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5103 * minibuffer.el (minibuffer-completion-help): Specify the end of the
5104 completion field (bug#7211).
5106 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
5107 Fix handling of backslash escapes.
5108 (python-quote-syntax): Adjust accordingly.
5110 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
5112 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
5113 (vc-mtn-workfile-branch): Adjust to new output format.
5115 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5117 * international/mule-cmds.el (princ-list): Mark as obsolete.
5119 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5121 * emacs-lisp/smie.el: New package.
5123 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
5125 * files.el (backup-by-copying-when-mismatch):
5126 Set `permanent-local' property.
5128 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
5129 `permanent-local' property for `backup-by-copying-when-mismatch'.
5131 2010-11-09 Eli Zaretskii <eliz@gnu.org>
5133 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
5135 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
5137 * progmodes/verilog-mode.el (verilog-insert-one-definition)
5138 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
5139 AUTOINOUT for SV style multidimensional arrays, bug294.
5140 Reported by Eric Mastromarchi.
5141 (verilog-preprocess): Use with-current-buffer and
5142 font-lock-fontify-buffer to cleanup style issues.
5144 2010-11-09 Glenn Morris <rgm@gnu.org>
5146 * locate.el (locate, locate-mode): Doc fixes.
5148 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
5150 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
5151 user for confirmation.
5152 (server-force-stop): Use it.
5153 (server-start): Use server-force-stop for kill-emacs-hook, to
5154 avoid user interaction while killing Emacs.
5156 2010-11-09 Glenn Morris <rgm@gnu.org>
5158 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
5159 (meta-indent-line): Simplify.
5161 * vc/emerge.el (emerge-line-number-in-buf):
5162 * textmodes/ispell.el (ispell-region):
5163 * textmodes/fill.el (current-fill-column):
5164 * progmodes/xscheme.el (xscheme-send-current-line):
5165 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
5166 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
5167 * progmodes/sh-script.el (sh-handle-prev-do):
5168 * progmodes/meta-mode.el (meta-indent-line):
5169 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
5171 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
5172 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
5173 * progmodes/fortran.el (fortran-looking-at-if-then):
5174 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
5175 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
5176 (cperl-find-pods-heres):
5177 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
5178 * net/quickurl.el (quickurl-list-insert):
5179 * net/ldap.el (ldap-search-internal):
5180 * net/eudc.el (eudc-expand-inline):
5181 * mail/sendmail.el (sendmail-send-it):
5182 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
5183 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
5184 (viper-brac-function):
5185 * calc/calc-yank.el (calc-do-grab-region):
5186 * calc/calc-keypd.el (calc-keypad-press):
5187 * term.el (term-move-columns, term-insert-spaces):
5188 * speedbar.el (speedbar-highlight-one-tag-line):
5189 * simple.el (current-word):
5190 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
5191 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
5193 * hippie-exp.el (he-line-beg):
5194 * epa.el (epa--marked-keys):
5195 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
5196 (dired-update-file-line, dired-add-entry, dired-remove-entry)
5197 (dired-relist-entry):
5198 * buff-menu.el (Buffer-menu-buffer):
5199 * array.el (current-line):
5200 * allout.el (allout-resolve-xref)
5201 (allout-latex-verbatim-quote-curr-line):
5202 Replace yet more uses of end-of-line etc with line-end-position, etc.
5204 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5206 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
5207 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
5208 (checkdoc-syntax-table): Initialize in the declaration.
5209 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
5210 the mode on unconditionally.
5212 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
5213 (extent-end-position, extent-start-position): Remove setf method for
5214 non-existing functions (bug#7319).
5216 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5218 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
5219 (smie-precs->prec2): Rename from smie-precs-precedence-table.
5220 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
5221 (smie-prec2->grammar): Rename from smie-prec2-levels.
5222 (smie-grammar): Rename from smie-op-levels.
5223 (smie-indent--hanging-p): Rename from smie-hanging-p.
5224 (smie-rule-hanging-p): New alias.
5225 (smie-indent--bolp): Rename from smie-bolp.
5226 (smie-indent--hanging-p): New alias.
5227 (smie--token): New dynamically bound variable.
5228 (smie-indent--parent): New function.
5229 (smie-rule-parent-p): Use it; rename from smie-parent-p.
5230 (smie-rule-next-p): Rename from smie-next-p.
5231 (smie-rule-prev-p): Rename from smie-prev-p.
5232 (smie-rule-sibling-p, smie-rule-parent)
5233 (smie-indent--separator-outdent, smie-rule-separator): New functions.
5234 (smie-rule-separator-outdent): New var.
5235 (smie-indent--rule): Merge with smie-indent--column.
5236 (smie-indent-forward-token, smie-indent-backward-token):
5237 Also recognize close parens.
5238 (smie-indent-keyword): Don't use smie-indent--column any more.
5239 (smie-indent-after-keyword): Ignore closers by default.
5240 (smie-indent-line): Use with-demoted-errors.
5241 * progmodes/octave-mod.el (octave-smie-grammar):
5242 Rename from octave-smie-op-levels.
5243 (octave-smie-rules): Adjust to new behavior.
5244 * progmodes/prolog.el (prolog-smie-grammar):
5245 Rename from prolog-smie-op-levels.
5247 2010-11-07 Glenn Morris <rgm@gnu.org>
5249 * eshell/esh-util.el (subst-char-in-string)
5250 (directory-files-and-attributes): These compatibility definitions are
5251 not needed on any version of Emacs since at least 21.4.
5253 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
5254 (verilog-get-end-of-line): Remove.
5255 (verilog-within-string, verilog-re-search-forward-substr)
5256 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
5257 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
5258 Use point-at-bol, point-at-eol.
5259 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
5261 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
5262 (electric-pascal-terminate-line, pascal-set-auto-comments)
5263 (pascal-indent-paramlist, pascal-indent-declaration)
5264 (pascal-get-lineup-indent, pascal-func-completion)
5265 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
5266 Use point-at-bol, point-at-eol.
5267 * progmodes/flymake.el (flymake-line-beginning-position)
5268 (flymake-line-end-position): Remove.
5269 (flymake-highlight-line): Use point-at-bol, point-at-eol.
5270 * eshell/esh-util.el (line-end-position, line-beginning-position):
5271 Remove compat definitions.
5273 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
5275 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
5276 Use line-end-position.
5278 * emacs-lisp/chart.el (chart-zap-chars):
5279 * play/decipher.el (decipher-set-map):
5280 * progmodes/ada-mode.el (ada-get-current-indent)
5281 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
5282 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
5283 * progmodes/ada-xref.el (ada-initialize-runtime-library)
5284 (ada-get-all-references):
5285 * progmodes/cperl-mode.el (cperl-electric-paren)
5286 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
5287 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
5288 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
5289 (cperl-word-at-point-hard):
5290 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
5291 (idlwave-shell-filename-string, idlwave-shell-batch-command)
5292 (idlwave-shell-display-line):
5293 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
5294 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
5295 * progmodes/js.el (js--re-search-forward-inner)
5296 (js--re-search-backward-inner):
5297 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
5298 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
5299 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
5300 * textmodes/flyspell.el (flyspell-process-localwords):
5301 * textmodes/ispell.el (ispell-buffer-local-parsing)
5302 (ispell-buffer-local-dict, ispell-buffer-local-words):
5303 Use point-at-bol and point-at-eol.
5305 * speedbar.el (speedbar-generic-item-info)
5306 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
5307 (speedbar-add-indicator, speedbar-check-vc-this-line)
5308 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
5309 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
5310 Replace more uses of end-of-line etc with line-end-position.
5312 2010-11-06 Glenn Morris <rgm@gnu.org>
5314 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
5315 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
5316 (texinfo-delete-existing-pointers, texinfo-find-pointer)
5317 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
5318 (texinfo-multiple-files-update):
5319 * textmodes/table.el (table--probe-cell-left-up)
5320 (table--probe-cell-right-bottom):
5321 * textmodes/picture.el (picture-tab-search):
5322 * textmodes/page-ext.el (pages-copy-header-and-position)
5323 (pages-directory-for-addresses):
5324 * progmodes/vera-mode.el (vera-get-offset):
5325 * progmodes/simula.el (simula-calculate-indent):
5326 * progmodes/python.el (python-pdbtrack-overlay-arrow):
5327 * progmodes/prolog.el (end-of-prolog-clause):
5328 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
5329 * progmodes/icon.el (indent-icon-exp):
5330 * progmodes/etags.el (tag-re-match-p):
5331 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
5332 * progmodes/ebnf2ps.el (ebnf-begin-file):
5333 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
5334 (dcl-save-local-variable):
5335 * play/life.el (life-setup):
5336 * play/gametree.el (gametree-looking-at-ply):
5337 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
5338 * mail/sendmail.el (mail-mode-auto-fill):
5339 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
5340 * emacs-lisp/edebug.el (edebug-overlay-arrow):
5341 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
5342 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
5343 (woman-tab-to-tab-stop, WoMan-warn-ignored):
5344 * type-break.el (type-break-file-keystroke-count):
5345 * term.el (term-replace-by-expanded-history-before-point)
5346 (term-skip-prompt, term-extract-string):
5347 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
5348 (speedbar-contract-line, speedbar-toggle-line-expansion)
5349 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
5350 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
5351 * sort.el (sort-skip-fields):
5352 * skeleton.el (skeleton-internal-list):
5353 * simple.el (line-move-finish, line-move-to-column):
5354 * shell.el (shell-forward-command):
5355 * misc.el (copy-from-above-command):
5356 * makesum.el (double-column):
5357 * ebuff-menu.el (electric-buffer-update-highlight):
5358 * dired.el (dired-move-to-end-of-filename):
5359 * dframe.el (dframe-popup-kludge):
5360 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
5361 * arc-mode.el (archive-get-lineno):
5362 Use line-end-position and line-beginning-position.
5364 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
5365 (idlwave-study-twins): Prefix dynamic local `class'.
5366 (idlwave-routine-twin-compare): Update for above name change.
5368 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
5369 Use boundp tests to silence compiler. Update for changed name of
5370 bytecomp-filename variable.
5372 * emulation/viper-cmd.el (viper-read-string-with-history):
5373 Prefix dynamic local `initial'.
5374 (viper-minibuffer-standard-hook): Update for above name change.
5376 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
5377 (elint-init-form): Update for above name change.
5379 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
5380 local variables `cbeg' and `cend' a prefix.
5381 (mail-extr-voodoo): Update for above name change.
5383 * textmodes/reftex-toc.el (reftex-toc-do-promote)
5384 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
5385 (reftex-toc-promote-action): Doc fix.
5387 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
5388 `prompt', `data' a prefix.
5389 (reftex-select-post-command-hook, reftex-select-callback)
5390 (reftex-select-mouse-accept, reftex-select-read-cite):
5391 Update for above name changes.
5393 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
5394 `refstyle' to reftex-refstyle.
5395 (reftex-offer-label-menu): Update for above name change.
5396 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
5397 `refstyle' name change.
5399 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
5400 with with-current-buffer.
5401 (diff, template): Give dynamic local variables a prefix.
5402 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
5403 (emerge-line-number-in-buf): Update for above name change.
5404 (emerge-combine-versions-internal): Rename local `template' to
5405 emerge-combine-template.
5406 (emerge-combine-versions-edit): Update for above name change.
5408 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
5410 * textmodes/reftex-cite.el
5411 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
5412 entries with whitespace after \bibitem.
5413 (reftex-create-bibtex-file): Match entries containing numbers and
5414 symbol constituents. Make sure that entries with whitespace at
5415 various places are found.
5417 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
5419 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
5421 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
5423 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
5425 2010-11-05 Glenn Morris <rgm@gnu.org>
5427 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
5428 (woman2-roff-buffer): Give local variable `request' a prefix.
5429 (woman0-macro): Rename argument `request' in the same way.
5430 (woman-request): New name for `request' dynamic variable.
5431 (woman-unquote, woman-forward-arg): Update for above name change.
5432 (woman1-roff-buffer): Give local variable `unquote' a prefix.
5433 (woman1-unquote): New name for `unquote' dynamic variable.
5434 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
5435 (woman-translations): Rename from `translations'. No longer global.
5436 (woman2-tr, woman-translate): Update for above name change.
5437 (woman-translate): Check for bound variable.
5438 (woman2-roff-buffer): Give local variable `translations' a prefix.
5440 * play/doctor.el: Give all local variables a prefix. Update callers.
5441 (doc$, doctor-put-meaning): Use backquote.
5443 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
5444 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
5446 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
5447 variables bytes, ptr, op a prefix.
5448 (disassemble-offset): Update for above change.
5450 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5452 * emacs-lisp/package.el (package-unpack): Remove no-op.
5453 (package--builtins, package--dir): Doc fix.
5454 (package-activate-1, package-activate, package-install)
5455 (package-compute-transaction): Fix error message.
5456 (package-delete): Use delete-directory. Omit system packages.
5457 (package-initialize): Set package-alist to nil first.
5458 (package-menu-mark-delete, package-menu-mark-install): Don't add
5459 symbols that are inconsistent with the package state.
5460 (package-menu-execute): Perform deletions and installations as
5461 single batch operations.
5463 2010-11-03 Glenn Morris <rgm@gnu.org>
5465 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
5466 (props): Remove unnecessary declaration.
5468 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
5469 set-process-query-on-exit-flag.
5471 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
5472 (reftex-toc-do-promote): Remove unused local `mpos'.
5473 (reftex-toc-restore-region): Make `mpos' local to this function.
5475 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
5477 * play/landmark.el (lm-losing-threshold): Correct spelling.
5478 (lm-human-plays): Use new name.
5480 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
5481 (gomoku-human-plays): Use new name.
5483 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
5484 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
5485 (gomoku-score-trans-table, gomoku-winning-threshold)
5486 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
5488 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5490 * emacs-lisp/package.el: Don't put built-in packages in
5491 package-alist, to avoid loading inefficiencies.
5492 (package-built-in-p): Make VERSION optional, and treat it as a
5493 minimum acceptable version.
5494 (package-activate): Search separately for built-in packages.
5495 Emit a warning if a dependency fails.
5496 (define-package): Handle most common case, where there is no
5497 obsolete package, first.
5498 (package-compute-transaction): Print required version in error.
5499 (package--initialized): New variable.
5500 (list-packages): Use it.
5501 (package-initialize): Optional arg NO-ACTIVATE. Don't put
5502 built-in packages in packages-alist; keep it separate.
5503 Set package--initialized.
5504 (describe-package): Avoid activating packages as a side-effect.
5505 Search separately for built-in packages.
5506 (describe-package-1): Handle the case where an elpa package is
5507 simultaneously built-in and available/installed.
5508 (package-installed-p, package--generate-package-list):
5509 Search separately for built-in packages.
5510 (package-load-descriptor): Doc fix.
5512 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5514 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5515 Handle __DATA__ and __END__.
5517 2010-11-02 Noah Friedman <friedman@splode.com>
5519 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
5520 nil, do not ask to recompile files that are not already compiled,
5521 and do not recompile them.
5523 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
5525 * emacs-lisp/package.el (package-initialize): Ensure that
5526 obsoleted built-in packages are not in package-activated-list
5528 (describe-package-1): Make the "installed" status override
5531 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5533 * subr.el (version-separator, version-regexp-alist): Remove '*'
5535 (version-list-<=, version<=, version=): Doc fix.
5537 2010-11-01 Kenichi Handa <handa@m17n.org>
5539 * faces.el (glyphless-char): Inherit underline for tty.
5541 2010-11-01 Kenichi Handa <handa@m17n.org>
5543 Implement various display methods for glyphless characters.
5545 * international/characters.el (char-acronym-table): New variable.
5546 (glyphless-char-control): New variable.
5547 (update-glyphless-char-display): New function.
5549 * faces.el (glyphless-char): New face.
5551 2010-11-01 Glenn Morris <rgm@gnu.org>
5553 * calendar/holidays.el (general-holidays, oriental-holidays)
5554 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
5555 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
5556 the definitions of their targets.
5558 * emacs-lisp/smie.el (smie): New custom group.
5559 (smie-blink-matching-inners, smie-indent-basic): Add :group.
5561 * faces.el (xw-defined-colors, x-setup-function-keys):
5562 * mouse-sel.el (x-select-text):
5563 * term/w32console.el (x-setup-function-keys): Update declarations.
5565 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
5567 * textmodes/ispell.el (comment-add): Declare.
5569 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
5572 * info.el (finder-keywords-hash, package-alist): Declare.
5574 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5576 * finder.el (finder-compile-keywords): Don't use intern-soft,
5577 since package names may not yet exist in the obarray.
5579 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5581 * vc/vc-arch.el (vc-arch-checkin):
5582 * vc/vc-cvs.el (vc-cvs-checkin):
5583 * vc/vc-mtn.el (vc-mtn-checkin):
5584 * vc/vc-rcs.el (vc-rcs-checkin):
5585 * vc/vc-sccs.el (vc-sccs-checkin):
5586 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
5587 since 2010-04-21 commit by Stefan Monnier.
5589 2010-11-01 Glenn Morris <rgm@gnu.org>
5591 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
5593 * startup.el (package-enable-at-startup, package-initialize):
5596 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
5599 2010-10-31 Julien Danjou <julien@danjou.info>
5601 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
5602 (byte-recompile-directory):
5603 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
5604 Use `byte-recompile-file'.
5606 2010-10-31 Glenn Morris <rgm@gnu.org>
5608 * cus-start.el: Handle standard values via a keyword.
5609 Only set version property if specified.
5610 (cursor-in-non-selected-windows, menu-bar-mode)
5611 (tool-bar-mode, show-trailing-whitespace):
5612 Do not specify standard values.
5613 (transient-mark-mode, temporary-file-directory): Use :standard.
5615 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
5617 * term/x-win.el (x-get-selection-value): New function that gets
5618 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
5620 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
5622 * net/tramp.el (tramp-handle-insert-file-contents): For root,
5623 preserve owner and group when editing files. (Bug#7289)
5625 2010-10-31 Glenn Morris <rgm@gnu.org>
5627 * speedbar.el (speedbar-mode):
5628 * play/fortune.el (fortune-in-buffer, fortune):
5629 * play/gomoku.el (gomoku-mode):
5630 * play/landmark.el (lm-mode):
5631 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
5632 Replace inappropriate uses of toggle-read-only. (Bug#7292)
5634 * select.el (x-selection): Mark it as an obsolete alias.
5636 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5638 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
5639 major-mode (bug#7284).
5641 2010-10-31 Glenn Morris <rgm@gnu.org>
5643 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
5644 rather than just an unused variable that inherits from the real one.
5646 2010-10-31 Alan Mackenzie <acm@muc.de>
5648 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
5649 This fixes bug #7185.
5651 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
5653 * startup.el (command-line): Search for package directories, and
5654 don't load package.el if none are found.
5656 * emacs-lisp/package.el (describe-package, list-packages):
5657 Call package-initialize if it has not been called yet.
5659 2010-10-30 Alan Mackenzie <acm@muc.de>
5661 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
5662 which fontifies the tail of an enum.
5663 (c-basic-matchers-after): Insert a call to the above new function.
5664 This fixes bug #7264.
5666 2010-10-30 Glenn Morris <rgm@gnu.org>
5668 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
5669 tool-bar-mode, transient-mark-mode. (Bug#7306)
5670 Include the :set property in the dumped Emacs.
5672 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5674 SMIE: change indent rules format, improve smie-setup.
5675 * emacs-lisp/smie.el (smie-precs-precedence-table)
5676 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
5677 Mark them pure so the tables gets built at compile time.
5678 (smie-bnf-precedence-table): Store the closer-alist in the table.
5679 (smie-prec2-levels): Preserve the closer-alist.
5680 (smie-blink-matching-open): Be more forgiving in case of indentation.
5681 (smie-hanging-p): Rename from smie-indent--hanging-p.
5682 (smie-bolp): Rename from smie-indent--bolp.
5683 (smie--parent, smie--after): New dynamic vars.
5684 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
5685 (smie-indent-rules): Remove.
5686 (smie-indent--offset-rule): Remove fun.
5687 (smie-rules-function): New var.
5688 (smie-indent--rule): New fun.
5689 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
5690 (smie-indent-exps): Use it.
5691 (smie-setup): Setup paren blinking; add keyword args for token
5692 functions; extract closer-alist from op-levels.
5693 (smie-indent-debug-log): Remove var.
5694 (smie-indent-debug): Remove fun.
5695 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
5696 (prolog-smie-rules): New fun to replace it.
5697 (prolog-mode-variables): Simplify.
5698 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
5699 it's setup automatically.
5700 (octave-smie-indent-rules): Remove.
5701 (octave-smie-rules): New fun to replace it.
5702 (octave-mode): Simplify.
5704 2010-10-29 Glenn Morris <rgm@gnu.org>
5706 * files.el (temporary-file-directory): Remove (already defined in C).
5707 * cus-start.el: Add temporary-file-directory.
5709 * abbrev.el (abbrev-mode):
5710 * composite.el (auto-composition-mode):
5711 * menu-bar.el (menu-bar-mode):
5712 * simple.el (transient-mark-mode):
5713 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5714 that they do not define the associated variables twice.
5715 * simple.el (transient-mark-mode): Remove defvar.
5716 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5717 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5718 Handle multiple groups, and also custom-delayed-init-variables.
5719 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5721 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5723 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5724 (pcase-if): Add one minor optimization.
5725 (pcase-split-equal): Rename from pcase-split-eq.
5726 (pcase-split-member): Rename from pcase-split-memq.
5727 (pcase-u1): Add strings to the member optimization.
5728 Add `guard' variant of predicates.
5729 (pcase-q1): Add string patterns.
5731 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5733 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5735 2010-10-28 Glenn Morris <rgm@gnu.org>
5737 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5738 Move menu-bar related settings to ../menu-bar.el.
5739 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5740 Move ns-specific settings here from term/ns-win.el.
5742 * simple.el (x-selection-owner-p): Remove unused declaration.
5744 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5746 * minibuffer.el (completion-cycling): New var (bug#7266).
5747 (minibuffer-complete, completion--do-completion):
5748 Use completion--flush-all-sorted-completions.
5749 (minibuffer-complete): Only cycle if completion-cycling is set.
5750 (completion--flush-all-sorted-completions): Unset completion-cycling.
5751 (minibuffer-force-complete): Set completion-cycling.
5752 (completion-all-sorted-completions): Move declaration before first use.
5754 2010-10-28 Leo <sdl.web@gmail.com>
5756 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5757 which changes the order of matches seen by users (bug#7231).
5759 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
5761 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5762 Don't confuse -omega as "-o mega".
5764 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
5766 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5767 (log-edit-author): New dynamic var.
5768 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5769 to return the author if different from committer.
5770 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5772 * play/landmark.el: Adjust commenting convention.
5773 (lm-nil-score): Rename from nil-score.
5774 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5775 (OOOOscore): Move into a let in lm-score-trans-table.
5776 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5778 * electric.el (electric-indent-chars): Autoload.
5779 * progmodes/octave-mod.el (octave-mode):
5780 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5781 (ruby-mode-abbrev-table): Merge initialization and declaration.
5783 2010-10-27 Glenn Morris <rgm@gnu.org>
5785 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5788 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5790 * term/ns-win.el: Restore require of cl when compiling.
5791 (menu-bar-final-items): Remove non-existent `windows' menu.
5792 (ns-handle-nxopen): Optionally handle the temp-case.
5793 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5794 (ns-insert-file, ns-find-file): Use `pop'.
5796 2010-10-26 Glenn Morris <rgm@gnu.org>
5798 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5800 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
5802 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5804 * term/common-win.el (x-setup-function-keys): Remove most of the
5805 keymappings. Comment on the remaining ones.
5807 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
5809 * server.el (server-port): New option. (Bug#854)
5810 (server-start): Use server-port.
5812 2010-10-26 Glenn Morris <rgm@gnu.org>
5814 * term/ns-win.el (ns-version-string): Remove unused declaration.
5815 (ns-invocation-args): Change to x-invocation-args.
5816 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5817 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5818 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5819 Use x-invocation-args instead of ns-invocation-args.
5820 (ns-initialize-window-system, handle-args-function-alist):
5821 Use x-handle-args instead of ns-handle-args.
5822 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5823 * startup.el (command-line-ns-option-alist): Replace
5824 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5825 ns-handle-iconic with the x- equivalents.
5827 * term/common-win.el (x-select-enable-clipboard):
5828 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5830 * term/ns-win.el: No need to require cl when compiling.
5831 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5832 (xw-defined-colors): Use the common-win definitions.
5833 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5834 (ns-handle-iconic): Make it an alias for x-handle-iconic.
5835 * term/common-win.el (x-select-text, x-alternatives-map)
5836 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5837 * loadup.el [ns]: Load common-win.
5839 2010-10-26 Daiki Ueno <ueno@unixuser.org>
5841 * epa-mail.el (epa-mail-encrypt): Handle local-part only
5842 recipients; expand mail aliases (Bug#7280).
5844 2010-10-25 Glenn Morris <rgm@gnu.org>
5846 * term/common-win.el (x-handle-switch): Simplify with pop.
5847 Optionally handle numeric switches.
5848 (x-handle-numeric-switch): Just call x-handle-switch.
5849 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5850 (x-handle-name-switch, x-handle-display, x-handle-args):
5853 * term/ns-win.el: Do not require easymenu.
5854 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5855 <spell>: Move adjustments to menu-bar.el.
5856 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5857 <separator-undo, spell>: Move ns-win's adjustments here.
5858 * loadup.el [ns]: Do not load easymenu.
5860 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5862 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5865 * startup.el (fancy-startup-tail): Instead of using inline images,
5866 refer to image files from etc/.
5868 * wid-edit.el (checkbox): Likewise.
5869 (widget-image-find): Center image specs.
5871 2010-10-24 Glenn Morris <rgm@gnu.org>
5873 * term/ns-win.el (x-select-text): Doc fix.
5874 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5875 (x-select-text): Move to term/common-win.
5876 * term/w32-win.el (xw-defined-colors): Move to common-win.
5877 * term/x-win.el (xw-defined-colors, x-alternatives-map)
5878 (x-setup-function-keys, x-select-text): Move to common-win.
5879 * term/common-win.el (x-select-text, x-alternatives-map)
5880 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5883 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
5885 * net/mairix.el (mairix-searches-mode-map):
5886 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5888 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
5890 * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5891 auto-built for efficiency of execution and updating.
5892 (verilog-extended-complete-re): Support 'pure' fucntion & task
5893 declarations (these have no bodies).
5894 (verilog-beg-of-statement): General cleanup to enable support of
5895 'pure' fucntion & task declarations (these have no bodies).
5896 These efforts together fix Verilog bug210 from veripool; which was also
5897 noticed by Steve Pearlmutter.
5898 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5899 (verilog-directive-nest-re, verilog-set-auto-endcomments):
5900 Support `elsif. Reported by Shankar Giri.
5901 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5902 attribute handling for lining up declarations and assignments.
5903 (verilog-beg-of-statement-1): Fix issue where continued declaration
5904 is indented differently if it is after a begin..end clock.
5905 (verilog-in-attribute-p, verilog-skip-backward-comments)
5906 (verilog-skip-forward-comment-p): Support proper treatment of
5907 attributes by indent code. Reported by Jeff Steele.
5908 (verilog-in-directive-p): Fix comment to correctly describe function.
5909 (verilog-backward-up-list, verilog-in-struct-region-p)
5910 (verilog-backward-token, verilog-in-struct-p)
5911 (verilog-in-coverage-p, verilog-do-indent)
5912 (verilog-pretty-declarations): Use verilog-backward-up-list as
5913 wrapper around backward-up-list inorder to properly skip comments.
5914 Reported by David Rogoff.
5915 (verilog-property-re, verilog-endcomment-reason-re)
5916 (verilog-beg-of-statement, verilog-set-auto-endcomments)
5917 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5918 of if). Reported by Max Bjurling and
5919 (verilog-calc-1): Fix for clocking block in modport
5920 declaration. Reported by Brian Hunter.
5922 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
5924 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5925 (verilog-gate-keywords, verilog-read-sub-decls)
5926 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
5927 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
5928 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
5929 (verilog-read-decls): Fix spaces in V2K module parameters causing
5930 mis-identification as interfaces, bug287.
5931 (verilog-read-decls): Fix not treating "parameter string" as a
5932 parameter in AUTOINSTPARAM.
5933 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
5934 treating `elsif similar to `endif inside AUTOSENSE.
5935 (verilog-do-indent): Implement correct automatic or static task or
5936 function end comment highlight. Reported by Steve Pearlmutter.
5937 (verilog-font-lock-keywords-2): Fix highlighting of single
5938 character pins, bug264. Reported by Michael Laajanen.
5939 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
5940 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
5941 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
5942 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
5943 (verilog-pretty-expr): Fix interactive arguments, bug272.
5944 Reported by Mark Johnson.
5945 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
5946 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
5947 bug269. Suggested by Gary Delp.
5948 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
5949 (verilog-preprocessor, verilog-set-compile-command):
5950 Create verilog-preprocess and verilog-preprocessor to show
5951 preprocessed output.
5952 (verilog-get-beg-of-line, verilog-get-end-of-line)
5953 (verilog-modi-file-or-buffer, verilog-modi-name)
5954 (verilog-modi-point, verilog-within-string): Move defmacro's
5955 before first use to avoid warning. Reported by Steve Pearlmutter.
5956 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
5957 (verilog-colorize-region, verilog-highlight-buffer)
5958 (verilog-highlight-includes, verilog-highlight-modules)
5959 (verilog-highlight-region, verilog-mode): Rename colorize to
5960 highlight to match other packages. Disable module highlighting,
5961 as received speed complaints, reenable for experimentation only
5962 using new verilog-highlight-modules.
5963 (verilog-read-decls): Fix regexp stack overflow in very large
5964 AUTO_TEMPLATEs, bug250.
5965 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
5966 (verilog-scan): Create verilog-save-buffer-state to standardize
5967 making insignificant changes that shouldn't call hooks.
5968 (verilog-save-no-change-functions, verilog-save-scan-cache)
5969 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
5970 Create verilog-save-no-change-functions to wrap verilog-scan
5971 preservation, and fix to work with nested preserved calls.
5972 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
5973 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
5974 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
5975 (verilog-submit-bug-report): Update variable list to be complete.
5976 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
5977 breaking on-the-fly font-locking.
5978 (verilog-colorize-buffer, verilog-colorize-include-files)
5979 (verilog-colorize-include-files-buffer, verilog-colorize-region)
5980 (verilog-load-file-at-mouse, verilog-load-file-at-point)
5981 (verilog-mode, verilog-read-inst-module-matcher): With point on a
5982 AUTOINST cell instance name, middle mouse button now finds-file on
5983 it. Suggested by Brad Dobbie.
5984 (verilog-alw-get-temps, verilog-auto-reset)
5985 (verilog-auto-sense-sigs, verilog-read-always-signals)
5986 (verilog-read-always-signals-recurse): Fix loop indexes being
5987 AUTORESET. AUTORESET now assumes any variables in the
5988 initialization section of a for() should be ignored.
5989 Reported by Dan Dever.
5990 (verilog-error-font-lock-keywords)
5991 (verilog-error-regexp-emacs-alist)
5992 (verilog-error-regexp-xemacs-alist): Fix error detection of
5993 Cadence HAL, reported by David Asher. Repair drift between the
5994 three similar error variables.
5995 (verilog-modi-lookup, verilog-modi-lookup-cache)
5996 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
5997 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
5998 Fix slow verilog-auto expansion on very large files.
5999 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
6000 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
6001 "{1*2{...". Broke in last revision.
6002 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
6003 submodule connections with replications "{#{a},#{b}}".
6005 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
6007 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
6008 Fix typo in docstring.
6010 2010-10-24 Kenichi Handa <handa@m17n.org>
6012 * face-remap.el (text-scale-adjust): Call read-event with a proper
6015 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6017 * emacs-lisp/unsafep.el: Don't mark functions that display
6018 messages as safe. Suggested by Johan Bockgård.
6020 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6022 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
6023 Turn comments into docstrings.
6025 * minibuffer.el (completion--replace): Move point where it belongs
6026 when there's a common suffix (bug#7215).
6028 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6030 Merge read-color and facemenu-read-color (Bug#7242).
6032 * faces.el (read-color): Use the completion code from
6033 facemenu-read-color. Require match in completion. Doc fix.
6035 * facemenu.el (facemenu-read-color): Alias for read-color.
6036 (facemenu-set-foreground, facemenu-set-background):
6039 * frame.el (set-background-color, set-foreground-color)
6040 (set-cursor-color, set-mouse-color, set-border-color):
6043 2010-10-24 Leo <sdl.web@gmail.com>
6045 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
6046 argument of delete-file and delete-directory (Bug#7011).
6048 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6050 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
6053 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
6055 * emacs-lisp/package.el (package--generate-package-list): Make the
6056 *Packages* buffer read-only.
6058 2010-10-24 Alan Mackenzie <acm@muc.de>
6060 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
6061 result of `c-beginning-of-decl-1' between invocations of a lambda
6062 function (Bug #7265).
6064 2010-10-24 Daiki Ueno <ueno@unixuser.org>
6066 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
6067 executable is not available on the system (Bug#7268).
6069 2010-10-24 Glenn Morris <rgm@gnu.org>
6071 * select.el (selection-coding-system, next-selection-coding-system):
6072 Sync doc with C versions.
6074 * w32-vars.el (x-select-enable-clipboard):
6075 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
6076 * term/common-win.el (x-select-enable-clipboard): Move here.
6078 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
6079 definition of C variable.
6081 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
6082 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
6083 Don't redefine things that are defined in C.
6084 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
6085 (show-trailing-whitespace, auto-hscroll-mode)
6086 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
6087 Set up the appropriate custom properties.
6089 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
6092 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
6093 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
6094 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
6095 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
6097 2010-10-23 Glenn Morris <rgm@gnu.org>
6099 * textmodes/flyspell.el (flyspell-mode): If there was an error,
6102 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
6103 Sync docs with C version.
6105 * term/ns-win.el (xw-defined-colors):
6106 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
6108 * term/pc-win.el (x-select-enable-clipboard):
6109 * term/x-win.el (x-select-enable-clipboard):
6110 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
6112 * comint.el (comint-password-prompt-regexp): Make it less vague.
6115 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
6117 * help.el (finder-by-keyword): Remove unnecessary autoload.
6119 2010-10-22 Glenn Morris <rgm@gnu.org>
6121 * loadup.el: Unconditionally load float-sup.
6122 * paren.el (show-paren-delay):
6123 * emacs-lisp/float-sup.el:
6124 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
6125 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
6126 (lazy-lock-stealth-verbose): Assume float support.
6127 * ps-print.el: Assume float support on Emacs.
6128 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
6129 Remove non-float branch.
6131 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
6132 src/Makefile no longer being pre-processed.
6134 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6136 * emacs-lisp/find-func.el (find-library): Use test-completion.
6138 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6140 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
6142 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
6144 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
6145 space in stat format string.
6146 (tramp-send-command): Unset $PS1 when using here documents, in
6147 order not to get several prompts.
6148 (tramp-get-inline-coding): Return `nil' in case of errors.
6150 2010-10-21 Daiki Ueno <ueno@unixuser.org>
6152 * hexl.el (hexl-mode, hexl-mode-exit):
6153 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
6154 (hexl-revert-buffer-function): New function.
6155 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
6157 2010-10-19 Alan Mackenzie <acm@muc.de>
6159 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
6160 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
6161 that these keywords aren't wrongly matched as identifiers.
6163 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
6164 setting of c-new-BEG and c-new-END from c-before-change to
6165 c-after-change. (Bug#7181)
6167 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
6169 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
6172 * custom.el (custom-theme-set-variables): Likewise.
6173 (load-theme): Add custom-theme-set-faces and
6174 custom-theme-set-variables to safe-functions while loading.
6175 (custom-enabled-themes): Mark as risky.
6177 2010-10-18 Julien Danjou <julien@danjou.info>
6179 * bindings.el: Remove end dashes in default mode-line-format.
6181 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
6183 * bindings.el (global-map): Bind C-d to delete-char and deletechar
6184 to delete-forward-char.
6186 * simple.el (normal-erase-is-backspace-mode): Remap delete to
6187 deletechar, and hence delete-forward-char.
6189 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6191 * repeat.el (repeat): Use read-key (bug#6256).
6193 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
6195 * emacs-lisp/unsafep.el: Don't mark functions that display
6196 messages as safe. Suggested by Johan Bockgård.
6198 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6200 * minibuffer.el (completion--replace): Move point where it belongs
6201 when there's a common suffix (bug#7215).
6203 2010-10-19 Kenichi Handa <handa@m17n.org>
6205 * international/characters.el: Add category '|' (word breakable)
6206 to fullwidth characters.
6208 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
6210 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
6211 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
6212 order to make stat results a float. Patch by Andreas Schwab
6213 <schwab@linux-m68k.org>.
6215 2010-10-18 Julien Danjou <julien@danjou.info>
6217 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
6218 hidden by `make-pointer-invisible'.
6220 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6222 * files.el (locate-file-completion-table): Strip non-matching elements
6223 before checking length of list (bug#7238).
6225 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
6227 * custom.el (custom-theme-set-variables): Mark as a safe function.
6228 (load-theme): Check forms using unsafep.
6230 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
6232 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
6234 * textmodes/ispell.el (ispell-aspell-find-dictionary):
6235 Fix aspell data file searching (bug#7230).
6237 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6239 * cus-theme.el (custom-theme--migrate-settings): New var.
6240 (customize-create-theme): Allow editing the `user' theme.
6241 (custom-theme-add-variable, custom-theme-add-var-1)
6242 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
6243 to the front of each variable or face widget.
6244 (custom-theme-write): Save theme settings in the correct order.
6245 Optionally, remove saved settings from user customizations.
6246 (custom-theme-write-variables, custom-theme-write-faces):
6247 Save only the checked widgets.
6248 (customize-themes): Add a link for migrating custom settings.
6250 * custom.el (custom-declare-theme, provide-theme):
6251 Use custom-theme-name-valid-p.
6252 (custom-theme-name-valid-p): Remove checks that are now
6253 unnecessary since themes no longer obey load-path.
6255 * cus-edit.el (custom-variable-value-create): For the simple
6256 style, hide documentation string when hidden.
6258 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6260 * cus-edit.el (custom-variable, custom-face): Combine the
6261 :inhibit-magic and :display-style properties into a single
6262 :custom-style property.
6263 (custom-toggle-hide-variable, custom-toggle-hide-face):
6264 New functions. If hiding an edited value, save it to :shown-value.
6265 (custom-variable-value-create, custom-face-value-create): Use them.
6266 (custom-magic-reset): Allow magic property to be unset.
6268 * custom.el: Custom themes no longer use load-path.
6269 (custom-theme-load-path): New option. Change built-in theme
6271 (custom-enabled-themes): Add custom-theme-load-path dependency.
6272 (custom-theme--load-path): New function.
6273 (load-theme, custom-available-themes): Use it.
6275 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
6276 (customize-themes): Link to custom-theme-load-path variable.
6277 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
6278 :custom-style property.
6280 * themes/*.el: Moved to etc/.
6282 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
6284 * textmodes/reftex-cite.el
6285 (reftex-extract-bib-entries-from-thebibliography): Do not move
6286 point when searching for \bibitem entries. Match entries with
6287 spaces or tabs in front of arguments.
6289 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
6291 * cus-theme.el (customize-create-theme): Delete overlays after
6292 erasing. If given a THEME arg, display only the faces of that arg
6293 instead of custom-theme--listed-faces.
6294 (custom-theme-variable-menu, custom-theme-variable-action)
6295 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
6296 (custom-theme-add-variable, custom-theme-add-face): Apply value
6297 from the theme settings, instead of the current value.
6298 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
6299 (custom-theme-visit-theme): Allow calling outside theme buffers.
6300 (custom-theme-merge-theme): Don't enable the theme when merging.
6301 (custom-theme-write-variables, custom-theme-write-faces): Use the
6302 :shown-value properties to save buffer values, not global ones.
6303 (customize-themes): Display a warning about user customizations.
6305 * cus-edit.el (custom-variable-value-create)
6306 (custom-face-value-create): Obey new special properties
6307 :shown-value and :inhibit-magic.
6309 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
6311 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6312 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
6315 2010-10-14 Kenichi Handa <handa@m17n.org>
6317 * mail/rmail.el (rmail-show-message-1): Catch an error of
6318 base64-decode-region and just show an error message (bug#7165).
6320 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
6321 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
6322 a font-spec (bug#7197).
6324 2010-10-14 Glenn Morris <rgm@gnu.org>
6326 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
6328 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
6330 * international/mule.el (define-coding-system):
6331 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
6332 * composite.el (compose-region): Fix typo in docstring.
6334 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
6336 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
6337 only after checking the theme-face property.
6339 * faces.el (face-spec-reset-face): Reset all attributes in one
6340 single call to set-face-attribute.
6341 (face-spec-match-p): Make it a defsubst.
6342 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
6343 (x-create-frame-with-faces, tty-create-frame-with-faces)
6344 (tty-set-up-initial-frame-faces): Don't recompute face specs in
6345 frame-set-background-mode, since they are recomputed immediately
6346 afterwards in face-set-after-frame-default.
6347 (face-set-after-frame-default): Minor optimization.
6348 (cursor): Provide non-trivial defface spec.
6350 * custom.el (custom-theme-recalc-face): Simplify.
6352 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
6354 * calc/calc-alg.el (math-var): Rename from `var'.
6355 (math-is-polynomial, math-is-poly-rec): Replace `var'
6358 * calc/calcalg2.el (math-var): Rename from `var'.
6359 (calcFunc-table, math-scan-for-limits): Replace `var'
6362 2010-10-13 Glenn Morris <rgm@gnu.org>
6364 * subr.el (last): Deal with dotted lists (reported in bug#7174).
6366 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
6368 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
6370 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6372 * net/tls.el (tls-program): Remove spurious %s from openssl.
6373 (tls-starttls-switches): Remove starttls hack.
6374 (open-tls-stream): Ditto.
6375 (tls-find-starttls-argument): Ditto.
6377 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
6379 * image.el (image-library-alist): Declare as obsolete alias.
6380 (image-type-available-p): Use `dynamic-library-alist'.
6382 * term/w32-win.el (dynamic-library-alist):
6383 Use instead of `image-library-alist'.
6385 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
6387 * subr.el (last): Make it faster. (Bug#7174)
6389 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
6391 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
6393 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6395 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
6396 (describe-theme-1): Extract doc from unloaded themes.
6398 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
6400 * themes/tango-theme.el:
6401 * themes/tango-dark-theme.el:
6402 * themes/wheatgrass-theme.el: New files.
6404 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6406 * cus-theme.el (describe-theme, customize-themes)
6407 (custom-theme-save): New commands.
6408 (custom-new-theme-mode-map): Bind C-x C-s.
6409 (custom-new-theme-mode): Use custom--initialize-widget-variables.
6410 (customize-create-theme): New optional arg THEME.
6411 (custom-theme-revert): Use it.
6412 (custom-theme-visit-theme): Remove dead code.
6413 (custom-theme-merge-theme): Use custom-available-themes.
6414 (custom-theme-write): Make interactive.
6415 (custom-theme-write): Use custom-theme-name-valid-p.
6416 (describe-theme-1, custom-theme-choose-revert)
6417 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
6419 (custom-theme-allow-multiple-selections): New option.
6420 (custom-theme-choose-mode): New major mode.
6422 * custom.el (custom-theme-set-variables): Remove dead code.
6423 Obey custom--inhibit-theme-enable.
6424 (custom--inhibit-theme-enable): New var.
6425 (provide-theme): Obey it.
6426 (load-theme): Replace load with manual read/eval, in order to
6427 check for correctness. Use custom-theme-name-valid-p.
6428 (custom-theme-name-valid-p): New function.
6429 (custom-available-themes): Use it.
6431 * cus-edit.el (custom--initialize-widget-variables): New function.
6432 (Custom-mode): Use it.
6434 * cus-face.el (custom-theme-set-faces): Remove dead code.
6435 Obey custom--inhibit-theme-enable.
6437 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
6439 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
6441 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
6443 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
6445 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
6446 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
6447 (mac-right-option-modifier): New alias for ns-right-option-modifier.
6449 * cus-start.el (all): ns-right-alternate-modifier is new.
6451 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6453 * emacs-lisp/lisp.el (lisp-completion-at-point):
6454 Use emacs-lisp-mode-syntax-table for the whole function.
6456 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
6458 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
6459 instead of font-lock-mode before adding keywords.
6460 Remove hi-lock-mode off code. Remove inhibit hack.
6461 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
6462 non-nil; removed hook inhibit hack.
6464 2010-10-12 Glenn Morris <rgm@gnu.org>
6466 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
6467 (load-path-shadows-find): ... to this.
6468 (list-load-path-shadows): Update for above change.
6470 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
6472 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
6474 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
6475 Fix comment for declare-function.
6477 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
6479 * custom.el (custom-fix-face-spec): New function; code moved from
6480 custom-face-edit-fix-value.
6481 (custom-push-theme): Use it when checking if a face has been
6482 changed outside customize.
6483 (custom-available-themes): New function.
6484 (load-theme): Use it.
6486 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
6488 * custom.el (custom-push-theme): Cleanup (use cond).
6489 (disable-theme): Recompute the saved-face property.
6490 (custom-theme-recalc-face): Follow face alias before setting prop.
6492 * image.el (image-checkbox-checked, image-checkbox-unchecked):
6493 New variables, containing checkbox images.
6495 * startup.el (fancy-startup-tail):
6496 * wid-edit.el (checkbox): Use them.
6498 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
6500 * shell.el (shell-mode-map):
6501 * progmodes/modula2.el (m2-mode-map):
6502 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
6503 * play/mpuz.el (mpuz-mode-map):
6504 * play/landmark.el (lm-mode-map):
6505 * play/decipher.el (decipher-mode-map):
6506 * play/5x5.el (5x5-mode-map):
6507 * net/telnet.el (telnet-mode-map):
6508 * net/quickurl.el (quickurl-list-mode-map):
6509 * net/mairix.el (mairix-searches-mode-map):
6510 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
6511 * net/dig.el (dig-mode-map):
6512 * mail/mspools.el (mspools-mode-map):
6513 * hexl.el (hexl-mode-map):
6514 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
6515 (wordstar-C-o-map, wordstar-C-q-map):
6516 * emacs-lisp/edebug.el (edebug-eval-mode-map):
6517 * emacs-lisp/chart.el (chart-map):
6518 * edmacro.el (edmacro-mode-map):
6519 * erc/erc-list.el (erc-list-menu-mode-map):
6520 * array.el (array-mode-map): Declare and define in one step.
6522 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
6524 2010-10-10 Daiki Ueno <ueno@unixuser.org>
6526 * epa.el (epa-passphrase-callback-function): Display filename
6527 passed as the 3rd arg.
6528 * epa-file.el (epa-file-passphrase-callback-function):
6529 Pass filename to epa-passphrase-callback-function.
6531 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
6533 * cus-edit.el (custom-face-widget-to-spec)
6534 (custom-face-get-current-spec, custom-face-state): New functions.
6535 (custom-face-set, custom-face-mark-to-save)
6536 (custom-face-value-create, custom-face-state-set): Use them.
6538 * cus-theme.el (custom-theme--listed-faces): New var.
6539 (customize-create-theme): Use *Custom Theme* as the buffer name.
6540 Set revert-buffer-function. Optional arg BUFFER. Insert all
6541 faces listed in custom-theme--listed-faces.
6542 (custom-theme-revert): New function.
6543 (custom-theme-add-variable, custom-theme-add-face): Insert at the
6545 (custom-theme-write): Prompt for theme name if empty.
6546 (custom-theme-write-variables): Use dolist.
6547 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
6549 2010-10-09 Alan Mackenzie <acm@muc.de>
6551 Enhance fontification of declarators to take account of the
6552 presence/absence of "typedef".
6554 * cc-engine.el (c-forward-type): New &optional param
6556 (c-forward-decl-or-cast-1): cdr of return value now indicates the
6557 presence of either or both of a "struct"-like keyword and "typedef".
6559 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
6560 fontification of declarators which follow a "}".
6561 (c-font-lock-declarations): Fontify declarators according to the
6562 presence/absence of "typedef".
6564 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
6566 (c-typedef-decl-key): New lang variable built from
6567 c-typedef-decl-kwds.
6569 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
6571 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
6572 since that's too annoying. Move the filter groups commands to
6575 * epa.el (epa-passphrase-callback-function): Say what we're
6576 querying the password for.
6578 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
6579 behaviour, don't bury the ibuffer buffer when visiting other buffers.
6581 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6583 * cus-edit.el (custom-commands, custom-buffer-create-internal)
6584 (custom-magic-value-create): Pad button tags with spaces.
6585 (custom-face-edit): New variable.
6586 (custom-face-value-create): Determine whether to use the usual
6587 face editor here, instead of using custom-face-selected.
6588 Pass face defaults to custom-face-edit widget.
6589 (custom-face-selected, custom-display-unselected): Delete widgets.
6590 (custom-display-unselected-match): Function removed.
6591 (custom-face-set, custom-face-mark-to-save):
6592 Accept custom-face-edit widgets as the direct widget child.
6594 * wid-edit.el (widget--completing-widget): New var.
6595 (widget-default-complete): Bind it when doing completion.
6596 (widget-string-complete, widget-file-complete): Use it.
6598 2010-10-09 Glenn Morris <rgm@gnu.org>
6600 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
6601 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
6602 (holiday-hebrew-misc): Small simplifications.
6604 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
6606 * net/browse-url.el: Don't require thingatpt, term, dired,
6607 executable, or w3-auto when compiling.
6608 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
6610 (browse-url-text-emacs): Require term.
6612 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
6614 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
6616 2010-10-08 Glenn Morris <rgm@gnu.org>
6618 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
6620 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
6621 (shadows-compare-text-p): Make it an obsolete alias for...
6622 (load-path-shadows-compare-text): ... new name.
6623 (find-emacs-lisp-shadows): Update for above name change.
6624 (load-path-shadows-same-file-or-nonexistent): New name for the old
6625 shadow-same-file-or-nonexistent.
6627 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6629 * minibuffer.el (completion--some, completion--do-completion)
6630 (minibuffer-complete-and-exit, minibuffer-completion-help)
6631 (completion-basic-try-completion)
6632 (completion-basic-all-completions)
6633 (completion-pcm--find-all-completions): Use lexical-let to
6634 avoid some false matches in variable completion (Bug#7056)
6636 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
6638 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
6640 2010-10-08 Leo <sdl.web@gmail.com>
6642 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
6643 return non-nil if the file exists (Bug#7090).
6645 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6647 * minibuffer.el (completion--replace):
6648 Better preserve markers (bug#7138).
6650 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
6652 * server.el (server-process-filter): Doc fix.
6654 2010-10-08 Drew Adams <drew.adams@oracle.com>
6656 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
6658 2010-10-08 Glenn Morris <rgm@gnu.org>
6660 * vc/ediff-wind.el (ediff-setup-control-frame):
6661 * vc/ediff-ptch.el (ediff-default-backup-extension):
6662 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
6663 (ediff-exec-process): Remove system-types emx, windows-95.
6665 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
6667 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
6669 * cus-edit.el (custom-variable, custom-face): Doc fix.
6670 (custom-face-edit): Add value-create attribute.
6671 (custom-face-edit-value-create)
6672 (custom-face-edit-value-visibility-action): New functions.
6673 Hide unused face attributes by default, and add a visibility toggle.
6674 (custom-face-edit-deactivate): Show empty values with shadow face.
6675 (custom-face-selected): Only use this for face specs with default
6677 (custom-face-value-create): Cleanup.
6679 * wid-edit.el (widget-checklist-value-create): Use dolist.
6680 (widget-checklist-match-find): Make second arg optional.
6682 2010-10-07 Glenn Morris <rgm@gnu.org>
6684 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
6687 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
6688 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
6689 load-path-shadows-mode, update references.
6690 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
6691 Rename variable and button.
6692 (list-load-path-shadows): Update button caller.
6694 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6696 * emacs-lisp/smie.el (smie-bnf-classify): New function.
6697 (smie-bnf-precedence-table): Use it to remember the closers/openers.
6698 (smie-merge-prec2s): Handle those new entries.
6699 (smie-prec2-levels): Only set precedence to nil for actual
6701 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
6702 that is now unnecessary.
6704 2010-10-07 Miles Bader <miles@gnu.org>
6706 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
6708 2010-10-07 Glenn Morris <rgm@gnu.org>
6710 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6711 (mail-position-on-field): Remove declarations.
6712 (mail-position-on-field): Autoload it.
6713 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6714 and mail-header-end. Don't require sendmail.
6716 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6717 (shadow-mode): New mode.
6718 (shadow-find-file): New button.
6719 (list-load-path-shadows): Use shadow-mode and buttons.
6721 * iimage.el (iimage-version): Remove.
6722 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6723 Turn into defcustoms.
6724 (iimage-mode-map): Give it a doc string.
6726 * calendar/appt.el (appt-activate): Give a warning rather than an error
6727 if there is no diary-file.
6729 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
6731 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6732 Use `tramp-handle-find-backup-file-name'.
6734 2010-10-06 Glenn Morris <rgm@gnu.org>
6736 * font-core.el (font-lock-defaults-alist): Remove variable.
6737 (font-lock-mode): Doc fix.
6738 (font-lock-default-function): Do not consult font-lock-defaults-alist.
6739 * font-lock.el (font-lock-refresh-defaults): Doc fix.
6740 (font-lock-set-defaults): Doc fix.
6741 Do not consult font-lock-defaults-alist.
6743 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6745 * emacs-lisp/cl.el: No longer provide cl-19.
6747 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
6749 * net/tramp.el (tramp-handle-directory-files-and-attributes)
6750 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6751 New defuns, taken from tramp-smb.el.
6752 (tramp-coding-system-change-eol-conversion)
6753 (tramp-set-process-query-on-exit-flag): Remove.
6755 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6756 (tramp-compat-coding-system-change-eol-conversion)
6757 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6760 * net/tramp-gvfs.el:
6761 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6762 by `tramp-compat-set-process-query-on-exit-flag'.
6764 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6765 Use `tramp-handle-directory-files-and-attributes',
6766 `tramp-handle-file-exists-p' and
6767 `tramp-handle-file-newer-than-file-p'.
6768 (tramp-imap-handle-file-exists-p)
6769 (tramp-imap-handle-file-executable-p)
6770 (tramp-imap-handle-file-readable-p)
6771 (tramp-imap-handle-directory-files-and-attributes)
6772 (tramp-imap-handle-file-newer-than-file-p): Remove.
6774 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6775 by `tramp-compat-set-process-query-on-exit-flag' and
6776 `tramp-coding-system-change-eol-conversion' by
6777 `tramp-compat-coding-system-change-eol-conversion'.
6779 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6780 Use `tramp-handle-directory-files-and-attributes',
6781 `tramp-handle-file-exists-p' and
6782 `tramp-handle-file-newer-than-file-p'.
6783 (tramp-smb-handle-directory-files-and-attributes)
6784 (tramp-smb-handle-file-exists-p)
6785 (tramp-smb-handle-file-newer-than-file-p): Remove.
6786 (tramp-smb-maybe-open-connection):
6787 Replace `tramp-set-process-query-on-exit-flag' by
6788 `tramp-compat-set-process-query-on-exit-flag'.
6790 2010-10-05 Glenn Morris <rgm@gnu.org>
6792 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6794 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
6796 Continue reorganization of load dependencies. (Bug#7156)
6798 * net/tramp.el (tramp-handle-file-local-copy-hook)
6799 (tramp-delete-temp-file-function): Move down.
6800 (tramp-exists-file-name-handler): Move up.
6801 (tramp-register-file-name-handlers): Simplify autoload.
6802 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6803 (tramp-handle-directory-files, tramp-handle-dired-uncache)
6804 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6805 (tramp-handle-file-name-completion)
6806 (tramp-handle-file-name-directory)
6807 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6808 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6809 (tramp-handle-find-backup-file-name)
6810 (tramp-handle-insert-file-contents, tramp-handle-load)
6811 (tramp-handle-substitute-in-file-name)
6812 (tramp-handle-unhandled-file-name-directory)
6813 (tramp-mode-string-to-int, tramp-local-host-p)
6814 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6816 * net/tramp-gvfs.el (top):
6817 * net/tramp-smb.el (top): Do not require 'tramp-sh.
6819 * net/tramp-sh.el (all): Move several objects to tramp.el, see
6820 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6822 2010-10-04 Glenn Morris <rgm@gnu.org>
6824 * calendar/appt.el (appt-add): Ensure reminders are enabled.
6825 (appt-activate): Give status messages.
6827 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6829 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
6830 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6831 `gnutls-negotiate' (formerly `starttls-negotiate').
6832 Remove trivial wrapper `starttls-open-stream'.
6834 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
6836 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6837 log-outgoing commands.
6838 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6839 to create a buffer local revert-buffer-function variable.
6840 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6841 revert-buffer-function lambda.
6843 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6845 * net/gnutls.el (starttls-negotiate): Use the plist interface to
6846 `gnutls-boot'. Make TYPE the only required parameter.
6847 Allow TRUSTFILES and KEYFILES to be lists.
6848 (open-ssl-stream): Use it.
6850 2010-10-03 Glenn Morris <rgm@gnu.org>
6852 * subr.el (directory-sep-char): Remove obsolete variable.
6853 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6856 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6857 * vc/vc.el (vc-static-header-alist): Doc fix.
6858 * vc/vc-cvs.el (vc-cvs-header):
6859 * vc/vc-rcs.el (vc-rcs-header):
6860 * vc/vc-sccs.el (vc-sccs-header):
6861 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6862 * obsolete/vc-mcvs.el (vc-mcvs-header):
6863 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6866 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6868 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6869 Remove obsolete use of binary-overwrite-mode (Bug#7001).
6871 2010-10-03 Glenn Morris <rgm@gnu.org>
6873 * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6875 * textmodes/rst.el (rst-font-lock-keywords-function):
6878 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6880 * printing.el: Drop Emacs 20 code.
6882 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6883 without having used appt.el already).
6885 * subr.el (make-local-hook): Remove function obsolete since 21.1.
6886 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6887 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6889 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6890 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6892 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6893 (charset-width, find-charset-region, chars-in-region, forward-point)
6894 (encode-coding-string, coding-system-p, ccl-execute-on-string)
6895 (define-ccl-program, multibyte-string-p, string-make-multibyte):
6896 Remove compatibility cruft (none of these are used by ps*.el).
6898 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6900 * subr.el (booleanp): Return t instead of a list (Bug#7086).
6902 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6904 * server.el (server-process-filter, server-return-error):
6905 Give emacsclient time to shut down after receiving an error string.
6907 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
6909 * files.el (remote-file-name-inhibit-cache): New defcustom.
6911 * time.el (display-time-file-nonempty-p):
6912 Use `remote-file-name-inhibit-cache'.
6914 * net/tramp.el (tramp-completion-reread-directory-timeout):
6917 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6918 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
6919 `remote-file-name-inhibit-cache'. Check also for an integer
6920 value. Add/increase counter when `tramp-verbose' >= 10.
6921 (tramp-set-file-property): Add/increase counter when
6922 `tramp-verbose' >= 10.
6924 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6925 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
6926 (tramp-bug): Set tramp-autoload cookie. Report all interned
6927 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
6928 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
6929 characters only in strings.
6931 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
6932 to backward compatibility.
6934 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
6935 (tramp-handle-file-name-all-completions)
6936 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
6937 (tramp-open-connection-setup-interactive-shell):
6938 Call `tramp-cleanup-connection' directly.
6940 2010-10-02 Glenn Morris <rgm@gnu.org>
6942 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
6944 * subr.el (char-bytes): Remove obsolete function.
6946 * isearch.el (isearch-return-char): Remove obsolete function.
6948 * mouse.el: No longer provide mldrag.
6949 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
6950 Remove obsolete aliases.
6952 * comint.el (comint-kill-output): Remove obsolete alias.
6954 * composite.el (decompose-composite-char): Remove obsolete function.
6955 * ps-def.el (decompose-composite-char): Remove unused function.
6957 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
6959 * outline.el (outline-visible): Remove obsolete function.
6961 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
6962 * faces.el (internal-find-face, internal-get-face)
6963 (frame-update-faces, frame-update-face-colors)
6964 (x-frob-font-weight, x-frob-font-slant)
6965 (internal-frob-font-weight, internal-frob-font-slant)
6966 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
6967 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
6968 (x-make-font-bold-italic): Remove functions and aliases, obsolete
6970 * emulation/viper-util.el (viper-get-face):
6971 * obsolete/lucid.el (find-face, get-face): Use facep.
6972 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
6973 Remove unused functions.
6974 * vc/ediff-util.el (ediff-submit-report): Doc fix.
6976 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
6977 delete tempfile if interrupted during compilation.
6979 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6981 * net/tls.el (tls-starttls-switches): Give up on using starttls with
6983 (tls-program): Add --insecure to be consistent with the defaults from
6984 openssl s_client. Now all three commands are insecure.
6986 2010-10-01 Eli Zaretskii <eliz@gnu.org>
6988 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
6989 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
6990 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
6992 2010-10-01 Glenn Morris <rgm@gnu.org>
6994 * obsolete/sc.el: Remove file.
6996 * files.el (temporary-file-directory): On darwin, also try
6997 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
6999 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
7001 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
7002 Let's not break compatibility gratuitously, shall we?
7004 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7006 * net/tls.el (tls-starttls-switches): New variable.
7007 (tls-find-starttls-argument): Use it.
7008 (open-tls-stream): Ditto.
7010 * net/netrc.el (netrc-credentials): Return the value of the "default"
7012 (netrc-machine): Ditto.
7014 2010-09-30 Eli Zaretskii <eliz@gnu.org>
7016 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
7018 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
7020 * server.el (server-start): Don't write pid to the authentication file.
7021 (server-create-tty-frame): Don't send pid.
7022 (server-process-filter): Send pid at the start of every connection.
7024 2010-09-30 Glenn Morris <rgm@gnu.org>
7026 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
7027 (show-all-diary-entries): Remove obsolete function aliases.
7029 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
7030 Remove options, obsolete since 22.1.
7031 (appt-display-format, appt-display-message):
7032 Remove backwards-compatibility code.
7033 (appt-check): No longer check appt-issue-message.
7034 (appt-make-list): No longer autoload it. Doc fix. No longer
7035 activate the package.
7037 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
7039 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
7040 (starttls-negotiate): Just call boot, and let the handshake be
7041 triggered from the read loop.
7043 2010-09-29 Glenn Morris <rgm@gnu.org>
7045 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
7046 not displaying the diary.
7047 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
7048 * calendar/appt.el (appt-check): No longer need to kill diary.
7050 * calendar/diary-lib.el (diary-list-entries): Move the
7051 "Preparing..." message entirely here.
7052 (diary-simple-display, diary-fancy-display): Move "Preparing..."
7053 messages to diary-list-entries.
7054 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
7055 diary-display-function.
7057 * calendar/diary-lib.el (diary-include-other-diary-files):
7058 Trap some recursive includes.
7060 * calendar/appt.el (appt-activate): Check diary file.
7062 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
7064 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
7067 * calendar/time-date.el: No need to require cl for Emacs 21.
7069 2010-09-28 Glenn Morris <rgm@gnu.org>
7071 * calendar/appt.el (appt-check): Minor simplification.
7073 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
7075 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
7078 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
7080 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7081 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
7083 2010-09-27 Kenichi Handa <handa@m17n.org>
7085 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
7088 2010-09-27 Kenichi Handa <handa@m17n.org>
7090 * international/mule.el (define-coding-system): Docstring fixed.
7092 * international/mule-diag.el (describe-character-set): Use princ
7093 with proper print-length and print-level instead of insert.
7095 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
7097 * window.el (walk-windows): Doc fix (bug#7105).
7099 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7101 * emacs-lisp/float-sup.el (e): Remove.
7103 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
7105 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
7107 (starttls-negotiate): Use it.
7109 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7111 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
7114 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
7116 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
7118 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7120 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
7122 * net/netrc.el (netrc-store-data): New function.
7124 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
7126 * net/gnutls.el: GnuTLS glue code to set up a connection.
7128 2010-09-25 Julien Danjou <julien@danjou.info>
7130 * notifications.el: Call dbus-register-signal only if it is bound.
7132 2010-09-25 Glenn Morris <rgm@gnu.org>
7134 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7135 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
7136 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
7137 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
7138 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
7139 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
7140 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
7141 * eshell/esh-util.el, eshell/esh-var.el:
7142 Remove leading `*' from docs of faces and defcustoms.
7144 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
7146 * eshell/em-ls.el (eshell-ls-archive-regexp):
7147 * eshell/esh-util.el (eshell-tar-regexp):
7148 * ibuffer.el (ibuffer-compressed-file-name-regexp):
7149 * info.el (Info-suffix-list):
7150 * international/mule.el (auto-coding-alist):
7151 * woman.el (woman-file-regexp, woman-file-compression-regexp):
7152 * progmodes/etags.el (tags-compression-info-list):
7153 Support xz compression.
7155 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
7157 * files.el (get-free-disk-space): Don't assume the "df" output
7158 columns line up (Bug#6995).
7160 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
7162 * finder.el (finder-unknown-keywords):
7163 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
7164 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
7166 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
7168 * server.el (server-start): Revert part of 2010-08-08 change. Using
7169 address 127.0.0.1 for local host is now done in Fmake_network_process.
7171 2010-09-24 Glenn Morris <rgm@gnu.org>
7173 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
7174 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
7175 * textmodes/css-mode.el, textmodes/dns-mode.el:
7176 Move autoloaded auto-mode-alist entries to files.el.
7177 * files.el (auto-mode-alist): Move entries here.
7179 2010-09-23 Glenn Morris <rgm@gnu.org>
7181 * isearch.el (isearch-lazy-highlight-cleanup)
7182 (isearch-lazy-highlight-initial-delay)
7183 (isearch-lazy-highlight-interval)
7184 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
7185 * net/net-utils.el (ipconfig-program-options):
7186 Move aliases to options before the associated definitions.
7188 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7190 * newcomment.el (comment-normalize-vars): Better test validity of
7193 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7195 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
7196 (float-e): New name for `e'.
7197 (degrees-to-radians, radians-to-degrees):
7198 * calendar/solar.el (solar-longitude):
7199 * calculator.el (calculator-registers, calculator-funcall):
7200 * textmodes/artist.el (artist-spray-random-points):
7201 * play/bubbles.el (bubbles--initialize-images): Use new names.
7203 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
7205 Update to CEDET 1.0's version of EIEIO.
7207 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
7209 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
7210 (eieio-default-eval-maybe): Eval val instead of unquoting only.
7211 (class-precedence-list): If class is nil, return nil.
7212 (eieio-generic-call): If class of first input arg is nil, don't
7213 look up static methods, and do check for primary methods.
7214 (initialize-instance): See if the default needs to be evaluated
7215 during the constructor.
7216 (eieio-perform-slot-validation-for-default): Don't do the check
7217 for values that will eventually be evaluated.
7218 (eieio-eval-default-p): New function.
7219 (eieio-default-eval-maybe): Use it.
7221 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
7223 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
7224 method-invocation-order.
7225 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
7226 (eieio-class-precedence-dfs): Compute class precedence list using
7228 (eieio-class-precedence-bfs): Compute class precedence list using
7230 (eieio-class-precedence-c3): Compute class precedence list using
7232 (class-precedence-list): New function.
7233 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
7234 (inconsistent-class-hierarchy): New error symbol.
7235 (call-next-method): Stow the replacement argument list for future
7236 call-next-method invocations.
7238 2010-09-23 Glenn Morris <rgm@gnu.org>
7240 * calendar/appt.el (appt-check): If not displaying the diary,
7241 use (diary 1) to only get the entries we need.
7242 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
7243 that it is in day order. (Bug#7019)
7245 * calendar/appt.el (appt-check): Rather than showing the diary,
7246 just turn off invisible display, and only if needed.
7248 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
7250 2010-09-23 Glenn Morris <rgm@gnu.org>
7252 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7253 (byte-compile-defvar, byte-compile-cl-warn):
7254 Start warnings with lower-case, like the majority.
7256 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
7258 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
7260 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
7261 * files.el (auto-mode-alist): Move ld-script entries here, further down
7264 * vc/add-log.el: Don't require timezone when compiling.
7265 (timezone-make-date-sortable): Autoload it.
7266 (change-log-sortable-date-at): Don't require timezone.
7267 Use `ignore-errors'.
7269 * comint.el (comint-use-prompt-regexp-instead-of-fields):
7270 Move alias before definition, so it does not need autoloading.
7272 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
7273 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
7274 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
7275 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
7276 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
7277 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
7278 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
7279 * textmodes/tex-mode.el, textmodes/two-column.el:
7280 Remove leading `*' from docs of defcustoms etc.
7282 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
7284 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
7286 2010-09-22 Dan Christensen <jdc@uwo.ca>
7288 * calendar/time-date.el (date-to-time): Try using parse-time-string
7289 first before using the slower timezone-make-date-arpa-standard.
7291 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
7293 * calendar/time-date.el (format-seconds): Comment fix.
7295 2010-09-22 Glenn Morris <rgm@gnu.org>
7297 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
7298 is not automatically buffer-local.
7300 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7302 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
7303 (smie-indent-comment): Be more careful with comment-start-skip.
7304 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
7305 (smie-indent-functions): Use them.
7307 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
7309 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
7311 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
7313 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
7314 tool-bar-position. Don't modify frame parameters here.
7315 (menu-bar-options-save): Add tool-bar-position.
7317 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
7319 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7321 * textmodes/reftex-parse.el (reftex-what-macro)
7322 (reftex-context-substring): Let-bind forward-sexp-function to nil
7323 since we don't need/want to treat \begin...\end as a block (bug#7053).
7325 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
7327 * simple.el (blink-matching-open): Use syntax-class.
7329 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
7330 Set invisibility spec for pascal's outline mode.
7331 (pascal-outline-change): Clean up calling convention.
7332 (pascal-show-all, pascal-hide-other-defuns): Update callers.
7334 * progmodes/prolog.el (prolog-smie-forward-token)
7335 (prolog-smie-backward-token): New functions.
7336 (prolog-mode-variables): Use them to parse "!," correctly.
7337 Set up smie-blink-matching for ".".
7339 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
7341 (ispell-region, ispell-process-line): Update users.
7343 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
7346 * textmodes/ispell.el: Fix commenting convention.
7347 (ispell-parse-output): Simplify, use push.
7348 (ispell-region): Use match-string-no-properties.
7349 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
7350 (ispell-minor-mode): Use define-minor-mode.
7351 (ispell-message): Remove unused var `skip-regexp'.
7352 (ispell-add-per-file-word-list): Use dynamic let-binding.
7353 Try and use the proper comment marker.
7355 * mail/sendmail.el: Fix commenting convention.
7356 (sendmail-send-it): Use line-beginning-position.
7358 * help-fns.el (describe-variable): Add original value, if applicable.
7360 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
7362 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
7364 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
7366 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7368 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
7369 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
7370 (smie-prec2-levels): Use them to better diagnose precedence cycles.
7371 (smie-blink-matching-check): Don't signal a mismatch if car is t.
7372 (smie-blink-matching-open): Rewrite to remove assumptions, so that
7373 something like "." can also be a closer.
7374 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
7375 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
7376 Rename internal functions to use "--". Update callers.
7378 * frame.el (make-frame-names-alist): Don't list frames on other displays.
7380 * fringe.el (fringe-styles): New var.
7381 (fringe-mode, fringe-query-style): Use it.
7383 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
7385 * progmodes/sql.el: Version 2.8
7386 (sql-login-params): Update widget structure; changes still needed.
7387 (sql-product-alist): Add :list-all and :list-table features for
7388 SQLite, Postgres and MySQL products.
7389 (sql-redirect): Handle default value.
7390 (sql-execute, sql-execute-feature): New functions.
7391 (sql-read-table-name): New function.
7392 (sql-list-all, sql-list-table): New functions. User API.
7393 (sql-mode-map, sql-interactive-mode-map): Add key definitions
7394 for above functions.
7395 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
7396 for above functions.
7397 (sql-postgres-login-params): Add user and database defaults.
7398 (sql-buffer-live-p): Bug fix.
7399 (sql-product-history): New variable.
7400 (sql-read-product): New function. Use it.
7401 (sql-set-product, sql-product-interactive): Use it.
7402 (sql-connection-history): New variable.
7403 (sql-read-connection): New function. Use it.
7404 (sql-connect): New function.
7405 (sql-for-each-login): Redesign function interface.
7406 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
7407 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
7408 (sql-comint): Check for program. Existing live buffer.
7409 (sql-comint-postgres): Add port parameter.
7411 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7413 * emacs-lisp/warnings.el: Fix commenting convention.
7414 (display-warning): Use special mode and make the buffer read-only.
7416 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
7418 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
7419 empty string when it follows a repeated or optional pattern.
7421 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7423 * indent.el (indent-according-to-mode): Apply syntax-propertize.
7424 (indent-region): Use indent-according-to-mode.
7426 2010-09-18 Eli Zaretskii <eliz@gnu.org>
7428 * fringe.el (fringe-mode): Doc fix.
7430 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
7432 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
7433 refreshing the preview buffer.
7435 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7437 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
7438 (latex-syntax-propertize-rules): New consts; replace
7439 tex-font-lock-syntactic-keywords.
7440 (tex-env-mark, latex-env-before-change): New functions.
7441 (latex-electric-env-pair-mode): New minor mode.
7442 (tex-font-lock-verb): Change arguments; do move point.
7443 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
7444 representation as a form of comment.
7445 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
7446 (doctex-syntax-propertize-rules): New const; replaces
7447 doctex-font-lock-syntactic-keywords.
7448 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
7450 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
7451 (fortran-make-syntax-propertize-function): New function; replaces
7452 fortran-font-lock-syntactic-keywords.
7453 (fortran-mode): Use it.
7454 (fortran-line-length): Use it. Improve interactive spec.
7456 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
7457 (syntax-propertize-rules): Add var-ref case. Fix offset computation
7458 when adding surrounding \(..\).
7460 * progmodes/js.el (js-mode): Fix last change (bug#7054).
7462 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7464 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
7465 Use with-current-buffer.
7467 * isearch.el (isearch-face): Rename from `isearch'.
7468 (isearch-highlight): Use new name.
7470 2010-09-17 Eli Zaretskii <eliz@gnu.org>
7472 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
7473 5, for `half' width fringes. (Bug#6933)
7475 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7477 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
7478 (byte-compile-defvar): "foo/bar" does not lack a prefix.
7480 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
7482 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
7484 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
7485 in calculating new frame position. Add more space between new and
7486 parent on the left (Bug#7048).
7488 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
7490 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
7493 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
7495 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
7497 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
7498 obsolete alias for x-selection-value.
7500 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
7502 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
7504 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
7507 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
7509 * net/tramp-compat.el (tramp-compat-with-temp-message)
7510 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
7511 (tramp-compat-process-put): New defuns.
7513 * net/tramp.el (top):
7514 * net/tramp-gvfs.el (top):
7515 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
7517 * net/tramp.el (tramp-progress-reporter-update):
7518 Use `tramp-compat-funcall'.
7520 * net/tramp.el (tramp-process-actions):
7521 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7522 * net/tramp-sh.el (tramp-handle-vc-registered)
7523 (tramp-get-remote-stat, tramp-get-remote-readlink):
7524 Use `tramp-compat-with-temp-message'.
7526 * net/tramp-sh.el (top): Require 'cl.
7527 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
7528 (tramp-open-connection-setup-interactive-shell):
7529 Use `tramp-compat-process-put'.
7531 2010-09-15 Alan Mackenzie <acm@muc.de>
7533 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
7535 (c-forward-<>-arglist-recur): Fix an infinite recursion.
7537 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
7539 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
7540 `lexical' for warnings related to lexical scoping.
7541 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
7542 global vars which don't have a prefix and could hence affect lexical
7543 scoping in unrelated files.
7545 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7547 * net/imap.el: Revert back to version
7548 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
7551 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
7553 * obsolete/old-whitespace.el (whitespace-unload-function):
7554 Explicitly pass `obarray' to `unintern' to avoid a warning.
7556 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7558 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
7559 Add `when' argument. Update callers.
7561 * subr.el (unintern): Declare the obarray arg mandatory.
7563 2010-09-14 Glenn Morris <rgm@gnu.org>
7565 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
7568 * calendar/diary-lib.el (diary-included-files): New variable.
7569 (diary-list-entries): Maybe initialize diary-included-files.
7570 (diary-include-other-diary-files): Append to diary-included-files.
7571 * calendar/appt.el (appt-update-list): Also check the members of
7572 diary-included-files. (Bug#6999)
7573 (appt-check): Doc fix.
7575 2010-09-14 David Reitter <david.reitter@gmail.com>
7577 * simple.el (line-move-visual): Do not truncate goal column to
7578 integer size. (Bug#7020)
7580 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7582 * repeat.el (repeat): Allow repeating when the last event is a click.
7583 Suggested by Drew Adams (bug#6256).
7585 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
7587 * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
7588 Replace setting HGRCPATH to "" by some less invasive --config options.
7590 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7592 * font-lock.el (font-lock-beginning-of-syntax-function):
7595 2010-09-14 Glenn Morris <rgm@gnu.org>
7597 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
7598 and tool-bar modes. (Bug#6211)
7599 (menu-bar-mode): Move setting of standard-value after the
7600 minor-mode definition, otherwise it seems to have no effect.
7602 2010-09-14 Masatake YAMATO <yamato@redhat.com>
7604 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
7605 Fix typo. (Bug#6976)
7607 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7609 * whitespace.el: Allow cleaning up blanks without blank
7610 visualization (Bug#6651). Adjust help window for
7611 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7612 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
7613 (whitespace-style): Add new value 'face. Adjust docstring.
7614 (whitespace-space, whitespace-hspace, whitespace-tab):
7615 Adjust foreground property face.
7616 (whitespace-line-column): Adjust docstring and type declaration.
7617 (whitespace-style-value-list, whitespace-toggle-option-alist)
7618 (whitespace-help-text): Adjust const initialization.
7619 (whitespace-toggle-options, global-whitespace-toggle-options):
7621 (whitespace-display-window, whitespace-interactive-char)
7622 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7623 (whitespace-help-scroll): New fun.
7625 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
7627 * calendar/time-date.el (format-seconds): Comment fix.
7629 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
7631 * progmodes/sql.el: Version 2.7.
7632 (sql-buffer-live-p): Improve detection.
7633 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7634 (sql-set-sqli-buffer): Use it.
7635 (sql-product-interactive): Run `sql-set-sqli-hook'.
7636 (sql-rename-buffer): Code cleanup.
7637 (sql-redirect, sql-redirect-value): New functions. More to come.
7639 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
7641 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.
7642 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7643 (TRAMP_SRC): New macro.
7644 ($(lisp)/net/tramp-loaddefs.el): New target.
7646 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
7648 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
7650 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
7652 * net/tramp.el (top): Don't show loading message. Require just
7653 'tramp-compat, everything else is required there.
7654 Use `ignore-errors' where appropriate.
7655 (tramp-inline-compress-start-size, tramp-copy-size-limit)
7656 (tramp-terminal-type, tramp-end-of-output)
7657 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
7658 (tramp-completion-function-alist-ssh)
7659 (tramp-completion-function-alist-telnet)
7660 (tramp-completion-function-alist-su)
7661 (tramp-completion-function-alist-putty, tramp-remote-path)
7662 (tramp-remote-process-environment, tramp-sh-extra-args)
7663 (tramp-actions-before-shell, tramp-uudecode)
7664 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
7665 (tramp-perl-file-attributes)
7666 (tramp-perl-directory-files-and-attributes)
7667 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
7668 (tramp-perl-encode, tramp-perl-decode)
7669 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
7670 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
7671 (tramp-handle-make-symbolic-link, tramp-handle-load)
7672 (tramp-handle-file-name-as-directory)
7673 (tramp-handle-file-name-directory)
7674 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
7675 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
7676 (tramp-do-file-attributes-with-ls)
7677 (tramp-do-file-attributes-with-perl)
7678 (tramp-do-file-attributes-with-stat)
7679 (tramp-handle-set-visited-file-modtime)
7680 (tramp-handle-verify-visited-file-modtime)
7681 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
7682 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
7683 (tramp-handle-file-selinux-context)
7684 (tramp-handle-set-file-selinux-context)
7685 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
7686 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
7687 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
7688 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
7689 (tramp-handle-file-ownership-preserved-p)
7690 (tramp-handle-directory-file-name, tramp-handle-directory-files)
7691 (tramp-handle-directory-files-and-attributes)
7692 (tramp-do-directory-files-and-attributes-with-perl)
7693 (tramp-do-directory-files-and-attributes-with-stat)
7694 (tramp-handle-file-name-all-completions)
7695 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
7696 (tramp-handle-copy-file, tramp-handle-copy-directory)
7697 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
7698 (tramp-do-copy-or-rename-file-via-buffer)
7699 (tramp-do-copy-or-rename-file-directly)
7700 (tramp-do-copy-or-rename-file-out-of-band)
7701 (tramp-handle-make-directory, tramp-handle-delete-directory)
7702 (tramp-handle-delete-file)
7703 (tramp-handle-dired-recursive-delete-directory)
7704 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
7705 (tramp-handle-insert-directory)
7706 (tramp-handle-unhandled-file-name-directory)
7707 (tramp-handle-expand-file-name)
7708 (tramp-handle-substitute-in-file-name)
7709 (tramp-handle-executable-find, tramp-process-sentinel)
7710 (tramp-handle-start-file-process, tramp-handle-process-file)
7711 (tramp-handle-call-process-region, tramp-handle-shell-command)
7712 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7713 (tramp-handle-insert-file-contents)
7714 (tramp-handle-insert-file-contents-literally)
7715 (tramp-handle-find-backup-file-name)
7716 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7717 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7718 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7719 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7720 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7721 (tramp-find-file-exists-command, tramp-open-shell)
7722 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7723 (tramp-open-connection-setup-interactive-shell)
7724 (tramp-local-coding-commands, tramp-remote-coding-commands)
7725 (tramp-find-inline-encoding, tramp-call-local-coding-command)
7726 (tramp-inline-compress-commands, tramp-find-inline-compress)
7727 (tramp-compute-multi-hops, tramp-maybe-open-connection)
7728 (tramp-send-command, tramp-wait-for-output)
7729 (tramp-send-command-and-check, tramp-barf-unless-okay)
7730 (tramp-send-command-and-read, tramp-mode-string-to-int)
7731 (tramp-convert-file-attributes, tramp-check-cached-permissions)
7732 (tramp-file-mode-from-int, tramp-file-mode-permissions)
7733 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7734 (tramp-method-out-of-band-p, tramp-local-host-p)
7735 (tramp-get-remote-path, tramp-get-remote-tmpdir)
7736 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7737 (tramp-get-test-command, tramp-get-test-nt-command)
7738 (tramp-get-file-exists-command, tramp-get-remote-ln)
7739 (tramp-get-remote-perl, tramp-get-remote-stat)
7740 (tramp-get-remote-readlink, tramp-get-remote-trash)
7741 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7742 (tramp-get-local-uid, tramp-get-local-gid)
7743 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7745 (tramp-methods, tramp-default-method-alist)
7746 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7747 Move initialization to tramp-sh.el.
7748 (tramp-temp-name-prefix): Make it a defconst.
7749 (tramp-dissect-file-name): Don't check anymore for multi-hop
7751 (tramp-debug-outline-regexp): Add a docstring.
7752 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7753 (tramp-get-debug-buffer): Use it.
7755 * net/tramp-cache.el (top): Set tramp-autoload cookie for
7756 initialization forms.
7757 (tramp-set-connection-property): Don't protect `tramp-message'
7758 call, it isn't necessary any longer.
7759 (tramp-dump-connection-properties): Use `ignore-errors'.
7761 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7762 'password-cache and 'auth-source.
7764 * net/tramp-gvfs.el (top):
7765 * net/tramp-smb.el (top): Require 'tramp-sh.
7767 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7769 * net/tramp-sh.el: New file, derived from tramp.el.
7770 (top): Initialize `tramp-methods', `tramp-default-method-alist',
7771 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7772 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7773 Use `ignore-errors' where appropriate.
7774 (tramp-sh-file-name-handler-alist): Rename from
7775 `tramp-file-name-handler-alist'.
7776 (tramp-send-command-and-check): Return t or nil. Remove all
7777 `zerop' checks, where called.
7778 (tramp-handle-set-file-modes)
7779 (tramp-do-copy-or-rename-file-directly)
7780 (tramp-handle-delete-directory, tramp-handle-delete-file)
7781 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7782 (tramp-sh-file-name-handler, tramp-send-command-and-check)
7783 (tramp-get-remote-ln): Set tramp-autoload cookie.
7785 * net/tramp-fish.el: Remove file.
7787 2010-09-13 Daiki Ueno <ueno@unixuser.org>
7789 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7790 buffer-file-name to avoid file-locking. (Bug#7026)
7792 2010-09-13 Julien Danjou <julien@danjou.info>
7794 * notifications.el (notifications-notify): Add support for
7795 image-path and sound-name.
7796 (notifications-specification-version): Add this variable.
7798 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7800 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7802 2010-09-12 Leo <sdl.web@gmail.com>
7804 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7805 (rcirc-completion-start): New variables.
7806 (rcirc-nick-completions): Rename to rcirc-completions.
7807 (rcirc-nick-completion-start-offset): Delete.
7808 (rcirc-completion-at-point): New function for constructing
7809 completion data for both nicks and irc commands. Add to
7810 completion-at-point-functions in rcirc mode.
7811 (rcirc-complete): Rename from rcirc-nick-complete; use
7812 rcirc-completion-at-point.
7813 (defun-rcirc-command): Update rcirc-client-commands.
7815 2010-09-11 Glenn Morris <rgm@gnu.org>
7817 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7818 atomically, to avoid parallel build errors. (Bug#4196)
7820 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
7822 * progmodes/sql.el: Version 2.6
7823 (sql-dialect): Synonym for "sql-product".
7824 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7825 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7826 Set "sql-buffer" to buffer name not buffer object so multiple sql
7827 interactive buffers work properly. Reverts misguided changes in
7829 (sql-comint): Make sure different buffer name is used if "*SQL*"
7830 buffer is for a different product.
7831 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7833 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7834 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7835 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7836 Accept new buffer name or prompt for one.
7837 (sql-port): Default to zero.
7838 (sql-comint-mysql): Handle "sql-port" as a numeric.
7839 (sql-port-history): Delete unused variable.
7840 (sql-get-login): Default "sql-port" to a number.
7841 (sql-product-alist): Correct Postgres prompt and terminator regexp.
7842 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7843 "sqlite3" executables.
7844 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7845 (sql-buffer-live-p): New function.
7846 (sql-mode-menu, sql-send-string): Use it.
7847 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7849 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7850 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7852 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7854 * net/netrc.el (netrc-credentials): New convenience function.
7856 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7858 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7859 to replace texinfo-font-lock-syntactic-keywords.
7860 (texinfo-mode): Use it.
7862 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7863 Use syntax-propertize-function.
7865 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7866 replace sgml-font-lock-syntactic-keywords.
7867 (sgml-mode): Use it.
7869 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7870 since we don't use it.
7872 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7874 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7876 (vhdl-fontify-buffer): Adjust.
7878 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7879 replace tcl-font-lock-syntactic-keywords.
7882 * progmodes/simula.el (simula-syntax-propertize-function): New var to
7883 replace simula-font-lock-syntactic-keywords.
7884 (simula-mode): Use it.
7886 * progmodes/sh-script.el (sh-st-symbol): Remove.
7887 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7888 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7889 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7890 (sh-font-lock-paren): Set syntax-multiline.
7891 (sh-font-lock-syntactic-keywords): Remove.
7892 (sh-syntax-propertize-function): New function to replace it.
7895 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7896 Define while compiling.
7897 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7898 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7899 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7900 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7901 (ruby-here-doc-end-syntax): Only define when
7902 syntax-propertize is not available.
7903 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7905 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7906 (electric-indent-chars): Silence bytecompiler.
7907 (ruby-mode): Use prog-mode, syntax-propertize-function, and
7908 electric-indent-chars.
7910 * progmodes/python.el (python-syntax-propertize-function): New var to
7911 replace python-font-lock-syntactic-keywords.
7912 (python-mode): Use it.
7913 (python-quote-syntax): Simplify and adjust to new use.
7915 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7916 replace perl-font-lock-syntactic-keywords.
7917 (perl-syntax-propertize-special-constructs): New fun to replace
7918 perl-font-lock-special-syntactic-constructs.
7919 (perl-font-lock-syntactic-face-function): New fun.
7920 (perl-mode): Use it.
7922 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7923 to replace octave-font-lock-close-quotes.
7924 (octave-syntax-propertize-function): New function to replace
7925 octave-font-lock-syntactic-keywords.
7926 (octave-mode): Use it.
7928 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
7929 replaces mixal-font-lock-syntactic-keywords.
7930 (mixal-mode): Use it.
7932 * progmodes/make-mode.el (makefile-syntax-propertize-function):
7933 New var; replaces makefile-font-lock-syntactic-keywords.
7934 (makefile-mode): Use it.
7935 (makefile-imake-mode): Adjust.
7937 * progmodes/js.el (js--regexp-literal): Define while compiling.
7938 (js-syntax-propertize-function): New var; replaces
7939 js-font-lock-syntactic-keywords.
7942 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
7943 replaces gdb-script-font-lock-syntactic-keywords.
7944 (gdb-script-mode): Use it.
7946 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
7947 (fortran--font-lock-syntactic-keywords): New var.
7948 (fortran-line-length): Update syntax-propertize-function and
7949 fortran--font-lock-syntactic-keywords.
7951 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
7953 * progmodes/cfengine.el (cfengine-mode):
7954 Use syntax-propertize-function.
7955 (cfengine-font-lock-syntactic-keywords): Remove.
7957 * progmodes/autoconf.el (autoconf-mode):
7958 Use syntax-propertize-function.
7959 (autoconf-font-lock-syntactic-keywords): Remove.
7961 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
7962 (ada-after-change-function, ada-initialize-syntax-table-properties)
7963 (ada-handle-syntax-table-properties): Only define when
7964 syntax-propertize is not available.
7965 (ada-mode): Use syntax-propertize-function.
7967 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
7968 (font-lock-fontify-syntactic-keywords-region): Move handling of
7969 font-lock-syntactically-fontified to...
7970 (font-lock-default-fontify-region): ...here.
7971 Let syntax-propertize-function take precedence.
7972 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
7974 * emacs-lisp/syntax.el (syntax-propertize-function)
7975 (syntax-propertize-chunk-size, syntax-propertize--done)
7976 (syntax-propertize-extend-region-functions): New vars.
7977 (syntax-propertize-wholelines, syntax-propertize-multiline)
7978 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
7979 (syntax-propertize): New functions.
7980 (syntax-propertize-rules): New macro.
7981 (syntax-ppss-flush-cache): Set syntax-propertize--done.
7982 (syntax-ppss): Call syntax-propertize.
7984 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
7986 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
7988 * textmodes/ispell.el (ispell-init-process): Improve comments.
7989 XEmacs compatibility changes regarding (add-hook) 'local option
7990 and (set-process-query-on-exit-flag).
7992 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
7994 * net/tramp-cache.el (tramp-parse-connection-properties):
7995 Set tramp-autoload cookie.
7997 2010-09-09 Glenn Morris <rgm@gnu.org>
7999 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
8000 (imagemagick-register-types): Doc fix.
8002 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
8004 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
8006 * progmodes/js.el (require): Require is already "eval-and-compile".
8007 (js--re-search-forward): Avoid `eval'. Preserve the error data.
8008 (js--re-search-backward): Use js--re-search-forward.
8010 * progmodes/fortran.el (fortran-line-length): Don't recompute
8011 syntactic keywords redundantly a second time.
8013 * progmodes/ada-mode.el: Replace "(set '" with setq.
8014 (ada-mode): Simplify.
8015 (ada-create-case-exception, ada-adjust-case-interactive)
8016 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
8017 (ada-search-ignore-string-comment, ada-move-to-start)
8018 (ada-move-to-end): Use with-syntax-table.
8020 * font-lock.el (save-buffer-state): Remove `varlist' arg.
8021 (font-lock-unfontify-region, font-lock-default-fontify-region):
8022 Update usage correspondingly.
8023 (font-lock-fontify-syntactic-keywords-region):
8024 Set parse-sexp-lookup-properties buffer-locally here.
8025 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
8027 * simple.el (blink-matching-open): Don't burp if we can't find a match.
8029 2010-09-08 Glenn Morris <rgm@gnu.org>
8031 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
8032 Error if not compiled with -DBYTE_CODE_METER.
8034 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8035 Ignore dir-locals-file.
8037 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
8039 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8041 (compilation-error-regexp-alist-alist): Rule out ": " in file names
8042 for the `gnu' messages.
8043 (compilation-set-skip-threshold): New command.
8044 (compilation-start): Use \' rather than $.
8045 (compilation-forget-errors): Use clrhash.
8047 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
8049 * textmodes/ispell.el (ispell-valid-dictionary-list):
8052 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
8054 Migrate to Tramp 2.2. Rearrange load dependencies.
8055 (Bug#1529, Bug#5448, Bug#5705)
8057 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
8058 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
8059 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
8061 * net/tramp.el (top): Remove all other tramp-* loads except
8062 tramp-compat.el. Remove all changes to tramp-unload-hook for
8063 other tramp-* packages. Rearrange defun order. Change calls of
8064 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
8065 `tramp-compat-octal-to-decimal' to new function names.
8066 (tramp-terminal-type, tramp-initial-end-of-output)
8067 (tramp-methods, tramp-foreign-file-name-handler-alist)
8068 (tramp-tramp-file-p, tramp-completion-mode-p)
8069 (tramp-send-command-and-check, tramp-get-remote-path)
8070 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
8071 (tramp-shell-quote-argument): Set tramp-autoload cookie.
8072 (with-file-property, with-connection-property): Move to
8074 (tramp-local-call-process, tramp-decimal-to-octal)
8075 (tramp-octal-to-decimal): Move to tramp-compat.el.
8076 (tramp-handle-shell-command): Do not require 'shell.
8077 (tramp-compute-multi-hops): No special handling for tramp-gw-*
8079 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
8081 * net/tramp-cache.el (top): Require 'tramp. Add to
8082 `tramp-unload-hook'.
8083 (tramp-cache-data, tramp-get-file-property)
8084 (tramp-set-file-property, tramp-flush-file-property)
8085 (tramp-flush-directory-property, tramp-get-connection-property)
8086 (tramp-set-connection-property, tramp-flush-connection-property)
8087 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
8089 (with-file-property, with-connection-property): New defuns, moved
8091 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
8094 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
8095 (tramp-version): Set tramp-autoload cookie.
8097 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
8098 changes to tramp-unload-hook for other tramp-* packages. Add to
8099 `tramp-unload-hook'.
8100 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
8101 (tramp-compat-call-process): New defuns, moved from tramp.el.
8103 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
8104 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8105 Add to `tramp-unload-hook'. Change call of
8106 `tramp-compat-decimal-to-octal' to new function name.
8107 (tramp-fish-method): Make it a defconst.
8108 (tramp-fish-file-name-p): Make it a defsubst.
8109 (tramp-fish-method, tramp-fish-file-name-handler)
8110 (tramp-fish-file-name-p): Set tramp-autoload cookie.
8112 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
8113 `tramp-foreign-file-name-handler-alist'. Add to
8114 `tramp-unload-hook'.
8115 (tramp-ftp-method): Make it a defconst.
8116 (tramp-ftp-file-name-p): Make it a defsubst.
8117 (tramp-ftp-method, tramp-ftp-file-name-handler)
8118 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
8120 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
8121 `tramp-foreign-file-name-handler-alist'. Add to
8122 `tramp-unload-hook'. Change checks, whether package can be
8124 (tramp-gvfs-file-name-p): Make it a defsubst.
8125 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
8126 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
8127 (tramp-gvfs-handle-file-directory-p): New defun.
8128 (tramp-gvfs-file-name-handler-alist): Use it.
8130 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
8131 `tramp-foreign-file-name-handler-alist'. Add to
8132 `tramp-unload-hook'.
8133 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
8134 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
8136 (tramp-gw-tunnel-method, tramp-gw-socks-method)
8137 (tramp-gw-open-connection): Set tramp-autoload cookie.
8139 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
8140 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8141 Add to `tramp-unload-hook'. Change checks, whether package can be
8143 (tramp-imap-file-name-p): Make it a defsubst.
8144 (tramp-imap-method, tramp-imaps-method)
8145 (tramp-imap-file-name-handler)
8146 (tramp-imap-file-name-p): Set tramp-autoload cookie.
8148 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
8149 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
8150 Add to `tramp-unload-hook'. Change checks, whether package can be
8151 loaded. Change call of `tramp-compat-decimal-to-octal' to new
8153 (tramp-smb-tunnel-method): Make it a defconst.
8154 (tramp-smb-file-name-p): Make it a defsubst.
8155 (tramp-smb-method, tramp-smb-file-name-handler)
8156 (tramp-smb-file-name-p): Set tramp-autoload cookie.
8158 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
8159 (tramp-uuencode-region): Set tramp-autoload cookie.
8161 * net/trampver.el (top) Add to `tramp-unload-hook'.
8162 (tramp-version, tramp-bug-report-address): Set tramp-autoload
8163 cookie. Update release number.
8165 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
8167 * textmodes/ispell.el (ispell-start-process): Make sure original
8168 arg list is properly initialized (Bug#6993, Bug#6994).
8170 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
8172 * files.el (directory-abbrev-alist): Use \` as default regexp.
8174 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
8175 chars like - or ] (bug#6984).
8176 (rx-any-condense-range): Explode 2-char ranges.
8178 2010-09-06 Glenn Morris <rgm@gnu.org>
8180 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
8182 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8184 * textmodes/bibtex.el:
8185 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
8187 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8189 * net/imap.el (imap-message-map): Remove optional buffer parameter,
8190 since no callers use it.
8191 (imap-message-get): Ditto.
8192 (imap-message-put): Ditto.
8193 (imap-mailbox-map): Ditto.
8194 (imap-mailbox-put): Ditto.
8195 (imap-mailbox-get): Ditto.
8196 (imap-mailbox-get): Revert last change for this function.
8198 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8200 * net/imap.el (imap-fetch-safe): Remove function, and alter all
8201 callers to use `imap-fetch' instead. According to the comments, this
8202 should be safe, since all other IMAP clients use the 1:* syntax.
8203 (imap-enable-exchange-bug-workaround): Remove.
8204 (imap-debug): Remove -- doesn't seem very useful.
8206 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8208 * net/imap.el (imap-log): New convenience function used throughout
8209 instead of repeating the same code all over the place.
8211 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
8213 * mouse.el (mouse-save-then-kill): Save region to kill-ring
8214 when mouse-drag-copy-region is non-nil (Bug#6956).
8216 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
8218 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
8219 Improve regexps (Bug#6987).
8220 (dired-sort-toggle): Search more robustly for -t flag.
8222 * files.el (get-free-disk-space): Search more robustly for
8223 "available" column. Suggested by Ehud Karni
8224 <ehud@unix.mvs.co.il>.
8226 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
8228 * international/uni-bidi.el:
8229 * international/uni-category.el:
8230 * international/uni-combining.el:
8231 * international/uni-decimal.el:
8232 * international/uni-mirrored.el:
8233 * international/uni-name.el: Regenerate.
8235 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8237 * electric.el (electric-indent-post-self-insert-function):
8238 Don't reindent with a sloppy indentation function.
8240 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
8241 border case in change-log-mode.
8243 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
8245 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8246 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
8247 Recognize leading tab in gcc-include regexp. Ignore names with
8248 leading "from" or "in" in gnu regexp (Bug#6937).
8250 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8252 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
8253 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
8254 (ispell-start-process): Avoid setq and simplify logic.
8255 (ispell-init-process): Setup kill-buffer-hook locally when needed.
8256 (kill-buffer-hook): Don't use it globally with code that uses
8257 expand-file-name since that may call kill-buffer via
8258 code_conversion_restore.
8260 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
8262 * emacs-lisp/package.el (package-directory-list): Only call
8263 file-name-nondirectory on a string.
8265 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
8267 * emacs-lisp/package.el (package--download-one-archive):
8268 Ensure that archive-contents is valid before saving it.
8269 (package-activate-1, package-mark-obsolete, define-package)
8270 (package-compute-transaction, package-list-maybe-add): Use push.
8272 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8274 Use SMIE's blink-paren for octave-mode.
8275 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
8276 Backslashes do not escape single-quotes, single-quotes do.
8277 (octave-block-else-regexp, octave-block-end-regexp)
8278 (octave-block-match-alist): Remove.
8279 (octave-smie-bnf-table): New var, with old content.
8280 (octave-smie-op-levels): Use it.
8281 (octave-smie-closer-alist): New var.
8282 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
8283 (octave-blink-matching-block-open): Remove.
8284 (octave-reindent-then-newline-and-indent, octave-electric-semi)
8285 (octave-electric-space): Let self-insert-command run expand-abbrev and
8288 * electric.el (electricity): New group.
8289 (electric-indent-chars): New var.
8290 (electric-indent-post-self-insert-function): New fun.
8291 (electric-indent-mode): New minor mode.
8292 (electric-pair-skip-self): New custom.
8293 (electric-pair-post-self-insert-function): New function.
8294 (electric-pair-mode): New minor mode.
8296 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
8297 calcAlg-blink-matching-open.
8298 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
8299 (calc-do-alg-entry): Only touch the part of the keymap that varies.
8300 Use the new blink-matching-check-function.
8302 Provide blink-matching support to SMIE.
8303 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
8304 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
8305 (smie-blink-matching-check, smie-blink-matching-open): New functions.
8307 * simple.el (newline): Fix last change to properly remove itself from
8310 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8312 * simple.el (newline): Eliminate optimization.
8313 Use post-self-insert-hook to set hard-newline and things before
8314 running post-self-insert-hook.
8315 (blink-matching-check-mismatch): New function.
8316 (blink-matching-check-function): New variable.
8317 (blink-matching-open): Use them.
8318 Skip back forward over prefix chars skipped by forward-sexp.
8319 Don't check if the parens are backslash escaped.
8320 (blink-paren-post-self-insert-function): Check backslash escaping here.
8322 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
8324 * emacs-lisp/package.el (package-menu-mode-map):
8325 Change package-menu-revert bindings to revert-buffer.
8326 (package-menu-mode): Set revert-buffer-function.
8327 (package-menu-revert): Doc fix.
8329 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
8331 * textmodes/ispell.el (ispell-init-process): Use "~/" as
8332 `default-directory' unless using Ispell per-directory personal
8333 dictionaries and not in a mini-buffer under XEmacs.
8334 (kill-buffer-hook): Do not kill ispell process on exit when
8335 `ispell-process-directory' is "~/". (Bug#6143)
8337 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
8339 * simple.el (kill-new): Call interprogram-cut-function with only
8342 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
8343 Remove cut buffer from error message.
8345 * term/x-win.el (x-select-text):
8346 * term/pc-win.el (x-selection-value):
8347 * term/ns-win.el (x-selection-value):
8348 * eshell/em-term.el:
8349 * w32-fns.el (x-get-selection-value):
8350 * mouse-sel.el (mouse-sel-set-selection-function):
8351 * frame.el (display-selections-p): Remove cut-buffer in documentation.
8353 * term/x-win.el: Update documentation for x-last-selected-text-*.
8354 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
8355 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
8356 (x-select-text): Remove argument PUSH, update documentation.
8357 Remove cut-buffer code.
8358 (x-selection-value-internal): Was previously x-selection-value.
8359 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8360 Update documentation, remove cut-buffer code.
8361 Call x-selection-value-internal.
8362 (x-clipboard-yank): Call x-selection-value-internal.
8363 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
8365 * term/pc-win.el (x-last-selected-text):
8366 x-cut-buffer-or-selection-value renamed to x-selection-value
8367 (x-select-text): Remove argument PUSH, update documentation.
8369 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
8370 x-cut-buffer-or-selection-value renamed to x-selection-value
8371 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8372 (x-select-text): Remove argument PUSH, update documentation.
8374 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
8376 * w32-fns.el (x-last-selected-text):
8377 x-cut-buffer-or-selection-value renamed to x-selection-value.
8378 (x-cut-buffer-max): Remove.
8379 (x-select-text): Remove argument PUSH, update documentation.
8381 * simple.el (interprogram-cut-function): Remove mention of PUSH.
8383 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
8385 * mouse-sel.el (mouse-sel-get-selection-function):
8386 x-cut-buffer-or-selection-value renamed to x-selection-value.
8387 (x-select-text): Remove optional push.
8389 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8391 * simple.el (blink-paren-function): Move from C to here.
8392 (blink-paren-post-self-insert-function): New function.
8393 (post-self-insert-hook): Use it.
8395 * emacs-lisp/pcase.el (pcase-split-memq):
8396 Fix overenthusiastic optimisation.
8397 (pcase-u1): Handle the case of a lambda pred.
8399 2010-08-31 Kenichi Handa <handa@m17n.org>
8401 * international/mule-cmds.el (standard-display-european-internal):
8402 Setup standard-display-table for 8-bit characters by storing 8-bit
8403 characters in the element vector.
8405 * disp-table.el (standard-display-8bit):
8406 Setup standard-display-table for 8-bit characters by storing 8-bit
8407 characters in the element vector.
8408 (standard-display-european): Likewise.
8410 2010-08-31 Masatake YAMATO <yamato@redhat.com>
8412 * textmodes/nroff-mode.el (nroff-view): New command.
8413 (nroff-mode-map): Bind it to C-c C-c.
8415 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
8417 * emacs-lisp/smie.el (smie-down-list): New command.
8419 Remove old indentation and navigation code on octave-mode.
8420 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
8421 smie-down-list rather than add a binding for octave-down-block.
8422 (octave-mark-block, octave-blink-matching-block-open):
8423 Rely on forward-sexp-function.
8424 (octave-fill-paragraph): Don't narrow, so you can use
8425 indent-according-to-mode.
8426 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
8427 (octave-in-block-p, octave-re-search-forward-kw)
8428 (octave-re-search-backward-kw, octave-indent-calculate)
8429 (octave-end-as-array-index-p, octave-block-end-offset)
8430 (octave-scan-blocks, octave-forward-block, octave-backward-block)
8431 (octave-down-block, octave-backward-up-block, octave-up-block)
8432 (octave-before-magic-comment-p, octave-indent-line): Remove.
8434 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
8436 * emacs-lisp/package.el (package--read-archive-file): Just use
8437 `read', to avoid copying an additional string.
8438 (package-menu-mode): Set header-line-format here.
8439 (package-menu-refresh, package-menu-revert): Signal an error if
8440 not in the Package Menu.
8441 (package-menu-package-list): New var.
8442 (package--generate-package-list): Operate on the current buffer;
8443 don't assume that it is *Packages*, since the user may rename it.
8444 Allow persistent package listings and sort keys using
8445 package-menu-package-list and package-menu-package-sort-key.
8446 (package-menu--version-predicate): Fix version calculation.
8447 (package-menu-sort-by-column): Don't select the window.
8448 (package--list-packages): Create the *Packages* buffer.
8449 Set package-menu-package-list-key.
8450 (list-packages): Sorting by status is now the default.
8451 (package-buffer-info): Use match-string-no-properties.
8452 (define-package): Add a &rest argument for future proofing, but
8454 (package-install-from-buffer, package-install-buffer-internal):
8455 Merge into a single function, package-install-from-buffer.
8456 (package-install-file): Change caller.
8458 * finder.el: Load finder-inf using `require'.
8459 (finder-list-matches): Sorting by status is now the default.
8460 (finder-compile-keywords): Simpify printing.
8462 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8464 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8465 (octave-mode-map): Remove special bindings for forward/backward-block
8466 and octave-backward-up-block. Use smie-close-block.
8467 (octave-continuation-marker-regexp): New var.
8468 (octave-continuation-regexp): Use it.
8469 (octave-operator-table, octave-smie-op-levels)
8470 (octave-operator-regexp, octave-smie-indent-rules): New vars.
8471 (octave-smie-backward-token, octave-smie-forward-token): New funs.
8472 (octave-mode): Use SMIE.
8473 (octave-close-block): Delete.
8475 2010-08-30 Eli Zaretskii <eliz@gnu.org>
8477 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
8478 CLIPBOARD, not in PRIMARY. (Bug#6944)
8480 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8482 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
8484 (smie-indent-column): Allow indirection through variables.
8486 * composite.el (save-buffer-state): Delete, unused.
8487 * font-lock.el (save-buffer-state): Use with-silent-modifications.
8488 (font-lock-default-fontify-region): Use with-syntax-table.
8489 * jit-lock.el (with-buffer-unmodified): Remove.
8490 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
8492 Use `declare' in defmacros.
8493 * window.el (save-selected-window):
8494 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
8495 * progmodes/python.el (def-python-skeleton):
8496 * net/dbus.el (dbus-ignore-errors):
8497 * jka-cmpr-hook.el (with-auto-compression-mode):
8498 * international/mule.el (with-category-table):
8499 * emacs-lisp/timer.el (with-timeout):
8500 * emacs-lisp/lisp-mnt.el (lm-with-file):
8501 * emacs-lisp/eieio.el (with-slots):
8502 * emacs-lisp/easymenu.el (easy-menu-define):
8503 * emacs-lisp/debug.el (debugger-env-macro):
8504 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
8505 (Multiple-value-call, Multiple-value-prog1):
8506 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
8507 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
8508 edebug rule to definition.
8509 * emacs-lisp/lisp-mode.el (save-selected-window)
8510 (with-current-buffer, combine-after-change-calls)
8511 (with-output-to-string, with-temp-file, with-temp-buffer)
8512 (with-temp-message, with-syntax-table, read-if, eval-after-load)
8513 (dolist, dotimes, when, unless):
8514 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
8516 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8518 * finder.el: Require `package'.
8519 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
8520 (finder-package-info): Var deleted.
8521 (finder-keywords-hash, finder--builtins-alist): New vars.
8522 (finder-compile-keywords): Compute package--builtins and
8523 finder-keywords-hash instead of finder-keywords-hash, respecting
8524 the "Package" header.
8525 (finder-unknown-keywords, finder-list-matches):
8526 Use finder-keywords-hash and package--list-packages.
8527 (finder-mode): Don't set font-lock-defaults.
8528 (finder-exit): We don't use "*Finder-package*" and "*Finder
8529 Category*" buffers anymore.
8531 * emacs-lisp/package.el (package--builtins-base): Var deleted.
8532 (package--builtins): Set default value to nil.
8533 (package-initialize): Load precomputed value of package--builtins
8535 (package-alist, package-compute-transaction)
8536 (package-download-transaction): Improve docstring.
8537 (package-read-all-archive-contents): Do not change
8538 package--builtins here.
8539 (list-packages): Make package-list-packages an alias for this.
8540 Sort by status by default.
8541 (package--list-packages): Add optional PACKAGES arg.
8542 (describe-package-1): Use font-lock-face property. For built-in
8543 packages, insert file commentary.
8544 (package--generate-package-list): Rename from
8545 package-list-packages-internal; all callers changed. Add optional
8546 PACKAGES arg. Add alphabetical sort fallbacks.
8547 (package-menu--version-predicate, package-menu--status-predicate)
8548 (package-menu--description-predicate)
8549 (package-menu--name-predicate): New functions.
8551 * info.el (Info-finder-find-node): Search package-alist instead of
8552 finder-package-info.
8554 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8556 * subr.el (version-regexp-alist): Don't use "a" and "b" for
8558 (version-to-list): Handle versions like "10.3d".
8560 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8562 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
8563 (macroexp-accumulate): Use `declare'.
8565 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8567 * whitespace.el (whitespace-style): Adjust type declaration.
8569 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
8571 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
8573 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8575 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
8578 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
8580 * progmodes/js.el: Make indentation more customizable (Bug#6914).
8581 (js-paren-indent-offset, js-square-indent-offset)
8582 (js-curly-indent-offset): New options.
8583 (js--proper-indentation): Use them.
8585 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
8587 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
8588 instead of inspecting font-lock properties (Bug#6916).
8590 2010-08-26 David Reitter <david.reitter@gmail.com>
8592 * server.el (server-visit-files): Run pre-command-hook and
8593 post-command-hook for each buffer while it is current (Bug#6910).
8594 (server-execute): Do not run hooks here.
8596 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
8598 Sync with Tramp 2.1.19.
8600 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
8601 Protect deleting tmpfile.
8602 (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
8604 * net/tramp.el (tramp-handle-expand-file-name)
8605 (tramp-completion-handle-file-name-all-completions)
8606 (tramp-completion-handle-file-name-completion):
8607 Use `tramp-connectable-p'.
8609 * net/trampver.el: Update release number.
8611 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8613 * help.el (help-map): Bind `C-h P' to describe-package.
8615 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
8617 * emacs-lisp/package.el (package-refresh-contents): Catch errors
8618 when downloading archives.
8619 (describe-package-1): Add package commentary.
8620 (package-install-button-action): New function.
8621 (package-menu-mode-map): Bind ? to package-menu-describe-package.
8622 (package-menu-view-commentary): Function removed.
8623 (package-list-packages-internal): Hide the `package' package too.
8625 2010-08-25 Kenichi Handa <handa@m17n.org>
8627 * language/misc-lang.el ("Arabic"): New language environment.
8628 Setup composition-function-table for Arabic characters.
8630 * international/fontset.el (setup-default-fontset): Fix typo for
8631 arabic OTF spec (fini->fina).
8633 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
8635 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
8638 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8640 * whitespace.el: Allow cleaning up blanks without blank
8641 visualization (Bug#6651). Adjust help window for
8642 whitespace-toggle-options (Bug#6479). Allow to use fill-column
8643 instead of whitespace-line-column (from EmacsWiki). New version
8645 (whitespace-style): Add new value 'face. Adjust docstring.
8646 (whitespace-space, whitespace-hspace, whitespace-tab):
8647 Adjust foreground property face.
8648 (whitespace-line-column): Adjust docstring and type declaration.
8649 (whitespace-style-value-list, whitespace-toggle-option-alist)
8650 (whitespace-help-text): Adjust const initialization.
8651 (whitespace-toggle-options, global-whitespace-toggle-options):
8653 (whitespace-display-window, whitespace-interactive-char)
8654 (whitespace-style-face-p, whitespace-color-on): Adjust code.
8655 (whitespace-help-scroll): New fun.
8657 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8659 * emacs-lisp/package.el (list-packages): Alias for
8660 package-list-packages.
8662 2010-08-24 Kevin Ryde <user42@zip.com.au>
8664 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
8667 * progmodes/ruby-mode.el (ruby): Add defgroup.
8669 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8671 * progmodes/python.el: Add Ipython support (Bug#5390).
8672 (python-shell-prompt-alist)
8673 (python-shell-continuation-prompt-alist): New options.
8674 (python--set-prompt-regexp): New function.
8675 (inferior-python-mode, run-python, python-shell):
8676 Require ansi-color. Use python--set-prompt-regexp to set the comint
8677 prompt based on the Python interpreter.
8678 (python--prompt-regexp): New var.
8679 (python-check-comint-prompt)
8680 (python-comint-output-filter-function): Use it.
8681 (run-python): Use a pipe (Bug#5694).
8683 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
8685 * progmodes/python.el (python-send-region): Send a different
8686 Python command if Ipython is in use.
8687 (python-check-version): Use a Python command to find the version.
8689 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8691 * mouse.el (mouse-yank-primary): Avoid setting primary when
8692 deactivating the mark (Bug#6872).
8694 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
8696 * progmodes/python.el (python-block-pairs): Allow use of "finally"
8697 with "else" (Bug#3991).
8699 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
8701 * net/dbus.el: Accept UNIX domain sockets as bus address.
8702 (top): Don't initialize `dbus-registered-objects-table' anymore,
8703 this is done in dbusbind.c.
8704 (dbus-check-event): Adapt test for bus.
8705 (dbus-return-values-table, dbus-unregister-service)
8706 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
8709 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
8711 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8713 2010-08-22 Juri Linkov <juri@jurta.org>
8715 * simple.el (read-extended-command): New function with the logic
8716 for `completing-read' moved to Elisp from `execute-extended-command'.
8717 Use `function-called-at-point' in `minibuffer-default-add-function'
8718 to get a command name for M-n (bug#5364, bug#5214).
8720 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8722 * startup.el (command-line-1): Issue warning for ignored arguments
8723 --unibyte, etc (Bug#6886).
8725 2010-08-22 Leo <sdl.web@gmail.com>
8727 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8728 (ignore, bright, dim, keyword): Split list of nicknames before
8729 passing to rcirc-add-or-remove (Bug#6894).
8731 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8733 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8735 2010-08-22 Leo <sdl.web@gmail.com>
8737 Fix buffer-list rename&refresh after killing a buffer in ido.
8738 * ido.el: Revert Óscar's.
8739 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8740 Remember the buffers at head, rather than their name.
8741 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8743 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
8744 Stefan Monnier <monnier@iro.umontreal.ca>
8746 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8747 extra backslash added to each line (bug#6890).
8749 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8751 * subr.el (read-key): Don't echo keystrokes (bug#6883).
8753 2010-08-22 Glenn Morris <rgm@gnu.org>
8755 * menu-bar.el (menu-bar-games-menu): Add landmark.
8757 2010-08-22 Glenn Morris <rgm@gnu.org>
8759 * align.el (align-regexp): Make group and spacing arguments
8760 use the interactive defaults when non-interactive. (Bug#6698)
8762 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8763 expansion, so as not to need sendmail.
8764 (mail-text-start): Remove declaration.
8765 (rmail-retry-failure): Require sendmail.
8767 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8769 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8771 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
8773 * progmodes/flymake.el (flymake-start-syntax-check-process):
8774 Use `start-file-process' in order to let it run also on remote hosts.
8776 2010-08-22 Kenichi Handa <handa@m17n.org>
8778 * files.el: Add `word-wrap' as safe local variable.
8780 2010-08-22 Glenn Morris <rgm@gnu.org>
8782 * woman.el (woman-translate): Case matters. (Bug#6849)
8784 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8786 * simple.el (kill-region): Doc fix (Bug#6787).
8788 2010-08-22 Glenn Morris <rgm@gnu.org>
8790 * calendar/diary-lib.el (diary-header-line-format):
8791 Fit it to the window, not the frame.
8793 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
8795 * subr.el (ignore-errors): Add debug declaration.
8797 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
8799 * whitespace.el (whitespace-color-off): Remove post-command-hook
8802 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8804 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8806 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8808 * cus-edit.el (custom-group-value-create): Add extra newline
8809 before end line (Bug#6876).
8811 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8813 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8814 when extending it. Before killing on the second click, check if
8815 the buffer is the correct one. Doc fix.
8816 (mouse-secondary-save-then-kill): Allow usage without first
8817 calling mouse-start-secondary, by defaulting to point. Don't save
8818 an empty secondary selection. Doc fix.
8820 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8822 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
8823 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8825 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8826 Adjust initialization.
8827 (whitespace-bob-marker, whitespace-eob-marker)
8828 (whitespace-buffer-changed): New vars.
8829 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8830 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8831 (whitespace-post-command-hook, whitespace-display-char-on):
8833 (whitespace-looking-back, whitespace-buffer-changed): New funs.
8834 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8836 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8838 * files.el (locate-file-completion-table): Only list the .el and .elc
8839 extensions if there's no other choice (bug#5955).
8841 * facemenu.el (facemenu-self-insert-data): New var.
8842 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8844 (facemenu-add-face): Use them.
8846 * simple.el (blink-matching-open): Obey forward-sexp-function.
8848 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
8850 * simple.el (prog-mode-map): New var.
8851 (prog-indent-sexp): New command.
8853 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8855 * progmodes/prolog.el (smie): Require.
8857 * emacs-lisp/smie.el (smie-default-backward-token)
8858 (smie-default-forward-token): Strip properties.
8859 (smie-next-sexp): Be more careful with associative operators.
8860 (smie-forward-sexp-command): Generalize.
8861 (smie-backward-sexp-command): Simplify.
8862 (smie-closer-alist): New var.
8863 (smie-close-block): New command.
8864 (smie-indent-debug-log): New var.
8865 (smie-indent-offset-rule): Add a few more cases.
8866 (smie-indent-column): New function.
8867 (smie-indent-after-keyword): Use it.
8868 (smie-indent-keyword): Use it.
8869 Fix up the opener code's point position.
8870 (smie-indent-comment): Only applies at BOL.
8871 (smie-indent-debug): New command.
8873 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8874 declarations that are useful before running the macro.
8876 2010-08-18 Joakim Verona <joakim@verona.se>
8878 * image.el (imagemagick-types-inhibit): New variable.
8879 (imagemagick-register-types): New function.
8880 * image-mode.el (image-transform-properties): New function.
8881 (image-transform-set-scale, image-transform-fit-to-height)
8882 (image-transform-set-rotation, image-transform-set-resize)
8883 (image-transform-fit-to-width, image-transform-fit-to-height):
8885 (image-toggle-display-image): Support image transforms.
8887 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
8889 * image.el (create-animated-image): Don't add heuristic mask to image
8892 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
8894 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8895 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8897 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
8899 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8901 Font-lock '...' strings, plus various simplifications and fixes.
8902 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8903 (octave-font-lock-close-quotes): New function.
8904 (octave-font-lock-syntactic-keywords): New var.
8905 (octave-mode): Use it. Set beginning-of-defun-function.
8906 (octave-mode-map): Don't override the <foo>-defun commands.
8907 (octave-mode-menu): Pass it directly to easy-menu-define;
8908 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8909 (octave-block-match-alist): Fix up last change so that
8910 octave-close-block uses the more specific keyword.
8911 (info-lookup-mode): Silence byte-compiler.
8912 (octave-beginning-of-defun): Not interactive any more.
8914 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8915 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8916 (octave-completion-at-point-function): Make sure point is within
8918 (octave-reindent-then-newline-and-indent):
8919 Use reindent-then-newline-and-indent.
8920 (octave-add-octave-menu): Remove.
8922 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
8924 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8925 (report-emacs-bug-can-use-xdg-email): New functions.
8926 (report-emacs-bug): Set can-xdg-email to result of
8927 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
8928 \C-cm to report-emacs-bug-insert-to-mailer and add help text
8931 * net/browse-url.el (browse-url-default-browser): Add cond
8932 for browse-url-xdg-open.
8933 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
8935 2010-08-17 Glenn Morris <rgm@gnu.org>
8937 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
8938 (c-fontify-recorded-types-and-refs): Define for compiler.
8939 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
8942 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
8945 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
8947 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
8949 (tramp-handle-process-file): Call the program in a subshell, in
8950 order to preserve working directory.
8951 (tramp-action-password): Hide password prompt before next run.
8952 (tramp-process-actions): Widen connection buffer for the trace.
8954 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8956 * net/rcirc.el (rcirc-log-process-buffers): New option.
8957 (rcirc-print): Use it.
8958 (rcirc-generate-log-filename): New function.
8959 (rcirc-log-filename-function): Change default to
8960 rcirc-generate-log-filename (Bug#6828).
8962 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
8964 * simple.el (deactivate-mark): If select-active-regions is `only',
8965 only set selection for temporarily active regions.
8967 * cus-start.el: Change defcustom for select-active-regions.
8969 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8971 * mouse.el (mouse--drag-set-mark-and-point): New function.
8972 (mouse-drag-track): Use LOCATION arg to push-mark.
8973 Use mouse--drag-set-mark-and-point to take click-count into
8974 consideration when updating point and mark (Bug#6840).
8976 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8978 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8979 Give the Ruby rule a lower priority than Gnu (Bug#6778).
8981 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
8983 * font-lock.el (lisp-font-lock-keywords-2):
8984 Add combine-after-change-calls, condition-case-no-debug,
8985 with-demoted-errors, and with-silent-modifications (Bug#6025).
8987 2010-08-14 Kevin Ryde <user42@zip.com.au>
8989 * emacs-lisp/copyright.el (copyright-update-year)
8990 (copyright-update): Temporary switch-to-buffer to ensure the
8991 buffer change being queried is visible (Bug#5394).
8993 2010-08-14 Tom Tromey <tromey@redhat.com>
8995 * progmodes/etags.el (tags-file-name): Mark safe if stringp
8998 2010-08-14 Eli Zaretskii <eliz@gnu.org>
9000 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
9003 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
9005 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
9006 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9007 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9008 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
9009 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
9010 Call menu-bar-set-tool-bar-position.
9012 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9014 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
9015 comment style (bug#6834).
9016 * progmodes/scheme.el (scheme-mode-syntax-table):
9017 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
9018 "b" flag in "' 14b" syntax.
9020 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
9021 for (un)commenting the region and performing completion.
9022 (octave-mode-menu): Use standard commands for help and completion.
9023 (octave-mode-syntax-table): Support %{..%} comments (sort of).
9024 (octave-mode): Use define-derived-mode.
9025 Set completion-at-point-functions and don't set columns.
9026 Don't disable adaptive-fill-regexp.
9027 (octave-describe-major-mode, octave-comment-region)
9028 (octave-uncomment-region, octave-comment-indent)
9029 (octave-indent-for-comment): Remove.
9030 (octave-indent-calculate): Rename from calculate-octave-indent.
9031 (octave-indent-line, octave-fill-paragraph): Update caller.
9032 (octave-initialize-completions): No need to make an alist.
9033 (octave-completion-at-point-function): New function.
9034 (octave-complete-symbol): Use it.
9035 (octave-insert-defun): Use define-skeleton.
9037 * progmodes/octave-mod.el (octave-mode): Set comment-add.
9038 (octave-mode-map): Use comment-dwim (bug#6829).
9040 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com>
9042 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
9043 indentation of inserted comment.
9045 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
9047 * faces.el (region): Add type gtk that uses gtk colors.
9049 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
9050 Handle theme-name change.
9052 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
9054 * progmodes/sql.el: Version 2.5
9055 (sql-product-alist): Add :prompt-cont-regexp property for several
9057 (sql-prompt-cont-regexp): New variable.
9058 (sql-output-newline-count, sql-output-by-send):
9059 New variables. Record number of newlines in input text.
9060 (sql-send-string): Handle multiple filters and count newlines.
9061 (sql-send-magic-terminator): Count terminator newline.
9062 (sql-interactive-remove-continuation-prompt): Filters output to
9063 remove continuation prompts; one for each newline.
9064 (sql-interactive-mode): Set up new variables, prompt regexp and
9066 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
9067 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
9069 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9071 * emacs-lisp/pcase.el: New file.
9073 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
9075 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
9076 as here-document, otherwise the command could exceed maximum
9077 length of command line.
9078 (tramp-handle-vc-registered): Call script accordingly.
9079 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
9081 2010-08-10 Kenichi Handa <handa@m17n.org>
9083 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
9086 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
9088 * emacs-lisp/package.el (package-version-split)
9089 (package--version-first-nonzero, package-version-compare):
9091 (package-directory-list, package-load-all-descriptors)
9092 (package--built-in, package-activate, define-package)
9093 (package-installed-p, package-compute-transaction)
9094 (package-read-all-archive-contents)
9095 (package--add-to-archive-contents, package-buffer-info)
9096 (package-tar-file-info, package-list-packages-internal):
9097 Use version-to-list and version-list-*.
9099 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9100 Use version-to-list.
9101 (package-upload-buffer-internal): Use version-list-<=.
9103 2010-08-09 Kenichi Handa <handa@m17n.org>
9105 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
9108 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
9110 * tutorial.el (tutorial--default-keys): C-d is now bound to
9111 delete-forward-char (Bug#6826).
9113 * mouse.el (mouse-drag-track): Remove accidentally-removed check
9114 for `double' value of mouse-1-click-follows-link (Bug#6807).
9116 2010-08-08 Johan Bockgård <bojohan@gnu.org>
9118 * replace.el (replace-highlight): Bind isearch-forward and
9119 isearch-error, ensuring that highlighting is updated if the user
9120 switches the search direction (Bug#6808).
9122 * isearch.el (isearch-lazy-highlight-forward): New var.
9123 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9124 (isearch-lazy-highlight-update): Use it.
9126 2010-08-08 Kenichi Handa <handa@m17n.org>
9128 * international/mule.el (define-charset): Store NAME as :base property.
9129 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
9130 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
9131 current priority. Force using the designation of the specific
9132 charset by adding `charset' text property. Improve the whole algorithm.
9134 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9136 * emulation/pc-select.el (pc-selection-mode-hook)
9137 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
9138 (pc-selection-mode): Fix typos in docstrings.
9140 2010-08-08 Kenichi Handa <handa@m17n.org>
9142 * language/cyrillic.el: Don't add "microsoft-cp1251" to
9143 ctext-non-standard-encodings-alist here.
9145 * international/mule.el (ctext-non-standard-encodings-alist):
9146 Add "koi8-r" and "microsoft-cp1251".
9147 (ctext-standard-encodings): New variable.
9148 (ctext-non-standard-encodings-table): List only elements for
9149 non-standard encodings.
9150 (ctext-pre-write-conversion): Adjust for the above change.
9151 Check ctext-standard-encodings.
9153 * international/mule-conf.el (compound-text): Doc fix.
9154 (ctext-no-compositions): Doc fix.
9155 (compound-text-with-extensions): Doc fix.
9157 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9159 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
9161 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9163 * progmodes/which-func.el (which-func-format): Split help-echo text
9164 into lines, like other mode-line tooltips.
9166 * server.el (server-start): When using TCP sockets, force IPv4
9167 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
9169 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9171 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
9173 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9175 * term.el (term-delimiter-argument-list): Reflow docstring.
9176 (term-read-input-ring, term-write-input-ring, term-send-input)
9177 (term-bol, term-erase-in-display, serial-supported-or-barf):
9178 Fix typos in docstrings.
9180 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9182 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
9184 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9186 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
9188 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
9190 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
9191 Fix typo in docstring (bug#6747).
9193 2010-08-08 Leo <sdl.web@gmail.com>
9195 * eshell/esh-io.el (eshell-get-target): Better detection of
9196 read-only file (Bug#6762).
9198 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
9200 * align.el (align-default-spacing): Doc fix.
9201 (align-region-heuristic, align-regexp): Fix typos in docstrings.
9203 2010-08-08 Stephen Peters <speters@itasoftware.com>
9205 * calendar/icalendar.el
9206 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
9207 (icalendar--get-weekday-numbers): New.
9208 (icalendar--convert-recurring-to-diary): Handle multiple byday
9209 values in weekly rules. (Bug#6766)
9211 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
9213 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
9214 (icalendar--create-uid, icalendar-export-region)
9215 (icalendar--parse-summary-and-rest): Code formatting.
9217 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
9219 * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
9220 to italicize headers.
9221 (calc-highlight-selections-with-faces): New variable.
9222 (calc-selected-face, calc-nonselected-face): New faces.
9224 * calc/calccomp.el (math-comp-highlight-string): Use
9225 `calc-highlight-selections-with-faces' to determine how to highlight
9228 * calc/calc-sel.el (calc-show-selections): Change message to when
9229 using faces to highlight selections.
9231 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
9233 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
9234 Add SQLite 3 keywords, functions and datatypes.
9235 (sql-interactive-mode): Remove `comint-process-echoes' set to t
9238 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
9240 * simple.el (select-active-regions): Move to keyboard.c.
9241 (deactivate-mark): Used saved-region-selection.
9242 (select-active-region): Function removed.
9243 (activate-mark, set-mark, push-mark-command)
9244 (handle-shift-selection): Don't call it.
9245 (keyboard-quit): Avoid adding the region to the window selection.
9247 * mouse.el (mouse-drag-track): Remove hacks to deal with old
9248 select-active-regions implementation.
9249 (mouse-yank-at-click): Doc fix.
9251 * cus-start.el: Add custom declaration for select-active-regions.
9253 2010-08-07 Eli Zaretskii <eliz@gnu.org>
9255 * simple.el (delete-forward-char): Doc fix.
9257 * tutorial.el (help-with-tutorial): Hack safe file-local variables
9258 after reading the tutorial.
9260 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
9262 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
9263 Fix for the case that a C style comment has its delimiters alone on
9264 their respective lines. (Bug#193)
9266 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
9268 * net/tramp.el (tramp-handle-start-file-process): Set connection
9270 (tramp-process-sentinel): Use it for flushing the cache.
9271 We cannot do it via the process buffer, the buffer could be deleted
9272 already when running the sentinel.
9274 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
9276 * comint.el (comint-mode): Make directory tracking functions
9277 functional on remote files. (Bug#6764)
9279 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
9281 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
9283 2010-08-05 Eli Zaretskii <eliz@gnu.org>
9285 * emacs-lisp/find-gc.el (find-gc-source-files):
9286 Rename unexec.c => unexcoff.c.
9288 * emacs-lisp/authors.el (authors-fixed-entries):
9289 Rename unexec.c => unexcoff.c.
9291 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
9293 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
9294 cache, not only file cache.
9295 (tramp-process-sentinel): New defun.
9296 (tramp-handle-start-file-process): Use it, in order to invalidate
9299 2010-08-03 Leo <sdl.web@gmail.com>
9301 * server.el (server-start): Simplify loop.
9303 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
9305 * frame.el (screen-height, screen-width, set-screen-width)
9306 (set-screen-height): Remove ancient compatibility aliases.
9308 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
9309 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
9311 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
9312 that change current buffer.
9314 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9316 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
9317 beginning of the string. Use `string-match-p'. (Bug#6765)
9319 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
9321 * cus-start.el (x-gtk-use-system-tooltips): New variable.
9323 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
9325 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
9326 (package--builtins): Tweak descriptions.
9327 (package-print-package): Upcase descriptions if necessary.
9328 Show all built-in packages in font-lock-builtin-face.
9329 (package-list-packages-internal): Omit "emacs" package.
9330 Show status of built-in packages as "built-in".
9332 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
9334 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
9335 before killing to preserve the primary selection (Bug#6701).
9337 * term/x-win.el (x-select-text): Doc fix.
9339 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
9341 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
9342 (objc-font-lock-extra-types):
9343 * progmodes/cc-mode.el (c-basic-common-init):
9344 * progmodes/cc-langs.el (c-make-mode-syntax-table)
9345 (c++-make-template-syntax-table)
9346 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
9347 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
9348 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
9349 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
9350 * progmodes/cc-fonts.el (c-make-inverse-face)
9351 (c-basic-matchers-after):
9352 * progmodes/cc-engine.el (c-forward-keyword-clause)
9353 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
9354 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
9355 (c-guess-continued-construct, c-guess-basic-syntax):
9356 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
9357 The above functions were modified or created.
9359 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
9361 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
9363 2010-07-31 Eli Zaretskii <eliz@gnu.org>
9365 * files.el (bidi-paragraph-direction): Define safe local values.
9367 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
9368 language-info-alist. Remove outdated FIXME in a comment.
9370 2010-07-31 Alan Mackenzie <acm@muc.de>
9372 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
9373 Auto-fill broken in C/C++ modes.
9375 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
9377 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9378 (menu-bar-showhide-tool-bar-menu-customize-disable)
9379 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9380 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
9381 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
9382 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
9383 make a menu for Options => toolbar that can move it.
9385 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
9387 * emacs-lisp/package-x.el (package--make-rss-entry):
9388 (package-maint-add-news-item, package--update-news)
9389 (package-upload-buffer-internal): New arg ARCHIVE-URL.
9391 * emacs-lisp/package.el (package-archive-url): Rename from
9393 (package-install): Doc fix.
9394 (package-download-single, package-download-tar, package-install)
9395 (package-menu-view-commentary): Callers changed.
9397 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
9399 * net/tramp.el (tramp-handle-start-file-process): Check only for
9400 `remote-tty' process property.
9401 (tramp-open-shell): Don't check for tty.
9402 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
9405 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
9408 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
9410 * emacs-lisp/package.el (package-load-list, package-archives)
9411 (package-archive-contents, package-user-dir)
9412 (package-directory-list, package--builtins, package-alist)
9413 (package-activated-list, package-obsolete-alist): Mark as risky.
9415 2010-07-28 Phil Hagelberg <phil@evri.com>
9417 Add support for non-default package repositories.
9418 * emacs-lisp/package.el (package-archive-base): Var deleted.
9419 (package-archives): New variable.
9420 (package-archive-contents): Doc fix.
9421 (package-load-descriptor): Do nothing if descriptor file is missing.
9422 (package--write-file-no-coding): New function.
9423 (package-unpack-single): Use it.
9424 (package-archive-id): New function.
9425 (package-download-single, package-download-tar)
9426 (package-menu-view-commentary): Use it.
9427 (package-installed-p): Make second argument optional.
9428 (package-read-all-archive-contents): New function.
9429 (package-initialize): Use it.
9430 (package-read-archive-contents): Add ARCHIVE argument.
9431 (package--add-to-archive-contents): New function.
9432 (package-install): Don't call package-read-archive-contents.
9433 (package--download-one-archive): Store archive file in a
9434 subdirectory of package-user-dir.
9435 (package-menu-execute): Remove spurious line movement.
9437 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
9439 * cus-start.el (tool-bar-style): Add text-image-horiz.
9441 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9443 * progmodes/gud.el (gud-common-init): Check for remoteness of
9444 `file', and not of `default-directory'.
9446 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9448 * net/tramp.el (tramp-methods): Move hostname to the end in all
9449 ssh `tramp-login-args'.
9450 (tramp-verbose): Describe verbose level 9.
9451 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
9452 (tramp-open-connection-setup-interactive-shell): Trace stty
9453 settings if `tramp-verbose' >= 9.
9454 (tramp-handle-start-file-process): Implement tty setting.
9455 (Bug#4604, Bug#6360)
9457 * net/tramp-cmds.el (tramp-bug): Recommend setting of
9458 `tramp-verbose' to 9.
9460 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
9462 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
9463 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
9464 Remove references to package `lisp-re' (bug#4369).
9466 2010-07-27 Tom Tromey <tromey@redhat.com>
9468 * progmodes/js.el (js-mode):
9469 * progmodes/make-mode.el (makefile-mode):
9470 * progmodes/simula.el (simula-mode):
9471 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
9473 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
9475 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
9477 * time.el (display-time-day-and-date): Remove spurious * in docstring.
9478 (display-time-world-buffer-name, display-time-world-mode-map):
9479 Fix typos in docstrings.
9481 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
9483 * image-mode.el (image-display-size): New function.
9484 (image-forward-hscroll, image-next-line, image-eol, image-eob)
9485 (image-mode-fit-frame): Use it (Bug#6639).
9487 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
9489 * dired.el (dired-buffers-for-dir): Handle list values of
9490 dired-directory (Bug#6636).
9492 2010-07-26 Sam Steingold <sds@gnu.org>
9494 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
9495 Do not call `x-get-selection' the second time, reuse the value.
9497 2010-07-26 Daiki Ueno <ueno@unixuser.org>
9499 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
9500 which consist of control chars only. Suggested by Richard Stallman.
9502 2010-07-25 Daiki Ueno <ueno@unixuser.org>
9504 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
9505 exists before passing an error to find-file-not-found-functions
9508 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
9510 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
9511 Remove leading nil element, adjust values.
9512 (tetris-shapes, tetris-shape-scores):
9513 Change representation of shapes and remove some redundancy.
9514 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
9515 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
9516 Adjust for working with new representation of shapes.
9517 (tetris-shape-rotations): New function.
9518 (tetris-move-bottom, tetris-move-left, tetris-move-right)
9519 (tetris-rotate-prev, tetris-rotate-next):
9520 Adjust for working with the new version of tetris-test-shape.
9522 2010-07-23 Markus Triska <markus.triska@gmx.at>
9524 * progmodes/ps-mode.el: Use comint (bug#5954).
9525 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
9526 (ps-mode-other-newline): Simplify.
9527 (ps-run-mode): Derive from comint-mode instead of
9528 fundamental-mode, yielding input history etc.
9529 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
9530 (ps-run-send-string): Adapt for comint-mode.
9531 (ps-run-newline): Remove now unneeded function.
9533 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9535 * net/tramp.el (tramp-methods): Move hostname to the end in all
9536 plink `tramp-login-args'.
9538 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9540 * net/tramp.el (tramp-open-shell): New defun.
9541 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9544 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9546 * net/tramp.el (tramp-file-name-regexp-unified)
9547 (tramp-completion-file-name-regexp-unified): On W32 systems, do
9548 not regard the volume letter as remote filename. (Bug#5447)
9550 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
9552 * custom.el (custom-declare-variable): Give a clearer error message
9553 when the docstring is missing (bug#6476).
9555 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
9557 * progmodes/sql.el: Version 2.4. Improved Login prompting.
9558 (sql-login-params): New widget definition.
9559 (sql-oracle-login-params, sql-mysql-login-params)
9560 (sql-solid-login-params, sql-sybase-login-params)
9561 (sql-informix-login-params, sql-ingres-login-params)
9562 (sql-ms-login-params, sql-postgres-login-params)
9563 (sql-interbase-login-params, sql-db2-login-params)
9564 (sql-linter-login-params): Use it.
9565 (sql-sqlite-login-params): Use it; Define "database" parameter as
9567 (sql-sqlite-program): Change to "sqlite3".
9568 (sql-comint-sqlite): Make sure database name is complete.
9569 (sql-for-each-login): New function.
9570 (sql-connect, sql-save-connection): Use it.
9571 (sql-get-login-ext): New function.
9572 (sql-get-login): Use it.
9573 (sql-make-alternate-buffer-name): Handle :file parameters.
9575 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
9577 * dired.el (dired-no-confirm): Document value t and fix defcustom to
9578 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
9580 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
9582 * dired.el (dired-mode-map): Use command remapping (bug#6632).
9584 2010-07-22 Lawrence Mitchell <wence@gmx.li>
9586 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
9588 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
9590 * net/tramp.el (tramp-get-ls-command)
9591 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
9594 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
9596 * progmodes/sql.el: Version 2.3.
9597 (sql-connection-alist): Change keys from symbols to strings;
9598 enhanced the widget definition.
9599 (sql-mode-menu): Add submenu to select connections.
9600 (sql-interactive-mode-menu): Add "Save Connection" item.
9601 (sql-add-product): Fix menu item.
9602 (sql-get-product-feature): Improved error handling.
9603 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
9604 (sql-make-alternate-buffer-name): Simplified.
9605 (sql-product-interactive): Handle missing product.
9606 (sql-connect): Support string keys, minor improvements.
9607 (sql-save-connection): New function.
9608 (sql-connection-menu-filter): New function.
9610 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9612 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
9613 (tramp-open-connection-setup-interactive-shell):
9614 Apply workaround for IRIX64 bug. Move argument of last
9615 `tramp-send-command' where it belongs to.
9617 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9619 * net/tramp.el (tramp-perl-file-attributes)
9620 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
9621 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
9622 front of `login-args'.
9624 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
9626 * time.el (display-time-world-mode): Define with `define-derived-mode'.
9627 Set `show-trailing-whitespace' to nil.
9628 (display-time-world-display): Simplify.
9630 2010-07-18 Alan Mackenzie <acm@muc.de>
9632 Enhance `c-file-style' in file/directory local variables.
9633 * progmodes/cc-mode.el (c-count-cfss): New function.
9634 (c-before-hack-hook): Call `c-set-style' differently according to
9635 whether c-file-style was set in file or directory local
9638 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
9640 * progmodes/sql.el: Version 2.2.
9641 (sql-product, sql-user, sql-database, sql-server, sql-port):
9642 Use defcustom :safe keyword rather than putting safe-local-variable
9644 (sql-password): Use defcustom :risky keyword rather than putting
9645 risky-local-variable property.
9646 (sql-oracle-login-params, sql-sqlite-login-params)
9647 (sql-solid-login-params, sql-sybase-login-params)
9648 (sql-informix-login-params, sql-ingres-login-params)
9649 (sql-ms-login-params, sql-postgres-login-params)
9650 (sql-interbase-login-params, sql-db2-login-params)
9651 (sql-linter-login-params): Add `port' option.
9652 (sql-get-product-feature): Add NO-INDIRECT parameter.
9653 (sql-comint-oracle, sql-comint-sybase)
9654 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
9655 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
9656 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
9657 (sql-comint-linter): Rename sql-connect-* functions to
9659 (sql-product-alist, sql-mode-menu): Rename as above and
9660 :sqli-connect-func to :sqli-comint-func.
9661 (sql-connection): New variable.
9662 (sql-interactive-mode): Set it.
9663 (sql-connection-alist): New variable.
9664 (sql-connect): New function.
9665 (sql--alt-buffer-part, sql--alt-if-not-empty)
9666 (sql-make-alternate-buffer-name): Improved alternative buffer name.
9668 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9670 * image-mode.el (image-bookmark-make-record): Do not set context
9671 in an image (Bug#6650).
9673 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9675 * simple.el (select-active-region): New function.
9676 (push-mark-command, set-mark, activate-mark)
9677 (handle-shift-selection): Use it.
9678 (deactivate-mark): Don't check for size of region.
9680 * mouse.el (mouse-drag-track): Use select-active-region.
9682 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
9684 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
9687 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9689 * term/x-win.el (x-select-enable-primary): Change default to nil.
9690 (x-select-enable-clipboard): Add :version keyword.
9692 * mouse.el (mouse-drag-copy-region):
9693 * simple.el (select-active-regions): Likewise.
9695 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
9697 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
9698 (vc-coding-system-for-diff): Use it to decide whether to inherit
9699 from the file the EOL format for reading the diffs of that file.
9702 2010-07-16 Eli Zaretskii <eliz@gnu.org>
9704 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
9705 unibyte, so compressed attachments are not compressed again.
9707 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
9709 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
9710 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9711 (tramp-find-shell): Simplify setting connection property.
9712 (tramp-get-ls-command): Make test for "--color=never" stronger.
9714 2010-07-15 Simon South <ssouth@member.fsf.org>
9716 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9717 blocks within record declarations (i.e. variant parts) correctly.
9719 2010-07-15 Simon South <ssouth@member.fsf.org>
9721 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9722 over literal tokens when parsing so newlines aren't "absorbed" by
9723 single-line comments. Corrects the indentation of case blocks
9724 that have a comment on the first line.
9726 2010-07-14 Karl Fogel <kfogel@red-bean.com>
9728 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9729 by Drew Adams (Bug#5504).
9731 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
9733 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9734 now that Unicode is used (Bug#6594).
9736 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
9738 * term/x-win.el (x-select-enable-clipboard): Default to t.
9739 (x-initialize-window-system): Don't overwrite Paste menu item.
9741 * simple.el (select-active-regions): Default to t.
9742 (push-mark-command): Don't overwrite primary with empty string.
9744 * mouse.el: Bind mouse-2 to mouse-yank-primary.
9745 (mouse-drag-copy-region): Default to nil.
9747 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9748 Cut/Copy/Paste menu bar items.
9750 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9752 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9753 Patch applied by Karl Fogel.
9755 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9756 and `bookmark-current-buffer' if they have been already set in
9757 another buffer (e.g gnus-art).
9759 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9760 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9762 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9764 * bookmark.el (bookmark-make-record-default): Allow unneeded
9765 information to be omitted from the record.
9767 Adjust declarations and calls:
9769 * info.el (bookmark-make-record-default): Adjust declaration.
9770 (Info-bookmark-make-record): Adjust call.
9772 * woman.el (bookmark-make-record-default): Adjust declaration.
9773 (woman-bookmark-make-record): Adjust call.
9775 * man.el (bookmark-make-record-default): Adjust declaration.
9776 (Man-bookmark-make-record): Adjust call.
9778 * image-mode.el (bookmark-make-record-default): Adjust declaration.
9780 * doc-view.el (bookmark-make-record-default): Adjust declaration.
9782 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9784 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9785 This is also from Thierry Volpiatto's patch in bug #6444. However,
9786 because it was extraneous to the functional change in that patch,
9787 and causes a re-indendation, I am committing it separately.
9789 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9791 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9792 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9793 Patch applied by Karl Fogel (Bug#6444).
9795 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
9797 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9799 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
9801 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9802 Dempsky; bug#5084). Remove incorrect binding for S-tab.
9803 (ns-alternatives-map): Change S-tab binding to backtab
9806 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9809 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
9811 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9814 * language/tv-util.el (tai-viet-re): Remove format.
9816 2010-07-12 Kenichi Handa <handa@m17n.org>
9818 * language/hebrew.el: Remove no-byte-compile declaration.
9819 Change coding: tag to utf-8. Register hebrew-shape-gstring in
9820 composition-function-table for 3-character looking back.
9821 (hebrew-font-get-precomposed): New function.
9822 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9824 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
9826 * mouse.el (mouse-drag-track): Handle select-active-regions
9829 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
9831 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9832 empty argument to gvfs-copy.
9834 2010-07-10 Glenn Morris <rgm@gnu.org>
9836 * calendar/calendar.el (calendar-week-end-day): New function.
9837 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9838 Respect calendar-week-start-day. (Bug#6606)
9839 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9840 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9841 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9842 respect calendar-week-start-day.
9844 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
9846 * simple.el (use-region-p): Doc fix (Bug#6607).
9848 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
9850 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9851 Add regexps for cucumber and ruby.
9853 2010-07-08 Daiki Ueno <ueno@unixuser.org>
9855 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9856 (epa-file-insert-file-contents): Hack to prevent
9857 find-file from opening empty buffer when decryption failed
9860 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
9862 * textmodes/ispell.el (ispell-alternate-dictionary):
9863 Use file-readable-p.
9864 Return nil if no word-list is found at default locations.
9865 (ispell-complete-word-dict): Default to nil.
9866 (ispell-command-loop): Use 'word-list' when using lookup-words.
9867 (lookup-words): Use ispell-complete-word-dict or
9868 ispell-alternate-dictionary. Check for word-list availability
9869 and handle errors if needed with better messages (Bug#6539).
9870 (ispell-complete-word): Use ispell-complete-word-dict or
9871 ispell-alternate-dictionary.
9873 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
9875 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9876 builtins (BufferError, BytesWarning, WindowsError; callables
9877 bin, bytearray, bytes, format, memoryview, next, print; __package__).
9879 2010-07-07 Glenn Morris <rgm@gnu.org>
9881 * play/zone.el (top-level): Do not require timer, tabify, or cl.
9882 (zone-shift-left): Ignore intangibility, and any errors from
9884 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
9885 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9886 deleting, and copying text properties.
9887 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9888 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9889 to point-max is hard.
9890 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9891 (zone-fill-out-screen): Ignore intangibility.
9893 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
9895 * menu-bar.el (menu-bar-mode):
9896 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9899 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9900 word/line selection (Bug#6565).
9902 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
9904 * net/dbus.el (dbus-send-signal): Declare function.
9906 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
9908 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9909 (dbus-register-property): New optional argument EMITS-SIGNAL.
9910 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9912 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
9914 * mouse.el (mouse-drag-overlay): Variable deleted.
9915 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9916 (mouse--remap-link-click-p): New function.
9917 (mouse-drag-track): Handle dragging by using temporary Transient
9918 Mark mode, instead of a special overlay.
9919 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9922 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9925 2010-07-02 Juri Linkov <juri@jurta.org>
9927 * autoinsert.el (auto-insert-alist): Fix readability
9928 by using dotted pair notation for lambda.
9930 2010-07-02 Juri Linkov <juri@jurta.org>
9932 * faces.el (read-face-name): Rename arg `string-describing-default'
9933 to `default'. Doc fix. Display the default value in quotes
9934 in the prompt. With empty input, return the `default' arg,
9935 unless the default value is a string (in which case return nil).
9936 (describe-face): Replace the string `default' arg of `read-face-name'
9937 with the symbol `default'.
9939 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
9941 * emulation/viper-cmd.el (viper-delete-backward-char)
9942 (viper-del-backward-char-in-insert)
9943 (viper-del-backward-char-in-replace, viper-change)
9944 (viper-backward-indent): Replace delete-backward-char with
9945 delete-char (Bug#6552).
9947 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
9949 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
9951 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9953 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
9954 argument passed to frame-creation-function (Bug#5378).
9956 * faces.el (x-handle-named-frame-geometry)
9957 (x-handle-reverse-video, x-create-frame-with-faces)
9958 (face-set-after-frame-default, tty-create-frame-with-faces):
9959 Don't separately consult default-frame-alist. It is now passed as the
9962 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
9964 * startup.el (command-line): Don't call tool-bar-setup in a
9967 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9969 * ruler-mode.el (ruler--save-header-line-format): New fun.
9970 (ruler-mode): Use it as a setter function, so as not to overwrite
9971 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
9973 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
9975 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
9976 (vc-root-diff, vc-print-root-log, vc-log-incoming)
9977 (vc-log-outgoing): Use it.
9978 (vc-diff-internal): Set diff-vc-backend.
9980 * vc/diff-mode.el (diff-vc-backend): New var.
9982 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
9984 * dynamic-setting.el (font-setting-change-default-font):
9985 Remove call to message.
9987 2010-06-28 Kenichi Handa <handa@m17n.org>
9989 * international/quail.el (quail-insert-kbd-layout): Fix the
9990 showing of untranslated characters.
9992 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
9994 * simple.el (delete-active-region): New option.
9995 (delete-backward-char): Implement in Lisp.
9996 (delete-forward-char): New command.
9998 * mouse.el (mouse-region-delete-keys): Delete.
9999 (mouse-show-mark): Simplify.
10001 * bindings.el (global-map): Bind delete and DEL, the former to
10002 delete-forward-char.
10004 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
10006 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
10007 (ruby-mode): Bind indent-line-function (Bug#5119).
10009 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
10011 * startup.el (command-line): Recognize "0" X resource value.
10013 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
10015 * startup.el (command-line): Use X resources to set the value of
10016 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
10018 * menu-bar.el (menu-bar-mode):
10019 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
10020 Set init-value to t.
10022 * frame.el (frame-notice-user-settings): Don't change
10023 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
10024 vice versa (Bug#2249).
10026 2010-06-26 Eli Zaretskii <eliz@gnu.org>
10028 * w32-fns.el (w32-convert-standard-filename): Doc fix.
10030 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
10032 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
10033 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
10035 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
10036 default directories are expanded (Bug#6143).
10038 2010-06-24 Juri Linkov <juri@jurta.org>
10040 * minibuffer.el (completions-format): Change default from nil to
10041 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
10043 2010-06-24 Juri Linkov <juri@jurta.org>
10045 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
10046 buffer-locally to lambda that re-runs the vc diff command.
10049 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
10051 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
10052 echo area is in use (Bug#3412).
10054 2010-06-22 Glenn Morris <rgm@gnu.org>
10056 * textmodes/texinfmt.el (texinfo-format-region)
10057 (texinfo-raise-lower-sections, texinfo-format-separate-node)
10058 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
10059 (texinfo-format-option, texinfo-noindent):
10060 Use line-beginning-position and line-end-position.
10062 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
10063 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
10064 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
10067 2010-06-21 Karl Fogel <kfogel@red-bean.com>
10069 * play/zone.el (zone-fall-through-ws): Fix next-line ->
10070 forward-line fallout.
10072 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
10074 * mouse.el (mouse-appearance-menu): Add docstring.
10076 * help.el (describe-key): Print up-event using key-description.
10078 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
10080 * net/zeroconf.el (zeroconf-resolve-service)
10081 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
10082 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
10084 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
10086 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
10088 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
10090 Avoid displaying files with a nil state in vc-dir.
10091 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
10092 cases that cause insertion.
10093 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
10096 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
10098 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
10100 2010-06-29 Leo <sdl.web@gmail.com>
10102 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
10104 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10106 * generic-x.el (bat-generic-mode): Fix regexp for command line
10107 switches (Bug#5719).
10109 2010-06-27 Masatake YAMATO <yamato@redhat.com>
10111 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
10112 of nconc to avoid pure storage error (Bug#6239).
10114 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
10116 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
10117 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
10118 bindings of bookmark-automatically-show-annotations (Bug#6515).
10120 2010-06-25 Eli Zaretskii <eliz@gnu.org>
10122 * arc-mode.el (archive-zip-extract): Don't quote the file name on
10123 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
10125 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
10127 * comint.el (make-comint, make-comint-in-buffer): Mention return
10128 value in the docstrings. (Bug#6498)
10130 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
10132 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
10133 since it is not present when using some non-default switches.
10135 2010-06-23 Karl Fogel <kfogel@red-bean.com>
10137 * simple.el (compose-mail): Fix doc string to refer to
10138 `compose-mail-user-agent-warnings', instead of to the
10139 nonexistent `compose-mail-check-user-agent'.
10141 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
10143 Fix an indentation bug:
10145 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
10146 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
10147 of existing values.
10149 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
10150 (c-clear->-pair-props-if-match-before): now return t when they've
10151 cleared properties, nil otherwise.
10152 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
10153 by taking account of the existing value.
10155 * progmodes/cc-defs.el
10156 (c-clear-char-property-with-value-function): Fix this to clear the
10157 property rather than overwriting it with nil.
10159 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
10161 * emacs-lisp/package.el (package-print-package): Add link to
10162 package description via describe-package.
10163 (describe-package-1): List package requirements. Add button to
10164 perform installation.
10165 (package-menu-describe-package): New command.
10167 * help-mode.el (help-package): New button type.
10169 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
10171 * emacs-lisp/package.el: Move package-list-packages binding to
10173 (describe-package, describe-package-1, package--dir): New funs.
10174 (package-activate-1): Use package--dir.
10176 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
10178 * help-mode.el (help-package-def): New button type.
10180 * menu-bar.el: Move package-list-packages binding here from
10183 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
10185 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
10187 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10189 * emacs-lisp/edebug.el (edebug-read-list):
10190 Phase out old-style backquotes.
10192 2010-06-17 Juri Linkov <juri@jurta.org>
10194 * help-mode.el (help-mode): Set buffer-local variable
10195 revert-buffer-function to help-mode-revert-buffer.
10196 (help-mode-revert-buffer): New function.
10198 * info.el (Info-revert-find-node): Check for major-mode Info-mode
10199 before popping to "*info*" (like in other Info functions).
10200 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
10201 old-history-forward. Pop to old-buffer-name or "*info*" to
10202 recreate the killed buffer. Set Info-history-forward from
10203 old-history-forward.
10204 (Info-breadcrumbs-depth): Add :group and :version.
10206 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
10208 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
10210 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
10212 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
10213 for languages like Portuguese with pt_{BR,PT} and no plain pt.
10215 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
10217 * emacs-lisp/package.el (package-menu-mode-map):
10218 Move initialization into declaration.
10220 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
10222 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
10224 * emacs-lisp/package.el (package-archive-base): Point to
10226 (package-enable, package-load-list): New defcustoms.
10227 (package-user-dir, package-directory-list): Turn into defcustoms.
10228 Don't include package-user-dir in package-directory-list.
10229 (package--builtins-base): Don't include Emacs as a "package".
10230 (package-subdirectory-regexp): New var.
10231 (package-load-all-descriptors, package-compute-transaction)
10232 (package-download-transaction): Obey package-load-list.
10233 (package-activate-1): Rename from package-do-activate.
10234 (package-list-packages-internal): Check package-load-list.
10235 (package-load-descriptor, package-generate-autoloads)
10236 (package-unpack, package-unpack-single)
10237 (package--read-archive-file, package-delete):
10238 Use expand-file-name.
10240 * emacs-lisp/package-x.el: New file. Package uploading
10241 functionality split out from package.el.
10243 * startup.el (command-line): Load packages after reading init file.
10245 2010-06-17 Tom Tromey <tromey@redhat.com>
10247 * emacs-lisp/package.el: New file.
10249 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
10251 Fix vc-annotate for renamed files when using Git.
10252 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
10253 ls-files. Doe not pass the object as a file name to cat-file, it
10254 is not a file name.
10255 (vc-git-annotate-command): Pass the file name using -- to avoid
10256 ambiguity with the revision.
10257 (vc-git-previous-revision): Pass a relative file name.
10259 2010-06-22 Glenn Morris <rgm@gnu.org>
10261 * progmodes/js.el (js-mode-map): Use standard capitalization and
10262 ellipses for menu entries.
10264 * wid-edit.el (widget-complete): Doc fix.
10266 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
10268 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
10270 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
10272 Fix annotating other revisions for renamed files in vc-annotate.
10273 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
10274 VC backend. Use it when non-nil.
10275 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
10278 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
10279 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10280 Do not pass the file name to the 'previous-revision call when we
10281 don't want a file diff. (Bug#6489)
10283 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
10285 Fix finding revisions for renamed files in vc-annotate.
10286 * vc/vc.el (vc-find-revision): Add an optional argument for
10287 the VC backend. Use it when non-nil.
10288 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
10289 backend to vc-find-revision. (Bug#6487)
10291 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
10293 Fix reading file names in Git annotate buffers.
10294 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
10295 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
10297 2010-06-20 Alan Mackenzie <acm@muc.de>
10299 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
10300 in file local variables, set it first.
10302 2010-06-19 Glenn Morris <rgm@gnu.org>
10304 * descr-text.el (describe-char-unicode-data): Insert separating
10305 space when needed. (Bug#6422)
10307 * progmodes/idlwave.el (idlwave-action-and-binding):
10308 Fix typo in 2009-12-03 change. (Bug#6450)
10310 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10312 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
10313 handling for `lambda' (misunderstanding).
10315 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
10317 * calc/calc-poly.el (math-accum-factors): Make sure that
10318 constants aren't distributed after they are factored out.
10320 2010-06-16 Juri Linkov <juri@jurta.org>
10322 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
10323 `list-colors-print'. (Bug#6332)
10325 * subr.el (read-quoted-char): Fix up last change (bug#6290).
10327 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
10329 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
10330 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
10332 * font-lock.el (font-lock-major-mode): Rename from
10333 font-lock-mode-major-mode to distinguish it from
10334 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
10335 (font-lock-set-defaults):
10336 * font-core.el (font-lock-default-function): Adjust users.
10337 (font-lock-mode): Don't set it at all.
10339 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
10341 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
10343 2010-06-16 Glenn Morris <rgm@gnu.org>
10345 * calendar/appt.el (appt-time-msg-list): Doc fix.
10346 (appt-check): Let-bind appt-warn-time.
10347 (appt-add): Make the 3rd argument optional.
10348 Simplify argument names. Doc fix. Check for integer WARNTIME.
10349 Only add WARNTIME to the output list if non-nil.
10351 2010-06-16 Ivan Kanis <apple@kanis.eu>
10353 * calendar/appt.el (appt-check): Let the 3rd element of
10354 appt-time-msg-list specify the warning time.
10355 (appt-add): Add new argument with the warning time. (Bug#5176)
10357 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10359 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
10360 older than version 1.6. (Bug#6361)
10362 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
10364 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
10365 used by cl-do-arglist. (Bug#6408)
10367 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
10369 * textmodes/ispell.el (ispell-dictionary-base-alist):
10370 Fix portuguese casechars/not-casechars for missing 'çÇ'.
10371 Suggested by Rolando Pereira (bug#6434).
10373 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
10375 * facemenu.el (list-colors-sort): Doc fix.
10377 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10379 * progmodes/sql.el (sql-connect-mysql): Fix typo.
10381 2010-06-14 Juri Linkov <juri@jurta.org>
10383 Add sort option `list-colors-sort'. (Bug#6332)
10384 * facemenu.el (color-rgb-to-hsv): New function.
10385 (list-colors-sort): New defcustom.
10386 (list-colors-sort-key): New function.
10387 (list-colors-display): Doc fix. Sort list according to the option
10388 `list-colors-sort'.
10389 (list-colors-print): Add HSV values to `help-echo' property of
10392 2010-06-14 Juri Linkov <juri@jurta.org>
10394 * compare-w.el: Move to the "vc" subdirectory.
10396 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10398 * image-mode.el (image-mode-map): Remap left-char and right-char.
10400 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
10402 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
10404 * term/common-win.el (x-colors): Add all the color names defined
10405 in rgb.txt (Bug#6332).
10407 * facemenu.el (list-colors-print): Don't print extra names if it
10408 will overflow the window width.
10410 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
10413 2010-06-12 Eli Zaretskii <eliz@gnu.org>
10415 * files.el (make-directory): Doc fix (bug#6396).
10417 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
10419 * net/tramp.el (tramp-remote-process-environment): Protect version
10420 string by apostroph.
10421 (tramp-shell-prompt-pattern): Do not use a shy group in case of
10423 (tramp-file-name-for-operation): Add `call-process-region'.
10424 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
10426 * net/tramp-compat.el (top): Do not autoload
10427 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
10428 only when `start-file-process' is not bound.
10429 (tramp-advice-file-expand-wildcards): Do not use
10430 `tramp-handle-file-remote-p'.
10431 (tramp-compat-make-temp-file): Handle the case, that
10432 `make-temp-file' has no third argument EXTENSION.
10434 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
10436 * makefile.w32-in (WINS_BASIC): Include new directory vc.
10438 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
10440 2010-06-11 Juri Linkov <juri@jurta.org>
10442 * finder.el (finder-known-keywords): Add keyword "vc"
10443 for version control.
10445 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
10446 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
10447 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
10448 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
10450 2010-06-11 Juri Linkov <juri@jurta.org>
10452 Move version control related files to the "vc" subdirectory.
10453 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
10454 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
10455 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
10456 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
10457 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
10458 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
10459 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
10460 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
10461 Move files to the "vc" subdirectory.
10463 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
10465 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
10468 2010-06-11 Stephen Eglen <stephen@gnu.org>
10470 * shell.el: Bind `shell-resync-dirs' to M-RET.
10472 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
10474 * notifications.el: Move file from lisp/net, because it is
10475 supposed to talk locally to the user.
10477 2010-06-10 Julien Danjou <julien@danjou.info>
10479 * net/notifications.el (notifications-on-action-signal)
10480 (notifications-on-closed-signal): Pass notification id as first
10481 argument to the callback functions. Add docstrings.
10482 (notifications-notify): Fix docstring.
10484 2010-06-10 Glenn Morris <rgm@gnu.org>
10486 * emacs-lisp/authors.el (authors-ignored-files)
10487 (authors-valid-file-names): Add some files.
10489 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10491 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
10492 merge conflict, giving preference to the emacs-23 version of the code.
10494 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10496 * emacs-lisp/advice.el (ad-compile-function):
10497 Define warning-suppress-types before we let-bind it (bug#6275).
10499 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
10500 declare it, make it buffer-local and permanent-local (bug#6324).
10501 (vc-resynch-window): Adjust name.
10502 * vc-hooks.el (vc-find-file-hook): Adjust name.
10504 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
10506 * net/notifications.el (notifications-notify): Fix docstring.
10508 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10510 Update to Unicode 6.0.0 beta.
10511 * international/charprop.el: Update copyright.
10512 * international/mule-cmds.el (ucs-names): Update character ranges.
10513 * international/uni-bidi.el:
10514 * international/uni-category.el:
10515 * international/uni-combining.el:
10516 * international/uni-comment.el:
10517 * international/uni-decimal.el:
10518 * international/uni-decomposition.el:
10519 * international/uni-digit.el:
10520 * international/uni-lowercase.el:
10521 * international/uni-mirrored.el:
10522 * international/uni-name.el:
10523 * international/uni-numeric.el:
10524 * international/uni-old-name.el:
10525 * international/uni-titlecase.el:
10526 * international/uni-uppercase.el: Regenerate.
10528 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10530 * emacs-lisp/smie.el (comment-string-strip): Declare function.
10531 (smie-precs-precedence-table): Fix typo in docstring.
10533 * vc-mtn.el (log-edit-extract-headers): Declare function.
10535 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
10537 * net/notifications.el (dbus-register-signal): Declare function.
10538 (notifications-notify): Fix typos and reflow docstring.
10540 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10542 Improve VC create/retrieve tag/branch.
10543 * vc.el (vc-create-tag): Do not read the directory name for VCs
10544 with repository revision granularity. Adjust the tag/branch
10545 prompt. Reset VC properties.
10546 (vc-retrieve-tag): Do not read the directory name for VCs
10547 with repository revision granularity. Reset VC properties.
10549 2010-06-09 Julien Danjou <julien@danjou.info>
10551 * net/notifications.el: New file.
10553 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10555 Add optional support for resetting VC properties.
10556 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
10557 call vc-file-clearprops when true.
10558 (vc-resynch-buffer): Add new optional argument, pass it down.
10559 (vc-resynch-buffers-in-directory): Likewise.
10561 Improve support for special markup in the VC commit message.
10562 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
10563 * vc-hg.el (vc-hg-checkin): Add support for Date:.
10564 * vc-git.el (vc-git-checkin):
10565 * vc-bzr.el (vc-bzr-checkin): Likewise.
10567 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10569 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
10570 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
10572 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
10574 * iimage.el: Remove images as soon as the underlying text is modified.
10575 (iimage-modification-hook): New function.
10576 (iimage-mode-buffer): Use it.
10578 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10580 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
10581 smie-indent-offset-after. Add :prev case. Make a bit more generic.
10582 (smie-indent-virtual): Remove `virtual' arg. Update callers.
10583 (smie-indent-keyword): Add handling of open-paren keywords.
10584 (smie-indent-comment-continue): Don't assume comment-continue.
10586 2010-06-07 Martin Rudalics <rudalics@gmx.at>
10588 * window.el (pop-to-buffer): Remove the conditional that
10589 compares new-window and old-window, so it will reselect
10590 the selected window unconditionally.
10591 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
10593 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10595 * emacs-lisp/smie.el (smie-indent-offset-after)
10596 (smie-indent-forward-token, smie-indent-backward-token): New functions.
10597 (smie-indent-after-keyword): Use them.
10598 (smie-indent-fixindent): Only applies to the indentation of the BOL.
10599 (smie-indent-keyword): Tweak the black magic.
10600 (smie-indent-comment-continue): Strip comment-continue before use.
10601 (smie-indent-functions): Indent comments before keywords.
10603 2010-06-06 Juri Linkov <juri@jurta.org>
10605 * isearch.el (isearch-lazy-highlight-search): Fix looping
10606 by checking for empty match. This syncs this loop with the
10607 similar loop in `isearch-search'. (Bug#6362)
10609 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
10611 * net/dbus.el (dbus-register-method): Declare function.
10612 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
10613 (dbus-introspect): Doc fix.
10614 (dbus-event-bus-name, dbus-introspect-get-interface)
10615 (dbus-introspect-get-argument): Reflow docstrings.
10617 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
10619 vc-log-incoming/vc-log-outgoing fixes for Git.
10620 * vc-git.el (vc-git-log-view-mode): Fix font lock for
10621 incoming/outgoing logs.
10622 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
10623 instead of vc-git-compute-remote.
10624 (vc-git-compute-remote): Remove.
10626 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
10628 * term/common-win.el (x-colors): Add "dark green" and "dark
10629 turquoise" (Bug#6332).
10631 2010-06-04 Juri Linkov <juri@jurta.org>
10633 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
10634 Instead of setting `replace' to t and replacing the same string
10635 with itself, don't do certain actions when
10636 kill-do-not-save-duplicates is non-nil and string is equal to car
10637 of kill-ring: don't call menu-bar-update-yank-menu, don't push
10638 interprogram-paste strings to kill-ring, and don't push the input
10639 argument `string' to kill-ring.
10640 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
10642 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10644 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
10646 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
10648 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
10649 (tramp-gvfs-handler-mounted-unmounted)
10650 (tramp-gvfs-connection-mounted-p): Handle default-location.
10652 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
10653 move files to trash.
10655 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10657 * international/mule-cmds.el (nonascii-insert-offset)
10658 (nonascii-translation-table): Add obsolescence information.
10660 * international/mule.el (make-translation-table-from-vector): Doc fix.
10662 2010-06-03 Glenn Morris <rgm@gnu.org>
10664 * desktop.el (desktop-clear-preserve-buffers):
10665 Add "*Warnings*" buffer. (Bug#6336)
10667 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
10669 vc-log-incoming/vc-log-outgoing improvements for Git.
10670 * vc-git.el (vc-git-log-outgoing): Use the same format as the
10672 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
10674 Add bindings for vc-log-incoming and vc-log-outgoing.
10675 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
10676 and vc-log-outgoing.
10677 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
10678 and vc-log-outgoing.
10680 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10682 * net/rcirc.el (rcirc-sort-nicknames): Remove.
10683 (rcirc-handler-366): Always sort nicknames.
10685 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
10687 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
10689 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10691 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
10693 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10695 * net/rcirc.el (rcirc-sort-nicknames): Change default.
10696 (rcirc-sort-nicknames-join): Avoid setq.
10698 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10700 * net/rcirc.el (rcirc-sort-nicknames): New custom.
10701 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
10702 (rcirc-handler-366): Use them.
10704 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10706 Split smie-indent-calculate into more manageable chunks.
10707 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
10708 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
10709 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
10710 (smie-indent-exps): Extract from smie-indent-calculate.
10711 (smie-indent-functions): New var.
10712 (smie-indent-functions): Use them.
10714 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10716 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10717 (smie-indent-calculate): Simplify and cleanup.
10719 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
10721 * net/tramp-gvfs.el (top): Require url-util.
10722 (tramp-gvfs-mount-point): Remove.
10723 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10725 (with-tramp-dbus-call-method): Format trace message.
10726 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10727 Implement backup call, when operation on local files fails.
10728 Use progress reporter. Flush properties of changed files.
10729 (tramp-gvfs-handle-make-directory): Make more traces.
10730 (tramp-gvfs-url-file-name): Hexify file name in url.
10731 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10732 into account for the resulting file name.
10733 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10734 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
10735 (tramp-gvfs-handler-mounted-unmounted)
10736 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10737 attribute "default_location". Set "prefix" property.
10738 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10739 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10740 exists. Raise an error, if not (due to a corresponding answer
10741 "no" in interactive questions, for example).
10743 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
10745 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10747 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
10749 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10750 right-*. (Bug#6265)
10752 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
10754 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10755 * vc-git.el (vc-git-compute-remote): New function.
10756 (vc-git-log-outgoing): Use it instead of hard coding a value.
10757 (vc-git-log-incoming): New function.
10759 Improve state updating for VC tag commands.
10760 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10761 to update the state of all buffers in the directory.
10763 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10765 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10767 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10768 `file-directory-p' to the filename part rather than to the whole text.
10770 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10772 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10774 2010-05-31 Drew Adams <drew.adams@oracle.com>
10776 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10778 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
10780 * subr.el (momentary-string-display): Just use read-event to read
10781 the exit event (Bug#6238).
10783 2010-05-30 Eli Zaretskii <eliz@gnu.org>
10785 * international/mule.el (define-coding-system): Doc fix (bug#6313).
10787 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10789 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10790 Suggested by Eli Zaretskii <eliz@gnu.org>.
10792 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10794 * minibuffer.el (completion-file-name-table): Don't return a boundary
10795 past the end of `string' (bug#6299).
10796 (completion--file-name-table): Delegate to completion-file-name-table
10797 for the `boundaries' case.
10799 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10801 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10804 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10805 `path-separator', but maintain compatibility with Emacs 20.2.
10807 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10809 * server.el (server-process-filter): Receive parent-id argument
10811 (server-create-window-system-frame): New arg. Pass parent-id as
10814 2010-05-29 Eli Zaretskii <eliz@gnu.org>
10816 Bidi-sensitive word movement with arrow keys.
10817 * subr.el (right-arrow-command, left-arrow-command): Move to
10820 * bindings.el (right-char, left-char): Move from subr.el and
10821 rename from right-arrow-command and left-arrow-command.
10822 (right-word, left-word): New functions.
10823 (global-map) <right>: Bind to right-char.
10824 (global-map) <left>: Bind to left-char.
10825 (global-map) <C-right>: Bind to right-word.
10826 (global-map) <C-left>: Bind to left-word.
10828 * ls-lisp.el (ls-lisp-classify-file): New function.
10829 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10830 (ls-lisp-classify): Call ls-lisp-classify-file.
10831 (insert-directory): Remove blanks from switches.
10833 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10835 * ansi-color.el: Delete unused escape sequences (Bug#6085).
10836 (ansi-color-drop-regexp): New constant.
10837 (ansi-color-apply, ansi-color-filter-region)
10838 (ansi-color-apply-on-region): Delete unrecognized control sequences.
10839 (ansi-color-apply): Build string list before calling concat.
10841 2010-05-28 Juri Linkov <juri@jurta.org>
10843 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10844 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10847 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10849 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10850 to ignored backtrace functions.
10851 (with-progress-reporter): Expand docstring.
10852 (tramp-handle-delete-file): Implement TRASH argument.
10853 (tramp-get-remote-trash): New defun.
10855 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10857 * net/tramp-compat.el (tramp-compat-delete-file):
10858 Use `symbol-value' for backward compatibility.
10860 * net/tramp.el (tramp-handle-make-symbolic-link)
10861 (tramp-handle-load)
10862 (tramp-do-copy-or-rename-file-via-buffer)
10863 (tramp-do-copy-or-rename-file-directly)
10864 (tramp-do-copy-or-rename-file-out-of-band)
10865 (tramp-handle-process-file, tramp-handle-call-process-region)
10866 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10867 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10868 (tramp-delete-temp-file-function): Use `delete-file' instead
10869 of `tramp-compat-delete-file'.
10871 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10872 (tramp-fish-handle-make-symbolic-link)
10873 (tramp-fish-handle-process-file): Use `delete-file' instead
10874 of `tramp-compat-delete-file'.
10876 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10877 Use `delete-file' instead of `tramp-compat-delete-file'.
10879 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
10880 Use `delete-file' instead of `tramp-compat-delete-file'.
10882 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10883 Use `delete-file' instead of `tramp-compat-delete-file'.
10885 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10886 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10887 (tramp-smb-handle-write-region): Use `delete-file' instead of
10888 `tramp-compat-delete-file'.
10889 (tramp-smb-handle-delete-directory): Use 'trash as arg.
10891 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10893 * dired.el (dired-delete-file): New arg TRASH.
10894 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
10895 (dired-do-flagged-delete, dired-do-delete): Use trash.
10897 * speedbar.el (speedbar-item-delete): Allow trashing.
10899 * files.el (delete-directory): New arg TRASH.
10901 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10902 (ange-ftp-rename-remote-to-remote)
10903 (ange-ftp-rename-local-to-remote)
10904 (ange-ftp-rename-remote-to-local, ange-ftp-load)
10905 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10907 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10910 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10911 handle new TRASH arg of `delete-file'.
10913 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10914 (tramp-handle-make-symbolic-link, tramp-handle-load)
10915 (tramp-do-copy-or-rename-file-via-buffer)
10916 (tramp-do-copy-or-rename-file-directly)
10917 (tramp-do-copy-or-rename-file-out-of-band)
10918 (tramp-handle-process-file, tramp-handle-call-process-region)
10919 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10920 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10921 (tramp-delete-temp-file-function): Use null TRASH arg in
10922 tramp-compat-delete-file call.
10924 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10925 (tramp-fish-handle-delete-file)
10926 (tramp-fish-handle-make-symbolic-link)
10927 (tramp-fish-handle-process-file): Use null TRASH arg in
10928 `tramp-compat-delete-file' call.
10930 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
10931 arg in `tramp-compat-delete-file' call.
10933 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
10934 (tramp-gvfs-handle-write-region): Use null TRASH arg in
10935 `tramp-compat-delete-file' call.
10937 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
10938 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
10939 `tramp-compat-delete-file' call.
10941 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10942 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10943 (tramp-smb-handle-write-region): Use null TRASH arg in
10944 tramp-compat-delete-file call.
10945 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
10946 (tramp-smb-handle-delete-file): Rename arg.
10948 * diff.el (diff-sentinel):
10949 * epg.el (epg--make-temp-file, epg-decrypt-string)
10950 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10951 * jka-compr.el (jka-compr-partial-uncompress)
10952 (jka-compr-call-process, jka-compr-write-region):
10953 * server.el (server-sentinel): Remove optional arg from
10954 delete-file, reverting 2010-05-03 change.
10956 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10958 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10959 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10961 2010-05-27 Kenichi Handa <handa@m17n.org>
10963 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
10964 element of GSTRING is nil.
10966 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10968 * emacs-lisp/smie.el (smie-forward-token-function)
10969 (smie-backward-token-function): New vars.
10970 (smie-backward-sexp, smie-forward-sexp)
10971 (smie-indent-hanging-p, smie-indent-calculate): Use them.
10972 (smie-default-backward-token): Rename from smie-backward-token and
10974 (smie-default-forward-token): Rename from smie-forward-token and
10976 (smie-next-sexp): Handle nil results from next-token.
10977 (smie-indent-calculate): Add a new case for special `fixindent' comments.
10979 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10981 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10982 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10984 2010-05-27 Masatake YAMATO <yamato@redhat.com>
10986 * htmlfontify.el (hfy-face-resolve-face): New function.
10987 (hfy-face-to-style): Use it (Bug#6279).
10989 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10991 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10992 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10994 2010-05-26 Glenn Morris <rgm@gnu.org>
10996 * emulation/edt.el (edt-load-keys): Use locate-library.
10998 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
11000 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
11001 (log-edit-changelog-entries): Doc fix.
11002 (log-edit-changelog-insert-entries): Args changed.
11003 Rename relative filenames in ChangeLog entries. Delete tabs.
11004 (log-edit-insert-changelog-entries): Reorganize return value of
11005 `log-edit-changelog-entries' to pass filenames to
11006 log-edit-changelog-insert-entries.
11008 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11010 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
11011 `image-dired-dired-insert-marked-thumbs' to
11012 `image-dired-dired-toggle-marked-thumbs'.
11014 * image-dired.el: Require cl when compiling.
11015 (image-dired-dired-toggle-marked-thumbs): Rename from
11016 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
11017 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
11018 to 'no-dir. Skip files whose names don't match
11019 `image-file-name-regexp'. When file has a thumbnail overlay,
11020 delete it. (Bug#5270)
11022 2010-05-25 Juri Linkov <juri@jurta.org>
11024 * image-mode.el (image-mode): Add image-after-revert-hook to
11026 (image-after-revert-hook): New function. (Bug#5669)
11028 2010-05-25 Juri Linkov <juri@jurta.org>
11030 * image.el (image-animated-p): When delay between animated images
11031 is 0, set it to 10 (0.1 sec). (Bug#6258)
11033 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
11035 * net/tramp.el (tramp-handle-insert-directory): Don't use
11036 `forward-word', its default syntax could be changed.
11038 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
11040 * net/tramp.el (tramp-progress-reporter-update): New defun.
11041 (with-progress-reporter): Use it.
11042 (tramp-process-actions):
11043 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
11044 Preserve current message, in order to let progress reporter continue
11045 afterwards. (Bug#6257)
11047 2010-05-25 Glenn Morris <rgm@gnu.org>
11049 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
11052 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
11054 * net/rcirc.el (rcirc-default-user-name): Change to "user".
11055 (rcirc-default-full-name): Change to "unknown".
11056 (rcirc-user-name-history): Add variable.
11058 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
11059 Jonathan Rockway <jon@jrock.us>
11061 * net/rcirc.el (rcirc-server-alist): Add :pass.
11062 (rcirc): When prompting for connection parameters, also prompt for
11063 username and password.
11064 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
11065 value to server when connecting.
11067 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11069 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
11070 (smie-merge-prec2s): Pass the tables as separate args.
11071 (smie-bnf-precedence-table): Adjust call accordingly.
11072 (smie-prec2-levels): Set levels at the end.
11074 Replace Lisp calls to delete-backward-char by delete-char.
11075 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
11076 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
11077 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
11078 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
11079 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
11080 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
11081 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
11082 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
11083 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
11084 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
11085 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
11086 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
11087 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
11088 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
11089 delete-backward-char by calls to delete-char.
11091 2010-05-25 Kenichi Handa <handa@m17n.org>
11093 * language/hebrew.el (hebrew-shape-gstring): New function.
11094 Register it in composition-function-table for all Hebrew combining
11097 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11099 * epa.el (epa--select-keys): Don't explicitly delete the window since
11100 that can fail (e.g. sole window in frame). Use dedication instead.
11102 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
11104 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
11106 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
11108 * image.el (image-refresh): Define as an alias for image-flush.
11110 * image-mode.el (image-toggle-display-image): Caller changed.
11112 2010-05-21 Juri Linkov <juri@jurta.org>
11114 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
11115 Remove "all" from grep-files-aliases. Split grep-files-aliases by
11116 whitespace, call wildcard-to-regexp on substrings and concat them
11117 with "\\|". (Bug#6114)
11119 2010-05-21 Alan Mackenzie <acm@muc.de>
11121 * progmodes/cc-engine.el (c-parse-state-get-strategy):
11122 Replace parameter `here' with `here-' and `here-plus', which sandwich
11123 any pertinent CPP construct.
11124 (c-remove-stale-state-cache-backwards): Fix a bug which happens
11125 when doing (c-parse-state) in a CPP construct: Exclude any "new"
11126 CPP construct from taking part in the scanning.
11128 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
11130 * net/tramp.el (tramp-do-copy-or-rename-file)
11131 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
11132 Tune `with-progress-reporter' messages.
11133 (tramp-handle-vc-registered):
11134 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
11135 (tramp-fish-handle-insert-file-contents)
11136 (tramp-fish-maybe-open-connection):
11137 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11138 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
11139 (tramp-imap-handle-insert-file-contents)
11140 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
11142 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
11144 * add-log.el (change-log-font-lock-keywords):
11145 Highlight all authors in multi-author entries.
11147 * smerge-mode.el (smerge-refine-ignore-whitespace)
11148 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
11149 Fix typos in docstrings.
11150 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
11152 2010-05-21 Glenn Morris <rgm@gnu.org>
11154 * progmodes/fortran.el (fortran-mode):
11155 * progmodes/f90.el (f90-mode): Derive from prog-mode.
11157 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
11158 having a relative path in src/Makefile.in.
11160 2010-05-20 Kevin Ryde <user42@zip.com.au>
11162 * help-mode.el (help-make-xrefs): For Info node links turn
11163 newlines into spaces. Link node names with newlines are matched
11164 by help-xref-info-regexp and buttonized, this change ensures they
11165 can be followed successfully with RET. (Bug#6206)
11167 2010-05-20 Juri Linkov <juri@jurta.org>
11169 * locate.el (locate): Use pop-to-buffer instead of
11170 switch-to-buffer-other-window. (Bug#6204)
11172 2010-05-20 Juri Linkov <juri@jurta.org>
11174 * replace.el (replace-highlight): Fix lazy-highlighting
11175 for `M-s w str M-% str RET'.
11177 2009-12-15 Masatake YAMATO <yamato@redhat.com>
11179 * isearch.el (isearch-yank-word-or-char): Pull next subword
11180 when `subword-mode' is activated. (Bug#6220)
11182 2010-05-20 Mark A. Hershberger <mah@everybody.org>
11184 * isearch.el (isearch-update-post-hook): New hook.
11185 (isearch-update): Use the new hook. (Bug#6225)
11187 2010-05-20 Juri Linkov <juri@jurta.org>
11189 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
11190 [f1], [help], and (char-to-string help-char) instead of "\C-h".
11193 2010-05-20 Juri Linkov <juri@jurta.org>
11195 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
11198 2010-05-20 Juri Linkov <juri@jurta.org>
11200 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
11201 FILE-NAME to read from the minibuffer when called interactively
11202 with prefix argument instead of using buffer-file-name.
11203 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
11205 * dired.el: Update autoloads.
11207 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
11209 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
11210 nxml-finish-element, for consistency with SGML mode.
11212 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
11213 octave-close-block.
11215 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
11217 * composite.el: Require cl when compiling.
11218 (reference-point-alist, compose-gstring-for-graphic)
11219 (compose-gstring-for-terminal): Fix typos in docstrings.
11221 2010-05-19 Juri Linkov <juri@jurta.org>
11223 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
11224 set-window-parameter.
11226 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
11228 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
11230 (tramp-maybe-open-connection): Use it.
11232 2010-05-19 Eli Zaretskii <eliz@gnu.org>
11234 * simple.el (move-end-of-line): Make sure we are at line beginning
11235 before backing up to end of previous line.
11237 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
11239 * password-cache.el (password-cache-remove): Fix docstring.
11241 * net/secrets.el: Autoload the widget functions.
11242 (secrets-search-items, secrets-create-item)
11243 (secrets-get-attributes, secrets-expand-item): Attributes will be
11244 stored on the password database without leading ":", as all other
11245 clients do as well.
11246 (secrets-mode): Fix docstring.
11247 (secrets-show-secrets): Provide it as autoloaded command only when
11248 D-Bus support is available. Check existence of Secret Service API.
11250 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11252 * indent.el (indent-region): Deactivate region (bug#6200).
11254 2010-05-19 Glenn Morris <rgm@gnu.org>
11256 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
11258 2010-05-19 Kenichi Handa <handa@m17n.org>
11260 * composite.el: Register compose-gstring-for-graphic in
11261 composition-function-table only for combining characters (Mn, Mc, Me).
11263 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
11265 * calc/calc-trail.el (calc-trail-isearch-forward)
11266 (calc-trail-isearch-backward): Ensure that the new window
11267 point is set correctly.
11269 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11271 * subr.el (read-quoted-char): Resolve modifiers after key
11272 remapping (bug#6212).
11274 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
11276 Add visualization code for secrets.
11277 * net/secrets.el (secrets-mode): New major mode.
11278 (secrets-show-secrets, secrets-show-collections)
11279 (secrets-expand-collection, secrets-expand-item)
11280 (secrets-tree-widget-after-toggle-function)
11281 (secrets-tree-widget-show-password): New defuns.
11283 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11285 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
11286 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
11287 handled in smie-next-sexp.
11288 (smie-indent-calculate): Provide a starting indentation (so the
11289 recursion is well-founded ;-).
11291 Fix handling of non-associative equal levels.
11292 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
11293 when it's not needed.
11294 (smie-op-left, smie-op-right): New functions.
11295 (smie-next-sexp): New function, extracted from smie-backward-sexp.
11296 Better handle equal levels to distinguish the associative case from
11297 the "multi-keyword construct" case.
11298 (smie-backward-sexp, smie-forward-sexp): Use it.
11300 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
11302 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
11304 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
11305 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
11307 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11309 Provide a simple generic indentation engine and use it for Prolog.
11310 * emacs-lisp/smie.el: New file.
11311 * progmodes/prolog.el (prolog-smie-op-levels)
11312 (prolog-smie-indent-rules): New var.
11313 (prolog-mode-variables): Use them to configure SMIE.
11314 (prolog-indent-line, prolog-indent-level): Remove.
11316 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11318 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
11319 order before computing the averages.
11321 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
11323 * calc/calc-vec.el (calc-histogram):
11324 (calcFunc-histogram): Allow vectors as inputs.
11325 (math-vector-avg): New function.
11327 * calc/calc-ext.el (math-group-float): Have the number of digits
11328 being grouped depend on the radix (Bug#6189).
11330 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
11332 * version.el (emacs-copyright, emacs-version): Don't define here,
11333 now that emacs.c defines it.
11335 2010-05-15 Eli Zaretskii <eliz@gnu.org>
11337 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
11338 "Describe Language Environment" menu item.
11340 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
11342 Bidi-sensitive movement with arrow keys.
11343 * subr.el (right-arrow-command, left-arrow-command): New functions.
11345 * bindings.el (global-map): Bind them to right and left arrow keys.
11347 Don't override standard definition of convert-standard-filename.
11348 * files.el (convert-standard-filename):
11349 Call w32-convert-standard-filename and dos-convert-standard-filename on
11350 the corresponding systems.
11352 * w32-fns.el (w32-convert-standard-filename): Rename from
11353 convert-standard-filename. Doc fix.
11355 * dos-fns.el (dos-convert-standard-filename): Doc fix.
11356 (convert-standard-filename): Don't defalias.
11357 (register-name-alist, make-register, register-value)
11358 (set-register-value, intdos): Obsolete aliases for the
11359 corresponding dos-* functions and variables.
11360 (dos-intdos): Add a doc string.
11362 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
11364 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
11365 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
11366 (math-compose-tex-func):
11367 * calc/calccomp.el (math-compose-expr):
11368 * calc/calc-ext.el (math-format-flat-expr-fancy):
11369 * calc/calc-store.el (calc-read-var-name):
11370 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
11372 * calc/calc.el (var-π, var-φ, var-γ): New variables.
11373 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
11374 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
11375 (math-standard-units): Add units.
11377 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11379 * progmodes/asm-mode.el (asm-mode):
11380 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
11382 * pcomplete.el (pcomplete-completions-at-point): New function,
11383 extracted from pcomplete-std-complete.
11384 (pcomplete-std-complete): Use it.
11386 2010-05-15 Glenn Morris <rgm@gnu.org>
11388 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11389 Remove references to CVS, RCS and Old directories.
11391 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
11393 * calc/calc-bin.el (math-format-twos-complement): Group digits when
11396 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11398 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
11399 (sh-mode-syntax-table): Give it a default value instead.
11400 (sh-header-marker): Make buffer-local.
11401 (sh-mode): Move make-local-variable to the corresponding setq.
11402 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
11403 Use complete-with-action.
11405 * simple.el (prog-mode): New (abstract) major mode.
11406 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
11407 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
11409 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
11411 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
11412 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
11413 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
11414 (sql-make-alternate-buffer-name, sql-placeholders-filter)
11415 (sql-escape-newlines-filter, sql-input-sender)
11416 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
11418 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
11420 Add TeX open-block and close-block keybindings to SGML, and vice versa.
11422 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
11423 latex-open-block and C-c / to latex-close-block.
11425 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
11426 and C-c C-e to sgml-close-tag.
11428 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
11430 * net/tramp.el (with-progress-reporter): Create reporter object
11431 only when the message would be displayed. Handle nested calls.
11432 (tramp-handle-load, tramp-handle-file-local-copy)
11433 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11434 (tramp-maybe-send-script, tramp-find-shell):
11435 Use `with-progress-reporter'.
11436 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
11439 * net/tramp-smb.el (tramp-smb-handle-copy-file)
11440 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11441 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
11442 Use `with-progress-reporter'.
11444 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
11446 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
11447 process everytime when spellchecking from the minibuffer (bug#6143).
11449 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11451 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
11453 * dos-fns.el: Add "dos-" prefix for namespace control.
11454 (convert-standard-filename): Define as alias for
11455 dos-convert-standard-filename but only if applicable.
11457 2010-05-12 Alan Mackenzie <acm@muc.de>
11459 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
11460 Push the mark at the start of these functions when appropriate.
11462 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11464 * minibuffer.el (completion-cycle-threshold): New custom var.
11465 (completion--do-completion): Use it.
11466 (minibuffer-complete): Use cycling if appropriate.
11468 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
11470 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
11471 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
11473 2010-05-11 Juri Linkov <juri@jurta.org>
11475 * scroll-all.el (scroll-all-check-to-scroll):
11476 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
11478 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11480 * iimage.el (iimage-mode-map): Move initialization into declaration.
11481 (iimage-mode-buffer): Use with-silent-modifications.
11482 Simplify calling convention. Adjust callers.
11483 (iimage-mode): Don't run hook redundantly.
11485 * minibuffer.el (completion-pcm--pattern->regex):
11486 Fix last change (bug#6160).
11488 2010-05-10 Juri Linkov <juri@jurta.org>
11490 Remove nodes visited during Isearch from the Info history.
11491 * info.el (Info-isearch-initial-history)
11492 (Info-isearch-initial-history-list): New variables.
11493 (Info-isearch-start): Record initial values of
11494 Info-isearch-initial-history and Info-isearch-initial-history-list.
11495 Add Info-isearch-end to isearch-mode-end-hook.
11496 (Info-isearch-end): New function.
11498 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
11500 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
11501 format string, in order to work around a bug in pdksh.
11502 Reported by Gilles Pion <gpion@lfdj.com>.
11503 (tramp-handle-verify-visited-file-modtime): Do not send a command
11504 when the connection is not established.
11505 (tramp-handle-set-file-times): Simplify the check for utc.
11507 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
11509 Fix use of `filter-buffer-substring' (rework previous change).
11510 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
11511 (cua-repeat-replace-region):
11512 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
11513 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11514 (cua-cut-region-to-global-mark): Use it.
11516 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
11518 * progmodes/sql.el: Version 2.1.
11519 (sql-product-alist): Redesign structure of product info.
11520 (sql-product, sql-user, sql-server, sql-database): Safe variables.
11521 (sql-port, sql-port-history): New variables.
11522 (sql-interactive-product): New variable.
11523 (sql-send-terminator): New variable.
11524 (sql-imenu-generic-expression): Add "Types" imenu entry.
11525 (sql-oracle-login-params, sql-sqlite-login-params)
11526 (sql-mysql-login-params, sql-solid-login-params)
11527 (sql-sybase-login-params, sql-informix-login-params)
11528 (sql-ingres-login-params, sql-ms-login-params)
11529 (sql-postgres-login-params, sql-interbase-login-params)
11530 (sql-db2-login-params, sql-linter-login-params)
11531 (sql-oracle-scan-on): New variables.
11532 (sql-mode-map): Add C-c C-i to start interactive mode.
11533 (sql-mode-menu): Update existing menu entries.
11534 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
11535 (sql-mode-oracle-font-lock-keywords)
11536 (sql-mode-postgres-font-lock-keywords)
11537 (sql-mode-ms-font-lock-keywords)
11538 (sql-mode-sybase-font-lock-keywords)
11539 (sql-mode-informix-font-lock-keywords)
11540 (sql-mode-interbase-font-lock-keywords)
11541 (sql-mode-ingres-font-lock-keywords)
11542 (sql-mode-solid-font-lock-keywords)
11543 (sql-mode-mysql-font-lock-keywords)
11544 (sql-mode-sqlite-font-lock-keywords)
11545 (sql-mode-db2-font-lock-keywords)
11546 (sql-mode-linter-font-lock-keywords): Update initialization to
11547 reduce run-time complexity.
11548 (sql-add-product, sql-del-product): New functions.
11549 (sql-set-product-feature, sql-get-product-feature): New functions.
11550 (sql-product-font-lock): Update product API.
11551 (sql-add-product-keywords): New function.
11552 (sql-highlight-product): Update product API.
11553 (sql-help-list-products): New function.
11554 (sql-help): Dynamically lists free and non-free products.
11555 (sql-get-login): Correct bug in handling history and added
11557 (sql-copy-column): Copy without properties.
11558 (sqli-input-sender): Apply filters to SQLi input.
11559 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
11560 Implement as a filter.
11561 (sql-escape-newlines-filter): Implement as a filter.
11562 (sql-remove-tabs-filter): New function.
11563 (sql-send-magic-terminator): New function.
11564 (sql-send-string): Implement magic terminator.
11565 (sql-send-region): Use `sql-send-string'.
11566 (sql-interactive-mode): Use product API.
11567 (sql-product-interactive): Use product API.
11568 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
11569 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
11570 (sql-db2, sql-linter): Use `sql-product-interactive'.
11571 (sql-connect): New function.
11572 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
11573 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
11574 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
11575 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
11578 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11580 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
11581 New custom variable.
11582 (completion-pcm--string->pattern): Use it.
11583 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
11584 Make it handle any symbol as `any'.
11585 (completion-pcm--merge-completions): Extract common suffix for the new
11586 `prefix' symbol as well.
11587 (completion-substring--all-completions): Use the new `prefix' symbol.
11589 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
11591 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
11593 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
11594 (tramp-compat-funcall): New defmacro.
11595 (tramp-compat-line-beginning-position)
11596 (tramp-compat-line-end-position)
11597 (tramp-compat-temporary-file-directory)
11598 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
11599 (tramp-compat-copy-file, tramp-compat-copy-directory)
11600 (tramp-compat-delete-file, tramp-compat-delete-directory)
11601 (tramp-compat-number-sequence, tramp-compat-process-running-p)
11602 * net/tramp.el (top, with-progress-reporter)
11603 (tramp-rfn-eshadow-setup-minibuffer)
11604 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
11605 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
11606 (tramp-completion-mode-p, tramp-check-for-regexp)
11607 (tramp-open-connection-setup-interactive-shell)
11608 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
11609 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
11610 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
11611 * net/tramp-cmds.el (tramp-cleanup-all-connections)
11612 (tramp-reporter-dump-variable, tramp-load-report-modules)
11613 (tramp-append-tramp-buffers)
11614 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
11616 * net/tramp-imap.el (top): Autoload `epg-make-context'.
11618 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11620 * progmodes/compile.el (compilation-buffer-modtime): Rename from
11621 buffer-modtime. Adjust users.
11623 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11625 * international/mule.el (auto-coding-alist): Only purecopy
11626 car of each item, not the whole list (Bug#6083).
11628 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11630 * progmodes/js.el (js-mode): Make paragraph variables local before
11631 calling c-setup-paragraph-variables (Bug#6071).
11633 2010-05-08 Eli Zaretskii <eliz@gnu.org>
11635 * composite.el (compose-region, reference-point-alist): Fix typos
11636 in the doc strings.
11638 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11640 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
11641 gnuplot's "set" command.
11643 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11645 * abbrev.el (last-abbrev-text): Doc fix.
11646 (abbrev-prefix-mark): Don't escape parenthesis.
11648 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
11650 * composite.el (find-composition): Doc fix.
11652 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11654 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
11655 (sql-oracle-program, sql-sqlite-options)
11656 (sql-query-placeholders-and-send): Doc fixes.
11657 (sql-set-product, sql-interactive-mode): Reflow docstrings.
11658 (sql-imenu-generic-expression, sql-buffer)
11659 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
11660 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
11661 (sql-mode-sybase-font-lock-keywords)
11662 (sql-mode-informix-font-lock-keywords)
11663 (sql-mode-interbase-font-lock-keywords)
11664 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
11665 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
11666 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
11667 (sql-product-feature, sql-highlight-product)
11668 (comint-line-beginning-position, sql-rename-buffer)
11669 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
11670 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
11671 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
11672 Fix typos in docstrings.
11674 2010-05-08 Juri Linkov <juri@jurta.org>
11676 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
11677 property instead of `invisible' and `after-string' (bug#5998).
11679 2010-05-08 Juri Linkov <juri@jurta.org>
11681 * image-mode.el (image-mode-as-text): Fix typo in docstring.
11683 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11685 * filecache.el (file-cache-add-directory-list)
11686 (file-cache-add-directory-recursively): Fix typos in docstrings.
11688 2010-05-08 Kenichi Handa <handa@m17n.org>
11690 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
11691 (gujarati-composable-pattern): Fix typo.
11693 2010-05-08 Kenichi Handa <handa@m17n.org>
11695 * language/indian.el (oriya-composable-pattern)
11696 (tamil-composable-pattern, malayalam-composable-pattern):
11697 Add two-part vowels to "v" (vowel sign).
11699 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11701 * files.el (copy-directory): Handle symlinks (Bug#5982).
11703 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
11705 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
11706 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
11709 2010-05-08 Glenn Morris <rgm@gnu.org>
11711 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11713 * minibuffer.el (completion-at-point): Doc fix.
11715 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11717 * electric.el (Electric-command-loop): Minor tweak.
11719 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11720 better with dedicated windows.
11722 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
11724 * Version 23.2 released.
11726 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11727 Stefan Monnier <monnier@iro.umontreal.ca>
11729 Highlight vendor specific properties.
11730 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11731 (css-proprietary-property): New face.
11732 (css-font-lock-keywords): Use them.
11734 2010-05-07 Eli Zaretskii <eliz@gnu.org>
11736 * cus-start.el (all): Add native condition for tool-bar-* symbols.
11738 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11740 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11741 * files.el (auto-mode-alist): Remove redundant entries.
11743 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11744 * simple.el (auto-save-mode): Move from files.el.
11745 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11747 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
11749 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11751 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
11753 * mail/binhex.el (binhex-decode-region-internal)
11754 * mail/uudecode.el (uudecode-decode-region-internal)
11755 * net/dns.el (dns-read-string-name, dns-write, dns-read)
11756 (dns-read-type, dns-query)
11757 * pgg-parse.el (pgg-parse-armor)
11758 * pgg.el (pgg-verify-region)
11759 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11762 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11764 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
11766 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11768 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11769 * emulation/cua-base.el (cua-repeat-replace-region):
11770 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11771 (cua-cut-region-to-global-mark):
11772 Remove text properties with `set-text-properties'.
11774 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
11776 * net/tramp.el (top, with-progress-reporter):
11777 Use `symbol-function' inside `funcall'.
11779 * net/tramp-compat.el (tramp-compat-file-attributes)
11780 (tramp-compat-delete-file, tramp-compat-delete-directory):
11781 Handle only `wrong-number-of-arguments' error.
11783 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11784 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11787 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11789 * minibuffer.el (completion--sreverse, completion--common-suffix):
11791 (completion-pcm--merge-completions): Extract common suffix when safe.
11793 * emacs-lisp/easy-mmode.el (define-minor-mode):
11794 Make :variable more flexible.
11795 * files.el (auto-save-mode): Use it to define using define-minor-mode.
11797 2010-05-05 Juri Linkov <juri@jurta.org>
11799 Add `slow' and `history' tags to the desktop data.
11801 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11802 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11803 (Info-finder-find-node): Require `finder.el' to be able
11804 to restore node from the desktop.
11805 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
11806 data `Info-history' and `slow' tag in the assoc list.
11807 (Info-restore-desktop-buffer): Don't restore nodes with the
11808 `slow' tag. Restore `Info-history'.
11810 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
11812 Add FORCE argument to `delete-file'.
11814 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11815 forcing to delete the temporary file.
11816 (ange-ftp-delete-file): Add FORCE arg.
11817 (ange-ftp-rename-remote-to-remote)
11818 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11819 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11820 Force file deletion.
11822 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11824 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11825 (tramp-handle-make-symbolic-link, tramp-handle-load)
11826 (tramp-do-copy-or-rename-file-via-buffer)
11827 (tramp-do-copy-or-rename-file-directly)
11828 (tramp-do-copy-or-rename-file-out-of-band)
11829 (tramp-handle-process-file, tramp-handle-call-process-region)
11830 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11831 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11832 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11834 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11835 (tramp-fish-handle-make-symbolic-link)
11836 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11838 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11839 Use `tramp-compat-delete-file'.
11841 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11842 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11844 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11845 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11847 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11848 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11849 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11850 Use `tramp-compat-delete-file'.
11852 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11855 * subr.el (add-minor-mode): Use push.
11856 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11857 * emulation/edt.el (edt-select-mode): Simplify.
11859 Use define-minor-mode in more cases.
11860 * term/tvi970.el (tvi970-set-keypad-mode):
11861 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11862 (normal-erase-is-backspace-mode):
11863 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11864 (set-scroll-bar-mode-1): (Re)move to its sole caller.
11865 (get-scroll-bar-mode): New function.
11866 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11868 Use define-minor-mode for less obvious cases.
11869 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11870 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11871 * international/iso-ascii.el (iso-ascii-mode):
11872 * frame.el (auto-raise-mode, auto-lower-mode):
11873 * composite.el (global-auto-composition-mode): Use define-minor-mode.
11875 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
11877 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11878 in order to see error messages for failed logins.
11880 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
11882 * diff.el (diff-sentinel):
11884 * epg.el (epg--make-temp-file, epg-decrypt-string)
11885 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11887 * jka-compr.el (jka-compr-partial-uncompress)
11888 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11890 * server.el (server-sentinel): Use delete-file's new FORCE arg
11893 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11895 Use define-minor-mode where applicable.
11896 * view.el (view-mode):
11897 * type-break.el (type-break-query-mode)
11898 (type-break-mode-line-message-mode):
11899 * textmodes/reftex.el (reftex-mode):
11900 * term/vt100.el (vt100-wide-mode):
11901 * tar-mode.el (tar-subfile-mode):
11902 * savehist.el (savehist-mode):
11903 * ibuf-ext.el (ibuffer-auto-mode):
11904 * composite.el (auto-composition-mode):
11905 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11906 Use define-minor-mode.
11907 (vhdl-mode): Use static mode-line format.
11908 (vhdl-mode-line-update): Delete.
11909 (vhdl-create-mode-menu, vhdl-activate-customizations)
11910 (vhdl-hs-minor-mode): Don't bother calling it.
11912 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11914 * simple.el (with-wrapper-hook): Move.
11915 (buffer-substring-filters): Mark obsolete.
11916 (filter-buffer-substring-functions): New variable.
11917 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
11919 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
11920 Michael Albinus <michael.albinus@gmx.de>
11922 Implement compression for inline methods.
11924 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11925 (tramp-copy-size-limit): Allow also nil.
11926 (tramp-inline-compress-commands): New defconst.
11927 (tramp-find-inline-compress, tramp-get-inline-compress)
11928 (tramp-get-inline-coding): New defuns.
11929 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
11930 replaced by `tramp-get-inline-coding'.
11931 (tramp-handle-file-local-copy, tramp-handle-write-region)
11932 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
11934 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11936 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
11937 Remove unused functions.
11939 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
11940 Set find-tag-default-function as a variable rather than a property.
11942 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
11943 * progmodes/etags.el (tags-completion-at-point-function):
11944 Remove left over interactive spec. Add autoloading stub.
11945 (complete-tag): Use tags-completion-at-point-function.
11947 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
11949 * minibuffer.el (tags-completion-at-point-function): Fix return value.
11951 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11953 * ido.el (ido-init-completion-maps): Remove C-v binding.
11954 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
11956 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11958 * minibuffer.el (tags-completion-at-point-function): New function.
11959 (completion-at-point-functions): Use it.
11961 * progmodes/etags.el (complete-tag): Revert last change.
11963 2010-04-29 Alan Mackenzie <acm@muc.de>
11965 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
11966 off-by-one error (in end of macro position).
11968 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11970 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
11971 firefox is absent. Don't autoload.
11972 (browse-url-galeon-program): Don't autoload.
11974 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11976 * bindings.el (complete-symbol): Move into minibuffer.el.
11978 * minibuffer.el (complete-tag): Move from etags.el. If tags
11979 completion cannot be performed, return nil instead of signalling
11981 (completion-at-point): Make it an alias for complete-symbol.
11982 (complete-symbol): Move from bindings.el, and replace with the
11983 body of completion-at-point.
11985 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11987 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
11989 * net/tramp.el (tramp-remote-selinux-p): New defun.
11990 (tramp-handle-file-selinux-context)
11991 (tramp-handle-set-file-selinux-context): Use it.
11993 2010-04-28 Sam Steingold <sds@gnu.org>
11995 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11996 `safe-local-variable' if the value is a string or a symbol with
11997 the property `bug-reference-url-format'.
11999 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
12001 * progmodes/bug-reference.el (bug-reference-url-format):
12002 Revert 2010-04-27 change due to security risk.
12004 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12006 Make it possible to locally disable a globally enabled mode.
12007 * simple.el (fundamental-mode): Run fundamental-mode-hook.
12008 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
12009 rather than kill-all-local-variables so it runs fundamental-mode-hook.
12010 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12011 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
12012 that subsequent hooks get a chance to disable it.
12014 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12016 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12017 Avoid re-enabling a minor mode after the user turned the minor mode
12018 off if MODE-enable-in-buffers is run twice (typically once from
12019 fundamental-mode's after-change-major-mode-hook and a second time from
12020 run-mode-hook's own after-change-major-mode-hook).
12022 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
12024 2010-04-27 Sam Steingold <sds@gnu.org>
12026 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
12027 `safe-local-variable' if the value is a string or a function, as
12028 documented and implemented on 2010-04-02.
12030 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
12032 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
12033 when method is 'kill.
12035 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
12037 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
12038 condition in default directory check.
12039 (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
12040 Kill ispell process when killing its associated buffer.
12042 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
12044 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
12045 but we aren't using it.
12047 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
12049 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
12050 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
12052 2010-04-24 Glenn Morris <rgm@gnu.org>
12054 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
12055 Ignore VCS-ignore files, and deleted nextstep preferences files.
12056 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
12057 (authors-ambiguous-files): New list.
12058 (authors-valid-file-names): Add some deleted files.
12059 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
12060 (authors-disambiguate-file-name): New function. (Bug#5501)
12061 (authors-canonical-file-name): Doc fix.
12062 Don't warn about obsolete files.
12063 (authors-canonical-file-name, authors-scan-el):
12064 Use authors-disambiguate-file-name.
12066 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
12067 Add autoload cookies.
12068 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
12069 (generated-autoload-file): Set file-local value to "htmlfontify.el".
12070 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
12071 They have definitions / compiler macros in cl.el.
12072 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
12073 Replace manual autoloads with generated ones.
12074 (htmlfontify-unload-rgb-file): Remove autoload.
12075 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
12077 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12079 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
12080 (byte-compile-setq-default): Optimize for the
12081 single-var case and don't call byte-compile-form in this case to avoid
12082 inf-loop with byte-compile-set-default.
12084 * progmodes/compile.el (compilation-start): Abbreviate default directory.
12086 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
12088 Implement SELINUX backends.
12090 * net/tramp.el (tramp-file-name-handler-alist):
12091 Add `file-selinux-context' and `set-file-selinux-context'.
12092 (tramp-handle-file-selinux-context)
12093 (tramp-handle-set-file-selinux-context): New defuns.
12094 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
12095 Handle PRESERVE-SELINUX-CONTEXT.
12097 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12098 Add `file-selinux-context' and `set-file-selinux-context'.
12099 (tramp-gvfs-handle-file-selinux-context)
12100 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
12101 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
12103 * net/ange-ftp.el (ange-ftp-copy-file):
12104 * net/tramp-fish.el (tramp-fish-handle-copy-file):
12105 * net/tramp-imap.el (tramp-imap-handle-copy-file):
12106 * net/tramp-smb.el (tramp-smb-handle-copy-file):
12107 Add PRESERVE-SELINUX-CONTEXT.
12109 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
12111 Synchronize with Tramp repository.
12113 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
12114 (tramp-action-process-alive, tramp-action-out-of-band)
12115 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
12116 (tramp-exists-file-name-handler): Fix docstring.
12117 (with-progress-reporter): New defmacro.
12118 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
12119 (tramp-maybe-open-connection): Use it.
12121 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
12123 Detect ssh 'ControlMaster' argument automatically in some cases.
12125 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
12126 (tramp-default-method): Use it.
12128 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
12130 * net/tramp.el (tramp-handle-copy-file): Add new optional
12131 parameter `preserve-selinux-context'.
12132 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
12134 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
12136 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
12137 Ensure, that non remote files are still checked. Oops.
12139 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
12143 * icomplete.el (icomplete-completions): Use `non-essential'.
12145 * net/tramp.el (tramp-connectable-p): New defun.
12146 (tramp-handle-expand-file-name)
12147 (tramp-completion-handle-file-name-all-completions)
12148 (tramp-completion-handle-file-name-completion): Use it.
12150 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
12152 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
12154 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
12156 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
12158 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
12160 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
12163 * info.el (info-tool-bar-map): Add labels.
12165 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
12167 * cus-edit.el (custom-commands): Add labels for tool bar.
12168 (custom-buffer-create-internal, Custom-mode): Adjust for
12169 labels in custom-commands.
12171 * dynamic-setting.el: Renamed from font-setting.el.
12173 2010-04-21 John Wiegley <jwiegley@gmail.com>
12175 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
12176 toggles the use of virtual buffers.
12177 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
12178 (ido-toggle-virtual-buffers): New function.
12180 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
12182 Use `define-derived-mode'; fix window selection; doc fixes.
12183 * play/tetris.el (tetris, tetris-update-speed-function)
12184 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
12185 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
12186 (tetris-rotate-next, tetris-end-game, tetris-start-game)
12187 (tetris-pause-game): Fix typos in docstrings.
12188 (tetris-mode-map, tetris-null-map):
12189 Move initialization into declaration.
12190 (tetris-mode): Define with `define-derived-mode';
12191 set show-trailing-whitespace to nil.
12192 (tetris): Prefer window already displaying the "*Tetris*" buffer.
12194 2010-04-21 Karel Klíč <kklic@redhat.com>
12196 * files.el (backup-buffer): Handle SELinux context, and return it
12197 if a backup was made by renaming.
12198 (backup-buffer-copy): Set SELinux context to the target file.
12199 (basic-save-buffer): Set SELinux context of the newly written file.
12200 (basic-save-buffer-1): Now it also returns any SELinux context.
12201 (basic-save-buffer-2): Set SELinux context of the newly created file,
12203 * net/tramp.el (tramp-file-name-for-operation):
12204 Add file-selinux-context.
12206 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
12208 Make the log-edit comments use RFC822 format throughout.
12210 * vc.el (vc-checkin, vc-modify-change-comment):
12211 Adjust to new vc-start/finish-logentry.
12212 (vc-find-conflicted-file): New command.
12213 (vc-transfer-file): Adjust to new vc-checkin.
12214 (vc-next-action): Improve scoping.
12216 * vc-hg.el (vc-hg-log-edit-mode): Remove.
12217 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
12219 * vc-git.el (vc-git-log-edit-mode): Remove.
12220 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
12221 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
12223 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
12224 (vc-start-logentry): Remove argument `extra'.
12225 (vc-finish-logentry): Remove extra args.
12227 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
12228 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
12229 (vc-bzr-conflicted-files): New function.
12231 * log-edit.el (log-edit-extra-flags)
12232 (log-edit-before-checkin-process): Remove.
12233 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
12234 (log-edit-headers-alist): New var.
12235 (log-edit-header-contents-regexp): New const.
12236 (log-edit-match-to-eoh): New function.
12237 (log-edit-font-lock-keywords): Use them.
12238 (log-edit): Insert a "Summary:" header as default.
12239 (log-edit-mode): Mark font-lock rules as case-insensitive.
12240 (log-edit-done): Cleanup headers.
12241 (log-view-process-buffer): Remove.
12242 (log-edit-extract-headers): New function to replace it.
12244 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
12246 * subr.el (default-direction-reversed): Remove obsolescence info.
12248 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12250 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
12253 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
12254 I.e. include text after point in the completion region.
12255 Also, return nil when we're not after/in a symbol.
12257 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
12258 default enable-multibyte-characters.
12260 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12262 * international/mule.el: Help the user choose a valid coding-system.
12263 (read-buffer-file-coding-system): New function.
12264 (set-buffer-file-coding-system): Use it. Prompt the user if the
12265 coding-system cannot encode all the chars.
12267 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
12268 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
12269 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
12270 Don't use *vc-bzr-shelve*.
12272 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
12274 Fix the version number for added files.
12275 * vc-hg.el (vc-hg-working-revision): Check if the file is
12276 registered after hg parent fails (Bug#5961).
12278 2010-04-19 Glenn Morris <rgm@gnu.org>
12280 * htmlfontify.el (htmlfontify-buffer)
12281 (htmlfontify-copy-and-link-dir): Autoload entry points.
12283 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
12285 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
12286 name relative to the project root (Bug#5960).
12288 2010-04-19 Glenn Morris <rgm@gnu.org>
12290 * vc-git.el (vc-git-print-log): Doc fix.
12292 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
12294 * ido.el (ido-file-internal): Fix 2009-12-02 change.
12296 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
12298 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
12299 default settings (Bug#5928).
12301 2010-04-19 Glenn Morris <rgm@gnu.org>
12303 * progmodes/fortran.el (fortran-match-and-skip-declaration):
12305 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
12307 2010-04-19 Kenichi Handa <handa@m17n.org>
12309 * language/indian.el (malayalam-composable-pattern): Fix previous
12310 change (add U+0D4D "SIGN VIRAMA").
12311 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
12312 (tamil-composable-pattern): Fix typo in the regexp.
12313 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
12314 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
12315 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
12317 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
12319 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
12320 paragraph-separate (Bug#5821).
12322 2010-04-19 Juri Linkov <juri@jurta.org>
12324 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
12326 * info.el (Info-find-node-2): Comment out code that skips
12328 (Info-mouse-follow-link): New command.
12329 (Info-link-keymap): New keymap.
12330 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
12331 Return a string with links instead of inserting breadcrumbs
12332 to the Info buffer.
12333 (Info-fontify-node): Comment out code that inserts breadcrumbs.
12334 Instead of putting the `invisible' text property over the Info
12335 header, make an overlay over the Info header with the `invisible'
12336 property and `after-string' set to the string returned by
12337 `Info-breadcrumbs'.
12339 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
12341 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
12342 Reported by monkey@sandpframing.com.
12344 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12346 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
12347 (tmm-get-keymap): Add key-binding shortcuts now that they're not
12348 available in the "keyseq cache" any more.
12350 * custom.el (defcustom): Add edebug spec.
12352 2010-04-18 Juri Linkov <juri@jurta.org>
12354 Test for special mode-class in view-buffer instead of view-file (bug#5513).
12356 * view.el (view-file, view-buffer): Move test for special mode-class
12357 from view-file to view-buffer.
12359 * tar-mode.el (tar-extract): Turn if's into one cond
12360 like in arc-mode.el.
12362 2010-04-18 Juri Linkov <juri@jurta.org>
12364 Add 7z archive format support (bug#5475).
12366 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
12367 (archive-7z-extract): New defcustom.
12368 (archive-find-type): Add magic string for 7z.
12369 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
12370 If `stderr-file' is non-nil, use `(t stderr-file)' for the
12371 `buffer' arg of `call-process'.
12372 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
12373 call the function `archive-7z-extract' with the variable
12374 `archive-7z-extract' let-bound to `archive-zip-extract'.
12375 (archive-7z-summarize, archive-7z-extract): New functions.
12377 * international/mule.el (auto-coding-alist):
12378 * files.el (auto-mode-alist): Add 7z file extension.
12380 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12382 * loadup.el: Setup hash-cons for pure data.
12384 Fix duplicate entries in cedet's loaddefs.el files.
12385 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
12386 Should make most file-local generated-autoload-file unnecessary.
12387 (print-readably): Silence warnings.
12388 (autoload-find-destination): Take load-name as an arg to make sure
12389 it's the same as the one that will be in the file.
12390 (autoload-generate-file-autoloads): Adjust to above changes.
12391 Try to make the dataflow a bit simpler.
12393 * cvs-status.el (cvs-refontify): Remove unused.
12395 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
12397 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
12399 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
12400 twos-complement mode.
12402 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
12404 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
12405 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
12406 (calc-inverse): Add "Option" to message, as appropriate.
12407 (calc-hyperbolic): Add "Option" to message, as appropriate.
12408 (calc-option, calc-is-option): New functions.
12410 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
12411 (calc-option-prefix-help): New function.
12413 * calc/calc-misc.el (calc-help): Add "Option" entry.
12415 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
12416 (calc-option-flag): New variable.
12417 (calc-do): Set `calc-option-flag to nil.
12418 (calc-set-mode-line): Add "Opt " as appropriate.
12420 2010-04-16 Juri Linkov <juri@jurta.org>
12422 Move scrolling commands from simple.el to window.el
12423 because their primitives are implemented in window.c.
12425 * simple.el (scroll-error-top-bottom)
12426 (scroll-up-command, scroll-down-command, scroll-up-line)
12427 (scroll-down-line, scroll-other-window-down)
12428 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12429 * window.el (scroll-error-top-bottom)
12430 (scroll-up-command, scroll-down-command, scroll-up-line)
12431 (scroll-down-line, scroll-other-window-down)
12432 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12433 Move from simple.el to window.el because their primitives are
12434 implemented in window.c.
12436 2010-04-16 Juri Linkov <juri@jurta.org>
12438 * isearch.el (isearch-lookup-scroll-key): Check both
12439 `isearch-scroll' and `scroll-command' properties.
12440 (scroll-up, scroll-down): Remove `isearch-scroll' property.
12442 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
12444 * simple.el (scroll-up-command, scroll-down-command)
12445 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
12447 2010-04-15 Juri Linkov <juri@jurta.org>
12449 * simple.el (scroll-up-command, scroll-down-command)
12450 (scroll-up-line, scroll-down-line): Put `scroll-command'
12451 property on the these symbols. Remove them from
12452 `scroll-preserve-screen-position-commands'.
12454 * mwheel.el (mwheel-scroll): Put `scroll-command' and
12455 `isearch-scroll' properties on the `mwheel-scroll' symbol.
12456 Remove it from `scroll-preserve-screen-position-commands'.
12458 * isearch.el (isearch-allow-scroll): Doc fix.
12460 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
12462 * net/tramp.el (tramp-error-with-buffer): Don't show the
12463 connection buffer when we are in completion mode.
12464 (tramp-file-name-handler): Catch the error for some operations
12465 when we are in completion mode. This gives the user the chance to
12466 correct the file name in the minibuffer.
12468 2010-04-15 Glenn Morris <rgm@gnu.org>
12470 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
12472 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
12474 Simplify by using `define-derived-mode'.
12475 * info.el (Info-mode):
12476 * calendar/todo-mode.el (todo-mode):
12477 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
12478 (gomoku-mode-map): Move initialization into declaration.
12480 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
12483 * ido.el (ido-file-name-all-completions-1):
12484 * minibuffer.el (minibuffer-completion-help):
12485 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
12487 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12489 * simple.el (non-essential): New var.
12491 Add a new field `location' to bookmarks for non-file bookmarks.
12492 * bookmark.el (bookmark-location): Use the new field, if present.
12493 (bookmark-insert-location): Undo last change, not needed any more.
12494 * man.el (Man-bookmark-make-record):
12495 * woman.el (woman-bookmark-make-record): Add `location' field.
12497 2010-04-14 Juri Linkov <juri@jurta.org>
12499 * simple.el (scroll-error-top-bottom): New defcustom.
12500 (scroll-up-command, scroll-down-command): Use it. Doc fix.
12502 * emulation/pc-select.el (pc-select-override-scroll-error):
12503 Obsolete in favor of `scroll-error-top-bottom'.
12505 2010-04-14 Juri Linkov <juri@jurta.org>
12507 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
12508 `scroll-up-command' and `M-v' to `scroll-down-command'.
12510 * emulation/cua-rect.el (cua--init-rectangles):
12511 * forms.el (forms--change-commands):
12512 * image-mode.el (image-mode-map):
12513 Remap scroll-down-command and scroll-up-command
12514 in addition to scroll-down and scroll-up.
12516 2010-04-14 Juri Linkov <juri@jurta.org>
12518 * mwheel.el (scroll-preserve-screen-position-commands):
12519 Add mwheel-scroll to this list of commands.
12521 * simple.el (scroll-preserve-screen-position-commands):
12522 Add scroll-up-command, scroll-down-command, scroll-up-line,
12523 scroll-down-line to this list of commands.
12525 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12527 * obsolete/complete.el: Move from lisp/complete.el.
12529 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
12531 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
12532 to the minor mode function now turns the mode ON unconditionally.
12534 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12536 * vc-dir.el (vc-dir-kill-line): New command.
12537 (vc-dir-mode-map): Bind it to C-k.
12539 * bookmark.el (bookmark-insert-location): Handle a nil filename.
12541 * woman.el: Add bookmark declarations to silence the compiler.
12542 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
12543 step to compatibility between man and woman bookmarks.
12544 Adjust for Man-default-bookmark-title renaming.
12545 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
12547 * man.el: Add bookmark declarations to silence the compiler.
12548 (Man-name-local-regexp): Make it match NAME as well.
12549 (Man-getpage-in-background): Return the buffer.
12550 (Man-notify-when-ready): Use `case'.
12551 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
12552 Don't hardcode "NAME". Simplify.
12553 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
12554 Rename from Man-bookmark-make-record.
12555 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
12556 we have the actual man-args. Use Man-getpage-in-background rather
12557 than `man' since the arg is already processed. Let bookmark.el do the
12558 window handling. Only wait for the relevant process.
12559 Don't forget to autoload.
12561 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
12563 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12565 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
12567 (woman-mode): Setup bookmark support.
12569 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
12570 (man-bookmark-jump): New functions.
12571 (Man-mode): Setup bookmark support.
12573 2010-04-10 Jari Aalto <jari.aalto@cante.net>
12575 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
12576 recognize ssh-keygen prompt (Bug#2817).
12578 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12580 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
12582 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12584 Synchronize with Tramp repository.
12586 * net/tramp.el (tramp-completion-function-alist)
12587 (tramp-file-name-regexp, tramp-chunksize)
12588 (tramp-local-coding-commands, tramp-remote-coding-commands):
12590 (tramp-remote-process-environment): Use `format' instead of `concat'.
12591 (tramp-handle-directory-files-and-attributes)
12592 (tramp-get-remote-path): Use `copy-tree'.
12593 (tramp-handle-file-name-all-completions): Backward/ XEmacs
12594 compatibility: Use `completion-ignore-case' if
12595 `read-file-name-completion-ignore-case' does not exist.
12596 (tramp-do-copy-or-rename-file-directly): Do not use
12597 `tramp-handle-file-remote-p'.
12598 (tramp-do-copy-or-rename-file-out-of-band):
12599 Use `tramp-compat-delete-directory'.
12600 (tramp-do-copy-or-rename-file-out-of-band)
12601 (tramp-compute-multi-hops, tramp-maybe-open-connection):
12602 Use `format-spec-make'.
12603 (tramp-find-foreign-file-name-handler)
12604 (tramp-advice-make-auto-save-file-name)
12605 (tramp-set-auto-save-file-modes): Remove superfluous check for
12606 `stringp'. This is done inside `tramp-tramp-file-p'.
12607 (tramp-debug-outline-regexp): New defconst.
12608 (tramp-get-debug-buffer): Use it.
12609 (tramp-check-for-regexp): Use (forward-line 1).
12610 (tramp-set-auto-save-file-modes): Adapt version check.
12612 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
12613 Wrap call of `featurep' for 2nd argument.
12614 (tramp-compat-make-temp-file): Simplify fallback implementation.
12615 (tramp-compat-copy-tree): Remove function.
12616 (tramp-compat-delete-directory): Provide implementation for older
12619 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
12620 Do not use `tramp-fish-handle-file-attributes.
12622 * net/trampver.el: Update release number.
12624 2010-04-10 Glenn Morris <rgm@gnu.org>
12626 * progmodes/compile.el (compilation-save-buffers-predicate):
12627 Add missing :version tag.
12629 2010-04-09 Sam Steingold <sds@gnu.org>
12631 * progmodes/compile.el (compilation-save-buffers-predicate):
12632 Remove the "autoload" cookie.
12634 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
12635 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
12636 and `bug-reference-prog-mode' can be used in hooks directly.
12638 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
12640 Add --author support to git commit.
12641 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
12642 (vc-git-log-edit-mode): New minor mode.
12643 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
12646 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
12648 * vc-hooks.el, vc-git.el: Improve documentation comments.
12650 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12652 Fix some of the problems in defsubst* (bug#5728).
12653 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
12654 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
12656 2010-04-07 Sam Steingold <sds@gnu.org>
12658 * progmodes/compile.el (compilation-save-buffers-predicate):
12659 New custom variable.
12660 (compile, recompile): Pass it to `save-some-buffers'.
12662 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
12664 * wid-edit.el (widget-choose): Move cursor to the second line of
12665 the buffer (Bug#5695).
12667 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12669 Add new VC methods: vc-log-incoming and vc-log-outgoing.
12670 * vc.el (vc-print-log-setup-buttons): New function split out from
12671 vc-print-log-internal.
12672 (vc-log-internal-common): New function, a parametrized version of
12673 vc-print-log-internal.
12674 (vc-print-log-internal): Just call vc-log-internal-common with the
12676 (vc-incoming-outgoing-internal):
12677 (vc-log-incoming, vc-log-outgoing): New functions.
12678 (vc-log-view-type): New permanent local variable.
12680 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
12682 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
12683 of the dynamic bound vc-short-log.
12684 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
12686 * vc-git.el (vc-git-log-outgoing): New function.
12687 (vc-git-log-view-mode): Use vc-log-view-type instead
12688 of the dynamic bound vc-short-log.
12690 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
12691 of the dynamic bound vc-short-log. Highlight the tag.
12692 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
12693 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
12694 (vc-hg-incoming-mode): Remove.
12695 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
12697 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12699 Fix default-directory for vc-root-diff.
12700 * vc.el (vc-root-diff): Bind default-directory to the root
12701 directory for the diff command.
12703 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
12705 * progmodes/verilog-mode.el (verilog-forward-sexp):
12706 (verilog-calc-1): Support "disable fork" and "fork wait" multi
12707 word keywords, suggested by Steve Pearlmutter.
12708 (verilog-pretty-declarations): Support lineup of declarations in
12710 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12711 fix bug for /* / comments.
12712 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12713 Speed up and simplfy as this is never called with a bound.
12714 (verilog-pretty-declarations): Enhance to line up declarations
12715 inside a parameter list, suggested by Alan Morgan.
12716 (verilog-pretty-expr): Tune assignment regular expression match
12717 string for corner cases; also use markers instead of character
12718 number as indent changes the later.
12720 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
12722 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12723 as missing keyword.
12724 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12725 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
12726 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12727 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
12729 (verilog-keywords):
12730 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12731 1800-2009 keywords, including "global.".
12733 2010-04-06 John Wiegley <jwiegley@gmail.com>
12735 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12736 appearing in buffer list (if a live buffer name matched a recentf
12737 file basename). Should use uniquify to offer a real solution.
12739 2010-04-06 John Wiegley <jwiegley@gmail.com>
12741 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12742 comment to code, and add a :version tag.
12743 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12745 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
12747 Enable recentf-mode if using virtual buffers.
12748 * ido.el (recentf-list): Declare for byte-compiler.
12749 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
12750 (ido-make-buffer-list): Simplify.
12751 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
12753 2010-04-05 Juri Linkov <juri@jurta.org>
12755 Scrolling commands which scroll a line instead of full screen.
12756 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12758 * simple.el (scroll-up-line, scroll-down-line): New commands.
12759 Put property isearch-scroll=t on them.
12761 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12764 2010-04-05 Juri Linkov <juri@jurta.org>
12766 Scrolling commands which do not signal errors at top/bottom.
12767 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12769 * simple.el (scroll-up-command, scroll-down-command): New commands.
12770 Put property isearch-scroll=t on them.
12772 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12773 `scroll-down-command' and [next] from `scroll-up' to
12774 `scroll-up-command'.
12776 * emulation/cua-base.el: Put property CUA=move on
12777 `scroll-up-command' and `scroll-down-command'.
12778 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12779 and `scroll-down-command' to `cua-scroll-down'.
12781 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
12783 * help.el (describe-mode): Return nil.
12785 2010-04-04 John Wiegley <jwiegley@gmail.com>
12787 * ido.el (ido-use-virtual-buffers): New variable to indicate
12788 whether "virtual buffer" support is enabled for IDO.
12789 (ido-virtual): Face used to indicate virtual buffers in the list.
12790 (ido-buffer-internal): If a buffer is chosen, and no such buffer
12791 exists, but a virtual buffer of that name does (which would be why
12792 it was in the list), recreate the buffer by reopening the file.
12793 (ido-make-buffer-list): If virtual buffers are being used, call
12794 `ido-add-virtual-buffers-to-list' before the make list hook.
12795 (ido-virtual-buffers): New variable which contains a copy of the
12796 current contents of the `recentf-list', albeit pared down for the
12797 sake of speed, and with proper faces applied.
12798 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12799 create a list of "virtual buffers" to present to the user in
12800 addition to the currently open set. Note that this logic could
12801 get rather slow if that list is too large. With the default
12802 `recentf-max-saved-items' of 200, there is little speed penalty.
12804 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
12806 * font-lock.el: Require CL when compiling.
12807 (font-lock-turn-on-thing-lock): Use `case'.
12809 2010-04-03 Eli Zaretskii <eliz@gnu.org>
12811 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12814 2010-04-02 Juri Linkov <juri@jurta.org>
12816 * ehelp.el (electric-help-orig-major-mode):
12817 New buffer-local variable.
12818 (electric-help-mode): Set it to original major-mode. Doc fix.
12819 (with-electric-help): Use `electric-help-orig-major-mode' instead
12820 of (default-value 'major-mode). Doc fix.
12821 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12823 2010-04-02 Sam Steingold <sds@gnu.org>
12825 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12826 `vc-hg-command' with a list of flags.
12828 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12829 Also accept "patch" and "RFE".
12830 (bug-reference-fontify): `bug-reference-url-format' can also be a
12831 function to be able to handle the bug kind.
12832 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12834 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
12836 * tmm.el (tmm-get-keymap): Check with symbolp before passing
12837 value to fboundp, it may not be a symbol.
12839 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12841 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12843 2010-03-31 Juri Linkov <juri@jurta.org>
12845 * simple.el (next-line, previous-line): Re-throw a signal
12846 with `signal' instead of using `ding'.
12847 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12849 2010-03-31 Juri Linkov <juri@jurta.org>
12851 * simple.el (keyboard-escape-quit): Raise deselecting the active
12852 region higher than exiting the minibuffer.
12853 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12855 2010-03-31 Juri Linkov <juri@jurta.org>
12857 * image.el (image-animated-p): Use `image-metadata' instead of
12858 `image-extension-data'. Get GIF extenstion data from metadata
12859 property `extension-data'.
12861 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12863 * simple.el (append-to-buffer): Simplify.
12865 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
12867 * textmodes/artist.el (artist-mode): Fix typo in docstring.
12868 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
12870 2010-03-31 Kenichi Handa <handa@m17n.org>
12872 * language/sinhala.el (composition-function-table): Fix regexp for
12873 the new Unicode specification.
12875 * language/indian.el (devanagari-composable-pattern)
12876 (tamil-composable-pattern, kannada-composable-pattern)
12877 (malayalam-composable-pattern): Adjust for the new Unicode
12879 (bengali-composable-pattern, gurmukhi-composable-pattern)
12880 (gujarati-composable-pattern, oriya-composable-pattern)
12881 (telugu-composable-pattern): New variables to cope with the new
12882 Unicode specification. Use them in composition-function-table.
12884 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12886 Make tmm-menubar work for the Buffers menu again (bug#5726).
12887 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12888 vectors rather than cons cells, as used in menu-bar-update-buffers.
12890 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12892 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12893 (js-insert-and-indent): Revert 2009-08-15 change, restoring
12894 electric punctuation for "{}();,:" (Bug#5586).
12896 * mail/sendmail.el (mail-default-directory): Doc fix.
12898 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12900 * mail/sendmail.el (mail-default-directory): Doc fix.
12902 2010-03-31 Eli Zaretskii <eliz@gnu.org>
12904 * subr.el (version-regexp-alist, version-to-list)
12905 (version-list-<, version-list-=, version-list-<=)
12906 (version-list-not-zero, version<, version<=, version=): Doc fix.
12909 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
12911 * vc.el (vc-root-diff): Doc fix.
12913 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12915 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12917 * simple.el (append-to-buffer): Fix last change.
12919 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12921 * simple.el (append-to-buffer): Ensure that point is preserved if
12922 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
12925 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12927 * files.el (auto-mode-case-fold): Change default to t.
12929 2010-03-30 Juri Linkov <juri@jurta.org>
12931 * dired-x.el (dired-omit-mode): Doc fix.
12933 2010-03-30 Juri Linkov <juri@jurta.org>
12935 * replace.el (occur-accumulate-lines): Move occur-engine related
12936 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
12937 to be located after `occur-engine'.
12939 2010-03-30 Juri Linkov <juri@jurta.org>
12941 Make occur handle multi-line matches cleanly with context.
12942 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
12944 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
12945 (occur-engine): Add local variables `ret', `prev-after-lines',
12946 `prev-lines'. Use more arguments for `occur-context-lines'.
12947 Set first elem of its returned list to `data', and the second elem
12948 to `prev-after-lines'. Don't print the separator line.
12949 In the end, print remaining context after-lines.
12950 (occur-context-lines): Add new arguments `begpt', `endpt',
12951 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
12952 after-lines of the previous match with before-lines of the
12953 current match and not overlap them. Return a list with two
12954 values: the output line and the list of context after-lines.
12956 2010-03-30 Juri Linkov <juri@jurta.org>
12958 * replace.el (occur-accumulate-lines): Fix a bug where the first
12959 context line at the beginning of the buffer was missing.
12961 2010-03-30 Eli Zaretskii <eliz@gnu.org>
12963 * files.el: Make bidi-display-reordering safe variable for boolean
12966 2010-03-29 Phil Hagelberg <phil@evri.com>
12967 Chong Yidong <cyd@stupidchicken.com>
12969 * subr.el: Extend progress reporters to perform "spinning".
12970 (progress-reporter-update, progress-reporter-do-update):
12971 Handle non-numeric value arguments.
12972 (progress-reporter--pulse-characters): New var.
12974 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
12976 * progmodes/compile.el (compilation-start): Fix regexp detection
12977 of initial cd command (Bug#5771).
12979 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
12981 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12983 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
12985 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
12986 * progmodes/gdb-mi.el: Restore.
12987 * progmodes/gdb-ui.el: Remove.
12988 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12990 2010-03-25 Glenn Morris <rgm@gnu.org>
12992 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12993 all dired buffers, even tramp ones. (Bug#5755)
12995 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12997 Add "union tags" in mpc.el.
12998 * mpc.el: Remove backward compatibility code.
12999 (mpc-browser-tags): Change default.
13000 (mpc--find-memoize-union-tags): New var.
13001 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
13002 (mpc-cmd-find): Handle the case where the playlist does not exist.
13004 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
13005 (mpc-cmd-add): Use mpc-cmd-flush.
13006 (mpc-tagbrowser-tag-name): New fun.
13007 (mpc-tagbrowser-buf): Use it.
13008 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
13010 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13013 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
13014 Use replace-regexp-in-string.
13015 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
13016 (makefile-imake-mode-syntax-table): Move init into defvar.
13017 (makefile-mode): Use define-derived-mode.
13019 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
13020 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
13021 not be present any more.
13023 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
13025 * faces.el (set-face-attribute): Fix typo in docstring.
13026 (face-valid-attribute-values): Reflow docstring.
13028 2010-03-24 Glenn Morris <rgm@gnu.org>
13030 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
13032 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
13034 * indent.el (indent-for-tab-command): Doc fix.
13036 2010-03-24 Alan Mackenzie <acm@muc.de>
13038 * progmodes/cc-engine.el (c-remove-stale-state-cache):
13039 Fix off-by-one error. Fixes bug #5747.
13041 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
13043 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
13044 (image-dired-read-comment): Doc fix.
13046 * json.el (json-object-type, json-array-type, json-key-type)
13047 (json-false, json-null, json-read-number):
13048 * minibuffer.el (completion-in-region-functions):
13049 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
13050 (cal-tex-cursor-week):
13051 * emacs-lisp/trace.el (trace-function):
13052 * eshell/em-basic.el (eshell/printnl):
13053 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
13054 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
13055 * obsolete/levents.el (allocate-event, event-key, event-object)
13056 (event-point, event-process, event-timestamp, event-to-character)
13057 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
13058 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
13059 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
13060 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
13061 (reftex-highlight-selection): Fix typos in docstrings.
13063 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
13065 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
13067 2010-03-24 Glenn Morris <rgm@gnu.org>
13069 * mail/rmail.el (rmail-highlight-face): Restore option deleted
13070 2008-02-13 without comment; mark it obsolete.
13071 (rmail-highlight-headers): Use rmail-highlight-face once more.
13073 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
13075 * woman.el (woman2-process-escapes): Only consume the newline if
13076 the filler character is on a line by itself (Bug#5729).
13078 2010-03-24 Kenichi Handa <handa@m17n.org>
13080 * language/indian.el (devanagari-composable-pattern): Add more
13083 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
13085 * net/trampver.el: Update release number.
13087 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
13089 * net/tramp.el (tramp-find-executable):
13090 Use `tramp-get-connection-buffer'. Make the regexp for checking
13091 output of "wc -l" more robust.
13092 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
13093 (tramp-open-connection-setup-interactive-shell): Remove workaround
13094 for OpenSolaris bug, it is not needed anymore.
13096 2010-03-24 Glenn Morris <rgm@gnu.org>
13098 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
13100 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
13102 * files.el (auto-mode-alist): Accept more verilog file patterns.
13104 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13106 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
13108 2010-03-24 Glenn Morris <rgm@gnu.org>
13110 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
13111 log-edit-before-checkin-process.
13113 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
13115 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
13117 * vc-dispatcher.el (vc-start-logentry): Doc fix.
13118 (log-view-process-buffer, log-edit-extra-flags): Declare.
13120 * log-edit.el (log-edit-before-checkin-process): Doc fix.
13122 2010-03-23 Sam Steingold <sds@gnu.org>
13124 Fix bug#5620: recalculate all markers on compilation buffer
13125 modifications, not on file modifications.
13126 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
13127 variable: the buffer modification time, for buffers not associated with
13129 (compilation-mode): Create it.
13130 (compilation-filter): Update it.
13131 (compilation-next-error-function): Use it instead of
13132 `visited-file-modtime' for timestamp.
13134 2010-03-23 Juri Linkov <juri@jurta.org>
13136 Implement Occur multi-line matches.
13137 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
13139 * replace.el (occur): Doc fix.
13140 (occur-engine): Set `begpt' to the beginning of the first line.
13141 Set `endpt' to the end of the last match line. At first, count
13142 line numbers between `origpt' and `begpt'. Split out code from
13143 `out-line' variable to new let-bindings `match-prefix' and
13144 `match-str'. In `out-line' add non-numeric prefix to all
13145 non-first lines of multi-line matches. Finally, count lines
13146 between `begpt' and `endpt' and add to `lines'.
13148 2010-03-23 Juri Linkov <juri@jurta.org>
13150 * replace.el (occur-accumulate-lines, occur-engine):
13151 Use `occur-engine-line' instead of duplicate code.
13152 (occur-engine-line): New function created from duplicate code
13153 in `occur-accumulate-lines' and `occur-engine'.
13155 * replace.el (occur-engine-line): Add optional arg `keep-props'.
13156 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
13158 2010-03-23 Juri Linkov <juri@jurta.org>
13160 * finder.el: Remove TODO tasks.
13162 * info.el (Info-finder-find-node): Add node "all"
13163 with all package info. Handle a list of multiple keywords
13164 separated by comma.
13165 (info-finder): In interactive use with a prefix argument,
13166 use `completing-read-multiple' to read a list of keywords
13167 separated by comma.
13169 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
13171 Add a new completion style `substring'.
13172 * minibuffer.el (completion-basic--pattern): New function.
13173 (completion-basic-try-completion, completion-basic-all-completions):
13175 (completion-substring--all-completions)
13176 (completion-substring-try-completion)
13177 (completion-substring-all-completions): New functions.
13178 (completion-styles-alist): New style `substring'.
13180 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
13182 Get rid of .elc files after removal of the corresponding .el.
13183 * Makefile.in (compile-clean): New target.
13184 (compile-main): Use it.
13186 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
13188 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
13189 don't do make there. When compiling with separate object dir, there
13190 is no Makefile there.
13192 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
13194 Get rid of the ELCFILES abomination, again.
13195 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13196 (all, compile): Don't call compile-last.
13197 (compile-main): Build the "elcfiles" list dynamically.
13198 (compile-targets): New (internal) target.
13200 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
13202 * Makefile.in (top_srcdir): Define.
13203 (abs_top_builddir): Define.
13204 (srcdir): Don't append `/..'.
13205 (EMACS): Use ${abs_top_builddir}.
13206 (all, compile, compile-always, compile-last): Don't set emacswd.
13207 (update-subdirs, update-authors): Use $(top_srcdir) instead of
13209 (lisp): Use $(srcdir) instead of @srcdir@.
13211 2010-03-21 Juri Linkov <juri@jurta.org>
13213 Fix message of multi-line occur regexps and multi-buffer header lines.
13214 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
13216 * replace.el (occur-1): Don't display regexp if it is longer
13217 than window-width. Use `query-replace-descr' to display regexp.
13218 (occur-engine): Don't display regexp in the buffer header for
13219 multi-buffer occur. Display a separate header line with total
13220 match count and regexp for multi-buffer occur.
13221 Use `query-replace-descr' to display regexp.
13223 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
13225 * net/secrets.el: Fix parenthesis.
13226 (secrets-enabled): Fix parenthesis.
13228 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13230 Use more relative file and directory names.
13231 * Makefile.in (EMACS): Arrange for it to work when we chdir.
13232 (setwins, setwins_almost, setwins_for_subdirs):
13233 Don't `cd'; output relative names.
13234 (all, compile, compile-always, compile-last): Set emacswd.
13235 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
13236 Just cd to the lisp source dir so we can use relative file names.
13238 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
13240 2010-03-20 Glenn Morris <rgm@gnu.org>
13242 * textmodes/rst.el: Use faces for font-lock customization, and make the
13243 old -face variables obsolete.
13244 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
13245 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
13246 (rst-block-face, rst-external-face, rst-definition-face)
13247 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
13248 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
13250 (rst-font-lock-keywords-function): Update for above changes.
13252 2010-03-20 Juri Linkov <juri@jurta.org>
13255 * obsolete/s-region.el: Move to obsolete.
13257 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
13259 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
13261 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
13263 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
13265 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
13267 Add special markup processing for commit logs.
13268 * log-edit.el (log-edit-extra-flags): New variable.
13269 (log-edit): Add new argument MODE. Use that mode when non-nil
13270 instead of the log-view-mode.
13271 (log-view-process-buffer): New function.
13273 * vc.el: Document that the checkin method takes optional
13274 arguments. Document new backend specific method: log-view-mode.
13275 (vc-default-log-edit-mode): New function.
13276 (vc-checkin): Use a backend specific log-view-mode.
13277 Pass extra arguments to the checkin method.
13278 (vc-modify-change-comment): Pass a dummy extra argument.
13280 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
13282 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
13283 (vc-finish-logentry): Process the log buffer before passing it
13284 down. Pass log-edit-extra-flags.
13286 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
13288 (log-edit-extra-flags, log-edit-before-checkin-process):
13291 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
13293 (log-edit-extra-flags, log-edit-before-checkin-process):
13295 (vc-hg-log-edit-mode): New derived mode.
13297 * vc-arch.el (vc-arch-checkin):
13298 * vc-cvs.el (vc-cvs-checkin):
13299 * vc-git.el (vc-git-checkin):
13300 * vc-mtn.el (vc-mtn-checkin):
13301 * vc-rcs.el (vc-rcs-checkin):
13302 * vc-sccs.el (vc-sccs-checkin):
13303 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
13305 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13307 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
13310 2010-03-19 Glenn Morris <rgm@gnu.org>
13312 * password-cache.el (password-cache, password-cache-expiry): Autoload.
13314 2010-03-18 Glenn Morris <rgm@gnu.org>
13316 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
13318 * replace.el (query-replace-history): Give it a doc string.
13319 (map-query-replace-regexp): Use query-replace-from-history-variable
13320 and query-replace-to-history-variable.
13322 * mail/hashcash.el (declare-function): Remove duplicate definition.
13324 * mail/emacsbug.el (report-emacs-bug-pretest-address):
13325 Make it an obsolete alias for report-emacs-bug-address.
13326 (message-strip-special-text-properties): Declare.
13327 (report-emacs-bug): Remove test for a pretest bug address.
13328 Combine message-mode-specific code.
13330 * mail/supercite.el: Don't require sendmail.
13331 (mh-in-header-p): Declare rather than using with-no-warnings.
13332 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
13333 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
13335 * calendar/cal-french.el: Convert to utf-8.
13337 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
13340 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
13342 * net/secrets.el (secrets-enabled): New variable. Use it instead
13345 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
13347 * net/secrets.el (top): Register the D-Bus signals only when the
13348 service "org.freedesktop.secrets" can be pinged.
13349 Provide subfeature `enabled'.
13351 2010-03-14 Juri Linkov <juri@jurta.org>
13353 Add finder unknown keywords.
13355 * finder.el (finder-unknown-keywords): New function.
13357 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
13358 to create a Finder node with unknown keywords.
13360 2010-03-14 Juri Linkov <juri@jurta.org>
13362 * finder.el (finder-compile-keywords): Replace `princ' with
13363 `prin1' on a list of symbols interned from keyword strings.
13365 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
13366 a comma, then split keywords using a comma and optional whitespace.
13367 Otherwise, split by whitespace.
13375 * progmodes/mixal-mode.el: Fix keywords.
13377 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
13379 * Makefile.in (ELCFILES): Add net/secrets.elc.
13381 * net/secrets.el: New file.
13383 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13385 * facemenu.el (list-colors-display, list-colors-print): New arg
13386 callback. Use it to allow selecting colors.
13388 * wid-edit.el (widget-image-insert): Insert image prop even if the
13389 current display is non-graphic.
13390 (widget-field-value-set): New fun.
13391 (editable-field): Use it.
13392 (widget-field-value-get): Clean up unused var.
13393 (widget-color-value-create, widget-color--choose-action):
13394 New funs. Allow using list-colors-display to choose color.
13396 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13398 * cus-edit.el: Resort topmost custom groups.
13399 (custom-buffer-sort-alphabetically): Default to t.
13400 (customize-apropos): Use apropos-parse-pattern.
13401 (custom-search-field): New var.
13402 (custom-buffer-create-internal): Add custom-apropos search field.
13403 (custom-add-parent-links): Don't display parent doc.
13404 (custom-group-value-create): Don't sort top-level custom group.
13405 (custom-magic-value-create): Show visibility button before option name.
13407 (custom-variable-state): New fun, from custom-variable-state-set.
13408 (custom-variable-state-set): Use it.
13409 (custom-group-value-create): Hide options with standard values
13410 using the :hidden-states property. Use progress reporter.
13412 (custom-show): Simplify.
13413 (custom-visibility): Disable images by default.
13414 (custom-variable): New property :hidden-states.
13415 (custom-variable-value-create): Enable images for
13416 custom-visibility widgets. Use :hidden-states property to
13417 determine initial visibility.
13419 * wid-edit.el (widget-image-find): Give images center ascent.
13420 (visibility): Add :on-image and :off-image properties.
13421 (widget-visibility-value-create): Use them.
13423 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13425 * cus-edit.el (processes): Remove from development group.
13426 (oop, hypermedia): Delete group.
13427 (comm): Promote to top-level group.
13429 * net/browse-url.el (browse-url):
13430 * net/xesam.el (xesam):
13431 * net/tramp.el (tramp):
13432 * net/goto-addr.el (goto-address):
13433 * net/ange-ftp.el (ange-ftp): Put in comm group.
13435 * view.el (view): Remove from editing group.
13437 * uniquify.el (uniquify): Put in files group.
13439 * net/browse-url.el (browse-url):
13440 * ps-print.el (postscript): Put in external group.
13442 * cus-edit.el (outlines):
13443 * textmodes/text-mode.el (text-mode-hook):
13444 * textmodes/table.el (table):
13445 * textmodes/picture.el (picture):
13446 * outline.el (outlines): Put in wp group.
13448 * nxml/nxml-mode.el (nxml): Remove from wp group.
13450 * net/tramp-imap.el (tramp-imap): Put in tramp group.
13452 * mail/metamail.el (metamail): Remove from hypermedia group.
13454 * cus-edit.el (abbrev):
13455 * whitespace.el (whitespace):
13456 * vcursor.el (vcursor):
13457 * reveal.el (reveal):
13458 * hl-line.el (hl-line): Put in convenience group.
13460 * epg-config.el (epg): Put in data group.
13462 * emulation/pc-select.el (pc-select): Put in emulations group.
13464 * calculator.el (calculator): Put in applications group.
13466 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13468 Add .dir-locals.el support for file-less buffers.
13469 * files.el (hack-local-variables): Split out code to apply local
13470 variable settings ...
13471 (hack-local-variables-apply): ... here. New function.
13472 (hack-dir-local-variables): Use the default directory for when the
13473 buffer does not have an associated file.
13474 (hack-dir-local-variables-non-file-buffer): New function.
13475 * diff-mode.el (diff-mode):
13476 * vc-annotate.el (vc-annotate-mode):
13477 * vc-dir.el (vc-dir-mode):
13478 * log-edit.el (log-edit-mode):
13479 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
13481 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13483 Add support for shelving snapshots and for showing shelves.
13484 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
13485 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
13487 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13488 (vc-bzr-extra-menu-map): Map them.
13490 2010-03-11 Glenn Morris <rgm@gnu.org>
13492 * cus-edit.el (customize-changed-options-previous-release):
13495 * image.el (image-animate-max-time): Fix :version tag.
13497 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
13501 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
13503 * vc-git.el (vc-git-revision-table): Include remote branches.
13505 2010-03-10 Kim F. Storm <storm@cua.dk>
13507 Animated image API.
13508 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
13510 * image.el (image-animate-max-time): New defcustom.
13511 (image-animated-types): New defconst.
13512 (create-animated-image, image-animate-timer)
13513 (image-animate-start, image-animate-stop, image-animate-timeout)
13514 (image-animated-p): New functions.
13516 * image-mode.el (image-toggle-display-image):
13517 Replace `create-image' with `create-animated-image'.
13519 2010-03-09 Miles Bader <miles@gnu.org>
13521 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
13522 instead of "format:"; this ensures that the output is
13523 newline-terminated.
13525 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
13527 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
13528 that all errors are caught, and that the return value is always a
13531 2010-03-08 Kenichi Handa <handa@m17n.org>
13533 * language/misc-lang.el (windows-1256): New coding system.
13534 (cp1256): New alias of windows-1256 (bug#5690).
13536 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
13538 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
13539 call to rfc822-bad-address. (Bug#5692)
13541 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
13543 * vc-git.el (vc-git-annotate-extract-revision-at-line):
13544 Use vc-git-root as default directory for revision path (Bug#5657).
13546 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
13548 * calculator.el (calculator): Don't bind split-window-keep-point
13551 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
13553 * vc-git.el: Re-flow to fit into 80 columns.
13554 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
13555 Remove spurious `quote' element in each case alternative.
13556 (vc-git-show-log-entry): Use prog1.
13557 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
13559 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
13561 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
13563 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
13565 * macros.el (insert-kbd-macro): Look up keyboard macro using the
13566 definition, not the name (Bug#5481).
13568 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
13570 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
13571 argument with a local variable. (Bug#5670)
13573 2010-03-02 Juri Linkov <juri@jurta.org>
13575 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
13577 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
13579 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
13580 error when FILENAME and NEWNAME are existing remote directories.
13582 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
13583 parameter DIR-FLAG.
13585 2010-03-02 Glenn Morris <rgm@gnu.org>
13587 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
13588 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
13590 2010-03-01 Kenichi Handa <handa@m17n.org>
13592 * language/burmese.el (burmese-composable-pattern): Rename from
13593 myanmar-composable-pattern.
13595 * international/characters.el (script-list):
13596 * international/fontset.el (script-representative-chars):
13597 Change myanmar to burmese.
13598 (otf-script-alist): Likewise.
13599 (setup-default-fontset): Likewise. Re-fix :otf spec.
13601 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
13603 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
13605 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
13607 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
13609 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13611 * net/tramp.el (tramp-handle-write-region): START can be a string.
13612 Take care in the checks. Reported by Dan Davison
13613 <davison@stats.ox.ac.uk>.
13615 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13617 * net/dbus.el (dbus-introspect, dbus-get-property)
13618 (dbus-set-property, dbus-get-all-properties):
13619 Use `dbus-call-method' when noninteractive. (Bug#5645)
13621 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
13623 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
13624 * emacs-lisp/elint.el (elint-add-required-env):
13625 * calendar/icalendar.el (icalendar--add-diary-entry):
13626 * calc/calcalg2.el (math-tracing-integral):
13627 * files.el (recover-session-finish): Use with-current-buffer
13628 instead of save-excursion.
13630 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
13632 Fix in-buffer completion when after-change-functions modify the buffer.
13633 * minibuffer.el (completion--replace): New function.
13634 (completion--do-completion): Use it and use relative movement.
13636 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
13638 * international/fontset.el (setup-default-fontset): Fix :otf spec.
13640 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
13642 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
13643 Allow the characters _<> in the stack entry (Bug#5653).
13645 2010-02-26 Kenichi Handa <handa@m17n.org>
13647 * language/burmese.el: Fix entries in composition-function-table.
13648 (myanmar-composable-pattern): New variable.
13650 * international/fontset.el (setup-default-fontset): Add an entry
13653 * international/characters.el (script-list): Add Myanmar
13656 2010-02-26 Glenn Morris <rgm@gnu.org>
13658 * custom.el (custom-initialize-delay): Doc fix.
13660 * mail/sendmail.el (send-mail-function): Autoload the call
13661 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
13663 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
13665 * files.el (hack-local-variables-filter): For eval forms, also
13666 check safe-local-variable-p (Bug#5636).
13668 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
13670 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
13671 setting the modes by `ignore-errors'. It might fail, for example
13672 if the file is not owned by the user but the group.
13673 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
13675 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
13677 * files.el (directory-listing-before-filename-regexp):
13678 Use stricter matching for iso-style dates, to avoid false matches with
13679 date-like filenames (Bug#5597).
13681 * htmlfontify.el (htmlfontify): Doc fix.
13683 * eshell/eshell.el (eshell): Doc fix.
13685 * startup.el (fancy-about-screen): In mode-line, apply
13686 mode-line-buffer-id face only to the buffer name (Bug#5613).
13688 2010-02-20 Kevin Ryde <user42@zip.com.au>
13690 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13691 In `watcom' anchor regexp to start of line, to avoid slowness
13694 2010-02-20 Eli Zaretskii <eliz@gnu.org>
13696 * subr.el (remove-yank-excluded-properties): Explain in a comment
13697 why `category' property is removed.
13699 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
13701 * isearch.el (isearch-update-post-hook, isearch-update):
13702 Revert 2010-02-17 change.
13704 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
13706 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
13707 (icalendar--convert-weekly-to-ical)
13708 (icalendar--convert-yearly-to-ical)
13709 (icalendar--convert-block-to-ical)
13710 (icalendar--convert-cyclic-to-ical)
13711 (icalendar--convert-anniversary-to-ical): Take care of time
13712 specifications where hour has 1-digit only (Bug#5549).
13714 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
13716 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13717 of disassemble output in GDB 7.1.
13719 2010-02-19 Glenn Morris <rgm@gnu.org>
13721 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13722 property. (Bug#5593)
13724 2010-02-18 Sam Steingold <sds@gnu.org>
13726 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13728 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
13730 Use abbreviated file names in bookmarks (bug#5591).
13731 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13732 calls to expand-file-name.
13733 (bookmark-relocate): Use abbreviated file names in bookmarks.
13734 (bookmark-load): Use abbreviated file names in messages.
13736 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13738 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13739 expand "." and "..". Reported by Thierry Volpiatto
13740 <thierry.volpiatto@gmail.com>.
13742 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13744 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13745 permissions of the temporary file to "0600". In case the remote
13746 file has no read permissions for the owner, there might be
13747 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
13749 22010-02-18 Glenn Morris <rgm@gnu.org>
13751 * emacs-lisp/authors.el (authors-renamed-files-alist):
13752 Add entries for INSTALL.CVS.
13754 2010-02-17 Mark A. Hershberger <mah@everybody.org>
13756 * vc-bzr.el: Fix typo in Known Bugs section.
13758 * isearch.el (isearch-update-post-hook): New hook.
13759 (isearch-update): Use the new hook.
13761 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
13763 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13764 Fix errors in copying directories.
13765 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13766 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13767 (tramp-handle-delete-file)
13768 (tramp-handle-dired-recursive-delete-directory)
13769 (tramp-handle-write-region): Flush also the cache for the upper
13772 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
13774 * simple.el (save-interprogram-paste-before-kill): Doc fix.
13776 * cus-edit.el (hardware): Doc fix.
13778 * man.el (man): Add to external custom group.
13780 * delim-col.el (columns): Move to wp custom group.
13782 * doc-view.el (doc-view): Add to data custom group.
13784 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13786 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13787 by ispell-parse-output (Bug#5575).
13789 2010-02-16 Kenichi Handa <handa@m17n.org>
13791 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13792 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13793 (skkdic-convert): Use `euc-japan' coding system for writing.
13795 2010-02-16 Glenn Morris <rgm@gnu.org>
13797 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13798 tex-main-file before using it. (Bug#5562)
13800 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
13802 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13803 warnings, since it is annoying for the user to see them each time he
13806 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
13808 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13809 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13810 instead of PROC for caching "first-password-request". Otherwise,
13811 new processes would not profit from passwords already entered.
13813 * net/tramp-cache.el (tramp-dump-connection-properties):
13814 Don't save "first-password-request" property.
13816 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
13818 * outline.el (outline-head-from-level):
13819 * simple.el (with-wrapper-hook):
13820 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13821 (elint-defun, elint-buffer-env, elint-top-form-logged)
13822 (elint-unbound-variable):
13823 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13824 Fix typos in docstrings.
13826 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
13828 * files.el (insert-directory): When WILDCARD-REGEXP and
13829 FULL-DIRECTORY-P are nil, insert the file entry instead of the
13830 whole directory. (Bug#5551)
13832 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
13833 dired's alignment sanity. (Bug#5516)
13835 2010-02-14 Juri Linkov <juri@jurta.org>
13837 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13838 Remove remaining ^H with their preceding chars. (Bug#5566)
13840 2010-02-13 Glenn Morris <rgm@gnu.org>
13842 * simple.el (transpose-subr): Give it a doc-string.
13844 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13847 2010-02-12 Juri Linkov <juri@jurta.org>
13849 * arc-mode.el (archive-unique-fname): Make directories for nested
13850 archives. (Bug#5540)
13852 2010-02-12 Juri Linkov <juri@jurta.org>
13854 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
13856 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
13858 * subr.el (copy-overlay): Handle deleted overlays.
13860 * man.el (Man-completion-table): Don't signal an error if we can't run
13861 manual-program (bug#4056).
13863 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
13865 * textmodes/artist.el (artist-mt): Fix typos in docstring.
13867 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13869 * info.el (Info-bookmark-jump): Simplify.
13871 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13872 (bookmark-default-handler): Accept new bookmark field `buffer'.
13874 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
13876 * iswitchb.el (iswitchb-completions): Revert last change.
13878 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
13880 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13881 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13882 This prevents file names like "~/" being listed literally.
13884 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
13886 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13887 Remove dead code. (Bug#5546)
13889 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
13891 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13892 correctly (Bug#5548).
13894 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
13896 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13897 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13899 2010-02-08 Kenichi Handa <handa@m17n.org>
13901 * international/mule-util.el (with-coding-priority): Add autoload
13902 cookie for putting `lisp-indent-function'.
13904 2010-02-07 Glenn Morris <rgm@gnu.org>
13906 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13907 Move F2003 named interfaces from keywords-2 to keywords-1, and
13908 use function-name-face rather than constant-face.
13909 Simplify "abstract interface" regexp.
13911 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
13913 * eshell/esh-util.el (eshell-file-attributes): New optional arg
13914 ID-FORMAT. Pass it to `file-attributes'.
13916 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13918 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
13920 * faces.el (set-face-attribute): Allow calling
13921 internal-set-lisp-face-attribute with 'unspecified family and
13922 foundry argument (Bug#5536).
13924 2010-02-07 Glenn Morris <rgm@gnu.org>
13926 * progmodes/f90.el (f90-font-lock-keywords-2)
13927 (f90-looking-at-type-like, f90-looking-at-program-block-end):
13928 Handle F2003 named interfaces.
13930 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
13932 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
13933 beg and end before calling c-get-state-before-change-functions.
13935 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
13937 * vc-bzr.el (vc-bzr-dir-extra-headers):
13938 Disable the pending merges header.
13940 2010-02-05 Juri Linkov <juri@jurta.org>
13942 * doc-view.el (doc-view-mode):
13943 * image-mode.el (image-mode): Put property mode-class=special.
13946 2010-02-05 Mark A. Hershberger <mah@everybody.org>
13948 * vc-svn.el (vc-svn-revision-table): New function.
13950 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
13952 * net/ange-ftp.el (ange-ftp-insert-directory):
13953 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13954 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13955 Handle also directories. (Bug#5478)
13957 2010-02-05 Glenn Morris <rgm@gnu.org>
13959 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
13961 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
13963 * startup.el (command-line-1): Convert options beginning with a
13964 single dash as well (Bug#5519).
13966 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
13968 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
13969 * minibuffer.el (completion-initials-expand): Only check the presence
13970 of delims *within* the boundaries, since otherwise the / delim is
13971 always found for files.
13973 Fix up various corner case problems.
13974 * doc-view.el (doc-view-last-page-number): New function.
13975 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
13976 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
13977 (doc-view-kill-proc): Avoid inf-loop in freak cases.
13978 (doc-view-reconvert-doc): Use the new recursive delete-directory.
13979 (doc-view-convert-current-doc): Don't create the resolution.el file
13981 (doc-view-pdf/ps->png): Do it here instead.
13982 (doc-view-already-converted-p): Check that resolution.el is present.
13983 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13984 windows that are not yet showing images.
13986 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
13988 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13989 `dired-uncache' for every elemnt which is an absolute file name.
13991 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13992 directory, handle its directory component.
13993 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13994 function is called permanently and creates noise, otherwise.
13996 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13997 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13998 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
14000 2010-02-04 David Burger <dburger@google.com> (tiny change)
14002 * macros.el (apply-macro-to-region-lines):
14003 Minor simplification. (Bug#5485)
14005 2010-02-04 Glenn Morris <rgm@gnu.org>
14007 * mail/rmail.el (rmail-show-message-1): Handle malformed
14008 quoted-printable text. (Bug#5441)
14010 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
14012 * simple.el (visual-line-mode): Capitalize lighter.
14014 2010-02-03 John Wiegley <jwiegley@gmail.com>
14016 * iswitchb.el (iswitchb-completions): Add bookmark files to the
14017 list of files considered for "virtual buffer" completions.
14019 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
14021 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
14022 also in case of (and (not full) (not wildcard)). This is needed
14023 when dired is called with a list of files, which are not in
14024 `default-directory'. (Bug#5478)
14026 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
14028 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
14030 2010-02-02 Juri Linkov <juri@jurta.org>
14032 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
14033 from unidiff to allow function-line after @@.
14035 2010-02-02 Juri Linkov <juri@jurta.org>
14037 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
14038 '(RCS SCCS) with inverted condition.
14040 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
14042 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
14045 2010-02-01 Juri Linkov <juri@jurta.org>
14047 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
14048 compare with "pkunzip" and "pkzip" instead of only "pkzip".
14049 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
14050 only when (car archive-zip-extract) is "unzip". (Bug#5475)
14052 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
14054 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
14055 (doc-view-revert-buffer): New command.
14056 (doc-view-mode-map): Use it.
14058 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
14060 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
14061 pending merge is detected.
14063 2010-01-31 Juri Linkov <juri@jurta.org>
14065 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
14066 beginning of interactive spec like all other grep commands do.
14067 Put "all" in front of "gz". (Bug#5260)
14069 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
14071 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
14073 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
14075 * dirtrack.el (dirtrack): Warn instead of signalling error if the
14076 regexp is incorrect (Bug#5476).
14078 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
14080 * net/tramp.el (tramp-handle-insert-directory): Handle also
14081 symlinks, when FILENAME is not in `default-directory'.
14083 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
14085 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
14086 FILE is not in `default-directory'. (Bug#5478)
14088 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
14089 of SWITCHES. Handle the case, FILENAME is not in
14090 `default-directory'. (Bug#5478)
14091 (tramp-register-file-name-handlers): Add safe-magic property.
14093 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
14095 * arc-mode.el (archive-zip-extract): Quote the argument passed to
14098 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
14100 * progmodes/flymake.el (flymake-allowed-file-name-masks)
14101 (flymake-master-make-header-init): Add other C++ filename masks.
14102 (flymake-find-possible-master-files)
14103 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
14105 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
14107 Fix some busybox annoyances.
14109 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
14110 not responding." string.
14111 (tramp-open-connection-setup-interactive-shell): Dump stty
14112 settings. Enable "neveropen" arg for all `tramp-send-command'
14113 calls. Handle "=" in variable values properly.
14114 (tramp-find-inline-encoding): Raise an error, when no encoding is
14116 (tramp-wait-for-output): Check, whether PROC buffer is available.
14117 Remove spurious " ^H" sequences, sent by busybox.
14118 (tramp-get-ls-command): Suppress coloring, if possible.
14120 2010-01-28 Glenn Morris <rgm@gnu.org>
14122 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
14124 * log-edit.el (log-edit-strip-single-file-name): Add missing
14125 :safe, :group, and :version tags.
14127 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
14129 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
14130 buffers. (Bug#5477)
14132 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
14134 * files.el (delete-directory): Handle moving to trash without
14135 first doing recursion (Bug#5436).
14137 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
14139 * vc-hooks.el (vc-path): Mark as obsolete.
14141 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
14143 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
14146 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
14148 (vc-bzr-log-view-mode): Adjust regexp for the above change.
14150 2010-01-25 Mark A. Hershberger <mah@everybody.org>
14152 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
14154 * vc-bzr.el (vc-bzr-revision-table): New function.
14156 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
14158 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
14159 diff-index command. This requires at least git-1.5.5. (Bug#1589).
14161 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
14163 Remove support for adding --signoff on commit.
14164 Future support will use an incompatible generic mechanism.
14165 * vc-git.el (vc-git-add-signoff): Remove variable.
14166 (vc-git-toggle-signoff): Remove function.
14167 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
14169 * term/xterm.el (xterm-maybe-set-dark-background-mode):
14170 Rename from xterm-set-background-mode. Return t if the background mode
14172 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
14173 earlier, call it again in case the background mode has changed.
14175 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
14177 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
14180 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
14182 * emacs-lisp/assoc.el (aelement): Doc fix.
14183 (aput, adelete, amake): Use lexical-let (Bug#5450).
14185 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
14187 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
14188 is the same as subprogram call, not declaration. (Bug#5435).
14190 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
14192 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
14193 (tramp-smb-maybe-open-connection): Use it.
14195 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
14197 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
14199 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
14201 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
14202 just because we see "encoding: 8bit".
14203 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
14205 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
14207 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
14209 2010-01-22 Eli Zaretskii <eliz@gnu.org>
14211 * jka-compr.el (jka-compr-load): If load-file is not in
14212 load-history, try its file-truename version. (bug#5447)
14214 2010-01-21 Alan Mackenzie <acm@muc.de>
14216 Fix a situation where deletion of a cpp construct throws an error.
14217 * progmodes/cc-engine.el (c-invalidate-state-cache):
14218 Before invoking c-with-all-but-one-cpps-commented-out, check that the
14219 special cpp construct is still in the buffer.
14220 (c-parse-state): Record the special cpp with markers, not numbers.
14222 2010-01-21 Kenichi Handa <handa@m17n.org>
14224 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
14225 process last-command-event, as it is now decoded first (Bug#5380).
14227 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
14229 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
14231 2010-01-20 Glenn Morris <rgm@gnu.org>
14233 * indent.el (tab-always-indent): Fix custom-type.
14235 2010-01-19 Alan Mackenzie <acm@muc.de>
14237 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
14238 buffer throws "args out of range".
14239 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
14240 playing the role of delimiter.
14242 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
14244 * progmodes/ada-mode.el: Fix bug#5400.
14245 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
14246 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
14247 changed. Delete RECURSIVE parameter; never used. Improve doc string.
14248 Improve comments in "is" portion. Handle null procedure declaration.
14249 (ada-move-to-end): Improve doc string.
14251 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
14253 * ido.el (ido-cur-list): Initialize to nil.
14254 Remove obsolete information from commentary.
14255 (ido-choice-list): Initialize to nil.
14256 (ido-get-bufname): Reject minibuffers.
14257 (ido-make-buffer-list): If "default" is a nonexistent
14258 buffer, ignore it, as per the function's comment.
14259 (ido-kill-buffer-internal): New function.
14260 (ido-kill-buffer-at-head): Use it.
14261 (ido-visit-buffer): Likewise.
14263 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
14265 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
14267 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
14269 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
14270 Fix typos in chart titles.
14272 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
14273 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
14274 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
14275 (describe-class, eieio-describe-generic, describe-generic):
14276 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
14277 (eieio-speedbar-expand):
14278 * emulation/viper-cmd.el (viper-exec-form-in-vi)
14279 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
14280 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
14281 (viper-del-backward-char-in-replace, viper-backward-indent)
14282 (viper-brac-function, viper-register-to-point, viper-submit-report):
14283 * net/tramp.el (tramp-remote-coding-commands):
14284 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
14285 Fix typos in docstrings.
14287 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
14289 * mail/sendmail.el (mail-yank-original): Set the mark if the
14290 specified function for yanking does not do it.
14292 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
14294 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
14296 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
14297 resyncing a directory.
14299 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
14301 * progmodes/ada-mode.el: Fix bug#1920.
14302 (ada-ident-re): Delete ., allow multibyte characters.
14303 (ada-goto-label-re): New; matches goto labels.
14304 (ada-block-label-re): New; matches block labels.
14305 (ada-label-re): New; matches both.
14306 (ada-named-block-re): Delete; callers changed to use
14307 `ada-block-label-re' instead.
14308 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
14309 Use `ada-block-label-re'.
14310 (ada-indent-on-previous-lines): Improve handling of goto labels.
14311 (ada-get-indent-block-start): Special-case block label.
14312 (ada-get-indent-label): Split into `ada-indent-block-label' and
14313 `ada-indent-goto-label'.
14314 (ada-goto-stmt-start, ada-goto-next-non-ws):
14315 Optionally ignore goto labels.
14316 (ada-goto-next-word): Simplify.
14317 (ada-indent-newline-indent-conditional): Insert newline before
14318 trying to fix indentation; doc fix.
14320 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
14322 * calc/calc.el (calc-command-flags): Give it an initial value.
14324 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
14326 * files.el (minibuffer-with-setup-hook):
14327 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
14328 (artist-key-draw-continously, artist-key-do-continously-continously)
14329 (artist-key-set-point-continously, artist-mouse-draw-continously):
14330 Fix typos in docstrings.
14332 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
14334 * nxml/nxml-mode.el (nxml-extend-after-change-region):
14335 Never return t (Bug#3898).
14337 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
14339 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
14340 can parse the output of the external commands (Bug#5279).
14342 2010-01-16 Jari Aalto <jari.aalto@cante.net>
14344 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
14346 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
14348 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
14350 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
14352 * startup.el (command-line): Remove unused --icon-type arg.
14353 Handle --display arg, passing it to command-line-1 (Bug#5392).
14355 2010-01-16 Mario Lang <mlang@delysid.org>
14357 * emacs-lisp/chart.el (chart-translate-namezone):
14358 * textmodes/artist.el (artist-compute-popup-menu-table):
14359 Remove duplicated words in doc-strings.
14361 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
14363 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
14364 to mairix-search to suppress threading (Bug#5342).
14366 2010-01-15 Kenichi Handa <handa@m17n.org>
14368 * international/mule-cmds.el (canonicalize-coding-system-name):
14369 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
14371 2010-01-15 Glenn Morris <rgm@gnu.org>
14373 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
14375 * wid-edit.el (widget-keymap): Doc fix.
14377 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
14378 former seems to be more widely accepted by various svn versions.
14380 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14382 * find-cmd.el (find-constituents):
14383 * vc-arch.el (vc-arch-root):
14384 * window.el (window-body-height, pop-up-frames):
14385 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
14386 * progmodes/ada-stmt.el (ada-if):
14387 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
14388 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
14389 (ispell-encoding8-command, ispell-aspell-supports-utf8)
14390 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
14392 * progmodes/flymake.el (flymake-post-syntax-check):
14393 Fix typo in error message.
14395 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14397 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
14398 which is always a string. (Bug#5313)
14400 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14402 * progmodes/ada-xref.el (ada-default-prj-properties):
14403 Simplify previous change.
14405 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14407 * progmodes/ada-xref.el (ada-default-prj-properties):
14408 Default ada_project_path to $ADA_PROJECT_PATH.
14410 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14412 * progmodes/ada-mode.el (ada-create-keymap):
14413 Override `narrow-to-defun' with `ada-narrow-to-defun'.
14415 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14417 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
14418 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
14419 (ada-get-current-indent, ada-imenu-generic-expression)
14420 (ada-which-function): Check for it.
14422 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14424 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
14425 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
14427 2010-01-14 Glenn Morris <rgm@gnu.org>
14429 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
14431 2010-01-14 Kenichi Handa <handa@m17n.org>
14433 * composite.el (auto-composition-mode): Make it a buffer local
14434 variable (permanent-local).
14435 (auto-composition-function): Set the default value to
14436 auto-compose-chars.
14437 (auto-composition-mode): Make it a simple function, not a minor mode.
14438 (global-auto-composition-mode): Likewise.
14439 (turn-on-auto-composition-if-enabled): Delete it.
14441 2010-01-13 Karl Fogel <kfogel@red-bean.com>
14443 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
14445 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
14447 * files.el (copy-directory): Compute target for recursive
14448 directories with identical names. (Bug#5343)
14450 2010-01-12 Glenn Morris <rgm@gnu.org>
14452 * mail/emacsbug.el (report-emacs-bug-pretest-address):
14453 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
14455 2010-01-11 Sam Steingold <sds@gnu.org>
14457 * imenu.el (imenu-default-create-index-function): Detect infinite
14458 loops caused by imenu-prev-index-position-function.
14460 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14462 * htmlfontify.el (htmlfontify-load-rgb-file)
14463 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
14464 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
14465 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
14466 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
14467 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
14468 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
14469 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
14470 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
14471 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
14472 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
14473 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
14474 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
14475 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
14476 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
14477 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
14478 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
14479 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
14480 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
14481 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
14482 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
14483 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
14484 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
14485 backslash-quoting from parentheses, etc.
14487 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
14489 * progmodes/js.el: Autoload javascript-mode alias.
14491 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14493 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
14494 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
14495 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
14496 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
14497 Fix typos in docstrings.
14498 (ffap-url-regexp): Doc fix.
14499 (ffap-at-mouse): Fix typo in message.
14501 2010-01-11 Glenn Morris <rgm@gnu.org>
14503 * version.el (emacs-copyright): Set copyright year to 2010.
14505 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
14507 * format.el (format-annotate-function): Only set
14508 write-region-post-annotation-function after running to-fn so as not to
14509 affect nested write-region calls (bug#5273).
14511 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
14513 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
14516 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14518 * man.el (Man-goto-section): Signal error if the section is not
14521 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
14523 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
14524 URLs with a leading triple slash in the file: scheme. (Bug#5345)
14526 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14528 * progmodes/compile.el: Don't treat compile-command as safe if
14529 compilation-read-command might be nil (Bug#4218).
14531 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
14533 * startup.el (command-line-1): Use orig-argi to check for ignored X and
14536 2010-01-08 Kenichi Handa <handa@m17n.org>
14538 * international/fontset.el (build-default-fontset-data):
14539 Exclude characters in scripts kana, hangul, han, or cjk-misc.
14541 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
14543 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
14544 to `create-file-buffer' as it expects, not just a buffer name.
14545 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
14546 to help uniquify. (Bug#3224)
14548 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
14550 * font-setting.el (font-setting-change-default-font): Use user-spec
14553 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
14555 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
14557 2010-01-05 Tom Tromey <tromey@redhat.com>
14559 * progmodes/python.el (python-font-lock-keywords):
14560 Handle qualified decorators (Bug#881).
14562 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14564 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
14565 in a lightweight checkout.
14567 2010-01-05 Kenichi Handa <handa@m17n.org>
14569 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
14571 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14573 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
14575 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
14577 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
14578 checkouts. (Bug#618)
14579 (vc-bzr-log-view-mode): Also highlight the author.
14580 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
14581 (vc-bzr-shelve-menu-map):
14582 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
14583 (vc-bzr-shelve-apply): Make prompt more explicit.
14585 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
14587 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
14588 They are valid characters in URL paths (rfc3986), and at least
14589 Firefox does not understand the encoded version (Bug#3166).
14591 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
14593 * progmodes/octave-mod.el (octave-end-keywords)
14594 (octave-block-begin-or-end-regexp, octave-block-match-alist):
14595 Add "end" keyword (Bug#3061).
14596 (octave-end-as-array-index-p): New function.
14597 (calculate-octave-indent): Use it.
14599 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14601 * bookmark.el: Consistently put the text property on the bookmark name.
14602 (bookmark-bmenu-marks-width): Bump back to 2, to include
14604 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
14605 property on the bookmark name, instead of not putting it at all.
14606 (bookmark-bmenu-list): Fix where we put the text property.
14608 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14610 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
14611 for showing buffer modified state (as added in the previous change).
14613 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14615 * bookmark.el: Show modified state of bookmark buffer more accurately.
14616 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
14617 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
14618 (with-buffer-modified-unmodified): New macro.
14619 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14620 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
14621 Use new macro to preserve the buffer modified state.
14623 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14625 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
14626 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
14627 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
14628 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
14629 (bookmark-bmenu-rename, bookmark-bmenu-locate)
14630 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
14631 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
14633 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14635 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14636 Make the lines in the generated doc string shorter. (Bug#4668)
14638 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
14640 * net/rcirc.el: Add follow-link binding (Bug#4738).
14642 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14644 * Makefile.in (bzr-update): Rename from cvs-update.
14645 (cvs-update): New target for backward compatibility.
14647 * makefile.w32-in (bzr-update): Rename from cvs-update.
14648 (cvs-update): New target for backward compatibility.
14650 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14652 * bookmark.el: Remove gratuitous gratitude.
14654 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14656 * bookmark.el (bookmark-bmenu-any-marks): New function.
14657 (bookmark-bmenu-save): Clear buffer modification if no marks.
14659 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14661 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
14662 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
14663 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
14664 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
14666 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
14667 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
14668 To: emacs-devel {_AT_} gnu.org
14669 Subject: bookmark.el bug report
14670 Date: Mon, 28 Dec 2009 14:19:16 +0800
14671 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
14673 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14675 * bookmark.el: Improvements suggested by Drew Adams:
14676 (bookmark-bmenu-ensure-position): New name for
14677 `bookmark-bmenu-check-position'. Just ensure the position,
14678 don't return any meaningful value.
14679 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
14682 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
14684 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
14685 (bookmark-yank-point, bookmark-bmenu-check-position):
14686 Fix typos in docstrings.
14687 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
14688 (bookmark-name-from-full-record, bookmark-get-position)
14689 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
14690 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
14691 Remove useless quoting of parenthesis, etc. in docstrings.
14693 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
14694 (ediff-append-custom-diff): Fix typo in error message.
14695 (ediff-meta-mark-equal-files): Fix typos in messages.
14697 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
14699 * net/imap-hash.el (imap-hash-make): Doc fix.
14700 (imap-hash-test): Fix typo in error message; reflow docstring.
14701 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
14702 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
14703 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
14704 Fix typos in docstrings.
14705 (imap-hash-open-connection): Fix typo in error message.
14707 * play/gomoku.el (gomoku): Fix typos in docstring.
14709 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
14710 (gdb-jsonify-buffer): Fix typos in docstring.
14711 (gdb-goto-breakpoint): Fix typo in error message.
14712 ("Display Other Windows"): Fix typo in help message.
14713 (gdb-speedbar-expand-node): Fix typo in question.
14715 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14716 (idlwave-html-system-help-location, idlwave-html-help-location)
14717 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14718 (idlwave-help-browser-generic-args, idlwave-help-directory)
14719 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14720 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14721 (idlwave-online-help, idlwave-help-html-link)
14722 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14723 Fix typos in docstrings.
14724 (idlwave-help-with-source, idlwave-help-find-routine-definition):
14726 (idlwave-help-assistant-start): Fix typo in error message.
14728 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14729 (octave-electric-space): Fix typos in docstrings.
14731 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
14733 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14735 2010-01-01 Juri Linkov <juri@jurta.org>
14737 * comint.el (comint-input-ring-size): Make it a defcustom and
14738 increase the default to 500 (Bug#5148).
14740 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
14742 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14743 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14744 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14746 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
14748 Show working revision correctly for mercurial.
14749 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14750 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14752 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
14754 Declare some functions for the byte-compiler.
14755 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14756 (speedbar-timer-fn, speedbar-change-expand-button-char)
14757 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14759 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
14761 This changeset reverts GDB Graphical Interface to use annotations.
14762 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14764 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
14766 Make vc-dir work on subdirectories of the bzr root.
14767 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14768 Return file names relative to it.
14769 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14770 relative directory to vc-bzr-after-dir-status.
14772 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
14774 * font-lock.el (font-lock-refresh-defaults): New function, which
14775 can be used to let font-lock react to external changes in
14776 variables like font-lock-defaults and keywords.
14777 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14779 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
14781 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14783 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14785 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
14787 Supersede color.diff settings in git log (bug#5211).
14789 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14790 escape chars in its output when the user has color.diff set to `always'.
14791 This fix works on git 1.4.2 and newer (released on 2006-08-13).
14793 2009-12-26 Kevin Ryde <user42@zip.com.au>
14795 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14796 node. Keep previous "Index" name to work with past coreutils too.
14798 * man.el (man): Revise docstring a bit to show -a and -l as
14799 examples. Add -k description since support for it has otherwise
14800 been a secret. (Further to bug#3717.)
14801 (Man-bgproc-sentinel): When "-k foo" produces no output show error
14802 "no matches" rather than "Can't find manpage", as the latter reads
14803 like -k was interpreted as a page name, which is not so. (Bug#5431)
14805 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
14807 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14808 switches. Check also for //SUBDIRED// line.
14810 2009-12-25 Kenichi Handa <handa@m17n.org>
14812 * language/indian.el (devanagari-composable-pattern): Fix to
14813 handle ZWNJ and ZWJ. Use it in composition-function-table for
14815 (malayalam-composable-pattern): Fix previous change.
14817 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14819 * ps-print.el (ps-face-attributes): It was not returning the
14820 attribute face for faces specified as string. Reported by harven
14821 <harven@free.fr>. (Bug#5254)
14822 (ps-print-version): New version 7.3.5.
14824 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
14826 * calendar/icalendar.el (icalendar--convert-tz-offset):
14827 Fix timezone names.
14828 (icalendar--convert-tz-offset): Fix the "last-day-problem".
14829 (icalendar--add-diary-entry): Remove the trailing blank that
14830 diary-make-entry inserts.
14832 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
14834 Make `file-expand-wildcards' work for remote files.
14836 * files.el (file-expand-wildcards): In case of remote files, check
14837 only local file name part for wildcards. Provide feature 'files
14838 and subfeature 'remote-wildcards. (Bug#5198)
14840 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14841 if there is already an established connection.
14842 (tramp-advice-file-expand-wildcards): Remove it.
14844 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14845 (tramp-advice-file-expand-wildcards): Move from tramp.el.
14846 Activate advice for older GNU Emacs versions. (Bug#5237)
14848 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
14850 Some doc fixes (more needed).
14852 * find-cmd.el (find-constituents): Reflow docstring.
14853 (find-cmd, find-prune, find-command): Fix typos in docstrings.
14854 (find-generic): Doc fix.
14856 2009-12-17 Juri Linkov <juri@jurta.org>
14858 Fix regression from 23.1 to allow multiple modes in Local Variables.
14860 * files.el (hack-local-variables-filter): While ignoring duplicates,
14861 don't take `mode' into account.
14862 (hack-local-variables-filter, hack-dir-local-variables):
14863 Don't remove duplicate `mode' from local-variables-alist (like `eval').
14865 2009-12-17 Juri Linkov <juri@jurta.org>
14867 Make `dired-diff' safer. (Bug#5225)
14869 * dired-aux.el (dired-diff): Signal an error when `file' equals to
14870 `current' or when `file' is a directory of the `current' file.
14872 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
14874 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14875 unconditionally preloaded files.
14877 2009-12-16 Juri Linkov <juri@jurta.org>
14879 Revert to old 23.1 logic of using the file at the mark as default.
14880 * dired-aux.el (dired-diff): Use the file at the mark as default
14881 if it's not the same as the current file, and the target dir is
14882 the current dir or the mark is active. Add the current file
14883 as the arg of `dired-dwim-target-defaults'. Use the default file
14884 in the prompt. (Bug#5225)
14886 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
14888 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14889 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14890 (tramp-check-for-regexp): Check also, when an echoing shell stops
14891 to echo sent commands.
14893 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14895 * Makefile.in: Revert last change (Bug#5191).
14897 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
14899 * vc-hg.el (vc-hg-print-log): Fix argument order.
14900 (vc-hg-working-revision): Make sure the command is executed in a
14901 known environment so that we can parse the output. (Bug#4417)
14903 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14905 * progmodes/python.el (python-symbol-completions): Remove text
14906 properties from symbol string before calling python-send-receive.
14908 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
14910 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14911 when there are values for both file and line. (Bug#5060)
14913 2009-12-14 Juri Linkov <juri@jurta.org>
14915 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14916 whitespace after the file name of the first line of unified format,
14917 because git-diff doesn't output whitespace and file modification time
14918 after the file name.
14920 2009-12-14 David Kastrup <dak@gnu.org>
14922 * info.el (Info-hide-cookies-node): Before hiding a cookie,
14923 check if it already has the `display' property added by
14924 `Info-display-images-node', and not put the `invisible' property
14927 2009-12-13 Glenn Morris <rgm@gnu.org>
14929 * mail/emacsbug.el (message-sort-headers): Define for compiler.
14930 (report-emacs-bug): In message-mode, sort manually before storing
14931 original report text. (Bug#5178)
14932 Remove superfluous save-excursion.
14934 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
14936 * net/dbus.el (dbus-property-handler): Filter lambda forms out
14937 when responding to "GetAll" properties.
14939 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
14941 * simple.el (compose-mail): Remove mail-setup-with-from from
14942 customization checks.
14944 2009-12-12 Eli Zaretskii <eliz@gnu.org>
14946 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
14947 RAR archives created on Unix systems.
14949 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
14951 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
14952 the varalias that was accidentally removed by the 2009-11-19 change
14955 2009-12-12 Kenichi Handa <handa@m17n.org>
14957 * language/indian.el (indian-compose-regexp): New function.
14958 (malayalam-composable-pattern): Fix the pattern.
14959 (composition-function-table): Set malayalam-composable-pattern for
14960 Malayalam characters.
14962 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
14964 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
14965 rather than down-mouse-1, based on follow-link conventions.
14967 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
14970 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
14972 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
14973 (verilog-vmm-statement-re, verilog-ovm-statement-re)
14974 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
14975 (verilog-leap-to-head, verilog-backward-token):
14976 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
14978 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
14980 * progmodes/verilog-mode.el (verilog-auto-lineup)
14981 (verilog-nameable-item-re): Cleanup user-visible spelling and
14982 documentation errors. One reported by Gary Delp.
14983 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14984 (verilog-read-decls): Fix AUTOWIRE with types declared in a
14985 package, bug195. Reported by Pierre-David Pfister.
14987 2009-12-11 Glenn Morris <rgm@gnu.org>
14989 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14991 * mail/emacsbug.el: No longer require sendmail.
14992 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
14993 (report-emacs-bug-orig-text): Doc fix.
14994 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14995 New local variables, to adapt to different mail-user-agents.
14996 (report-emacs-bug): Fix test for a gnu.org address.
14997 Use overlays for emphasis, since font-lock defeats 'face property.
14998 Pretest bugs also end up at the newsgroup these days.
14999 Stop message-mode stripping text properties.
15000 Set and use the new buffer-local variables.
15001 (report-emacs-bug-hook): Add doc-string.
15002 Remove some unnecessary save-excursions and simplify.
15003 Use the appropriate hook and send-command.
15005 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
15006 capitalization of some menu entries.
15008 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15010 * whitespace.el (whitespace-display-char-on):
15011 Ensure `buffer-display-table' is unique when two or more windows are
15012 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
15015 2009-12-10 Eli Zaretskii <eliz@gnu.org>
15017 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
15018 characters in the Attribute field.
15020 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
15022 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
15024 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
15026 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
15027 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15028 Disregard autoload-excludes.
15029 (update-directory-autoloads): Obey autoload-excludes here instead.
15030 But don't store its contents in no-autoloads and remove entries that
15031 refer to excludes files.
15033 2009-12-10 Glenn Morris <rgm@gnu.org>
15035 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
15036 (expand-mail-aliases): Define for compiler.
15038 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
15039 Define for compiler.
15041 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
15042 appropriate for the mail-user-agent in use.
15044 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
15046 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
15048 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
15050 Fix short log parsing and fontification.
15051 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
15052 Fix fontification for the [merge] label.
15054 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
15056 Drop some properties to avoid surprises (bug#5002).
15057 * htmlfontify.el (hfy-ignored-properties): New defcustom.
15058 (hfy-fontify-buffer): Use it.
15060 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
15063 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
15064 Adjust all callers.
15065 (ffap-locate-file): Remove unused arg `dir-ok' and make other
15066 args compulsory. Adjust callers.
15067 (ffap-gopher-at-point): Remove unused var `name'.
15069 Get rid of the ELCFILES abomination.
15070 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
15071 (compile-elcfiles): New phony target.
15072 (compile-main): Compute ELCFILES dynamically.
15073 (compile-clean): New target to remove left-over elc files.
15074 (compile, all): Use it.
15076 2009-12-09 Kenichi Handa <handa@etlken>
15078 * international/mule-diag.el: Require help-mode instead of help-fns.
15080 2009-12-09 Kenichi Handa <handa@m17n.org>
15082 * international/mule-cmds.el (ucs-names): Supply sufficiently
15083 fine ranges instead of pre-calculating accurate ranges.
15084 Iterate with bigger gc-cons-threshold.
15086 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
15088 Add support for stashing a snapshot of the current tree.
15089 * vc-git.el (vc-git-stash-snapshot): New function.
15090 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
15092 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
15094 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
15095 instead of `(beginning|end)-of-line'.
15097 2009-12-08 Glenn Morris <rgm@gnu.org>
15099 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
15101 * Makefile.in (ELCFILES): Regenerate.
15103 2009-12-07 Juri Linkov <juri@jurta.org>
15105 Don't lazy-highlight the comint output in history Isearch mode.
15107 * comint.el (comint-history-isearch-search): Instead of
15108 `comint-line-beginning-position', use `comint-after-pmark-p'
15109 to check if point if before the process mark, and go to
15110 `process-mark' in this case.
15112 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15114 * textmodes/tex-mode.el (latex-complete)
15115 (latex-indent-or-complete): Remove.
15116 (latex-mode): Set completion-at-point-functions instead.
15118 Provide a standard completion command and hook it into TAB.
15119 * minibuffer.el (completion-at-point-functions): New var.
15120 (completion-at-point): New command.
15121 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
15122 * progmodes/python.el (python-mode-map): Use completion-at-point.
15123 (python-completion-at-point): Rename from python-partial-symbol and
15124 adjust for use in completion-at-point-functions.
15125 (python-mode): Setup completion-at-point for Python completion.
15126 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
15127 extracted from lisp-complete-symbol.
15128 (lisp-complete-symbol): Use it.
15129 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
15130 setup completion-at-point for Elisp completion.
15131 (emacs-lisp-mode-map, lisp-interaction-mode-map):
15132 Use completion-at-point.
15133 * ielm.el (ielm-map): Use completion-at-point.
15134 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
15135 * progmodes/sym-comp.el: Move to...
15136 * obsolete/sym-comp.el: Move from progmodes.
15138 2009-12-07 Eli Zaretskii <eliz@gnu.org>
15140 Prevent save-buffer in Rmail buffers from using the coding-system
15141 of the current message, and from clobbering the encoding mnemonics
15142 in the mode line (Bug#4623).
15144 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
15146 (rmail-message-encoding): New variable.
15147 (rmail-write-region-annotate): Record the encoding of the current
15148 message in rmail-message-encoding.
15149 (rmail-after-save-hook): New function, restores the encoding of
15150 the current message after the message collection is saved.
15152 2009-12-07 Juri Linkov <juri@jurta.org>
15154 * progmodes/grep.el (grep-read-files): Use `completing-read'
15155 instead of `read-string'. Set its `collection' arg to
15156 `read-file-name-internal'. (Bug#4301)
15158 2009-12-07 Juri Linkov <juri@jurta.org>
15160 Correctly restore original Isearch point. (Bug#4994)
15162 * isearch.el (isearch-mode): Move `isearch-push-state' after
15163 `(run-hooks 'isearch-mode-hook)'.
15164 (isearch-cancel): When `isearch-push-state-function' is defined,
15165 let-bind `isearch-cmds' to the first state (the last element of
15166 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
15167 function and restores the original point). Otherwise, move point
15168 to `isearch-opoint'.
15170 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15172 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
15173 chars that don't have names, so the table can be built much faster at
15176 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
15178 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
15179 change. Suggested by David Kastrup.
15181 * simple.el (compose-mail): Check for incompatibilities and warn.
15182 (compose-mail-user-agent-warnings): New option.
15184 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15186 Support showing a single log entry from vc-annotate.
15187 * vc.el (print-log): Add a new argument: START-REVISION.
15188 (vc-print-log-internal): Add a new optional argument and
15189 pass it to the backend.
15190 (vc-print-log, vc-print-root-log): Adjust callers.
15191 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
15192 buffer already displays the requested log entry, use it.
15193 Otherwise display only the log entry in question.
15194 * vc-svn.el (vc-svn-print-log):
15195 * vc-mtn.el (vc-mtn-print-log):
15196 * vc-hg.el (vc-hg-state):
15197 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
15198 (vc-git-show-log-entry): Return t on success.
15199 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
15200 (vc-bzr-show-log-entry): Return t on success.
15201 * vc-rcs.el (vc-rcs-print-log):
15202 * vc-sccs.el (vc-sccs-print-log):
15203 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
15205 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15207 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
15208 Add menus to the meta mode. (Bug#5043)
15210 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
15212 * ediff-init.el (ediff-event-key): Use event-to-character instead of
15215 * ediff.el (ediff-buffers-internal): Add unwind-protect.
15217 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
15219 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
15220 Berbain <raphael.berbain@gmail.com>.
15222 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
15224 (tramp-initial-end-of-output): New defconst.
15225 (tramp-methods, tramp-find-shell)
15226 (tramp-open-connection-setup-interactive-shell)
15227 (tramp-maybe-open-connection): Use it.
15228 (tramp-shell-prompt-pattern, tramp-wait-for-output):
15229 Handle existence of `#' and `$'.
15231 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
15232 Use `tramp-initial-end-of-output'.
15234 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
15236 Get the background mode from the terminal for xterm, and set
15238 * term/xterm.el (xterm-set-background-mode): New function.
15239 (terminal-init-xterm): Use it in case xterm supports background
15240 color queries. Recompute faces after getting the background
15243 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
15245 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
15246 number comment back on its own line, for easier parsing.
15248 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
15250 Make it work for non-file buffers (bug#5102).
15251 * doc-view.el (doc-view-current-cache-dir):
15252 Use doc-view-buffer-file-name rather than buffer-file-name.
15253 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
15255 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
15257 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
15258 author field is too short.
15260 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
15262 * vc-git.el (vc-git-print-log): Handle a limit argument.
15263 Display the short log in graph form and with labels.
15264 (vc-git-log-view-mode): Handle labels.
15266 Make vc-revert change VC state from 'added to 'unregistered.
15267 * vc-git.el (vc-git-revert): Call git reset first.
15269 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
15271 * net/newst-backend.el, net/newst-plainview.el:
15272 * net/newst-reader.el, net/newst-ticker.el:
15273 * net/newst-treeview.el, net/newsticker.el:
15274 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
15276 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
15278 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
15280 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
15281 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
15282 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
15283 Update annotation regexp.
15285 * simple.el (beginning-of-visual-line): Constrain to field
15286 boundaries (Bug#5106).
15288 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
15290 * xml.el (xml-substitute-numeric-entities):
15291 Move newsticker--decode-numeric-entities in newst-backend.el to
15292 xml-substitute-numeric-entities in xml.el. (Bug#5008)
15293 * net/newst-backend.el (newsticker--parse-generic-feed)
15294 (newsticker--parse-generic-items)
15295 (newsticker--decode-numeric-entities):
15296 Move newsticker--decode-numeric-entities in newst-backend.el to
15297 xml-substitute-numeric-entities in xml.el. (Bug#5008)
15299 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
15301 * progmodes/js.el (js--js-not): Add null to the list of values.
15303 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
15305 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
15307 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15309 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
15310 delimiter if it is at the end of the current line.
15311 (bibtex-generate-url-list): Fix docstring.
15313 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15315 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
15316 minibuffer's content with itself.
15317 Fold the confirm-after-completion case into the `confirm' case.
15318 (completion-pcm-word-delimiters): Add : and / to the delimiters.
15320 2009-12-06 Kevin Ryde <user42@zip.com.au>
15322 * ffap.el (ffap-rfc-path): Make this a defcustom since
15323 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
15325 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
15326 manuals, similar to existing setup for help-mode. (Bug#3913.)
15328 2009-12-05 Juri Linkov <juri@jurta.org>
15330 Save and restore dired buffer's point positions too. (Bug#4880)
15332 * dired.el (dired-save-positions): Return in the first element
15333 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
15335 (dired-restore-positions): First restore buffer's position.
15336 While restoring window's positions, check if window still displays
15337 the original buffer.
15339 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
15341 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
15344 * shell.el (shell): Require ansi-color (Bug#5113).
15346 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
15348 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
15350 2009-12-05 Alan Mackenzie <acm@muc.de>
15352 * progmodes/cc-mode.el (c-before-hack-hook)
15353 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
15354 `c-file-style' to work again. This reversion restores the current
15355 software to its state in Emacs 23.1. (Bug#4146)
15357 2009-12-05 Kevin Ryde <user42@zip.com.au>
15359 * textmodes/sgml-mode.el (sgml-lexical-context):
15360 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
15362 2009-12-05 Juri Linkov <juri@jurta.org>
15364 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
15365 for virtual nodes. (Bug#4147)
15366 (Info-find-node-2): Set `Info-current-node-virtual' to nil
15367 when moving from a virtual node.
15368 (Info-mode-menu): Add `Info-virtual-index' to the menu.
15369 (Info-mode): Add `Info-virtual-index' to the docstring.
15371 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15373 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
15374 track of the buffer position of the end of a BibTeX entry as this
15375 position may change during reformatting.
15376 (bibtex-format-entry): Remove whitespace before processing
15377 numerical fields so that we recognize the latter properly.
15378 (bibtex-reformat): Do not use push which changes the global value
15379 of bibtex-entry-format.
15380 (bibtex-field-braces-alist, bibtex-field-strings-alist)
15381 (bibtex-field-re-init): Replace only space characters by regexp
15383 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
15384 (bibtex-initialize): Also update bibtex-strings.
15385 (bibtex-kill-field): Preserve white space at end of entry.
15386 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
15387 Update bibtex-reference-keys.
15389 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
15391 * minibuffer.el (completion-pcm--merge-try): Also consider placing
15392 point after a star, if that's the only place where modifications can
15395 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
15397 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
15400 2009-12-04 Juri Linkov <juri@jurta.org>
15402 * proced.el (proced): Call `(proced-update t)' to update process
15403 information instead of only running proced-post-display-hook.
15404 (proced-send-signal): Add a leading space to the buffer name
15405 " *Marked Processes*" to make this buffer ephemeral.
15407 2009-12-04 Juri Linkov <juri@jurta.org>
15409 * dired.el (dired-auto-revert-buffer): New defcustom.
15410 (dired-internal-noselect): Use it.
15412 2009-12-04 Juri Linkov <juri@jurta.org>
15414 Change roles of modes and functions in image-mode.el (Bug#5062).
15416 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
15417 in `auto-mode-alist'.
15418 (image-mode-previous-major-mode): New variable.
15419 (image-minor-mode-map): Rename from `image-mode-text-map'.
15420 (image-mode): Move graceful error-handling code from
15421 `image-minor-mode' to here. On errors call `image-mode-as-text'.
15422 (image-minor-mode): Remove all image-handling code.
15423 Replace `image-mode-text-map' with `image-minor-mode-map'.
15424 Check for `image-type' in mode-line format string.
15425 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
15426 (image-mode-as-text): New function with most code from
15427 `image-mode-maybe'.
15428 (image-toggle-display-text): Move code that removes image
15429 properties from `image-toggle-display' to here.
15430 (image-toggle-display-image): New function with code that adds
15431 image properties copied from `image-toggle-display'.
15432 (image-toggle-display): Remove most code with leaving only code
15433 that toggles between `image-mode-as-text' and `image-mode'.
15435 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
15437 * net/newst-treeview.el
15438 (newsticker--treeview-list-highlight-start): Restored call to
15439 save-excursion: Selected item was stuck.
15440 (newsticker--treeview-list-select): New.
15441 (newsticker--treeview-item-show-text)
15442 (newsticker--treeview-item-show)
15443 (newsticker--treeview-item-update): Use new
15444 newsticker-treeview-item-mode.
15445 (newsticker-treeview-update): Keep current item.
15446 (newsticker-treeview-next-new-or-immortal-item): Doc change.
15447 (newsticker--treeview-first-feed): Doc change.
15448 (newsticker-treeview-list-menu)
15449 (newsticker-treeview-item-menu): Add menu entries.
15450 (newsticker-treeview-item-mode): New.
15452 * net/newst-backend.el (newsticker-customize): Delete other
15455 2009-12-04 Sam Steingold <sds@gnu.org>
15457 * log-view.el (log-view-mode-map): "q" calls quit-window,
15458 like in all the other non-self-insert buffers.
15460 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
15463 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
15464 key decoding rather than do it manually via last-input-event +
15466 (term-exec): Use delete-and-extract-region.
15467 (term-handle-ansi-terminal-messages): Remove unused var `end'.
15468 (term-process-pager): Remove unused var `i'.
15469 (term-dynamic-simple-complete): Make obsolete.
15470 (serial-update-config-menu): Remove unused vars `y' and `str'.
15471 (term-update-mode-line): Remove unused var `temp'.
15473 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15475 Limit the number of log entries displayed by default.
15476 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
15477 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
15478 using a prefix argument.
15480 2009-12-03 Glenn Morris <rgm@gnu.org>
15482 * progmodes/idlwave.el (class): Restore still useful declaration.
15484 2009-12-03 Alan Mackenzie <acm@muc.de>
15486 Enhance `c-parse-state' to run efficiently in "brace deserts".
15488 * progmodes/cc-mode.el (c-basic-common-init):
15489 Call c-state-cache-init.
15490 (c-neutralize-syntax-in-and-mark-CPP): Rename from
15491 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
15492 placing `category' properties value 'c-cpp-delimiter at its boundaries.
15494 * progmodes/cc-langs.el (c-before-font-lock-function):
15495 c-extend-and-neutralize-syntax-in-CPP has been renamed
15496 c-neutralize-syntax-in-and-mark-CPP.
15498 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
15499 with `category' properties now, not `syntax-table' ones.
15501 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
15502 enhanced (but slower) version of c-end-of-macro that won't land
15503 inside a literal or on another awkward character.
15504 (c-state-cache-too-far, c-state-cache-start)
15505 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
15506 (c-state-nonlit-pos-cache-limit, c-state-point-min)
15507 (c-state-point-min-lit-type, c-state-point-min-lit-start)
15508 (c-state-min-scan-pos, c-state-brace-pair-desert)
15509 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
15510 buffer local variables.
15511 (c-state-literal-at, c-state-lit-beg)
15512 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
15513 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
15514 (c-state-cache-top-paren, c-state-cache-after-top-paren)
15515 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
15516 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
15517 (c-renarrow-state-cache)
15518 (c-append-lower-brace-pair-to-state-cache)
15519 (c-state-push-any-brace-pair, c-append-to-state-cache)
15520 (c-remove-stale-state-cache)
15521 (c-remove-stale-state-cache-backwards, c-state-cache-init)
15522 (c-invalidate-state-cache-1, c-parse-state-1)
15523 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
15524 (c-parse-state): Enhance and refactor.
15525 (c-debug-parse-state): Amend to deal with all the new variables.
15527 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
15528 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
15529 modify to use category text properties rather than syntax-table ones.
15530 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
15531 to switch off/on the syntactic paren property of C++ template
15532 delimiters using the category property.
15533 (c-with-<->-as-parens-suppressed): Macro to invoke code with
15534 template delims suppressed.
15535 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
15536 New constant/macros which apply category properties to the start
15537 and end of preprocessor constructs.
15538 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
15539 "comment out" the syntactic value of characters in preprocessor
15541 (c-with-cpps-commented-out)
15542 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
15543 with characters in all or all but one preprocessor constructs
15546 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15548 * proced.el (proced-filter-alist): Use regexp-quote.
15550 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
15553 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
15554 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
15555 arguments. Expand `default-directory'.
15557 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
15558 the benefit of returning an expanded localname.
15559 (tramp-tramp-file-p): Handle the case NAME is not a string.
15561 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15563 Add support for bzr shelve/unshelve.
15564 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
15565 (vc-bzr-extra-menu-map): New variables.
15566 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
15567 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
15568 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
15569 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
15570 (vc-bzr-dir-extra-headers): Display shelves.
15572 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
15574 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15576 * textmodes/bibtex.el (bibtex-complete-internal):
15577 Use completion-in-region.
15578 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
15580 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15582 Support applying stashes. Improve UI.
15583 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
15584 (vc-git-stash-apply, vc-git-stash-pop)
15585 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
15586 (vc-git-stash-menu): New functions.
15587 (vc-git-stash-menu-map): New variable.
15588 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
15590 2009-12-03 Glenn Morris <rgm@gnu.org>
15592 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
15593 (vc-print-log-internal): Fix previous change.
15594 (vc-revert): Correct pluralization.
15596 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15598 * progmodes/make-mode.el (makefile-special-targets-list): No need for
15599 it to be an alist any more.
15600 (makefile-complete): Use completion-in-region.
15602 * progmodes/octave-mod.el (octave-complete-symbol):
15603 Use completion-in-region.
15606 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
15607 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
15608 (idlwave-complete-class): Don't quote lambda.
15609 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
15610 (idlwave-mode-map): Move initialization into declaration.
15611 (idlwave-action-and-binding): Use backquotes.
15612 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
15614 (idlwave-is-pointer-dereference): Remove unused var `pos'.
15615 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
15616 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
15617 `parts', and `all-parts'.
15618 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
15619 (idlwave-convert-xml-system-routine-info): Remove unused string
15621 (idlwave-display-user-catalog-widget): Use dolist.
15622 (idlwave-scanning-lib): Declare dynamically-scoped var.
15623 (idlwave-scan-library-catalogs): Remove unused var `flags'.
15624 (completion-highlight-first-word-only): Declare to silence bytecomp.
15625 (idlwave-popup-select): Tighten scope of `resp'.
15626 (idlwave-find-struct-tag): Remove unused var `beg'.
15627 (idlwave-after-load-rinfo-hook): Declare.
15628 (idlwave-sintern-class-info): Remove unused var `taglist'.
15629 (idlwave-find-class-definition): Remove unused var `list'.
15630 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
15631 (idlwave-what-module-find-class): Remove unused var `classes'.
15633 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
15635 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
15637 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15639 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
15640 buffers visited. Remove redundant current-buffer-saving.
15642 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15644 Use completion-in-buffer and remove uses of dynamic scoping.
15645 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
15646 (pascal-buffer-to-use, pascal-flag): Don't declare.
15647 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
15648 (pascal-get-completion-decl, pascal-keyword-completion):
15649 Add `pascal-str' argument, save-excursion,
15650 return the found completions, and don't filter with pascal-pred.
15651 (pascal-completion-cache): New var.
15652 (pascal-completion): Don't switch buffer any more (it was never
15653 necessary). Don't save-excursion any more (it's done by the called
15654 subroutines). Use a cache to avoid redundant computations.
15655 Use complete-with-action rather than pascal-completion-response and
15656 let it apply the predicate as well.
15657 (pascal-complete-word): Use completion-in-buffer when
15658 pascal-toggle-completions is nil.
15659 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
15661 (pascal-comp-defun): Don't change buffer any more.
15662 Use complete-with-action rather than pascal-completion-response and
15663 let it apply the predicate as well.
15664 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
15667 2009-12-02 Kenichi Handa <handa@m17n.org>
15669 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
15670 shape for all Indic scripts.
15672 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15674 Use completion-in-buffer.
15675 * wid-edit.el (widget-field-text-end): New function.
15676 (widget-field-value-get): Use it.
15677 (widget-string-complete, widget-file-complete)
15678 (widget-color-complete): Use it and completion-in-region.
15679 (widget-complete): Don't narrow the buffer.
15681 2009-12-02 Glenn Morris <rgm@gnu.org>
15683 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
15684 (rmail-select-summary): Use rmail-pop-to-buffer.
15685 * mail/rmailsum.el: Replace all pop-to-buffer calls with
15686 rmail-pop-to-buffer, to prevent horizontal splits.
15688 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
15689 save-excursion with save-current-buffer.
15690 Widen before searching. (Bug#5093)
15691 (diary-list-sexp-entries): Remove superfluous save-excursion.
15693 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
15695 * woman.el (woman-make-bufname): Handle man-pages with "." in the
15698 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
15700 * ido.el (ido-file-internal): Handle filenames at point that do
15701 not have a directory part. (Bug#5049)
15703 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
15705 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
15706 (mpc-songs-jump-to, mpc-resume): Doc fixes.
15708 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
15710 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15711 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15714 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15716 * comint.el (comint-insert-input): Ignore clicks to the right of
15717 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15719 * vc.el (vc-print-log-internal): Don't wait for the process to
15720 terminate before setting up the major mode.
15722 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15725 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15728 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15730 2009-12-01 Glenn Morris <rgm@gnu.org>
15732 * window.el (window--display-buffer-2): Fix previous changes.
15734 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
15736 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15738 2009-12-01 Glenn Morris <rgm@gnu.org>
15740 * Makefile.in (ELCFILES): Add mpc.elc.
15742 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15744 * mpc.el: New file.
15746 2009-12-01 Glenn Morris <rgm@gnu.org>
15748 * window.el (window-to-use): Define for compiler.
15750 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15751 consistent with others (no final period).
15753 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15754 (rmail-mime-show): Downcase the encoding. (Bug#5070)
15756 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
15758 Make vc-print-log buttons work.
15759 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15761 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
15763 * savehist.el (savehist-autosave-interval): Allow setting to nil
15764 through customize. (Bug#5056)
15766 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
15768 Fix references to jit-lock properties.
15769 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15770 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15771 (perl-font-lock-special-syntactic-constructs):
15772 Quote jit-lock-defer-multiline property.
15774 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
15776 * vc-git.el (vc-git-registered): Call vc-git-root only once.
15778 2009-11-30 Juri Linkov <juri@jurta.org>
15780 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15781 value `buffer' of `multi-isearch-next-buffer-current-function'.
15782 Use `(current-buffer)' when `buffer' is nil.
15783 (multi-isearch-next-buffer-from-list): Don't fallback to
15784 `(current-buffer)' when `buffer' is nil. (Bug#4947)
15786 2009-11-30 Juri Linkov <juri@jurta.org>
15788 * misearch.el (multi-isearch-read-buffers): Move canonicalization
15789 of buffers with `get-buffer' to `multi-isearch-buffers'.
15790 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15791 Canonicalize BUFFERS with `get-buffer'. Doc fix.
15792 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15793 FILES with `expand-file-name' converting relative file names
15794 to absolute. Doc fix. (Bug#4727)
15796 2009-11-30 Juri Linkov <juri@jurta.org>
15798 * misearch.el (multi-isearch-read-buffers)
15799 (multi-isearch-read-matching-buffers): New functions.
15800 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15801 Use them in the `interactive' spec. Doc fix.
15802 (multi-isearch-read-files, multi-isearch-read-matching-files):
15804 (multi-isearch-files, multi-isearch-files-regexp):
15805 Use them in the `interactive' spec. Doc fix. (Bug#4725)
15807 2009-11-30 Juri Linkov <juri@jurta.org>
15809 * doc-view.el (doc-view-continuous):
15810 Rename from `doc-view-continuous-mode'.
15811 (doc-view-menu): Move "Toggle display" to the top.
15812 Add submenu "Continuous" with radio buttons "Off"/"On"
15813 and "Save as Default".
15814 (doc-view-scroll-up-or-next-page)
15815 (doc-view-scroll-down-or-previous-page)
15816 (doc-view-next-line-or-next-page)
15817 (doc-view-previous-line-or-previous-page):
15818 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
15820 2009-11-30 Juri Linkov <juri@jurta.org>
15822 * comint.el (comint-mode-map): Rebind `M-r' from
15823 `comint-previous-matching-input' to
15824 `comint-history-isearch-backward-regexp'.
15825 Unbind `M-s' to allow global key binding `M-s'.
15826 Add menu items for `comint-history-isearch-backward' and
15827 `comint-history-isearch-backward-regexp'. (Bug#3746)
15829 2009-11-30 Juri Linkov <juri@jurta.org>
15831 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15832 For def=recenter, replace `recenter' with `recenter-top-bottom'
15833 that is called with `this-command' and `last-command' let-bound
15834 to `recenter-top-bottom'. When the last `def' was not `recenter',
15835 set `recenter-last-op' to nil. (Bug#4981)
15837 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
15839 Minor cleanup and simplification.
15840 * filecache.el (file-cache-add-directory)
15841 (file-cache-add-directory-recursively)
15842 (file-cache-add-from-file-cache-buffer)
15843 (file-cache-delete-file-regexp, file-cache-delete-directory)
15844 (file-cache-files-matching-internal, file-cache-display): Use dolist.
15845 (file-cache-temp-minibuffer-message): Delete function.
15846 (file-cache-minibuffer-complete): Use minibuffer-message instead.
15848 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15849 Don't signal an error when bumping into EOB in tr, s, or y.
15851 2009-11-29 Juri Linkov <juri@jurta.org>
15853 * startup.el (fancy-about-text): Fix wording of Guided Tour.
15856 * descr-text.el (describe-char-unidata-list): Use lowercase name
15857 for "Unicode name" like in other tags.
15859 2009-11-29 Juri Linkov <juri@jurta.org>
15861 * ediff-util.el (ediff-minibuffer-with-setup-hook):
15862 New compatibility macro.
15863 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15865 2009-11-29 Juri Linkov <juri@jurta.org>
15867 Add defcustom to define the cycling order of `recenter-top-bottom'.
15870 * window.el (recenter-last-op): Doc fix.
15871 (recenter-positions): New defcustom.
15872 (recenter-top-bottom): Rewrite to use `recenter-positions'.
15873 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15875 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
15877 Improve integration of Tramp and ange-ftp in eshell.
15879 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15880 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
15881 (eshell/sudo): Flatten args. Let-bind `default-directory'.
15883 * eshell/esh-util.el (top): Require also Tramp when compiling.
15884 (eshell-directory-files-and-attributes): Check for FTP remote
15886 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15887 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15888 (eshell-file-attributes): Handle ".". Return `entry'.
15890 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15891 (ange-ftp-directory-files-and-attributes)
15892 (ange-ftp-real-directory-files-and-attributes): New defuns.
15894 * net/tramp.el (tramp-maybe-open-connection): Open the remote
15895 shell with "exec" when possible. This prevents trailing prompts
15896 in `start-file-process'.
15898 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15900 Try and remove assumptions about point-min==1.
15901 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15902 (rng-compute-mode-line-string): Show the validation percentage in
15903 terms of the narrowed text, not the widened text.
15904 (rng-do-some-validation): Don't catch internal errors when debugging.
15905 (rng-first-error): Simplify.
15906 (rng-after-change-function): Remove work around. AFAIK the bug has
15907 been fixed a while ago.
15909 * image-mode.el (image-minor-mode): Exit more gracefully when the image
15910 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15912 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15914 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15915 `cd' doesn't always do it for us (bug#5067).
15917 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15918 on 2009-10-25 as part of some other change (bug#5067).
15920 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15922 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15924 (byte-compile-warnings): Use byte-compile-warning-types.
15925 (byte-compile-save-excursion): Warn about use of set-buffer right
15926 after save-excursion.
15928 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
15929 the excursion as well.
15931 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
15933 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
15934 providing a Tramp related implementation of "su" and "sudo".
15935 (eshell-unix-initialize): Add "su" and "sudo".
15937 2009-11-27 Daiki Ueno <ueno@unixuser.org>
15939 * net/socks.el (socks-send-command): Convert binary request to
15940 unibyte before sending. This fixes mishandling of some port
15941 numbers such as 129.
15943 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15945 * help.el (describe-bindings-internal): Remove `interactive'.
15947 * man.el (Man-completion-table): Trim a terminating "(".
15948 Remove the space between name page a section.
15949 Add the command's description on the `help-echo' property.
15950 Remove `process-connection-type' binding since it's unused by
15952 Provide completion for the "<section> <name>" format as well.
15953 (Man-default-man-entry): Remove spurious var shadowing the argument.
15955 2009-11-26 Kevin Ryde <user42@zip.com.au>
15957 * log-view.el: Add "Keywords: tools", since its other keywords
15958 aren't in finder-known-keywords, and following vc.el.
15960 * sha1.el (sha1-string-external): default-directory "/" in case
15961 otherwise non-existent. process-connection-type pipe for touch of
15962 efficiency recommended by elisp manual. (An aside in Bug#3911.)
15964 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15966 Misc coding convention cleanups.
15967 * htmlfontify.el (hfy-init-kludge-hook): Rename from
15968 hfy-init-kludge-hooks.
15969 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
15970 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
15971 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
15973 (hfy-slant, hfy-weight): Use tables rather than code.
15974 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
15975 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
15976 (hfy-face-attr-for-class): Initialize `face-spec' directly.
15977 (hfy-face-to-css): Remove `nconc' with single arg.
15978 (hfy-p-to-face-lennart): Use `or'.
15979 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
15980 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
15981 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15982 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15983 (hfy-force-fontification): Use run-hooks.
15985 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
15987 Various minor fixes.
15988 * htmlfontify.el (hfy-default-header): Add toggle_invis since
15989 Javascript belongs in the header, not the body.
15990 (hfy-javascript): Remove.
15991 (hfy-fontify-buffer): Don't insert it any more.
15992 (hfy-face-at): Handle (face0 face1 face2) style face properties.
15993 Fix bug in invis handling when there were no invis props in a chunk.
15995 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15997 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15999 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
16001 * finder.el (finder-mode-map): Add a menu.
16003 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
16005 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
16006 "unsigned" structs.
16008 (verilog-leap-to-head, verilog-backward-token): Handle "disable
16009 fork" statement better.
16011 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
16013 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
16014 (verilog-delete-auto, verilog-delete-empty-auto-pair)
16015 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
16016 Reported by Clay Douglass.
16018 (verilog-auto-inst, verilog-auto-star-safe)
16019 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
16020 Fix removing "// Interfaces" when saving .* expansions.
16021 Reported by Pierre-David Pfister.
16023 2009-11-26 Glenn Morris <rgm@gnu.org>
16025 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
16028 2009-11-25 Johan Bockgård <bojohan@gnu.org>
16030 * vc-annotate.el (vc-annotate-revision-previous-to-line):
16031 Really use previous revision.
16033 2009-11-25 Kevin Ryde <user42@zip.com.au>
16035 * man.el (Man-completion-table): default-directory "/" in case
16036 doesn't otherwise exist. process-environment COLUMNS=999 so as
16037 not to truncate long names. process-connection-type pipe to avoid
16038 any chance of hitting the pseudo-tty TIOCGWINSZ.
16039 (man): completion-ignore-case t for friendliness and since man
16040 itself is case-insensitive on the command line.
16041 Further to Bug#3717.
16043 * arc-mode.el: Add "Keywords: files", so the details in its
16044 commentary can be reached from finder-by-keyword.
16045 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
16046 editing mode, but it's comms related and sgml-mode.el has "comm"
16048 * textmodes/bibtex-style.el: Add "Keywords: tex".
16049 * international/isearch-x.el, international/ja-dic-cnv.el:
16050 * international/ja-dic-utl.el, international/kkc.el:
16051 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
16053 2009-11-25 Juri Linkov <juri@jurta.org>
16055 * man.el (Man-completion-table): Modify regexp to include
16056 section names to completion strings. (Bug#3717)
16058 2009-11-25 Juri Linkov <juri@jurta.org>
16060 Search recursively in gzipped files. (Bug#4982)
16062 * progmodes/grep.el (grep-highlight-matches): Add new options
16063 `always' and `auto'. Doc fix.
16064 (grep-process-setup): Check `grep-highlight-matches' for
16065 `auto-detect' to determine the need to compute grep defaults.
16066 Move Windows/DOS specific --colors settings handling
16067 to `grep-compute-defaults'. Check `grep-highlight-matches'
16068 to get the value of "--color=".
16069 (grep-compute-defaults): Compute `grep-highlight-matches' when it
16070 has the value `auto-detect'. Move Windows/DOS specific settings
16071 from `grep-process-setup'.
16072 (zrgrep): New command with alias `rzgrep'.
16074 2009-11-25 Juri Linkov <juri@jurta.org>
16076 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
16077 to nil instead of switching off view-mode. (Bug#4896)
16079 2009-11-25 Juri Linkov <juri@jurta.org>
16081 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
16083 * mwheel.el (mwheel-scroll-up-function)
16084 (mwheel-scroll-down-function): New defvars.
16085 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
16086 `scroll-up', and `mwheel-scroll-down-function' instead of
16089 * doc-view.el (doc-view-scroll-up-or-next-page)
16090 (doc-view-scroll-down-or-previous-page): Add optional ARG.
16091 Use this ARG in the call to image-scroll-up/image-scroll-down.
16092 Change `interactive' spec to "P". Goto next/previous page only
16093 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
16094 SPC/DEL case). Doc fix.
16095 (doc-view-next-line-or-next-page)
16096 (doc-view-previous-line-or-previous-page): Rename arg to ARG
16098 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
16099 `doc-view-scroll-up-or-next-page', and buffer-local
16100 `mwheel-scroll-down-function' to
16101 `doc-view-scroll-down-or-previous-page'.
16103 2009-11-25 Juri Linkov <juri@jurta.org>
16105 Provide additional default values (directories at other Dired
16106 windows) via M-n in the minibuffer of some Dired commands.
16108 * dired-aux.el (dired-diff, dired-compare-directories)
16109 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
16110 `minibuffer-default' in `minibuffer-with-setup-hook'.
16111 (dired-dwim-target-directory): Find a window that displays Dired
16112 buffer instead of failing when the next window is not Dired.
16113 Use `get-window-with-predicate' to find for the next Dired window.
16114 (dired-dwim-target-defaults): New function.
16116 * ediff-util.el (ediff-read-file-name):
16117 Use `dired-dwim-target-defaults' to set `minibuffer-default'
16118 in `minibuffer-with-setup-hook'.
16120 2009-11-25 Juri Linkov <juri@jurta.org>
16122 Provide additional default values (file name at point or at the
16123 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
16125 * minibuffer.el (read-file-name-defaults): New function.
16126 (read-file-name): Reset `minibuffer-default' to nil when
16127 it duplicates initial input `insdef'.
16128 Bind `minibuffer-default-add-function' to lambda that
16129 calls `read-file-name-defaults' in `minibuffer-selected-window'.
16130 (minibuffer-insert-file-name-at-point): New command.
16132 * files.el (file-name-at-point-functions): New defcustom.
16133 (find-file-default): Remove defvar.
16134 (find-file-read-args): Don't use `find-file-default'.
16135 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
16136 to `read-file-name'.
16137 (find-file-literally): Use `read-file-name' with
16138 `confirm-nonexistent-file-or-buffer'.
16140 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
16142 * dired.el (dired-read-dir-and-switches):
16143 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
16144 to `read-file-name'.
16145 (dired-file-name-at-point): New function.
16146 (dired-mode): Add hook `dired-file-name-at-point' to
16147 `file-name-at-point-functions'.
16149 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
16151 Really make the *Completions* window soft-dedicated (bug#5030).
16152 * window.el (window--display-buffer-2): Add `dedicated' argument.
16153 (display-buffer): Pass it when needed so the dedicated flag is set
16154 after calling set-window-buffer, which would otherwise reset it.
16156 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
16158 * progmodes/meta-mode.el (meta-complete-symbol):
16159 * progmodes/etags.el (complete-tag):
16160 * mail/mailabbrev.el (mail-abbrev-complete-alias):
16161 Use completion-in-region.
16163 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
16164 (dabbrev-completion): Use completion-in-region.
16165 (dabbrev--abbrev-at-point): Simplify regexp.
16167 * abbrev.el (abbrev--before-point): Use word-motion functions
16168 if :regexp is not specified (bug#5031).
16170 * subr.el (string-prefix-p): New function.
16172 * man.el (Man-completion-cache): New var.
16173 (Man-completion-table): Use it.
16175 * vc.el (vc-print-log-internal): Make `limit' optional for better
16176 compatibility (e.g. with vc-annotate.el).
16178 2009-11-24 Kevin Ryde <user42@zip.com.au>
16180 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
16181 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
16183 * emacs-lisp/elint.el (elint-add-required-env): Better error message
16184 when .el source file not found or other error.
16186 2009-11-24 Markus Triska <markus.triska@gmx.at>
16188 * linum.el (linum-update-window): Ignore intangible (bug#4996).
16190 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
16192 Handle the [back] button properly (bug#4979).
16193 * descr-text.el (describe-text-properties): Add a `buffer' argument.
16194 Use help-setup-xref, help-buffer, and with-help-window.
16195 (describe-char): Add `buffer' argument.
16196 Pass proper command to help-setup-xref. Don't meddle with
16197 help-xref-stack-item directly.
16198 (describe-text-category): Use with-help-window and help-buffer.
16200 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
16201 for the displayed buffer (bug#4887).
16203 * man.el (Man-completion-table): New function.
16206 2009-11-24 David Reitter <david.reitter@gmail.com>
16208 * vc-git.el (vc-git-registered): Use checkout directory (where
16209 .git is) rather than the file's directory and a relative path spec
16210 to work around a bug in git.
16212 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
16214 Improve handling of processes on remote hosts.
16216 * eshell/esh-util.el (eshell-path-env): New defvar.
16217 (eshell-parse-colon-path): New defun.
16218 (eshell-file-attributes): Use `eshell-parse-colon-path'.
16220 * eshell/esh-ext.el (eshell-search-path):
16221 Use `eshell-parse-colon-path'.
16222 (eshell-remote-command): Remove argument HANDLER.
16223 (eshell-external-command): Check for FTP remote connection.
16225 * eshell/esh-proc.el (eshell-gather-process-output):
16226 Use `file-truename', in order to start also symlinked files.
16227 Apply `start-file-process' instead of `start-process'.
16228 Shorten `command' to the local file name part.
16230 * eshell/em-cmpl.el (eshell-complete-commands-list):
16231 Use `eshell-parse-colon-path'.
16233 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
16235 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
16236 to `eshell-directory-change-hook'.
16238 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
16240 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
16241 because it could be enabled automatically if view-read-only is non-nil.
16243 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
16245 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
16246 made on 2009-11-22.
16248 2009-11-24 Glenn Morris <rgm@gnu.org>
16250 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
16251 deleted variable bookmark-bmenu-bookmark-column.
16253 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
16255 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
16257 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
16259 * net/browse-url.el (browse-url-filename-alist): On Windows, add
16260 two slashes to the "file:" prefix.
16261 (browse-url-file-url): De-munge Cygwin filenames before passing
16262 them to Windows browser.
16263 (browse-url-default-windows-browser): Use call-process.
16265 2009-11-23 Juri Linkov <juri@jurta.org>
16267 Implement DocView Continuous mode. (Bug#4896)
16268 * doc-view.el (doc-view-continuous-mode): New defcustom.
16269 (doc-view-mode-map): Bind C-n/<down> to
16270 `doc-view-next-line-or-next-page', C-p/<up> to
16271 `doc-view-previous-line-or-previous-page'.
16272 (doc-view-next-line-or-next-page)
16273 (doc-view-previous-line-or-previous-page): New commands.
16275 2009-11-23 Juri Linkov <juri@jurta.org>
16277 Implement Isearch in comint input history. (Bug#3746)
16278 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
16279 `isearch-mode-hook'.
16280 (comint-history-isearch): New defcustom.
16281 (comint-history-isearch-backward)
16282 (comint-history-isearch-backward-regexp): New commands.
16283 (comint-history-isearch-message-overlay): New buffer-local variable.
16284 (comint-history-isearch-setup, comint-history-isearch-end)
16285 (comint-goto-input, comint-history-isearch-search)
16286 (comint-history-isearch-message, comint-history-isearch-wrap)
16287 (comint-history-isearch-push-state)
16288 (comint-history-isearch-pop-state): New functions.
16290 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
16292 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
16294 (tramp-handle-make-symbolic-link)
16295 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
16297 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
16298 (tramp-handle-process-file): Use it.
16300 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
16302 * window.el (move-to-window-line-last-op): Remove.
16303 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
16305 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
16307 Make M-r mirror the new cycling behavior of C-l.
16308 * window.el (move-to-window-line-last-op): New var.
16309 (move-to-window-line-top-bottom): New command.
16310 (global-map): Bind M-r move-to-window-line-top-bottom.
16312 2009-11-23 Sven Joachim <svenjoac@gmx.de>
16314 * dired-x.el (dired-guess-shell-alist-default):
16315 Support xz format. (Bug#4953)
16317 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
16319 * emulation/viper-cmd.el: Use viper-last-command-char instead of
16320 last-command-char/last-command-event.
16321 (viper-prefix-arg-value): Do correct conversion of event-char for
16324 * emulation/viper-util.el, emulation/viper.el:
16325 Use viper-last-command-char instead of
16326 last-command-char/last-command-event.
16328 * ediff-init.el, ediff-mult.el, ediff-util.el:
16329 Replace last-command-char and last-command-event
16330 with (ediff-last-command-char) everywhere.
16332 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
16333 created in fundamental mode.
16335 * ediff.el (ediff-version): Revert the change of interactive-p to
16336 called-interactively-p.
16338 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
16340 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
16341 generation from word-movement command names.
16343 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
16345 * cus-start.el (all): Add native condition for font-use-system-font.
16347 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
16349 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
16350 Correct the patch from 2009-11-18. (Bug#3910)
16352 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
16354 * progmodes/subword.el: Rename from lisp/subword.el.
16356 * subword.el: Rename to progmodes/subword.el.
16358 * Makefile.in (ELCFILES): Adapt to subword.el move.
16360 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16361 Stefan Monnier <monnier@iro.umontreal.ca>
16363 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
16364 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
16365 (bookmark-bmenu-show-filenames): Use push.
16366 (bookmark-bmenu-hide-filenames): Use local var instead of
16367 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
16368 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
16369 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
16370 filenames now that the bookmark names are always available.
16372 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16374 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
16375 (bookmark-search-pattern): Move and leave unbound.
16376 (bookmark-bmenu-mode-map): Change binding.
16377 (bookmark-read-search-input): Simplify.
16378 Don't use text-char-description. Don't error on non-char events.
16379 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
16380 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
16381 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
16382 Use a local var for the timer.
16383 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
16384 (i.e. bookmark-bmenu-search).
16386 2009-11-21 Glenn Morris <rgm@gnu.org>
16388 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
16390 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
16392 * net/browse-url.el (browse-url-default-windows-browser):
16393 Use cygstart for cygwin.
16395 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
16397 * bookmark.el: Formatting and doc fixes only:
16398 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
16399 (bookmark-bmenu-search): Wrap to fit within 80 columns.
16400 Minor grammar and punctuation fixes in doc string.
16401 (bookmark-read-search-input): Adjust to fit within 80 columns.
16403 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16405 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
16406 (c-backward-into-nomenclature): Adapt to subword renaming.
16408 * subword.el (subword-forward, subword-backward, subword-mark)
16409 (subword-kill, subword-backward-kill, subword-transpose)
16410 (subword-downcase, subword-upcase, subword-capitalize)
16411 (subword-forward-internal, subword-backward-internal):
16412 Rename from forward-subword, backward-subword, mark-subword,
16413 kill-subword, backward-kill-subword, transpose-subwords,
16414 downcase-subword, upcase-subword, capitalize-subword,
16415 forward-subword-internal, backward-subword-internal.
16417 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16419 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
16421 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
16423 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
16424 (bookmark-bmenu-filter-alist-by-regexp)
16425 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
16426 (bookmark-bmenu-search): New command.
16427 (bookmark-bmenu-mode-map): Bind it.
16429 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16431 * progmodes/cc-cmds.el: declare-functioned forward-subword and
16432 backward-subword to quit the byte-compiler.
16434 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
16436 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
16438 * progmodes/cc-cmds.el (c-update-modeline)
16439 (c-forward-into-nomenclature, c-backward-into-nomenclature):
16440 Refer to subword.el functions instead of cc-subword.el.
16442 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
16443 subword.el functions instead of cc-subword.el.
16445 * progmodes/cc-subword.el: Rename to subword.el.
16446 * subword.el: Rename from progmodes/cc-subword.el.
16447 (subword-mode-map): Rename from c-subword-mode-map.
16448 (subword-mode): Rename from c-subword-mode.
16449 (global-subword-mode): New global minor mode.
16450 (forward-subword): Rename from c-forward-subword.
16451 (backward-subword): Rename from c-backward-subword.
16452 (mark-subword): Rename from c-mark-subword.
16453 (kill-subword): Rename from c-kill-subword.
16454 (backward-kill-subword): Rename from c-backward-kill-subword.
16455 (transpose-subwords): Rename from c-tranpose-subword.
16456 (downcase-subword): Rename from c-downcase-subword.
16457 (capitalize-subword): Rename from c-capitalize-subword.
16458 (forward-subword-internal): Rename from c-forward-subword-internal.
16459 (backward-subword-internal): Rename from c-backward-subword-internal.
16461 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
16463 * vc.el (vc-deduce-fileset): Allow non-state changing operations
16464 from a dired buffer.
16465 (vc-dired-deduce-fileset): New function.
16466 (vc-root-diff, vc-print-root-log): Use it.
16468 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
16469 nil LIMIT argument to vc-print-log-internal.
16471 2009-11-20 Glenn Morris <rgm@gnu.org>
16473 * Makefile.in (ELCFILES): Regenerate.
16475 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
16477 * calc/calc.el (calc-set-mode-line):
16478 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16479 (math-format-number): Rename `math-format-complement-signed' to
16480 `math-format-twos-complement'.
16482 * calc/calc-bin.el (math-format-twos-complement): Rename from
16483 math-format-complement-signed.
16484 (calc-radix): Rename `calc-complement-signed-mode' to
16485 `calc-twos-complement-mode'.
16486 (calc-octal-radix, calc-hex-radix): Add an argument for
16489 * calc/calc-embed.el (calc-embedded-mode-vars):
16490 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16492 * calc/calc-ext.el (calc-init-extensions):
16493 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16494 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
16496 * calc/calc-units.el (math-build-units-table-buffer):
16497 Let `calc-twos-complement-mode' be nil.
16499 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
16502 * calc/calc-vec.el (calcFunc-vunpack):
16503 * calc/calc-aent.el (calc-do-calc-eval):
16504 * calc/calc-forms.el (math-format-date):
16505 * calc/calc-graph.el (calc-graph-plot):
16506 * calc/calc-math.el (math-use-emacs-fn):
16507 * calc/calccomp.el (math-compose-expr):
16508 Let `calc-twos-complement-mode' be nil.
16510 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16512 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
16513 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
16514 * minibuffer.el (completion-in-region-functions): New hook.
16515 (completion-in-region): New function.
16516 * emacs-lisp/lisp.el (lisp-complete-symbol):
16517 * pcomplete.el (pcomplete-std-complete): Use it.
16519 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16521 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
16522 (latex-complete-alist): New vars.
16523 (latex-string-prefix-p, latex-complete-bibtex-keys)
16524 (latex-complete-envnames, latex-complete-refkeys)
16525 (latex-complete-data): New functions.
16526 (latex-complete, latex-indent-or-complete): New commands.
16528 * window.el (display-buffer-mark-dedicated): New var.
16529 (display-buffer): Obey it.
16530 * minibuffer.el (minibuffer-completion-help): Use it.
16532 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
16534 * filecache.el (file-cache-add-file): Use push and cons.
16535 (file-cache-delete-file-regexp): Use push.
16536 (file-cache-complete): Use completion-in-region.
16538 * simple.el (with-wrapper-hook): Fix thinko.
16540 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
16541 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
16542 Use with-current-buffer and string-to-number.
16543 (hfy-fallback-colour-values): Use assoc-string.
16544 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
16545 (hfy-face-at): Remove unused var `found-face'.
16546 (hfy-compile-stylesheet): Remove unused var `css'.
16547 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
16549 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
16550 Use with-current-buffer.
16551 (hfy-text-p): Use expand-file-name and fewer setq.
16553 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
16555 * htmlfontify.el, hfy-cmap.el: New files.
16557 2009-11-19 Juri Linkov <juri@jurta.org>
16559 * minibuffer.el (completions-format): New defcustom.
16560 (completion--insert-strings): Implement vertical format.
16562 * simple.el (switch-to-completions): Move point to the first
16563 completion when point was at the beginning of the buffer.
16565 2009-11-19 Juri Linkov <juri@jurta.org>
16567 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
16569 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
16571 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
16573 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
16574 (mail-signature): Change default to t.
16575 (mail-from-style): Deprecate `system-default' value.
16576 (mail-insert-from-field): For default value of mail-from-style,
16577 default to `angles' unless `angles' needs quoting and `parens'
16579 (mail-citation-prefix-regexp): Use citation regexp from
16582 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
16584 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
16585 Set variables for computing the prompt for reading password.
16587 2009-11-19 Glenn Morris <rgm@gnu.org>
16589 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
16591 * textmodes/flyspell.el (sgml-lexical-context): Declare.
16593 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
16594 (newsticker-treeview-listwindow-height): Fix custom type.
16596 2009-11-19 Kenichi Handa <handa@m17n.org>
16598 * descr-text.el (describe-char-padded-string): Compose with TAB
16599 only if there's a font for CH.
16600 (describe-char): Fix the condition for detecting a trivial composition.
16602 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
16604 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
16605 more accurate version of the regexp. (Bug#3910)
16607 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16609 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
16611 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
16613 * font-setting.el (font-use-system-font): Declare for byte-compiler.
16614 (font-setting-change-default-font): Fix typo in docstring.
16616 2009-11-18 Alan Mackenzie <acm@muc.de>
16618 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
16620 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16622 * font-setting.el (font-use-system-font): Move ...
16624 * cus-start.el (all): ... to here.
16626 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
16628 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
16629 Don't set `ad-return-value' if `ad-do-it' doesn't.
16631 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
16634 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16636 * menu-bar.el: Put "Use system font" in Option-menu.
16637 (menu-bar-options-save): Add font-use-system-font.
16639 * loadup.el: If feature system-font-setting or font-render-setting is
16640 there, load font-setting.
16642 * Makefile.in (ELCFILES): Add font-settings.el.
16643 * font-setting.el: New file.
16645 2009-11-17 Glenn Morris <rgm@gnu.org>
16647 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
16649 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
16650 Preserve point in the list buffer. (Bug#4939)
16652 (newsticker--treeview-list-update-highlight)
16653 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
16655 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16657 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
16660 * calc/calc-ext.el (calc-init-extensions): Remove references to
16663 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
16665 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
16666 * calc/calc-help.el (calc-b-prefix-help): Remove references to
16669 2009-11-16 Kevin Ryde <user42@zip.com.au>
16671 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16672 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
16674 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
16675 (lm-keywords-list): Allow comma-only separator like "foo,bar".
16676 Ignore trailing spaces by omit-nulls to split-string (fixing
16677 regression from Emacs 21 due to the incompatible split-string
16678 change). (Bug #4928.)
16680 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
16682 * vc.el (vc-log-show-limit): Default to 2000.
16683 (vc-print-log-internal): Insert buttons to request more entries
16684 when limiting the output.
16686 * vc-sccs.el (vc-sccs-print-log):
16687 * vc-rcs.el (vc-rcs-print-log):
16688 * vc-cvs.el (vc-cvs-print-log):
16689 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
16692 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16694 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
16695 error when `tramp-gvfs-dbus-event-vector' is set.
16696 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
16698 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16700 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
16702 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16704 * net/dbus.el (dbus-unregister-service): New defun.
16705 (dbus-register-property): Register the handlers of
16706 "org.freedesktop.DBus.Properties" for SERVICE.
16707 (dbus-property-handler): Fix docstring.
16709 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16711 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16712 Quote doc string reference in defvaralias as it is not in special form.
16713 (byte-compile-output-docform): Doc fix.
16715 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16717 * calc/calc.el (math-2-word-size, math-half-2-word-size)
16718 (calc-complement-signed-mode): New variables.
16719 (calc-set-mode-line): Add indicator for twos-complements.
16720 (math-format-number): Format twos-complement notation.
16722 * calc/calc-bin.el (calc-word-size): Reset the variables
16723 `math-2-word-size' and `math-half-2-word-size'.
16724 (math-format-complement-signed, math-symclip, calcFunc-symclip)
16725 (calc-symclip): New functions.
16727 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16729 * calc/calc-embed.el (calc-embedded-mode-vars):
16730 Add `calc-complement-signed-mode' to the list of modes.
16732 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16733 (calc-b-oper-keys): Add `calc-symclip' to list.
16735 * calc/calc-ext.el (math-read-number-fancy): Read complement
16737 (calc-init-extensions): Add binding for `calc-symclip'.
16738 Add autoload for `calcFunc-symclip' and `calc-symclip'.
16740 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16742 (calc-modes-menu): Add item for twos complement mode.
16744 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16746 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16748 * register.el (jump-to-register, insert-register): Handle Semantic
16749 tags. From commented-out advice in semantic/senator.el.
16751 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
16753 * vc.el (vc-log-show-limit): New variable.
16754 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
16755 when using a prefix argument.
16756 (vc-print-log-internal): Add new argument LIMIT.
16758 * vc-svn.el (vc-svn-print-log):
16759 * vc-mtn.el (vc-mtn-print-log):
16760 * vc-hg.el (vc-hg-print-log):
16761 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16762 pass it to the log command when set. Make the BUFFER argument
16765 * vc-sccs.el (vc-sccs-print-log):
16766 * vc-rcs.el (vc-rcs-print-log):
16767 * vc-git.el (vc-git-print-log):
16768 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16769 ignore it. Make the BUFFER argument non-optional.
16771 * bindings.el (mode-line-buffer-identification): Do not purecopy.
16773 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16775 * dired.el (dired-mode-map): Move encryption items to "Operate"
16778 * strokes.el (strokes-update-window-configuration): Make strokes
16779 buffer current before erasing (Bug#4906).
16781 2009-11-15 Juri Linkov <juri@jurta.org>
16783 * simple.el (set-mark-default-inactive): Add :type, :group
16784 and :version. (Bug#4876)
16786 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
16788 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16789 (archive-unique-fname): ... here. (Bug#4929)
16791 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
16793 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16796 * novice.el (disabled-command-function): Add useful args.
16797 Setup the help buffer so that [back] works.
16798 Remove redundant call to help-mode.
16799 (disabled-command-function): Use `case'.
16800 (en/disable-command): New function extracted from enable-command.
16801 (enable-command, disable-command): Use it.
16803 2009-11-14 Glenn Morris <rgm@gnu.org>
16805 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16806 constants. (Bug#4913)
16808 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16810 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
16812 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16813 defined in C that have no doc-strings. (Bug#1063)
16815 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
16817 * cus-edit.el (data, files):
16818 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
16820 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
16822 * simple.el (shell-command): Doc fix (Bug#4891).
16824 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16826 2009-11-14 Glenn Morris <rgm@gnu.org>
16828 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16829 statements for vc-diff, emerge-quit, and rmail-cease-edit.
16830 If they are already loaded, eval-after-load will do the right thing.
16832 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16835 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16837 * simple.el (x-selection-owner-p): Declare.
16838 (read-mail-command): Use custom radio type rather than choice.
16839 (completion-no-auto-exit): Doc fix.
16841 * custom.el (defgroup):
16842 * epg-config.el (epg): Doc fixes.
16844 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
16846 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16847 * international/ccl.el (define-ccl-program): Do not purecopy the
16848 docstring, defconst does it anyway.
16850 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16852 * add-log.el (add-change-log-entry): Avoid displaying the changelog
16855 * x-dnd.el (x-dnd-maybe-call-test-function):
16856 * window.el (split-window-vertically):
16857 * whitespace.el (whitespace-help-on):
16858 * vc-rcs.el (vc-rcs-consult-headers):
16859 * userlock.el (ask-user-about-lock-help)
16860 (ask-user-about-supersession-help):
16861 * type-break.el (type-break-force-mode-line-update):
16862 * time-stamp.el (time-stamp-conv-warn):
16863 * terminal.el (te-set-output-log, te-more-break, te-filter)
16864 (te-sentinel, terminal-emulator):
16865 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16866 (term-write-input-ring, term-check-source, term-start-output-log):
16867 (term-display-buffer-line, term-dynamic-list-completions):
16868 (term-ansi-make-term, serial-term):
16869 * subr.el (selective-display):
16870 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16871 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16872 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16873 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16874 (speedbar-remove-localized-speedbar-support)
16875 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16876 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16877 (speedbar-buffers-line-directory):
16878 * simple.el (shell-command-on-region, append-to-buffer)
16879 (prepend-to-buffer):
16880 * shadowfile.el (shadow-save-todo-file):
16881 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16882 (scroll-bar-maybe-set-window-start):
16883 * sb-image.el (speedbar-image-dump):
16884 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16885 (load-save-place-alist-from-file):
16886 * ps-samp.el (ps-print-message-from-summary):
16887 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16888 (ps-background-image, ps-begin-job, ps-do-despool):
16889 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16890 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16891 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16892 (pr-call-process, pr-file-list, pr-interface-save):
16893 * novice.el (disabled-command-function)
16894 (enable-command, disable-command):
16895 * mouse.el (mouse-buffer-menu-alist):
16896 * mouse-copy.el (mouse-kill-preserving-secondary):
16897 * macros.el (kbd-macro-query):
16898 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16899 * informat.el (batch-info-validate):
16900 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16901 * hippie-exp.el (try-expand-dabbrev-visible):
16902 * help-mode.el (help-make-xrefs):
16903 * help-fns.el (describe-variable):
16904 * generic-x.el (bat-generic-mode-run-as-comint):
16905 * finder.el (finder-mouse-select):
16906 * find-dired.el (find-dired-sentinel):
16907 * filesets.el (filesets-file-close):
16908 * files.el (list-directory):
16909 * faces.el (list-faces-display, describe-face):
16910 * facemenu.el (list-colors-display):
16911 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16912 * epg.el (epg--process-filter, epg-cancel):
16913 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16914 (epa--read-signature-type):
16915 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16916 (emerge-file-names):
16917 * ehelp.el (electric-helpify):
16918 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
16919 * ediff-vers.el (rcs-ediff-view-revision):
16920 * ediff-util.el (ediff-setup):
16921 * ediff-mult.el (ediff-append-custom-diff):
16922 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16924 * echistory.el (Electric-command-history-redo-expression):
16925 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
16926 * disp-table.el (describe-display-table):
16927 * dired.el (dired-find-buffer-nocreate):
16928 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
16929 * dabbrev.el (dabbrev--same-major-mode-p):
16930 * chistory.el (list-command-history):
16931 * apropos.el (apropos-documentation):
16932 * allout.el (allout-obtain-passphrase):
16933 (allout-copy-exposed-to-buffer):
16934 (allout-verify-passphrase): Use with-current-buffer.
16936 2009-11-13 Glenn Morris <rgm@gnu.org>
16938 * Makefile.in (ELCFILES): Regenerate.
16940 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
16942 * net/dbus.el (dbus-registered-objects-table): Rename from
16943 `dbus-registered-functions-table', because it contains also properties.
16944 (dbus-unregister-object): Unregister also properties.
16945 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16946 Use a timeout of 500 msec, in order to not block.
16947 (dbus-register-property, dbus-property-handler): New defuns.
16949 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16951 * simple.el (minibuffer-default-add-completions): Drop deprecated
16954 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
16956 * textmodes/artist.el (artist-mouse-choose-operation):
16957 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
16958 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
16959 (artist-compute-up-event-key): New function.
16960 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
16962 2009-11-13 Kenichi Handa <handa@m17n.org>
16964 * language/japan-util.el: Make sure that the value of jisx0208
16965 property is jisx0208 character.
16967 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
16969 * international/mule.el (auto-coding-regexp-alist): Only purecopy
16970 car or each item, not the whole list.
16972 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
16974 * minibuffer.el (minibuffer-completion-help):
16975 Use minibuffer-hide-completions.
16977 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
16979 * dired.el (dired-save-positions, dired-restore-positions): New funs.
16980 (dired-revert): Use them (bug#4880).
16982 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16984 * tooltip.el (tooltip-frame-parameters): Undo previous change.
16986 2009-11-12 Juri Linkov <juri@jurta.org>
16988 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16990 (find-file-literally-at-point): Alias of `ffap-literally'.
16992 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16994 * textmodes/ispell.el (ispell-skip-region-alist):
16995 * textmodes/css-mode.el (auto-mode-alist):
16996 * progmodes/compile.el (auto-mode-alist):
16997 * international/mule.el (ctext-non-standard-encodings-alist)
16998 (ctext-non-standard-encodings-regexp):
16999 * simple.el (shell-command-switch, text-read-only):
17000 * replace.el (occur-mode-map):
17001 * paths.el (rmail-file-name):
17002 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
17003 * find-file.el (ff-special-constructs):
17004 * files.el (file-name-handler-alist):
17005 * composite.el: Purecopy strings.
17007 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
17009 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
17011 * widget.el (define-widget): Purecopy the docstring.
17012 * international/mule-cmds.el (charset): Do not purecopy the
17013 docstring here, define-widget does it.
17015 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
17016 * textmodes/bibtex-style.el (auto-mode-alist):
17017 * progmodes/inf-lisp.el (inferior-lisp-prompt):
17018 * progmodes/compile.el (compile-command):
17019 * language/korea-util.el (default-korean-keyboard):
17020 * international/mule-conf.el (file-coding-system-alist):
17021 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
17022 * tooltip.el (tooltip-frame-parameters):
17023 * newcomment.el (comment-end, comment-padding):
17024 * dired.el (dired-trivial-filenames):
17025 * comint.el (comint-file-name-prefix): Purecopy initial values.
17027 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
17029 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
17030 (tramp-advice-minibuffer-electric-tilde): Unload advices via
17032 (tramp-advice-make-auto-save-file-name)
17033 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
17034 after removing the advice.
17036 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
17038 * progmodes/grep.el (grep-regexp-alist):
17039 * international/mule-cmds.el (iso-2022-control-alist):
17040 * emacs-lisp/timer.el (timer-duration-words):
17041 * subr.el (version-separator, version-regexp-alist):
17042 * minibuffer.el (completion-styles-alist):
17043 * faces.el (face-attribute-name-alist, list-faces-sample-text):
17044 Change defvars to defconsts.
17046 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
17047 * loadup.el ("international/mule-conf"): Load the byte compiled version.
17048 * international/mule-conf.el: Allow to be byte compiled.
17050 * international/mule.el (define-charset): Purecopy props.
17051 (load-with-code-conversion): Purecopy doc string and file name.
17052 (put-charset-property): Purecopy strings.
17053 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
17055 * international/mule-cmds.el (register-input-method): Purecopy arguments.
17056 (define-char-code-property): Correctly purecopy the table.
17058 * international/ccl.el (define-ccl-program): Purecopy the docstring.
17060 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
17062 * subr.el (add-hook): Purecopy strings.
17063 (eval-after-load): Purecopy load-history-regexp and the form.
17065 * custom.el (custom-declare-group): Purecopy load-file-name.
17067 * subr.el (menu-bar-separator): New defconst.
17068 * net/eudc.el (eudc-tools-menu):
17069 * international/mule-cmds.el (set-coding-system-map)
17070 (mule-menu-keymap):
17071 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17072 * vc-hooks.el (vc-menu-map):
17073 * replace.el (occur-mode-map):
17074 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
17075 (menu-bar-edit-menu, menu-bar-goto-menu)
17076 (menu-bar-custom-menu, menu-bar-showhide-menu)
17077 (menu-bar-options-menu, menu-bar-tools-menu)
17078 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
17079 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
17080 (menu-bar-help-menu):
17081 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
17082 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
17084 * term/x-win.el (x-gtk-stock-map):
17085 * progmodes/vera-mode.el (auto-mode-alist):
17086 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
17087 (inferior-lisp-program, inferior-lisp-load-command):
17088 * progmodes/hideshow.el (hs-special-modes-alist):
17089 * progmodes/gud.el (same-window-regexps):
17090 * progmodes/grep.el (grep-program, find-program, xargs-program):
17091 * net/telnet.el (same-window-regexps):
17092 * net/rlogin.el (same-window-regexps):
17093 * language/ethiopic.el (font-ccl-encoder-alist):
17094 * vc-sccs.el (vc-sccs-master-templates):
17095 * vc-rcs.el (vc-rcs-master-templates):
17096 * subr.el (cl-assertion-failed):
17097 * simple.el (next-error-overlay-arrow-position):
17098 * lpr.el (lpr-command):
17099 * locate.el (locate-ls-subdir-switches):
17100 * info.el (same-window-regexps, info)
17101 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
17102 * image-mode.el (image-mode, auto-mode-alist):
17103 * hippie-exp.el (hippie-expand-ignore-buffers):
17104 * format.el (format-alist):
17105 * find-dired.el (find-ls-subdir-switches, find-grep-options)
17107 * facemenu.el (facemenu-keybindings):
17108 * dired.el (dired-listing-switches, dired-chown-program):
17109 * diff.el (diff-switches, diff-command):
17110 * cus-edit.el (same-window-regexps):
17111 * bindings.el (mode-line-mule-info)
17112 (mode-line-buffer-identification): Purecopy strings.
17114 2009-11-11 Juri Linkov <juri@jurta.org>
17116 * simple.el (dired-get-filename) <declare-function>:
17117 Tell the byte-compiler about dired-get-filename.
17118 (shell-command): In Dired mode, get filename from the current line
17119 as the default value.
17121 2009-11-10 Glenn Morris <rgm@gnu.org>
17123 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
17124 * calendar/holidays.el, progmodes/cperl-mode.el:
17125 Update x-popup-menu declarations.
17127 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
17128 (list-load-path-shadows): Use dolist.
17129 (list-load-path-shadows): Use with-current-buffer.
17131 2009-11-10 Juri Linkov <juri@jurta.org>
17133 * minibuffer.el (read-file-name): Support a list of default values
17134 in `default-filename'. Use the first file name where only one
17135 element is required. Doc fix.
17137 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
17139 * net/dbus.el (dbus-unregister-object): Release service, if no
17140 other method is registered for it.
17142 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
17144 * bookmark.el (bookmark-completing-read): Sort bookmark names if
17145 bookmark-sort-flag is non-nil (Bug#4653).
17147 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
17149 * emulation/cua-base.el: Add CUA property to some CC mode commands
17152 2009-11-08 Kevin Ryde <user42@zip.com.au>
17154 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
17155 at end of sentence (Bug#4818).
17157 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
17159 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17160 Handle "see declaration of" MSFT statements (Bug#4100).
17162 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
17164 * net/tramp.el (tramp-advice-make-auto-save-file-name)
17165 (tramp-advice-file-expand-wildcards): Unload via
17166 `ad-remove-advice'.
17168 * net/trampver.el: Update release number.
17170 2009-11-08 Kevin Ryde <user42@zip.com.au>
17172 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
17175 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
17177 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
17178 in order to keep context in SELinux.
17180 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
17182 * dired-aux.el (dired-query): Place cursor in echo area and allow
17185 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
17186 menu item if not on a directory (Bug#4701).
17188 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
17190 Sync with Tramp 2.1.17.
17192 * net/tramp.el (tramp-handle-copy-directory): Don't use
17193 `file-remote-p' (due to compatibility).
17195 * net/tramp-compat.el (tramp-compat-copy-directory)
17196 (tramp-compat-delete-directory): New defuns.
17198 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17199 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17200 Use `tramp-compat-delete-directory'.
17202 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
17203 (tramp-smb-handle-delete-directory):
17204 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
17206 * net/trampver.el: Update release number.
17208 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
17210 * tar-mode.el (tar-copy): Call write-region on the right buffer
17213 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
17214 by hand, if necessary (Bug#4878).
17216 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
17218 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
17219 align size column (Bug#4839).
17221 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
17224 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
17226 * progmodes/ld-script.el (auto-mode-alist):
17227 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
17229 * cus-face.el (custom-declare-face): Purecopy face spec.
17231 2009-11-06 Kenichi Handa <handa@m17n.org>
17233 * international/uni-bidi.el: Re-generated.
17234 * international/uni-category.el: Re-generated.
17235 * international/uni-combining.el: Re-generated.
17236 * international/uni-mirrored.el: Re-generated.
17238 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
17240 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
17241 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
17242 (tex-start-options, slitex-run-command, latex-run-command)
17243 (tex-run-command, tex-directory):
17244 * textmodes/ispell.el (ispell-html-skip-alists)
17245 (ispell-tex-skip-alists, ispell-tex-skip-alists):
17246 * textmodes/fill.el (adaptive-fill-first-line-regexp):
17247 (adaptive-fill-regexp):
17248 * textmodes/dns-mode.el (auto-mode-alist):
17249 * progmodes/python.el (interpreter-mode-alist):
17250 * progmodes/etags.el (tags-compression-info-list):
17251 * progmodes/etags.el (tags-file-name):
17252 * net/browse-url.el (browse-url-galeon-program)
17253 (browse-url-firefox-program):
17254 * mail/sendmail.el (mail-signature-file)
17255 (mail-citation-prefix-regexp):
17256 * international/mule-conf.el (eight-bit):
17257 * international/latexenc.el (latex-inputenc-coding-alist):
17258 * international/fontset.el (x-pixel-size-width-font-regexp):
17259 * emacs-lisp/warnings.el (warning-type-format):
17260 * emacs-lisp/trace.el (trace-buffer):
17261 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
17262 (emacs-lisp-mode-map):
17263 * calendar/holidays.el (holiday-solar-holidays)
17264 (holiday-bahai-holidays, holiday-islamic-holidays)
17265 (holiday-christian-holidays, holiday-hebrew-holidays)
17266 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
17267 (hebrew-holidays-1, holiday-oriental-holidays)
17268 (holiday-general-holidays):
17269 * x-dnd.el (x-dnd-known-types):
17270 * tool-bar.el (tool-bar):
17271 * startup.el (site-run-file):
17272 * shell.el (shell-dumb-shell-regexp):
17273 * rfn-eshadow.el (file-name-shadow-tty-properties)
17274 (file-name-shadow-properties):
17275 * paths.el (remote-shell-program, news-directory):
17276 * mouse.el ([C-down-mouse-3]):
17277 * menu-bar.el (menu-bar-tools-menu):
17278 * jka-cmpr-hook.el (jka-compr-load-suffixes)
17279 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
17280 (jka-compr-compression-info-list):
17281 * isearch.el (search-whitespace-regexp):
17282 * image-file.el (image-file-name-extensions):
17283 * find-dired.el (find-ls-option):
17284 * files.el (directory-listing-before-filename-regexp)
17285 (directory-free-space-args, insert-directory-program)
17286 (list-directory-brief-switches, magic-fallback-mode-alist)
17287 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
17288 (automount-dir-prefix):
17289 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
17290 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
17291 (face-font-registry-alternatives, face-font-registry-alternatives)
17292 (face-font-family-alternatives):
17293 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
17294 (facemenu-foreground-menu, facemenu-face-menu):
17295 * epa-hook.el (epa-file-name-regexp):
17296 * dnd.el (dnd-protocol-alist):
17297 * textmodes/rst.el (auto-mode-alist):
17298 * button.el (default-button): Purecopy strings.
17300 2009-11-06 Glenn Morris <rgm@gnu.org>
17302 * Makefile.in (ELCFILES): Update.
17304 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
17306 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
17307 * emacs-lisp/levents.el: Move to obsolete/levents.el.
17309 * nxml/xsd-regexp.el (xsdre-gen-categories):
17310 * nxml/xmltok.el (xmltok-parse-entity):
17311 * nxml/rng-parse.el (rng-parse-validate-file):
17312 * nxml/rng-maint.el (rng-format-manual)
17313 (rng-manual-output-force-new-line):
17314 * nxml/rng-loc.el (rng-save-schema-location-1):
17315 * nxml/rng-cmpct.el (rng-c-parse-file):
17316 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
17317 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
17319 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
17321 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
17322 Remove extra save-excursions and make-variable-buffer-local's.
17323 Suggested by Stefan Monnier.
17325 (verilog-getopt-file, verilog-module-inside-filename-p)
17326 (verilog-set-define): Merge GNU 1.35 and repair changes from
17327 switching to using with-current-buffer.
17329 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
17330 being treated as a number and confusing AUTORESET.
17331 Reported by Dan Dever.
17333 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
17334 Add verilog-auto-ignore-concat to fix backward compatibility with
17335 older verilog-modes. Reported by Dan Katz.
17337 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
17338 containing closing anchors "...$".
17340 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
17341 Reported by Wade Smith.
17343 (verilog-batch-execute-func): Comment on function usage.
17345 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
17347 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
17350 (verilog-label-re, verilog-calc-1): Support proper indent of named
17353 (verilog-backward-token, verilog-basic-complete-re)
17354 (verilog-beg-of-statement, verilog-indent-re): Support proper
17355 indent of the assert statement at the beginning of a block of text.
17357 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
17358 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
17361 2009-11-05 Glenn Morris <rgm@gnu.org>
17363 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
17364 Emacs 19. (Bug#1531)
17365 (byte-compile-fix-header): Update for the above change.
17366 Drop test for epoch::version.
17368 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
17369 * cus-dep.el (custom-make-dependencies):
17370 * finder.el (finder-compile-keywords):
17371 Use autoload-rubric's feature argument.
17373 * calendar/diary-lib.el (top-level): Make load behave more like require.
17375 * vc-git.el (vc-git-stash-map): Move definition before use.
17377 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
17379 * custom.el (custom-declare-group): Purecopy standard-value.
17380 (custom-declare-group): Purecopy custom-prefix.
17382 * international/mule.el (load-with-code-conversion):
17383 Call do-after-load-evaluation unconditionally.
17385 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
17387 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
17389 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
17391 2009-11-04 Glenn Morris <rgm@gnu.org>
17393 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
17394 (byte-compile-compatibility): Remove option.
17395 (byte-compile-close-variables, byte-compile-fix-header)
17396 (byte-compile-insert-header, byte-compile-output-docform)
17397 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
17398 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
17399 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
17400 (byte-compile-insert, byte-compile-defun):
17401 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
17402 (byte-defop-compiler19): Remove.
17403 Without byte-compile-compatibility, the 'emacs19-opcode property is not
17404 used by anything. Replace all calls with byte-defop-compiler.
17406 2009-11-04 Juri Linkov <juri@jurta.org>
17408 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
17409 (menu-bar-options-menu): Don't quote the `prop' arg of
17410 `menu-bar-make-mm-toggle'.
17412 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
17414 * calendar/calendar.el (cal-loaddefs):
17415 * calendar/diary-lib.el (diary-loaddefs):
17416 * calendar/holidays.el (hol-loaddefs):
17417 * eshell/esh-module.el (esh-groups): Load rather than require.
17419 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17421 * calendar/todo-mode.el (todo-add-category): Don't hardcode
17423 (todo-top-priorities): Only display-buffer when called interactively.
17424 (todo-item-start): Don't save excursion point.
17425 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
17426 (todo-insert-item-here, todo-file-item, todo-remove-item):
17427 Adjust uses of todo-item-start and todo-item-end.
17429 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
17430 (autoload-rubric): Don't use any more.
17432 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
17433 and only put a prop if it is non-nil.
17435 2009-11-03 Juri Linkov <juri@jurta.org>
17437 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
17438 (menu-bar-options-menu): Fix list quoting (Bug#4429).
17440 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
17441 and "Menu" to make top-level menu item visually one unit (like
17442 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
17443 multi-word menu items). Fix :help string for quit-window.
17445 2009-11-03 Glenn Morris <rgm@gnu.org>
17447 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
17448 (byte-compile-file-form-define-abbrev-table)
17449 (byte-compile-file-form-custom-declare-variable)
17450 (byte-compile-variable-ref, byte-compile-defvar):
17451 Whether or not a warning is enabled should only affect whether we issue
17452 the warning, not whether or not we collect the relevant data.
17453 Eg warnings can be turned on and off throughout the course of a file.
17455 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
17456 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
17458 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17460 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
17461 * play/mpuz.el (mpuz-create-buffer):
17462 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
17463 (lm-print-y,s,noise, lm-print-w0, lm-init):
17464 * play/gomoku.el (gomoku-prompt-for-move):
17465 * play/fortune.el (fortune-in-buffer):
17466 * play/dissociate.el (dissociated-press):
17467 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
17468 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
17469 * mail/supercite.el (sc-eref-show):
17470 * mail/smtpmail.el (smtpmail-send-it):
17471 * mail/rmailsum.el (rmail-summary-next-labeled-message)
17472 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
17473 (rmail-summary-undelete-many, rmail-summary-rmail-update)
17474 (rmail-summary-goto-msg, rmail-summary-expunge)
17475 (rmail-summary-get-new-mail, rmail-summary-search-backward)
17476 (rmail-summary-add-label, rmail-summary-output-menu)
17477 (rmail-summary-output-body):
17478 * mail/rfc822.el (rfc822-addresses):
17479 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
17480 * mail/mailpost.el (post-mail-send-it):
17481 * mail/hashcash.el (hashcash-generate-payment):
17482 * mail/feedmail.el (feedmail-run-the-queue)
17483 (feedmail-queue-send-edit-prompt-help-first)
17484 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
17485 (feedmail-deduce-address-list):
17486 * eshell/esh-ext.el (eshell-remote-command):
17487 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
17488 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
17489 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
17490 (viper-save-string-in-file, viper-valid-marker):
17491 * emulation/viper-keym.el (viper-toggle-key):
17492 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
17493 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
17494 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
17495 * emulation/viper-cmd.el (viper-exec-form-in-vi)
17496 (viper-exec-form-in-emacs, viper-brac-function):
17497 * emulation/viper.el (viper-delocalize-var):
17498 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
17499 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
17500 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
17501 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
17502 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
17503 * emulation/edt.el (edt-electric-helpify):
17504 * emulation/cua-rect.el (cua--rectangle-aux-replace):
17505 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
17506 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
17507 (cua-indent-to-global-mark-column):
17508 * calendar/diary-lib.el (calendar-mark-1):
17509 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
17510 Use with-current-buffer.
17511 * emulation/viper.el (viper-delocalize-var): Use dolist.
17513 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
17515 * comint.el (comint-replace-by-expanded-history-before-point):
17516 Replace !! with the previous input string literally (Bug#1795).
17518 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
17520 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
17521 to be made up of whitespace.
17523 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
17525 * minibuffer.el (read-file-name): Don't use file dialogs for
17526 remote directories (Bug#99).
17528 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
17530 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
17532 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
17534 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
17535 instead of deleting the window or frame.
17537 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17539 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
17540 Support face colors.
17542 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
17543 New function. Support face colors (Bug#1168).
17544 (tex-common-initialization): Use it.
17546 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
17547 mode allows it (Bug#1168).
17549 2009-10-31 Juri Linkov <juri@jurta.org>
17551 * facemenu.el (list-colors-display): Don't mark buffer as
17552 modified (Bug#3948).
17554 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17556 * international/mule-diag.el (list-character-sets-1):
17557 Minor message fix (Bug#3526).
17559 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
17560 Fix face property (Bug#4834).
17561 (etags-list-tags, etags-tags-apropos-additional)
17562 (etags-tags-apropos, tags-select-tags-table): Add follow-link
17565 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
17568 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
17570 * textmodes/two-column.el (2C-split):
17571 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
17572 * textmodes/tex-mode.el (tex-set-buffer-directory):
17573 * textmodes/spell.el (spell-region, spell-string):
17574 * textmodes/reftex.el (reftex-erase-buffer):
17575 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
17576 * textmodes/reftex-toc.el (reftex-toc-promote-action):
17577 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
17578 (reftex-select-item):
17579 * textmodes/reftex-ref.el (reftex-label-info-update)
17580 (reftex-offer-label-menu):
17581 * textmodes/reftex-index.el (reftex-index-change-entry)
17582 (reftex-index-phrases-info):
17583 * textmodes/reftex-global.el (reftex-create-tags-file)
17584 (reftex-save-all-document-buffers, reftex-ensure-write-access):
17585 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
17586 (reftex-view-crossref-from-bibtex):
17587 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
17588 (reftex-extract-bib-entries-from-thebibliography)
17589 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
17590 * textmodes/refbib.el (r2b-capitalize-title):
17591 (r2b-convert-buffer, r2b-help):
17592 * textmodes/page-ext.el (pages-directory)
17593 (pages-directory-goto-with-mouse):
17594 * textmodes/bibtex.el (bibtex-validate-globally):
17595 * textmodes/bib-mode.el (bib-capitalize-title):
17596 * textmodes/artist.el (artist-clear-buffer, artist-system):
17597 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
17598 (local-set-scheme-interaction-buffer, xscheme-process-filter)
17599 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
17600 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
17601 (xscheme-send-control-g-interrupt, xscheme-start-process)
17602 (xscheme-process-sentinel, xscheme-cd):
17603 * progmodes/verilog-mode.el (verilog-read-always-signals)
17604 (verilog-set-define, verilog-getopt-file)
17605 (verilog-module-inside-filename-p):
17606 * progmodes/sh-script.el:
17607 * progmodes/python.el (python-pdbtrack-get-source-buffer)
17608 (python-pdbtrack-grub-for-buffer, python-execute-file):
17609 * progmodes/octave-inf.el (inferior-octave):
17610 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
17611 (idlwave-shell-compile-helper-routines, idlwave-set-local)
17612 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
17613 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
17614 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
17615 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
17616 (idlwave-shell-filter, idlwave-shell-examine-highlight)
17617 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
17618 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
17619 (idlwave-shell-examine-display, idlwave-shell-run-region)
17620 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
17621 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
17622 * progmodes/idlw-help.el (idlwave-help-get-special-help)
17623 (idlwave-help-get-help-buffer):
17624 * progmodes/gud.el (gud-basic-call, gud-find-class)
17625 (gud-tooltip-activate-mouse-motions-if-enabled):
17626 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
17627 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
17628 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
17629 (ebrowse-tags-next-file):
17630 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
17631 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
17632 (ebnf-eps-finish-and-write):
17633 * progmodes/cpp.el (cpp-edit-save):
17634 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
17635 * progmodes/cc-defs.el (c-emacs-features):
17636 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
17637 (antlr-directory-dependencies):
17638 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
17639 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
17640 (ada-find-any-references, ada-make-filename-from-adaname)
17641 (ada-make-body-gnatstub):
17642 * obsolete/rnews.el (news-list-news-groups):
17643 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
17644 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
17645 * net/rcirc.el (rcirc-debug):
17646 * net/newst-treeview.el (newsticker--treeview-list-add-item)
17647 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
17648 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
17649 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
17650 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
17651 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
17652 (newsticker--treeview-list-clear-highlight)
17653 (newsticker--treeview-list-update-highlight)
17654 (newsticker--treeview-list-highlight-start)
17655 (newsticker--treeview-tree-update-highlight)
17656 (newsticker--treeview-get-selected-item)
17657 (newsticker-treeview-mark-list-items-old)
17658 (newsticker--treeview-set-current-node):
17659 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
17660 * net/newst-backend.el (newsticker--get-news-by-funcall)
17661 (newsticker--get-news-by-wget, newsticker--image-get)
17662 (newsticker--image-sentinel):
17663 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
17664 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
17665 (eudc-ph-close-session):
17666 * net/eudc.el (eudc-save-options):
17667 * language/thai-word.el (thai-update-word-table):
17668 * language/japan-util.el (japanese-string-conversion):
17669 * international/titdic-cnv.el (tsang-quick-converter)
17670 (ziranma-converter, ctlau-converter):
17671 * international/mule-cmds.el (describe-language-environment):
17672 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
17673 (skkdic-convert-postfix, skkdic-convert-prefix):
17674 (skkdic-convert-okuri-nasi, skkdic-convert):
17675 * emacs-lisp/re-builder.el (reb-update-overlays):
17676 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
17677 * emacs-lisp/gulp.el (gulp-send-requests):
17678 * emacs-lisp/find-gc.el (trace-call-tree):
17679 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
17680 (eieio-describe-generic):
17681 * emacs-lisp/eieio-base.el (eieio-persistent-read):
17682 * emacs-lisp/edebug.el (edebug-outside-excursion):
17683 * emacs-lisp/debug.el (debugger-make-xrefs):
17684 * emacs-lisp/cust-print.el (custom-prin1-to-string):
17685 * emacs-lisp/chart.el (chart-new-buffer):
17686 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
17687 Use with-current-buffer.
17688 * textmodes/artist.el (artist-system): Don't call
17689 copy-sequence on a fresh string.
17690 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
17692 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
17694 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
17695 is no item to edit. (Bug#4820)
17696 (todo-top-priorities): Restore point and restore narrowing in Todo
17699 2009-10-31 Glenn Morris <rgm@gnu.org>
17701 * net/ange-ftp.el (top-level): Don't require dired when compiling.
17702 (comint-last-output-start, comint-last-input-start)
17703 (comint-last-input-end): Don't defvar when compiling.
17704 (ange-ftp-process-file): Use bound-and-true-p.
17706 * pcmpl-rpm.el (top-level): Move provide statement to end.
17707 (pcmpl-rpm): Remove unused custom group.
17709 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17711 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17713 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17714 (byte-compile-warnings): Add `constants' as an option.
17715 (byte-compile-callargs-warn, byte-compile-arglist-warn)
17716 (display-call-tree): Update for byte-compile-fdefinition possibly
17717 returning `(macro lambda ...)'. (Bug#4778)
17718 (byte-compile-variable-ref, byte-compile-setq-default):
17719 Respect `constants' member of byte-compile-warnings.
17721 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17723 * vc-bzr.el (vc-bzr-revision-keywords): New var.
17724 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17727 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
17729 * textmodes/ispell.el (ispell-skip-region-alist):
17730 * international/mule-conf.el (eight-bit):
17731 * international/fontset.el (font-encoding-alist):
17732 * startup.el (pure-space-overflow-message):
17733 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17734 * paths.el (gnus-nntp-service, rmail-spool-directory)
17735 (term-file-prefix):
17736 * files.el (save-some-buffers-action-alist):
17737 * cmuscheme.el (same-window-buffer-names):
17738 * ielm.el (same-window-buffer-names):
17739 * shell.el (same-window-buffer-names):
17740 * mail/sendmail.el (same-window-buffer-names):
17741 * progmodes/inf-lisp.el (same-window-buffer-names):
17742 * bindings.el (mode-line-client)
17743 (mode-line-column-line-number-mode-map):
17744 * language/tibetan.el (tibetan-precomposition-rule-regexp)
17745 (tibetan-precomposed-regexp): Purecopy string arguments.
17747 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17749 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17750 (calcDigit-nondigit):
17751 * calc/calc-yank.el (calc-copy-to-buffer):
17752 * calc/calc-units.el (calc-invalidate-units-table):
17753 * calc/calc-trail.el (calc-trail-yank):
17754 * calc/calc-store.el (calc-insert-variables):
17755 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17756 * calc/calc-prog.el (calc-read-parse-table):
17757 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17758 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17759 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17760 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17761 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17762 (calc-graph-name, calc-graph-find-command, calc-graph-view)
17763 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17764 * calc/calc-ext.el (calc-realign):
17765 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17766 (calc-embedded-finish-edit, calc-embedded-make-info)
17767 (calc-embedded-finish-command, calc-embedded-stack-change):
17768 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17770 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17771 shell-dynamic-complete-filename in preference to
17772 comint-dynamic-complete-filename.
17774 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17775 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17776 Don't consider whether the display supports colors.
17777 (bookmark-import-new-list): Use dolist.
17778 (bookmark-bmenu-mode-map): Move initialization into declaration.
17779 (bookmark-bmenu-list): Use dolist, simplify.
17780 (bookmark-show-all-annotations): Use save-selected-window and dolist.
17781 (menu-bar-final-items): Use push.
17783 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
17785 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17786 it works on remote files.
17787 (vc-hg-diff): Don't pass any `--cwd' argument.
17789 2009-10-27 Kevin Ryde <user42@zip.com.au>
17791 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17792 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17793 (Further to Bug#3921).
17795 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
17797 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17798 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17799 calling `tramp-imap-put-file'. Add file size to the call.
17800 (tramp-imap-get-file-entries): Compute also user name, file size,
17802 (tramp-imap-handle-insert-directory): Insert uid and gid.
17803 (tramp-imap-handle-file-attributes): Transform uid and gid
17804 according to `id-format'.
17805 (tramp-imap-put-file): New optional parameter SIZE. Encode file
17806 size in header X-Size.
17808 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
17810 * simple.el (transpose-subr): Give clearer error when the mark
17811 is not set. (Bug#4807)
17813 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
17815 * net/tramp.el (tramp-perl-file-truename): New defconst.
17816 Perl code contributed by yary <not.com@gmail.com> (tiny change).
17817 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17818 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17819 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17821 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17822 Ignore `dired-call-process'.
17823 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17825 2009-10-26 Julian Scheid <julians37@gmail.com>
17827 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17828 (tramp-get-remote-readlink): New defun.
17829 (tramp-handle-file-truename): Use it.
17830 (tramp-handle-file-exists-p): Check file-attributes cache, assume
17831 file exists if cache value present.
17832 (tramp-check-cached-permissions): New defun.
17833 (tramp-handle-file-readable-p): Use it.
17834 (tramp-handle-file-writable-p): Likewise.
17835 (tramp-handle-file-executable-p): Likewise.
17836 (tramp-handle-file-name-all-completions): Try using Perl to get
17837 partial completions. When perl not available, combine `cd' and
17838 `ls' into single remote operation and use shell expansion to get
17839 partial remote directory contents. Set `file-exists-p' cache for
17840 directory and any files returned by ls. Change cache handling to
17841 support partial directory contents. Use error message emitted by
17842 remote `cd' or Perl code for local tramp-error.
17843 (tramp-do-copy-or-rename-file-directly): Avoid separate
17844 tramp-send-command-and-check call.
17845 (tramp-handle-process-file): Merge three remote ops into one.
17846 Do not flush all caches when `process-file-side-effects' is set.
17847 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17848 file-attributes shows uid/gid to be set already.
17850 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
17852 * textmodes/tex-mode.el (tex-dvi-view-command)
17853 (tex-show-queue-command, tex-open-quote):
17854 * progmodes/ruby-mode.el (auto-mode-alist)
17855 (interpreter-mode-alist): Purecopy strings.
17857 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17859 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17860 string for the hook, keymap and abbrev table.
17862 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17864 * x-dnd.el (x-dnd-xdnd-to-action):
17865 * startup.el (fancy-startup-text, fancy-about-text): Change to
17866 defconst from defvar.
17868 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17870 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17871 Purecopy initialization strings.
17873 * mail/sendmail.el (mail-header-separator)
17874 (mail-personal-alias-file):
17875 * mail/rmail.el (rmail-default-dont-reply-to-names)
17876 (rmail-ignored-headers, rmail-retry-ignored-headers)
17877 (rmail-highlighted-headers, rmail-secondary-file-directory)
17878 (rmail-secondary-file-regexp):
17879 * files.el (null-device, file-name-invalid-regexp)
17880 (locate-dominating-stop-dir-regexp)
17881 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17882 (interpreter-mode-alist): Use mapcar instead of mapc.
17884 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17886 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17887 (completion-ignored-extensions):
17888 (debug-ignored-errors): Purecopy strings.
17890 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17892 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17893 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17894 (pcomplete--here): Use push.
17896 * subr.el (all-completions): Declare the 4th arg obsolete.
17898 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17900 * pcomplete.el (pcomplete-unquote-argument-function): New var.
17901 (pcomplete-unquote-argument): New function.
17902 (pcomplete--common-suffix): Always pay attention to case.
17903 (pcomplete--table-subvert): Quote and unquote the text.
17904 (pcomplete--common-quoted-suffix): New function.
17905 (pcomplete-std-complete): Use it and pcomplete-begin.
17907 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17908 we're inside a dedicated or minibuffer window.
17910 2009-10-24 Karl Fogel <kfogel@red-bean.com>
17912 * bookmark.el: Update documentation, especially documentation
17913 of `bookmark-alist' and of the bookmark file format.
17914 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
17916 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
17918 * mail/emacsbug.el (report-emacs-bug): Clarify that the
17919 keybindings apply to the mail buffer (Bug#4003). Shrink help
17922 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17923 (global-whitespace-mode, global-whitespace-newline-mode)
17924 (whitespace-toggle-options, global-whitespace-toggle-options):
17925 Doc fix (Bug#3660).
17927 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
17928 of xmltok-start before the end tag was inserted (Bug#2840).
17930 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
17931 patterns that are preceded by an open-paren (Bug#1320).
17933 2009-10-24 Sven Joachim <svenjoac@gmx.de>
17935 * files.el (delete-directory): Delete symlinks to directories with
17936 delete-file (Bug#4739).
17938 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
17940 * vc.el (vc-backend-for-registration): Rename from
17941 vc-get-backend-for-registration. Update callers.
17943 * international/mule-cmds.el (set-language-info-alist):
17945 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
17946 (charset): Purecopy the name.
17947 (define-char-code-property): Purecopy string arguments.
17949 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17950 Purecopy string arguments.
17952 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17953 * ediff-hook.el (menu-bar-ediff-menu):
17954 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
17955 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
17957 2009-10-24 Glenn Morris <rgm@gnu.org>
17959 * comint.el (comint-dynamic-list-completions):
17960 * term.el (term-dynamic-list-completions): Use choose-completion rather
17961 than obsolete alias mouse-choose-completion.
17963 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
17964 file-cache-choose-completion.
17965 (file-cache-choose-completion): Handle an optional event argument.
17966 (file-cache-mouse-choose-completion): Make it an obsolete alias.
17968 * progmodes/octave-mod.el (octave-complete-symbol):
17969 Use choose-completion if mouse-choose-completion is ever removed.
17971 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
17974 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
17977 * vc-hooks.el (vc-responsible-backend): Fix declaration.
17979 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17981 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17982 Ignore `pred' now that we receive one.
17983 Handle test-completion specially.
17985 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17987 * vc.el (vc-responsible-backend): Throw an error if not backend is
17988 found. Remove the REGISTER argument. Move the code dealing with
17990 (vc-get-backend-for-registration): ... here. New function.
17991 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17992 of vc-responsible-backend, pass the file name instead of the
17995 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
17997 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17999 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
18000 (pcomplete-comint-setup): Don't modify a global var via
18001 accidental side-effects.
18002 (pcomplete-shell-setup): Adjust call accordingly.
18003 (pcomplete-parse-comint-arguments): Use push.
18005 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
18007 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
18008 Allow uncapitalized info node names (Bug#3921).
18010 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
18011 to the DEBUG file (Bug#3781).
18013 2009-10-23 Jari Aalto <jari.aalto@cante.net>
18015 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
18016 dictionary entry (Bug#4579).
18018 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
18020 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
18021 from `rfn-eshadow-update-overlay-hook' when unloading.
18022 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
18023 "rsyncc". Adjust doc string.
18024 (tramp-temp-buffer-file-name): New buffer-local defvar.
18025 (tramp-handle-insert-file-contents, tramp-handle-write-region):
18026 Keep temporary file when indicated by method ("rsync" and
18028 (tramp-handle-write-region): Handle APPEND.
18029 (tramp-delete-temp-file-function): New defun. Added to
18030 `kill-buffer-hook'.
18032 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
18034 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
18036 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
18038 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
18039 (color-name-rgb-alist, tty-standard-colors)
18040 (tty-color-mode-alist): Change to defconst.
18042 * simple.el (mark-inactive): Purecopy message.
18044 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
18045 (global-map, yank-menu):
18046 * textmodes/ispell.el (ispell-menu-map):
18047 * net/eudc.el (eudc-tools-menu):
18048 * international/mule-cmds.el (describe-language-environment-map)
18049 (setup-language-environment-map, set-coding-system-map)
18050 (mule-menu-keymap):
18051 * vc-hooks.el (vc-menu-entry, vc-menu-map):
18052 * replace.el (occur-mode-map):
18053 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
18055 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
18057 * calc/calc.el (math-read-number, math-read-number-simple):
18058 Use `save-match-data'.
18060 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
18062 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
18063 rather than fiddling with global-map bindings, since it should only
18064 affect per-terminal settings.
18065 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
18067 * minibuffer.el (completion-table-with-terminator): Allow to specify
18068 the terminator-regexp.
18070 * simple.el (switch-to-completions): Look for *Completions* in other
18073 * pcomplete.el: Allow the use of completion-tables.
18074 (pcomplete-std-complete): New command.
18075 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
18076 (pcomplete--here): Use a function for `form' rather than an expression,
18077 so it can be byte-compiled.
18078 (pcomplete-here, pcomplete-here*): Adjust accordingly.
18079 Add edebug declaration.
18080 (pcomplete-show-completions): Remove unused var `curbuf'.
18081 (pcomplete-do-complete, pcomplete-stub):
18082 Don't assume `completions' is a list of strings any more.
18084 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
18086 * find-dired.el (find-name-arg): Fix typo in docstring.
18088 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
18090 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
18091 (pcmpl-linux-fs-types): Same, and update to new modules layout.
18093 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
18096 * comint.el (comint-read-input-ring, comint-write-input-ring)
18097 (comint-substitute-in-file-name)
18098 (comint-dynamic-complete-as-filename)
18099 (comint-dynamic-simple-complete)
18100 (comint-dynamic-list-filename-completions)
18101 (comint-dynamic-list-completions)
18102 (comint-redirect-results-list-from-process): Minor simplifications.
18104 2009-10-21 Kevin Ryde <user42@zip.com.au>
18106 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
18107 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
18108 the first form. And insert a blank line after ";;; Code" since
18109 that's usual style. (Bug#4612)
18111 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
18113 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
18115 * minibuffer.el (completion-table-with-terminator): Properly implement
18116 boundaries, in case `terminator' appears in the suffix.
18117 (completion--embedded-envvar-table): Don't return boundaries if
18118 there's no valid completion. Simplify.
18119 (completion-file-name-table): New completion table extracted from
18120 completion--file-name-table.
18121 (completion--file-name-table): Use it.
18122 (read-file-name-predicate): Declare obsolete.
18123 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
18124 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
18125 completion-file-name-table, and use the `pred' argument.
18126 * files.el (locate-file-completion-table): Use the `pred' arg rather
18127 than read-file-name-predicate.
18128 (abbreviate-file-name): Use \` rather than ^ for BOS.
18130 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
18132 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
18133 vc-responsible-backend to register, it causes problems.
18135 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
18137 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
18139 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
18141 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
18142 (tramp-smb-handle-file-attributes): Use it.
18143 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
18144 (tramp-smb-handle-insert-directory): Use `mapc' rather than
18145 `mapcar'. Use `tramp-smb-get-stat-capability'.
18146 Add `dired-filename' text properties.
18147 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
18148 (tramp-smb-maybe-open-connection): Simplify check for smbclient
18151 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
18153 * subr.el (read-key-delay): Reduce to 0.01.
18154 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
18157 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
18159 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
18161 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
18162 (Info-menu): Remove unused vars `last' and `completions'.
18163 (Info-index-nodes): Remove unused var `node'.
18165 * info.el (Info-complete-menu-item): Use complete-with-action.
18167 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
18169 Make vc-annotate work through copies and renames.
18170 * vc-annotate.el (vc-annotate-extract-revision-at-line):
18171 Return the file name too.
18172 (vc-annotate-revision-at-line)
18173 (vc-annotate-find-revision-at-line)
18174 (vc-annotate-revision-previous-to-line)
18175 (vc-annotate-show-log-revision-at-line): Update to get the file
18176 name from vc-annotate-extract-revision-at-line.
18177 (vc-annotate-show-diff-revision-at-line-internal): Change the
18178 argument to mean whether to show a file diff or not. Get the file
18179 name from vc-annotate-extract-revision-at-line.
18180 (vc-annotate-show-diff-revision-at-line):
18181 Update vc-annotate-show-diff-revision-at-line call.
18182 (vc-annotate-warp-revision): Add an optional file argument.
18184 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
18185 (vc-git-annotate-extract-revision-at-line): Also return the file
18188 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
18189 command. Remove unused code.
18190 (vc-hg-annotate-re): Update to match --follow output.
18191 (vc-hg-annotate-extract-revision-at-line): Also return the file
18194 * vc.el: Update annotate-extract-revision-at-line documentation.
18196 2009-10-18 Kevin Ryde <user42@zip.com.au>
18198 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
18199 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
18201 * net/browse-url.el (browse-url): Identify alist with "consp and
18202 not functionp" and let all other things go down the `apply' leg,
18203 as suggested by Stefan. (Further to bug#4531.)
18205 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
18207 * minibuffer.el (read-file-name): Check for repeat before putting
18208 a default argument in file-name-history (Bug#4657).
18210 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
18211 read syntax (Bug#4737).
18213 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
18215 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
18217 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
18218 (html-tag-alist, html-tag-help): Add descriptions for undocumented
18219 entries and make note of obsolete tags.
18221 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
18223 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
18225 2009-10-18 Glenn Morris <rgm@gnu.org>
18227 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
18228 grep, so that binary files (eg international/uni-bidi.el) can match.
18229 Remove test for "UnicodeData" files, since it is hopefully unnecessary
18230 now, and in any case the file header format has changed.
18232 2009-10-17 Glenn Morris <rgm@gnu.org>
18234 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
18235 (flyspell-get-word, flyspell-large-region)
18236 (flyspell-auto-correct-previous-word): Doc/error message fixes.
18238 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
18240 * Makefile.in (ELCFILES): Add ede/shell.
18242 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
18244 * term/common-win.el (x-colors): Purecopy it.
18246 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18248 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
18249 permissive for when the buffer is empty.
18250 (tar-header-block-tokenize): Decode the username and groupname.
18251 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
18253 2009-10-17 Eric Ludlam <zappo@gnu.org>
18255 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
18256 contains multibyte characters, choose first applicable coding
18257 system automatically.
18259 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18261 * international/mule-cmds.el (select-safe-coding-system): If the file
18262 has a coding cookie, use it regardless of any other setting (bug#4712).
18264 2009-10-17 Glenn Morris <rgm@gnu.org>
18266 * foldout.el (foldout-mouse-swallow-events):
18267 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
18269 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
18270 (dired-keep-marker-copy, dired-keep-marker-hardlink)
18271 (dired-keep-marker-symlink, dired-dwim-target)
18272 (dired-copy-preserve-time): Do not autoload these defcustoms.
18274 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
18275 messages from messing up the file coding. (Bug#4623)
18277 2009-10-17 Jari Aalto <jari.aalto@cante.net>
18279 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
18280 if no match is found for the current dictionary. (Bug#4578)
18282 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
18283 optional, since that is how it is documented, and this is often called
18284 with a nil argument. (Bug#4577)
18285 (flyspell-external-point-words, flyspell-auto-correct-word)
18286 (flyspell-correct-word-before-point, flyspell-word-search-forward)
18287 (flyspell-word-search-backward): Remove nil argument in calls to
18288 flyspell-get-word, since it is not needed now.
18290 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
18292 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
18294 2009-10-16 Glenn Morris <rgm@gnu.org>
18296 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
18298 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
18300 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
18301 (ange-ftp-file-size): New function.
18302 (ange-ftp-file-attributes): Use it.
18304 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
18306 * net/tramp-smb.el (tramp-smb-version): New defvar.
18307 (tramp-smb-maybe-open-connection): Use it, in order to avoid
18310 2009-10-16 Glenn Morris <rgm@gnu.org>
18312 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
18313 Maybe copy some custom properties from old to new name. (Bug#4706)
18315 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
18317 * subr.el (error, sit-for, start-process-shell-command)
18318 (start-file-process-shell-command): Set the calling convention
18319 after the function definition.
18321 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
18323 * subr.el (error, sit-for, start-process-shell-command)
18324 (start-file-process-shell-command): Use the new
18325 set-advertised-calling-convention feature.
18327 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
18329 * international/ucs-normalize.el (ucs-normalize-version):
18331 (check-range): Adjust for Unicode 5.2.
18333 2009-10-15 Juri Linkov <juri@jurta.org>
18335 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
18336 to the `menu-item' format.
18338 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
18340 * net/tramp.el (tramp-replace-environment-variables): Do not fail
18341 if the environment variable does not exist.
18343 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18344 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
18346 (tramp-smb-handle-add-name-to-file)
18347 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18348 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18349 (tramp-smb-handle-file-attributes)
18350 (tramp-smb-do-file-attributes-with-stat)
18351 (tramp-smb-handle-file-local-copy)
18352 (tramp-smb-handle-insert-directory)
18353 (tramp-smb-handle-make-directory)
18354 (tramp-smb-handle-make-directory-internal)
18355 (tramp-smb-handle-make-symbolic-link)
18356 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
18357 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
18358 (tramp-smb-maybe-open-connection): Apply the changed parameters.
18359 (tramp-smb-read-file-entry): Read Disk names in compressed format.
18360 Handle long file names.
18361 (tramp-smb-get-cifs-capabilities): Check, whether the connection
18362 process is running.
18363 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
18364 Read share names with "-g" option.
18366 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
18368 * net/rcirc.el (rcirc-view-log-file): New command.
18369 (rcirc-track-minor-mode-map): Remove C-c ` binding.
18370 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
18373 2009-10-15 Glenn Morris <rgm@gnu.org>
18375 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
18376 from the second command-line argument.
18377 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
18378 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
18379 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
18380 w32-batch-update-autoloads.
18381 * emacs-lisp/autoload.el (autoload-make-program): New variable.
18382 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
18384 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
18385 the headers cannot be located. Simplify, subtracting superflous
18388 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
18390 Replace completion-base-size by completion-base-position to fix bugs
18391 such as (bug#4699).
18392 * simple.el (completion-base-position): New var.
18393 (completion-base-size): Mark as obsolete.
18394 (choose-completion): Make it work for mouse events as well.
18395 Pass the new base-position to choose-completion-string.
18396 (choose-completion-guess-base-position): New function, extracted from
18397 choose-completion-delete-max-match.
18398 (choose-completion-delete-max-match): Use it. Make obsolete.
18399 (choose-completion-string): Use the new base-position info.
18400 (completion-root-regexp): Delete.
18401 (completion-setup-function): Preserve completion-base-position.
18402 Eliminate obsolete base-size manipulation.
18403 * minibuffer.el (display-completion-list): Don't mess with base-size.
18404 (minibuffer-completion-help): Set completion-base-position instead.
18405 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
18407 * textmodes/bibtex.el (bibtex-complete):
18408 * emacs-lisp/crm.el (crm--choose-completion-string):
18409 Adjust to new calling convention.
18410 * complete.el (partial-completion-mode): Use minibufferp to avoid
18411 bumping into incompatible change to choose-completion-string-functions.
18412 * ido.el (ido-choose-completion-string): Make its calling convention
18414 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
18415 base-size manipulation.
18416 (comint-dynamic-list-input-ring): Use dotimes and push.
18417 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
18418 fundamental-mode. Use `or'.
18420 2009-10-14 Juri Linkov <juri@jurta.org>
18422 * misearch.el (multi-isearch-next-buffer-from-list)
18423 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
18425 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18427 * Makefile.in (compile-onefile): Load `bytecomp' rather than
18430 * minibuffer.el (completion-pcm--merge-completions): Make sure the
18431 string we return is all made up of text from the completions rather
18432 than part from the completions and part from the input (bug#4219).
18434 * ido.el (ido-everywhere): Use define-minor-mode.
18436 * buff-menu.el (list-buffers, ctl-x-map):
18437 Mark the entry points with ;;;###autoload cookies.
18439 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
18441 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
18442 correctly in the detached head case.
18443 (vc-git-print-log): Remove unused binding.
18445 * vc.el (vc-responsible-backend): When a directory is passed for
18446 for registration create a VC repository if no backend is
18447 responsible for the directory argument.
18448 (vc-deduce-fileset): Tell vc-responsible-backend to register.
18450 * vc.el: Move comments about RCS and SCCS ...
18452 * vc-sccs.el: ... here, respectively.
18454 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18456 * minibuffer.el (completion--file-name-table): Return nil if there's
18457 no file completion, even if substitute-in-file-name changed
18458 the string (bug#4708).
18460 2009-10-13 Juri Linkov <juri@jurta.org>
18462 * files-x.el (read-file-local-variable-value): Don't filter out
18463 minor modes from mode name completion (bug#4664).
18465 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18467 * international/mule-cmds.el (ucs-names): Remove exclusion of
18468 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
18470 2009-10-13 Kenichi Handa <handa@m17n.org>
18472 * international/uni-name.el: Regenerated.
18474 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18476 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
18477 should be automatically buffer-local, but isn't.)
18479 2009-10-12 Sam Steingold <sds@gnu.org>
18481 * progmodes/compile.el (compilation-next-error-function): Fix the
18482 timestamps if the buffer has been visited before.
18483 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
18484 non-anchored patterns, like the perl one (bug#3928).
18486 2009-10-12 Glenn Morris <rgm@gnu.org>
18488 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
18491 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
18493 * proced.el (proced-unload-function): New function.
18495 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
18496 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
18499 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
18501 2009-10-11 Juri Linkov <juri@jurta.org>
18503 * files-x.el (read-file-local-variable-value):
18504 Provide default value only for bound variables (bug#4664).
18506 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
18508 * net/tramp.el (tramp-local-host-p): Function shall return nil for
18509 connection methods like smb.
18511 * net/tramp-cache.el (tramp-flush-connection-property): The hash
18514 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18515 (tramp-smb-file-name-handler-alist): Add handlers for
18516 `add-name-to-file', `make-symbolic-link'.
18517 (tramp-smb-handle-add-name-to-file)
18518 (tramp-smb-do-file-attributes-with-stat)
18519 (tramp-smb-handle-make-symbolic-link)
18520 (tramp-smb-get-cifs-capabilities): New defuns.
18521 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18522 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18523 (tramp-smb-handle-file-local-copy)
18524 (tramp-smb-handle-make-directory-internal)
18525 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
18526 The file name syntax depends on cifs capabilities.
18527 (tramp-smb-handle-file-attributes):
18528 Call `tramp-smb-do-file-attributes-with-stat' if possible.
18529 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
18530 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
18532 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
18534 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
18535 (eieio-defclass): Apply deftype handler and setf-method properties
18537 (eieio-add-new-slot): Avoid union function from cl library.
18538 (eieio--typep): New function.
18539 (eieio-perform-slot-validation): Use it.
18541 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18543 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
18544 Update documentation to refer to the variables documented in r1.135.
18547 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18549 * bookmark.el (Info-suffix-list): Remove this unused variable.
18550 (bookmark-current-point): Remove this obsolete variable.
18551 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
18552 Adjust for removal of bookmark-current-point.
18554 (bookmarks-already-loaded, bookmark-current-buffer)
18555 (bookmark-yank-point): Document. (Bug#4188)
18557 2009-10-10 Glenn Morris <rgm@gnu.org>
18559 * frame.el (frame-height): Doc fix.
18561 * calendar/calendar.el (calendar-split-width-threshold): New option.
18562 (calendar-basic-setup): Use calendar-split-width-threshold.
18564 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
18566 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
18567 Ideographic Supplement" range (U+1F200..U+1F2FF).
18569 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18571 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
18572 since the list will have been rebuilt anyway. (Bug#4349)
18574 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18576 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
18577 (bookmark-bmenu-execute-deletions): Don't save here, as
18578 bookmark-delete will now do so if necessary.
18579 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
18582 2009-10-09 Glenn Morris <rgm@gnu.org>
18584 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
18586 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18588 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
18589 (bookmark-jump-other-window): Just invoke bookmark-jump with new
18590 argument now, so the two function's behaviors will match. (Bug#3645)
18592 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
18594 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
18595 (tramp-file-name-real-host, tramp-file-name-port):
18596 Apply `save-match-data'.
18598 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
18599 case both directories are remote.
18600 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
18601 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
18603 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18605 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
18607 2009-10-07 Glenn Morris <rgm@gnu.org>
18609 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
18612 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
18614 * files-x.el (read-file-local-variable): Include some
18615 non-user-variables in the completion table (bug#4664).
18617 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
18619 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
18622 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18623 (tramp-smb-file-name-handler-alist): Add handler for
18624 `copy-directory', `expand-file-name', `set-file-modes'.
18625 (tramp-smb-handle-copy-directory)
18626 (tramp-smb-handle-expand-file-name)
18627 (tramp-smb-handle-set-file-modes): New defuns.
18628 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
18629 (tramp-smb-handle-file-attributes): Simplify check for retrieving
18631 (tramp-smb-handle-insert-directory): Don't flush the cache.
18632 (tramp-smb-maybe-open-connection): Check for samba client and
18635 2009-10-07 Eli Zaretskii <eliz@gnu.org>
18637 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
18638 to not error out of search for "^lisp=" fails.
18640 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18642 * makefile.w32-in (WINS_UPDATES): New macro.
18643 (custom-deps, finder-data, autoloads): Use it.
18645 2009-10-07 Glenn Morris <rgm@gnu.org>
18647 * Makefile.in (autoloads): Revert previous change.
18648 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
18649 the list of preloaded files passed on the command-line, get
18650 it from src/Makefile.
18652 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
18653 show the original buffer rather than a random one.
18655 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
18657 * help.el (describe-no-warranty): Place point in a slightly better
18658 position in the GPLv3 text.
18660 2009-10-06 Sam Steingold <sds@gnu.org>
18662 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
18663 the comm attribute is present before calling regexp-quote.
18665 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
18667 * play/animate.el (animate-string): For good effect, make sure
18668 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
18670 * play/animate.el (animate-sequence, animate-birthday-present):
18671 * misc.el (butterfly): Don't set `indent-tabs-mode'.
18673 2009-10-06 Glenn Morris <rgm@gnu.org>
18675 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
18677 * emacs-lisp/autoload.el (autoload-excludes): New variable.
18678 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
18679 (batch-update-autoloads): Process a string value of autoload-excludes,
18680 set during the build process.
18681 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
18683 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
18684 inside with-parsed... macro so that `v' is defined.
18686 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
18687 * progmodes/fortran.el (fortran-end-of-block)
18688 (fortran-beginning-of-block):
18689 Also push mark in the macro case.
18691 * emerge.el (emerge-show-file-name):
18692 * calc/calc.el (calc-quit):
18693 * calc/calc-misc.el (calc-big-or-small):
18694 * calc/calc-graph.el (calc-graph-view):
18695 * calc/calc-ext.el (calc-reset):
18696 * calendar/calendar.el (calendar-basic-setup):
18697 Use window-full-height-p.
18699 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
18700 header we don't understand, don't insert another. (Bug#4624)
18701 If changing mime charset, insert the new one in the right place.
18703 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
18705 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
18706 (cal-tex-cursor-month): Correctly increment the end date for diary and
18707 holiday listing. (Bug#4626)
18709 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18711 * help-fns.el (describe-function-1): Don't burp if the function is not
18714 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
18716 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18717 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18718 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18719 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18721 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18722 (eieio-default-superclass): Reflow docstrings.
18723 (this, class-option-assoc, defclass, eieio-class-un-autoload)
18724 (eieio-unbind-method-implementations, defmethod)
18725 (eieio-validate-slot-value, eieio-validate-class-slot-value)
18726 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18727 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18728 (eieio-slot-originating-class-p, eieio-slot-name-index)
18729 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18730 (constructor, initialize-instance, no-next-method, object-print)
18731 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18732 Fix typos in docstrings.
18733 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18734 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18735 (next-method-p): Doc fixes.
18736 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18737 Fix typos in error messages.
18738 (eieio-defmethod): Fix typo in description of generic method.
18740 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18741 (eieio-persistent-save-interactive, slot-missing):
18742 Fix typos in docstrings.
18743 (eieio-instance-inheritor-slot-boundp): Doc fix.
18745 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18746 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18748 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18749 (eieio-custom-object-apply-reset):
18750 Fix typos in docstrings and error messages.
18752 * emacs-lisp/eieio-datadebug.el (data-debug-show):
18753 Fix typo in docstring.
18755 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18756 (eieio-browse-tree): Doc fix.
18757 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18758 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18759 Fix typos in docstrings.
18761 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18762 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18763 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18764 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18767 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
18769 * vc-hg.el (log-view-vc-backend): Declare for compiler.
18770 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18771 Set log-view-vc-backend so that diff can work.
18773 * log-view.el (log-view-diff): Use vc-diff-internal instead of
18775 (vc-diff-internal): Autoload this instead of vc-version-diff.
18777 2009-10-05 Eli Zaretskii <eliz@gnu.org>
18779 * simple.el (eval-expression): Doc fix.
18781 * progmodes/cwarn.el (cwarn-mode): Doc fix.
18783 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
18785 * files.el (directory-files-no-dot-files-regexp): New defconst.
18786 (delete-directory): Use it.
18787 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
18789 * net/tramp.el (tramp-verbose): Fix docstring.
18790 (tramp-methods): Add recursive option to `tramp-copy-args'.
18791 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
18792 "scp1_old", "scp2_old", "rsync", "rsyncc".
18793 (tramp-default-method): Check also for `auth-source-user-or-password'.
18794 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18795 Add handler for `copy-directory'.
18796 (tramp-handle-copy-directory): New defun.
18797 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18798 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18799 Optimize sent command.
18801 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18803 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18804 window if necessary.
18806 * calendar/calendar.el (calendar-basic-setup): Don't call
18807 switch-to-buffer in a dedicated window.
18809 2009-10-05 Karl Fogel <kfogel@red-bean.com>
18811 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18812 don't do anything related to relocating, just return nil.
18813 (bookmark-error-no-filename): New error.
18814 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18815 bookmark has no file. Don't even attempt to handle things that
18816 are not files; the whole point of custom handlers is to keep that
18817 knowledge elsewhere anyway. Tighten some comments.
18818 (bookmark-file-or-variation-thereof): Remove now-unused function.
18819 (bookmark-location): Doc string fix.
18822 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18824 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18825 don't use a file dialog, because they usually don't know how to read
18826 a directory target from the user. (Bug#4230)
18827 Also, make sure the prompt can display directories as well as files.
18829 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18831 * bookmark.el (bookmark-set, bookmark-buffer-name):
18832 Improve doc strings. (Bug#1193)
18834 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18836 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18837 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18838 (bookmark-get-annotation, bookmark-set-annotation)
18839 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18840 (bookmark-set-position, bookmark-get-front-context-string)
18841 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18842 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18843 (bookmark-jump-other-window, bookmark-handle-bookmark)
18844 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18845 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18846 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18847 Improve doc strings to say whether bookmark can be a string or
18848 a record or both, and make other consistency and clarity fixes.
18849 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18850 (bookmark-default-annotation-text, bookmark-yank-word)
18851 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18852 (bookmark-import-new-list, bookmark-maybe-rename)
18853 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18854 (bookmark-bmenu-bookmark): Give these doc strings.
18855 (bookmark-bmenu-check-position): Give this a doc string, but also
18856 add a FIXME comment about how the function may be pointless.
18857 (bookmark-default-handler): Rework doc string and change a
18858 parameter name, to clarify that this takes a bookmark record
18859 not a bookmark name.
18860 (bookmark-set): Change a parameter name to indicate its meaning,
18861 and improve the doc string a bit.
18864 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18866 * bookmark.el (bookmark-alist): Document the new `handler' element
18867 in the param alist.
18868 (bookmark-make-record-function): Adjust documentation for above.
18871 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18873 * info.el (Info-bookmark-make-record): Document this function.
18874 (Info-bookmark-jump): Document with a doc string, not just a comment.
18877 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
18879 * files.el (copy-directory): New defun.
18881 * dired-aux.el (dired-copy-file-recursive): Use it.
18883 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
18885 * files-x.el (modify-dir-local-variable)
18886 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18889 * recentf.el (recentf-unload-function): New function.
18891 2009-10-04 Glenn Morris <rgm@gnu.org>
18893 * window.el (window-full-height-p): Add doc string.
18895 2009-10-04 Martin Rudalics <rudalics@gmx.at>
18897 * window.el (window-full-height-p): New function. (Bug#4543)
18899 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
18901 * vc.el: Remove commented out code.
18902 (vc-derived-from-dir-mode): Remove, unused.
18903 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18905 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
18907 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18908 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
18909 there could be recursive loading when `default-directory' is a
18910 remote file name. (Bug#4614)
18912 2009-10-03 Glenn Morris <rgm@gnu.org>
18914 * calendar/calendar.el (calendar-basic-setup): Handle the case where
18916 (calendar-generate-window): Test for shrinkability rather than width.
18918 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
18919 reusing existing buffers, in case we happen to visit two files with the
18920 same basename. (Bug#4593)
18922 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18924 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18925 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
18926 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
18927 subdirs of cedet as well.
18928 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
18930 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18932 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
18933 Obey advertised-signature-table.
18935 * help-fns.el (help-function-arglist): Don't check
18936 advertised-signature-table.
18937 (describe-function-1): Do it here instead so it also applies to subrs.
18939 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
18941 * simple.el (start-file-process): Say in the doc-string, that file
18942 handlers might not support pty association, if PROGRAM is nil.
18944 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
18945 HOST and USER are strings. They are nil, when there are
18946 incomplete entries in ~/.netrc, for example.
18947 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
18948 root directory ("device busy" error otherwise).
18950 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
18951 Flush file properties of created directory.
18953 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18955 * makefile.w32-in (WINS_BASIC): Remove cedet.
18956 (WINS_CEDET): Add cedet.
18957 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
18959 2009-10-02 Kevin Ryde <user42@zip.com.au>
18961 * net/browse-url.el (browse-url): Pass any symbol in
18962 browse-url-browser-function to `apply', since if you've mistakenly put
18963 an unbound symbol then the error is clearer. (Bug#4531)
18965 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18967 * allout.el (allout-init, allout-back-to-current-heading)
18968 (allout-beginning-of-current-entry, allout-ascend-to-depth)
18969 (allout-ascend, allout-up-current-level, allout-end-of-level)
18970 (allout-previous-visible-heading, allout-forward-current-level)
18971 (allout-backward-current-level, allout-show-children):
18972 * apropos.el (apropos-describe-plist):
18973 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
18974 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
18975 * completion.el (add-completion, add-permanent-completion):
18976 * descr-text.el (describe-text-category, describe-char):
18977 * desktop.el (desktop-lazy-abort):
18978 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18979 * dired.el (dired-build-subdir-alist):
18980 * ediff.el (ediff-version):
18981 * elide-head.el (elide-head, elide-head-show):
18982 * emerge.el (emerge-version):
18984 * face-remap.el (variable-pitch-mode):
18985 * faces.el (describe-face):
18986 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18988 * files.el (find-file-existing, auto-save-mode):
18989 * font-lock.el (font-lock-fontify-buffer):
18990 * help-fns.el (describe-function, describe-variable)
18991 (describe-syntax, describe-categories):
18992 * help.el (view-lossage, describe-bindings, describe-key)
18994 * hexl.el (hexl-current-address):
18995 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18996 * info.el (Info-goto-emacs-key-command-node):
18997 * log-edit.el (log-edit-insert-cvs-template)
18998 (log-edit-insert-cvs-rcstemplate):
18999 * menu-bar.el (menu-bar-mode):
19000 * mouse.el (mouse-appearance-menu):
19001 * newcomment.el (comment-indent-new-line):
19002 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
19003 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
19004 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
19005 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
19006 * recentf.el (recentf-mode):
19007 * savehist.el (savehist-mode, savehist-save):
19008 * shadowfile.el (shadow-copy-files):
19009 * simple.el (kill-ring-save, next-line, previous-line)
19010 (normal-erase-is-backspace-mode):
19011 * strokes.el (strokes-update-window-configuration)
19012 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
19013 (strokes-xpm-for-stroke):
19014 * time.el (emacs-uptime, emacs-init-time):
19015 * tutorial.el (tutorial--describe-nonstandard-key)
19016 (tutorial--detailed-help):
19017 * type-break.el (type-break-mode)
19018 (type-break-mode-line-message-mode, type-break-query-mode)
19019 (type-break-guesstimate-keystroke-threshold):
19020 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
19021 * version.el (emacs-version):
19022 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
19023 * winner.el (winner-mode):
19024 * calendar/timeclock.el (timeclock-in, timeclock-out)
19025 (timeclock-status-string, timeclock-change)
19026 (timeclock-workday-remaining-string)
19027 (timeclock-workday-elapsed-string)
19028 (timeclock-when-to-leave-string):
19029 * calendar/todo-mode.el (todo-add-category):
19030 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
19031 * emacs-lisp/autoload.el (update-file-autoloads):
19032 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
19033 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
19034 (checkdoc-message-text, checkdoc-defun):
19035 * emacs-lisp/debug.el (debugger-list-functions):
19036 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
19037 * emacs-lisp/eieio-opt.el (eieio-describe-class)
19038 (eieio-describe-generic):
19039 * emacs-lisp/lisp-mnt.el (lm-synopsis):
19040 * emacs-lisp/shadow.el (list-load-path-shadows):
19041 * emulation/cua-base.el (cua-mode):
19042 * emulation/edt.el (edt-set-scroll-margins):
19043 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
19044 (tpu-toggle-regexp, tpu-toggle-search-direction)
19045 (tpu-toggle-rectangle, tpu-toggle-control-keys):
19046 * emulation/tpu-extras.el (tpu-set-scroll-margins):
19047 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
19048 (viper-set-parsing-style-toggling-macro)
19049 (viper-set-emacs-state-searchstyle-macros):
19050 * emulation/viper.el (viper-set-hooks):
19051 * eshell/esh-mode.el (eshell-truncate-buffer):
19052 * international/mule-cmds.el (prefer-coding-system)
19053 (describe-input-method, describe-language-environment):
19054 * international/mule-diag.el (list-character-sets)
19055 (describe-character-set, describe-coding-system)
19056 (describe-fontset, list-fontsets, list-input-methods):
19057 * mail/sendmail.el (mail-signature):
19058 * net/ange-ftp.el (ange-ftp-copy-file):
19059 * net/browse-url.el (browse-url):
19060 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
19061 * net/quickurl.el (quickurl-add-url):
19062 * net/rcirc.el (names, topic):
19063 * net/xesam.el (xesam-mode):
19064 * play/5x5.el (5x5-new-game):
19065 * play/yow.el (apropos-zippy):
19066 * progmodes/ada-mode.el (ada-mode-version):
19067 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
19069 (f90-beginning-of-block):
19070 * progmodes/fortran.el (fortran-end-of-block)
19071 (fortran-beginning-of-block):
19072 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
19073 * progmodes/python.el (python-describe-symbol, python-shell):
19074 * term/ns-win.el (ns-print-buffer):
19075 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
19076 * textmodes/flyspell.el (flyspell-mode-on):
19077 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
19078 (pages-directory-for-addresses):
19079 * textmodes/table.el (table-recognize-cell)
19080 (table-query-dimension, table-generate-source)
19081 (table-insert-sequence, table--warn-incompatibility):
19082 * textmodes/tex-mode.el (tex-validate-buffer):
19083 * textmodes/texinfmt.el (texinfmt-version)
19084 (texinfo-format-buffer):
19085 Use `called-interactively-p' instead of `interactive-p'.
19087 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
19089 * image-mode.el (image-toggle-display):
19090 * emacs-lisp/elp.el (elp-instrument-function):
19091 * emacs-lisp/advice.el (ad-make-advised-definition):
19092 * emacs-lisp/easy-mmode.el (define-minor-mode):
19093 * net/browse-url.el (browse-url-maybe-new-window):
19094 * progmodes/sh-script.el (sh-learn-buffer-indent):
19095 Pass new argument 'any to `called-interactively-p'.
19097 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
19099 * international/uni-bidi.el:
19100 * international/uni-category.el:
19101 * international/uni-combining.el:
19102 * international/uni-comment.el:
19103 * international/uni-decimal.el:
19104 * international/uni-decomposition.el:
19105 * international/uni-digit.el:
19106 * international/uni-lowercase.el:
19107 * international/uni-mirrored.el:
19108 * international/uni-name.el:
19109 * international/uni-numeric.el:
19110 * international/uni-old-name.el:
19111 * international/uni-titlecase.el:
19112 * international/uni-uppercase.el:
19113 Regenerate from Unicode 5.2.0 data.
19115 2009-10-01 Glenn Morris <rgm@gnu.org>
19117 * Makefile.in (ELCFILES): Regenerate.
19119 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
19121 * subr.el (interactive-p): Mark obsolete.
19122 (called-interactively-p): Make the optional-ness of `kind' obsolete.
19123 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
19124 advertised-signature-table for subroutines as well.
19126 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
19127 (set-advertised-calling-convention): New function.
19128 (make-obsolete, define-obsolete-function-alias)
19129 (make-obsolete-variable, define-obsolete-variable-alias):
19130 Make the optional-ness of `when' obsolete.
19131 (define-obsolete-face-alias): Make `when' non-optional.
19132 * help-fns.el (help-function-arglist):
19133 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
19134 Use advertised-signature-table.
19136 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
19138 * files.el (delete-directory): New defun. The original function
19139 in fileio.c has been renamed to `delete-directory-internal'.
19141 * dired.el (dired-delete-file): Call `delete-directory' with
19142 RECURSIVE parameter.
19144 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
19145 parameter RECURSIVE. Implementation is missing.
19147 * net/tramp.el (tramp-handle-make-directory): Flush upper
19148 directory's file properties.
19149 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
19150 (tramp-handle-dired-recursive-delete-directory): Flush directory
19151 properties after the remove command only.
19153 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
19154 Handle optional parameter RECURSIVE.
19156 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
19157 Handle optional parameter RECURSIVE.
19159 * net/tramp-smb.el (tramp-smb-errors): Add error message for
19160 connection timeout.
19161 (tramp-smb-handle-delete-directory): Handle optional parameter
19164 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
19166 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
19167 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
19168 (byte-compile-defmacro): Use backquotes.
19170 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
19172 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
19173 has no associated file.
19174 (vc-resynch-buffer): Use vc-dir-buffers.
19176 2009-10-01 Glenn Morris <rgm@gnu.org>
19178 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
19179 (chart-file-count):
19180 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
19181 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
19182 * emacs-lisp/eieio-opt.el (eieio-describe-class):
19183 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
19184 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
19185 (eieio-copy-parents-into-subclass, make-instance, class-children)
19186 (eieio-generic-form):
19188 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
19189 match-data. (Bug#4555).
19191 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
19192 rather than parsing it as a regexp. This relaxes the layout
19193 requirements and makes errors easier to detect.
19194 (check-declare-verify): Check file is regular.
19195 (check-declare-directory): Doc fix.
19196 * subr.el (declare-function): Doc fix.
19198 * ibuffer.el (ibuffer-format-qualifier):
19199 * isearch.el (hi-lock-regexp-okay):
19200 * calc/calc.el (math-zerop):
19201 * mail/uce.el (rmail-msgbeg, rmail-msgend):
19202 * term/w32-win.el (setup-default-fontset, set-fontset-font):
19203 Remove unused declarations.
19205 2009-09-30 Eric Ludlam <zappo@gnu.org>
19207 * emacs-lisp/eieio.el (boolean-p): Delete.
19209 2009-09-30 Glenn Morris <rgm@gnu.org>
19211 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
19213 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
19214 filename is not a string.
19216 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
19218 * files.el (safe-local-eval-forms): Fix typo.
19220 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
19222 * vc-hooks.el (vc-dir-buffers): New var.
19223 (vc-state-refresh): New function.
19224 (vc-state): Use it.
19225 (vc-after-save): Always ask the backend to recompute the new state.
19226 Always call vc-dir if necessary, using vc-dir-buffers.
19227 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
19228 Use vc-dir-buffers.
19229 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
19230 (vc-dir-prepare-status-buffer, vc-dir-update)
19231 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
19232 Don't call expand-file-name on default-directory.
19234 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
19236 * speedbar.el (speedbar-item-delete):
19237 * calc/calc-prog.el (calc-kbd-if):
19238 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
19240 * epa.el (epa-key-list-mode-map):
19241 * hi-lock.el (hi-lock-menu): Fix typos in menus.
19243 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
19244 (hs-show-hook): Fix typo in docstring.
19246 2009-09-29 Glenn Morris <rgm@gnu.org>
19248 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
19249 file-name-nondirectory call preventing location of cedet files.
19250 (check-declare-verify): Use literal search rather than re-search.
19251 Add basic defmethod and defclass, and define-overloadable-function.
19253 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
19254 Use tramp-compat-file-attributes rather than nonexistent
19255 tramp-compat-handle-file-attributes.
19257 * Makefile.in (lisptagsfiles4): New.
19258 (AUTOGENEL): Add cedet loaddefs files.
19259 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
19260 (update-elclist, compile-always, backup-compiled-files)
19261 (bootstrap-clean): Add yet another directory level.
19262 (update-elclist): Use LC_COLLATE rather than COLLATE.
19263 (ELCFILES): Update, via `make update-elclist'.
19265 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
19267 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
19268 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
19269 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
19271 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
19273 * Makefile.in (lisptagsfiles3): Define.
19274 (TAGS, TAGS-LISP): Use it.
19275 (update-elclist): Add third directory level to look for elc files.
19276 (compile-always): Likewise.
19277 (backup-compiled-files): Likewise.
19278 (bootstrap-clean): Likewise.
19279 (ELCFILES): Update.
19281 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
19283 * Makefile.in (ELCFILES): Add CEDET files.
19285 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
19287 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
19289 * net/tramp.el (top): Require tramp-imap.
19291 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
19292 Use `tramp-compat-handle-file-attributes'.
19294 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
19296 * net/tramp-imap.el: New package.
19298 2009-09-28 Eric Ludlam <zappo@gnu.org>
19300 * emacs-lisp/chart.el:
19301 * emacs-lisp/eieio-base.el:
19302 * emacs-lisp/eieio-comp.el:
19303 * emacs-lisp/eieio-custom.el:
19304 * emacs-lisp/eieio-datadebug.el:
19305 * emacs-lisp/eieio-opt.el:
19306 * emacs-lisp/eieio-speedbar.el:
19307 * emacs-lisp/eieio.el: New files.
19309 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19311 * whitespace.el (whitespace-trailing-regexp)
19312 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
19315 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
19317 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
19320 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
19321 menu-bar-ediff-menu.
19323 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
19324 define-overloadable-function.
19326 * progmodes/autoconf.el: Provide autoconf as well, so that this
19327 file can be `require'd.
19329 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
19331 * emacs-lisp/autoload.el (generated-autoload-feature)
19332 (generated-autoload-load-name): New vars.
19333 (autoload-rubric, autoload-generate-file-autoloads): Use them.
19334 (make-autoload): Recognize define-overloadable-function and
19335 defclass forms (for EIEIO).
19337 * Makefile.in (update-subdirs): Exclude cedet directory.
19339 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
19341 * term/ns-win.el: Don't set the region face background. (Bug#4381)
19343 * faces.el: Default light-background background for region face to
19344 ns_selection_color under NS.
19346 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
19348 * net/imap-hash.el: New library, see NEWS.
19350 * Makefile.in (ELCFILES): Add imap-hash.el.
19352 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
19354 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
19355 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
19356 * help-macro.el (make-help-screen): Avoid using an ambiguous function
19357 definition where the docstring could be taken for the return value.
19359 2009-09-26 Glenn Morris <rgm@gnu.org>
19361 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
19362 Add option to only show images below a certain size.
19363 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
19364 save-excursion calls.
19366 2009-09-26 Eli Zaretskii <eliz@gnu.org>
19368 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
19369 subdirectories) and eieio.
19371 2009-09-26 Alan Mackenzie <acm@muc.de>
19373 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19374 Correct buggy bracketing. (Bug#4289)
19376 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
19377 character constants (as case labels). (Bug#4289)
19379 2009-09-25 Juri Linkov <juri@jurta.org>
19381 * files.el (safe-local-eval-forms): Allow time-stamp in
19382 before-save-hook (Bug#4554).
19384 2009-09-25 Drew Adams <drew.adams@oracle.com>
19386 * menu-bar.el (list-buffers-directory): Doc fix.
19388 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
19390 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
19391 Try and avoid copying twice the same paragraph.
19392 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
19393 Remove save-excursion.
19394 (log-edit-changelog-entry): Do it here instead.
19396 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
19398 * bs.el (bs--get-file-name): Use `list-buffers-directory'
19399 when available, instead of hardcoding mode names. Doc fix.
19401 * menu-bar.el (list-buffers-directory): Add docstring.
19402 Make automatically buffer-local.
19404 * dired.el (dired-mode):
19405 * files.el (cd-absolute):
19406 * pcvs.el (cvs-temp-buffer):
19407 * pcvs-util.el (cvs-get-buffer-create):
19408 * shell.el (shell-mode):
19409 * vc-dir.el (vc-dir-mode):
19410 Don't make `list-buffers-directory' buffer local.
19412 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
19414 * comint.el (comint-exec, comint-run, make-comint):
19415 Doc fixes (Bug#4542).
19417 2009-09-25 Glenn Morris <rgm@gnu.org>
19419 * mail/rmailmm.el (rmail-mime): New custom group.
19420 Move all defcustoms in this file into this group.
19421 (rmail-mime-media-type-handlers-alist): Revert previous change.
19422 (rmail-mime-show-images): New option.
19423 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
19424 references to it, since it wasn't actually used for anything.
19425 (rmail-mime-insert-image): New function.
19426 (rmail-mime-image): Use rmail-mime-insert-image.
19427 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
19428 obey the value of `rmail-mime-show-images' option. Print the size of
19431 2009-09-25 David Engster <deng@randomsample.de>
19433 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
19435 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19437 * whitespace.el: Does not highlight trailing spaces While point is
19438 at end of line. Does not highligt spaces at beginning of buffer
19439 while point is at beginning of buffer. Does not highlight spaces
19440 at end of buffer while point is at end of buffer. (Bug#4177)
19442 (whitespace-display-mappings): Adjust initialization.
19443 (whitespace-point, whitespace-font-lock-refontify): New vars.
19444 (whitespace-color-on, whitespace-color-off): Adjust code.
19445 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
19446 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
19447 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
19449 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
19451 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
19453 * textmodes/sgml-mode.el: Remove xml-mode alias.
19455 * files.el (auto-mode-alist, conf-mode-maybe)
19456 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
19458 2009-09-24 Alan Mackenzie <acm@muc.de>
19460 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
19461 c-forward-conditionals, but it doesn't move point and doesn't set
19463 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
19464 (c-down-conditional-with-else, c-backward-conditional)
19465 (c-forward-conditional): Refactor to use c-scan-conditionals.
19467 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19469 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
19470 (help-default-arg-highlight): Remove.
19471 (help-highlight-arg): New function.
19472 (help-do-arg-highlight): Use it.
19473 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
19475 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19477 * term.el (term-set-scroll-region, term-handle-ansi-escape):
19478 Undo last change, which didn't fix the problem and introduced others.
19480 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
19482 * progmodes/gdb-mi.el: Don't require speedbar.
19483 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
19485 2009-09-24 Glenn Morris <rgm@gnu.org>
19487 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
19489 * term/ns-win.el (ns-reg-to-script): Define for compiler.
19491 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
19492 there is no newline after the final mime boundary. (Bug#4539)
19493 Move markers on insertion so that any buttons inserted don't end up in
19494 the next part of a multipart message.
19495 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
19496 (rmail-mime-bulk-handler): Optionally handle images.
19497 (rmail-mime-image): New button action.
19498 (rmail-mime-image-handler): New function.
19499 (rmail-mime-mode): New mode.
19500 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
19502 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19504 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
19505 than just dropping elements from it (bug#4504).
19507 * term.el (term-set-scroll-region): Don't move cursor any more.
19508 (term-handle-ansi-escape): Call term-goto here instead.
19509 Suggested by Ivan Kanis <apple@kanis.eu>.
19511 * term.el: Require CL.
19512 (term-ansi-reset): New function.
19513 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
19514 (term-handle-colors-array): Simplify.
19516 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19518 * allout.el (allout-overlay-interior-modification-handler)
19519 (allout-obtain-passphrase):
19520 * epa-file.el (epa-file-write-region):
19521 * ps-print.el (ps-begin-job):
19522 * vc-hooks.el (vc-toggle-read-only):
19523 * vc-rcs.el (vc-rcs-rollback):
19524 * vc-sccs.el (vc-sccs-rollback):
19525 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
19526 (vc-version-diff, vc-revert, vc-rollback):
19527 * wdired.el (wdired-check-kill-buffer):
19528 * emacs-lisp/authors.el (authors):
19529 * net/socks.el (socks-open-connection):
19530 * net/zeroconf.el (zeroconf-service-add-hook):
19531 * obsolete/vc-mcvs.el (vc-mcvs-register):
19532 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
19533 (gdb-select-frame):
19534 * progmodes/grep.el (lgrep, rgrep):
19535 * progmodes/idlw-help.el (idlwave-help-check-locations)
19536 (idlwave-help-html-link, idlwave-help-assistant-open-link):
19537 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
19538 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
19539 (reftex-toc-rename-label): Fix typos in error messages.
19541 * dired-aux.el (dired-do-shell-command): Reflow docstring.
19542 (dired-copy-how-to-fn): Doc fix.
19543 (dired-files-attributes, dired-read-shell-command):
19544 Fix typos in docstrings.
19546 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
19547 (dired-x-find-file-other-window): Reflow docstrings.
19548 (dired-omit-marker-char, dired-read-shell-command)
19549 (dired-x-submit-report): Fix typos in docstrings.
19551 * shell.el (shell-mode-hook):
19552 * view.el (View-scroll-line-forward):
19553 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
19554 Fix typos in docstrings.
19556 * net/dig.el (dig-invoke): Fix typo in docstring.
19557 (query-dig): Reflow docstring.
19559 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
19560 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
19561 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
19562 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
19563 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
19564 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
19565 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
19566 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
19567 (idlwave-completion-map, idlwave-current-indent)
19568 (idlwave-custom-ampersand-surround, idlwave-customize)
19569 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
19570 (idlwave-define-abbrev, idlwave-determine-class-special)
19571 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
19572 (idlwave-end-block-reg, idlwave-end-of-statement)
19573 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
19574 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
19575 (idlwave-explicit-class-listed, idlwave-file-header)
19576 (idlwave-fill-paragraph, idlwave-find-class-definition)
19577 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
19578 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
19579 (idlwave-in-quote, idlwave-indent-action-table)
19580 (idlwave-indent-expand-table, idlwave-indent-line)
19581 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
19582 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
19583 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
19584 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
19585 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
19586 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
19587 (idlwave-outlawed-buffers, idlwave-popup-select)
19588 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
19589 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
19590 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
19591 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
19592 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
19593 (idlwave-statement-type, idlwave-struct-skip)
19594 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
19595 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
19596 (idlwave-what-module-find-class): Fix typos in docstrings.
19597 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
19598 (idlwave-calculate-cont-indent, idlwave-expand-equal)
19599 (idlwave-find-module, idlwave-find-structure-definition)
19600 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
19601 (idlwave-list-load-path-shadows, idlwave-next-statement)
19602 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
19603 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
19604 (idlwave-template): Reflow docstrings.
19606 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
19607 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
19608 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
19609 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
19610 (idlwave-shell-display-line, idlwave-shell-display-wframe)
19611 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
19612 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
19613 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
19614 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
19615 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
19616 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
19617 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
19618 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
19619 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
19620 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
19621 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
19622 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
19623 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
19624 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
19625 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
19626 Fix typos in docstrings.
19627 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
19628 (idlwave-shell-hide-output, idlwave-shell-mode)
19629 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
19632 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
19634 2009-09-24 Ivan Kanis <apple@kanis.eu>
19636 * term.el (term-bold-attribute): New var.
19637 (term-handle-colors-array): Use it.
19639 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
19641 * progmodes/gdb-mi.el (gdb-version): New variable.
19642 (gdb-non-stop-handler): Set gdb-version.
19643 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
19644 Condition "--thread" option on gdb-version.
19645 (gdb-invalidate-threads): Remove unused argument.
19647 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19649 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
19650 to looking-back to avoid ridiculous slow down in large files (bug#4511).
19652 2009-09-23 Glenn Morris <rgm@gnu.org>
19654 * mail/rmail.el (rmail-reply): Don't try to add a References header when
19655 replying to mail without References or Message-Id. (Bug#4525)
19657 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
19659 * term/ns-win.el (ns-reg-to-script): New variable.
19661 2009-09-23 Daiki Ueno <ueno@unixuser.org>
19663 * epg.el (epg-wait-for-status): Preserve existing 'error results.
19665 2009-09-22 Sam Steingold <sds@gnu.org>
19667 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
19668 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
19669 to 1 because hg returns status 1 when nothing is found.
19670 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
19672 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
19674 * textmodes/fill.el: Convert to utf-8 encoding.
19675 (fill-french-nobreak-p): Remove redundant » and « inherited from our
19678 * add-log.el (change-log-fill-forward-paragraph): New function.
19679 (change-log-mode): Use it so fill-region DTRT.
19680 Set fill-indent-according-to-mode here rather than in
19681 change-log-fill-paragraph.
19682 (change-log-fill-paragraph): Remove.
19684 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
19686 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
19687 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
19689 2009-09-22 Glenn Morris <rgm@gnu.org>
19691 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
19692 the scroll-bar scroll the calendar window rather than the buffer.
19694 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
19695 commands that move point (as opposed to scrolling).
19697 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
19699 * emacs-lisp/elint.el (elint): New custom group.
19700 (elint-log-buffer): Make it a defcustom.
19701 (elint-scan-preloaded, elint-ignored-warnings)
19702 (elint-directory-skip-re): New options.
19703 (elint-builtin-variables): Doc fix.
19704 (elint-preloaded-env): New variable.
19705 (elint-unknown-builtin-args): Add an entry for encode-time.
19706 (elint-extra-errors): Make it a variable rather than a constant.
19707 (elint-preloaded-skip-re): New constant.
19708 (elint-directory): Skip files matching elint-directory-skip-re.
19709 (elint-features): New variable, local to linted buffers.
19710 (elint-update-env): Initialize elint-features. Possibly add
19711 elint-preloaded-env to the buffer's environment.
19712 (elint-get-top-forms): Bind elint-current-pos, for log messages.
19714 (elint-init-form): New function, extracted from elint-init-env.
19715 Make non-list forms a warning rather than an error.
19716 Add the mode-map for define-derived-mode. Handle define-minor-mode,
19717 easy-menu-define, put that adds an error-condition, and provide.
19718 When requiring cl, also require cl-macs. Really require cl, to handle
19719 some cl macros. Store required libraries in the list elint-features,
19720 so as not to re-load them. Treat cc-require like require.
19721 (elint-init-env): Call elint-init-form to do the work.
19722 Handle eval-and-compile and such like.
19723 (elint-add-required-env): Do not clear messages.
19724 (elint-special-forms): Add handlers for function, defalias, if, when,
19726 (elint-form): Add optional argument to ignore elint-special-forms,
19727 useful to prevent recursive calls from handlers. Doc fix.
19728 Respect elint-ignored-warnings.
19729 (elint-form): Respect elint-ignored-warnings.
19730 (elint-bound-variable, elint-bound-function): New variables.
19731 (elint-unbound-variable): Respect elint-bound-variable.
19732 (elint-get-args): Respect elint-bound-function.
19733 (elint-check-cond-form): Add some simple handling for (f)boundp and
19735 (elint-check-defalias-form): New handler.
19736 (elint-check-let-form): Make an empty let a warning rather than an
19738 (elint-check-setq-form): Make an empty setq a warning rather than an
19739 error. Respect elint-ignored-warnings.
19740 (elint-check-defvar-form): Accept null doc-strings.
19741 (elint-check-conditional-form): New handler. Does some simple-minded
19742 checking of featurep and (f)boundp tests.
19743 (elint-put-function-args): New function.
19744 (elint-initialize): Use elint-scan-doc-file rather than
19745 elint-find-builtin-variables. Use elint-put-function-args.
19746 Possibly scan preloaded-file-list.
19747 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19748 extend to handle functions as well.
19750 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
19752 * linum.el (linum-delete-overlays, linum-update-window):
19753 Do not modify the right margin. (Bug#3971)
19755 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
19757 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19758 Use nxml-mode instead of xml-mode.
19760 2009-09-21 Kevin Ryde <user42@zip.com.au>
19762 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
19764 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19766 * net/dig.el (dig-mode): Use define-derived-mode.
19768 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
19770 * vc-dispatcher.el (vc-do-command): Return the process object in
19771 the asynchronous case. Use when instead of if. Do not run
19772 vc-exec-after to display a message if not enabled. (Bug#4463)
19774 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19775 properties to the stash strings.
19776 (vc-git-stash-list): Return a list of strings.
19777 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19778 (vc-git-stash-show-at-point): New functions.
19779 (vc-git-stash-map): New keymap.
19781 * register.el (ctl-x-r-map): Define the keys here instead of
19784 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
19786 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19787 list, to workaround performance problem (bug#4485).
19789 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
19791 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19793 2009-09-20 Daiki Ueno <ueno@unixuser.org>
19795 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19796 Document that this option is not recommended to use.
19798 2009-09-19 Glenn Morris <rgm@gnu.org>
19800 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19803 * calc/calc-alg.el (var):
19804 * calc/calcalg2.el (var): Define for compiler.
19806 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
19808 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19809 Doc fix (Bug#3932).
19811 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19813 * time-stamp.el (time-stamp-month-dd-yyyy)
19814 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19815 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19816 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19817 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19818 Remove functions that have been obsolete since 1995 (Bug#4436).
19820 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19821 indent buffer only if called interactively (Bug#4452).
19823 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
19824 Eli Zaretskii <eliz@gnu.org>
19826 This fixes bug#4197 (merged to bug#865, though not identical).
19827 * server.el (server-auth-dir): Add docstring note about FAT32.
19828 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19829 but warn against using them.
19831 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
19833 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19834 older GDB where there is no has_more field.
19836 2009-09-19 Glenn Morris <rgm@gnu.org>
19838 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19840 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
19842 * files.el (auto-mode-alist): Change default for XML files to nXML
19845 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
19847 * server.el (server-ensure-safe-dir): Pass 'integer
19848 to `file-attributes', as suggested.
19850 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
19852 * dired-aux.el (dired-query-alist): Remove spurious backslash.
19853 (dired-query): Use read-key.
19855 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
19857 * cus-start.el (ns-use-qd-smoothing): Remove.
19859 2009-09-18 Glenn Morris <rgm@gnu.org>
19861 * allout.el (top-level): Remove unnecessary progn.
19863 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19865 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19866 definition of abbrev table.
19868 * speedbar.el (speedbar-track-mouse):
19869 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19870 * net/eudc.el (eudc-expand-inline):
19871 * net/newst-backend.el (newsticker--cache-read-feed):
19872 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19873 condition-case handlers.
19875 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
19877 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19878 (gdb-var-list): Add an element for has_more field.
19879 (gdb-non-stop-handler): Enable pretty printing for STL containers.
19880 (gdb-var-create-handler, gdb-var-list-children-handler-1)
19881 (gdb-var-update-handler-1): Parse output of dynamic variable
19882 objects (STL containers).
19883 (gdb-var-delete-1): Pass var1 as an explicit second argument.
19884 (gdb-get-field): Delete alias. Use bindat-get-field directly.
19886 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19888 (gud-speedbar-buttons): Make node expandable if expression "has more"
19891 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
19893 * startup.el (emacs-quick-startup): Remove variable and all uses.
19894 (command-line): Set `inhibit-x-resources' instead.
19895 (command-line-1): Use `inhibit-x-resources' instead.
19897 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
19899 * subr.el: Fix last change to avoid using the `unless' macro,
19900 which breaks bootstrapping.
19902 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19904 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19905 extended definitions, in case we reload subr.el after having
19907 (eval-next-after-load): Mark as obsolete.
19909 2009-09-17 Juri Linkov <juri@jurta.org>
19911 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19912 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19913 (menu-bar-showhide-menu, menu-bar-tools-menu)
19914 (menu-bar-describe-menu, menu-bar-help-menu)
19915 (minibuffer-local-completion-map, minibuffer-local-map):
19918 2009-09-17 Glenn Morris <rgm@gnu.org>
19920 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
19921 arguments, whether or not it has a handler.
19923 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19925 * simple.el (hard-newline): Give it a doc-string.
19927 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19928 (lisp-mode-syntax-table): Give them doc-strings.
19930 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
19932 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
19933 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
19934 (menu-bar-options-menu, menu-bar-showhide-menu)
19935 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
19936 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
19937 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
19938 (menu-bar-options-menu, menu-bar-tools-menu)
19939 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
19940 (menu-bar-help-menu):
19941 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
19944 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
19945 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
19946 calls for the menu names and :help.
19948 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19950 * mouse.el (minor-mode-menu-from-indicator): Pay attention
19951 to :minor-mode-function (bug#4455).
19953 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19955 * startup.el (command-line): Initialize the window-system after
19956 processing the command-line.
19958 * textmodes/page.el (what-page): Make sure we don't inf-loop if
19959 page-delimiter matches the empty string.
19961 2009-09-16 Glenn Morris <rgm@gnu.org>
19963 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
19964 byte-compile-not-obsolete-var. It's a list now.
19965 (byte-compile-not-obsolete-funcs): New variable.
19966 (byte-compile-warn-obsolete): Don't warn about functions if they are in
19967 byte-compile-not-obsolete-funcs.
19968 (byte-compile-variable-ref, byte-compile-defvar): Update for
19969 byte-compile-not-obsolete-vars name-change and list nature.
19970 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
19971 and variables behind (f)boundp tests.
19972 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
19974 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19976 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19978 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19980 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
19981 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19984 2009-09-15 Stephen Eglen <stephen@gnu.org>
19986 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19987 the virtual-buffers, use the name of the buffer specified by
19988 find-file-noselect, as the match may be a symlink. (This was a
19989 problem if the target and the symlink had different names.)
19991 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19993 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19995 * desktop.el (desktop-path): Check user-emacs-directory.
19997 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19999 * loadup.el: Use after-load-functions to GC after loading each file.
20000 Remove the explicit GC calls that used to be sprinkled around.
20002 * subr.el (after-load-functions): New hook.
20003 (do-after-load-evaluation): Run it. Use string-match-p to detect
20004 `obsolete' packages, rather than painfully extracting the relevant
20007 2009-09-15 Glenn Morris <rgm@gnu.org>
20009 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
20010 free variable `doc'.
20012 * dired.el (dired-mode-map): Add menu entry for async shell command.
20014 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
20015 variables, also consider the .elc files, since the .el files are
20016 normally gzipped (subsequent code locates the .el.gz from the .elc).
20018 * calc/calc-prog.el (arglist): Define for compiler.
20020 * calendar/diary-lib.el (diary-display-function): Change the default to
20022 (body): Define for compiler.
20024 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
20025 (byte-compile-file-form, byte-compile-lambda)
20026 (byte-compile-top-level-body, byte-compile-form)
20027 (byte-compile-variable-ref, byte-compile-setq)
20028 (byte-compile-setq-default, byte-compile-body)
20029 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
20030 (batch-byte-compile): Give some more local variables with common names
20031 a "bytecomp-" prefix to avoid masking warnings about free variables.
20033 * startup.el (command-line-1): Give local variables with common names a
20034 distinguishing prefix, so as not to hide free variable warnings during
20037 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
20038 clever and add a suffix to make a unique name, just let the user decide
20039 whether or not to overwrite it. If the input is a directory, write the
20040 default filename to that directory. (Bug#4388)
20041 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
20042 is a filename-as-a-directory.
20044 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
20046 * textmodes/page.el (what-page): Don't move to beginning of line.
20047 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
20049 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
20051 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
20053 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
20055 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
20056 * help.el (help-for-help-internal): Add purecopy calls for text.
20058 * vc.el (top): print-log method now takes an optional SHORTLOG
20059 argument. Add a new method: root.
20060 (vc-root-diff, vc-print-root-log): New functions.
20061 (vc-log-short-style): New variable.
20062 (vc-print-log-internal): Add support for showing short logs.
20064 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
20065 vc-print-root-log and vc-print-root-diff.
20067 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
20068 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
20069 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
20072 * vc-cvs.el (vc-cvs-print-log):
20073 * vc-mtn.el (vc-mtn-print-log):
20074 * vc-rcs.el (vc-rcs-print-log):
20075 * vc-sccs.el (vc-sccs-print-log):
20076 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
20077 that is ignored for now.
20079 * vc-mtn.el (vc-mtn-annotate-command):
20080 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
20082 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20084 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
20085 to function-key-map, and give them ascii-character property.
20086 * term/x-win.el (x-alternatives-map):
20087 * term/ns-win.el (ns-alternatives-map):
20088 * term/internal.el (msdos-key-remapping-map):
20089 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
20091 2009-09-14 Glenn Morris <rgm@gnu.org>
20093 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
20094 temp-buffers (2009-09-12).
20096 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
20098 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
20099 the new read-key function.
20101 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
20103 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
20104 is defined (Bug#4405).
20106 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
20108 * recentf.el (recentf-cleanup): Use a hash table to find
20109 duplicates (Bug#4407).
20111 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
20113 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
20114 kp-0 to ascii equivalents (Bug#4325).
20116 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
20118 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
20120 * eshell/em-hist.el:
20121 * eshell/em-dirs.el (eshell-complete-user-reference):
20122 Declare pcomplete functions and variables to avoid compiler warnings.
20124 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
20126 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
20127 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
20128 * eshell/em-alias.el (eshell-aliases-file):
20129 * eshell/em-hist.el (eshell-history-file-name):
20130 Use expand-file-name instead of concat to make file names (Bug#4308).
20132 2009-09-13 Glenn Morris <rgm@gnu.org>
20134 * ediff-merg.el (ediff-do-merge):
20135 * filesets.el (filesets-run-cmd):
20136 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
20137 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
20138 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
20139 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
20140 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
20141 Replace empty `let's with `progn'.
20143 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
20145 * mail/sendmail.el (send-mail-function):
20146 * tooltip.el (tooltip-mode):
20147 * simple.el (transient-mark-mode):
20148 * rfn-eshadow.el (file-name-shadow-mode):
20149 * frame.el (blink-cursor-mode):
20150 * font-core.el (global-font-lock-mode):
20151 * files.el (temporary-file-directory)
20152 (small-temporary-file-directory, auto-save-file-name-transforms):
20153 * epa-hook.el (auto-encryption-mode):
20154 * composite.el (global-auto-composition-mode):
20155 Use custom-initialize-delay.
20156 * startup.el (command-line): Don't explicitly call
20157 custom-reevaluate-setting for all the above vars.
20158 * custom.el (custom-initialize-safe-set)
20159 (custom-initialize-safe-default): Delete.
20161 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20163 * term/x-win.el (x-initialize-window-system):
20164 * term/w32-win.el (w32-initialize-window-system):
20165 * term/ns-win.el (ns-initialize-window-system): Don't call
20166 mouse-wheel-mode since it's enabled globally by default already.
20168 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
20169 actually define the variable, but only silences the byte-compiler.
20170 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
20171 before looking it up.
20172 (mouse-wheel-scroll-amount): Also reset the bindings if this value
20175 2009-09-12 Glenn Morris <rgm@gnu.org>
20177 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
20179 (elint-add-required-env): Don't beep on error.
20180 (elint-forms): In case of error, return ENV unchanged.
20181 (elint-init-env): Skip non-list forms.
20182 (elint-log): Handle unknown file positions.
20184 2009-09-12 Daiki Ueno <ueno@unixuser.org>
20186 * epg.el (epg-make-context): Add autoload cookie.
20187 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
20188 (epg-decrypt-string, epg-start-verify, epg-verify-file)
20189 (epg-verify-string, epg-start-sign, epg-sign-file)
20190 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
20191 (epg-encrypt-string, epg-start-export-keys)
20192 (epg-export-keys-to-file, epg-export-keys-to-string)
20193 (epg-start-import-keys, epg-import-keys-from-file)
20194 (epg-import-keys-from-string, epg-start-receive-keys)
20195 (epg-receive-keys, epg-import-keys-from-server)
20196 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
20197 (epg-sign-keys, epg-start-generate-key)
20198 (epg-generate-key-from-file, epg-generate-key-from-string):
20199 Remove autoload cookie.
20201 2009-09-12 Eli Zaretskii <eliz@gnu.org>
20203 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
20204 reevaluation of trash-directory.
20206 * mwheel.el: Fix last change.
20207 (mouse-wheel-mode): New defvar.
20208 (mouse-wheel-mode): Remove autoload cookie.
20210 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20212 * mwheel.el (mwheel-installed-bindings): New var.
20213 (mouse-wheel-mode): Use it, so as to make sure we really remove all
20214 the bindings we set last time. Use custom-initialize-delay.
20215 * loadup.el: Load mwheel after term/*-win.el.
20216 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
20217 and mouse-wheel-up-event now that their first evaluation is done
20218 sufficiently late to be correct.
20220 * startup.el (tutorial-directory): Make it a defcustom.
20221 Use custom-initialize-delay rather than eval-at-startup to set it.
20222 * image.el (image-load-path): Make it a defcustom.
20223 Use custom-initialize-delay rather than eval-at-startup to set it.
20224 * subr.el (eval-at-startup): Remove.
20225 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
20227 * subr.el (do-after-load-evaluation): Warn the user after loading an
20230 2009-09-12 Glenn Morris <rgm@gnu.org>
20232 * proced.el (proced-mark-alt): Remove alias.
20233 (proced-mode-map): Remove proced-mark-alt.
20235 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
20236 Elint file and directory. Remove initialization entry.
20238 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
20240 (elint-current-buffer): Set mode-line-process.
20241 (elint-init-env): Handle define-derived-mode.
20242 Fix declare-function with unspecified arglist. Guard against odd
20243 defalias statements (eg iso-insert's 8859-1-map).
20244 (elint-add-required-env): Use a temp buffer.
20245 (elint-form): Just print the function/macro name, not the whole form.
20246 Return env unchanged if we fail to parse a macro.
20247 (elint-forms): Guard against parse errors.
20248 (elint-output): New function, to handle batch mode.
20249 (elint-log-message): Add optional argument. Use elint-output.
20250 (elint-set-mode-line): New function.
20252 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
20254 * emacs-lisp/elp.el (elp-not-profilable): Add more
20255 functions (Bug#4233).
20257 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
20259 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
20260 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
20262 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
20264 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
20265 (gdb-var-list-children): Use json parsing.
20267 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
20269 * progmodes/js.el (js--proper-indentation): Handle the case where
20270 char-before is null. Reported by Deniz Dogan.
20272 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
20274 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
20276 2009-09-11 Daiki Ueno <ueno@unixuser.org>
20278 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
20279 (epg-digest-algorithm-alist): Add SHA224.
20280 (epg-context-set-passphrase-callback)
20281 (epg-context-set-progress-callback): Add description about
20284 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20286 * custom.el (custom-delayed-init-variables): New var.
20287 (custom-initialize-delay): New function.
20288 * startup.el (command-line): "Re"evaluate all vars in
20289 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
20290 explicitly any more.
20291 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
20292 to avoid creating a ~/.emacs.d at build-time (bug#4347).
20294 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
20296 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
20298 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
20299 (gdb-var-update-handler): Use json parsing.
20301 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
20303 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
20304 decode annotated text, regardless of language environment. (Bug#2741)
20306 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20308 * Makefile.in (autoloads): Make rmail.el writable as well.
20310 2009-09-11 Glenn Morris <rgm@gnu.org>
20312 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
20314 * dired.el: Regenerate with extracted autoloads.
20315 * Makefile.in (autoloads): Make dired.el writable.
20317 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
20318 * ibuffer.el: Regenerate with extracted autoloads.
20319 * Makefile.in (autoloads): Make ibuffer.el writable.
20321 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
20322 * version.el (emacs-copyright, emacs-major-version)
20323 (emacs-minor-version): Reformat doc-strings for make-docfile.
20325 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
20326 functions and variables, since they must be stuff specific to some other
20328 (apropos-print): Make mouse-click message less specific about button.
20330 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
20331 that records where a macro was defined.
20332 * help-fns.el (describe-function-1): Mention if a function has a
20334 * help-mode.el (help-function-cmacro): New button.
20336 * locate.el (top-level): Always require dired.
20337 (locate-mode-map): Initialize inside the defvar.
20339 * net/ange-ftp.el (dired-compress-file): Declare.
20340 (ange-ftp-dired-compress-file): Add doc string.
20342 * term/ns-win.el (x-display-name, x-setup-function-keys):
20343 Unify doc-strings with X versions.
20345 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
20347 * emulation/crisp.el (crisp-mode-map): Move initialization
20349 (crisp-mode): Use define-minor-mode.
20351 * progmodes/xscheme.el (xscheme-evaluation-commands):
20352 Put a :advertised-binding property rather than using
20353 advertised-xscheme-send-previous-expression.
20354 (advertised-xscheme-send-previous-expression): Declare obsolete.
20355 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
20357 (crisp-mode): Add corresponding bindings to
20358 undo's :advertised-binding instead.
20359 * dired.el (dired-mode-map): Put a :advertised-binding property rather
20360 than using dired-advertised-find-file.
20361 (dired-advertised-find-file):
20362 * simple.el (advertised-undo):
20363 * wid-edit.el (advertised-widget-backward): Declare obsolete.
20364 (widget-keymap): Put a :advertised-binding property rather
20365 than using advertised-widget-backward.
20366 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
20367 than using advertised-undo.
20368 * tutorial.el (tutorial--default-keys): Adjust accordingly.
20370 2009-09-10 Simon South <ssouth@slowcomputing.org>
20372 * progmodes/delphi.el (delphi-tab): Indent region when Transient
20373 Mark mode is enabled and region is active; otherwise indent or
20374 insert TAB as usual.
20375 (delphi-mode): Update description of TAB-key binding.
20377 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
20379 * subr.el (define-key-rebound-commands): Mark obsolete.
20380 * startup.el (precompute-menubar-bindings): Remove.
20381 (normal-top-level): Remove obsolete code that tried to precompute
20383 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
20384 define-key-rebound-commands and precompute-menubar-bindings.
20386 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
20388 * net/imap.el (imap-interactive-login): Better messages.
20389 (imap-open): Fix bug with renamed buffer on reconnect.
20390 (imap-authenticate): Add buffer-local imap-last-authenticator variable
20391 for easier debugging and cleaner code. On successful (guessed based on
20392 server capabilities) secondary authentication, set imap-state
20394 (imap-last-authenticator): Define imap-last-authenticator as a variable
20397 2009-09-10 Glenn Morris <rgm@gnu.org>
20399 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
20401 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
20402 (byte-compile-file-form-autoload): Don't warn about unknown functions
20403 where the autoload statement comes after the use.
20404 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
20405 that any handlers inside the body (eg require) are in turn respected.
20407 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
20410 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
20411 and syntax and abbrev tables basic docs, if they don't have any.
20413 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
20415 * international/mule-cmds.el (top-level): Require cl when compiling.
20416 (view-hello-file): Use default-value rather than
20417 default-enable-multibyte-characters.
20419 * progmodes/fortran.el: Move all safe and risky properties into the
20422 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
20423 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
20424 * mail/undigest.el:
20425 Put autoloads in rmail.el rather than loaddefs.el.
20426 * mail/rmail.el: Regenerate with extracted autoloads.
20428 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
20429 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
20431 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
20433 Reported in thread for Bug#4375.
20434 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
20435 "-data-evaluate-expression" instead of print.
20436 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
20437 (gdb-tooltip-print): Parse output from above MI command.
20438 (gdb): Revert 2009-08-11 change. User should detach inferior
20441 Remove the word "separate" from IO functions as inferior
20442 output is now never displayed in the GUD buffer.
20444 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
20446 * startup.el (command-line-normalize-file-name): On Windows and
20447 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
20449 2009-09-10 Juri Linkov <juri@jurta.org>
20451 * isearch.el (isearch-text-char-description): Propertize escape
20452 character sequences with the `escape-glyph' face. (Bug#4344)
20454 * simple.el (shell-command): Set asynchronous process filter to
20455 `comint-output-filter'. (Bug#4343)
20457 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
20458 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
20459 the list. Move "asm" to the bottom.
20460 (grep-find-ignored-directories): Add `choice' with nil value
20461 to empty the list easily.
20462 (grep-find-ignored-files): New option.
20463 (grep-files-history): Set to nil by default instead of '("ch" "el").
20464 (grep-compute-defaults): Add "<X>" to `grep-template'.
20465 (grep-read-files): Bind new local variables `default-alias' and
20466 `default-extension'. Use a list of default values for the file prompt.
20467 (lgrep): Add `--exclude=' command line options composed from
20468 `grep-find-ignored-files'.
20469 (rgrep): Add `-name' command line options composed from
20470 `grep-find-ignored-files'. (Bug#4301)
20472 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
20474 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
20477 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
20479 * calendar/time-date.el (autoload):
20480 Expand define-obsolete-function-alias into defalias and make-obsolete
20481 for old Emacsen that Gnus supports.
20482 (with-no-warnings): Define it for old Emacsen.
20483 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
20485 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
20486 float-time is available; suppress compile warning for time-to-seconds.
20488 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
20490 * net/imap.el (imap-message-map): Docstring fix.
20492 2009-09-09 Glenn Morris <rgm@gnu.org>
20494 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
20495 line numbers too. (Bug#4374)
20497 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
20499 * smerge-mode.el (smerge-remove-props, smerge-refine):
20500 Use with-silent-modifications (bug#4342).
20502 * subr.el (with-silent-modifications): New macro.
20504 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
20506 * files.el (top-level): Require `cl' when compiling.
20508 2009-09-07 Glenn Morris <rgm@gnu.org>
20510 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
20512 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
20513 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
20515 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
20517 * vc-git.el (vc-git-annotate-command): Use separator to parse
20518 arguments correctly.
20520 2009-09-06 Eli Zaretskii <eliz@gnu.org>
20522 * proced.el (proced-mode): Doc fix.
20524 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
20526 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
20528 (tramp-do-file-attributes-with-ls): Check for file existence at
20530 (tramp-do-file-attributes-with-stat): Likewise.
20531 (tramp-convert-file-attributes): Return nil when attr is nil.
20533 2009-09-05 Glenn Morris <rgm@gnu.org>
20535 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
20536 properties to this button.
20537 (diary-fancy-display): Don't extend the button to the final newline.
20538 (diary-fancy-display-mode): Continue to define "q" as a local key.
20540 * calendar/cal-china.el (holiday-chinese): Make it slightly more
20543 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
20545 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
20546 (byte-compile-dest-file-function): New option.
20547 (byte-compile-dest-file): Doc fix.
20548 Obey byte-compile-dest-file-function.
20549 (byte-compile-cl-file-p): New function.
20550 (byte-compile-eval): Only suppress noruntime warnings about cl functions
20551 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
20552 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
20553 than for file being previously loaded.
20554 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
20555 (byte-compile-file-form-require): Handle the case where requiring a file
20556 indirectly causes CL to be loaded.
20558 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20560 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
20561 before killing the old buffer, since by the time `kill-buffer' is
20562 run so many buffer variables have been set to nil that it may not
20563 behave as expected. (Bug#4061)
20565 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20567 * files.el (find-alternate-file): If the old buffer is modified
20568 and visiting a file, behave similarly to `kill-buffer' when
20569 killing it, thus reverting to the pre-1.878 behavior; see
20570 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
20571 for discussion. Also, consult `buffer-file-name' as a variable
20572 not as a function, for consistency with the rest of the code.
20574 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
20576 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
20577 also when adding a new directory.
20579 * net/tramp-compat.el (tramp-compat-line-beginning-position):
20582 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
20584 * files.el (locate-file-completion-table): Make it provide boundary
20585 information, so partial-completion works better.
20587 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
20589 * mail/footnote.el (Footnote-text-under-cursor):
20590 Check footnote-text-marker-alist before using it (bug#4324).
20592 2009-09-04 Glenn Morris <rgm@gnu.org>
20594 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
20595 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
20596 * play/solitaire.el, play/tetris.el:
20597 Remove leading * from defcustom and defface docs.
20599 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
20601 (diary-fancy-overriding-map): New variable.
20602 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
20605 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
20608 2009-09-03 Glenn Morris <rgm@gnu.org>
20610 * arc-mode.el (archive-mode):
20611 * dos-fns.el (set-default-process-coding-system):
20612 * man.el (Man-getpage-in-background):
20613 * menu-bar.el (menu-bar-describe-menu):
20614 * server.el (server-process-filter):
20615 * startup.el (command-line):
20616 * tar-mode.el (tar-header-block-tokenize, tar-extract):
20617 * w32-fns.el (set-default-process-coding-system):
20618 * x-dnd.el (x-dnd-handle-file-name):
20619 * international/mule-cmds.el (mule-menu-keymap)
20620 (set-default-coding-systems, language-info-alist, set-language-info)
20621 (set-language-environment, standard-display-european-internal)
20622 (set-locale-environment):
20623 * international/mule-diag.el (mule-diag):
20624 * mail/emacsbug.el (report-emacs-bug):
20625 * mail/rmail.el (rmail-mode):
20626 * mail/sendmail.el (mail-setup):
20627 Use default-value rather than default-enable-multibyte-characters.
20629 * progmodes/f90.el: Move all safe properties into the defcustoms.
20630 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
20632 * calendar/appt.el (appt-check):
20633 * calendar/diary-lib.el (diary-set-header, diary-live-p)
20634 (diary-check-diary-file, diary-list-entries)
20635 (diary-include-other-diary-files, diary-simple-display)
20636 (diary-fancy-display, diary-print-entries)
20637 (diary-mark-included-diary-files, diary-make-entry):
20638 Don't call substitute-in-file-name on diary-file.
20640 2009-09-03 Eduard Wiebe <usenet@pusto.de>
20641 Stefan Monnier <monnier@iro.umontreal.ca>
20643 * mail/footnote.el (footnote-prefix): Make it a defcustom.
20644 (footnote-mode-map): Move initialization into the declaration.
20645 (footnote-minor-mode-map): Define it rather than changing global-map.
20646 (footnote-mode): Use define-minor-mode.
20648 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
20650 * net/tramp.el (tramp-handle-file-attributes-with-ls)
20651 (tramp-do-file-attributes-with-perl)
20652 (tramp-do-file-attributes-with-stat): Rename from
20653 `tramp-handle-file-attributes-with-*'.
20654 (tramp-handle-file-attributes): Use them.
20655 (tramp-do-directory-files-and-attributes-with-perl)
20656 (tramp-do-directory-files-and-attributes-with-stat): Rename from
20657 `tramp-handle-directory-files-and-attributes-with-*'.
20658 (tramp-handle-directory-files-and-attributes): Use them.
20659 (tramp-method-out-of-band-p): Additional parameter SIZE.
20660 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
20661 (tramp-handle-write-region): Use it.
20662 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
20663 (tramp-handle-vc-registered): Check, whether the first run did
20664 return files to be tested.
20665 (tramp-advice-make-auto-save-file-name): Do not call directly
20666 `tramp-handle-make-auto-save-file-name', because this would bypass
20667 the locking mechanism.
20669 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
20670 (file-remote-p, process-file, start-file-process, set-file-times)
20671 (tramp-compat-file-attributes): Compatibility functions shall not
20672 call directly `tramp-handle-*', because this would bypass the
20674 (tramp-compat-number-sequence): New defun.
20676 2009-09-02 Glenn Morris <rgm@gnu.org>
20678 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
20679 alias for float-time.
20680 (time-to-number-of-days): In Emacs, use float-time.
20681 * net/newst-backend.el (time-add): Suppress warnings from compat
20683 * time.el (emacs-uptime, emacs-init-time):
20684 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
20685 Use float-time rather than time-to-seconds.
20687 * minibuffer.el (completion-initials-expand): Fix typo.
20689 * faces.el (modeline, modeline-inactive, modeline-highlight)
20690 (modeline-buffer-id):
20691 * info.el (info-menu-5): Mark these face aliases as obsolete.
20693 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20695 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
20697 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
20698 no "--thread" option.
20699 (gdb-stopped): Don't print "Switched to thread" message when it is
20702 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
20704 * minibuffer.el (completion-try-completion)
20705 (completion-all-completions): Remove ill-defined (and
20706 mistakenly installed and luckily never used nor documented)
20707 `completion-styles' property.
20708 (completion-initials-expand, completion-initials-all-completions)
20709 (completion-initials-try-completion): New functions.
20710 (completion-styles-alist): Add doc to each entry.
20711 Add new `initials' entry.
20713 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20715 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20716 MI command -var-evaluate-expression.
20717 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20718 and tweak for case of string child.
20719 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20721 2009-09-01 Glenn Morris <rgm@gnu.org>
20723 * add-log.el (change-log-date-face, change-log-name-face)
20724 (change-log-email-face, change-log-file-face, change-log-list-face)
20725 (change-log-conditionals-face, change-log-function-face)
20726 (change-log-acknowledgement-face):
20727 * cus-edit.el (custom-invalid-face, custom-rogue-face)
20728 (custom-modified-face, custom-set-face, custom-changed-face)
20729 (custom-saved-face, custom-button-face, custom-button-pressed-face)
20730 (custom-documentation-face, custom-state-face, custom-comment-face)
20731 (custom-comment-tag-face, custom-variable-tag-face)
20732 (custom-variable-button-face, custom-face-tag-face)
20733 (custom-group-tag-face-1, custom-group-tag-face):
20734 * diff-mode.el (diff-header-face, diff-file-header-face)
20735 (diff-index-face, diff-hunk-header-face, diff-removed-face)
20736 (diff-added-face, diff-changed-face, diff-function-face)
20737 (diff-context-face, diff-nonexistent-face):
20738 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20739 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20740 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20741 (Info-title-4-face):
20742 * isearch.el (isearch-lazy-highlight-face):
20743 * log-view.el (log-view-file-face, log-view-message-face):
20744 * paren.el (show-paren-match-face, show-paren-mismatch-face):
20745 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20746 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20748 * smerge-mode.el (smerge-mine-face, smerge-other-face)
20749 (smerge-base-face, smerge-markers-face):
20750 * wid-edit.el (widget-documentation-face, widget-button-face)
20751 (widget-field-face, widget-single-line-field-face)
20752 (widget-inactive-face, widget-button-pressed-face):
20753 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20754 (woman-addition-face):
20755 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20756 (eshell-ls-executable-face, eshell-ls-readonly-face)
20757 (eshell-ls-unreadable-face, eshell-ls-special-face)
20758 (eshell-ls-missing-face, eshell-ls-archive-face)
20759 (eshell-ls-backup-face, eshell-ls-product-face)
20760 (eshell-ls-clutter-face):
20761 * eshell/em-prompt.el (eshell-prompt-face):
20762 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20763 * obsolete/old-whitespace.el (whitespace-highlight-face):
20764 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20765 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20766 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20767 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20768 (antlr-font-lock-literal-face):
20769 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20770 (ebrowse-root-class-face, ebrowse-file-name-face)
20771 (ebrowse-default-face, ebrowse-member-attribute-face)
20772 (ebrowse-member-class-face, ebrowse-progress-face):
20773 * progmodes/make-mode.el (makefile-space-face):
20774 * progmodes/sh-script.el (sh-heredoc-face):
20775 * textmodes/flyspell.el (flyspell-incorrect-face)
20776 (flyspell-duplicate-face):
20777 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20778 * textmodes/texinfo.el (texinfo-heading-face):
20779 Mark face aliases with "-face" suffix as obsolete.
20781 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20784 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20785 (eudc-bob-sound-menu): Use defvar rather than defconst, since
20786 easy-menu-define wants to modify these.
20788 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20790 * net/browse-url.el (browse-url-file-url):
20791 * term/internal.el (dos-codepage-setup):
20792 Use default-value rather than default-enable-multibyte-characters.
20794 * progmodes/etags.el (etags-goto-tag-location):
20795 * progmodes/flymake.el (flymake-highlight-line)
20796 (flymake-goto-file-and-line, flymake-goto-line):
20797 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20798 (gdb-goto-breakpoint):
20799 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20800 * progmodes/python.el (python-find-function)
20801 (python-pdbtrack-track-stack-file):
20802 * progmodes/verilog-mode.el (verilog-surelint-off):
20803 * term/ns-win.el (ns-open-file-select-line):
20804 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20805 Use forward-line rather than goto-line.
20807 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20808 * textmodes/reftex-index.el (reftex-display-index):
20809 * textmodes/reftex-ref.el (reftex-offer-label-menu):
20810 * textmodes/reftex-toc.el (reftex-toc):
20811 Remove unnecessary bindings of default-major-mode (all are followed by
20812 major-mode check and possible mode switch).
20814 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20816 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20817 Handle watchpoints (bug#4282).
20818 (def-gdb-thread-buffer-command): Enable thread to be selected by
20819 clicking without selecting threads buffer first.
20820 (gdb-current-context-command): Use selected frame so that "up",
20821 "down" etc work in the GUD buffer.
20822 (gdb-update): Find selected frame before rendering stack buffer.
20823 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20825 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
20827 * progmodes/sym-comp.el (displayed-completions): Remove.
20828 (symbol-complete): Use minibuffer-complete.
20830 2009-08-31 Glenn Morris <rgm@gnu.org>
20832 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20834 * apropos.el (apropos-symbols-internal):
20835 Handle (obsolete) face aliases.
20837 * faces.el (describe-face): Adjust the output format to be more like
20838 describe-variable, and to mention (obsolete) face aliases.
20839 Adjust the whitespace so that help-setup-xref works.
20841 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20842 * calendar/diary-lib.el (diary-button-face):
20843 Mark these face aliases as obsolete.
20845 * calendar/calendar.el (calendar-today): Doc fix.
20847 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20849 * progmodes/gdb-mi.el (gdb-control-all-threads)
20850 (gdb-control-current-thread): Force tool bar update.
20851 (gdb-non-stop-handler): New function.
20852 (gdb-init-1): Use it to test if non-stop mode is supported.
20853 Remove unused gdbmi buffer type.
20855 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
20857 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20858 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
20860 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
20862 * comint.el (comint-exec-1): Check command is non-null first.
20863 Part of gdb-mi.el change (2009-08-28).
20865 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20867 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20869 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
20871 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20872 instead of `dolist' to avoid a recursive require when bootstrapping.
20874 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20876 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20878 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20880 * net/imap.el (imap-send-command): Simplify.
20881 (imap-wait-for-tag): point-max -> buffer-size.
20883 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20885 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20886 with constant argument.
20888 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20890 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20892 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20893 Change default, since most of our files don't have a history.
20894 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20897 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20900 * calc/calc.el: Improve commenting convention.
20901 (calc-digit-map, toplevel): Simplify.
20903 * comint.el (comint-insert-input): Be careful to only set point if we
20904 don't delegate to some other command.
20906 * proced.el (proced-signal-list): Make it an alist.
20907 (proced-grammar-alist): Capitalize names.
20908 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20909 Disable undo manually and make it read-only.
20910 Use completion-annotate-function.
20912 * minibuffer.el (minibuffer-message): If the current buffer is not
20913 a minibuffer, insert the message in the echo area rather than at the
20915 (completion-annotate-function): New variable.
20916 (minibuffer-completion-help): Use it.
20917 (completion--embedded-envvar-table): Environment vars are
20918 always case-sensitive.
20920 2009-08-30 Glenn Morris <rgm@gnu.org>
20922 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20923 from fortran-current-defun.
20924 (fortran-beginning-of-subprogram): Be more precise about finding the
20925 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
20926 (fortran-end-of-subprogram): Simplify.
20927 (fortran-current-defun): Use fortran-start-prog-re.
20929 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
20931 * subr.el (do-after-load-evaluation): Simplify.
20933 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
20935 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
20937 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
20938 (vc-rcs-print-log): Use it.
20940 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
20942 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
20944 * paths.el (abbrev-file-name): Move to abbrev.el.
20945 * abbrev.el (abbrev-file-name): Move from paths.el.
20946 Obey user-emacs-directory.
20947 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
20948 user-emacs-directory.
20949 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
20950 abbrev-file-name and calc-settings-file any more.
20951 * startup.el (command-line): Recompute abbrev-file-name and
20952 abbreviated-home-dir.
20953 (normal-no-mouse-startup-screen): Improve the generic code and get rid
20954 of the special code for when C-h bindings haven't been changed.
20955 (display-startup-echo-area-message): Use with-current-buffer.
20956 (command-line-1): Use a list of strings, rather than a list of lists
20957 of strings for longopts.
20959 * files.el (get-free-disk-space): Use / for default-directory.
20961 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
20962 Use with-current-buffer.
20964 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
20965 Recognize immutable variables like most-positive-fixnum.
20966 (byte-compile-setq-default): Check and warn if trying to assign
20967 to an immutable variable, or a non-variable.
20969 * progmodes/cc-vars.el (c-comment-continuation-stars):
20970 * progmodes/cc-engine.el (c-looking-at-bos):
20971 * progmodes/cc-cmds.el (c-toggle-auto-state)
20972 (c-forward-into-nomenclature, c-backward-into-nomenclature)
20973 (c-comment-line-break-function): Add version of obsolescence.
20975 2009-08-28 Juri Linkov <juri@jurta.org>
20977 * files.el (magic-fallback-mode-alist): Add ZIP magic number
20978 associated with `archive-mode'.
20980 * image.el (image-type-header-regexps): Use only JPEG magic number
20981 to determine JPEG images, and don't use `image-jpeg-p' because
20982 Emacs can display non-JFIF non-Exif JPEG images.
20984 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20986 * arc-mode.el (archive-mode):
20987 * emacs-lisp/re-builder.el (re-builder-unload-function):
20988 Protect against the default value of `major-mode' being nil.
20990 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20992 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20993 Fix typos in docstrings.
20995 * progmodes/js.el (js--macro-decl-re): Doc fix.
20996 (js--plain-method-re, js--split-name): Refloc docstring.
20997 (js--class-styles, js--make-merged-item, js--splice-into-items):
20998 Fix typos in docstrings; reflow docstrings.
20999 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
21000 (js--variable-decl-matcher, js--inside-pitem-p)
21001 (js--parse-state-at-point, js--get-all-known-symbols)
21002 (js--symbol-history, js-find-symbol, js--js-references)
21003 (js--moz-interactor, js--js-encode-value, js--read-tab):
21004 Fix typos in docstrings.
21006 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21008 * textmodes/reftex.el (reftex-get-file-buffer-force):
21009 * progmodes/verilog-mode.el (verilog-batch-execute-func):
21010 * emulation/viper.el (viper-go-away, viper-set-hooks):
21011 * emacs-lisp/re-builder.el (re-builder-unload-function):
21012 * emacs-lisp/bytecomp.el (byte-compile-file):
21013 * ses.el (ses-unload-function):
21014 * hexl.el (hexl-find-file):
21015 * files.el (normal-mode):
21016 * ehelp.el (with-electric-help):
21017 * autoinsert.el (auto-insert-alist):
21018 * arc-mode.el (archive-mode):
21019 Use (default-value 'major-mode) instead of default-major-mode.
21021 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
21022 * international/mule.el (load-with-code-conversion):
21023 * emacs-lisp/debug.el (debug):
21024 * ediff-vers.el (ediff-rcs-get-output-buffer):
21025 * dired.el (dired-internal-noselect): Don't let-bind
21026 default-major-mode around code that doesn't use it.
21027 E.g. buffer creation via get-buffer-create doesn't use it.
21029 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
21031 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
21032 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
21033 when writing the temp file. Otherwise, epa-file gets confused.
21034 (tramp-register-file-name-handlers): Make it a defun. Move also
21035 `epa-file-handler' to the front of `file-name-handler-alist'.
21037 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21039 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
21040 start right after a ^M.
21041 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
21042 (tramp-completion-file-name-regexp-separate)
21043 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
21044 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
21045 Don't modify last-coding-system-used by accident.
21046 (tramp-completion-file-name-handler): Apply the checks here,
21047 instead during registration.
21048 (tramp-register-file-name-handlers): Rename from
21049 `tramp-register-file-name-handler'. Register both
21050 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
21051 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
21053 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
21055 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
21056 Remove variable ...
21057 (gdb-init-1, gdb-display-separate-io-buffer)
21058 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
21060 (gdb-inferior-io-mode): Use make-comint-in-buffer.
21061 (gdb-inferior-filter): Use comint-output-filter to stop
21062 echoing and remove ^M characters.
21064 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21066 * emulation/viper-init.el (viper-restore-cursor-type):
21067 * emulation/cua-base.el (cua--update-indications):
21068 Replace default-cursor-type with (default-value 'cursor-type).
21070 * mail/sendmail.el (mail-recover-1):
21071 * international/mule-diag.el (describe-current-coding-system-briefly)
21072 (describe-current-coding-system):
21073 * international/mule-cmds.el (select-safe-coding-system)
21074 (select-message-coding-system)
21075 (set-language-environment-coding-systems, set-locale-environment):
21076 * hexl.el (hexl-insert-multibyte-char):
21077 * dos-w32.el (find-buffer-file-type-coding-system):
21078 * simple.el (what-cursor-position):
21079 Replace uses of default-buffer-file-coding-system
21080 with (default-value 'buffer-file-coding-system).
21082 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
21083 Replace uses of default-cursor-in-non-selected-windows
21084 with (default-value 'cursor-in-non-selected-windows).
21085 Use with-current-buffer.
21087 * mail/feedmail.el: Use CL macros.
21088 (feedmail-run-the-queue, feedmail-send-it-immediately):
21089 * dos-w32.el (find-buffer-file-type): Replace uses of
21090 default-buffer-file-type with (default-value 'buffer-file-type).
21092 2009-08-28 Glenn Morris <rgm@gnu.org>
21094 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
21095 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
21096 Use default-value of major-mode rather than default-major-mode.
21098 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
21100 * Makefile.in (update-elcfiles): Report left over elc files.
21102 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
21103 expand-file-name and with-current-buffer.
21104 (mail-get-names, mail-directory): Use with-current-buffer.
21106 * vc.el (vc-read-revision): New function.
21107 (vc-version-diff, vc-merge): Use it.
21109 2009-08-27 Sam Steingold <sds@gnu.org>
21111 * simple.el (kill-do-not-save-duplicates): New user option.
21112 (kill-new): When it is non-nil, and the new string is the same as
21113 the latest kill, set replace to t to avoid duplicates in kill-ring.
21115 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
21117 * net/tramp.el (tramp-handle-process-file): Do not flush all
21118 caches when `process-file-side-effects' is set.
21119 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
21120 instead of `tramp-find-file-exists-command'.
21121 Unset `process-file-side-effects'.
21123 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
21125 * net/tramp.el (tramp-methods): New method "rsyncc".
21126 (top): Add completion function for "rsyncc".
21127 (tramp-message-show-message): New defvar.
21128 (tramp-message, tramp-error): Use it.
21129 (tramp-do-copy-or-rename-file-directly): Extend check for direct
21131 (tramp-do-copy-or-rename-file-out-of-band): Handle new
21132 `tramp-methods' entry `copy-env' of "rsyncc".
21133 (tramp-vc-registered-read-file-names): New defconst.
21134 (tramp-vc-registered-file-names): New defvar.
21135 (tramp-handle-vc-registered): Implement optimization strategy.
21136 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
21137 (tramp-vc-file-name-handler): New defun.
21138 (tramp-get-ls-command, tramp-get-test-command)
21139 (tramp-get-file-exists-command, tramp-get-remote-ln)
21140 (tramp-get-remote-perl, tramp-get-remote-stat)
21141 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
21143 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
21144 (tramp-cache-inhibit-cache): Extend doc string. It allows also
21146 (tramp-get-file-property): Check for timestamps in
21147 `tramp-cache-inhibit-cache'.
21148 (tramp-set-file-property): Write timestamp.
21150 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21152 * language/japan-util.el (japanese-symbol-table): Add entries for
21155 * international/characters.el: Add category `j' to cp932-2-byte.
21157 2009-08-27 Kenichi Handa <handa@m17n.org>
21159 * international/fontset.el (build-default-fontset-data): New macro.
21160 (setup-default-fontset): Use build-default-fontset-data for CJK,
21161 tibetan, ethiopic, and ipa.
21163 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
21165 * cus-start.el (default-major-mode): Customize `major-mode' instead.
21166 (enable-multibyte-characters): Not customizable any more.
21168 * subr.el (default-mode-line-format, default-header-line-format)
21169 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
21170 (default-direction-reversed, default-truncate-lines)
21171 (default-left-margin, default-tab-width, default-case-fold-search)
21172 (default-left-margin-width, default-right-margin-width)
21173 (default-left-fringe-width, default-right-fringe-width)
21174 (default-fringes-outside-margins, default-scroll-bar-width)
21175 (default-vertical-scroll-bar, default-indicate-empty-lines)
21176 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
21177 (default-fringe-cursor-alist, default-scroll-up-aggressively)
21178 (default-scroll-down-aggressively, default-fill-column)
21179 (default-cursor-type, default-buffer-file-type)
21180 (default-cursor-in-non-selected-windows)
21181 (default-buffer-file-coding-system, default-major-mode)
21182 (default-enable-multibyte-characters): Mark as obsolete.
21184 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
21186 * vc-dir.el (vc-dir-update): Remove debug helper.
21188 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
21190 2009-08-26 Sam Steingold <sds@gnu.org>
21192 * simple.el (save-interprogram-paste-before-kill): New user option.
21193 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
21194 save the interprogram-paste into kill-ring before overriding it
21195 with the Emacs kill.
21197 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
21199 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
21200 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
21201 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
21202 and move to vc-rcs.el.
21203 (vc-default-next-revision): Rename to vc-rcs-next-revision and
21205 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
21206 (vc-rcs-update-changelog): Remove.
21207 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
21208 and move to vc-rcs.el.
21210 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
21211 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
21213 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
21214 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
21215 vc.el, renamed to be RCS specific.
21217 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
21219 (vc-cvs-update-changelog): Move here from vc.el.
21221 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
21224 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
21226 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
21228 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
21230 * vc-git.el (vc-git-register): Use "git add" for directories.
21231 (vc-git-stash, vc-git-stash-show): New functions.
21232 (vc-git-extra-menu-map): Bind them.
21234 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
21235 directory correctly in case the item is a directory itself.
21237 * vc.el: Document the desired behavior for reverted files in the
21239 (vc-default-prettify-state-info): Remove function, unused.
21241 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
21243 2009-08-26 Glenn Morris <rgm@gnu.org>
21245 * bindings.el (standard-mode-line-format): Reposition dashes in
21246 which-func entry. (Bug#4217)
21248 * files.el (enable-local-variables, enable-local-eval)
21249 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
21251 (auto-mode-alist, ignored-local-variables)
21252 (save-some-buffers-action-alist): Move risky declarations to the
21254 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
21255 (font-lock-defaults, format-alist, imenu--index-alist)
21256 (imenu-generic-expression, input-method-alist, minor-mode-alist)
21257 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
21258 (mode-line-modified, mode-line-mule-info, mode-line-position)
21259 (mode-line-process, mode-line-remote, outline-level)
21260 (parse-time-rules, rmail-output-file-alist)
21261 (special-display-buffer-names, vc-mode):
21262 Move risky declarations to the relevant files.
21263 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
21264 (mode-line-modified, mode-line-process, mode-line-position)
21265 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
21266 * font-core.el (font-lock-defaults):
21267 * format.el (format-alist):
21268 * vc-hooks.el (vc-mode):
21269 * window.el (special-display-buffer-names):
21270 * international/mule-cmds.el (input-method-alist):
21271 Define riskiness here (dumped file) rather than in files.el.
21272 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
21273 * imenu.el (imenu-generic-expression, imenu--index-alist):
21274 * outline.el (outline-level):
21275 * time.el (display-time-string):
21276 * calendar/parse-time.el (parse-time-rules):
21277 * mail/rmailout.el (rmail-output-file-alist):
21278 Autoload riskiness here, rather than placing in files.el.
21280 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
21282 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
21284 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
21286 * simple.el (process-file-side-effects): New defvar.
21288 * dired-aux.el (dired-show-file-type):
21289 * vc.el (vc-diff-internal):
21290 * vc-arch.el (vc-arch-diff):
21291 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
21292 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
21293 * vc-git.el (vc-git-registered, vc-git-working-revision)
21294 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
21295 (vc-git--empty-db-p):
21296 * vc-hooks.el (vc-user-login-name):
21297 * vc-svn.el (vc-svn-registered, vc-svn-state)
21298 (vc-svn-dir-extra-headers, vc-svn-find-revision):
21299 * progmodes/grep.el (grep-probe): Let-bind
21300 `process-file-side-effects' with nil.
21302 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
21304 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
21305 daemon. Replace ping by checking for running service for bluez
21306 and zeroconf. (Bug#4239)
21308 2009-08-25 Kevin Ryde <user42@zip.com.au>
21310 * net/dig.el (dig): Add autoload cookie.
21312 2009-08-25 Glenn Morris <rgm@gnu.org>
21314 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
21315 load-history for absolute file-names.
21316 (byte-compile-file-form-require): Warn about use of the cl package.
21318 * format.el (format-alist): Doc fix.
21320 * play/bubbles.el (top-level): Don't require cl at run-time.
21322 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
21325 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
21327 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
21329 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
21331 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
21333 * calc/calc-alg.el (math-trig-rewrite)
21334 (math-hyperbolic-trig-rewrite): New functions.
21335 (calc-simplify): Simplify trig functions when asked.
21337 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21339 * diff-mode.el (diff-find-source-location): Avoid goto-line.
21341 2009-08-24 Kenichi Handa <handa@m17n.org>
21343 * language/ind-util.el (mapthread): Delete it.
21344 (combinatorial): New function.
21345 (indian--puthash-cv): Use combinatorial instead of mapthread.
21347 2009-08-22 Kevin Ryde <user42@zip.com.au>
21349 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
21350 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
21351 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
21352 Clarify docstring that the value is strings not symbols.
21353 (checkdoc-list-of-strings-p): New function.
21355 2009-08-22 Glenn Morris <rgm@gnu.org>
21357 * files.el (auto-mode-alist):
21358 * hippie-exp.el (he-concat-directory-file-name):
21359 * lpr.el (lpr-windows-system, printer-name):
21360 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
21361 * ps-print.el (ps-windows-system):
21362 * startup.el (command-line):
21363 * emulation/viper-ex.el (viper-glob-function):
21364 * international/mule-cmds.el (set-language-environment-coding-systems):
21365 * net/ange-ftp.el (ange-ftp-write-region):
21366 * obsolete/fast-lock.el (fast-lock-cache-name):
21367 Remove code for defunct system-types emx, macos, mswindows, next-mach,
21368 unisoft-unix, vax-vms, win32, w32.
21370 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
21371 given name if the pattern is not more specific.
21373 * calendar/lunar.el (lunar-phase-names): New option.
21374 (lunar-phase): Doc fix.
21375 (lunar-cycles-per-year): New constant.
21376 (lunar-index): New function.
21377 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
21378 (lunar-phase-name): Use lunar-phase-names.
21379 (calendar-lunar-phases): Use format.
21380 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
21382 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
21383 Copy imenu-example--name-and-position function here for own use.
21384 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
21386 * bs.el (bs--redisplay):
21387 * cus-edit.el (custom-redraw):
21388 * ibuffer.el (ibuffer-bury-buffer):
21389 * server.el (server-goto-line-column):
21390 * startup.el (command-line-1):
21391 * strokes.el (strokes-xpm-for-stroke):
21392 * term.el (term-display-buffer-line):
21393 * view.el (View-goto-line):
21394 * calc/calc.el (calc-do, calc-trail-buffer):
21395 * play/gamegrid.el (gamegrid-add-score-insecure):
21396 * progmodes/ada-mode.el (ada-compile-goto-error):
21397 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
21398 (ebrowse-select-1st-to-9nth):
21399 * progmodes/cperl-mode.el (cperl-time-fontification):
21400 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
21401 * progmodes/gud.el (gud-display-line):
21402 (idlwave-shell-display-line):
21403 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
21404 * progmodes/make-mode.el (makefile-browser-toggle):
21405 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
21406 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
21407 * textmodes/picture.el (picture-draw-rectangle):
21408 * textmodes/reftex-index.el (reftex-index-goto-letter):
21409 (reftex-select-jump-to-previous):
21410 * textmodes/reftex-sel.el (reftex-find-start-point)
21411 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
21412 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
21413 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
21414 * textmodes/tex-mode.el (tex-compilation-parse-errors):
21415 * textmodes/two-column.el (2C-associated-buffer):
21416 Use forward-line rather than goto-line.
21418 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
21421 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
21422 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
21423 (quick-check-list-to-regexp): Declare.
21425 * progmodes/make-mode.el (makefile-browser-insert-selection):
21426 Use goto-char rather than goto-line.
21428 * progmodes/prolog.el (compilation-error-regexp-alist)
21429 (compilation-forget-errors): Declare.
21431 2009-08-22 Juri Linkov <juri@jurta.org>
21433 * progmodes/grep.el (lgrep, rgrep): At the beginning
21434 set `dir' to `default-directory' unless `dir' is a non-nil
21435 readable directory. (Bug#4052)
21436 (lgrep, rgrep): Change a weird way to report an error
21437 from using `read-string' to using `error'.
21438 Instead of using interactive arguments in the function body,
21439 add new argument `confirm'.
21441 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
21443 * textmodes/remember.el (remember-buffer):
21444 * progmodes/cperl-mode.el (cperl-vc-header-alist):
21445 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
21446 (icalendar-extract-ical-from-buffer):
21447 * net/newst-treeview.el (newsticker-groups-filename):
21448 * net/newst-backend.el (newsticker-cache-filename):
21449 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
21450 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
21451 (speedbar-add-ignored-path-regexp, speedbar-line-path)
21452 (speedbar-buffers-line-path, speedbar-path-line)
21453 (speedbar-buffers-line-path):
21454 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
21456 * epa.el (epa-display-verify-result):
21457 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
21459 2009-08-21 Glenn Morris <rgm@gnu.org>
21461 * progmodes/js.el (inferior-moz-process): Fix declaration.
21463 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
21465 * obsolete/rnewspost.el (news-mail-reply):
21466 Use goto-char rather than goto-line.
21468 * term/ns-win.el (ns-open-file-select-line):
21469 Use line-beginning-position rather than goto-line.
21471 * apropos.el (apropos-command):
21472 * ehelp.el (electric-helpify):
21473 * printing.el (pr-show-setup):
21474 * strokes.el (strokes-help):
21475 * tutorial.el (tutorial--describe-nonstandard-key)
21476 (tutorial--detailed-help):
21477 * woman.el (woman-mini-help, woman-display-extended-fonts):
21478 * calc/calc-help.el (calc-describe-key):
21479 * emulation/edt.el (edt-electric-helpify):
21480 * international/mule-diag.el (mule-diag):
21481 * play/yow.el (apropos-zippy):
21482 * progmodes/python.el (python-describe-symbol):
21483 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
21484 * textmodes/table.el (*table--cell-describe-mode)
21485 (*table--cell-describe-bindings):
21486 Use help-print-return-message rather than the now obsolete alias.
21488 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
21489 (calendar-cursor-to-visible-date):
21490 * play/5x5.el (5x5-position-cursor):
21491 * play/decipher.el (decipher):
21492 * play/gomoku.el (gomoku-goto-xy):
21493 * play/landmark.el (lm-goto-xy):
21494 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
21495 (mpuz-paint-digit):
21496 Use forward-line, not goto-line.
21498 * mail/rmail.el (rmail-obsolete): Delete custom group.
21499 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
21500 (rmail-remote-password, rmail-remote-password-required):
21501 Remove unneeded :set-after and :set properties.
21503 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
21505 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
21507 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
21509 * loadup.el: Remove leftover macos code.
21511 * vc-git.el (vc-git-annotate-command): Run asynchronously.
21512 Explicitly pass the date format to git blame so that user local
21513 so that the output format can be parsed.
21515 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
21517 * net/dbus.el (top): Don't check for (getenv
21518 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
21520 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
21522 * log-edit.el (log-edit-strip-single-file-name): New var.
21523 (log-edit-insert-changelog): Use it. Bug#3571.
21525 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21527 * subr.el (read-passwd): Use read-key so keypad keys work as well.
21530 * help.el (help-print-return-message): Rename from
21531 print-help-return-message.
21533 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
21534 cvs-mode-map parent hack.
21535 (log-view-mode): Derive from special-mode.
21537 * linum.el (linum-mode): window-size-change-functions is redundant.
21538 Adapt to new window-configuration-change-hook behavior.
21539 (linum-after-size, linum-after-config): Remove.
21541 * imenu.el (imenu-example--name-and-position)
21542 (imenu-example--lisp-extract-index-name)
21543 (imenu-example--create-lisp-index, imenu-example--create-c-index):
21546 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
21547 (inferior-prolog-mode): Use it.
21548 (inferior-prolog-load-file): Reset list of errors.
21550 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21552 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
21554 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
21556 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
21558 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
21559 is running already.
21561 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21563 * subr.el (listify-key-sequence-1): Use normal syntax since those
21564 integers are nowadays always represented by the same (positive) number
21566 (read-key-empty-map): New const.
21567 (read-key-delay): New var.
21568 (read-key): New function.
21569 (force-mode-line-update): Use with-current-buffer.
21570 (locate-user-emacs-file): Don't forget to abbreviate the file name.
21571 (start-process-shell-command, start-file-process-shell-command):
21572 Discourage the use of command-args.
21574 2009-08-19 Glenn Morris <rgm@gnu.org>
21576 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
21578 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21580 * simple.el (choose-completion-string): Don't rely on
21581 minibuffer-completing-file-name and ad-hoc checks to decide whether
21582 to continue completion or not.
21584 * minibuffer.el (minibuffer-hide-completions): New function.
21585 (completion--do-completion): Use it.
21586 (completions-annotations): New face.
21587 (completion--insert-strings): Use it.
21588 (completion-pcm--delim-wild-regex): Add docstring.
21589 (completion-pcm--string->pattern): Add support for 0-width delimiters
21590 in completion-pcm--delim-wild-regex.
21592 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
21594 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
21595 Remove unused var `buffer-modified-p'.
21597 * minibuffer.el (completion--do-completion): Move point for the #b001
21598 case as well (bug#4176).
21599 (minibuffer-complete, minibuffer-complete-word): Don't move point.
21601 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
21603 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
21604 and :session buses.
21606 2009-08-18 Kenichi Handa <handa@m17n.org>
21608 * international/ucs-normalize.el (ucs-normalize-version):
21610 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
21611 (utf-8-hfs): Make it perform normalization on encoding too.
21613 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
21614 (sentence-end-without-space): Delete duplicated chars.
21615 (sentence-end-base): Likewise.
21617 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
21618 (html-mode): Delete duplicated chars from sentence-end-base.
21620 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
21621 (texinfo-mode): Delete duplicated chars from sentence-end-base.
21623 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
21625 * files.el (hack-one-local-variable): If the mode function is for
21626 a minor mode, pass it an argument (Bug#4148).
21628 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
21630 * net/tramp.el (tramp-register-completion-file-name-handler):
21631 Check also for (member 'partial-completion completion-styles).
21633 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21635 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
21638 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
21640 * progmodes/cperl-mode.el: Merge upstream 6.2.
21641 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
21642 (cperl-forward-re): Check cperl-brace-recursing.
21643 (cperl-highlight-charclass): New function.
21644 (cperl-find-pods-heres): Use it.
21645 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
21646 (cperl-beautify-regexp-piece): Fix column calculation.
21647 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
21648 (cperl-beautify-level): Don't process entire regexp.
21649 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
21651 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
21652 (cperl-init-faces): Build a list in the normal way.
21654 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21656 * calendar/parse-time.el (parse-time-string-chars): Save match
21659 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
21661 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
21662 (sql-product): Use it.
21663 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
21664 (sql-set-product): Add completion.
21665 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
21666 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
21667 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
21668 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
21669 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
21670 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
21671 (sql-highlight-db2-keywords): Remove.
21672 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
21673 (sql-highlight-product): Use derived-mode-p.
21674 (sql-set-sqli-buffer): Use with-current-buffer.
21675 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
21678 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
21680 * term.el: Fix commenting convention, turn comments into docstrings.
21682 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21684 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
21686 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
21688 * calendar/parse-time.el (parse-time-string-chars): Compute using
21689 character classes, to handle non-ascii characters (Bug#3190).
21691 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21693 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
21694 another heredoc if the user adds another < (Bug#3226).
21696 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
21697 Don't initialize based on window-system (Bug#4124).
21699 * facemenu.el (facemenu-read-color): Use a completion function
21700 that accepts any defined color, such as RGB triplets (Bug#3677).
21702 * files.el (get-free-disk-space): Change fallback default
21703 directory to /. Expand DIR argument before switching to fallback.
21704 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
21706 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21708 * files.el (load-library): Doc fix.
21710 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
21712 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21713 (viper-if-string): Redefine C-s in the minibuffer to insert the last
21714 incremental search string.
21716 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21719 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21720 (ediff-merge-region-is-non-clash)
21721 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21722 Also check if the job is really a merge job.
21724 * ediff.el (ediff-current-file): New function.
21726 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21728 * progmodes/js.el: Edit docstrings throughout to follow Emacs
21730 (js-insert-and-indent): Delete function.
21731 (js-mode-map): Don't bind keys to js-insert-and-indent.
21732 (js-beginning-of-defun): Rename from js--beginning-of-defun.
21733 (js-end-of-defun): Rename from js--end-of-defun.
21734 (js-auto-indent-flag): Delete variable.
21736 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
21738 * progmodes/js.el: Remove proclaim statement.
21739 Defvar which-func-imenu-joiner-function to silence compiler.
21741 * files.el (auto-mode-alist): Use js-mode for .js files.
21743 * progmodes/js2-mode.el: Remove file.
21745 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21747 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21749 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21751 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
21752 Karl Landstrom <karl.landstrom@brgeight.se>
21754 * progmodes/js.el: New file.
21756 2009-08-14 Mark A. Hershberger <mah@everybody.org>
21758 * timezone.el (timezone-parse-date): Add ability to understand ISO
21759 basic format (minimal separators) dates in addition to the
21760 already-supported extended format dates.
21762 2009-08-14 Eli Zaretskii <eliz@gnu.org>
21764 * international/ucs-normalize.el: Add a `coding' file variable.
21766 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21768 2009-08-14 Sam Steingold <sds@gnu.org>
21770 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21772 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
21774 * faces.el (help-argument-name): Define it here instead of
21775 help-fns.el, because in daemon mode help-fns.el may be loaded when
21776 faces are still uninitialized (Bug#1078).
21778 * help-fns.el (help-argument-name): Move defface to faces.el.
21780 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
21782 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21783 create buffer with a pty but no process so that GDB can make the
21784 inferior the controlling process.
21786 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
21788 * international/ucs-normalize.el: New file.
21790 2009-08-13 Richard Stallman <rms@gnu.org>
21792 * mail/rmail.el (rmail-get-attr-names):
21793 Accept an attribute header that is too short.
21795 * mail/rmail.el (rmail-forget-messages):
21796 Ignore nil elt in rmail-message-vector. Use dotimes.
21798 * progmodes/compile.el (compilation-goto-locus):
21799 Use next-error-move-function.
21801 * simple.el (next-error-move-function): New variable.
21803 2009-08-12 Juri Linkov <juri@jurta.org>
21805 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21806 always non-nil. (Bug#4052)
21808 * replace.el (read-regexp): Return empty string when
21809 `default-value' is nil.
21810 (keep-lines-read-args): Don't use empty string as the
21811 default value for `read-regexp'. (Bug#2495)
21813 2009-08-12 Juri Linkov <juri@jurta.org>
21815 * international/mule-cmds.el (ucs-insert): Change arguments
21816 from `arg' to `character', `count', `inherit' to be the same
21817 as in `insert-char'. Doc fix. (Bug#4039)
21819 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21821 2009-08-12 Juri Linkov <juri@jurta.org>
21823 * files-x.el: New file.
21825 * files.el: Move code that deals with adding/deleting
21826 file/directory-local variables to files-x.el.
21828 * Makefile.in (ELCFILES): Add files-x.elc.
21830 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
21832 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21833 to use `goto-line'.
21834 (gdb-place-breakpoints, gdb-get-location): Rewritten without
21836 (gdb-invalidate-disassembly): Do not refresh upon receiving
21837 'update signal. Instead, update all disassembly buffers only after
21839 (gdb): Send -target-detach when buffer is killed (Bug#3794).
21840 (gdb-starting): Move -data-list-register-names...
21841 (gdb-stopped): ...here so it's sent when first thread stops.
21842 (gdb-registers-handler-custom): Do nothing if register names are
21845 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21846 from `gdb-mi.el' to avoid extra tangling.
21848 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21849 change which breaks `gud-def' definitions used in `gdb'.
21850 (gdb-update-gud-running): No extra fuss for updating frame number.
21852 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
21854 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21855 (describe-language-environment-map, setup-language-environment-map)
21856 (set-coding-system-map): Move initialization into declaration.
21857 (set-language-info-alist): Last arg to define-key-after can be skipped.
21859 * international/quail.el (quail-completion-1): Simplify.
21860 (quail-define-rules): Use slightly more compact code.
21861 (quail-insert-decode-map): Propertize keys, compact columns.
21863 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21866 2009-08-10 Miles Bader <miles@gnu.org>
21868 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21869 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21870 (js2-instance-member, js2-private-member, js2-private-function-call)
21871 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21872 (js2-magic-paren, js2-external-variable):
21873 Remove "-face" suffix from face names.
21874 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21875 (js2-highlight-undeclared-vars, js2-peek-token)
21876 (js2-parse-function-params, js2-mode-show-errors)
21877 (js2-mode-show-warnings, js2-make-magic-delimiter)
21878 (js2-mode-highlight-magic-parens): Update to use new face names.
21880 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
21882 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21883 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
21885 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
21887 * subr.el: Provide hashtable-print-readable.
21889 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21890 hs-c-like-adjust-block-beginning.
21891 (hs-hide-block-at-point): Stop hiding at the beginning of
21892 hs-block-end-regexp (Bug#700).
21894 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
21896 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21898 (gdb-registers-handler-custom): Do not fail when register names
21901 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21903 * progmodes/gdb-mi.el (gdb-control-all-threads)
21904 (gdb-control-current-thread): Interactive setters for
21905 `gdb-gud-control-all-threads' to use in menu.
21906 (gdb-show-run-p): Show «Go» when process is not active.
21907 (gud-tool-bar-map): Add non-stop/A,T indicator.
21908 Uses gud/thread.xpm and gud/all.xpm.
21910 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
21912 * net/net-utils.el (net-utils-font-lock-keywords): New var.
21913 (nslookup-font-lock-keywords): Make it a variable.
21914 (net-utils-mode): New mode for viewing diagnostic network output.
21915 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21916 (net-utils-run-simple): New function.
21917 (ifconfig, iwconfig, netstat, arp, route): Use it.
21919 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21921 * progmodes/gdb-mi.el (gdb-read-memory-custom)
21922 (gdb-memory-set-address, def-gdb-set-positive-number)
21923 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21924 after changing settings.
21925 (gdb-invalidate-disassembly): Update when first shown.
21926 (gdb-edit-locals-value): Fix.
21927 (gdb-registers-handler-custom): Print registers in right order and
21928 allow changing register values (only for current thread yet).
21929 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
21930 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
21931 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
21932 (gdb-locals-handler-custom, gdb-registers-handler-custom):
21933 Thread info in mode name.
21934 (gdb-registers-mode-map): TAB to switch to locals.
21936 2009-08-08 Eli Zaretskii <eliz@gnu.org>
21938 * mail/rmail.el (rmail-add-mbox-headers)
21939 (rmail-set-message-counters-counter): Search for
21940 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
21942 2009-08-08 Glenn Morris <rgm@gnu.org>
21944 * Makefile.in (ELCFILES): Update.
21946 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21948 * mail/sendmail.el (mail-yank-original):
21949 Set buffer-file-coding-system from the one used by the message whose
21952 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
21953 to "windows" when "pgnuplot" is used.
21954 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
21955 Don't call accept-process-output if "pgnuplot" is used.
21956 (calc-graph-init): Don't send -display and -geometry to
21957 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
21958 running "pgnuplot -V" with shell-command-to-string.
21960 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
21963 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21965 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
21968 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
21970 * vc-dispatcher.el (vc-resynch-window): Update comment.
21972 * term.el (term-handle-ansi-escape): Add comments with the
21973 terminfo capabilities implemented.
21975 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
21977 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21978 (gdb-var-create-handler): Rewritten using JSON parser.
21979 (gdb-propertize-header): Move earlier.
21980 (gdb-set-header): Remove to avoid duplication.
21981 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21982 Refresh disassembly buffers only after threads list have been
21984 (gdb-threads-header, gdb-registers-header): Per-buffer header line
21987 2009-08-04 Juri Linkov <juri@jurta.org>
21989 * files.el: Commands to add/delete file/directory-local variables.
21990 (read-file-local-variable, read-file-local-variable-value)
21991 (read-file-local-variable-mode, modify-file-local-variable)
21992 (modify-file-local-variable-prop-line)
21993 (modify-dir-local-variable): New functions.
21994 (add-file-local-variable, delete-file-local-variable)
21995 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21996 (add-dir-local-variable, delete-dir-local-variable)
21997 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21998 (copy-dir-locals-to-file-locals-prop-line): New commands.
22000 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
22002 * abbrev.el (insert-abbrev-table-description): Prettify output.
22003 Suggested by Karl Chen.
22005 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
22007 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
22008 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
22009 (gdb-overlay-arrow-position, gdb-thread-position)
22010 (gdb-disassembly-position): Declare variables.
22011 (gdb-wait-for-pending): Function now.
22012 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
22013 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
22014 compilation goes smoothly.
22015 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
22016 (gdb-non-stop-setting): New customization setting which replaces
22017 `gdb-non-stop' so changing it doesn't break active GDB session.
22018 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
22019 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
22020 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
22021 (gdb-show-threads-by-default): New customization options.
22022 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
22024 (gdb-get-buffer-create): Send buffers update signal when they are
22026 (gdb-invalidate-locals, gdb-invalidate-registers)
22027 (gdb-invalidate-breakpoints)
22028 (gdb-invalidate-threads, gdb-invalidate-disassembly)
22029 (gdb-invalidate-memory): Accept update signal.
22030 (gdb-current-context-command): Use --frame option.
22031 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
22032 Implement `gdb-frame-number' selection logic.
22033 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
22034 whether to show GUD toolbar buttons.
22035 (gdb-thread-exited): Unselect current thread when it exits.
22036 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
22037 (gdb-mark-line): Routine which sets overlay arrow or inverses
22038 video on fringeless displays.
22039 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
22040 to build aligned columns of data in GDB buffers and set text
22041 properties line-by-line.
22042 (gdb-invalidate-breakpoints)
22043 (gdb-breakpoints-list-handler-custom)
22044 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
22045 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
22046 (gdb-registers-handler-custom): Align data columns.
22047 (gdb-locals-handler-custom): Now prints data like in variable
22049 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
22050 Remove confusing buttons.
22051 (gdb-invalidate-threads): Append --frame.
22052 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
22053 between breakpoints/threads buffers.
22054 (gdb-set-window-buffer): Now can ignore dedicated windows.
22055 (gdb-propertize-header): Use `gdb-set-window-buffer'.
22056 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
22057 (def-gdb-thread-buffer-gud-command): Replaces
22058 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
22059 for fine thread control.
22060 (gdb-preempt-existing-or-display-buffer): New function used to
22061 display bound buffers without breaking window layout.
22062 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
22063 (gdb-select-frame): New version of `gdb-frames-select' which now
22064 sets `gdb-frame-number' so commands may use --frame option instead
22065 of inner debugger state.
22066 (gdb-frame-handler): Do not set `gdb-frame-number'.
22067 (gdb-threads-mode-map): Select threads with mouse.
22069 * progmodes/gud.el (gdb-gud-context-call): Declare function to
22070 avoid compilation warning.
22071 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
22074 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
22075 Argument `key' renamed to `buffer-type'.
22076 (gdb-current-context-buffer-name): Do not add thread info to
22077 buffer name when no thread is selected.
22078 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
22079 command (bug 3794).
22080 (gdb-thread-selected): Handle `=thread-selected' notification.
22081 (gdb-wait-for-pending): New macro to deal with congestion problems.
22082 (gdb-breakpoints-list-handler-custom): Don't fail on pending
22084 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
22085 This fixes problem similar to one described in bug 3947.
22086 (gud-menu-map): More menu items.
22087 (gdb-init-1): Reset `gdb-thread-number' to nil.
22089 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
22092 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
22093 (gdb-current-context-command): Do not append --thread if
22094 `gdb-thread-number' is nil.
22095 (gdb-running-threads-count, gdb-stopped-threads-count):
22097 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
22098 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
22099 New customization options.
22100 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
22102 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
22103 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
22104 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
22105 set `gdb-thread-number' and update `gud-running' properly.
22106 (gdb-running): Update threads list when new threads appear.
22107 (gdb-stopped): Support non-stop operation and new thread switching
22109 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
22110 (gdb-json-partial-output): New set of JSON routines.
22111 (def-gdb-auto-update-trigger): New `signal-list' optional
22113 (gdb-thread-list-handler-custom): Update `gud-running',
22114 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
22115 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
22116 (gdb-continue-thread, gdb-step-thread): New commands for fine
22117 thread execution control.
22118 (gud-menu-map): New menu items to switch non-stop options.
22119 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
22120 (gdb-send): Mimic RET properly (bug 3794).
22122 * progmodes/gdb-mi.el (gdb-rules-name-maker)
22123 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
22125 (def-gdb-auto-update-handler): New nopreserve optional argument.
22126 (gdb-stack-list-frames-custom): Print stack from top to bottom.
22128 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
22129 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
22130 (gdb-parent-mode): New mode to derive other GDB modes from.
22131 (gdb-display-disassembly-for-thread)
22132 (gdb-frame-disassembly-for-thread): New commands for threads
22135 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
22136 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
22137 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
22138 (gdb-update): We now store all GDB buffers in a list so that they
22139 can be updated by traversing a list instead of calling invalidate
22140 triggers explicitly.
22141 (def-gdb-trigger-and-handler): New macro to define trigger-handler
22142 pair for GDB buffer.
22143 (gdb-stack-buffer-name): Add thread information.
22144 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
22145 handle pending triggers.
22146 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
22147 (def-gdb-thread-buffer-simple-command)
22148 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
22149 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
22150 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
22151 New commands which show buffers bound to thread.
22152 (gdb-stack-list-locals-regexp): Remove unused regexp.
22154 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
22155 (gdb-locals-buffer-name, gdb-registers-buffer-name)
22156 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
22157 to (gud-comint-buffer) in *-buffer-name functions
22158 because (gdb-get-target-string) already does that.
22159 (gdb-locals-handler-custom, gdb-registers-handler-custom)
22160 (gdb-changed-registers-handler): Rewritten without regexps.
22162 * progmodes/gdb-mi.el: Basic thread selection support.
22163 (gdb-thread-number): New variable.
22164 (gdb-current-context-command): New macro which adds --thread
22166 (gdb-threads-mode-map): Select thread with SPC.
22167 (gdb-thread-list-handler-custom): Mark current thread with overlay
22168 arrow. Synchronize GDB thread and Emacs thread.
22169 (gdb-select-thread): New command which selects current thread.
22170 (gdb-invalidate-frames, gdb-invalidate-locals)
22171 (gdb-invalidate-registers): Use --thread option.
22173 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
22175 * net/tramp.el (top): Make check for tramp-gvfs loading more
22177 (tramp-handle-insert-file-contents): `unwind-protect' must be
22178 inside `with-parsed-tramp-file-name'.
22180 * net/tramp-gvfs.el (top): Remove superfluous message when loading
22183 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
22185 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
22186 directory if CLASSPATH is not set.
22188 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
22190 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
22192 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
22194 2009-08-02 Kevin Ryde <user42@zip.com.au>
22196 * net/newst-backend.el (newsticker--raw-url-list-defaults):
22197 Update freshmeat link. Delete newsforge.com as it seems gone.
22199 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
22201 * select.el (x-set-selection): Doc fix (Bug#4021).
22203 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
22205 * help-fns.el (describe-variable): Treat list return values from
22206 dir-locals-find-file properly (Bug#4005).
22208 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
22210 * net/tramp.el (tramp-debug-message): Print also microseconds.
22212 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
22214 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
22216 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
22217 (tramp-get-debug-buffer): Change `outline-regexp' according to new
22220 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
22221 (tramp-get-file-property): Use it.
22223 * autorevert.el (auto-revert-handler):
22224 Allow `auto-revert-tail-mode' for remote files.
22226 2009-08-02 Jason Rumney <jasonr@gnu.org>
22228 * minibuffer.el (read-file-name): Treat confirm options to
22229 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
22231 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
22233 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
22234 (font-lock-variable-name-face, font-lock-constant-face):
22235 Darken the colors for light backgrounds.
22237 2009-08-01 Eli Zaretskii <eliz@gnu.org>
22239 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
22240 month names. (Bug#3987)
22242 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
22244 * simple.el (line-move-finish): Pass whole number to
22245 line-move-to-column.
22246 (line-move-visual): Perform hscroll to the recorded position.
22248 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
22250 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
22252 2009-07-29 Alan Mackenzie <acm@muc.de>
22254 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
22256 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
22258 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
22259 (gdb-place-breakpoints): Use full path when setting breakpoints.
22261 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
22263 * calc/calc.el (calc-mode-map): Add keybinding for
22264 `calc-transpose-lines'.
22266 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
22268 * calc/calc-misc.el (calc-transpose-lines): New function.
22270 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
22272 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
22273 Simplify check for out-of-band methods.
22274 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
22275 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
22277 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
22279 * vc-git.el (vc-git-checkin): Fix typo.
22281 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
22283 * progmodes/js2-mode.el: New file.
22285 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
22287 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
22288 (gud-menu-map): Adjust tooltip accordingly.
22290 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
22292 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
22293 (vc-bzr-log-view-mode): Adjust log-view-file-re.
22295 * add-log.el (change-log-mode-map): Add a menu.
22297 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
22299 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
22300 function returns nil.
22301 (dbus-handle-event): Handle special return value :ignore.
22302 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
22304 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
22306 * view.el (view-mode-enable): Don't define Helper-return-blurb if
22309 2009-07-25 Eli Zaretskii <eliz@gnu.org>
22313 * w32-vars.el (x-select-enable-clipboard): Doc fix.
22315 * term/pc-win.el (x-display-name, x-colors)
22316 (x-select-enable-clipboard, x-select-text): Doc fix.
22318 * term/common-win.el (x-display-name, x-colors): Doc fix.
22320 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
22321 (xw-defined-colors): Doc fix.
22323 * w32-fns.el (x-select-text, x-setup-function-keys)
22324 (x-get-selection, x-set-selection): Doc fix.
22326 * term/x-win.el (x-select-text, x-setup-function-keys)
22327 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
22329 * select.el (x-set-selection): Doc fix.
22331 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
22333 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
22334 instead of "IsNSSSupportAvailable". Avahi ought to work also when
22335 "IsNSSSupportAvailable" method is not available.
22336 Reported by Steve Youngs <steve@sxemacs.org>.
22338 2009-07-24 Kenichi Handa <handa@m17n.org>
22340 * international/characters.el: Fix setting of category ?C, ?|, ?K,
22341 and ?H. Fix setting of case for Latin Extended and Greek Extended.
22342 (build-unicode-category-table): Fix range checks.
22344 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
22346 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
22347 the buffer we try to sync is current when calling
22350 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
22351 not show up to date files.
22353 2009-07-24 Glenn Morris <rgm@gnu.org>
22355 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
22356 Add autoload cookies. If necessary, initialize.
22357 (elint-log): Handle non-file buffers.
22358 (elint-initialize): Add optional argument to reinitialize.
22359 (elint-find-builtin-variables): Save excursion.
22361 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
22363 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
22366 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
22368 * vc.el (vc-print-log-internal): New function, split out from ...
22369 (vc-print-log): ... here.
22370 (vc-dir-move-to-goal-column): Declare.
22372 * vc-git.el (vc-git-add-signoff): New variable.
22373 (vc-git-checkin): Use it.
22374 (vc-git-toggle-signoff): New function.
22375 (vc-git-extra-menu-map): Bind it to menu.
22376 (vc-git--run-command-string): Accept a nil FILE argument.
22377 (vc-git-stash-list): New function.
22378 (vc-git-dir-extra-headers): Use it.
22380 2009-07-23 Glenn Morris <rgm@gnu.org>
22382 * help-fns.el (describe-variable): Describe ignored and risky local
22383 variables in a similar way to that in which we describe safe ones.
22385 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
22386 (byte-compile-output-file-form, byte-compile-output-docform)
22387 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
22388 Give some more local variables with common names a "bytecomp-" prefix,
22389 so as not to shadow things during compilation.
22390 * emacs-lisp/cl-macs.el (load-time-value)
22391 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
22392 `outbuffer' to `bytecomp-outbuffer'.
22394 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
22395 since the next two variables cover them automatically now.
22396 (elint-builtin-variables, elint-autoloaded-variables): New.
22397 (elint-unknown-builtin-args): Remove all members, since they can be
22398 parsed automatically now.
22399 (elint-extra-errors): New.
22400 (elint-env-add-env, elint-env-add-macro): Use cadr.
22401 (elint-current-buffer): Use or. Change final message.
22402 (elint-get-top-forms): Use line-end-position.
22403 (elint-init-env): Use cadr. Handle autoload, declare-function,
22405 (elint-add-required-env): Doc fix. Use or. Standardize error.
22406 (regexp-assoc): Remove unused function.
22407 (elint-top-form): Set elint-current-pos, to record the start of the
22408 top-level form, for compilation-mode.
22409 (elint-form): Trap errors in macro expansion. Use dolist.
22410 (elint-unbound-variable): Use elint-builtin-variables and
22411 elint-autoloaded-variables.
22412 (elint-get-args): Use cadr, or.
22413 (elint-check-cond-form): Use dolist, cadr.
22414 (elint-check-condition-case-form): Doc fix. Use cadr.
22415 Use elint-extra-errors.
22416 (elint-log): New function.
22417 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
22418 Distinguish errors and warnings.
22419 (elint-log-message): Use with-current-buffer. Inhibit read-only.
22420 Use a bytecomp-style format.
22421 (elint-clear-log): Preserve default-directory. Inhibit read-only.
22422 (elint-get-log-buffer): Use compilation mode. Disable undo.
22423 Don't truncate lines.
22424 (elint-initialize): Set builtin and autoloaded variable lists.
22425 Only process elint-unknown-builtin-args if non-nil.
22426 (elint-find-builtin-variables, elint-find-autoloaded-variables):
22428 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
22430 2009-07-22 Kevin Ryde <user42@zip.com.au>
22432 * net/newst-backend.el (newsticker--parse-atom-1.0)
22433 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
22434 (newsticker--parse-rss-1.0):
22435 * progmodes/idlwave.el (idlwave-mode):
22436 * progmodes/idlw-shell.el (idlwave-shell-mode):
22437 * progmodes/vera-mode.el (vera-mode):
22438 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
22439 * progmodes/vhdl-mode.el (vhdl-mode):
22440 * textmodes/table.el (table-generate-source)
22441 (table--warn-incompatibility):
22442 Hyperlink urls in docstrings with URL `...'.
22444 2009-07-22 Glenn Morris <rgm@gnu.org>
22446 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
22447 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
22448 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
22449 Remove leading * from defcustom docs.
22451 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
22453 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
22455 (list-load-path-shadows): Optionally, just return shadows as a string.
22457 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
22459 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
22461 * mail/rmailedit.el (rmail-edit-mode):
22462 Use auto-save-include-big-deletions.
22464 * mail/rmail.el (rmail-variables):
22465 Use auto-save-include-big-deletions.
22467 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
22470 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
22472 * calc/calc.el (calc-undo-length): New variable.
22473 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
22475 2009-07-21 Richard Stallman <rms@gnu.org>
22477 * files.el (auto-save-mode): Handle buffer-save-size = -2
22480 2009-07-21 Glenn Morris <rgm@gnu.org>
22482 * textmodes/ispell.el (ispell-looking-back): Update declaration.
22484 * calendar/todo-mode.el (calendar-current-date): Update declaration.
22486 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
22487 silence compiler. Instead...
22488 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
22489 (ps-print-ensure-fontified): Update for above function name changes.
22491 * printing.el (pr-mh-get-msg-num, pr-mh-show)
22492 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
22493 silence compiler. Instead...
22494 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
22495 (mh-show-buffer): Only define for compiler.
22496 (pr-mh-current-message): Update for above function name changes.
22498 * files.el (abort-if-file-too-large): Explicitly pass `filename'
22500 (find-file-noselect, insert-file-1): Update for above change.
22502 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
22504 * mail/mailclient.el (mailclient-send-it): Fix message.
22506 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
22507 (edebug-eval): Check cl-debug-env is bound.
22508 (print-level, print-circle): Don't redefine built-in variables.
22510 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
22511 (custom-print-vectors): Remove old comments from doc.
22513 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
22514 (emerge-version): Make the variable an obsolete alias for the
22515 emacs-version variable. Make the function obsolete.
22516 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
22517 Emerge options, rather than merging in into the main Options menu.
22518 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
22519 and auto advance modes. Disable edit/fast items when not relevant.
22521 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
22523 * term/vt420.el (terminal-init-vt420): Fix typo.
22525 2009-07-20 Sam Steingold <sds@gnu.org>
22527 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
22528 variable (removed from compile.el on 2004-03-11).
22530 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
22532 * files.el (hack-local-variables-filter): Fix last change.
22534 2009-07-19 Juri Linkov <juri@jurta.org>
22536 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
22537 (dir-local-variables-alist): New buffer-local variable.
22538 (hack-local-variables-filter): If variable is not dir-local,
22539 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
22540 because file-local overrides dir-local.
22541 (c-postprocess-file-styles) <declare-function>:
22542 Remove obsolete declaration.
22543 (hack-dir-local-variables): Add dir-local variable/value pair to
22544 `dir-local-variables-alist' and remove duplicates. Doc fix.
22546 * help-fns.el (describe-variable): Add information about
22547 file-local and dir-local variables.
22549 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
22551 * files.el (hack-local-variables-filter): Rewrite.
22553 2009-07-19 Glenn Morris <rgm@gnu.org>
22555 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
22556 Silence compiler by only defining on XEmacs.
22558 * international/mule.el (auto-coding-regexp-alist): Only match
22559 BABYL... at the start of buffer, not of lines. (Bug#3790)
22561 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
22562 non-calendar buffers (Bug#3862). Restore "not on a date" message.
22563 (cal-menu-context-mouse-menu): Doc fix.
22565 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
22567 * simple.el (mail-user-agent): Doc fix. Set :version tag.
22569 2009-07-18 Juri Linkov <juri@jurta.org>
22571 * info.el: Virtual Info keyword finder.
22572 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
22573 (Info-finder-file): New variable.
22574 (Info-finder-find-file): New function.
22575 (finder-known-keywords, finder-package-info)
22576 (find-library-name, lm-commentary): Use defvar and
22577 declare-function to silence compiler warnings.
22578 (Info-finder-find-node): New function.
22579 (info-finder): New command.
22581 * subr.el (process-kill-buffer-query-function): New function.
22582 (add-hook)<kill-buffer-query-functions>: Add hook
22583 `process-kill-buffer-query-function'.
22585 2009-07-18 Alan Mackenzie <acm@muc.de>
22587 * progmodes/cc-mode.el (c-before-hack-hook)
22588 (c-postprocess-file-styles): Give invocation of `c-set-style'
22589 DONT-OVERRIDE parameter of t. Already set style variables will
22590 thus not be overridden by style settings given by `c-file-syle'.
22592 * files.el (hack-local-variables-filter): Remove entries with
22593 duplicate keys from `file-local-variables-alist'.
22595 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22597 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
22598 x-set-selection if display-selections-p returns nil for the
22601 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
22603 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
22605 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22607 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
22608 Accept nil in addition to a regexp.
22609 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
22610 Accept nil in addition to a regexp.
22611 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
22612 buffers that have an associated file. Handle nil values of
22613 desktop-buffers-not-to-save and desktop-files-not-to-save.
22616 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
22617 (x-disown-selection-internal): New functions.
22619 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
22621 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
22623 (gdb-breakpoints-header): Move forward to avoid compiler warning.
22624 (gdb-make-header-line-mouse-map): Remove duplicate definition.
22626 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
22628 * simple.el (set-mark): Revert last change.
22630 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
22632 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
22633 rendering of pngs is not possible instead of messaging a long
22636 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
22638 * w32-fns.el (x-selection-owner-p): New function.
22640 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
22641 (mouse-yank-at-click, mouse-yank-primary):
22642 If select-active-regions is non-nil, deactivate the mark before
22645 * simple.el (deactivate-mark, set-mark): Only save selection if we
22648 2009-07-17 Kenichi Handa <handa@m17n.org>
22650 * case-table.el (describe-buffer-case-table): Fix for the case
22651 that KEY is a cons.
22653 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
22655 * vc-rcs.el (vc-rcs-find-file-hook):
22656 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
22658 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
22660 * net/tramp.el (tramp-wait-for-output): Handle the case when
22661 commands do not return a newline but a null byte before the shell
22664 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22666 * term/ns-win.el (ns-set-alpha): Don't declare.
22667 (ns-set-background-alpha): Remove function.
22669 2009-07-16 Kevin Ryde <user42@zip.com.au>
22671 * emacs-lisp/copyright.el (copyright-update): Save match-data across
22672 y-or-n-p, for safety.
22674 2009-07-16 Richard Stallman <rms@gnu.org>
22676 * files.el (auto-save-mode): If buffer-saved-size is -2,
22679 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
22680 (rmail-retry-ignored-headers): Add more uninteresting fields.
22682 2009-07-15 Jari Aalto <jari.aalto@cante.net>
22684 * net/rcirc.el (rcirc): Use history variables.
22685 (rcirc-server-name-history, rcirc-nick-name-history)
22686 (rcirc-server-port-history): New variables.
22688 2009-07-15 Kenichi Handa <handa@m17n.org>
22690 * international/mule-cmds.el (set-language-environment-charset):
22691 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
22694 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
22695 Delete unibyte-display.
22697 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22699 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
22701 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22703 * simple.el (deactivate-mark): Optional argument FORCE.
22704 (set-mark): Use deactivate-mark.
22706 * info.el (Info-search): No need to check transient-mark-mode
22707 before calling deactivate-mark.
22709 * select.el (x-set-selection): Doc fix.
22710 (x-valid-simple-selection-p): Allow buffer values.
22711 (xselect--selection-bounds): Handle buffer values.
22712 Suggested by David De La Harpe Golden.
22714 * mouse.el (mouse-set-region, mouse-drag-track):
22715 Call copy-region-as-kill before setting the mark, to let
22716 select-active-regions work.
22718 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
22720 * simple.el (deactivate-mark): If select-active-regions is
22721 non-nil, copy the selection data into a string.
22722 (activate-mark): If select-active-regions is non-nil, set the
22723 selection to the current buffer.
22724 (set-mark): Update selection if select-active-regions is non-nil.
22726 * select.el (x-valid-simple-selection-p): Allow buffer values.
22728 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
22730 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22731 and more featureful message-mode.
22733 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
22735 * select.el (x-set-selection): Doc fix.
22736 (x-valid-simple-selection-p): Disallow selection data consisting
22737 of a list or cons of integers, since that is not used.
22738 (xselect--selection-bounds, xselect--int-to-cons): New functions.
22739 (xselect-convert-to-string, xselect-convert-to-length)
22740 (xselect-convert-to-filename, xselect-convert-to-charpos)
22741 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22743 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
22745 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22746 output in -break-info command (Emacs bug #3794).
22748 2009-07-14 Glenn Morris <rgm@gnu.org>
22750 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22751 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22752 (edebug-print-length, edebug-print-level, edebug-print-circle)
22753 (edebug-sit-for-seconds, edebug-view-outside)
22754 (edebug-bounce-point, edebug-set-global-break-condition)
22755 (edebug-Go-nonstop-mode, edebug-trace-mode)
22756 (edebug-Trace-fast-mode, edebug-continue-mode)
22757 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22758 (edebug-visit-eval-list): Doc fixes.
22760 * subr.el (def-edebug-spec): Doc fix.
22762 2009-07-14 Kenichi Handa <handa@m17n.org>
22764 * international/characters.el: Fix setting of category ?C.
22766 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
22768 * term/ns-win.el (x-select-font): defalias x-select-font to
22769 ns-popup-font-panel instead of generate-fontset-menu.
22771 2009-07-12 Eli Zaretskii <eliz@gnu.org>
22773 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
22775 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
22777 * arc-mode.el (archive-find-type): Allow for a PK00 string before
22778 the PK\003\004 header (Bug#3770).
22780 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
22782 * pcomplete.el (pcomplete-comint-setup): Check for
22783 shell-dynamic-complete-filename too.
22785 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
22787 * simple.el (temporary-goal-column): Change the value for
22788 line-move-visual to a cons cell.
22789 (line-move-visual): Record or set the window hscroll, if
22790 necessary (Bug#3494).
22791 (line-move-1): Handle cons value of temporary-goal-column.
22793 2009-07-11 Kenichi Handa <handa@m17n.org>
22795 * international/mule-diag.el (describe-character-set): Don't show
22798 2009-07-10 Sam Steingold <sds@gnu.org>
22800 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22801 Omake sometimes indents the errors it prints, so allow all
22802 regexps to start with spaces.
22804 2009-07-10 Eli Zaretskii <eliz@gnu.org>
22806 * cus-edit.el (customize-changed-options-previous-release):
22807 Bump value to 22.1. (Bug#3804)
22809 2009-07-08 Sam Steingold <sds@gnu.org>
22811 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22812 to be a cons cell (test . ignored-directory) to selectively ignore
22813 some directories depending on the location of the search.
22815 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
22817 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22818 remote user is root, on the local host.
22819 (tramp-local-host-p): Either the local user or the remote user
22820 must be root. (Bug#3771)
22822 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22824 * progmodes/gdb-mi.el (gdb): Remove description of
22825 gdb-use-separate-io-buffer.
22826 (menu): Don't allow toggling of or enable
22827 gdb-use-separate-io-buffer from menubar.
22829 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
22831 * mail/unrmail.el (unrmail): Make sure the message ends with two
22832 newlines (Bug#3769).
22834 2009-07-08 Glenn Morris <rgm@gnu.org>
22836 * calendar/calendar.el (calendar-current-date): Rework previous change.
22838 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
22840 * calendar/calendar.el (calendar-current-date):
22841 Add an optional argument giving an offset from today.
22843 2009-07-08 Glenn Morris <rgm@gnu.org>
22845 * tutorial.el (tutorial--describe-nonstandard-key):
22846 Adjust the message for when a key has been unbound.
22847 (help-with-tutorial): Hide the arch-tag.
22849 2009-07-08 Kenichi Handa <handa@m17n.org>
22851 * international/fontset.el (setup-default-fontset): For each
22852 script, append (not set) font-specs.
22854 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22857 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22859 * progmodes/gdb-mi.el (gdb-init-1): Move sending
22860 -data-list-register-names to ...
22861 (gdb-starting): ... here because GDB 7.0 requires execution to
22862 have started when using this MI command.
22863 (gdb-set-header): New function to distinguish select and
22864 unselected tabs in gdb buffers.
22865 (gdb-propertize-header): New macro that uses gdb-set-header.
22866 (gdb-breakpoints-header, gdb-locals-header): Use it.
22867 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22869 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
22871 * Makefile.in (ELCFILES): Remove fadr.elc.
22873 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
22875 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22876 may contain frame information, so `string-match' should be used.
22877 (gdb-update): Disassembly is invalidated through
22878 `gdb-get-selected-frame'.
22879 (gdb-pad-string): New function to pad string with spaces.
22880 (gdb-invalidate-disassembly): Invalidate only if the buffer
22882 (gdb-disassembly-handler-custom): Column alignment.
22883 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22885 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22887 (gdb-frame-handler): Match convention to for disassembly buffer
22889 (gdb-stack-list-frames-handler): Rewritten without regexps.
22890 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22891 not highlight breakpoints without line information.
22892 (gdb-input): Add trailing newline to command.
22894 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22896 (gdb-breakpoints-list-handler-custom): Replacement for
22897 `gdb-break-list-handler'. Using real parser instead of regexps
22899 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22900 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22901 to place breakpoints.
22902 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22904 (gdb-disassembly-handler-custom): Show overlay arrow.
22905 (gdb-disassembly-place-breakpoints): Show breakpoints in
22906 disassembly buffer.
22907 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22908 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22909 instead of parsing breakpoints buffer. Fixed old menu references
22914 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22915 (gdb-memory-address): New variable which holds top address of
22916 memory page shown in memory buffer.
22917 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22918 New customization variables.
22920 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
22921 display the memory buffer.
22922 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22923 buffer display parameters.
22924 (def-gdb-memory-format, gdb-memory-format-binary)
22925 (gdb-memory-format-octal, gdb-memory-format-unsigned)
22926 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
22927 Functions for setting memory buffer format.
22928 (gdb-memory-unit-word, gdb-memory-unit-halfword)
22929 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
22930 unit size used in memory buffer.
22931 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
22932 Switch to next/previous page of memory buffer.
22933 Now using (bindat-get-field) instead of fadr functions.
22935 2009-07-07 Sam Steingold <sds@gnu.org>
22937 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
22938 non-top-level files.
22940 2009-07-07 Kenichi Handa <handa@m17n.org>
22942 * international/mule-cmds.el (reset-language-environment):
22943 Put the highset priority to the charset iso-8859-1.
22945 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22947 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
22948 to the end of the line when locating the block (Bug#700).
22950 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
22952 * net/tramp.el (tramp-handle-write-region): Flush file properties
22953 in case of short track.
22955 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
22957 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
22958 Coded custom representation of verilog error regular expressions
22959 to work with Emacs-22's new format.
22960 (verilog-error-regexp-xemacs-alist): Coded custom representation
22961 of verilog error regular expressions to work with XEmacs format.
22962 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
22963 error recognition into XEmacs.
22964 (verilog-error-regexp-add-emacs): Hook routine to install verilog
22965 error recognition into Emacs-22.
22967 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22969 * woman.el: Remove stand-alone closing parentheses.
22970 (woman-file-name, woman2-format-paragraphs)
22971 (woman-leave-blank-lines): Code cleanup.
22972 (woman-use-own-frame): Change default to nil.
22973 (woman-italic, woman-bold, woman-unknown, woman-addition):
22974 Change defaults to inherit from default faces.
22975 (woman2-process-escapes): Consume the newline after a stand-alone
22976 filler character (Bug#3651).
22978 2009-07-06 Glenn Morris <rgm@gnu.org>
22980 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
22981 (top-level): Move provide to the end.
22982 (ffap): Remove defunct URL from custom group.
22984 * subr.el (eval-after-load): Doc fix.
22986 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
22988 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22989 `calc-embedded-word' is called twice.
22991 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22993 * files.el (find-alternate-file-other-window, find-alternate-file):
22994 Obey confirm-nonexistent-file-or-buffer.
22996 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
22998 * dired-aux.el (dired-show-file-type): Handle remote files.
23000 2009-07-05 Jari Aalto <jari.aalto@cante.net>
23002 * desktop.el (desktop-globals-to-save):
23003 Add file-name-history (Bug#2750).
23005 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
23007 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
23009 2009-07-04 Johan Bockgård <bojohan@gnu.org>
23011 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
23012 property on entire argument since this is what eshell-lisp-command
23015 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
23017 * net/tramp-gvfs.el (tramp-gvfs-methods)
23018 (tramp-gvfs-zeroconf-domain)
23019 (tramp-bluez-discover-devices-timeout): Add version flag.
23020 (tramp-gvfs-handler-mounted-unmounted)
23021 (tramp-gvfs-connection-mounted-p): Polish handling of
23022 incompatibilities between GVFS 0.2 and 1.0.
23024 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
23026 * cus-start.el (all): Add make-pointer-invisible.
23028 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
23030 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
23031 formatted correctly.
23033 2009-07-02 Juri Linkov <juri@jurta.org>
23035 * info.el: Virtual Info files and nodes.
23036 (Info-virtual-files, Info-virtual-nodes): New variables.
23037 (Info-current-node-virtual): New variable.
23038 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
23040 (Info-file-supports-index-cookies): Use Info-virtual-file-p
23041 to check for a virtual file instead of checking a fixed list
23043 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
23044 instead of ad-hoc processing of "dir" and (apropos history toc).
23045 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
23046 instead of ad-hoc processing of "dir" and (apropos history toc).
23047 Reread a file when moving from a virtual node.
23048 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
23049 (Info-directory-toc-nodes, Info-directory-find-file)
23050 (Info-directory-find-node): New functions.
23051 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
23052 (Info-history): Move part of code to
23053 `Info-history-find-node'.
23054 (Info-history-toc-nodes, Info-history-find-file)
23055 (Info-history-find-node): New functions.
23056 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
23057 (Info-toc): Move part of code to `Info-toc-find-node'.
23058 (Info-toc-find-node): New function.
23059 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
23060 the current Info file name to references because now the node
23061 "*TOC*" belongs to the same Info manual.
23062 (Info-toc-build): Rename from `Info-build-toc'.
23063 (Info-toc-nodes): Rename input argument `file' to `filename'.
23064 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
23065 instead of ad-hoc processing of ("dir" apropos history toc).
23066 (Info-index-nodes): Use Info-virtual-file-p
23067 to check for a virtual file instead of checking a fixed list
23069 (Info-index-node): Add check for `Info-current-node-virtual'.
23070 Raise `save-match-data' higher up the tree to contain
23071 `search-forward' too (bug fix).
23072 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
23073 (Info-virtual-index-nodes): New variable.
23074 (Info-virtual-index-find-node, Info-virtual-index): New functions.
23075 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
23076 (Info-apropos-file, Info-apropos-nodes): New variables.
23077 (Info-apropos-toc-nodes, Info-apropos-find-file)
23078 (Info-apropos-find-node, Info-apropos-matches): New functions.
23079 (info-apropos): Move part of code to `Info-apropos-find-node' and
23080 `Info-apropos-matches'.
23081 (Info-mode-map): Bind "I" to `Info-virtual-index'.
23082 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
23083 for a virtual file instead of checking a fixed list of node names.
23085 * simple.el (async-shell-command): New command.
23087 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
23089 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
23090 instead of `mount-info'.
23092 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
23094 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
23095 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
23097 2009-07-02 Kenichi Handa <handa@m17n.org>
23099 * international/mule.el (set-keyboard-coding-system): Force *-unix
23100 coding-system to avoid eol conversion.
23102 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
23104 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
23105 Add handler for `process-file', `shell-command' and
23106 `start-file-process'.
23107 (tramp-gvfs-handle-shell-command)
23108 (tramp-gvfs-handle-start-file-process)
23109 (tramp-gvfs-handle-process-file): New defuns.
23110 (tramp-synce-list-devices): Simplify check for existence of property.
23112 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
23114 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
23116 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
23118 * language/korean.el (set-language-info-alist): Add korean-cp949,
23121 2009-07-01 Kenichi Handa <handa@m17n.org>
23123 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
23125 * international/encoded-kb.el: Deleted.
23127 * international/mule.el (set-keyboard-coding-system): Perform the
23128 necessary setup here instead of calling encoded-kbd-setup-display.
23130 2009-07-01 Glenn Morris <rgm@gnu.org>
23132 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
23134 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
23136 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
23138 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
23140 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
23141 Handle also the 'rename case, when setting file modes. (Bug#3712)
23142 (tramp-default-file-modes): Remove execute permissions.
23144 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
23145 (top): Add a default for "synce" in `tramp-default-user-alist'.
23146 Add completion function for "synce" method.
23147 (tramp-hal-service, tramp-hal-path-manager)
23148 (tramp-hal-interface-manager, tramp-hal-interface-device):
23150 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
23151 (tramp-synce-list-devices, tramp-synce-parse-device-names):
23154 * net/trampver.el: Update release number.
23156 2009-06-30 Kenichi Handa <handa@m17n.org>
23158 * international/fontset.el (setup-default-fontset): Add CJK fonts
23159 for symbols and the other miscellaneous characters.
23161 * language/korea-util.el (setup-korean-environment-internal):
23162 Make char-width-table suitable for Korean environments.
23163 (exit-korean-environment): Cancel above.
23165 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
23166 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
23167 setup-function to make char-width-table suitable for respective
23168 environments, and an exit-function to cancel that.
23170 * language/japan-util.el (setup-japanese-environment-internal):
23171 Call use-cjk-char-width-table with arg `ja_JP'.
23173 * international/characters.el (cjk-char-width-table): Delete it.
23174 (cjk-char-width-table-list): New variable.
23175 (use-cjk-char-width-table): New arg local-name.
23176 (use-default-char-width-table): Fix for the case that Emacs is
23177 already using the default char-width-table.
23179 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
23181 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
23182 modes mandatory. (Bug#3712)
23184 2009-06-29 Alan Mackenzie <acm@muc.de>
23186 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
23187 correction between the visible width of TABs and their number of bytes.
23189 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
23191 * server.el (server-buffer-done): Prevent kill-buffer from
23192 prompting by clearing the buffer modification flag (Bug#3696).
23194 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
23196 * progmodes/verilog-mode.el (verilog-beg-of-statement)
23197 (verilog-endcomment-reason-re): Support unique case and priority case.
23198 (verilog-basic-complete-re): Support localparam lineup.
23199 (verilog-beg-of-statement-1): Fix for robustness, unique case.
23200 (verilog-set-auto-endcomments): Fix for unique case, always_comb
23202 (verilog-leap-to-case-head): Now support *nested* unique &
23203 priority case statements.
23204 (verilog-auto-lineup): Make just declarations the default (as it
23206 (verilog-leap-to-case-head): Support priority/unique case statements.
23207 (verilog-auto-lineup): Rework to give users radio buttons to
23208 select the various styles of automatic lineup.
23209 (verilog-error-regexp-alist): Rework to support the XEmacs style
23210 of error regular expressions from compilers, lint tools &
23211 simulators. Note that GNU Emacs has made it impossible for a mode
23212 to load such things.
23213 (electric-verilog-terminate-line, verilog-indent-declaration)
23214 (verilog-auto-wiure): Rework for radio button selection of
23215 auto-lineup selection of specification of auto lineup.
23216 (verilog-beg-of-statement-1): Redesign to support proper operation
23217 in additional code, based on testing with auto-lineup.
23218 (verilog-calculate-indent, assignments & declarations)
23219 (verilog-backward-token): Enhance to support auto-lineup of
23220 assignments & declarations.
23221 (verilog-in-directive-p, verilog-at-struct-p): New function for
23222 easy test of whether we are.
23223 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
23224 to support safe execution at almost anyline.
23225 (verilog-calc-1): Properly support indenting deep inside generate
23227 (verilog-init-font): Remove definition & use of verilog-init-font,
23228 as it is redundant with font-lock-defaults.
23229 (verilog-mode): Alter the definition of verilog-font-lock-defaults
23230 to avoid circular calls if syntax-ppss is a function (as is the
23231 case now in 22.x GNU Emacs) as that function would sometimes call
23232 itself, leading to (nearly) infinite recursion.
23233 (verilog-ovm-begin-re, verilog-ovm-end-re)
23234 (verilog-ovm-statement-re, verilog-leap-to-head)
23235 (verilog-backward-token): Add support for OVM macros. Some are
23236 complete statements, and others open and close scopes like begin
23238 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
23239 (verilog-defun-level-generate-only-re): Really fix the defun-list
23241 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
23242 coverpoint, constraint and cross statements.
23243 (verilog-defun-level-list, verilog-generate-defun-level-list)
23244 (verilog-all-defun-level-list): Redo these specifications - it is
23245 too hard to support eval-when compile aggregation of lists also
23246 built at when-compile time.
23247 (verilog-defun-level-list): Place defconsts of variables used in
23248 building regular expressions which are built in eval-when-compile
23249 bodies in the same eval-when-compile body to facilitate compile
23251 (verilog-beg-block-re-ordered): Support indenting
23252 virtual/protected tasks and functions.
23253 (verilog-defun-level-list, verilog-in-generate-region-p)
23254 (verilog-backward-ws&directives, verilog-calc-1): Speed up
23255 indentation of some module items (generate items).
23256 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
23257 across virtual/protected tasks and functions.
23259 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
23261 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
23262 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
23263 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
23264 in concatenations. Reported by Yishay Belkind.
23265 (verilog-auto-ascii-enum): Support one-hot state machines in
23266 AUTOASCIIENUM. Suggested by Lloyd Gomez.
23267 (verilog-auto-inst, verilog-auto-inst-port): Include interface
23268 modport in AUTOINST and add vl-modport for users.
23269 Reported by David Rogoff.
23270 (verilog-auto-inout-module, verilog-auto-inst)
23271 (verilog-decls-get-interfaces, verilog-insert-definition)
23272 (verilog-insert-one-definition, verilog-read-decls)
23273 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
23274 (verilog-sig-modport, verilog-signals-combine-bus)
23275 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
23276 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
23277 Suggested by David Rogoff.
23278 (verilog-repair-open-comma): Fix non-insertion of comma when
23279 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
23280 (verilog-make-width-expression): Simplify [A-1:0] expression
23281 widths to just {A{1'b0}}.
23282 (verilog-mode): Cleanup checkdoc warnings.
23283 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
23284 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
23285 inputs/outputs or data type. Suggested by Vasu Kandadi.
23286 (next-error-last-buffer): Fix byte-compiler warning.
23287 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
23288 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
23289 or shell command text during AUTO expansion. Suggested by Tad Truex.
23290 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
23291 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
23292 Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
23293 in AUTOINOUT. Reported by Matthew Lovell.
23294 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
23295 causing use of <= assignments. Reported by Alex Reed.
23296 (verilog-read-decls): Fix triand, trior, wand, wor to be
23297 recognized by AUTOWIRE. Reported by Spencer Isaacson.
23298 (verilog-extended-complete-re): Support import "DPI-C" functions.
23299 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
23300 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
23301 (verilog-insert-date, verilog-insert-year)
23302 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
23303 Windows systems. Reported by Michael Potts.
23304 (verilog-read-module-name): Fix AUTOINST when the child module
23305 declaration's name is a tick define. Reported by Elliot Mednick.
23306 (verilog-read-decls): Fix V2K parameter bit subscripts getting
23307 passed to next parameter's definition. Reported by Bruce T.
23308 (verilog-read-decls): Fix detecting "parameter int" when using
23309 AUTOINSTPARAM. Reported by Bruce T.
23310 (verilog-goto-defun): Fix goto not finding modules unless first
23311 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
23312 (verilog-mode): Expand -f flag arguments on entry to mode so
23313 verilog-goto-defun will work. Reported by Lawrence Butcher.
23314 (verilog-getopt): Expand environment variables in -f file
23315 arguments. Suggested by Lawrence Butcher.
23316 (verilog-set-define): Fix "Symbol's value as variable is void"
23317 when reading enumerations.
23318 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
23319 Suggested by Stephen Peltan.
23320 (verilog-read-defines): Fix reading of enumerations in include
23321 files. Reported by Steve Peltan.
23323 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
23325 * files.el (trash-directory): Fix defcustom type.
23327 2009-06-28 Juri Linkov <juri@jurta.org>
23329 * help-fns.el (describe-function-1): Correctly locate adviced
23330 functions in hyperlink (Bug#2438).
23332 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
23334 * files.el (trash-directory): Change default to nil.
23335 (move-file-to-trash): If trash-directory is nil and
23336 system-move-file-to-trash is unbound, perform freedesktop-style
23339 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
23341 * files.el (move-file-to-trash): Add freedesktop trash
23344 2009-06-28 Glenn Morris <rgm@gnu.org>
23346 * autorevert.el (global-auto-revert-non-file-buffers)
23347 (global-auto-revert-mode): Doc fixes.
23349 2009-06-27 Johan Bockgård <bojohan@gnu.org>
23351 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
23353 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
23355 * faces.el (x-handle-named-frame-geometry): Ensure that we have
23356 opened an X connection before calling x-get-resource (Bug#3194).
23358 * play/doctor.el: Remove reference to obsolete website.
23359 (make-doctor-variables): Correct grammar mistake (Bug#2633).
23361 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
23363 Remove find-file-not-found-hook VC method. (Bug#2757)
23364 * vc-hooks.el (vc-file-not-found-hook)
23365 (vc-default-find-file-not-found-hook): Remove functions.
23366 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
23367 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
23370 * vc-git.el: Do not mention find-file-not-found-hook VC method.
23372 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
23374 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
23375 compatibility function for `looking-back'.
23377 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
23378 Use `ispell-looking-back'.
23380 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
23382 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
23383 rather than `filename'.
23385 2009-06-23 Miles Bader <miles@gnu.org>
23387 * face-remap.el (text-scale-set): New function.
23389 2009-06-23 Glenn Morris <rgm@gnu.org>
23391 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
23393 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
23395 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
23397 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
23399 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
23400 Simplify Persian conditionals.
23402 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
23403 variable `filename'.
23405 * comint.el (comint-insert-input): Doc fix.
23407 * Makefile.in (ELCFILES): Fix typo in previous change.
23409 2009-06-23 Miles Bader <miles@gnu.org>
23411 * cus-start.el: Add entry for `recenter-redisplay'.
23413 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23415 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
23416 Add an optional argument for the backend, use it instead of
23417 calling vc-backend.
23418 (vc-mode-line): Add an optional argument for the backend.
23419 Pass the backend to vc-state and vc-working-revision. Move code for
23420 special handling for vc-state being a buffer to ...
23422 * vc-rcs.el (vc-rcs-find-file-hook):
23423 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
23425 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
23426 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
23427 vc-stay-local-p and vc-mode-line calls.
23429 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
23430 (vc-cvs-diff, vc-cvs-annotate-command)
23431 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
23432 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
23433 vc-mode-line calls.
23435 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
23437 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
23438 backend when calling vc-mode-line.
23439 (vc-register): Do not create a closure for calling the vc register
23440 function, call it directly.
23442 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23444 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
23445 to make it obvious item can be clicked.
23447 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
23449 2009-06-23 Kenichi Handa <handa@m17n.org>
23451 * language/korea-util.el (korean-key-bindings): Change the binding
23452 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
23455 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
23457 Sync with Tramp 2.1.16.
23459 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
23461 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
23462 when a loading of a package fails. Completion function for rsync
23463 is `tramp-completion-function-alist-ssh'.
23464 (all): Replace all calls of `split-string' and
23465 `tramp-split-string' by `tramp-compat-split-string'.
23466 (tramp-default-method): Use `tramp-compat-process-running-p'.
23467 (tramp-default-proxies-alist): Allow also Lisp forms.
23468 (tramp-remote-path): Add choice "Private Directories".
23469 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
23470 (tramp-domain-regexp): Allow also "-", "_" and ".".
23471 (tramp-end-of-output): Remove newlines, and add "$" at the end.
23472 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
23473 (tramp-debug-message): Insert header line in debug buffer.
23474 (tramp-handle-directory-files-and-attributes-with-stat):
23475 Care about filenames with spaces, or starting with "-".
23476 (tramp-handle-dired-uncache): New defun.
23477 (tramp-handle-insert-directory): Don't flush the directory from
23478 cache, this is handled by `dired-uncache' now.
23479 (tramp-handle-insert-file-contents): Improve error handling.
23480 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
23481 Quote `tramp-end-of-output'.
23482 (tramp-action-password): Improve trace message.
23483 (tramp-check-for-regexp): Both echoes must be present, before removing.
23484 (tramp-open-connection-setup-interactive-shell): Trace coding system.
23485 (tramp-compute-multi-hops): Eval cons cells of
23486 `tramp-default-proxies-alist'.
23487 (tramp-maybe-open-connection): Use the same command pattern for
23488 first hop and further hops.
23489 (tramp-wait-for-output): Remove handling of newlines.
23490 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
23491 (tramp-split-string): Remove function. It is handled in
23494 * net/tramp-cmds.el (tramp-bug):
23495 Recommend `tramp-cleanup-all-connections' in the bug mail.
23497 * net/tramp-compat.el (tramp-compat-split-string)
23498 (tramp-compat-process-running-p): New defuns.
23500 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
23501 for `dired-uncache'.
23503 * net/tramp-gvfs.el: New package.
23505 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
23506 Add handler for `dired-uncache'.
23507 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
23509 * net/trampver.el: Update release number. Make version check fit
23512 2009-06-22 Jim Meyering <meyering@redhat.com>
23514 Automatically handle .xz suffix (XZ-compressed files), too.
23515 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
23516 XZ is the successor to LZMA: <http://tukaani.org/xz/>
23518 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
23519 Nick Roberts <nickrob@snap.net.nz>
23521 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
23522 repository (http://sphinx.net.ru/hg/gdb-mi/).
23524 2009-06-22 Glenn Morris <rgm@gnu.org>
23526 * files.el (dir-locals-collect-mode-variables): Allow for any number of
23527 `mode' and `eval' entries. (Bug#3430)
23529 * Makefile.in (ELCFILES): Add fadr.elc.
23531 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
23532 differing behavior of \n and ^ in strings. (Bug#3385)
23534 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
23536 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
23538 (lisp-indent-function): Make it a defcustom.
23540 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
23542 * progmodes/gdb-ui.el: Replace with ...
23543 * progmodes/gdb-mi.el: ... this file.
23544 * progmodes/gud.el: Modify for gdb-mi.el.
23546 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
23548 * fadr.el: New file.
23550 See ChangeLog.14 for earlier changes.
23552 ;; Local Variables:
23556 Copyright (C) 2009-2011 Free Software Foundation, Inc.
23558 This file is part of GNU Emacs.
23560 GNU Emacs is free software: you can redistribute it and/or modify
23561 it under the terms of the GNU General Public License as published by
23562 the Free Software Foundation, either version 3 of the License, or
23563 (at your option) any later version.
23565 GNU Emacs is distributed in the hope that it will be useful,
23566 but WITHOUT ANY WARRANTY; without even the implied warranty of
23567 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23568 GNU General Public License for more details.
23570 You should have received a copy of the GNU General Public License
23571 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.